JP5675194B2 - 画像処理装置、画像処理方法及びプログラム - Google Patents
画像処理装置、画像処理方法及びプログラム Download PDFInfo
- Publication number
- JP5675194B2 JP5675194B2 JP2010161000A JP2010161000A JP5675194B2 JP 5675194 B2 JP5675194 B2 JP 5675194B2 JP 2010161000 A JP2010161000 A JP 2010161000A JP 2010161000 A JP2010161000 A JP 2010161000A JP 5675194 B2 JP5675194 B2 JP 5675194B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- image
- area
- character area
- representative
- 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.)
- Expired - Fee Related
Links
- 238000003672 processing method Methods 0.000 title claims description 5
- 238000012937 correction Methods 0.000 claims description 115
- 238000000605 extraction Methods 0.000 claims description 24
- 238000003702 image correction Methods 0.000 claims description 19
- 239000000284 extract Substances 0.000 claims description 2
- 230000007423 decrease Effects 0.000 claims 1
- 238000000034 method Methods 0.000 description 91
- 230000008569 process Effects 0.000 description 63
- 238000010586 diagram Methods 0.000 description 34
- 238000005070 sampling Methods 0.000 description 13
- 238000007792 addition Methods 0.000 description 5
- 239000003086 colorant Substances 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000006872 improvement Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 210000000746 body region Anatomy 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000005429 filling process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 210000004907 gland Anatomy 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
Images
Landscapes
- Character Input (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Description
図1は、実施例1による画像処理を実施するためのシステムの構成例を示すブロック図である。システム(1)は、画像処理装置(100)、入力装置(104)、及び出力装置(105)を備える。画像処理装置(100)は、CPU(Central Processing Unit)(101)、RAM(Random Access Memory)(102)、及び記憶装置(103)を備える。
図2を参照して、画像処理装置1において実行される画像処理の流れを説明する。この処理は、RAM(102)に展開されたプログラムに基づいて、CPU(101)の制御により行われる。
次に、図3を参照して、図2における文字領域抽出処理S103の詳細を説明する。
条件2:入力画像の大きさと比較して直線エッジの長さが、所定の閾値以上である。
条件3:文字画像と直線が重なっていない。
S202によって抽出された文字領域枠内に枠候補直線が存在した場合、この枠候補直線は無効な枠候補直線と判定される。
条件2:枠候補線の交点が存在しない場合に、延長した枠候補線と他の(延長した)枠候補線との交点が存在すること。
条件3:交点の内角が180度未満であること。
条件4:最終的に得られる4辺の実線部分の長さがそれぞれ閾値以上の長さであること。
交点1(612)の位置情報(x1、y1)
交点2(613)の位置情報(x2、y2)
交点3´(614)の位置情報(x3、y3)
交点4´(615)の位置情報(x4、y4)
文字領域比率(D)=文字領域の画素数総和(S)÷入力画像の画素数(C)
S502では、処理対象の文字領域に対して、第1の代表文字領域判定を行う。
条件1:補正前の文字領域が入力画像の中心領域を内包する。
条件2:入力画像の画素数(面積)に対する歪み補正前(又は補正後)の文字領域の画素数(面積)の割合が、所定の割合(第1の閾値)以上である。
第一グループR値の代表色=(220+225)/2=222.5
第一グループG値の代表色=(200+190)/2=195.0
第一グループB値の代表色=(190+200)/2=195.0
同様に第二グループの代表色は、以下のように決定する。
第二グループR値の代表色=(190+195)/2=192.5
第二グループG値の代表色=(205+200)/2=202.5
第二グループB値の代表色=(195+205)/2=200.0
S606では、グループ毎に背景色の補正を行う。第一グループのR値の補正方法について説明する。
図22(b)において、文字のサイズが一定である領域を本文領域(2201)とする。本文領域の上端からの距離が最も近い位置を本文上端位置(2202)とする。本文上端位置(2202)を代表文字位置、本文上端位置(2202)の文字サイズを代表サイズとして、図22(d)に示すような上下方向の代表文字位置と代表サイズの関係を取得する。
任意輝度(Yi)<代表輝度(Yr)の場合、
輝度値Yにおける補正値(Ry)=画像補正量×Yi/Yr
任意輝度(Yi)>代表輝度(Yr)の場合、
輝度値Yにおける補正値(Ry)=画像補正量×(Ymax−Yi)/(Ymax−Yr)
Ymax:画像における論理的な輝度の最大値(255)
で計算する。
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
102 RAM
102−1 処理プログラム展開領域
102−2 入力データ領域
102−3 出力データ領域
103 記憶装置
103−1 処理プログラム展開
103−2 入力データ
103−3 出力データ
104 入力装置
105 出力装置
Claims (12)
- 入力画像から文字領域を抽出する抽出手段と、
前記抽出手段で抽出された文字領域の歪みを補正する歪み補正手段と、
前記入力画像が複数存在し、複数の文字領域が抽出された場合に、前記歪み補正手段で歪み補正した後の文字領域間で、文字領域内の背景色及び文字領域内における文字オブジェクトの位置のうち少なくとも一方について差分が小さくなるように、前記歪み補正後の文字領域に対して補正を行う画像間補正手段と、
を備えることを特徴とする画像処理装置。 - 前記画像間補正手段は、前記歪み補正した後の複数の文字領域を複数のグループに分類し、当該分類されたグループ毎に前記差分が小さくなるように前記補正を行うことを特徴とする請求項1に記載の画像処理装置。
- 前記グループは、前記歪み補正した後の複数の文字領域それぞれの背景色の平均値に基づいて分類されることを特徴とする請求項2に記載の画像処理装置。
- 前記グループは、前記歪み補正した後の複数の文字領域それぞれに含まれる文字画像の位置とサイズとに基づいて分類されることを特徴とする請求項2に記載の画像処理装置。
- 前記画像間補正手段で前記差分が小さくなるように補正した後の複数の文字領域を含む電子ファイルを出力する出力手段を更に備えることを特徴とする請求項1乃至4のいずれか1項に記載の画像処理装置。
- 前記入力画像の面積に対する前記抽出された1又は複数の文字領域の総面積の割合を用いて、前記入力画像が文字中心であるか非文字中心であるかを判定する画像判定手段を更に備え、
前記画像判定手段により非文字中心と判定された入力画像に対しては、当該入力画像内に含まれる文字領域に関する情報をメタデータとして付与し、
前記電子ファイルは、当該メタデータが付与された入力画像を含む
ことを特徴とする請求項5に記載の画像処理装置。 - 前記画像判定手段によって文字中心であると判定された場合、前記入力画像の面積に対する前記抽出された文字領域の面積の割合が第1の閾値以上である前記歪み補正後の文字領域を代表文字領域と判定する代表文字領域判定手段を備え、
前記電子ファイルは、前記判定された前記代表文字領域を出力画像として含む
ことを特徴とする請求項6に記載の画像処理装置。 - 前記電子ファイルは、前記代表文字領域以外の文字領域のテキストデータをメタデータとして含むことを特徴とする請求項7に記載の画像処理装置。
- 前記代表文字領域判定手段は、前記入力画像の面積に対する前記抽出された文字領域の面積の割合が前記第1の閾値以上である前記文字領域が存在しない場合であって、前記第1の閾値より小さい第2の閾値以上の割合である前記歪み補正した後の文字領域が複数存在する場合、当該複数の歪み補正した後の文字領域を代表文字領域と判定することを特徴とする請求項7又は8に記載の画像処理装置。
- 前記電子ファイルは、前記判定された前記複数の代表文字領域を出力画像として所定のレイアウトに従って配置した画像を含むことを特徴とする請求項9に記載の画像処理装置。
- 抽出手段が、入力画像から文字領域を抽出する抽出ステップと、
歪み補正手段が、前記抽出手段で抽出された文字領域の歪みを補正する歪み補正ステップと、
画像間補正手段が、前記入力画像が複数存在し、複数の文字領域が抽出された場合に、前記歪み補正手段で歪み補正した後の文字領域間で、文字領域内の背景色及び文字領域内における文字オブジェクトの位置のうち少なくとも一方について差分が小さくなるように、前記歪み補正後の文字領域に対して補正を行う画像間補正ステップと、
を含むことを特徴とする画像処理方法。 - コンピュータを、請求項1乃至9のいずれか1項に記載の画像処理装置として機能させるためのプログラム。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010161000A JP5675194B2 (ja) | 2010-07-15 | 2010-07-15 | 画像処理装置、画像処理方法及びプログラム |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010161000A JP5675194B2 (ja) | 2010-07-15 | 2010-07-15 | 画像処理装置、画像処理方法及びプログラム |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2012022575A JP2012022575A (ja) | 2012-02-02 |
JP2012022575A5 JP2012022575A5 (ja) | 2013-08-29 |
JP5675194B2 true JP5675194B2 (ja) | 2015-02-25 |
Family
ID=45776804
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010161000A Expired - Fee Related JP5675194B2 (ja) | 2010-07-15 | 2010-07-15 | 画像処理装置、画像処理方法及びプログラム |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5675194B2 (ja) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6099937B2 (ja) * | 2012-11-13 | 2017-03-22 | プラス株式会社 | デジタルカメラを内蔵した装置用カメラアプリケーション |
CN106063247B (zh) | 2014-02-28 | 2019-11-26 | 奥林巴斯株式会社 | 图像处理装置、图像处理方法和图像处理程序 |
US9747499B2 (en) * | 2015-03-03 | 2017-08-29 | Fuji Xerox Co., Ltd. | Systems and methods for detection and high-quality capture of documents on a cluttered tabletop with an automatically controlled camera |
US10395126B2 (en) * | 2015-08-11 | 2019-08-27 | Honda Motor Co., Ltd. | Sign based localization |
JP7023619B2 (ja) * | 2017-05-30 | 2022-02-22 | 株式会社内田洋行 | 構造形式情報再利用システム |
JP6458239B1 (ja) * | 2017-08-29 | 2019-01-30 | 株式会社マーケットヴィジョン | 画像認識システム |
JP6941331B2 (ja) * | 2018-10-16 | 2021-09-29 | 株式会社マーケットヴィジョン | 画像認識システム |
JP6831951B2 (ja) * | 2018-10-16 | 2021-02-24 | 株式会社マーケットヴィジョン | 画像認識システム |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3134292B2 (ja) * | 1990-05-31 | 2001-02-13 | 富士ゼロックス株式会社 | 画像処理装置 |
JPH0628520A (ja) * | 1992-07-10 | 1994-02-04 | Matsushita Electric Ind Co Ltd | 文字認識装置 |
JP3651946B2 (ja) * | 1995-01-31 | 2005-05-25 | キヤノン株式会社 | 画像処理方法 |
JP3866600B2 (ja) * | 2002-03-27 | 2007-01-10 | 株式会社東芝 | 画像処理装置及び画像処理方法 |
JP4093413B2 (ja) * | 2003-05-06 | 2008-06-04 | 株式会社リコー | 画像処理装置、画像処理プログラム及び該プログラムを記録した記録媒体 |
JP4186747B2 (ja) * | 2003-08-06 | 2008-11-26 | 富士ゼロックス株式会社 | 画像処理装置、画像形成装置、画像処理方法及びプログラム |
JP2005122319A (ja) * | 2003-10-14 | 2005-05-12 | Casio Comput Co Ltd | 撮影装置、その画像処理方法及びプログラム |
JP4696239B2 (ja) * | 2005-10-07 | 2011-06-08 | 独立行政法人国立高等専門学校機構 | 文字列の傾斜補正方法及び装置 |
-
2010
- 2010-07-15 JP JP2010161000A patent/JP5675194B2/ja not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2012022575A (ja) | 2012-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5675194B2 (ja) | 画像処理装置、画像処理方法及びプログラム | |
US9477898B2 (en) | Straightening out distorted perspective on images | |
US8634659B2 (en) | Image processing apparatus, computer readable medium storing program, and image processing method | |
JP4416039B2 (ja) | 縞模様検知システム、縞模様検知方法および縞模様検知用プログラム | |
JP4885789B2 (ja) | 画像処理方法、画像領域検出方法、画像処理プログラム、画像領域検出プログラム、画像処理装置、および、画像領域検出装置 | |
US20180115680A1 (en) | Image processing apparatus, image processing system, control method for image processing apparatus, and non-transitory computer readable medium | |
JP5974589B2 (ja) | 画像処理装置およびプログラム | |
CN105339951A (zh) | 用于检测文档边界的方法 | |
JP2009278363A (ja) | 画像処理装置及び画像処理方法 | |
US10455163B2 (en) | Image processing apparatus that generates a combined image, control method, and storage medium | |
JP5541679B2 (ja) | 画像処理装置及び方法、並びに、プログラム | |
JP4730775B2 (ja) | 画像処理装置 | |
JP5171421B2 (ja) | 画像処理装置、画像処理方法、コンピュータプログラム | |
JP5409400B2 (ja) | 画像処理方法、画像処理装置、およびプログラム | |
US9031324B2 (en) | Image-processing device specifying encircling line for identifying sub-region of image | |
JP2004080341A (ja) | 画像処理装置、画像処理方法、プログラム、及び記録媒体 | |
US20200226712A1 (en) | Image processing apparatus, control method thereof, recording medium, and information processing system | |
KR20100009452A (ko) | 영상 처리 방법 | |
US8369637B2 (en) | Image processing apparatus, image processing method, and program | |
US9607218B2 (en) | Information processing apparatus, control method, and storage medium storing program | |
JP5884509B2 (ja) | 画像処理装置、画像読取装置およびプログラム | |
JP6142701B2 (ja) | 画像処理装置及びプログラム | |
JP2012019387A (ja) | 画像レイアウト設定方法および装置 | |
JP2008258980A (ja) | 画像情報処理装置および画像傾斜角度算出方法 | |
CN106951401B (zh) | 一种文档正文识别方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130716 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130716 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140418 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140513 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140714 |
|
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: 20141125 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20141224 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5675194 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
LAPS | Cancellation because of no payment of annual fees |