JP2008011135A - 画像処理装置および画像処理プログラム - Google Patents
画像処理装置および画像処理プログラム Download PDFInfo
- Publication number
- JP2008011135A JP2008011135A JP2006179008A JP2006179008A JP2008011135A JP 2008011135 A JP2008011135 A JP 2008011135A JP 2006179008 A JP2006179008 A JP 2006179008A JP 2006179008 A JP2006179008 A JP 2006179008A JP 2008011135 A JP2008011135 A JP 2008011135A
- Authority
- JP
- Japan
- Prior art keywords
- pixel group
- unit
- angle detection
- angle
- extracted
- 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
- 238000012545 processing Methods 0.000 title claims abstract description 97
- 238000001514 detection method Methods 0.000 claims abstract description 95
- 238000012937 correction Methods 0.000 claims abstract description 38
- 238000000034 method Methods 0.000 claims description 106
- 230000008569 process Effects 0.000 claims description 72
- 238000000605 extraction Methods 0.000 claims description 64
- 238000002372 labelling Methods 0.000 claims description 28
- 239000000284 extract Substances 0.000 abstract description 12
- 230000009467 reduction Effects 0.000 abstract description 8
- 230000009466 transformation Effects 0.000 abstract description 8
- 238000005516 engineering process Methods 0.000 abstract description 2
- 238000006243 chemical reaction Methods 0.000 description 24
- 238000010586 diagram Methods 0.000 description 6
- 238000011946 reduction process Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 description 2
- 238000011960 computer-aided design Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000010339 dilation Effects 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
Images
Abstract
【解決手段】2値化画像において連続する画素に対してラベリング部202によって同一ラベルを付与して連続画素群とし、複数の連続画素群のうち、特徴量が所定基準を満たす連続画素群を特定画素群抽出部203によって特定画素群として抽出し、この抽出した特定画素群のみを用いて、ハフ変換部205および角度算出部206によってハフ変換によるスキュー角検出を行う。そして、この検出したスキュー角を基に、スキュー補正部207によって入力画像に対するスキュー補正を行う。
【選択図】図2
Description
図2は、本発明の第1実施形態に係る画像処理装置(画像処理部)20Aの機能構成例を示すブロック図である。
手法2:連続画素群の外接矩形の中でサイズ(縦・横の長さや矩形面積)が一番大きい連続画素群を特定画素群として抽出する。
手法3:連続画素群の画素数が予め決められた範囲(以上なども含む)の連続画素群を特定画素群として抽出する。
手法4:連続画素群の中で画素数が最も多い連続画素群を特定画素群として抽出する。
手法6:連続画素群の外接矩形のサイズ(縦・横の長さや縦横比)と連続画素群の画素数とより直線性を算出し、最も直線性が高い連続画素群を特定画素群として抽出する。
手法7:連続画素群の外接矩形のサイズ(縦・横の長さや縦横比)と連続画素群の画素数とより直線性を算出し、最も直線性が高く、かつ、その直線性が予め決められた基準を満たす連続画素群を特定画素群として抽出する。
手法9:連続画素群の外接矩形のサイズ(縦・横の長さや縦横比)と連続画素群の画素数とより長方形度を算出し、最も長方形度が高い連続画素群を特定画素群として抽出する。
手法10:連続画素群の外接矩形のサイズ(縦・横の長さや縦横比)と連続画素群の画素数とより長方形度を算出し、最も長方形度が高く、かつ、その長方形度が予め決められた基準を満たす連続画素群を特定画素群として抽出する。
ρ=xcosθ+ysinθ
を満たす、点(ρ、θ)に変換される。
ρ=xcosθ+ysinθ(0≦θ<π)
なる曲線の式で表すことができる。この曲線がハフ曲線であり、このハフ曲線を求める処理がハフ変換である。すなわち、直線上にある複数の点に対しハフ変換処理をおこない、ρ−θ座標上(極座標上)にハフ曲線を描いていくと、それらのハフ曲線は1点で交わることになる。
次に、入力画像のスキュー角を検出し、その検出角度を基にスキュー補正を行う第1実施形態に係るスキュー角検出・補正処理の手順の一例について、図3のフローチャートを用いて説明する。
図4は、本発明の第2実施形態に係る画像処理装置(画像処理部)20Bの機能構成例を示すブロック図である。
次に、入力画像のスキュー角を検出し、その検出角度を基にスキュー補正を行う第2実施形態に係るスキュー角検出・補正処理の手順の一例について、図6のフローチャートを用いて説明する。
Claims (6)
- 入力画像を2値化した2値画像において連続する画素に対して同一ラベルを付与するラベリング手段と、
前記ラベリング手段によって同一ラベルが付与された連続画素群のうち、特徴量が所定基準を満たす連続画素群を特定画素群として抽出する特定画素群抽出手段と、
前記特定画素群抽出手段が抽出した前記特定画素群に対してハフ変換による角度検出を行う角度検出手段と、
前記角度検出手段が検出した角度を基に前記入力画像に対するスキュー補正を行うスキュー補正手段と
を備えることを特徴とする画像処理装置。 - 入力画像を2値化した2値画像において連続する画素に対して同一ラベルを付与するラベリングステップと、
前記ラベリングステップで同一ラベルが付与された連続画素群のうち、特徴量が所定基準を満たす連続画素群を特定画素群として抽出する特定画素群抽出ステップと、
前記特定画素群抽出ステップで抽出した前記特定画素群に対してハフ変換による角度検出を行う角度検出ステップと、
前記角度検出ステップで検出した角度を基に前記入力画像に対するスキュー補正を行うスキュー補正ステップと
の各処理をコンピュータに実行させることを特徴とする画像処理プログラム。 - 入力画像を2値化した2値画像の輪郭を示す画素を抽出する輪郭抽出手段と、
前記輪郭抽出手段で輪郭抽出された2値画像データに対するハフ変換処理によって前記入力画像の傾き角度を段階的に検出する多段階の角度検出手段と、
前記多段階の角度検出手段の相互間において前段の角度検出手段でのハフ変換処理による極座標空間中で頻度の多い1つ以上のポイントを基にx−y平面上での有用画素群を抽出して後段の角度検出手段に渡す有用画素群抽出手段と、
前記多段階の角度検出手段における最終段の角度検出手段が検出した角度を基に前記入力画像に対するスキュー補正を行うスキュー補正手段と
を備えることを特徴とする画像処理装置。 - 前記有用画素群抽出手段は、
前記極座標空間中で頻度の多い1つ以上のポイントを抽出する頻度多点抽出手段と、
前記頻度多点抽出手段で抽出された頻度の多い1つ以上の点に対して逆ハフ変換処理を行う逆ハフ変換手段とを有する
ことを特徴とする請求項3記載の画像処理装置。 - 前記有用画素群抽出手段が抽出した前記有用画素群の各画素に対して膨張処理を行う膨張手段と、
前記膨張手段で膨張処理された2値画像データと前記輪郭抽出手段で輪郭抽出された2値画像データとの論理積をとって前記後段の角度検出手段に渡す論理積手段と
をさらに備えることを特徴とする請求項3記載の画像処理装置。 - 入力画像を2値化した2値画像の輪郭を示す画素を抽出する輪郭抽出ステップと、
前記輪郭抽出ステップで輪郭抽出した2値画像データに対するハフ変換処理によって前記入力画像の傾き角度を段階的に検出する多段階の角度検出ステップと、
前記多段階の角度検出ステップの相互間において前段の角度検出ステップでのハフ変換処理による極座標空間中で頻度の多い1つ以上のポイントを基にx−y平面上での有用画素群を抽出して後段の角度検出ステップに渡す有用画素群抽出ステップと、
前記多段階の角度検出ステップにおける最終段の角度検出ステップで検出した角度を基に前記入力画像に対するスキュー補正を行うスキュー補正ステップと
の各処理をコンピュータに実行させることを特徴とする画像処理プログラム。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006179008A JP4565396B2 (ja) | 2006-06-29 | 2006-06-29 | 画像処理装置および画像処理プログラム |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006179008A JP4565396B2 (ja) | 2006-06-29 | 2006-06-29 | 画像処理装置および画像処理プログラム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008011135A true JP2008011135A (ja) | 2008-01-17 |
JP4565396B2 JP4565396B2 (ja) | 2010-10-20 |
Family
ID=39068948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006179008A Active JP4565396B2 (ja) | 2006-06-29 | 2006-06-29 | 画像処理装置および画像処理プログラム |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4565396B2 (ja) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009266189A (ja) * | 2008-04-21 | 2009-11-12 | Sharp Corp | 画像判別装置、画像検索装置、画像検索プログラムおよび記録媒体 |
JP2011185753A (ja) * | 2010-03-09 | 2011-09-22 | Mitsubishi Electric Corp | 車載カメラのカメラキャリブレーション装置 |
KR101580594B1 (ko) * | 2015-07-06 | 2015-12-28 | 국방과학연구소 | 정규격자 기반 허프변환을 이용한 고해상도 위성영상의 선형 추출 방법 |
CN110084167A (zh) * | 2019-04-19 | 2019-08-02 | 中国航空无线电电子研究所 | 一种刻度类数据图像处理方法及装置 |
CN111768378A (zh) * | 2020-06-29 | 2020-10-13 | 广东电网有限责任公司 | 一种压接金具带电检测方法及装置 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107909544B (zh) * | 2017-10-31 | 2021-08-10 | 珠海丹德图像技术有限公司 | 一种图像校正方法及系统 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11126254A (ja) * | 1997-10-24 | 1999-05-11 | Pfu Ltd | 画像処理装置及びプログラム記憶媒体 |
JP2002084420A (ja) * | 2000-09-07 | 2002-03-22 | Fuji Xerox Co Ltd | 画像処理装置、画像処理方法および画像処理プログラムが格納された記録媒体 |
JP2005184685A (ja) * | 2003-12-22 | 2005-07-07 | Fuji Xerox Co Ltd | 画像処理装置、プログラムおよび記録媒体 |
-
2006
- 2006-06-29 JP JP2006179008A patent/JP4565396B2/ja active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11126254A (ja) * | 1997-10-24 | 1999-05-11 | Pfu Ltd | 画像処理装置及びプログラム記憶媒体 |
JP2002084420A (ja) * | 2000-09-07 | 2002-03-22 | Fuji Xerox Co Ltd | 画像処理装置、画像処理方法および画像処理プログラムが格納された記録媒体 |
JP2005184685A (ja) * | 2003-12-22 | 2005-07-07 | Fuji Xerox Co Ltd | 画像処理装置、プログラムおよび記録媒体 |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009266189A (ja) * | 2008-04-21 | 2009-11-12 | Sharp Corp | 画像判別装置、画像検索装置、画像検索プログラムおよび記録媒体 |
JP4729601B2 (ja) * | 2008-04-21 | 2011-07-20 | シャープ株式会社 | 画像判別装置、画像検索装置、画像検索プログラムおよび記録媒体 |
US8200012B2 (en) | 2008-04-21 | 2012-06-12 | Sharp Kabushiki Kaisha | Image determination apparatus, image search apparatus and computer readable recording medium storing an image search program |
JP2011185753A (ja) * | 2010-03-09 | 2011-09-22 | Mitsubishi Electric Corp | 車載カメラのカメラキャリブレーション装置 |
KR101580594B1 (ko) * | 2015-07-06 | 2015-12-28 | 국방과학연구소 | 정규격자 기반 허프변환을 이용한 고해상도 위성영상의 선형 추출 방법 |
CN110084167A (zh) * | 2019-04-19 | 2019-08-02 | 中国航空无线电电子研究所 | 一种刻度类数据图像处理方法及装置 |
CN110084167B (zh) * | 2019-04-19 | 2022-11-04 | 中国航空无线电电子研究所 | 一种刻度类数据图像处理方法及装置 |
CN111768378A (zh) * | 2020-06-29 | 2020-10-13 | 广东电网有限责任公司 | 一种压接金具带电检测方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
JP4565396B2 (ja) | 2010-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7965892B2 (en) | Image processing apparatus, control method thereof, and program | |
JP2001092919A (ja) | 2次元バーコードのねじれ角決定法 | |
JP4565396B2 (ja) | 画像処理装置および画像処理プログラム | |
US7796817B2 (en) | Character recognition method, character recognition device, and computer product | |
JP2003016464A5 (ja) | ||
EP2536123B1 (en) | Image processing method and image processing apparatus | |
JP5005732B2 (ja) | 画像形成装置及び画像処理方法 | |
KR20150099116A (ko) | Ocr를 이용한 컬러 문자 인식 방법 및 그 장치 | |
JP2010066865A (ja) | 差分抽出装置及び差分抽出プログラム | |
US6983071B2 (en) | Character segmentation device, character segmentation method used thereby, and program therefor | |
CN110991440A (zh) | 一种像素驱动的手机操作界面文本检测方法 | |
US11570331B2 (en) | Image processing apparatus, image processing method, and storage medium | |
JP2004086436A (ja) | 画像処理装置および画像処理方法、プログラムおよび記憶媒体 | |
JP2007328652A (ja) | 画像処理装置および画像処理プログラム | |
JP2008113145A (ja) | 画像処理装置及び画像処理プログラム | |
JP5146199B2 (ja) | 差分抽出装置及び差分抽出プログラム | |
US20020164087A1 (en) | System and method for fast rotation of binary images using block matching method | |
JP2019021085A (ja) | 画像処理プログラム、画像処理方法及び画像処理装置 | |
JP2010182052A (ja) | 画像処理装置及び画像処理プログラム | |
JP4785158B2 (ja) | イメージデータ傾き補正方法及びイメージ入力装置 | |
JP2016224598A (ja) | 画像処理プログラム、画像処理装置、及び画像処理方法 | |
JPH05128305A (ja) | 領域分割方法 | |
JPH06215181A (ja) | 文字・文字列切り出し方法および文字認識装置 | |
JP2023034823A (ja) | 画像処理装置、画像処理装置の制御方法およびプログラム | |
TW202305741A (zh) | 文字分割方法、電子設備及儲存介質 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090210 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20091009 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100507 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100622 |
|
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: 20100709 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100722 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4565396 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130813 Year of fee payment: 3 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |