JP2004088499A5 - - Google Patents
Download PDFInfo
- Publication number
- JP2004088499A5 JP2004088499A5 JP2002247643A JP2002247643A JP2004088499A5 JP 2004088499 A5 JP2004088499 A5 JP 2004088499A5 JP 2002247643 A JP2002247643 A JP 2002247643A JP 2002247643 A JP2002247643 A JP 2002247643A JP 2004088499 A5 JP2004088499 A5 JP 2004088499A5
- Authority
- JP
- Japan
- Prior art keywords
- image
- distortion correction
- scanning direction
- line
- character
- 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
Claims (45)
前記スキャン画像のページ外形、罫線、文字行または前記スキャン画像を副走査方向に貫く画像中心線の形状を基に主走査方向の歪み補正率を算出する主走査方向歪み補正率算出手段と、
この歪み補正率算出手段により算出された前記歪み補正率を用いて前記スキャン画像を主走査方向に伸張して前記スキャン画像の歪みを補正する主走査方向歪み補正手段と、
この主走査方向歪み補正手段により補正された補正画像から文字外接矩形を抽出し、抽出された前記文字外接矩形の形状を基に副走査方向の歪み補正率を算出する副走査方向歪み補正率算出手段と、
この副走査方向歪み補正率算出手段により算出された前記歪み補正率を用いて前記補正画像を副走査方向に伸張して前記補正画像の歪みを補正する副走査方向歪み補正手段と、
を備えることを特徴とする画像歪み補正装置。In an image distortion correction apparatus that corrects distortion of a scanned image obtained by reading a book document placed on a contact glass with the page binding portion parallel to the main scanning direction of image reading by an image reading unit,
A main scanning direction distortion correction rate calculating means for calculating a distortion correction rate in the main scanning direction based on the shape of a page outer shape, ruled lines, character lines of the scanned image or an image center line penetrating the scanned image in the sub-scanning direction;
Main-scanning direction distortion correcting means for expanding the scan image in the main scanning direction using the distortion correction ratio calculated by the distortion correction rate calculating means to correct distortion of the scan image;
Sub-scanning direction distortion correction rate calculation that extracts a character circumscribing rectangle from the corrected image corrected by the main scanning direction distortion correcting unit and calculates a distortion correction rate in the sub-scanning direction based on the extracted shape of the character circumscribing rectangle Means,
A sub-scanning direction distortion correction unit that extends the correction image in the sub-scanning direction using the distortion correction rate calculated by the sub-scanning direction distortion correction rate calculation unit, and corrects the distortion of the correction image;
An image distortion correction apparatus comprising:
(前記仮想ページ外形上の所定位置における前記仮想ページ外形と前記参照線との間隔)/(副走査方向の任意の位置xにおける前記仮想ページ外形と前記参照線との間隔)
であることを特徴とする請求項2記載の画像歪み補正装置。The distortion correction rate in the main scanning direction calculated by the main scanning direction distortion correction rate calculating means is an arbitrary position x in the sub-scanning direction of the virtual page outline.
(Spacing between the virtual page contour and the reference line at a predetermined position on the virtual page contour) / (Spacing between the virtual page contour and the reference line at an arbitrary position x in the sub-scanning direction)
The image distortion correction apparatus according to claim 2, wherein:
このページ外形判別手段により前記スキャン画像に前記ページ外形が存在すると判別された場合、前記ページ外形に基づいて前記スキャン画像の歪みを補正するページ外形画像歪み補正手段と、
前記ページ外形判別手段により前記スキャン画像に前記ページ外形が存在しないと判別された場合、前記スキャン画像に存在する罫線または文字行に基づいて前記スキャン画像の歪みを補正する罫線/文字行画像歪み補正手段と、
を備えることを特徴とする画像歪み補正装置。In an image distortion correction apparatus for correcting distortion of a scanned image obtained by reading a book document placed on a contact glass by an image reading unit, page outer shape determination means for determining whether or not a page outer shape exists in the scanned image; ,
A page outline image distortion correcting means for correcting distortion of the scan image based on the page outline when the page outline determining means determines that the page outline exists in the scanned image;
Ruled line / character line image distortion correction for correcting distortion of the scanned image based on ruled lines or character lines existing in the scanned image when the page outline determining unit determines that the page outline does not exist in the scanned image Means,
An image distortion correction apparatus comprising:
前記スキャン画像の画素の中でその濃度値が予め定めた濃度値よりも濃い画素の数を前記画像読取手段による画像読み取りの副走査方向に関してカウントしたカウント数に基づいて主走査方向に関してのヒストグラムを生成し、前記ヒストグラムのパターンに基づいて前記スキャン画像から前記罫線の候補を抽出する罫線候補抽出手段と、
この罫線候補抽出手段により抽出された前記罫線候補上の適当な位置を開始点とし、前記開始点から前記罫線候補を左右方向へ探索して前記罫線候補が途切れている切断点の数を累積し、前記切断点の数が予め定めた閾値より少ない場合は前記罫線候補を前記罫線と判別する罫線判別手段と、
を備えることを特徴とする画像歪み補正装置。In an image distortion correction apparatus that corrects distortion of a scanned image obtained by reading a book document placed on a contact glass by an image reading unit based on the shape of a ruled line extracted from the scanned image.
A histogram in the main scanning direction is formed on the basis of a count number obtained by counting the number of pixels whose density value is darker than a predetermined density value among the pixels of the scanned image in the sub-scanning direction of image reading by the image reading unit. A ruled line candidate extracting means for generating and extracting the ruled line candidate from the scanned image based on the histogram pattern;
Starting from an appropriate position on the ruled line candidate extracted by the ruled line candidate extracting means, the ruled line candidate is searched from the start point in the left-right direction, and the number of cut points at which the ruled line candidate is interrupted is accumulated. A ruled line discriminating means for discriminating the ruled line candidate from the ruled line when the number of cut points is less than a predetermined threshold;
An image distortion correction apparatus comprising:
前記スキャン画像の画素の濃度値が予め定めた濃度値よりも濃い画素と薄い画素とが反転する回数を前記画像読取手段による画像読み取りの副走査方向に関してカウントしたカウント数に基づいて生成される主走査方向に関してのヒストグラムに関する分散値と、前記スキャン画像の画素の濃度値が予め定めた濃度値よりも濃い画素と薄い画素とが反転する回数を前記画像読取手段による画像読み取りの主走査方向に関してカウントしたカウント数に基づいて生成される副走査方向に関してのヒストグラムに関する分散値と、を比較して前記原稿が横書き文書か縦書き文書かを判別する文書判別手段を備えることを特徴とする画像歪み補正装置。In an image distortion correction apparatus that corrects distortion of a scanned image obtained by reading a book document placed on a contact glass by an image reading unit based on the shape of a character line extracted from the scanned image.
Mainly generated based on the number of counts in the sub-scanning direction of the image reading by the image reading means, the number of times that the pixel density value of the scanned image is inverted between the darker pixel and the lighter pixel than the predetermined density value. The number of times the variance value relating to the histogram relating to the scanning direction and the pixel density value of the scanned image are inverted between the darker and lighter pixels than the predetermined density value are counted in the main scanning direction of the image reading by the image reading means. Comparing with a variance value relating to a histogram in the sub-scanning direction generated on the basis of the counted number, image distortion correction, comprising: a document discrimination means for discriminating whether the original is a horizontally written document or a vertically written document apparatus.
この画像読取手段により読み取られたスキャン画像の補正を行う請求項1ないし10の何れか一記載の画像歪み補正装置と、
を備えることを特徴とする画像読取装置。Image reading means for reading a document image;
The image distortion correction apparatus according to any one of claims 1 to 10, which corrects a scanned image read by the image reading unit;
An image reading apparatus comprising:
この画像読取手段により読み取られたスキャン画像の補正を行う請求項11ないし37の何れか一記載の画像歪み補正装置と、
を備えることを特徴とする画像読取装置。Image reading means for reading a document image;
An image distortion correction apparatus according to any one of claims 11 to 37, which corrects a scanned image read by the image reading unit;
An image reading apparatus comprising:
この画像読取手段により読み取られたスキャン画像の補正を行う請求項1ないし10の何れか一記載の画像歪み補正装置と、
この画像歪み補正装置から出力される画像データに基づいた画像を用紙上に印刷する画像印刷装置と、
を備えることを特徴とする画像形成装置。Image reading means for reading a document image;
The image distortion correction apparatus according to any one of claims 1 to 10, which corrects a scanned image read by the image reading unit;
An image printing apparatus that prints an image on paper based on image data output from the image distortion correction apparatus;
An image forming apparatus comprising:
この画像読取手段により読み取られたスキャン画像の補正を行う請求項11ないし37の何れか一記載の画像歪み補正装置と、
この画像歪み補正装置から出力される画像データに基づいた画像を用紙上に印刷する画像印刷装置と、
を備えることを特徴とする画像形成装置。Image reading means for reading a document image;
An image distortion correction apparatus according to any one of claims 11 to 37, which corrects a scanned image read by the image reading unit;
An image printing apparatus that prints an image on paper based on image data output from the image distortion correction apparatus;
An image forming apparatus comprising:
前記スキャン画像のページ外形、罫線、文字行または前記スキャン画像を副走査方向に貫く画像中心線の形状を基に主走査方向の歪み補正率を算出する主走査方向歪み補正率算出機能と、
この歪み補正率算出機能により算出された前記歪み補正率を用いて前記スキャン画像を主走査方向に伸張して前記スキャン画像の歪みを補正する主走査方向歪み補正機能と、
この主走査方向歪み補正機能により補正された補正画像から文字外接矩形を抽出し、抽出された前記文字外接矩形の形状を基に副走査方向の歪み補正率を算出する副走査方向歪み補正率算出機能と、
この副走査方向歪み補正率算出機能により算出された前記歪み補正率を用いて前記補正画像を副走査方向に伸張して前記補正画像の歪みを補正する副走査方向歪み補正機能と、
を実行させることを特徴とするプログラム。A program for causing a computer to perform image distortion correction of a scanned image obtained by reading a book document placed on a contact glass with an image reading unit with a page binding portion parallel to a main scanning direction of image reading, On the computer,
A main scanning direction distortion correction rate calculation function for calculating a distortion correction rate in the main scanning direction based on the shape of the page outline, ruled line, character line of the scanned image or the image center line penetrating the scanned image in the sub-scanning direction;
A main scanning direction distortion correction function for correcting the distortion of the scan image by extending the scan image in the main scanning direction using the distortion correction ratio calculated by the distortion correction rate calculation function;
Sub-scanning direction distortion correction rate calculation that extracts a character circumscribing rectangle from the corrected image corrected by the main scanning direction distortion correction function and calculates a sub-scanning direction distortion correction rate based on the extracted shape of the character circumscribing rectangle Function and
A sub-scanning direction distortion correction function that expands the corrected image in the sub-scanning direction using the distortion correction rate calculated by the sub-scanning direction distortion correction rate calculation function, and corrects the distortion of the corrected image;
A program characterized by having executed.
前記スキャン画像にページ外形が存在するか否かを判別するページ外形判別機能と、 A page outline determination function for determining whether or not a page outline exists in the scanned image;
このページ外形判別機能により前記スキャン画像に前記ページ外形が存在すると判別された場合、前記ページ外形に基づいて前記スキャン画像の歪みを補正するページ外形画像歪み補正機能と、 A page outline image distortion correction function for correcting distortion of the scan image based on the page outline when the page outline discrimination function determines that the page outline exists in the scan image;
前記ページ外形判別機能により前記スキャン画像に前記ページ外形が存在しないと判別された場合、前記スキャン画像に存在する罫線または文字行に基づいて前記スキャン画像の歪みを補正する罫線/文字行画像歪み補正機能と、 Ruled line / character line image distortion correction for correcting distortion of the scanned image based on ruled lines or character lines existing in the scanned image when the page outline determining function determines that the page outline does not exist in the scanned image Function and
を実行させることを特徴とするプログラム。 A program characterized by having executed.
前記スキャン画像の画素の中でその濃度値が予め定めた濃度値よりも濃い画素の数を前記画像読取手段による画像読み取りの副走査方向に関してカウントしたカウント数に基づいて主走査方向に関してのヒストグラムを生成し、前記ヒストグラムのパターンに基づいて前記スキャン画像から前記罫線の候補を抽出する罫線候補抽出機能と、 A histogram in the main scanning direction is formed on the basis of the count number obtained by counting the number of pixels whose density value is darker than a predetermined density value among the pixels of the scanned image in the sub-scanning direction of image reading by the image reading unit. A ruled line candidate extraction function for generating and extracting the ruled line candidates from the scanned image based on the histogram pattern;
この罫線候補抽出機能により抽出された前記罫線候補上の適当な位置を開始点とし、前記開始点から前記罫線候補を左右方向へ探索して前記罫線候補が途切れている切断点の数を累積し、前記切断点の数が予め定めた閾値より少ない場合は前記罫線候補を前記罫線と判別する罫線判別機能と、 A suitable position on the ruled line candidate extracted by the ruled line candidate extraction function is used as a starting point, and the ruled line candidate is searched from the start point in the left-right direction, and the number of cutting points at which the ruled line candidate is interrupted is accumulated. A ruled line discriminating function for discriminating the ruled line candidate from the ruled line when the number of cutting points is less than a predetermined threshold;
を実行させることを特徴とするプログラム。 A program characterized by having executed.
前記スキャン画像の画素の濃度値が予め定めた濃度値よりも濃い画素と薄い画素とが反転する回数を前記画像読取手段による画像読み取りの副走査方向に関してカウントしたカウント数に基づいて生成される主走査方向に関してのヒストグラムに関する分散値と、前記スキャン画像の画素の濃度値が予め定めた濃度値よりも濃い画素と薄い画素とが反転する回数を前記画像読取手段による画像読み取りの主走査方向に関してカウントしたカウント数に基づいて生成される副走査方向に関してのヒストグラムに関する分散値と、を比較して前記原稿が横書き文書か縦書き文書かを判別する文書判別機能を実行させることを特徴とするプログラム。 Mainly generated based on the number of counts in the sub-scanning direction of the image reading by the image reading means, the number of times that the pixel density value of the scanned image is inverted between the darker pixel and the lighter pixel than the predetermined density value. The number of times the variance value relating to the histogram relating to the scanning direction and the pixel density value of the scanned image are inverted between the darker and lighter pixels than the predetermined density value are counted in the main scanning direction of the image reading by the image reading means. A program for executing a document discrimination function for comparing a variance value relating to a histogram in the sub-scanning direction generated based on the counted number and discriminating whether the original is a horizontally written document or a vertically written document.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US10/227,743 US7430065B2 (en) | 2001-08-27 | 2002-08-26 | Method and system for correcting distortions in image data scanned from bound originals |
JP2002247643A JP3979639B2 (en) | 2001-08-27 | 2002-08-27 | Image distortion correction apparatus, image reading apparatus, image forming apparatus, and program |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001256971 | 2001-08-27 | ||
JP2001256969 | 2001-08-27 | ||
JP2002194281 | 2002-07-03 | ||
JP2002247643A JP3979639B2 (en) | 2001-08-27 | 2002-08-27 | Image distortion correction apparatus, image reading apparatus, image forming apparatus, and program |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007148293A Division JP4507124B2 (en) | 2001-08-27 | 2007-06-04 | Image distortion correction apparatus, image reading apparatus, image forming apparatus, and program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2004088499A JP2004088499A (en) | 2004-03-18 |
JP2004088499A5 true JP2004088499A5 (en) | 2005-10-06 |
JP3979639B2 JP3979639B2 (en) | 2007-09-19 |
Family
ID=32074545
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002247643A Expired - Fee Related JP3979639B2 (en) | 2001-08-27 | 2002-08-27 | Image distortion correction apparatus, image reading apparatus, image forming apparatus, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3979639B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8270044B2 (en) * | 2006-10-26 | 2012-09-18 | Samsung Electronics Co., Ltd. | Scanning apparatus having image correction function |
JP5408526B2 (en) * | 2008-11-20 | 2014-02-05 | 株式会社リコー | Image processing apparatus, image processing method, and program |
JP5757931B2 (en) * | 2012-12-25 | 2015-08-05 | 京セラドキュメントソリューションズ株式会社 | Image processing apparatus and image reading apparatus |
-
2002
- 2002-08-27 JP JP2002247643A patent/JP3979639B2/en not_active Expired - Fee Related
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2003304390A5 (en) | ||
JP3883696B2 (en) | Method for scanning and detecting multiple photos and removing artificial edges | |
US6804414B1 (en) | Image status detecting apparatus and document image correcting apparatus | |
JP3904840B2 (en) | Ruled line extraction device for extracting ruled lines from multi-valued images | |
US6208744B1 (en) | Document image processor and method for setting a document format conforming to a document image | |
JP2006092346A (en) | Equipment, method, and program for character recognition | |
US7965293B2 (en) | Image processing device, image processing method, and image processing program for reconstructing data | |
JPH08287184A (en) | Picture cutting-out device and character recognition device | |
JPH08202815A (en) | Method and device for detecting vertical direction of document | |
JP2004088499A5 (en) | ||
JP4162633B2 (en) | Image distortion correction apparatus, image reading apparatus, image forming apparatus, program, and storage medium | |
JPH0418351B2 (en) | ||
JP2000198237A5 (en) | ||
JP4847378B2 (en) | Image processing apparatus, image processing method, program, and computer-readable recording medium | |
JP3443141B2 (en) | Image tilt detection method and table processing method | |
US20080225340A1 (en) | Image processing apparatus, image processing method, and computer program product | |
JP4136257B2 (en) | Character recognition device, character recognition method, and storage medium | |
JPH0632070B2 (en) | Character recognition device | |
JP3153439B2 (en) | Document image tilt detection method | |
JP2003271897A (en) | Character recognizer, image processor, image processing method, and program used for executing the method | |
JP2007221838A (en) | Image distortion correction device, image reader, and image forming device, and program | |
JP2004088499A (en) | Picture distortion correction device, image reader, image forming device, and program | |
JP5006250B2 (en) | Image correction apparatus, image correction method, image correction program, and recording medium | |
JP4439054B2 (en) | Character recognition device and character frame line detection method | |
JP2001197308A (en) | Method and device for calculating binarization threshold |