JP2004088499A5 - - Google Patents

Download PDF

Info

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
Application number
JP2002247643A
Other languages
Japanese (ja)
Other versions
JP2004088499A (en
JP3979639B2 (en
Filing date
Publication date
Priority to US10/227,743 priority Critical patent/US7430065B2/en
Application filed filed Critical
Priority to JP2002247643A priority patent/JP3979639B2/en
Priority claimed from JP2002247643A external-priority patent/JP3979639B2/en
Publication of JP2004088499A publication Critical patent/JP2004088499A/en
Publication of JP2004088499A5 publication Critical patent/JP2004088499A5/ja
Application granted granted Critical
Publication of JP3979639B2 publication Critical patent/JP3979639B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

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:
前記主走査方向歪み補正率算出手段は、前記スキャン画像の主走査方向における上辺または下辺の近傍に位置するページ外形、罫線または文字行である基準線と、前記基準線側の辺とは反対側の辺の近傍に位置するページ外形、罫線、文字行または前記スキャン画像を副走査方向に貫く画像中心線の形状である参照線とに基づいて算出される仮想的なページ外形である仮想ページ外形に基づいて主走査方向の歪み補正率を算出することを特徴とする請求項1記載の画像歪み補正装置。  The main-scanning-direction distortion correction rate calculating means includes a reference line that is a page outline, a ruled line, or a character line located in the vicinity of the upper side or the lower side in the main scanning direction of the scanned image, and a side opposite to the side on the reference line side A virtual page outline that is a virtual page outline calculated based on a page outline, ruled line, character line, or reference line that is the shape of the image center line that penetrates the scanned image in the sub-scanning direction. The image distortion correction apparatus according to claim 1, wherein a distortion correction rate in the main scanning direction is calculated based on 前記主走査方向歪み補正率算出手段により算出される主走査方向の歪み補正率は、前記仮想ページ外形の副走査方向の任意の位置xにて、
(前記仮想ページ外形上の所定位置における前記仮想ページ外形と前記参照線との間隔)/(副走査方向の任意の位置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:
前記仮想ページ外形上の所定位置は、前記仮想ページ外形の直線部分と曲線部分との境界点であることを特徴とする請求項3記載の画像歪み補正装置。  4. The image distortion correction apparatus according to claim 3, wherein the predetermined position on the virtual page outline is a boundary point between a straight line portion and a curved line portion of the virtual page outline. 前記仮想ページ外形上の所定位置は、前記仮想ページ外形の直線部分に位置することを特徴とする請求項3記載の画像歪み補正装置。  The image distortion correction apparatus according to claim 3, wherein the predetermined position on the virtual page outline is located in a straight line portion of the virtual page outline. 前記主走査方向歪み補正手段は、前記ページ外形、前記罫線、前記文字行または前記仮想ページ外形を直線形状にするように主走査方向に画素シフトした前記スキャン画像を、主走査方向の歪み補正率を用いて主走査方向に伸張することを特徴とする請求項2ないし5のいずれか一記載の画像歪み補正装置。  The main scanning direction distortion correction unit is configured to convert the scan image obtained by pixel shifting in the main scanning direction so that the page outline, the ruled line, the character line, or the virtual page outline has a linear shape. The image distortion correction device according to claim 2, wherein the image distortion correction device is extended in the main scanning direction using the. 前記主走査方向歪み補正手段は、前記ページ外形、前記罫線、前記文字行または前記仮想ページ外形の副走査方向の全ての位置で主走査方向の歪み補正率を用いた伸張処理を施すことを特徴とする請求項6記載の画像歪み補正装置。  The main scanning direction distortion correction means performs a decompression process using a distortion correction factor in the main scanning direction at all positions in the sub-scanning direction of the page outline, the ruled line, the character line, or the virtual page outline. The image distortion correction apparatus according to claim 6. 前記主走査方向歪み補正手段は、前記ページ外形、前記罫線、前記文字行または前記仮想ページ外形の曲線部分に対応する副走査方向の位置でのみ主走査方向の歪み補正率を用いた伸張処理を施すことを特徴とする請求項6記載の画像歪み補正装置。  The main scanning direction distortion correction means performs a decompression process using a distortion correction factor in the main scanning direction only at a position in the sub scanning direction corresponding to the curved portion of the page outline, the ruled line, the character line, or the virtual page outline. The image distortion correction apparatus according to claim 6, wherein the image distortion correction apparatus is applied. 前記主走査方向歪み補正手段は、前記ページ外形、前記罫線、前記文字行または前記仮想ページ外形の直線部分と曲線部分との境界点と、前記スキャン画像のページ綴じ部との間に対応する副走査方向の位置でのみ主走査方向の歪み補正率を用いた伸張処理を施すことを特徴とする請求項6記載の画像歪み補正装置。  The main scanning direction distortion correcting unit is configured to provide a sub-page corresponding to a boundary point between a straight line portion and a curved portion of the page outline, the ruled line, the character line, or the virtual page outline and a page binding portion of the scan image. 7. The image distortion correction apparatus according to claim 6, wherein an extension process using a distortion correction factor in the main scanning direction is performed only at a position in the scanning direction. 前記主走査方向歪み補正率算出手段と前記主走査方向歪み補正手段と前記副走査方向歪み補正率算出手段と前記副走査方向歪み補正手段とは、前記スキャン画像の左右ページ毎に独立して実行されることを特徴とする請求項1ないし9のいずれか一記載の画像歪み補正装置。  The main scanning direction distortion correction rate calculation unit, the main scanning direction distortion correction unit, the sub scanning direction distortion correction rate calculation unit, and the sub scanning direction distortion correction unit are executed independently for each left and right page of the scanned image. The image distortion correction apparatus according to claim 1, wherein the image distortion correction apparatus is used. コンタクトガラス上に載置されたブック原稿を画像読取手段により読み取ったスキャン画像の歪みを補正する画像歪み補正装置において、前記スキャン画像にページ外形が存在するか否かを判別するページ外形判別手段と、
このページ外形判別手段により前記スキャン画像に前記ページ外形が存在すると判別された場合、前記ページ外形に基づいて前記スキャン画像の歪みを補正するページ外形画像歪み補正手段と、
前記ページ外形判別手段により前記スキャン画像に前記ページ外形が存在しないと判別された場合、前記スキャン画像に存在する罫線または文字行に基づいて前記スキャン画像の歪みを補正する罫線/文字行画像歪み補正手段と、
を備えることを特徴とする画像歪み補正装置。
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:
前記ページ外形判別手段は、前記スキャン画像の画素の中でその濃度値が予め定めた濃度値よりも濃い画素の数を前記画像読取手段による画像読み取りの副走査方向に関してカウントしたカウント数に基づいて主走査方向に関してのヒストグラムを生成し、前記ヒストグラムのパターンに基づいて前記スキャン画像に前記ページ外形が存在するか否かを判別することを特徴とする請求項11記載の画像歪み補正装置。  The page outline discrimination means is based on a count number obtained by counting the number of pixels whose density value is higher than a predetermined density value among pixels of the scan image in the sub-scanning direction of image reading by the image reading means. The image distortion correction apparatus according to claim 11, wherein a histogram in the main scanning direction is generated, and whether or not the page outline exists in the scanned image is determined based on the histogram pattern. 前記スキャン画像の中で、画像の地肌濃度が副走査方向に関して最も濃い位置を綴じ部境界線としてページ綴じ部を認識することを特徴とする請求項11または12記載の画像歪み補正装置。  13. The image distortion correction apparatus according to claim 11, wherein a page binding portion is recognized using a position where the background density of the image is darkest in the sub-scanning direction as a binding portion boundary line in the scanned image. コンタクトガラス上に載置されたブック原稿を画像読取手段により読み取ったスキャン画像の歪みを当該スキャン画像から抽出された罫線の形状に基づき補正する画像歪み補正装置において、
前記スキャン画像の画素の中でその濃度値が予め定めた濃度値よりも濃い画素の数を前記画像読取手段による画像読み取りの副走査方向に関してカウントしたカウント数に基づいて主走査方向に関してのヒストグラムを生成し、前記ヒストグラムのパターンに基づいて前記スキャン画像から前記罫線の候補を抽出する罫線候補抽出手段と、
この罫線候補抽出手段により抽出された前記罫線候補上の適当な位置を開始点とし、前記開始点から前記罫線候補を左右方向へ探索して前記罫線候補が途切れている切断点の数を累積し、前記切断点の数が予め定めた閾値より少ない場合は前記罫線候補を前記罫線と判別する罫線判別手段と、
を備えることを特徴とする画像歪み補正装置。
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:
前記罫線判別手段により判別された前記罫線の中で、前記罫線の長さが予め設定した閾値より長いもののみを選択して歪み補正に供することを特徴とする請求項14記載の画像歪み補正装置。  15. The image distortion correction apparatus according to claim 14, wherein, among the ruled lines discriminated by the ruled line discriminating means, only those having a ruled line length longer than a preset threshold value are selected and used for distortion correction. . 前記罫線判別手段により判別された前記罫線の中で、前記罫線の一部が綴じ部境界線の左右の一定幅領域内にかかっているもののみを選択して歪み補正に供することを特徴とする請求項14または15記載の画像歪み補正装置。  Among the ruled lines discriminated by the ruled line discriminating means, only those having a part of the ruled lines that fall within a fixed width region on the left and right of the binding boundary line are selected and used for distortion correction. The image distortion correction apparatus according to claim 14 or 15. 左右ページから各々1本ずつの前記罫線を選択して歪み補正に供する場合は、前記罫線判別手段により判別された前記罫線の中で、上下いずれかのページ外形に最も近い前記罫線を選択して歪み補正に供することを特徴とする請求項14ないし16のいずれか一記載の画像歪み補正装置。  When selecting one ruled line from each of the left and right pages for distortion correction, select the ruled line closest to the upper or lower page outline from among the ruled lines determined by the ruled line determining means. The image distortion correction apparatus according to claim 14, wherein the image distortion correction apparatus is used for distortion correction. 左右ページを上下部分に分け、それらの各4部分について各々1本ずつの前記罫線を選択して歪み補正に供する場合は、前記罫線判別手段により判別された前記罫線の中で、左上部及び右上部においては上端のページ外形に、左下部及び右下部においては下端のページ外形に、それぞれ最も近い前記罫線を選択して歪み補正に供することを特徴とする請求項14ないし16のいずれか一記載の画像歪み補正装置。  When the left and right pages are divided into upper and lower parts, and one of the four ruled lines is selected and used for distortion correction, the upper left and upper right of the ruled lines determined by the ruled line determination means 17. The distortion correction is performed by selecting the ruled line closest to the page outline at the upper end in the part and the page outline at the lower end in the lower left part and the lower right part, respectively. Image distortion correction device. 左右ページから各々1本ずつの前記罫線を選択して歪み補正に供する場合は、前記罫線判別手段により判別された前記罫線の中で、左右ページにおいて湾曲がそれぞれ最も大きい前記罫線を選択して歪み補正に供することを特徴とする請求項14ないし16のいずれか一記載の画像歪み補正装置。  When one ruled line is selected from each of the left and right pages and used for distortion correction, the ruled line determined by the ruled line determination unit is selected and distorted by selecting the ruled line having the largest curvature on the left and right pages. The image distortion correction apparatus according to claim 14, wherein the image distortion correction apparatus is used for correction. 左右ページを上下部分に分け、それらの各4部分について各々1本ずつの前記罫線を選択して歪み補正に供する場合は、前記罫線判別手段により判別された前記罫線の中で、各部分において湾曲がそれぞれ最も大きい前記罫線を選択して歪み補正に供することを特徴とする請求項14ないし16のいずれか一記載の画像歪み補正装置。  When dividing the left and right pages into upper and lower parts and selecting one ruled line for each of these four parts for use in distortion correction, the curved line is curved at each part among the ruled lines determined by the ruled line determining means. The image distortion correction apparatus according to any one of claims 14 to 16, wherein the ruled line having the largest is selected and used for distortion correction. 前記罫線の左右両端点の主走査方向の座標値の差を湾曲の大きさとみなすことを特徴とする請求項19または20記載の画像歪み補正装置。  21. The image distortion correction apparatus according to claim 19, wherein a difference between coordinate values in the main scanning direction between the left and right end points of the ruled line is regarded as a curve size. 前記選択された前記罫線の綴じ部境界線付近を多項式曲線で近似し、多項式近似による推定曲線の形状が不適切である場合には当該罫線を排除し、他の前記罫線を選択して歪み補正に供することを特徴とする請求項14ないし21のいずれか一記載の画像歪み補正装置。  Approximate the vicinity of the binding boundary of the selected ruled line with a polynomial curve. If the shape of the estimated curve by polynomial approximation is inappropriate, exclude the ruled line and select another ruled line to correct the distortion. The image distortion correction apparatus according to claim 14, wherein the image distortion correction apparatus is used. コンタクトガラス上に載置されたブック原稿を画像読取手段により読み取ったスキャン画像の歪みを当該スキャン画像から抽出された文字行の形状に基づき補正する画像歪み補正装置において、
前記スキャン画像の画素の濃度値が予め定めた濃度値よりも濃い画素と薄い画素とが反転する回数を前記画像読取手段による画像読み取りの副走査方向に関してカウントしたカウント数に基づいて生成される主走査方向に関してのヒストグラムに関する分散値と、前記スキャン画像の画素の濃度値が予め定めた濃度値よりも濃い画素と薄い画素とが反転する回数を前記画像読取手段による画像読み取りの主走査方向に関してカウントしたカウント数に基づいて生成される副走査方向に関してのヒストグラムに関する分散値と、を比較して前記原稿が横書き文書か縦書き文書かを判別する文書判別手段を備えることを特徴とする画像歪み補正装置。
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.
前記文書判別手段により前記原稿が横書き文書であると判別された場合、前記文字行の中で、前記文字行の長さが予め設定した閾値より長いもののみを選択して歪み補正に供することを特徴とする請求項23記載の画像歪み補正装置。  When the document determining unit determines that the document is a horizontally written document, only the character line having a length longer than a predetermined threshold is selected for the distortion correction. 24. The image distortion correction apparatus according to claim 23, characterized in that: 前記文書判別手段により前記原稿が横書き文書であると判別された場合、前記文字行の中で、前記文字行の一部が綴じ部境界線の左右の一定幅領域内にかかっているもののみを選択して歪み補正に供することを特徴とする請求項23または24記載の画像歪み補正装置。  When the document determining unit determines that the document is a horizontally written document, only a part of the character line that falls within a constant width region on the left and right of the binding boundary line is included in the character line. 25. The image distortion correction apparatus according to claim 23, wherein the image distortion correction apparatus is selected and used for distortion correction. 左右ページから各々1本ずつの前記文字行を選択して歪み補正に供する場合は、前記文字行の中で、上下いずれかのページ外形に最も近い前記文字行を選択して歪み補正に供することを特徴とする請求項23ないし25のいずれか一記載の画像歪み補正装置。  When one character line is selected from each of the left and right pages for use in distortion correction, the character line closest to the top or bottom page outline is selected from among the character lines for use in distortion correction. The image distortion correction apparatus according to any one of claims 23 to 25. 左右ページを上下部分に分け、それらの各4部分について各々1本ずつの前記文字行を選択して歪み補正に供する場合は、前記文字行の中で、左上部及び右上部においては上端のページ外形に、左下部及び右下部においては下端のページ外形に、それぞれ最も近い前記文字行を選択して歪み補正に供することを特徴とする請求項23ないし25のいずれか一記載の画像歪み補正装置。  When the left and right pages are divided into upper and lower parts and one of the four character lines is selected for distortion correction, the upper left page and the upper right part of the character line The image distortion correction apparatus according to any one of claims 23 to 25, wherein the character line closest to the outer shape of the page shape at the lower left and the lower right is selected for distortion correction. . 左右ページから各々1本ずつの前記文字行を選択して歪み補正に供する場合は、前記文字行の中で、左右ページにおいて湾曲がそれぞれ最も大きい前記文字行を選択して歪み補正に供することを特徴とする請求項23ないし25のいずれか一記載の画像歪み補正装置。  When selecting one character line from each of the left and right pages to be used for distortion correction, selecting the character lines having the greatest curvature in the left and right pages from among the character lines, and using them for distortion correction The image distortion correction apparatus according to any one of claims 23 to 25, wherein 左右ページを上下部分に分け、それらの各4部分について各々1本ずつの前記文字行を選択して歪み補正に供する場合は、前記文字行の中で、各部分において湾曲がそれぞれ最も大きい前記文字行を選択して歪み補正に供することを特徴とする請求項23ないし25のいずれか一記載の画像歪み補正装置。  When the left and right pages are divided into upper and lower parts and one of the character lines is selected for each of the four parts and used for distortion correction, the character having the largest curvature in each part in the character line. 26. The image distortion correction apparatus according to claim 23, wherein a line is selected and used for distortion correction. 前記文字行に含まれるの左右両端の文字外接矩形の中心点の主走査方向の座標値の差を湾曲の大きさとみなすことを特徴とする請求項28または29記載の画像歪み補正装置。  30. The image distortion correction apparatus according to claim 28 or 29, wherein a difference in coordinate values in a main scanning direction between center points of character circumscribing rectangles on both left and right sides included in the character line is regarded as a curve size. 前記選択された前記文字行の綴じ部境界線付近を多項式曲線で近似し、多項式近似による推定曲線の形状が不適切である場合には当該文字行を排除し、他の前記文字行を選択して歪み補正に供することを特徴とする請求項23ないし30のいずれか一記載の画像歪み補正装置。  Approximate the vicinity of the binding part boundary line of the selected character line with a polynomial curve, and if the shape of the estimated curve by polynomial approximation is inappropriate, exclude the character line and select the other character line 31. The image distortion correction apparatus according to claim 23, wherein the image distortion correction apparatus is used for distortion correction. 前記文書判別手段により前記原稿が縦書き文書であると判別された場合であって、左右ページから各々1本ずつの前記文字行を選択して歪み補正に供する場合は、縦文字行の一番上もしくは一番下の各一文字を連結した外形を一つの文字行とみなして選択して歪み補正に供することを特徴とする請求項23記載の画像歪み補正装置。  When it is determined that the document is a vertically written document by the document determining means, and one character line is selected from each of the left and right pages for distortion correction, the first of the vertical character lines 24. The image distortion correction apparatus according to claim 23, wherein an outer shape obtained by connecting the upper and lowermost single characters is selected as one character line and used for distortion correction. 前記文書判別手段により前記原稿が縦書き文書であると判別された場合であって、左右ページを上下部分に分け、それらの各4部分について各々1本ずつの前記文字行を選択して歪み補正に供する場合は、左上部及び右上部においては縦文字行の一番上の各一文字を連結した外形を一つの行とみなし、左下部及び右下部においては縦文字行の一番下の各一文字を連結した外形を一つの文字行とみなして選択して歪み補正に供することを特徴とする請求項23記載の画像歪み補正装置。  When the document determination means determines that the document is a vertically written document, the left and right pages are divided into upper and lower parts, and one character line is selected for each of the four parts to correct distortion. In the upper left and upper right parts, the outer shape of each character at the top of the vertical character line is considered as one line, and at the lower left and lower right part, each character at the bottom of the vertical character line. 24. The image distortion correction apparatus according to claim 23, wherein the outline obtained by connecting the two is regarded as one character line and selected for distortion correction. 縦文字行の一番上の各一文字を連結した外形を一つの文字行とみなす場合は、連結する各文字の外接矩形の上辺の中点をその文字の座標とみなし、縦文字行の一番下の各一文字を連結した外形を一つの文字行とみなす場合は、連結する各文字の外接矩形の下辺の中点をその文字の座標とみなすことを特徴とする請求項32または33記載の画像歪み補正装置。  When the outline of each character on the top of the vertical character line connected is regarded as one character line, the middle point of the upper side of the circumscribed rectangle of each character to be connected is regarded as the coordinate of that character, and the top of the vertical character line 34. The image according to claim 32 or 33, wherein when the outer shape obtained by concatenating each lower character is regarded as one character line, the midpoint of the lower side of the circumscribed rectangle of each character to be concatenated is regarded as the coordinates of the character. Distortion correction device. 前記文字行とみなされた前記外形の中で、前記文字行の長さが予め設定した閾値より長いもののみを前記文字行として選択して歪み補正に供することを特徴とする請求項32ないし34のいずれか一記載の画像歪み補正装置。  35. The distortion is selected by selecting only the character line whose length is longer than a predetermined threshold among the outlines regarded as the character line as the character line, and performing the distortion correction. The image distortion correction apparatus according to any one of the above. 前記文字行とみなされた前記外形の中で、前記外形の一部が綴じ部境界線の左右の一定幅領域内にかかっているもののみを選択して歪み補正に供することを特徴とする請求項32ないし35のいずれか一記載の画像歪み補正装置。  The distortion is corrected by selecting only one of the outer shapes regarded as the character line and a portion of the outer shape that falls within a constant width region on the left and right of the binding boundary line. Item 36. The image distortion correction device according to any one of Items 32 to 35. 前記選択された前記文字行とみなされた前記外形の綴じ部境界線付近を多項式曲線で近似し、多項式近似による推定曲線の形状が不適切である場合には当該文字行とみなされた前記外形を排除し、他の前記外形を選択して歪み補正に供することを特徴とする請求項32ないし36のいずれか一記載の画像歪み補正装置。  The outer shape regarded as the character line when the shape of the estimated curve by polynomial approximation is approximated with a polynomial curve by approximating the vicinity of the binding portion boundary line of the outer shape regarded as the selected character line 37. The image distortion correction apparatus according to any one of claims 32 to 36, wherein the image is corrected and the other outline is selected for distortion correction. 原稿画像を読み取る画像読取手段と、
この画像読取手段により読み取られたスキャン画像の補正を行う請求項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.
コンタクトガラス上に載置されたブック原稿を画像読取手段により読み取ったスキャン  Scan that scans the book document placed on the contact glass with image reading means 画像の画像歪み補正をコンピュータに実行させるプログラムであって、前記コンピュータに、A program for causing a computer to execute image distortion correction of an image, wherein the computer
前記スキャン画像にページ外形が存在するか否かを判別するページ外形判別機能と、  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 program for causing a computer to perform image distortion correction of the scanned image based on the shape of the ruled line extracted from the scanned image obtained by reading the book document placed on the contact glass by the image reading unit,
前記スキャン画像の画素の中でその濃度値が予め定めた濃度値よりも濃い画素の数を前記画像読取手段による画像読み取りの副走査方向に関してカウントしたカウント数に基づいて主走査方向に関してのヒストグラムを生成し、前記ヒストグラムのパターンに基づいて前記スキャン画像から前記罫線の候補を抽出する罫線候補抽出機能と、  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.
コンタクトガラス上に載置されたブック原稿を画像読取手段により読み取ったスキャン画像から抽出された文字行の形状に基づく当該スキャン画像の画像歪み補正をコンピュータに実行させるプログラムであって、前記コンピュータに、  A program for causing a computer to perform image distortion correction of the scan image based on the shape of a character line extracted from a scan image obtained by reading a book document placed on a contact glass by an image reading unit,
前記スキャン画像の画素の濃度値が予め定めた濃度値よりも濃い画素と薄い画素とが反転する回数を前記画像読取手段による画像読み取りの副走査方向に関してカウントしたカウント数に基づいて生成される主走査方向に関してのヒストグラムに関する分散値と、前記スキャン画像の画素の濃度値が予め定めた濃度値よりも濃い画素と薄い画素とが反転する回数を前記画像読取手段による画像読み取りの主走査方向に関してカウントしたカウント数に基づいて生成される副走査方向に関してのヒストグラムに関する分散値と、を比較して前記原稿が横書き文書か縦書き文書かを判別する文書判別機能を実行させることを特徴とするプログラム。  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.
JP2002247643A 2001-08-27 2002-08-27 Image distortion correction apparatus, image reading apparatus, image forming apparatus, and program Expired - Fee Related JP3979639B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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