JPWO2017033275A1 - 画像読取装置および画像読取方法ならびに画像読取プログラム - Google Patents
画像読取装置および画像読取方法ならびに画像読取プログラム Download PDFInfo
- Publication number
- JPWO2017033275A1 JPWO2017033275A1 JP2016574303A JP2016574303A JPWO2017033275A1 JP WO2017033275 A1 JPWO2017033275 A1 JP WO2017033275A1 JP 2016574303 A JP2016574303 A JP 2016574303A JP 2016574303 A JP2016574303 A JP 2016574303A JP WO2017033275 A1 JPWO2017033275 A1 JP WO2017033275A1
- Authority
- JP
- Japan
- Prior art keywords
- image
- skew
- reading
- unit
- skew angle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000001514 detection method Methods 0.000 claims description 43
- 238000004364 calculation method Methods 0.000 claims description 41
- 230000007547 defect Effects 0.000 abstract description 5
- 239000000284 extract Substances 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 230000014509 gene expression Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012015 optical character recognition Methods 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/387—Composing, repositioning or otherwise geometrically modifying originals
- H04N1/3877—Image rotation
- H04N1/3878—Skew detection or correction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/44—Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/18—Extraction of features or characteristics of the image
- G06V30/1801—Detecting partial patterns, e.g. edges or contours, or configurations, e.g. loops, corners, strokes or intersections
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/40—Document-oriented image-based pattern recognition
- G06V30/41—Analysis of document content
- G06V30/414—Extracting the geometrical structure, e.g. layout tree; Block segmentation, e.g. bounding boxes for graphics or text
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00681—Detecting the presence, position or size of a sheet or correcting its position before scanning
- H04N1/00684—Object of the detection
- H04N1/00718—Skew
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00795—Reading arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/387—Composing, repositioning or otherwise geometrically modifying originals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/387—Composing, repositioning or otherwise geometrically modifying originals
- H04N1/3872—Repositioning or masking
- H04N1/3873—Repositioning or masking defined only by a limited number of coordinate points or parameters, e.g. corners, centre; for trimming
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/0077—Types of the still picture apparatus
- H04N2201/0081—Image reader
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Graphics (AREA)
- Geometry (AREA)
- Artificial Intelligence (AREA)
- Character Input (AREA)
- Editing Of Facsimile Originals (AREA)
- Image Analysis (AREA)
- Facsimile Scanning Arrangements (AREA)
- Image Processing (AREA)
Abstract
Description
図1は、本発明の一実施の形態における画像読取装置100の構成例の概要を示す斜視図である。図2は、本発明の一実施の形態における画像読取装置100の構成例の概要を示すブロック図である。
式(1):p0(x0)=X0+cosθ×xx0−sinθ×yy0
式(2):p0(y0)=Y0+cosθ×yy0+sinθ×xx0
また、画像切出部160は、以下の式(3)と式(4)とを用いて、座標p1(xx1,yy1)を座標p1(x1,y1)へと変換する。
式(3):p1(x1)=X0+cosθ×xx1−sinθ×yy1
式(4):p1(y1)=Y0+cosθ×yy1+sinθ×xx1
また、画像切出部160は、以下の式(5)と式(6)とを用いて、座標p2(xx2,yy2)を座標p2(x2,y2)へと変換する。
式(5):p2(x2)=X0+cosθ×xx2−sinθ×yy2
式(6):p2(y2)=Y0+cosθ×yy2+sinθ×xx2
また、画像切出部160は、以下の式(7)と式(8)とを用いて、座標p3(xx3,yy3)を座標p3(x3,y3)へと変換する。
式(7):p3(x3)=X0+cosθ×xx3−sinθ×yy3
式(8):p3(y3)=Y0+cosθ×yy3+sinθ×xx3
画像切出部160は、変換した後の帳票画像における外接領域の四隅点の座標p0(x0,y0)〜p3(x3,y3)と、帳票画像から切出後帳票画像を切り出す範囲を特定するためのパラメータとに基づいて、帳票画像から切出後帳票画像を切り出す。例えば、パラメータに基づいて、四隅点の座標p0(x0,y0)〜p3(x3,y3)を結んだ矩形よりも大きい範囲が、切出後帳票画像を切り出す範囲として特定される場合がある。その場合、画像切出部160は、四隅点の座標p0(x0,y0)〜p3(x3,y3)を結んだ矩形の外周を所定長(例えば、15mm)で囲う範囲で帳票画像から切出後帳票画像を切り出す。
図9は、本発明の一実施の形態における全体処理の概要を示す図である。
以上説明した本実施の形態における画像読取装置100によれば、画像切出部160が、外接四角形の四隅点の座標に基づき、読取部130により読み取られた画像から前記帳票の画像を切り出すことで、帳票が矩形状でない場合であっても、欠損のない画像データを取得できる。また、突き出しのある帳票とない、突きだしのない帳票が混在していても、これらを一括で読取りできる。さらに、突き出し量、突き出し位置が不定であっても安定して欠損のない画像データを取得できる。さらに、矩形状の画像の画像データを取得できる。
Claims (7)
- 帳票の画像を読み取る読取部を有する画像読取装置であって、
前記読取部により読み取られた前記画像の画像データに基づき、前記帳票の傾きを補正するのに用いるスキュー角度を算出するスキュー角度算出部と、
前記スキュー角度に基づき前記画像を回転させた第1スキュー補正後画像を生成し、生成した前記第1スキュー補正後画像を走査することで、前記第1スキュー補正後画像に含まれる、前記帳票の前記画像に外接する外接四角形を検出する外接領域検出部と、
前記外接四角形に基づき、前記読取部により読み取られた前記画像から切出後帳票画像を切り出す画像切出部と、
を有する、画像読取装置。 - 請求項1に記載の画像読取装置において、
前記画像切出部は、切り出した前記帳票の前記画像を前記スキュー角度に基づき回転させた第2スキュー補正後画像を生成し、生成した前記第2スキュー補正後画像を画像記憶部に記憶する、画像読取装置。 - 請求項1に記載の画像読取装置において、
前記読取部は、色彩が黒色である背景部に載置された前記帳票を走査することで前記画像を読み取り、
前記外接領域検出部は、前記第1スキュー補正後画像を走査する度に、走査した範囲に含まれる連続する黒色以外の色の画素の画素数を算出し、算出した前記画素数が第1の数値を連続して、第2の数値の回超えている場合に、最初に前記第1の数値を超えた際に走査された位置を前記外接四角形の辺として検出する、
画像読取装置。 - 請求項3に記載の画像読取装置において、
前記第1の数値は、前記帳票に含まれるタブの縦方向の前記画素数よりも小さい、画像読取装置。 - 請求項1に記載の画像読取装置において、
前記読取部は、色彩が黒色である背景部に載置された前記帳票を走査することで前記画像を読み取り、
前記外接領域検出部は、前記第1スキュー補正後画像を走査する度に、走査した範囲に含まれる連続する黒色以外の色の画素の画素数を算出し、算出した前記画素数が第1の数値を超えている場合、これまでに算出した前記画素数をトレースし、前記画素数が0になる直前の位置を前記外接四角形の辺として検出する、
画像読取装置。 - 帳票の画像を読み取る読取部を有する画像読取装置における画像読取方法であって、
スキュー角度算出部が、前記読取部により読み取られた前記画像の画像データに基づき、前記帳票の傾きを補正するのに用いるスキュー角度を算出するスキュー角度算出ステップと、
外接領域検出部が、前記スキュー角度に基づき前記画像を回転させた第1スキュー補正後画像を生成し、生成した前記第1スキュー補正後画像を走査することで、前記第1スキュー補正後画像に含まれる、前記帳票の前記画像に外接する外接四角形を検出する外接領域検出ステップと、
画像切出部が、前記外接四角形に基づき、前記読取部により読み取られた前記画像から切出後帳票画像を切り出す画像切出しステップと、
を有する、画像読取方法。 - 帳票の画像を読み取る読取部を有する画像読取装置のコンピュータに実行させるための画像読取プログラムであって、
スキュー角度算出部が、前記読取部により読み取られた前記画像の画像データに基づき、前記帳票の傾きを補正するのに用いるスキュー角度を算出するスキュー角度算出ステップと、
外接領域検出部が、前記スキュー角度に基づき前記画像を回転させた第1スキュー補正後画像を生成し、生成した前記第1スキュー補正後画像を走査することで、前記第1スキュー補正後画像に含まれる、前記帳票の前記画像に外接する外接四角形を検出する外接領域検出ステップと、
画像切出部が、前記外接四角形に基づき、前記読取部により読み取られた前記画像から切出後帳票画像を切り出す画像切出しステップと、
を前記コンピュータに実行させる、
画像読取プログラム。
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2015/073813 WO2017033275A1 (ja) | 2015-08-25 | 2015-08-25 | 画像読取装置および画像読取方法ならびに画像読取プログラム |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2017033275A1 true JPWO2017033275A1 (ja) | 2017-08-31 |
JP6383441B2 JP6383441B2 (ja) | 2018-08-29 |
Family
ID=58099753
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016574303A Active JP6383441B2 (ja) | 2015-08-25 | 2015-08-25 | 画像読取装置および画像読取方法ならびに画像読取プログラム |
Country Status (6)
Country | Link |
---|---|
US (1) | US10091392B2 (ja) |
EP (1) | EP3258681B1 (ja) |
JP (1) | JP6383441B2 (ja) |
KR (1) | KR102001331B1 (ja) |
CN (1) | CN107211068B (ja) |
WO (1) | WO2017033275A1 (ja) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6642833B2 (ja) * | 2016-10-28 | 2020-02-12 | 京セラドキュメントソリューションズ株式会社 | 画像処理装置 |
CN107918935B (zh) * | 2017-12-05 | 2022-03-08 | 深圳市北电仪表有限公司 | 嵌入式系统的图像匹配切割装置及切割方法 |
JP7196474B2 (ja) * | 2018-09-05 | 2022-12-27 | セイコーエプソン株式会社 | 読取り装置およびプログラム |
JP2020052916A (ja) * | 2018-09-28 | 2020-04-02 | 日本電産サンキョー株式会社 | 画像処理装置、イメージスキャナ、及び画像処理方法 |
CN109409366B (zh) * | 2018-10-30 | 2022-04-05 | 四川长虹电器股份有限公司 | 基于角点检测的畸变图像校正方法及装置 |
US11532145B2 (en) * | 2019-01-07 | 2022-12-20 | Microsoft Technology Licensing, Llc | Multi-region image scanning |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000081964A (ja) * | 1998-06-26 | 2000-03-21 | Sony Corp | プリンタ装置 |
JP2003209680A (ja) * | 2002-01-15 | 2003-07-25 | Canon Inc | 画像処理装置 |
JP2007189577A (ja) * | 2006-01-16 | 2007-07-26 | Matsushita Electric Ind Co Ltd | コンピュータプログラム、画像入力装置、画像入力システムおよび画像入力方法 |
JP2008124828A (ja) * | 2006-11-13 | 2008-05-29 | Canon Electronics Inc | 画像読取装置、画像読取方法及び該方法を実行するためのプログラム |
JP2008259172A (ja) * | 2007-03-15 | 2008-10-23 | Ricoh Co Ltd | 画像処理装置、画像処理方法およびプログラム |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE19858968A1 (de) * | 1998-01-14 | 1999-07-15 | Eastman Kodak Co | Verfahren und Vorrichtung zum Erkennen von Winkelabweichungen und dunklen Rändern bei einem Vorlagenbild in einem Hochleistungsscanner |
US6831755B1 (en) * | 1998-06-26 | 2004-12-14 | Sony Corporation | Printer having image correcting capability |
JP3903932B2 (ja) * | 2003-03-06 | 2007-04-11 | セイコーエプソン株式会社 | 画像読み取り制御装置およびプログラム |
JP5202037B2 (ja) * | 2008-02-29 | 2013-06-05 | キヤノン株式会社 | 特徴点位置決定方法及び装置 |
JP2010171492A (ja) | 2009-01-20 | 2010-08-05 | Konica Minolta Business Technologies Inc | 画像処理装置、画像処理方法、および画像処理プログラム |
CN101625760A (zh) * | 2009-07-28 | 2010-01-13 | 谭洪舟 | 一种证件图像倾斜校正的办法 |
US8989515B2 (en) * | 2012-01-12 | 2015-03-24 | Kofax, Inc. | Systems and methods for mobile image capture and processing |
JP6070449B2 (ja) * | 2013-07-08 | 2017-02-01 | 富士ゼロックス株式会社 | 傾斜角度補正装置、画像読取装置、画像形成装置およびプログラム |
-
2015
- 2015-08-25 EP EP15899908.6A patent/EP3258681B1/en active Active
- 2015-08-25 JP JP2016574303A patent/JP6383441B2/ja active Active
- 2015-08-25 KR KR1020177033847A patent/KR102001331B1/ko active IP Right Grant
- 2015-08-25 US US15/501,476 patent/US10091392B2/en active Active
- 2015-08-25 WO PCT/JP2015/073813 patent/WO2017033275A1/ja active Application Filing
- 2015-08-25 CN CN201580075825.2A patent/CN107211068B/zh active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000081964A (ja) * | 1998-06-26 | 2000-03-21 | Sony Corp | プリンタ装置 |
JP2003209680A (ja) * | 2002-01-15 | 2003-07-25 | Canon Inc | 画像処理装置 |
JP2007189577A (ja) * | 2006-01-16 | 2007-07-26 | Matsushita Electric Ind Co Ltd | コンピュータプログラム、画像入力装置、画像入力システムおよび画像入力方法 |
JP2008124828A (ja) * | 2006-11-13 | 2008-05-29 | Canon Electronics Inc | 画像読取装置、画像読取方法及び該方法を実行するためのプログラム |
JP2008259172A (ja) * | 2007-03-15 | 2008-10-23 | Ricoh Co Ltd | 画像処理装置、画像処理方法およびプログラム |
Also Published As
Publication number | Publication date |
---|---|
EP3258681B1 (en) | 2019-05-22 |
US10091392B2 (en) | 2018-10-02 |
CN107211068B (zh) | 2019-05-03 |
KR102001331B1 (ko) | 2019-07-17 |
US20170237875A1 (en) | 2017-08-17 |
CN107211068A (zh) | 2017-09-26 |
EP3258681A1 (en) | 2017-12-20 |
KR20170140313A (ko) | 2017-12-20 |
WO2017033275A1 (ja) | 2017-03-02 |
EP3258681A4 (en) | 2018-03-28 |
JP6383441B2 (ja) | 2018-08-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6383441B2 (ja) | 画像読取装置および画像読取方法ならびに画像読取プログラム | |
US8194983B2 (en) | Method and system for preprocessing an image for optical character recognition | |
US8218875B2 (en) | Method and system for preprocessing an image for optical character recognition | |
US9449210B2 (en) | Method and system for detecting a correction pattern in a QR code | |
US8139897B2 (en) | Detecting tilt in an image having different resolutions in different directions | |
JP4565396B2 (ja) | 画像処理装置および画像処理プログラム | |
US10275888B2 (en) | Algorithmic method for detection of documents in images | |
JP4208520B2 (ja) | 画像処理装置および画像処理方法、プログラムおよび記憶媒体 | |
CN109409178B (zh) | 图像识别设备和图像识别方法 | |
JP6883199B2 (ja) | 画像処理装置、画像読み取り装置、および、プログラム | |
JP2011008770A (ja) | 原稿方向の検出方法及び装置 | |
JP2013047874A (ja) | 画像処理装置、画像処理方法、画像処理プログラム及び画像処理システム | |
US8452104B2 (en) | Image determination apparatus, computer readable medium storing program, and method | |
JP5911122B2 (ja) | 直線検出装置および直線検出方法 | |
JP6950236B2 (ja) | コンピュータプログラム及び画像処理装置 | |
JP6950237B2 (ja) | コンピュータプログラム及び画像処理装置 | |
CN107680046A (zh) | 影像矫正方法、装置、存储介质和计算机设备 | |
US10375261B2 (en) | Image scanning apparatus | |
JP5146199B2 (ja) | 差分抽出装置及び差分抽出プログラム | |
JP2008258980A (ja) | 画像情報処理装置および画像傾斜角度算出方法 | |
JP6464891B2 (ja) | 傍線問題採点方法、傍線問題採点プログラム及び傍線問題採点装置 | |
US8582921B2 (en) | Figure processing apparatus, figure processing method, and storage medium | |
CN113177885A (zh) | 校正图像的方法、装置、存储介质及电子设备 | |
JP2020119352A (ja) | マーク選定装置および画像処理装置 | |
JP2020149184A (ja) | 情報処理装置、その制御方法及びプログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170718 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170911 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180227 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180424 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20180724 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180803 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6383441 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |