JP2012022575A - 画像処理装置、画像処理方法及びプログラム - Google Patents
画像処理装置、画像処理方法及びプログラム Download PDFInfo
- Publication number
- JP2012022575A JP2012022575A JP2010161000A JP2010161000A JP2012022575A JP 2012022575 A JP2012022575 A JP 2012022575A JP 2010161000 A JP2010161000 A JP 2010161000A JP 2010161000 A JP2010161000 A JP 2010161000A JP 2012022575 A JP2012022575 A JP 2012022575A
- Authority
- JP
- Japan
- Prior art keywords
- character
- image
- correction
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title description 4
- 238000012937 correction Methods 0.000 claims abstract description 132
- 238000000034 method Methods 0.000 claims description 92
- 238000000605 extraction Methods 0.000 claims description 25
- 238000003702 image correction Methods 0.000 claims description 23
- 230000006872 improvement Effects 0.000 abstract description 4
- 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
- 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
- 239000000284 extract Substances 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)
Abstract
【解決手段】入力画像から文字領域を抽出し、歪みを補正する。複数の歪み補正後の文字領域に関する情報を用いて歪み補正後の文字領域に対する補正量を決定し、補正を行う。
【選択図】図2
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 (11)
- 入力画像から文字領域を抽出する抽出手段と、
前記文字領域の歪みを補正する歪み補正手段と、
複数の前記歪み補正後の文字領域に関する情報を用いて補正量を決定する手段と、
前記補正量を用いて前記複数の歪み補正後の文字領域に対して補正を行う画像間補正手段と
を備えることを特徴とする画像処理装置。 - 前記入力画像の面積に対する前記抽出された1又は複数の文字領域の総面積の割合を用いて、前記入力画像が文字中心であるか非文字中心であるかを判定する画像判定手段と、
前記画像判定手段により非文字中心と判定された場合、前記複数の歪み補正後の文字領域の全てを出力画像として含むファイルを生成するファイル生成手段と
を備えることを特徴とする請求項1に記載の画像処理装置。 - 前記ファイル生成手段によって生成されるファイルは、メタデータとして前記歪み補正後の文字領域に関する情報を含むことを特徴とする請求項2に記載の画像処理装置。
- 前記画像判定手段によって文字中心であると判定された場合、前記入力画像の面積に対する前記抽出された文字領域の面積の割合が第1の閾値以上である前記歪み補正後の文字領域を代表文字領域と判定する代表文字領域判定手段を備え、
前記ファイル生成手段は、前記判定された前記代表文字領域を出力画像として含むファイルを生成すること
を特徴とする請求項2又は3に記載の画像処理装置。 - 前記ファイル生成手段によって生成されるファイルは、前記代表文字領域以外の文字領域のテキストデータをメタデータとして含むことを特徴とする請求項4に記載の画像処理装置。
- 前記代表文字領域判定手段は、前記入力画像の面積に対する前記抽出された文字領域の面積の割合が前記第1の閾値以上である前記文字領域が存在しない場合であって、前記第1の閾値より小さい第2の閾値以上の割合である前記歪み補正後の文字領域が複数存在する場合、当該複数の歪み補正後の文字領域を代表文字領域と判定することを特徴とする請求項4又は5に記載の画像処理装置。
- 前記ファイル生成手段は、前記判定された前記複数の代表文字領域を出力画像として所定のレイアウトに従って配置するファイルを生成することを特徴とする請求項6に記載の画像処理装置。
- 前記生成されたファイルに含まれる画像から代表文字領域の文字画像を抽出し、当該文字画像からなる前景画像及び当該文字画像以外の画像からなる背景画像を生成する手段を備え、
前記補正量を決定する手段は、複数の前記背景画像に含まれる複数の前記代表文字領域の特徴の差分を用いて前記代表文字領域の背景色の補正量を決定し、複数の前記前景画像に含まれる複数の前記文字画像の位置の差分を用いて前記文字画像の位置の補正量を決定し、
前記画像間補正手段は、前記背景色及び前記位置の補正量を用いて前記ファイルに含まれる画像に対して補正を行うこと
を特徴とする請求項2から7のいずれか1つに記載の画像処理装置。 - 前記補正量を決定する手段は、前記代表文字領域の特徴に応じて複数の前記代表文字領域及び複数の前記文字画像のそれぞれをグループに分類し、当該グループごとに当該グループに含まれる前記代表文字領域及び前記文字画像に対する前記補正量を決定することを特徴とする請求項8に記載の画像処理装置。
- 入力画像から文字領域を抽出する抽出ステップと、
前記文字領域の歪みを補正する歪み補正ステップと、
複数の前記歪み補正後の文字領域に関する情報を用いて補正量を決定するステップと、
前記補正量を用いて前記複数の歪み補正後の文字領域に対して補正を行う画像間補正ステップと
を備えることを特徴とする画像処理装置。 - コンピュータに、
入力画像から文字領域を抽出する抽出ステップと、
前記文字領域の歪みを補正する歪み補正ステップと、
複数の前記歪み補正後の文字領域に関する情報を用いて補正量を決定するステップと、
前記補正量を用いて前記複数の歪み補正後の文字領域に対して補正を行う画像間補正ステップと
を実行させるためのプログラム。
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 true JP2012022575A (ja) | 2012-02-02 |
JP2012022575A5 JP2012022575A5 (ja) | 2013-08-29 |
JP5675194B2 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) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014098944A (ja) * | 2012-11-13 | 2014-05-29 | Plus Corp | カメラアプリケーション |
WO2015129062A1 (ja) * | 2014-02-28 | 2015-09-03 | オリンパス株式会社 | 画像処理装置、画像処理方法及び画像処理プログラム |
JP2016162442A (ja) * | 2015-03-03 | 2016-09-05 | 富士ゼロックス株式会社 | テキスト抽出方法、システム及びプログラム |
JP2017054494A (ja) * | 2015-08-11 | 2017-03-16 | 本田技研工業株式会社 | 標示ベースの位置測定 |
JP2018200659A (ja) * | 2017-05-30 | 2018-12-20 | 株式会社内田洋行 | 構造形式情報再利用システム |
JP6458239B1 (ja) * | 2017-08-29 | 2019-01-30 | 株式会社マーケットヴィジョン | 画像認識システム |
JP2019046484A (ja) * | 2018-10-16 | 2019-03-22 | 株式会社マーケットヴィジョン | 画像認識システム |
JP2020161196A (ja) * | 2018-10-16 | 2020-10-01 | 株式会社マーケットヴィジョン | 画像認識システム |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0437258A (ja) * | 1990-05-31 | 1992-02-07 | Fuji Xerox Co Ltd | 画像処理装置 |
JPH0628520A (ja) * | 1992-07-10 | 1994-02-04 | Matsushita Electric Ind Co Ltd | 文字認識装置 |
JPH08202817A (ja) * | 1995-01-31 | 1996-08-09 | Canon Inc | 画像処理方法 |
JP2003288588A (ja) * | 2002-03-27 | 2003-10-10 | Toshiba Corp | 画像処理装置及び画像処理方法 |
JP2004336282A (ja) * | 2003-05-06 | 2004-11-25 | Ricoh Co Ltd | 画像処理装置、画像処理プログラム及び該プログラムを記録した記録媒体 |
JP2005057603A (ja) * | 2003-08-06 | 2005-03-03 | Fuji Xerox Co Ltd | 画像処理装置、画像形成装置、画像処理方法及びプログラム |
JP2005122319A (ja) * | 2003-10-14 | 2005-05-12 | Casio Comput Co Ltd | 撮影装置、その画像処理方法及びプログラム |
JP2007102702A (ja) * | 2005-10-07 | 2007-04-19 | Institute Of National Colleges Of Technology Japan | 文字列の傾斜補正方法及び装置 |
-
2010
- 2010-07-15 JP JP2010161000A patent/JP5675194B2/ja not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0437258A (ja) * | 1990-05-31 | 1992-02-07 | Fuji Xerox Co Ltd | 画像処理装置 |
JPH0628520A (ja) * | 1992-07-10 | 1994-02-04 | Matsushita Electric Ind Co Ltd | 文字認識装置 |
JPH08202817A (ja) * | 1995-01-31 | 1996-08-09 | Canon Inc | 画像処理方法 |
JP2003288588A (ja) * | 2002-03-27 | 2003-10-10 | Toshiba Corp | 画像処理装置及び画像処理方法 |
JP2004336282A (ja) * | 2003-05-06 | 2004-11-25 | Ricoh Co Ltd | 画像処理装置、画像処理プログラム及び該プログラムを記録した記録媒体 |
JP2005057603A (ja) * | 2003-08-06 | 2005-03-03 | Fuji Xerox Co Ltd | 画像処理装置、画像形成装置、画像処理方法及びプログラム |
JP2005122319A (ja) * | 2003-10-14 | 2005-05-12 | Casio Comput Co Ltd | 撮影装置、その画像処理方法及びプログラム |
JP2007102702A (ja) * | 2005-10-07 | 2007-04-19 | Institute Of National Colleges Of Technology Japan | 文字列の傾斜補正方法及び装置 |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014098944A (ja) * | 2012-11-13 | 2014-05-29 | Plus Corp | カメラアプリケーション |
JP2019061702A (ja) * | 2014-02-28 | 2019-04-18 | オリンパス株式会社 | 画像処理装置、画像処理方法及び画像処理プログラム |
WO2015129062A1 (ja) * | 2014-02-28 | 2015-09-03 | オリンパス株式会社 | 画像処理装置、画像処理方法及び画像処理プログラム |
JPWO2015129062A1 (ja) * | 2014-02-28 | 2017-03-30 | オリンパス株式会社 | 画像処理装置、画像処理方法及び画像処理プログラム |
US10346706B2 (en) | 2014-02-28 | 2019-07-09 | Olympus Corporation | Image processing device, image processing method, and non-transitory storage medium storing image processing program |
JP2016162442A (ja) * | 2015-03-03 | 2016-09-05 | 富士ゼロックス株式会社 | テキスト抽出方法、システム及びプログラム |
JP2017054494A (ja) * | 2015-08-11 | 2017-03-16 | 本田技研工業株式会社 | 標示ベースの位置測定 |
JP2018200659A (ja) * | 2017-05-30 | 2018-12-20 | 株式会社内田洋行 | 構造形式情報再利用システム |
JP7023619B2 (ja) | 2017-05-30 | 2022-02-22 | 株式会社内田洋行 | 構造形式情報再利用システム |
JP2019045909A (ja) * | 2017-08-29 | 2019-03-22 | 株式会社マーケットヴィジョン | 画像認識システム |
JP6458239B1 (ja) * | 2017-08-29 | 2019-01-30 | 株式会社マーケットヴィジョン | 画像認識システム |
JP2019046484A (ja) * | 2018-10-16 | 2019-03-22 | 株式会社マーケットヴィジョン | 画像認識システム |
JP2020161196A (ja) * | 2018-10-16 | 2020-10-01 | 株式会社マーケットヴィジョン | 画像認識システム |
Also Published As
Publication number | Publication date |
---|---|
JP5675194B2 (ja) | 2015-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5675194B2 (ja) | 画像処理装置、画像処理方法及びプログラム | |
JP4416039B2 (ja) | 縞模様検知システム、縞模様検知方法および縞模様検知用プログラム | |
JP2009278363A (ja) | 画像処理装置及び画像処理方法 | |
US10455163B2 (en) | Image processing apparatus that generates a combined image, control method, and storage medium | |
JP2013210785A (ja) | 画像処理装置およびプログラム | |
JP2008283649A (ja) | 画像処理方法、画像領域検出方法、画像処理プログラム、画像領域検出プログラム、画像処理装置、および、画像領域検出装置 | |
JP5541679B2 (ja) | 画像処理装置及び方法、並びに、プログラム | |
JP4730775B2 (ja) | 画像処理装置 | |
JP5171421B2 (ja) | 画像処理装置、画像処理方法、コンピュータプログラム | |
JP2011248702A (ja) | 画像処理装置、画像処理方法、画像処理プログラム及びプログラム記憶媒体 | |
US10924620B2 (en) | Document reading guidance for operator using feature amount acquired from image of partial area of document | |
WO2021186672A1 (ja) | 画像処理方法 | |
JP7027043B2 (ja) | 情報処理装置、情報処理方法及びプログラム | |
JP5409400B2 (ja) | 画像処理方法、画像処理装置、およびプログラム | |
US9031324B2 (en) | Image-processing device specifying encircling line for identifying sub-region of image | |
CN111435969B (zh) | 图像处理装置及其控制方法、记录介质和信息处理系统 | |
JP2004080341A (ja) | 画像処理装置、画像処理方法、プログラム、及び記録媒体 | |
KR20100009452A (ko) | 영상 처리 방법 | |
US9607218B2 (en) | Information processing apparatus, control method, and storage medium storing program | |
JP5884509B2 (ja) | 画像処理装置、画像読取装置およびプログラム | |
JP2012019387A (ja) | 画像レイアウト設定方法および装置 | |
JP2011044919A (ja) | 画像処理装置及び画像処理プログラム | |
JP2007328652A (ja) | 画像処理装置および画像処理プログラム | |
CN106951401B (zh) | 一种文档正文识别方法及装置 | |
JP2014053022A (ja) | 画像表示方法、プログラム、画像表示装置、及び、撮像装置 |
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 |