JP2002247348A - Image distortion correcting apparatus, storage medium, program, image distortion correcting method, image reader and image forming device - Google Patents

Image distortion correcting apparatus, storage medium, program, image distortion correcting method, image reader and image forming device

Info

Publication number
JP2002247348A
JP2002247348A JP2001101278A JP2001101278A JP2002247348A JP 2002247348 A JP2002247348 A JP 2002247348A JP 2001101278 A JP2001101278 A JP 2001101278A JP 2001101278 A JP2001101278 A JP 2001101278A JP 2002247348 A JP2002247348 A JP 2002247348A
Authority
JP
Japan
Prior art keywords
strip
image
strip region
amount
feature amount
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
JP2001101278A
Other languages
Japanese (ja)
Other versions
JP4480291B2 (en
Inventor
Sadafumi Araki
禎史 荒木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001101278A priority Critical patent/JP4480291B2/en
Publication of JP2002247348A publication Critical patent/JP2002247348A/en
Application granted granted Critical
Publication of JP4480291B2 publication Critical patent/JP4480291B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To correct a scanned image of bound originals even when the back of the originals is perpendicular to the direction of horizontal scanning at the time of scanning. SOLUTION: The outer rectangle containing each character is extracted from a binary image obtained by thresholding an scanned image (step S1). The amount of distortion of the scanned image is estimated by using the change in the shape of the extracted rectangle of the character and the change in the background gray level of the scanned image (steps S2-S9). The scanned image or the binary image is subject to magnification on the basis of the estimated amount of distortion (step S10). Thus, if the back of the bound original is perpendicular to the direction of horizontal scanning at the time of scanning, since the shape of the rectangle of each character changes, the scanned image of the bound originals can be corrected.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像歪み補正装
置、記憶媒体、プログラム、画像歪み補正方法、画像読
取装置および画像形成装置に関する。
The present invention relates to an image distortion correcting device, a storage medium, a program, an image distortion correcting method, an image reading device, and an image forming device.

【0002】[0002]

【従来の技術】フラッドベットスキャナを用いて読み取
る原稿の多くはシート状の原稿であり、コンタクトガラ
ス上に開閉自在の圧板を設け、コンタクトガラス上に原
稿を載置した後に圧板を閉じて原稿をスキャンするよう
にしている。しかし、原稿としてはシート状のものに限
られず、ブック原稿(本、冊子など)も原稿として扱わ
れることがあり、そのような場合にもコンタクトガラス
上にブック原稿を載置し、原稿をスキャンすることにな
る。
2. Description of the Related Art Most originals read using a floodbed scanner are sheet-like originals. An openable and closable pressure plate is provided on a contact glass, and after the original is placed on the contact glass, the pressure plate is closed to close the original. I try to scan. However, manuscripts are not limited to sheet-like ones, and book manuscripts (books, booklets, etc.) may be treated as manuscripts. In such a case, place the book manuscript on the contact glass and scan the manuscript. Will do.

【0003】ところが、原稿としてブック原稿を用いた
場合には、図21に示すように、ブック原稿100のペ
ージ綴じ部101がコンタクトガラス102から浮き上
がってしまうことから、この浮き上がった部分のスキャ
ン画像は、歪んで地肌の濃度が濃くなり、文字や罫線が
ボケてしまう。
However, when a book document is used as the document, the page binding portion 101 of the book document 100 rises from the contact glass 102 as shown in FIG. , The density of the background becomes distorted, and characters and ruled lines are blurred.

【0004】このように原稿としてブック原稿を用いた
場合におけるスキャン画像の歪みや濃度異常、ボケを補
正するための技術は、例えば特開平11-41455号公報、特
開平11-414456号公報、特開平11-414457号公報等に開示
されている。
Techniques for correcting the distortion, density abnormality, and blur of a scanned image when a book original is used as described above are disclosed in, for example, JP-A-11-41455 and JP-A-11-414456. It is disclosed in Japanese Unexamined Patent Publication No. Hei 11-414457.

【0005】特開平11-41455号公報に開示されている技
術によれば、製本原稿画像読み取り手段と、製本原稿形
状認識手段と、読み取りデータにより製本原稿の見開き
頁綴じ部領域を分離する手段と、製本原稿の形状より製
本原稿の見開き頁の綴じ部画像の歪みを補正する手段と
を有し、綴じ部領域分離手段は、製本原稿の見開き頁の
画像の中で綴じ部領域を分離する位置を検出する手段
と、この手段により綴じ部領域を分離する位置を検出す
る範囲を限定する手段とを有することにより、綴じ部歪
みを正確に補正するようにしている。
According to the technology disclosed in Japanese Patent Application Laid-Open No. 11-41455, a bookbinding document image reading unit, a bookbinding document shape recognizing unit, and a unit for separating a double-page spread binding area of a bookbinding document based on read data. Means for correcting the distortion of the binding portion image of the spread pages of the bookbinding document from the shape of the bookbinding document, and the binding portion region separating means separates the binding portion region in the image of the facing pages of the binding document. And a means for limiting a range for detecting a position at which a binding region is separated by this means, thereby accurately correcting binding portion distortion.

【0006】また、特開平11-414456号公報に開示され
ている技術によれば、製本原稿頁境界部の形状を認識
し、この頁境界部形状より見開き製本原稿形状を認識
し、この見開き製本原稿形状より見開き製本原稿綴じ部
画像の歪を補正する手段と有し、頁境界部形状認識手段
は、製本原稿の頁境界の上又は下のラインと垂直な方向
の読み取りラインの画像濃度データにおける高濃度側の
画素データと低濃度側の画素データから各ライン毎の適
応閾値を決定し、頁の読み取りデータから頁境界部の位
置を算出することにより、綴じ部歪みを正確に補正する
ようにしている。
According to the technique disclosed in Japanese Patent Application Laid-Open No. H11-414456, the shape of a bound page of a bound manuscript is recognized, the shape of a spread book is recognized based on the shape of the page boundary, and the spread book is recognized. Means for correcting the distortion of the double-bound bookbinding portion image from the document shape, and the page boundary portion shape recognizing means is provided in the image density data of the reading line in a direction perpendicular to the line above or below the page boundary of the bookbinding document. By determining an adaptive threshold value for each line from pixel data on the high density side and pixel data on the low density side, and calculating the position of the page boundary from the read data of the page, the distortion of the binding portion is accurately corrected. ing.

【0007】さらに、特開平11-414457号公報に開示さ
れている技術によれば、読み取りデータより製本原稿形
状を認識し、該製本原稿形状より製本原稿の綴じ部画像
歪みを補正する手段を有し、この手段は、検出した頁境
界部位置Aと、読み取り手段の光軸位置Akと、製本原
稿の頁平面部位置KaからMm=(Ak−A)/(Ak
−Ka)なる式で製本原稿の頁境界と直交する方向の投
影倍率Mmを算出し、この投影倍率Mmの逆数の倍率に
より読み取りデータの伸長処理を行うことにより、綴じ
部歪みを正確に補正するようにしている。
Further, according to the technique disclosed in Japanese Patent Application Laid-Open No. 11-414457, there is provided a means for recognizing the shape of a bound document from the read data and correcting the image distortion of the binding portion of the bound document based on the shape of the bound document. This unit calculates Mm = (Ak−A) / (Ak) from the detected page boundary position A, the optical axis position Ak of the reading unit, and the page plane position Ka of the bookbinding original.
By calculating the projection magnification Mm in the direction orthogonal to the page boundaries of the bound manuscript by the formula of -Ka), and performing expansion processing of the read data by the reciprocal magnification of the projection magnification Mm, the binding portion distortion is accurately corrected. Like that.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、前述し
たような特開平11-41455号公報、特開平11-414456号公
報、特開平11-414457号公報に開示されている技術は、
図22に示すように、ページ綴じ部101とスキャンの
主走査方向とが平行な場合に、スキャン画像のページの
外形の歪みを利用して補正を行うものである。すなわ
ち、図22においてdで示された歪み量を手がかりとし
て、スキャナの焦点面距離や光軸の位置の情報を基に、
ブック原稿100のページ綴じ部101の浮き上がりの
形状を推定し、歪みの補正をするという技術である。
However, the techniques disclosed in JP-A-11-41455, JP-A-11-414456, and JP-A-11-414457 described above,
As shown in FIG. 22, when the page binding unit 101 and the main scanning direction of scanning are parallel, correction is performed using distortion of the outer shape of the page of the scanned image. That is, using the distortion amount indicated by d in FIG. 22 as a clue, based on information on the focal plane distance of the scanner and the position of the optical axis,
This is a technique of estimating the rising shape of the page binding section 101 of the book document 100 and correcting the distortion.

【0009】しかしながら、このような手法によれば、
図23に示すように、ページ綴じ部101とスキャンの
主走査方向とが垂直な場合には適用できない。なぜな
ら、この場合は、図23に示すように、スキャン画像の
ページ外形は変形せず、単に、ページ綴じ部101に向
かう方向に関して画像が詰まっていく(文字が細くなっ
ていく)だけなので、図22に示したような歪み量dを
手がかりとした補正ができないためである。
However, according to such a method,
As shown in FIG. 23, this cannot be applied when the page binding unit 101 is perpendicular to the main scanning direction of scanning. Because, in this case, as shown in FIG. 23, the outer shape of the page of the scanned image is not deformed, and the image is merely clogged (characters become thinner) in the direction toward the page binding unit 101. This is because the correction based on the distortion amount d as shown in FIG. 22 cannot be performed.

【0010】本発明の目的は、ブック原稿のページ綴じ
部とスキャンの主走査方向とが垂直な場合であってもブ
ック原稿のスキャン画像を補正可能にすることである。
An object of the present invention is to make it possible to correct a scanned image of a book document even when the page binding portion of the book document is perpendicular to the main scanning direction of scanning.

【0011】[0011]

【課題を解決するための手段】請求項1記載の発明の画
像歪み補正装置は、原稿画像を読み取る画像読取手段に
より読み取られたスキャン画像から文字を切り出して各
文字の外接矩形を抽出する文字外接矩形抽出手段と、こ
の文字外接矩形抽出手段により抽出された文字外接矩形
の形状の変化と前記スキャン画像の地肌濃度の変化とを
利用して前記スキャン画像の歪み量を推定する歪み量推
定手段と、この歪み量推定手段により推定された歪み量
に基き、前記スキャン画像に対して拡大処理を施す画像
補正手段と、を備える。
According to a first aspect of the present invention, there is provided an image distortion correcting apparatus for extracting a circumscribed rectangle of each character by cutting out a character from a scan image read by an image reading means for reading an original image. A rectangle extracting means, and a distortion amount estimating means for estimating a distortion amount of the scanned image using a change in the shape of the character circumscribed rectangle extracted by the character circumscribed rectangle extracting means and a change in the background density of the scanned image. Image correcting means for performing an enlargement process on the scanned image based on the distortion amount estimated by the distortion amount estimating means.

【0012】したがって、画像読取手段により読み取ら
れたスキャン画像から文字の外接矩形が抽出され、この
文字外接矩形の形状の変化に基づいてスキャン画像の歪
みが補正される。これにより、ブック原稿のページ綴じ
部とスキャンの主走査方向とが垂直な場合であっても、
文字外接矩形の形状には変化が現われることから、ブッ
ク原稿のスキャン画像の補正が可能となる。
Therefore, a circumscribed rectangle of a character is extracted from the scanned image read by the image reading means, and distortion of the scanned image is corrected based on a change in the shape of the circumscribed rectangle of the character. Thereby, even when the page binding portion of the book document is perpendicular to the main scanning direction of the scan,
Since a change appears in the shape of the character circumscribed rectangle, the scan image of the book document can be corrected.

【0013】請求項2記載の発明は、請求項1記載の画
像歪み補正装置において、前記歪み量推定手段は、前記
スキャン画像を前記画像読取手段での読み取りの主走査
方向に垂直な方向を長辺とする短冊状の複数の領域に分
割し、各短冊領域内に中心を有する前記文字外接矩形の
集合に関する統計的特徴量に基づいて前記スキャン画像
の歪み量を推定する。
According to a second aspect of the present invention, in the image distortion correcting apparatus of the first aspect, the distortion amount estimating means extends the scan image in a direction perpendicular to a main scanning direction of reading by the image reading means. The scan image is divided into a plurality of strip-shaped areas serving as sides, and the distortion amount of the scan image is estimated based on a statistical feature quantity relating to a set of the character circumscribed rectangles having a center in each strip area.

【0014】したがって、文字外接矩形の形状の変化を
確実に捉えることが可能になる。
Therefore, it is possible to reliably detect a change in the shape of the character circumscribed rectangle.

【0015】請求項3記載の発明は、請求項2記載の画
像歪み補正装置において、前記統計的特徴量は、 特徴量=文字外接矩形の横辺の長さ/文字外接矩形の縦
辺の長さ なる式に基づいて求められる。
According to a third aspect of the present invention, in the image distortion correction apparatus according to the second aspect, the statistical feature amount is: feature amount = length of a horizontal side of a character circumscribed rectangle / length of a vertical side of a character circumscribed rectangle. It is determined based on the following equation.

【0016】したがって、文字外接矩形の形状の変化を
容易に捉えることが可能になる。
Therefore, it is possible to easily catch the change in the shape of the character circumscribed rectangle.

【0017】請求項4記載の発明は、請求項3記載の画
像歪み補正装置において、前記短冊領域内に中心を有す
る前記各文字外接矩形の前記各特徴量の平均値を当該短
冊領域における前記統計的特徴量とみなす。
According to a fourth aspect of the present invention, in the image distortion correcting apparatus according to the third aspect, an average value of the respective characteristic amounts of each of the character circumscribed rectangles having a center in the strip area is calculated by using the statistical value in the strip area. It is regarded as a characteristic feature.

【0018】したがって、文字外接矩形の形状の変化を
より正確に捉えることが可能になる。
Therefore, it is possible to more accurately grasp the change in the shape of the character circumscribed rectangle.

【0019】請求項5記載の発明は、請求項4記載の画
像歪み補正装置において、前記短冊領域内の前記統計的
特徴量を求める際、前記文字外接矩形の縦辺の長さが予
め定めた値より小さい場合はこれを予め排除する。
According to a fifth aspect of the present invention, in the image distortion correcting apparatus according to the fourth aspect, the length of the vertical side of the character circumscribed rectangle is predetermined when the statistical feature in the strip region is obtained. If it is smaller than the value, it is excluded in advance.

【0020】したがって、句読点や数式中の記号のよう
にそのサイズが元々小さい文字についての特徴量を排除
することが可能になる。
Therefore, it is possible to eliminate a characteristic amount of a character whose size is originally small, such as a punctuation mark or a symbol in a mathematical expression.

【0021】請求項6記載の発明は、請求項4または5
記載の画像歪み補正装置において、前記短冊領域内の前
記統計的特徴量を求める際、前記文字外接矩形の前記特
徴量が予め定めた値より大きい場合はこれを予め排除す
る。
The invention according to claim 6 is the invention according to claim 4 or 5.
In the image distortion correction apparatus described above, when the feature amount of the character circumscribed rectangle is larger than a predetermined value, the statistical feature amount in the strip region is excluded in advance.

【0022】したがって、例えば矩形抽出の際に隣接す
る文字同士がくっついて抽出された場合のように極端に
文字外接矩形の横辺の長さが長い文字外接矩形について
の特徴量を排除することが可能になる。
Therefore, for example, it is possible to eliminate a feature amount of a character circumscribed rectangle having a very long lateral side of a character circumscribed rectangle, such as a case where adjacent characters are stuck together at the time of rectangle extraction. Will be possible.

【0023】請求項7記載の発明は、請求項2ないし6
の何れか一記載の画像歪み補正装置において、前記各短
冊領域の地肌濃度を測定し、その地肌濃度が最も濃い前
記短冊領域をブック原稿のページ綴じ部を含む前記短冊
領域であるとみなす。
The invention according to claim 7 is the invention according to claims 2 to 6
In the image distortion correction device according to any one of the above, the background density of each of the strip regions is measured, and the strip region having the highest background density is regarded as the strip region including the page binding portion of the book document.

【0024】したがって、地肌の濃度変化を利用してブ
ック原稿のページ綴じ部を含む短冊領域が求められるこ
とにより、ページ綴じ部付近の画像の歪み量をより適切
に推定することが可能になる。
Accordingly, the strip area including the page binding portion of the book document is obtained by using the density change of the background, so that the distortion amount of the image near the page binding portion can be more appropriately estimated.

【0025】請求項8記載の発明は、請求項7記載の画
像歪み補正装置において、前記ページ綴じ部を含む前記
短冊領域に前記統計的特徴量の算出対象となり得る前記
文字外接矩形が存在する場合は、当該文字外接矩形を利
用して前記ページ綴じ部を含む前記短冊領域の特徴量を
算出し、前記ページ綴じ部を含む前記短冊領域に前記統
計的特徴量の算出対象となり得る前記文字外接矩形が存
在しない場合は、前記統計的特徴量の算出対象となり得
る前記文字外接矩形が存在し、かつ、前記ページ綴じ部
を含む前記短冊領域の最近傍に位置する前記短冊領域の
前記特徴量に予め定めた定数値を乗じた値を前記ページ
綴じ部を含む前記短冊領域における前記統計的特徴量と
みなす。
According to an eighth aspect of the present invention, there is provided the image distortion correcting apparatus according to the seventh aspect, wherein the character circumscribed rectangle which can be a calculation target of the statistical feature amount exists in the strip region including the page binding portion. Calculating the feature value of the strip region including the page binding portion using the character circumscribed rectangle, and calculating the statistical feature value in the strip region including the page binding portion. Does not exist, the character circumscribed rectangle that can be a target of calculation of the statistical feature amount exists, and the feature amount of the strip region located closest to the strip region including the page binding portion is determined in advance. A value multiplied by the determined constant value is regarded as the statistical feature amount in the strip region including the page binding section.

【0026】したがって、ページ綴じ部を含む短冊領域
に文字外接矩形が存在しない場合であっても、ページ綴
じ部を含む短冊領域の統計的特徴量の算出が可能にな
る。
Therefore, even if there is no character circumscribed rectangle in the strip area including the page binding section, the statistical feature amount of the strip area including the page binding section can be calculated.

【0027】請求項9記載の発明は、請求項8記載の画
像歪み補正装置において、前記短冊領域の位置の変化方
向に関する移動平均を求め、この移動平均に基づいて前
記特徴量の変化に対するフィルタリング処理を施す。
According to a ninth aspect of the present invention, in the image distortion correction apparatus according to the eighth aspect, a moving average in a direction in which the position of the strip region changes is obtained, and a filtering process for the change in the characteristic amount is performed based on the moving average. Is applied.

【0028】したがって、短冊領域の位置の変化に対す
る(主走査方向の)特徴量の変化をなだらかにすること
が可能になる。
Therefore, it is possible to make the change in the characteristic amount (in the main scanning direction) gentle with the change in the position of the strip region.

【0029】請求項10記載の発明は、請求項9記載の
画像歪み補正装置において、前記フィルタリング処理を
施す際に、フィルタのウィンドウが前記ページ綴じ部を
含む前記短冊領域の両側に位置する前記短冊領域に跨が
らないように前記ページ綴じ部付近ではウィンドウ長を
調整する。
According to a tenth aspect of the present invention, in the image distortion correcting apparatus according to the ninth aspect, when performing the filtering process, the window of the filter is positioned on both sides of the strip region including the page binding portion. The window length is adjusted in the vicinity of the page binding section so as not to straddle the area.

【0030】したがって、ページ綴じ部付近の特徴量の
変化を適切に表現可能になるので、良好な画像補正を実
現することが可能になる。
Therefore, a change in the characteristic amount in the vicinity of the page binding portion can be appropriately expressed, so that good image correction can be realized.

【0031】請求項11記載の発明は、請求項2ないし
10の何れか一記載の画像歪み補正装置において、前記
歪み量推定手段は、前記短冊領域の歪み量を算出する基
準となる前記短冊領域を定め、その基準短冊領域の前記
特徴量を前記スキャン画像全体の基準特徴量とし、前記
各短冊領域の前記推定歪み量を、推定歪み量=各短冊領
域の特徴量/基準特徴量なる式に基づいて求める。
According to an eleventh aspect of the present invention, in the image distortion correcting apparatus according to any one of the second to tenth aspects, the distortion amount estimating means is configured to calculate the distortion amount of the rectangular region. And the feature amount of the reference strip region is set as a reference feature amount of the entire scan image, and the estimated distortion amount of each strip region is calculated by the following equation: estimated distortion amount = feature amount of each strip region / reference feature amount. Ask based on.

【0032】したがって、推定歪み量を容易に算出する
ことが可能になる。
Therefore, it is possible to easily calculate the estimated distortion amount.

【0033】請求項12記載の発明は、請求項11記載
の画像歪み補正装置において、全ての前記短冊領域の前
記特徴量の中で最も値の大きな前記特徴量を前記基準特
徴量とする。
According to a twelfth aspect of the present invention, in the image distortion correcting apparatus according to the eleventh aspect, the feature value having the largest value among the feature values of all the strip regions is set as the reference feature value.

【0034】したがって、推定歪み量を正確に算出する
ことが可能になる。
Therefore, it is possible to accurately calculate the estimated distortion amount.

【0035】請求項13記載の発明は、請求項1ないし
12の何れか一記載の画像歪み補正装置において、前記
画像補正手段は、前記各短冊領域に関して前記推定歪み
量の逆数を補正拡大率として前記短冊領域の短辺方向に
拡大処理を施す。
According to a thirteenth aspect of the present invention, in the image distortion correcting apparatus according to any one of the first to twelfth aspects, the image correcting means sets a reciprocal of the estimated distortion amount as a correction magnification for each of the strip regions. Enlargement processing is performed in the short side direction of the strip region.

【0036】したがって、ブック原稿のスキャン画像を
容易に補正することが可能になる。
Therefore, it is possible to easily correct the scanned image of the book document.

【0037】請求項14記載の発明は、請求項13記載
の画像歪み補正装置において、前記各短冊領域の境界部
分における前記補正拡大率が連続的に変化するように、
前記各短冊領域の境界部分における前記補正拡大率を予
め補正する。
According to a fourteenth aspect of the present invention, in the image distortion correcting apparatus according to the thirteenth aspect, the correction enlargement ratio at the boundary between the strip regions continuously changes.
The correction magnification at the boundary between the strip regions is corrected in advance.

【0038】したがって、自然な補正画像を得ることが
可能になる。
Therefore, a natural corrected image can be obtained.

【0039】請求項15記載の発明は、請求項11ない
し14の何れか一記載の画像歪み補正装置において、地
肌濃度が予め定めた濃度よりも薄い前記短冊領域に関
し、前記推定歪み量を“1”とする。
According to a fifteenth aspect of the present invention, in the image distortion correction apparatus according to any one of the eleventh to fourteenth aspects, the estimated distortion amount is set to “1” for the strip region where the background density is lower than a predetermined density. ".

【0040】したがって、ページ綴じ部付近から離れた
短冊領域はもともと画像の歪みが無い領域である可能性
が高いことから、このようなページ綴じ部付近から離れ
た短冊領域の画像を補正の対象外とすることが可能にな
り、不自然な画質劣化を防ぐことが可能になる。
Therefore, since the strip region distant from the vicinity of the page binding portion is originally likely to be a region without image distortion, the image of the strip region distant from the vicinity of the page binding portion is excluded from the correction target. And it is possible to prevent unnatural image quality deterioration.

【0041】請求項16記載の発明は、請求項11ない
し14の何れか一記載の画像歪み補正装置において、地
肌濃度が予め定めた濃度よりも濃い前記短冊領域のみか
ら前記基準短冊領域を求める。
According to a sixteenth aspect of the present invention, in the image distortion correction apparatus according to any one of the eleventh to fourteenth aspects, the reference strip area is obtained only from the strip area whose background density is higher than a predetermined density.

【0042】したがって、基準短冊領域の探索範囲を予
めページ綴じ部付近に限定しておくことが可能になり、
推定歪み量をより正確に算出することが可能になる。
Therefore, the search range of the reference strip region can be limited in advance to the vicinity of the page binding portion.
It is possible to more accurately calculate the estimated distortion amount.

【0043】請求項17記載の発明は、請求項11ない
し16の何れか一記載の画像歪み補正装置において、前
記基準短冊領域を前記ブック原稿の左右のページに関し
てそれぞれ独立に求め、前記推定歪み量の算出も前記ブ
ック原稿の左右のページでそれぞれ独立に行う。
According to a seventeenth aspect of the present invention, in the image distortion correcting apparatus according to any one of the eleventh to sixteenth aspects, the reference strip region is obtained independently for each of left and right pages of the book document, and the estimated distortion amount is calculated. Is also calculated independently for the left and right pages of the book document.

【0044】したがって、推定歪み量をより正確に算出
することが可能になる。
Therefore, it is possible to more accurately calculate the estimated distortion amount.

【0045】請求項18記載の発明は、請求項8記載の
画像歪み補正装置において、前記統計的特徴量の算出対
象となり得る前記文字外接矩形が存在し、かつ、前記ペ
ージ綴じ部を含む前記短冊領域の最近傍に位置する前記
短冊領域の前記特徴量に予め定めた定数値を乗じた値を
前記ページ綴じ部を含む前記短冊領域における前記統計
的特徴量とみなす処理について、前記ブック原稿の左右
のページに関してそれぞれ独立に行い、前記ブック原稿
の左ページ側の前記特徴量と前記ブック原稿の右ページ
側の前記特徴量とを前記ページ綴じ部を含む前記短冊領
域にそれぞれ対応づける。
According to an eighteenth aspect of the present invention, in the image distortion correcting apparatus according to the eighth aspect, the strip including the character circumscribed rectangle that can be a target of calculation of the statistical feature amount and including the page binding portion is provided. Regarding a process in which a value obtained by multiplying the feature amount of the strip region located nearest to the region by a predetermined constant value is regarded as the statistical feature amount in the strip region including the page binding unit, Are performed independently for each page, and the feature amount on the left page side of the book document and the feature value on the right page side of the book document are respectively associated with the strip region including the page binding portion.

【0046】したがって、書籍の表紙や裏表紙に近いペ
ージを開いたときのようにブック原稿のページ綴じ部の
左右でページの歪み方が大きく異なるために、ページ綴
じ部の左右での文字外接矩形の歪み量の差が大きくなる
場合であっても、それぞれ独立に歪み量の推定処理を行
うことで、より良好な補正結果を得ることが可能にな
る。
Therefore, since the page distortion is greatly different between the left and right sides of the page binding portion of the book original, such as when a page close to the front or back cover of the book is opened, the character circumscribed rectangles on the left and right sides of the page binding portion are different. Even when the difference between the distortion amounts becomes large, it is possible to obtain a better correction result by independently performing the distortion amount estimation processing.

【0047】請求項19記載の発明は、請求項18記載
の画像歪み補正装置において、前記ページ綴じ部を含む
前記短冊領域に前記統計的特徴量の算出対象となり得る
前記文字外接矩形が存在する場合は、当該文字外接矩形
を利用して前記ページ綴じ部を含む前記短冊領域の前記
特徴量を算出し、前記ページ綴じ部を含む前記短冊領域
に前記統計的特徴量の算出対象となり得る前記文字外接
矩形が存在しない場合は、前記ブック原稿の左ページ側
の前記特徴量と前記ブック原稿の右ページ側の前記特徴
量の平均値を前記ページ綴じ部を含む前記短冊領域にお
ける前記統計的特徴量とみなす。
According to a nineteenth aspect of the present invention, in the image distortion correcting apparatus according to the eighteenth aspect, the character circumscribed rectangle that can be a calculation target of the statistical feature is present in the strip region including the page binding portion. Calculating the feature amount of the strip region including the page binding portion using the character circumscribed rectangle, and calculating the statistical circumscription of the character region in the strip region including the page binding portion. If there is no rectangle, the statistical feature amount in the strip region including the page binding unit is the average value of the feature amount on the left page side of the book document and the feature amount on the right page side of the book document. I reckon.

【0048】したがって、ページ綴じ部を含む短冊領域
に文字外接矩形が存在しない場合であっても、ページ綴
じ部を含む短冊領域の統計的特徴量の算出が可能にな
る。
Therefore, even if there is no character circumscribed rectangle in the strip area including the page binding section, the statistical feature amount of the strip area including the page binding section can be calculated.

【0049】請求項20記載の発明は、請求項18記載
の画像歪み補正装置において、前記ページ綴じ部を含む
前記短冊領域に前記統計的特徴量の算出対象となり得る
前記文字外接矩形が存在する場合は、当該文字外接矩形
を利用して前記ページ綴じ部を含む前記短冊領域の前記
特徴量を算出し、前記ページ綴じ部を含む前記短冊領域
に前記統計的特徴量の算出対象となり得る前記文字外接
矩形が存在しない場合は、前記ページ綴じ部を含む前記
短冊領域における前記統計的特徴量は未定とする。
According to a twentieth aspect of the present invention, in the image distortion correcting apparatus according to the eighteenth aspect, the character circumscribed rectangle which can be a calculation target of the statistical feature amount exists in the strip region including the page binding portion. Calculating the feature amount of the strip region including the page binding portion using the character circumscribed rectangle, and calculating the statistical circumscription of the character region in the strip region including the page binding portion. If there is no rectangle, the statistical feature amount in the strip region including the page binding portion is undecided.

【0050】したがって、ページ綴じ部を含む短冊領域
に文字外接矩形が存在しない場合には、ページ綴じ部を
含む短冊領域の統計的特徴量の算出が回避される。
Therefore, when there is no character circumscribed rectangle in the strip area including the page binding section, the calculation of the statistical feature amount of the strip area including the page binding section is avoided.

【0051】請求項21記載の発明は、請求項20記載
の画像歪み補正装置において、前記ページ綴じ部を含む
前記短冊領域における前記統計的特徴量が未定の場合、
前記推定歪み量を“1”とする。
According to a twenty-first aspect of the present invention, in the image distortion correcting apparatus according to the twentieth aspect, when the statistical feature amount in the strip region including the page binding portion is undecided,
The estimated distortion amount is “1”.

【0052】したがって、ページ綴じ部を含む短冊領域
に文字外接矩形が存在しないために、ページ綴じ部を含
む短冊領域の統計的特徴量の算出が回避されており、こ
の領域はもともと画像の歪みが無い領域である可能性が
高いことから、文字外接矩形が存在しないページ綴じ部
を含む短冊領域の画像を補正の対象外とすることが可能
になる。
Therefore, since there is no character circumscribed rectangle in the strip region including the page binding portion, the calculation of the statistical feature of the strip region including the page binding portion is avoided. Since there is a high possibility that the region is absent, it is possible to exclude the image of the strip region including the page binding portion having no character circumscribed rectangle from the correction target.

【0053】請求項22記載の発明は、請求項18ない
し21の何れか一記載の画像歪み補正装置において、前
記フィルタリング処理を施す際に、前記ブック原稿の左
ページのフィルタリングには左ページ用の前記特徴量を
用い、前記ブック原稿の右ページのフィルタリングには
右ページ用の前記特徴量を用いる。
According to a twenty-second aspect of the present invention, in the image distortion correction apparatus according to any one of the eighteenth to twenty-first aspects, when performing the filtering process, the left page of the book document is filtered for the left page. The feature value is used, and the right page feature value is used for filtering the right page of the book document.

【0054】したがって、書籍の表紙や裏表紙に近いペ
ージを開いたときのようにブック原稿のページ綴じ部の
左右でページの歪み方が大きく異なるために、ページ綴
じ部の左右での文字外接矩形の歪み量の差が大きくなる
場合であっても、それぞれ独立に歪み量の推定処理を行
うことで、より良好な補正結果を得ることが可能にな
る。
Therefore, since the page distortion is greatly different between the left and right sides of the page binding portion of the book original, such as when a page close to the front cover or back cover of the book is opened, the character circumscribed rectangles on the left and right sides of the page binding portion. Even when the difference between the distortion amounts becomes large, it is possible to obtain a better correction result by independently performing the distortion amount estimation processing.

【0055】請求項23記載の発明の記憶媒体は、原稿
画像を読み取る画像読取手段により読み取られたスキャ
ン画像の画像歪み補正をコンピュータに実行させるプロ
グラムを格納するコンピュータに読み取り可能な記憶媒
体であって、前記コンピュータに、前記画像読取手段に
より読み取られたスキャン画像から文字を切り出して各
文字の外接矩形を抽出する文字外接矩形抽出機能と、こ
の文字外接矩形抽出機能により抽出された文字外接矩形
の形状の変化と前記スキャン画像の地肌濃度の変化とを
利用して前記スキャン画像の歪み量を推定する歪み量推
定機能と、この歪み量推定機能により推定された歪み量
に基き、前記スキャン画像に対して拡大処理を施す画像
補正機能と、を実行させるプログラムを格納する。
A storage medium according to a twenty-third aspect of the present invention is a storage medium readable by a computer for storing a program for causing a computer to execute image distortion correction of a scan image read by an image reading means for reading a document image. The computer has a character circumscribing rectangle extracting function of extracting characters from the scanned image read by the image reading means and extracting a circumscribing rectangle of each character, and a shape of the character circumscribing rectangle extracted by the character circumscribing rectangle extracting function. And a distortion amount estimating function for estimating the distortion amount of the scanned image using the change in the background density of the scanned image and the distortion amount estimated by the distortion amount estimating function. And a program for executing an image correction function of performing an enlargement process.

【0056】したがって、画像読取手段により読み取ら
れたスキャン画像から文字の外接矩形が抽出され、この
文字外接矩形の形状の変化に基づいてスキャン画像の歪
みが補正される。これにより、ブック原稿のページ綴じ
部とスキャンの主走査方向とが垂直な場合であっても、
文字外接矩形の形状には変化が現われることから、ブッ
ク原稿のスキャン画像の補正が可能となる。
Therefore, the circumscribed rectangle of the character is extracted from the scanned image read by the image reading means, and the distortion of the scanned image is corrected based on the change in the shape of the circumscribed rectangle of the character. Thereby, even when the page binding portion of the book document is perpendicular to the main scanning direction of the scan,
Since a change appears in the shape of the character circumscribed rectangle, the scan image of the book document can be corrected.

【0057】請求項24記載の発明は、請求項23記載
の記憶媒体において、前記スキャン画像を前記画像読取
手段での読み取りの主走査方向に垂直な方向を長辺とす
る短冊状の複数の領域に分割し、各短冊領域内に中心を
有する前記文字外接矩形の集合に関する統計的特徴量に
基づいて前記スキャン画像の歪み量を推定する前記歪み
量推定機能を実行させるプログラムを格納する。
According to a twenty-fourth aspect of the present invention, in the storage medium according to the twenty-third aspect, a plurality of strip-shaped areas having a long side in a direction perpendicular to a main scanning direction of reading the scanned image by the image reading means. And stores a program for executing the distortion amount estimating function of estimating the distortion amount of the scan image based on the statistical feature amount relating to the set of the character circumscribed rectangles having a center in each strip region.

【0058】したがって、文字外接矩形の形状の変化を
確実に捉えることが可能になる。
Therefore, a change in the shape of the character circumscribed rectangle can be reliably detected.

【0059】請求項25記載の発明は、請求項24記載
の記憶媒体において、前記統計的特徴量を、特徴量=文
字外接矩形の横辺の長さ/文字外接矩形の縦辺の長さな
る式に基づいて求めるプログラムを格納する。
According to a twenty-fifth aspect of the present invention, in the storage medium according to the twenty-fourth aspect, the statistical feature amount is defined as: feature amount = length of horizontal side of character circumscribed rectangle / length of vertical side of character circumscribed rectangle. Stores the program obtained based on the formula.

【0060】したがって、文字外接矩形の形状の変化を
容易に捉えることが可能になる。
Therefore, a change in the shape of the character circumscribed rectangle can be easily grasped.

【0061】請求項26記載の発明は、請求項25記載
の記憶媒体において、前記短冊領域内に中心を有する前
記各文字外接矩形の前記各特徴量の平均値を当該短冊領
域における前記統計的特徴量とみなすプログラムを格納
する。
According to a twenty-sixth aspect of the present invention, in the storage medium according to the twenty-fifth aspect, an average value of the feature amounts of the respective character circumscribed rectangles having a center in the strip region is calculated by using the statistical feature in the strip region. Stores programs that are considered as quantities.

【0062】したがって、文字外接矩形の形状の変化を
より正確に捉えることが可能になる。
Therefore, it is possible to more accurately catch the change in the shape of the character circumscribed rectangle.

【0063】請求項27記載の発明は、請求項26記載
の記憶媒体において、前記短冊領域内の前記統計的特徴
量を求める際、前記文字外接矩形の縦辺の長さが予め定
めた値より小さい場合はこれを予め排除するプログラム
を格納する。
According to a twenty-seventh aspect of the present invention, in the storage medium according to the twenty-sixth aspect, the length of the vertical side of the character circumscribed rectangle is set to a predetermined value when obtaining the statistical feature in the strip region. If it is smaller, a program for eliminating this in advance is stored.

【0064】したがって、句読点や数式中の記号のよう
にそのサイズが元々小さい文字についての特徴量を排除
することが可能になる。
Therefore, it is possible to eliminate a feature amount of a character whose size is originally small, such as a punctuation mark or a symbol in a mathematical expression.

【0065】請求項28記載の発明は、請求項26また
は27記載の記憶媒体において、前記短冊領域内の前記
統計的特徴量を求める際、前記文字外接矩形の前記特徴
量が予め定めた値より大きい場合はこれを予め排除する
プログラムを格納する。
According to a twenty-eighth aspect of the present invention, in the storage medium according to the twenty-sixth aspect or the twenty-seventh aspect, when the statistical feature quantity in the strip area is obtained, the feature quantity of the character circumscribed rectangle is larger than a predetermined value. If it is larger, a program for eliminating this in advance is stored.

【0066】したがって、例えば矩形抽出の際に隣接す
る文字同士がくっついて抽出された場合のように極端に
文字外接矩形の横辺の長さが長い文字外接矩形について
の特徴量を排除することが可能になる。
Therefore, for example, it is possible to exclude a feature amount of a character circumscribed rectangle having a very long side of the character circumscribed rectangle, such as a case where adjacent characters are attached to each other at the time of rectangle extraction. Will be possible.

【0067】請求項29記載の発明は、請求項24ない
し28の何れか一記載の記憶媒体において、前記各短冊
領域の地肌濃度を測定し、その地肌濃度が最も濃い前記
短冊領域をブック原稿のページ綴じ部を含む前記短冊領
域であるとみなすプログラムを格納する。
According to a twenty-ninth aspect of the present invention, in the storage medium according to any one of the twenty-fourth to twenty-eighth aspects, the background density of each of the strip areas is measured, and the strip area having the highest background density is determined based on the book document. A program that is regarded as the strip area including a page binding section is stored.

【0068】したがって、地肌の濃度変化を利用してブ
ック原稿のページ綴じ部を含む短冊領域が求められるこ
とにより、ページ綴じ部付近の画像の歪み量をより適切
に推定することが可能になる。
Accordingly, the strip area including the page binding portion of the book document is obtained by using the density change of the background, so that the distortion amount of the image near the page binding portion can be more appropriately estimated.

【0069】請求項30記載の発明は、請求項29記載
の記憶媒体において、前記ページ綴じ部を含む前記短冊
領域に前記統計的特徴量の算出対象となり得る前記文字
外接矩形が存在する場合は、当該文字外接矩形を利用し
て前記ページ綴じ部を含む前記短冊領域の特徴量を算出
し、前記ページ綴じ部を含む前記短冊領域に前記統計的
特徴量の算出対象となり得る前記文字外接矩形が存在し
ない場合は、前記統計的特徴量の算出対象となり得る前
記文字外接矩形が存在し、かつ、前記ページ綴じ部を含
む前記短冊領域の最近傍に位置する前記短冊領域の前記
特徴量に予め定めた定数値を乗じた値を前記ページ綴じ
部を含む前記短冊領域における前記統計的特徴量とみな
すプログラムを格納する。
According to a thirtieth aspect of the present invention, in the storage medium according to the twenty-ninth aspect, when the character circumscribed rectangle which can be a target of calculation of the statistical feature amount exists in the strip region including the page binding portion, The feature amount of the strip region including the page binding portion is calculated using the character circumscribed rectangle, and the character circumscribed rectangle that can be the calculation target of the statistical feature amount exists in the strip region including the page binding portion. If not, the character circumscribed rectangle that can be a target of calculation of the statistical feature amount exists, and the feature amount of the strip region located closest to the strip region including the page binding portion is determined in advance. A program for storing a value obtained by multiplying a value multiplied by a constant value as the statistical feature amount in the strip region including the page binding portion is stored.

【0070】したがって、ページ綴じ部を含む短冊領域
に文字外接矩形が存在しない場合であっても、ページ綴
じ部を含む短冊領域の統計的特徴量の算出が可能にな
る。
Therefore, even if there is no character circumscribed rectangle in the strip area including the page binding section, the statistical feature amount of the strip area including the page binding section can be calculated.

【0071】請求項31記載の発明は、請求項30記載
の記憶媒体において、前記短冊領域の位置の変化方向に
関する移動平均を求め、この移動平均に基づいて前記特
徴量の変化に対するフィルタリング処理を施すプログラ
ムを格納する。
According to a thirty-first aspect of the present invention, in the storage medium according to the thirty-third aspect, a moving average in a direction in which the position of the strip region changes is obtained, and a filtering process is performed on the change in the characteristic amount based on the moving average. Store the program.

【0072】したがって、短冊領域の位置の変化に対す
る(主走査方向の)特徴量の変化をなだらかにすること
が可能になる。
Therefore, it is possible to make the change of the characteristic amount (in the main scanning direction) with respect to the change of the position of the strip region gentle.

【0073】請求項32記載の発明は、請求項31記載
の記憶媒体において、前記フィルタリング処理を施す際
に、フィルタのウィンドウが前記ページ綴じ部を含む前
記短冊領域の両側に位置する前記短冊領域に跨がらない
ように前記ページ綴じ部付近ではウィンドウ長を調整す
るプログラムを格納する。
According to a thirty-second aspect of the present invention, in the storage medium according to the thirty-first aspect, when the filtering process is performed, a window of a filter is provided in the strip region located on both sides of the strip region including the page binding portion. A program for adjusting the window length is stored in the vicinity of the page binding section so as not to be straddled.

【0074】したがって、ページ綴じ部付近の特徴量の
変化を適切に表現可能になるので、良好な画像補正を実
現することが可能になる。
Therefore, it is possible to appropriately express the change in the characteristic amount near the page binding portion, and it is possible to realize good image correction.

【0075】請求項33記載の発明は、請求項24ない
し32の何れか一記載の記憶媒体において、前記短冊領
域の歪み量を算出する基準となる前記短冊領域を定め、
その基準短冊領域の前記特徴量を前記スキャン画像全体
の基準特徴量とし、前記各短冊領域の前記推定歪み量
を、 推定歪み量=各短冊領域の特徴量/基準特徴量 なる式に基づいて求める前記歪み量推定機能を実行させ
るプログラムを格納する。
According to a thirty-third aspect of the present invention, in the storage medium according to any one of the twenty-fourth to thirty-second aspects, the strip area serving as a reference for calculating a distortion amount of the strip area is defined,
The feature amount of the reference strip region is used as a reference feature amount of the entire scanned image, and the estimated distortion amount of each strip region is obtained based on the following equation: Estimated distortion amount = feature amount of each strip region / reference feature amount. A program for executing the distortion amount estimation function is stored.

【0076】したがって、推定歪み量を容易に算出する
ことが可能になる。
Therefore, it is possible to easily calculate the estimated distortion amount.

【0077】請求項34記載の発明は、請求項33記載
の記憶媒体において、全ての前記短冊領域の前記特徴量
の中で最も値の大きな前記特徴量を前記基準特徴量とす
るプログラムを格納する。
According to a thirty-fourth aspect of the present invention, in the storage medium according to the thirty-third aspect, a program is stored in which the feature amount having the largest value among the feature amounts of all the strip regions is set as the reference feature amount. .

【0078】したがって、推定歪み量を正確に算出する
ことが可能になる。
Therefore, it is possible to accurately calculate the estimated distortion amount.

【0079】請求項35記載の発明は、請求項23ない
し34の何れか一記載の記憶媒体において、前記各短冊
領域に関して前記推定歪み量の逆数を補正拡大率として
前記短冊領域の短辺方向に拡大処理を施す前記画像補正
機能を実行させるプログラムを格納する。
According to a thirty-fifth aspect of the present invention, in the storage medium according to any one of the twenty-third to thirty-fourth aspects, a reciprocal of the estimated distortion amount for each of the strip regions is used as a correction enlargement factor in a short side direction of the strip region. A program for executing the image correction function for performing enlargement processing is stored.

【0080】したがって、ブック原稿のスキャン画像を
容易に補正することが可能になる。
Therefore, it is possible to easily correct the scanned image of the book document.

【0081】請求項36記載の発明は、請求項35記載
の記憶媒体において、前記各短冊領域の境界部分におけ
る前記補正拡大率が連続的に変化するように、前記各短
冊領域の境界部分における前記補正拡大率を予め補正す
るプログラムを格納する。
According to a thirty-sixth aspect of the present invention, in the storage medium according to the thirty-fifth aspect, the correction magnification at the boundary portion of each of the strip regions changes continuously so that the correction magnification at the boundary portion of each of the strip regions changes continuously. A program for correcting the correction magnification in advance is stored.

【0082】したがって、自然な補正画像を得ることが
可能になる。
Therefore, a natural corrected image can be obtained.

【0083】請求項37記載の発明は、請求項33ない
し36の何れか一記載の記憶媒体において、地肌濃度が
予め定めた濃度よりも薄い前記短冊領域に関し、前記推
定歪み量を“1”とするプログラムを格納する。
According to a thirty-seventh aspect of the present invention, in the storage medium according to any one of the thirty-third to thirty-sixth aspects, the estimated distortion amount is set to “1” for the strip region having a background density lower than a predetermined density. Store the program to be executed.

【0084】したがって、ページ綴じ部付近から離れた
短冊領域はもともと画像の歪みが無い領域である可能性
が高いことから、このようなページ綴じ部付近から離れ
た短冊領域の画像を補正の対象外とすることが可能にな
り、不自然な画質劣化を防ぐことが可能になる。
Therefore, since the strip region distant from the vicinity of the page binding portion is originally likely to be a region without distortion of the image, the image of the strip region distant from the vicinity of the page binding portion is excluded from the correction target. And it is possible to prevent unnatural image quality deterioration.

【0085】請求項38記載の発明は、請求項33ない
し36の何れか一記載の記憶媒体において、地肌濃度が
予め定めた濃度よりも濃い前記短冊領域のみから前記基
準短冊領域を求めるプログラムを格納する。
According to a thirty-eighth aspect of the present invention, in the storage medium according to any one of the thirty-third to thirty-sixth aspects, a program for obtaining the reference strip area from only the strip areas whose background density is higher than a predetermined density is stored. I do.

【0086】したがって、基準短冊領域の探索範囲を予
めページ綴じ部付近に限定しておくことが可能になり、
推定歪み量をより正確に算出することが可能になる。
Accordingly, it is possible to limit the search range of the reference strip region to the vicinity of the page binding portion in advance,
It is possible to more accurately calculate the estimated distortion amount.

【0087】請求項39記載の発明は、請求項33ない
し38の何れか一記載の記憶媒体において、前記基準短
冊領域を前記ブック原稿の左右のページに関してそれぞ
れ独立に求め、前記推定歪み量の算出も前記ブック原稿
の左右のページでそれぞれ独立に行うプログラムを格納
する。
According to a thirty-ninth aspect of the present invention, in the storage medium according to any one of the thirty-third to thirty-third aspects, the reference strip regions are independently obtained for left and right pages of the book document, and the estimated distortion amount is calculated. Also stores a program to be performed independently on the left and right pages of the book document.

【0088】したがって、推定歪み量をより正確に算出
することが可能になる。
Therefore, it is possible to more accurately calculate the estimated distortion amount.

【0089】請求項40記載の発明は、請求項30記載
の記憶媒体において、前記統計的特徴量の算出対象とな
り得る前記文字外接矩形が存在し、かつ、前記ページ綴
じ部を含む前記短冊領域の最近傍に位置する前記短冊領
域の前記特徴量に予め定めた定数値を乗じた値を前記ペ
ージ綴じ部を含む前記短冊領域における前記統計的特徴
量とみなす処理について、前記ブック原稿の左右のペー
ジに関してそれぞれ独立に行い、前記ブック原稿の左ペ
ージ側の前記特徴量と前記ブック原稿の右ページ側の前
記特徴量とを前記ページ綴じ部を含む前記短冊領域にそ
れぞれ対応づけるプログラムを格納する。
The invention according to claim 40 is the storage medium according to claim 30, wherein the character circumscribed rectangle which can be a target of calculation of the statistical feature amount is present, and the rectangular region including the page binding portion is included. Regarding a process in which a value obtained by multiplying the feature amount of the strip region located in the nearest neighborhood by a predetermined constant value is regarded as the statistical feature amount in the strip region including the page binding unit, the left and right pages of the book document And stores a program for associating the feature value on the left page side of the book document and the feature value on the right page side of the book document with the strip region including the page binding unit.

【0090】したがって、書籍の表紙や裏表紙に近いペ
ージを開いたときのようにブック原稿のページ綴じ部の
左右でページの歪み方が大きく異なるために、ページ綴
じ部の左右での文字外接矩形の歪み量の差が大きくなる
場合であっても、それぞれ独立に歪み量の推定処理を行
うことで、より良好な補正結果を得ることが可能にな
る。
Therefore, since the page distortion is greatly different between the left and right sides of the page binding portion of the book original, such as when a page close to the front or back cover of the book is opened, the character circumscribed rectangles on the left and right sides of the page binding portion. Even when the difference between the distortion amounts becomes large, it is possible to obtain a better correction result by independently performing the distortion amount estimation processing.

【0091】請求項41記載の発明は、請求項40記載
の記憶媒体において、前記ページ綴じ部を含む前記短冊
領域に前記統計的特徴量の算出対象となり得る前記文字
外接矩形が存在する場合は、当該文字外接矩形を利用し
て前記ページ綴じ部を含む前記短冊領域の前記特徴量を
算出し、前記ページ綴じ部を含む前記短冊領域に前記統
計的特徴量の算出対象となり得る前記文字外接矩形が存
在しない場合は、前記ブック原稿の左ページ側の前記特
徴量と前記ブック原稿の右ページ側の前記特徴量の平均
値を前記ページ綴じ部を含む前記短冊領域における前記
統計的特徴量とみなすプログラムを格納する。
According to a 41st aspect of the present invention, in the storage medium according to the 40th aspect, when the character circumscribed rectangle which can be a calculation target of the statistical feature amount exists in the strip region including the page binding portion, Using the character circumscribed rectangle, the feature amount of the strip region including the page binding portion is calculated, and the character circumscribed rectangle that can be the calculation target of the statistical feature amount is calculated in the strip region including the page binding portion. If not, a program that regards the average value of the feature value on the left page side of the book document and the feature value on the right page side of the book document as the statistical feature value in the strip region including the page binding unit. Is stored.

【0092】したがって、ページ綴じ部を含む短冊領域
に文字外接矩形が存在しない場合であっても、ページ綴
じ部を含む短冊領域の統計的特徴量の算出が可能にな
る。
Therefore, even when the character circumscribed rectangle does not exist in the strip area including the page binding section, the statistical feature amount of the strip area including the page binding section can be calculated.

【0093】請求項42記載の発明は、請求項40記載
の記憶媒体において、前記ページ綴じ部を含む前記短冊
領域に前記統計的特徴量の算出対象となり得る前記文字
外接矩形が存在する場合は、当該文字外接矩形を利用し
て前記ページ綴じ部を含む前記短冊領域の前記特徴量を
算出し、前記ページ綴じ部を含む前記短冊領域に前記統
計的特徴量の算出対象となり得る前記文字外接矩形が存
在しない場合は、前記ページ綴じ部を含む前記短冊領域
における前記統計的特徴量は未定とするプログラムを格
納する。
[0093] The invention according to claim 42 is the storage medium according to claim 40, wherein the character circumscribed rectangle that can be the calculation target of the statistical feature is present in the strip region including the page binding portion. Using the character circumscribed rectangle, the feature amount of the strip region including the page binding portion is calculated, and the character circumscribed rectangle that can be the calculation target of the statistical feature amount is calculated in the strip region including the page binding portion. If not, a program is stored in which the statistical feature amount in the strip region including the page binding section is undecided.

【0094】したがって、ページ綴じ部を含む短冊領域
に文字外接矩形が存在しない場合には、ページ綴じ部を
含む短冊領域の統計的特徴量の算出が回避される。
Therefore, when there is no character circumscribed rectangle in the strip area including the page binding section, the calculation of the statistical feature amount of the strip area including the page binding section is avoided.

【0095】請求項43記載の発明は、請求項40記載
の記憶媒体において、前記ページ綴じ部を含む前記短冊
領域における前記統計的特徴量が未定の場合、前記推定
歪み量を“1”とするプログラムを格納する。
The invention according to claim 43 is the storage medium according to claim 40, wherein the estimated distortion amount is set to "1" when the statistical feature amount in the strip region including the page binding portion is undecided. Store the program.

【0096】したがって、ページ綴じ部を含む短冊領域
に文字外接矩形が存在しないために、ページ綴じ部を含
む短冊領域の統計的特徴量の算出が回避されており、こ
の領域はもともと画像の歪みが無い領域である可能性が
高いことから、文字外接矩形が存在しないページ綴じ部
を含む短冊領域の画像を補正の対象外とすることが可能
になる。
Therefore, since there is no character circumscribed rectangle in the strip area including the page binding section, the calculation of the statistical feature amount of the strip area including the page binding section is avoided. Since there is a high possibility that the region is absent, it is possible to exclude the image of the strip region including the page binding portion having no character circumscribed rectangle from the correction target.

【0097】請求項44記載の発明は、請求項40ない
し43の何れか一記載の記憶媒体において、前記フィル
タリング処理を施す際に、前記ブック原稿の左ページの
フィルタリングには左ページ用の前記特徴量を用い、前
記ブック原稿の右ページのフィルタリングには右ページ
用の前記特徴量を用いるプログラムを格納する。
According to a forty-fourth aspect of the present invention, in the storage medium according to any one of the forty-fourth to thirty-fourth aspects, when performing the filtering process, the left page of the book document is filtered for the left page. The amount is used, and a program that uses the feature amount for the right page is stored for filtering the right page of the book document.

【0098】したがって、書籍の表紙や裏表紙に近いペ
ージを開いたときのようにブック原稿のページ綴じ部の
左右でページの歪み方が大きく異なるために、ページ綴
じ部の左右での文字外接矩形の歪み量の差が大きくなる
場合であっても、それぞれ独立に歪み量の推定処理を行
うことで、より良好な補正結果を得ることが可能にな
る。
Therefore, since the page distortion is greatly different between the left and right sides of the page binding portion of the book original, such as when a page close to the front or back cover of the book is opened, the character circumscribed rectangles on the left and right sides of the page binding portion are different. Even when the difference between the distortion amounts becomes large, it is possible to obtain a better correction result by independently performing the distortion amount estimation processing.

【0099】請求項45記載の発明は、原稿画像を読み
取る画像読取手段により読み取られたスキャン画像の画
像歪み補正をコンピュータに実行させるプログラムであ
って、前記画像読取手段により読み取られたスキャン画
像から文字を切り出して各文字の外接矩形を抽出する文
字外接矩形抽出機能と、この文字外接矩形抽出機能によ
り抽出された文字外接矩形の形状の変化と前記スキャン
画像の地肌濃度の変化とを利用して前記スキャン画像の
歪み量を推定する歪み量推定機能と、この歪み量推定機
能により推定された歪み量に基き、前記スキャン画像に
対して拡大処理を施す画像補正機能と、を前記コンピュ
ータに実行させる。
The invention according to claim 45 is a program for causing a computer to execute image distortion correction of a scan image read by an image reading means for reading a document image, wherein a character is converted from the scan image read by the image reading means. A character circumscribing rectangle extracting function of extracting a circumscribing rectangle of each character by extracting The computer causes the computer to execute a distortion amount estimation function for estimating the distortion amount of the scanned image and an image correction function for performing an enlargement process on the scanned image based on the distortion amount estimated by the distortion amount estimation function.

【0100】したがって、画像読取手段により読み取ら
れたスキャン画像から文字の外接矩形が抽出され、この
文字外接矩形の形状の変化に基づいてスキャン画像の歪
みが補正される。これにより、ブック原稿のページ綴じ
部とスキャンの主走査方向とが垂直な場合であっても、
文字外接矩形の形状には変化が現われることから、ブッ
ク原稿のスキャン画像の補正が可能となる。
Accordingly, a circumscribed rectangle of a character is extracted from the scanned image read by the image reading means, and distortion of the scanned image is corrected based on a change in the shape of the circumscribed rectangle of the character. Thereby, even when the page binding portion of the book document is perpendicular to the main scanning direction of the scan,
Since a change appears in the shape of the character circumscribed rectangle, the scan image of the book document can be corrected.

【0101】請求項46記載の発明は、請求項45記載
のプログラムにおいて、前記スキャン画像を前記画像読
取手段での読み取りの主走査方向に垂直な方向を長辺と
する短冊状の複数の領域に分割し、各短冊領域内に中心
を有する前記文字外接矩形の集合に関する統計的特徴量
に基づいて前記スキャン画像の歪み量を推定する前記歪
み量推定機能を前記コンピュータに実行させる。
The invention according to claim 46 is the program according to claim 45, wherein the scanned image is divided into a plurality of strip-shaped areas whose long sides are perpendicular to the main scanning direction of reading by the image reading means. The computer causes the computer to execute the distortion amount estimation function of estimating the distortion amount of the scanned image based on the statistical feature amount regarding the set of the character circumscribed rectangles having the center in each of the strip regions.

【0102】したがって、文字外接矩形の形状の変化を
確実に捉えることが可能になる。
Therefore, a change in the shape of the character circumscribed rectangle can be reliably detected.

【0103】請求項47記載の発明は、請求項46記載
のプログラムにおいて、前記統計的特徴量を、 特徴量=文字外接矩形の横辺の長さ/文字外接矩形の縦
辺の長さ なる式に基づいて求める。
The invention according to claim 47 is the program according to claim 46, wherein the statistical feature quantity is calculated by the following formula: feature quantity = length of horizontal side of character circumscribed rectangle / length of vertical side of character circumscribed rectangle. Based on

【0104】したがって、文字外接矩形の形状の変化を
容易に捉えることが可能になる。
Therefore, a change in the shape of the character circumscribed rectangle can be easily grasped.

【0105】請求項48記載の発明は、請求項47記載
のプログラムにおいて、前記短冊領域内に中心を有する
前記各文字外接矩形の前記各特徴量の平均値を当該短冊
領域における前記統計的特徴量とみなす。
[0105] The invention according to claim 48 is the program according to claim 47, wherein the average value of the characteristic amounts of the respective character circumscribed rectangles having a center in the strip region is used as the statistical feature amount in the strip region. Consider

【0106】したがって、文字外接矩形の形状の変化を
より正確に捉えることが可能になる。
Therefore, a change in the shape of the character circumscribed rectangle can be grasped more accurately.

【0107】請求項49記載の発明は、請求項48記載
のプログラムにおいて、前記短冊領域内の前記統計的特
徴量を求める際、前記文字外接矩形の縦辺の長さが予め
定めた値より小さい場合はこれを予め排除する。
The invention according to claim 49 is the program according to claim 48, wherein the length of the vertical side of the character circumscribed rectangle is smaller than a predetermined value when the statistical feature in the strip region is obtained. In this case, this is excluded in advance.

【0108】したがって、句読点や数式中の記号のよう
にそのサイズが元々小さい文字についての特徴量を排除
することが可能になる。
Therefore, it is possible to eliminate a feature amount of a character whose size is originally small, such as a punctuation mark or a symbol in a mathematical expression.

【0109】請求項50記載の発明は、請求項48また
は49記載のプログラムにおいて、前記短冊領域内の前
記統計的特徴量を求める際、前記文字外接矩形の前記特
徴量が予め定めた値より大きい場合はこれを予め排除す
る。
The invention according to claim 50 is the program according to claim 48 or 49, wherein, when obtaining the statistical feature in the strip region, the feature of the character circumscribed rectangle is larger than a predetermined value. In this case, this is excluded in advance.

【0110】したがって、例えば矩形抽出の際に隣接す
る文字同士がくっついて抽出された場合のように極端に
文字外接矩形の横辺の長さが長い文字外接矩形について
の特徴量を排除することが可能になる。
Therefore, for example, it is possible to eliminate a feature amount of a character circumscribed rectangle having a very long lateral side of a character circumscribed rectangle, such as a case where adjacent characters are attached to each other at the time of rectangle extraction. Will be possible.

【0111】請求項51記載の発明は、請求項46ない
し50の何れか一記載のプログラムにおいて、前記各短
冊領域の地肌濃度を測定し、その地肌濃度が最も濃い前
記短冊領域をブック原稿のページ綴じ部を含む前記短冊
領域であるとみなす。
The invention according to claim 51 is the program according to any one of claims 46 to 50, wherein the background density of each of the strip regions is measured, and the strip region having the highest background density is defined as a page of a book document. It is regarded as the strip area including the binding portion.

【0112】したがって、地肌の濃度変化を利用してブ
ック原稿のページ綴じ部を含む短冊領域が求められるこ
とにより、ページ綴じ部付近の画像の歪み量をより適切
に推定することが可能になる。
Therefore, the strip area including the page binding portion of the book document is obtained by using the density change of the background, so that the distortion amount of the image near the page binding portion can be more appropriately estimated.

【0113】請求項52記載の発明は、請求項51記載
のプログラムにおいて、前記ページ綴じ部を含む前記短
冊領域に前記統計的特徴量の算出対象となり得る前記文
字外接矩形が存在する場合は、当該文字外接矩形を利用
して前記ページ綴じ部を含む前記短冊領域の特徴量を算
出し、前記ページ綴じ部を含む前記短冊領域に前記統計
的特徴量の算出対象となり得る前記文字外接矩形が存在
しない場合は、前記統計的特徴量の算出対象となり得る
前記文字外接矩形が存在し、かつ、前記ページ綴じ部を
含む前記短冊領域の最近傍に位置する前記短冊領域の前
記特徴量に予め定めた定数値を乗じた値を前記ページ綴
じ部を含む前記短冊領域における前記統計的特徴量とみ
なす。
[0113] The invention according to claim 52 is the program according to claim 51, wherein the character circumscribed rectangle that can be a target of calculation of the statistical feature amount is present in the strip region including the page binding portion. The feature amount of the strip region including the page binding portion is calculated using a character circumscribed rectangle, and the character circumscribed rectangle that can be the calculation target of the statistical feature amount does not exist in the strip region including the page binding portion. In the case, the character circumscribing rectangle which can be a target of calculation of the statistical feature amount exists, and a predetermined value is set in the feature amount of the strip region located closest to the strip region including the page binding portion. The value obtained by multiplying the numerical value is regarded as the statistical feature amount in the strip region including the page binding portion.

【0114】したがって、ページ綴じ部を含む短冊領域
に文字外接矩形が存在しない場合であっても、ページ綴
じ部を含む短冊領域の統計的特徴量の算出が可能にな
る。
Therefore, even when there is no character circumscribed rectangle in the strip area including the page binding section, the statistical feature amount of the strip area including the page binding section can be calculated.

【0115】請求項53記載の発明は、請求項52記載
のプログラムにおいて、前記短冊領域の位置の変化方向
に関する移動平均を求め、この移動平均に基づいて前記
特徴量の変化に対するフィルタリング処理を施す。
The invention according to claim 53 is the program according to claim 52, wherein a moving average in a change direction of the position of the strip region is obtained, and a filtering process for the change in the feature amount is performed based on the moving average.

【0116】したがって、短冊領域の位置の変化に対す
る(主走査方向の)特徴量の変化をなだらかにすること
が可能になる。
Therefore, it is possible to make the change of the characteristic amount (in the main scanning direction) gentle with respect to the change of the position of the strip region.

【0117】請求項54記載の発明は、請求項53記載
のプログラムにおいて、前記フィルタリング処理を施す
際に、フィルタのウィンドウが前記ページ綴じ部を含む
前記短冊領域の両側に位置する前記短冊領域に跨がらな
いように前記ページ綴じ部付近ではウィンドウ長を調整
する。
The invention according to claim 54 is the program according to claim 53, wherein, when the filtering process is performed, a window of a filter straddles the strip region located on both sides of the strip region including the page binding portion. The window length is adjusted near the page binding section so as not to be distorted.

【0118】したがって、ページ綴じ部付近の特徴量の
変化を適切に表現可能になるので、良好な画像補正を実
現することが可能になる。
Therefore, a change in the characteristic amount in the vicinity of the page binding portion can be appropriately expressed, so that good image correction can be realized.

【0119】請求項55記載の発明は、請求項46ない
し54の何れか一記載のプログラムにおいて、前記短冊
領域の歪み量を算出する基準となる前記短冊領域を定
め、その基準短冊領域の前記特徴量を前記スキャン画像
全体の基準特徴量とし、前記各短冊領域の前記推定歪み
量を、 推定歪み量=各短冊領域の特徴量/基準特徴量 なる式に基づいて求める前記歪み量推定機能を前記コン
ピュータに実行させる。
According to a fifty-fifth aspect of the present invention, in the program according to any one of the thirty-sixth to thirty-fourth aspects, the strip area serving as a reference for calculating the distortion amount of the strip area is determined, and the characteristic of the reference strip area is determined. The amount of distortion is used as a reference feature amount of the entire scanned image, and the estimated distortion amount of each of the strip regions is calculated based on the following equation: Estimated distortion amount = Feature amount of each strip region / Reference feature amount. Let the computer run.

【0120】したがって、推定歪み量を容易に算出する
ことが可能になる。
Therefore, it is possible to easily calculate the estimated distortion amount.

【0121】請求項56記載の発明は、請求項55記載
のプログラムにおいて、全ての前記短冊領域の前記特徴
量の中で最も値の大きな前記特徴量を前記基準特徴量と
する。
The invention according to claim 56 is the program according to claim 55, wherein the feature value having the largest value among the feature values of all the strip regions is set as the reference feature value.

【0122】したがって、推定歪み量を正確に算出する
ことが可能になる。
Therefore, it is possible to accurately calculate the estimated distortion amount.

【0123】請求項57記載の発明は、請求項45ない
し56の何れか一記載のプログラムにおいて、前記各短
冊領域に関して前記推定歪み量の逆数を補正拡大率とし
て前記短冊領域の短辺方向に拡大処理を施す前記画像補
正機能を前記コンピュータに実行させる。
[0123] The invention according to claim 57 is the program according to any one of claims 45 to 56, wherein the reciprocal of the estimated distortion amount for each of the strip areas is expanded in the short side direction of the strip area as a correction expansion rate. And causing the computer to execute the image correction function for performing the processing.

【0124】したがって、ブック原稿のスキャン画像を
容易に補正することが可能になる。
Therefore, it is possible to easily correct the scanned image of the book document.

【0125】請求項58記載の発明は、請求項57記載
のプログラムにおいて、前記各短冊領域の境界部分にお
ける前記補正拡大率が連続的に変化するように、前記各
短冊領域の境界部分における前記補正拡大率を予め補正
する。
The invention according to claim 58 is the program according to claim 57, wherein the correction at the boundary between the strip regions is changed so that the correction magnification at the boundary between the strip regions changes continuously. The magnification is corrected in advance.

【0126】したがって、自然な補正画像を得ることが
可能になる。
Therefore, a natural corrected image can be obtained.

【0127】請求項59記載の発明は、請求項55ない
し58の何れか一記載のプログラムにおいて、地肌濃度
が予め定めた濃度よりも薄い前記短冊領域に関し、前記
推定歪み量を“1”とする。
The invention according to claim 59 is the program according to any one of claims 55 to 58, wherein the estimated distortion amount is set to "1" for the strip region in which the background density is lower than a predetermined density. .

【0128】したがって、ページ綴じ部付近から離れた
短冊領域はもともと画像の歪みが無い領域である可能性
が高いことから、このようなページ綴じ部付近から離れ
た短冊領域の画像を補正の対象外とすることが可能にな
り、不自然な画質劣化を防ぐことが可能になる。
[0128] Therefore, since the strip region distant from the vicinity of the page binding portion is originally likely to be a region without image distortion, the image of the strip region distant from the vicinity of the page binding portion is excluded from the correction target. And it is possible to prevent unnatural image quality deterioration.

【0129】請求項60記載の発明は、請求項55ない
し58の何れか一記載のプログラムにおいて、地肌濃度
が予め定めた濃度よりも濃い前記短冊領域のみから前記
基準短冊領域を求める。
The invention according to claim 60 is the program according to any one of claims 55 to 58, wherein the reference strip area is obtained only from the strip area whose background density is higher than a predetermined density.

【0130】したがって、基準短冊領域の探索範囲を予
めページ綴じ部付近に限定しておくことが可能になり、
推定歪み量をより正確に算出することが可能になる。
Therefore, it is possible to limit the search range of the reference strip region to the vicinity of the page binding portion in advance,
It is possible to more accurately calculate the estimated distortion amount.

【0131】請求項61記載の発明は、請求項55ない
し60の何れか一記載のプログラムにおいて、前記基準
短冊領域を前記ブック原稿の左右のページに関してそれ
ぞれ独立に求め、前記推定歪み量の算出も前記ブック原
稿の左右のページでそれぞれ独立に行う。
The invention according to claim 61 is the program according to any one of claims 55 to 60, wherein the reference strip regions are independently obtained for left and right pages of the book document, and the estimated distortion amount is calculated. This operation is performed independently on the left and right pages of the book document.

【0132】したがって、推定歪み量をより正確に算出
することが可能になる。
Therefore, it is possible to more accurately calculate the estimated distortion amount.

【0133】請求項62記載の発明は、請求項52記載
のプログラムにおいて、前記統計的特徴量の算出対象と
なり得る前記文字外接矩形が存在し、かつ、前記ページ
綴じ部を含む前記短冊領域の最近傍に位置する前記短冊
領域の前記特徴量に予め定めた定数値を乗じた値を前記
ページ綴じ部を含む前記短冊領域における前記統計的特
徴量とみなす処理について、前記ブック原稿の左右のペ
ージに関してそれぞれ独立に行い、前記ブック原稿の左
ページ側の前記特徴量と前記ブック原稿の右ページ側の
前記特徴量とを前記ページ綴じ部を含む前記短冊領域に
それぞれ対応づける。
[0133] The invention according to claim 62 is the program according to claim 52, wherein the character circumscribed rectangle that can be a target of calculation of the statistical feature amount exists, and the latest information of the strip region including the page binding portion exists. Regarding a process in which a value obtained by multiplying the feature amount of the strip region located by the side by a predetermined constant value is regarded as the statistical feature amount in the strip region including the page binding unit, regarding the left and right pages of the book document Independently, the feature value on the left page side of the book document and the feature value on the right page side of the book document are associated with the strip region including the page binding unit.

【0134】したがって、書籍の表紙や裏表紙に近いペ
ージを開いたときのようにブック原稿のページ綴じ部の
左右でページの歪み方が大きく異なるために、ページ綴
じ部の左右での文字外接矩形の歪み量の差が大きくなる
場合であっても、それぞれ独立に歪み量の推定処理を行
うことで、より良好な補正結果を得ることが可能にな
る。
[0134] Therefore, the page skew differs greatly between the left and right sides of the page binding portion of the book original, such as when a page close to the front or back cover of a book is opened. Even when the difference between the distortion amounts becomes large, it is possible to obtain a better correction result by independently performing the distortion amount estimation processing.

【0135】請求項63記載の発明は、請求項62記載
のプログラムにおいて、前記ページ綴じ部を含む前記短
冊領域に前記統計的特徴量の算出対象となり得る前記文
字外接矩形が存在する場合は、当該文字外接矩形を利用
して前記ページ綴じ部を含む前記短冊領域の前記特徴量
を算出し、前記ページ綴じ部を含む前記短冊領域に前記
統計的特徴量の算出対象となり得る前記文字外接矩形が
存在しない場合は、前記ブック原稿の左ページ側の前記
特徴量と前記ブック原稿の右ページ側の前記特徴量の平
均値を前記ページ綴じ部を含む前記短冊領域における前
記統計的特徴量とみなす。
[0135] The invention according to claim 63 is the program according to claim 62, wherein the character circumscribed rectangle which can be a target of calculation of the statistical feature is present in the strip region including the page binding portion. The feature amount of the strip region including the page binding portion is calculated using a character circumscribed rectangle, and the character circumscribed rectangle that can be the calculation target of the statistical feature amount exists in the strip region including the page binding portion. If not, the average value of the feature value on the left page side of the book document and the feature value on the right page side of the book document is regarded as the statistical feature value in the strip region including the page binding section.

【0136】したがって、ページ綴じ部を含む短冊領域
に文字外接矩形が存在しない場合であっても、ページ綴
じ部を含む短冊領域の統計的特徴量の算出が可能にな
る。
Therefore, even if there is no character circumscribed rectangle in the strip area including the page binding section, the statistical feature amount of the strip area including the page binding section can be calculated.

【0137】請求項64記載の発明は、請求項62記載
のプログラムにおいて、前記ページ綴じ部を含む前記短
冊領域に前記統計的特徴量の算出対象となり得る前記文
字外接矩形が存在する場合は、当該文字外接矩形を利用
して前記ページ綴じ部を含む前記短冊領域の前記特徴量
を算出し、前記ページ綴じ部を含む前記短冊領域に前記
統計的特徴量の算出対象となり得る前記文字外接矩形が
存在しない場合は、前記ページ綴じ部を含む前記短冊領
域における前記統計的特徴量は未定とする。
[0137] The invention according to claim 64 is the program according to claim 62, wherein the character circumscribed rectangle that can be a target of calculation of the statistical feature is present in the strip region including the page binding portion. The feature amount of the strip region including the page binding portion is calculated using a character circumscribed rectangle, and the character circumscribed rectangle that can be the calculation target of the statistical feature amount exists in the strip region including the page binding portion. If not, the statistical feature amount in the strip region including the page binding section is undecided.

【0138】したがって、ページ綴じ部を含む短冊領域
に文字外接矩形が存在しない場合には、ページ綴じ部を
含む短冊領域の統計的特徴量の算出が回避される。
Therefore, when there is no character circumscribed rectangle in the strip area including the page binding section, the calculation of the statistical feature amount of the strip area including the page binding section is avoided.

【0139】請求項65記載の発明は、請求項62記載
のプログラムにおいて、前記ページ綴じ部を含む前記短
冊領域における前記統計的特徴量が未定の場合、前記推
定歪み量を“1”とする。
[0139] The invention according to claim 65 is the program according to claim 62, wherein the estimated distortion amount is set to "1" when the statistical feature amount in the strip region including the page binding portion is undecided.

【0140】したがって、ページ綴じ部を含む短冊領域
に文字外接矩形が存在しないために、ページ綴じ部を含
む短冊領域の統計的特徴量の算出が回避されており、こ
の領域はもともと画像の歪みが無い領域である可能性が
高いことから、文字外接矩形が存在しないページ綴じ部
を含む短冊領域の画像を補正の対象外とすることが可能
になる。
Accordingly, since there is no character circumscribed rectangle in the strip area including the page binding section, the calculation of the statistical feature of the strip area including the page binding section is avoided. Since there is a high possibility that the region is absent, it is possible to exclude the image of the strip region including the page binding portion having no character circumscribed rectangle from the correction target.

【0141】請求項66記載の発明は、請求項62ない
し65の何れか一記載のプログラムにおいて、前記フィ
ルタリング処理を施す際に、前記ブック原稿の左ページ
のフィルタリングには左ページ用の前記特徴量を用い、
前記ブック原稿の右ページのフィルタリングには右ペー
ジ用の前記特徴量を用いる。
The invention according to claim 66 is the program according to any one of claims 62 to 65, wherein in performing the filtering process, the filtering of the left page of the book document is performed using the left-page feature value. Using
The feature value for the right page is used for filtering the right page of the book document.

【0142】したがって、書籍の表紙や裏表紙に近いペ
ージを開いたときのようにブック原稿のページ綴じ部の
左右でページの歪み方が大きく異なるために、ページ綴
じ部の左右での文字外接矩形の歪み量の差が大きくなる
場合であっても、それぞれ独立に歪み量の推定処理を行
うことで、より良好な補正結果を得ることが可能にな
る。
Accordingly, the page skew differs greatly between the left and right sides of the page binding portion of the book original, such as when a page close to the front or back cover of a book is opened. Even when the difference between the distortion amounts becomes large, it is possible to obtain a better correction result by independently performing the distortion amount estimation processing.

【0143】請求項67記載の発明は、原稿画像を読み
取る画像読取手段により読み取られたスキャン画像の歪
みを補正する画像歪み補正方法であって、前記スキャン
画像から文字を切り出して各文字の外接矩形を抽出する
文字外接矩形抽出工程と、この文字外接矩形抽出工程に
より抽出された文字外接矩形の形状の変化と前記スキャ
ン画像の地肌濃度の変化とを利用して前記スキャン画像
の歪み量を推定する歪み量推定工程と、この歪み量推定
工程により推定された歪み量に基き、前記スキャン画像
に対して拡大処理を施す画像補正工程と、を含んでな
る。
The invention according to claim 67 is an image distortion correction method for correcting distortion of a scan image read by image reading means for reading an original image, wherein characters are cut out from the scan image and a circumscribed rectangle of each character is extracted. And extracting a distortion amount of the scanned image by using a change in the shape of the character circumscribed rectangle extracted in the character circumscribed rectangle extraction process and a change in the background density of the scanned image. A distortion amount estimating step; and an image correcting step of performing an enlargement process on the scan image based on the distortion amount estimated in the distortion amount estimating step.

【0144】したがって、画像読取手段により読み取ら
れたスキャン画像から文字の外接矩形が抽出され、この
文字外接矩形の形状の変化に基づいてスキャン画像の歪
みが補正される。これにより、ブック原稿のページ綴じ
部とスキャンの主走査方向とが垂直な場合であっても、
文字外接矩形の形状には変化が現われることから、ブッ
ク原稿のスキャン画像の補正が可能となる。
Accordingly, a circumscribed rectangle of a character is extracted from the scanned image read by the image reading means, and distortion of the scanned image is corrected based on a change in the shape of the circumscribed rectangle of the character. Thereby, even when the page binding portion of the book document is perpendicular to the main scanning direction of the scan,
Since a change appears in the shape of the character circumscribed rectangle, the scan image of the book document can be corrected.

【0145】請求項68記載の発明は、請求項67記載
の画像歪み補正方法において、前記歪み量推定工程は、
前記スキャン画像を前記画像読取手段での読み取りの主
走査方向に垂直な方向を長辺とする短冊状の複数の領域
に分割し、各短冊領域内に中心を有する前記文字外接矩
形の集合に関する統計的特徴量に基づいて前記スキャン
画像の歪み量を推定する。
The invention according to claim 68 is the image distortion correction method according to claim 67, wherein the distortion amount estimating step is
The scan image is divided into a plurality of strip-shaped areas each having a long side in a direction perpendicular to the main scanning direction of reading by the image reading unit, and statistics relating to a set of the character circumscribed rectangles each having a center in each strip area. The amount of distortion of the scanned image is estimated based on the characteristic amount.

【0146】したがって、文字外接矩形の形状の変化を
確実に捉えることが可能になる。
Therefore, it is possible to reliably detect a change in the shape of the character circumscribed rectangle.

【0147】請求項69記載の発明は、請求項68記載
の画像歪み補正方法において、前記統計的特徴量を、 特徴量=文字外接矩形の横辺の長さ/文字外接矩形の縦
辺の長さ なる式に基づいて求める。
[0147] The invention according to claim 69 is the image distortion correction method according to claim 68, wherein the statistical feature amount is defined as: feature amount = length of horizontal side of character circumscribed rectangle / length of vertical side of character circumscribed rectangle. It is calculated based on the following equation.

【0148】したがって、文字外接矩形の形状の変化を
容易に捉えることが可能になる。
Therefore, a change in the shape of the character circumscribed rectangle can be easily grasped.

【0149】請求項70記載の発明は、請求項69記載
の画像歪み補正方法において、前記短冊領域内に中心を
有する前記各文字外接矩形の前記各特徴量の平均値を当
該短冊領域における前記統計的特徴量とみなす。
[0149] The invention according to claim 70 is the image distortion correction method according to claim 69, wherein the average value of the respective characteristic amounts of each of the character circumscribed rectangles having a center in the strip area is used as the statistical value in the strip area. It is regarded as a characteristic feature.

【0150】したがって、文字外接矩形の形状の変化を
より正確に捉えることが可能になる。
Therefore, it is possible to more accurately grasp the change in the shape of the character circumscribed rectangle.

【0151】請求項71記載の発明は、請求項70記載
の画像歪み補正方法において、前記短冊領域内の前記統
計的特徴量を求める際、前記文字外接矩形の縦辺の長さ
が予め定めた値より小さい場合はこれを予め排除する。
The invention according to claim 71 is the image distortion correction method according to claim 70, wherein the length of the vertical side of the character circumscribed rectangle is predetermined when the statistical feature in the strip region is obtained. If it is smaller than the value, it is excluded in advance.

【0152】したがって、句読点や数式中の記号のよう
にそのサイズが元々小さい文字についての特徴量を排除
することが可能になる。
Therefore, it is possible to eliminate a feature amount of a character whose size is originally small, such as a punctuation mark or a symbol in a mathematical expression.

【0153】請求項72記載の発明は、請求項70また
は71記載の画像歪み補正方法において、前記短冊領域
内の前記統計的特徴量を求める際、前記文字外接矩形の
前記特徴量が予め定めた値より大きい場合はこれを予め
排除する。
The invention according to claim 72 is the image distortion correction method according to claim 70 or 71, wherein the characteristic amount of the character circumscribed rectangle is predetermined when the statistical characteristic amount in the strip region is obtained. If it is larger than the value, it is excluded in advance.

【0154】したがって、例えば矩形抽出の際に隣接す
る文字同士がくっついて抽出された場合のように極端に
文字外接矩形の横辺の長さが長い文字外接矩形について
の特徴量を排除することが可能になる。
Therefore, for example, it is possible to exclude a feature amount of a character circumscribed rectangle having an extremely long lateral side of a character circumscribed rectangle, such as a case where adjacent characters are stuck together at the time of rectangle extraction. Will be possible.

【0155】請求項73記載の発明は、請求項68ない
し72の何れか一記載の画像歪み補正方法において、前
記各短冊領域の地肌濃度を測定し、その地肌濃度が最も
濃い前記短冊領域をブック原稿のページ綴じ部を含む前
記短冊領域であるとみなす。
The invention according to claim 73 is the image distortion correction method according to any one of claims 68 to 72, wherein the background density of each of the strip regions is measured, and the strip region having the highest background density is determined as a book. This is regarded as the strip region including the page binding portion of the document.

【0156】したがって、地肌の濃度変化を利用してブ
ック原稿のページ綴じ部を含む短冊領域が求められるこ
とにより、ページ綴じ部付近の画像の歪み量をより適切
に推定することが可能になる。
Therefore, the strip area including the page binding portion of the book document is obtained by utilizing the density change of the background, so that the distortion amount of the image near the page binding portion can be more appropriately estimated.

【0157】請求項74記載の発明は、請求項73記載
の画像歪み補正方法において、前記ページ綴じ部を含む
前記短冊領域に前記統計的特徴量の算出対象となり得る
前記文字外接矩形が存在する場合は、当該文字外接矩形
を利用して前記ページ綴じ部を含む前記短冊領域の特徴
量を算出し、前記ページ綴じ部を含む前記短冊領域に前
記統計的特徴量の算出対象となり得る前記文字外接矩形
が存在しない場合は、前記統計的特徴量の算出対象とな
り得る前記文字外接矩形が存在し、かつ、前記ページ綴
じ部を含む前記短冊領域の最近傍に位置する前記短冊領
域の前記特徴量に予め定めた定数値を乗じた値を前記ペ
ージ綴じ部を含む前記短冊領域における前記統計的特徴
量とみなす。
[0157] The invention according to claim 74 is the image distortion correction method according to claim 73, wherein the character circumscribed rectangle that can be a calculation target of the statistical feature is present in the strip region including the page binding portion. Calculating the feature value of the strip region including the page binding portion using the character circumscribed rectangle, and calculating the statistical feature value in the strip region including the page binding portion. Does not exist, the character circumscribed rectangle that can be a target of calculation of the statistical feature amount exists, and the feature amount of the strip region located closest to the strip region including the page binding portion is determined in advance. A value multiplied by the determined constant value is regarded as the statistical feature amount in the strip region including the page binding section.

【0158】したがって、ページ綴じ部を含む短冊領域
に文字外接矩形が存在しない場合であっても、ページ綴
じ部を含む短冊領域の統計的特徴量の算出が可能にな
る。
Therefore, even if there is no character circumscribed rectangle in the strip area including the page binding section, the statistical feature amount of the strip area including the page binding section can be calculated.

【0159】請求項75記載の発明は、請求項74記載
の画像歪み補正方法において、前記短冊領域の位置の変
化方向に関する移動平均を求め、この移動平均に基づい
て前記特徴量の変化に対するフィルタリング処理を施
す。
The invention according to claim 75 is the image distortion correction method according to claim 74, wherein a moving average in a direction in which the position of the strip region changes is obtained, and a filtering process for the change in the characteristic amount is performed based on the moving average. Is applied.

【0160】したがって、短冊領域の位置の変化に対す
る(主走査方向の)特徴量の変化をなだらかにすること
が可能になる。
Therefore, it is possible to make the change in the characteristic amount (in the main scanning direction) gentle with respect to the change in the position of the strip region.

【0161】請求項76記載の発明は、請求項75記載
の画像歪み補正方法において、前記フィルタリング処理
を施す際に、フィルタのウィンドウが前記ページ綴じ部
を含む前記短冊領域の両側に位置する前記短冊領域に跨
がらないように前記ページ綴じ部付近ではウィンドウ長
を調整する。
The invention according to claim 76 is the image distortion correction method according to claim 75, wherein the window of the filter is positioned on both sides of the strip region including the page binding portion when performing the filtering process. The window length is adjusted in the vicinity of the page binding section so as not to straddle the area.

【0162】したがって、ページ綴じ部付近の特徴量の
変化を適切に表現可能になるので、良好な画像補正を実
現することが可能になる。
Therefore, it is possible to appropriately express the change in the characteristic amount near the page binding portion, and it is possible to realize good image correction.

【0163】請求項77記載の発明は、請求項68ない
し76の何れか一記載の画像歪み補正方法において、前
記歪み量推定工程は、前記短冊領域の歪み量を算出する
基準となる前記短冊領域を定め、その基準短冊領域の前
記特徴量を前記スキャン画像全体の基準特徴量とし、前
記各短冊領域の前記推定歪み量を、 推定歪み量=各短冊領域の特徴量/基準特徴量 なる式に基づいて求める。
According to a 77th aspect of the present invention, in the image distortion correction method according to any one of the 68th to 76th aspects, the distortion amount estimating step comprises the step of calculating the distortion amount of the strip region. And the feature amount of the reference strip region is set as the reference feature amount of the entire scan image, and the estimated distortion amount of each strip region is calculated by the following equation: estimated distortion amount = feature amount of each strip region / reference feature amount. Ask based on.

【0164】したがって、推定歪み量を容易に算出する
ことが可能になる。
Therefore, it is possible to easily calculate the estimated distortion amount.

【0165】請求項78記載の発明は、請求項77記載
の画像歪み補正方法において、全ての前記短冊領域の前
記特徴量の中で最も値の大きな前記特徴量を前記基準特
徴量とする。
The invention according to claim 78 is the image distortion correction method according to claim 77, wherein the feature value having the largest value among the feature values of all the strip regions is set as the reference feature value.

【0166】したがって、推定歪み量を正確に算出する
ことが可能になる。
Therefore, it is possible to accurately calculate the estimated distortion amount.

【0167】請求項79記載の発明は、請求項67ない
し78の何れか一記載の画像歪み補正方法において、前
記画像補正工程は、前記各短冊領域に関して前記推定歪
み量の逆数を補正拡大率として前記短冊領域の短辺方向
に拡大処理を施す。
The invention according to claim 79 is the image distortion correction method according to any one of claims 67 to 78, wherein the image correction step uses a reciprocal of the estimated distortion amount as a correction enlargement factor for each of the strip regions. Enlargement processing is performed in the short side direction of the strip region.

【0168】したがって、ブック原稿のスキャン画像を
容易に補正することが可能になる。
Therefore, it is possible to easily correct the scanned image of the book document.

【0169】請求項80記載の発明は、請求項79記載
の画像歪み補正方法において、前記各短冊領域の境界部
分における前記補正拡大率が連続的に変化するように、
前記各短冊領域の境界部分における前記補正拡大率を予
め補正する。
The invention according to claim 80 is the image distortion correction method according to claim 79, wherein the correction enlargement ratio at a boundary portion of each of the strip regions changes continuously.
The correction magnification at the boundary between the strip regions is corrected in advance.

【0170】したがって、自然な補正画像を得ることが
可能になる。
Therefore, a natural corrected image can be obtained.

【0171】請求項81記載の発明は、請求項77ない
し80の何れか一記載の画像歪み補正方法において、地
肌濃度が予め定めた濃度よりも薄い前記短冊領域に関
し、前記推定歪み量を“1”とする。
The invention according to claim 81 is the image distortion correction method according to any one of claims 77 to 80, wherein the estimated distortion amount is set to "1" for the strip region whose background density is lower than a predetermined density. ".

【0172】したがって、ページ綴じ部付近から離れた
短冊領域はもともと画像の歪みが無い領域である可能性
が高いことから、このようなページ綴じ部付近から離れ
た短冊領域の画像を補正の対象外とすることが可能にな
り、不自然な画質劣化を防ぐことが可能になる。
Therefore, since it is highly probable that the strip region distant from the vicinity of the page binding portion is originally a region without image distortion, the image of the strip region distant from the vicinity of the page binding portion is excluded from the correction target. And it is possible to prevent unnatural image quality deterioration.

【0173】請求項82記載の発明は、請求項77ない
し80の何れか一記載の画像歪み補正方法において、地
肌濃度が予め定めた濃度よりも濃い前記短冊領域のみか
ら前記基準短冊領域を求める。
The invention according to claim 82 is the image distortion correction method according to any one of claims 77 to 80, wherein the reference strip area is obtained only from the strip area whose background density is higher than a predetermined density.

【0174】したがって、基準短冊領域の探索範囲を予
めページ綴じ部付近に限定しておくことが可能になり、
推定歪み量をより正確に算出することが可能になる。
Therefore, it is possible to limit the search range of the reference strip region to the vicinity of the page binding portion in advance,
It is possible to more accurately calculate the estimated distortion amount.

【0175】請求項83記載の発明は、請求項77ない
し82の何れか一記載の画像歪み補正方法において、前
記基準短冊領域を前記ブック原稿の左右のページに関し
てそれぞれ独立に求め、前記推定歪み量の算出も前記ブ
ック原稿の左右のページでそれぞれ独立に行う。
The invention according to claim 83 is the image distortion correction method according to any one of claims 77 to 82, wherein the reference strip regions are independently obtained for left and right pages of the book document, and the estimated distortion amount is calculated. Is also calculated independently for the left and right pages of the book document.

【0176】したがって、推定歪み量をより正確に算出
することが可能になる。
Therefore, it is possible to calculate the estimated distortion amount more accurately.

【0177】請求項84記載の発明は、請求項74記載
の画像歪み補正方法において、前記統計的特徴量の算出
対象となり得る前記文字外接矩形が存在し、かつ、前記
ページ綴じ部を含む前記短冊領域の最近傍に位置する前
記短冊領域の前記特徴量に予め定めた定数値を乗じた値
を前記ページ綴じ部を含む前記短冊領域における前記統
計的特徴量とみなす処理について、前記ブック原稿の左
右のページに関してそれぞれ独立に行い、前記ブック原
稿の左ページ側の前記特徴量と前記ブック原稿の右ペー
ジ側の前記特徴量とを前記ページ綴じ部を含む前記短冊
領域にそれぞれ対応づける。
The invention according to claim 84 is based on the image distortion correction method according to claim 74, wherein the character circumscribed rectangle which can be a target of calculation of the statistical feature amount exists, and the strip including the page binding portion is provided. Regarding a process in which a value obtained by multiplying the feature amount of the strip region located nearest to the region by a predetermined constant value is regarded as the statistical feature amount in the strip region including the page binding unit, Are performed independently for each page, and the feature amount on the left page side of the book document and the feature value on the right page side of the book document are respectively associated with the strip region including the page binding portion.

【0178】したがって、書籍の表紙や裏表紙に近いペ
ージを開いたときのようにブック原稿のページ綴じ部の
左右でページの歪み方が大きく異なるために、ページ綴
じ部の左右での文字外接矩形の歪み量の差が大きくなる
場合であっても、それぞれ独立に歪み量の推定処理を行
うことで、より良好な補正結果を得ることが可能にな
る。
[0178] Therefore, the page skew differs greatly between the left and right sides of the page binding portion of the book original, such as when a page near the front or back cover of a book is opened. Even when the difference between the distortion amounts becomes large, it is possible to obtain a better correction result by independently performing the distortion amount estimation processing.

【0179】請求項85記載の発明は、請求項84記載
の画像歪み補正方法において、前記ページ綴じ部を含む
前記短冊領域に前記統計的特徴量の算出対象となり得る
前記文字外接矩形が存在する場合は、当該文字外接矩形
を利用して前記ページ綴じ部を含む前記短冊領域の前記
特徴量を算出し、前記ページ綴じ部を含む前記短冊領域
に前記統計的特徴量の算出対象となり得る前記文字外接
矩形が存在しない場合は、前記ブック原稿の左ページ側
の前記特徴量と前記ブック原稿の右ページ側の前記特徴
量の平均値を前記ページ綴じ部を含む前記短冊領域にお
ける前記統計的特徴量とみなす。
[0179] The invention according to claim 85 is the image distortion correction method according to claim 84, wherein the character circumscribed rectangle which can be a calculation target of the statistical feature is present in the strip region including the page binding portion. Calculating the feature amount of the strip region including the page binding portion using the character circumscribed rectangle, and calculating the statistical circumscription of the character region in the strip region including the page binding portion. If there is no rectangle, the statistical feature amount in the strip region including the page binding unit is the average value of the feature amount on the left page side of the book document and the feature amount on the right page side of the book document. I reckon.

【0180】したがって、ページ綴じ部を含む短冊領域
に文字外接矩形が存在しない場合であっても、ページ綴
じ部を含む短冊領域の統計的特徴量の算出が可能にな
る。
Therefore, even if there is no character circumscribed rectangle in the strip region including the page binding portion, the statistical feature amount of the strip region including the page binding portion can be calculated.

【0181】請求項86記載の発明は、請求項84記載
の画像歪み補正方法において、前記ページ綴じ部を含む
前記短冊領域に前記統計的特徴量の算出対象となり得る
前記文字外接矩形が存在する場合は、当該文字外接矩形
を利用して前記ページ綴じ部を含む前記短冊領域の前記
特徴量を算出し、前記ページ綴じ部を含む前記短冊領域
に前記統計的特徴量の算出対象となり得る前記文字外接
矩形が存在しない場合は、前記ページ綴じ部を含む前記
短冊領域における前記統計的特徴量は未定とする。
The invention according to claim 86 is the image distortion correction method according to claim 84, wherein the character circumscribed rectangle which can be a target of calculation of the statistical feature is present in the strip region including the page binding portion. Calculating the feature amount of the strip region including the page binding portion using the character circumscribed rectangle, and calculating the statistical circumscription of the character region in the strip region including the page binding portion. If there is no rectangle, the statistical feature amount in the strip region including the page binding portion is undecided.

【0182】したがって、ページ綴じ部を含む短冊領域
に文字外接矩形が存在しない場合には、ページ綴じ部を
含む短冊領域の統計的特徴量の算出が回避される。
Therefore, when there is no character circumscribed rectangle in the strip area including the page binding section, the calculation of the statistical feature amount of the strip area including the page binding section is avoided.

【0183】請求項87記載の発明は、請求項86記載
の画像歪み補正方法において、前記ページ綴じ部を含む
前記短冊領域における前記統計的特徴量が未定の場合、
前記推定歪み量を“1”とする。
The invention according to claim 87 is based on the image distortion correction method according to claim 86, wherein the statistical feature amount in the strip region including the page binding portion is undecided.
The estimated distortion amount is “1”.

【0184】したがって、ページ綴じ部を含む短冊領域
に文字外接矩形が存在しないために、ページ綴じ部を含
む短冊領域の統計的特徴量の算出が回避されており、こ
の領域はもともと画像の歪みが無い領域である可能性が
高いことから、文字外接矩形が存在しないページ綴じ部
を含む短冊領域の画像を補正の対象外とすることが可能
になる。
Accordingly, since there is no character circumscribed rectangle in the strip area including the page binding section, the calculation of the statistical feature of the strip area including the page binding section is avoided. Since there is a high possibility that the region is absent, it is possible to exclude the image of the strip region including the page binding portion having no character circumscribed rectangle from the correction target.

【0185】請求項88記載の発明は、請求項84ない
し87の何れか一記載の画像歪み補正方法において、前
記フィルタリング処理を施す際に、前記ブック原稿の左
ページのフィルタリングには左ページ用の前記特徴量を
用い、前記ブック原稿の右ページのフィルタリングには
右ページ用の前記特徴量を用いる。
The invention according to claim 88 is the image distortion correction method according to any one of claims 84 to 87, wherein the filtering of the left page of the book document is performed using a left page filter when performing the filtering process. The feature value is used, and the right page feature value is used for filtering the right page of the book document.

【0186】したがって、書籍の表紙や裏表紙に近いペ
ージを開いたときのようにブック原稿のページ綴じ部の
左右でページの歪み方が大きく異なるために、ページ綴
じ部の左右での文字外接矩形の歪み量の差が大きくなる
場合であっても、それぞれ独立に歪み量の推定処理を行
うことで、より良好な補正結果を得ることが可能にな
る。
Therefore, as in the case where a page close to the front or back cover of a book is opened, the page distortion is greatly different between the left and right sides of the page binding section of the book document. Even when the difference between the distortion amounts becomes large, it is possible to obtain a better correction result by independently performing the distortion amount estimation processing.

【0187】請求項89記載の発明の画像読取装置は、
原稿画像を読み取る画像読取手段と、この画像読取手段
により読み取られたスキャン画像の補正を行う請求項1
ないし22の何れか一記載の画像歪み補正装置と、を備
える。
[0187] The image reading apparatus according to the 89th aspect of the present invention,
2. An image reading means for reading a document image, and correcting a scanned image read by the image reading means.
23. The image distortion correction device according to any one of claims 22 to 22.

【0188】したがって、請求項1ないし22の何れか
一記載の発明と同様の作用を奏する画像読取装置が得ら
れる。
Therefore, an image reading apparatus having the same effect as the invention according to any one of claims 1 to 22 is obtained.

【0189】請求項90記載の発明の画像形成装置は、
原稿画像を読み取る画像読取手段と、この画像読取手段
により読み取られたスキャン画像の補正を行う請求項1
ないし22の何れか一記載の画像歪み補正装置と、この
画像歪み補正装置から出力される画像データに基づいた
画像を用紙上に印刷する画像印刷装置と、を備える。
The image forming apparatus according to the ninety aspect of the present invention
2. An image reading means for reading a document image, and correcting a scanned image read by the image reading means.
23. An image distortion correction apparatus according to any one of claims 22 to 22, and an image printing apparatus that prints an image on paper based on image data output from the image distortion correction apparatus.

【0190】したがって、請求項1ないし22の何れか
一記載の発明と同様の作用を奏する画像形成装置が得ら
れる。
Therefore, an image forming apparatus having the same effects as the invention according to any one of claims 1 to 22 is obtained.

【0191】[0191]

【発明の実施の形態】本発明の実施の一形態を図1ない
し図20に基づいて説明する。本実施の形態の画像歪み
補正装置は画像形成装置であるデジタル複写機に備えら
れており、画像読取装置としてはデジタル複写機のスキ
ャナ部が適用されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described with reference to FIGS. The image distortion correcting apparatus according to the present embodiment is provided in a digital copying machine which is an image forming apparatus, and a scanner unit of the digital copying machine is applied as an image reading apparatus.

【0192】ここで、図1はスキャナ部1の構成を示す
縦断正面図である。図1に示すように、スキャナ部1
は、原稿を載置するコンタクトガラス2と、原稿の露光
用の露光ランプ3および第一反射ミラー4からなる第一
走行体5と、第二反射ミラー6および第三反射ミラー7
からなる第二走行体8と、原稿の画像を読み取る撮像素
子としてのCCD(Charge Coupled Device)9と、こ
のCCD9に結像させるためのレンズユニット10と、
原稿を載置する基準になるとともにコンタクトガラス2
のズレや外れを防止する原稿スケール11と、この原稿
スケール11の下側に設置されたシェーディング補正用
の白基準板12と、フレーム14とを備えている。CC
D9はセンサボード13上に形成されている。
Here, FIG. 1 is a vertical sectional front view showing the structure of the scanner section 1. As shown in FIG. As shown in FIG.
Is a contact glass 2 on which a document is placed, a first traveling body 5 including an exposure lamp 3 and a first reflection mirror 4 for exposing the document, a second reflection mirror 6 and a third reflection mirror 7
A second traveling body 8 comprising a CCD, a CCD (Charge Coupled Device) 9 as an image sensor for reading an image of a document, and a lens unit 10 for forming an image on the CCD 9.
It becomes the standard for placing the manuscript and the contact glass 2
An original scale 11 for preventing displacement and separation of the original, a white reference plate 12 for shading correction and a frame 14 installed below the original scale 11 are provided. CC
D9 is formed on the sensor board 13.

【0193】原稿の走査時には、第一走行体5および第
二走行体8はステッピングモータ24(図3参照)によ
って副走査方向に移動する。すなわち、第一走行体5お
よび第二走行体8がコンタクトガラス2の下を走行し
て、露光ランプ3で原稿を露光走査し、その反射光を第
一反射ミラー4、第二反射ミラー6および第三反射ミラ
ー7で反射して、レンズユニット10を通してCCD9
に結像させる。ここに、画像読取手段が実現されてい
る。
When scanning a document, the first traveling body 5 and the second traveling body 8 are moved in the sub-scanning direction by the stepping motor 24 (see FIG. 3). That is, the first traveling body 5 and the second traveling body 8 travel under the contact glass 2 to expose and scan the original with the exposure lamp 3, and reflect the reflected light to the first reflecting mirror 4, the second reflecting mirror 6, and The light is reflected by the third reflection mirror 7 and passes through the lens unit 10 to the CCD 9.
Image. Here, an image reading unit is realized.

【0194】このようなスキャナ部1は、このスキャナ
部1で読み取られた原稿の画像に基づく画像データに応
じ、例えば電子写真方式で用紙上に画像の形成を行う画
像印刷装置であるプリンタ部(図示せず)を備えるデジ
タル複写機16に搭載されている。図2は、スキャナ部
1を搭載したデジタル複写機16の上部部分を示す斜視
図である。図2に示すように、スキャナ部1には、コン
タクトガラス2に対して開閉自在な圧板17と、この圧
板17の開閉を検出する開閉センサ18とが設けられて
いる。なお、デジタル複写機16に備えられるプリンタ
としては、電子写真方式のほか、インクジェット方式、
昇華型熱転写方式、銀塩写真方式、直接感熱記録方式、
溶融型熱転写方式など、種々の印刷方式を適用すること
ができる。その具体的な構成については周知であるた
め、詳細な説明は省略する。
Such a scanner unit 1 is a printer unit (an image printing apparatus) that forms an image on paper in an electrophotographic manner, for example, in accordance with image data based on an image of a document read by the scanner unit 1. (Not shown). FIG. 2 is a perspective view showing an upper portion of the digital copying machine 16 on which the scanner unit 1 is mounted. As shown in FIG. 2, the scanner unit 1 is provided with a pressure plate 17 that can be opened and closed with respect to the contact glass 2, and an open / close sensor 18 that detects whether the pressure plate 17 is opened or closed. In addition, as a printer provided in the digital copying machine 16, in addition to an electrophotographic system, an inkjet system,
Sublimation type thermal transfer method, silver halide photographic method, direct thermal recording method,
Various printing methods such as a fusion type thermal transfer method can be applied. Since the specific configuration is well known, detailed description is omitted.

【0195】図3は、スキャナ部1の制御系の電気的な
接続を示すブロック図である。図3に示すように、この
制御系は、スキャナ部1の全体を制御するメイン制御部
19に、CCD9で読み取った画像データに各種の画像
処理を施す回路である画像処理部20と、第一走行体5
および第二走行体8を制御する回路である走行体制御部
21と、デジタル複写機16への各種操作を受け付け、
また、各種メッセージを表示する操作パネル22と、C
CD9で読み取った画像データや所定のデータ等を記憶
するメモリ23とが接続されている。なお、操作パネル
22には、コピー開始を宣言するためのコピースタート
キー等が設けられている。また、走行体制御部21に
は、露光ランプ3と、第一走行体5および第二走行体8
を駆動するステッピングモータ24と、第一走行体5お
よび第二走行体8がホームポジションにあるか否かを検
出するスキャナホームポジションセンサ(HPセンサ)
25と、開閉センサ18とが接続されている。
FIG. 3 is a block diagram showing the electrical connection of the control system of the scanner section 1. As shown in FIG. As shown in FIG. 3, the control system includes a main control unit 19 that controls the entire scanner unit 1, an image processing unit 20 that is a circuit that performs various types of image processing on image data read by the CCD 9, Running body 5
And a traveling body control unit 21 which is a circuit for controlling the second traveling body 8 and various operations to the digital copying machine 16 are received,
An operation panel 22 for displaying various messages;
A memory 23 for storing image data read by the CD 9, predetermined data, and the like is connected. The operation panel 22 is provided with a copy start key for declaring the start of copying. In addition, the traveling body control unit 21 includes the exposure lamp 3, the first traveling body 5 and the second traveling body 8.
Home position sensor (HP sensor) for detecting whether or not the first traveling body 5 and the second traveling body 8 are at the home position.
25 and the open / close sensor 18 are connected.

【0196】ここで、図4は画像処理部20の基本的な
内部構成を示すブロック図である。図4に示すように、
画像処理部20は、原稿をCCD9により読み取ったア
ナログ画像信号の増幅処理やデジタル変換処理等を行う
アナログビデオ処理部26、シェーディング補正処理を
行うシェーディング補正処理部27、シェーディング補
正処理後のデジタル画像信号に、MTF補正、変倍処
理、γ補正等の各種画像データ処理を行いスキャン画像
を生成する画像データ処理部28、本実施の形態の特長
的な機能であるスキャン画像の歪み補正機能を実現する
画像歪み補正部29から構成されている。以上のような
画像処理後のデジタル画像信号は、メイン制御部19を
介してプリンタ部に送信されて、画像形成に供される。
FIG. 4 is a block diagram showing the basic internal configuration of the image processing section 20. As shown in FIG.
The image processing unit 20 includes an analog video processing unit 26 that performs an amplification process and a digital conversion process of an analog image signal obtained by reading a document by the CCD 9, a shading correction processing unit 27 that performs a shading correction process, and a digital image signal after the shading correction process. An image data processing unit 28 that performs various image data processing such as MTF correction, scaling processing, and γ correction to generate a scan image, and realizes a scan image distortion correction function that is a characteristic function of the present embodiment. The image distortion correcting section 29 is provided. The digital image signal after the image processing as described above is transmitted to the printer unit via the main control unit 19, and is provided for image formation.

【0197】メイン制御部19は、図5に示すように、
各部を集中的に制御するCPU(Central Processing U
nit)31を備えており、このCPU31には、BIO
Sなどを記憶した読出し専用メモリであるROM(Read
Only Memory)32と、各種データを書換え可能に記憶
してCPU31の作業エリアとして機能するRAM(Ra
ndom Access Memory)33とがバス34で接続されてお
り、マイクロコンピュータを構成している。さらにバス
34には、制御プログラムが記憶されたHDD35と、
CD(Compact Disc)−ROM37を読み取るCD−R
OMドライブ36と、プリンタ部等との通信を司るイン
タフェース(I/F)38とが接続されている。
The main control unit 19, as shown in FIG.
CPU (Central Processing U) that controls each part centrally
nit) 31. The CPU 31 has a BIO
ROM (Read-only memory) that stores
Only Memory) 32 and a RAM (Ra) that stores various data in a rewritable manner and functions as a work area for the CPU 31.
ndom Access Memory) 33 is connected by a bus 34 to constitute a microcomputer. Further, the bus 34 has an HDD 35 storing a control program,
CD (Compact Disc)-CD-R that reads ROM37
The OM drive 36 is connected to an interface (I / F) 38 that controls communication with a printer unit and the like.

【0198】図5に示すCD−ROM37は、この発明
の記憶媒体を実施するものであり、所定の制御プログラ
ムが記憶されている。CPU31は、CD−ROM37
に記憶されている制御プログラムをCD−ROMドライ
ブ36で読み取り、HDD35にインストールする。こ
れにより、メイン制御部19は、後述するような各種の
処理を行うことが可能な状態となる。
A CD-ROM 37 shown in FIG. 5 embodies the storage medium of the present invention, and stores a predetermined control program. The CPU 31 has a CD-ROM 37
Is read by the CD-ROM drive 36 and installed in the HDD 35. Accordingly, the main control unit 19 is in a state where various processes described below can be performed.

【0199】なお、記憶媒体としては、CD−ROM3
7のみならず、DVDなどの各種の光ディスク、各種光
磁気ディスク、フロッピー(登録商標)ディスクなどの
各種磁気ディスク、半導体メモリ等、各種方式のメディ
アを用いることができる。また、インターネットなどの
ネットワークからプログラムをダウンロードし、HDD
35にインストールするようにしてもよい。この場合
に、送信側のサーバでプログラムを記憶している記憶装
置も、この発明の記憶媒体である。なお、プログラム
は、所定のOS(Operating System)上で動作するもの
であってもよいし、その場合に後述の各種処理の一部の
実行をOSに肩代わりさせるものであってもよいし、ワ
ープロソフトなど所定のアプリケーションソフトやOS
などを構成する一群のプログラムファイルの一部として
含まれているものであってもよい。
The storage medium is a CD-ROM 3
In addition to the media 7, various types of media such as various types of optical disks such as DVDs, various types of magneto-optical disks, various types of magnetic disks such as floppy (registered trademark) disks, and semiconductor memories can be used. You can also download programs from networks such as the Internet,
35 may be installed. In this case, a storage device storing a program in the server on the transmission side is also a storage medium of the present invention. Note that the program may operate on a predetermined OS (Operating System), and in that case, the OS may substitute a part of execution of various processes to be described later, Predetermined application software such as software and OS
And the like may be included as a part of a group of program files constituting the above.

【0200】次に、メイン制御部19に設けられたCP
U31が制御プログラムに基づいて実行する各種処理の
内容について説明する。ここでは、CPU31が実行す
る処理のうち、本実施の形態のスキャナ部1が備える特
長的な機能であるスキャン画像の歪み補正機能を実現す
る画像歪み補正部29におけるスキャン画像の歪み補正
処理についてのみ説明する。
Next, the CP provided in the main control unit 19
The contents of various processes executed by U31 based on the control program will be described. Here, of the processing executed by the CPU 31, only the distortion correction processing of the scan image in the image distortion correction unit 29 that realizes the distortion correction function of the scan image, which is a characteristic function of the scanner unit 1 of the present embodiment, is described. explain.

【0201】図6は、スキャン画像の歪み補正処理の流
れを概略的に示すフローチャートである。なお、ここで
は、図7に示すように、ブック原稿40がそのページ綴
じ部41とスキャナ部1のスキャンの主走査方向とを垂
直になるように位置させてコンタクトガラス2に載置さ
れている場合におけるスキャン画像の歪み補正について
説明する。
FIG. 6 is a flowchart schematically showing the flow of the scan image distortion correction processing. Here, as shown in FIG. 7, the book document 40 is placed on the contact glass 2 so that the page binding section 41 and the main scanning direction of the scanning of the scanner section 1 are perpendicular to each other. Correction of the distortion of the scanned image in the case will be described.

【0202】図6に示すように、ステップS1において
は、画像データ処理部28から出力されたスキャン画像
を二値化処理し、この二値化処理された画像データ(二
値化画像)に基づいて文字の外接矩形A(図8参照)を
抽出する。ここに、文字外接矩形抽出手段の機能が実行
される。ここで、文字認識処理については周知の技術で
あるので、その説明は省略する。このように文字の外接
矩形Aを抽出するのは、この文字の外接矩形Aの形状の
変化を基に、スキャン画像の歪みを補正するためであ
る。ここでは、図8に示すように、文字外接矩形Aの横
辺の長さw、縦辺の長さh、および、文字の中心Bを定
義する。ここで、文字の中心Bは、外接矩形Aの対角線
の交点である。なお、ここでは、画像データ処理部28
から出力されたスキャン画像を二値化処理してから文字
の外接矩形Aを抽出したが、これに限るものではなく、
スキャン画像(多値画像)から文字の外接矩形Aを抽出
するようにしても良い。
As shown in FIG. 6, in step S1, the scanned image output from the image data processing section 28 is binarized, and based on the binarized image data (binary image). Then, a circumscribed rectangle A (see FIG. 8) of the character is extracted. Here, the function of the character circumscribed rectangle extracting means is executed. Here, the character recognition processing is a well-known technique, and a description thereof will be omitted. The reason why the circumscribed rectangle A of the character is extracted is to correct the distortion of the scanned image based on the change in the shape of the circumscribed rectangle A of the character. Here, as shown in FIG. 8, the length w of the horizontal side, the length h of the vertical side, and the center B of the character of the character circumscribed rectangle A are defined. Here, the center B of the character is the intersection of the diagonal lines of the circumscribed rectangle A. Here, the image data processing unit 28
The circumscribed rectangle A of the character is extracted after the scan image output from is binarized, but the present invention is not limited to this.
A circumscribed rectangle A of a character may be extracted from a scanned image (multi-valued image).

【0203】続いて、図9に示すように、二値化画像を
ブック原稿40のページ綴じ部41に平行な方向の複数
の短冊状の領域Cに分割した後(ステップS2)、各短
冊領域Cについて、そこに含まれる文字外接矩形Aに関
する特徴量を求める(ステップS3)。ここで、ある短
冊領域Cに含まれる文字外接矩形Aとは、その中心が当
該短冊領域Cに含まれるような外接矩形Aのことであ
る。例えば、図9の短冊領域C1に含まれる外接矩形A
は、図中の網掛けを施した矩形である。
Subsequently, as shown in FIG. 9, after the binarized image is divided into a plurality of strip-shaped areas C in a direction parallel to the page binding section 41 of the book document 40 (step S2), each strip area With respect to C, a feature amount related to the character circumscribed rectangle A included therein is obtained (step S3). Here, the character circumscribed rectangle A included in a certain strip area C is a circumscribed rectangle A whose center is included in the strip area C. For example, the circumscribed rectangle A included in the strip area C1 in FIG.
Is a shaded rectangle in the figure.

【0204】さて、上記の文字外接矩形Aに関する特徴
量は、 (文字の横辺の長さ)/(文字の縦辺の長さ)=w/h を基に求められる。すなわち、各短冊領域Cについて、
そこに含まれる全ての文字外接矩形Aのw/hの値の平
均値をその短冊領域Cの特徴量とするのである。
The feature value of the character circumscribing rectangle A is obtained based on (length of horizontal side of character) / (length of vertical side of character) = w / h. That is, for each strip area C,
The average value of the w / h values of all the character circumscribed rectangles A included therein is used as the feature value of the strip region C.

【0205】しかしながら、単に、w/hの平均値を算
出すると不適切な場合がある。文字の中には、句読点や
数式中の記号のようにそのサイズが元々小さく、w/h
の値が不安定なものがある。また、矩形抽出の際に隣接
する文字同士がくっついて抽出されてしまい、wが極端
に大きい文字外接矩形Aが生じる場合もある。特徴量を
求める場合は、このような特殊な文字や極端にwが大き
いものを予め排除しておく必要がある。そこで、続くス
テップS4においては、予め閾値を定めておいて、hの
値がその閾値より小さな文字外接矩形Aを予め排除する
とともに、w/hの比率に関する閾値を予め定めてお
き、w/hの値が其の閾値よりも大きい文字外接矩形A
も予め排除する。例えば、図10中に示した網掛けを施
した文字外接矩形Aが予め排除されることになる。
However, it is sometimes inappropriate to simply calculate the average value of w / h. Some characters are originally small in size, such as punctuation marks and symbols in mathematical formulas, w / h
Some values are unstable. In addition, in extracting a rectangle, adjacent characters may be stuck together and extracted, resulting in a character circumscribed rectangle A having an extremely large w. When a feature amount is obtained, it is necessary to eliminate such special characters and those having an extremely large w in advance. Therefore, in the subsequent step S4, a threshold value is determined in advance, the character circumscribed rectangle A having a value of h smaller than the threshold value is excluded in advance, and a threshold value for the w / h ratio is determined in advance. Circumscribed rectangle A whose value is larger than the threshold
Are also eliminated in advance. For example, the shaded character circumscribed rectangle A shown in FIG. 10 is removed in advance.

【0206】続くステップS5においては、前述したよ
うに極端な文字外接矩形Aを排除した後に、各短冊領域
C内の文字外接矩形Aのw/hの平均値を求める。図1
1に各短冊領域C内の外接矩形Aのw/hの平均値の一
例を示す。なお、図11中の短冊領域C2は、ブック原
稿40のページ綴じ部41を含む短冊領域である。
In the following step S5, the average value of w / h of the character circumscribed rectangle A in each strip region C is obtained after excluding the extreme character circumscribed rectangle A as described above. Figure 1
1 shows an example of the average value of w / h of the circumscribed rectangle A in each strip region C. Note that the strip area C2 in FIG. 11 is a strip area including the page binding section 41 of the book document 40.

【0207】続いて、ブック原稿40のページ綴じ部4
1を含む短冊領域C2に文字外接矩形Aが存在するか否
かを判断する(ステップS6)。これは、図10に示す
ように、一般にはブック原稿40のページ綴じ部41付
近には文字外接矩形Aが存在しない場合が多いからであ
る。ブック原稿40のページ綴じ部41を含む短冊領域
C2に文字外接矩形Aが存在する場合は(ステップS6
のY)、その文字外接矩形Aを利用して特徴量は算出さ
れているのでそのままステップS8に進む。
Subsequently, the page binding section 4 of the book document 40
It is determined whether or not the character circumscribed rectangle A exists in the strip area C2 including 1 (step S6). This is because, as shown in FIG. 10, the character circumscribed rectangle A generally does not exist near the page binding portion 41 of the book document 40 in many cases. When the character circumscribed rectangle A exists in the strip area C2 including the page binding section 41 of the book document 40 (step S6).
Y), since the characteristic amount has been calculated using the character circumscribed rectangle A, the process directly proceeds to step S8.

【0208】一方、ブック原稿40のページ綴じ部41
を含む短冊領域C2に文字外接矩形Aが存在しない場合
は(ステップS6のN)、ステップS7に進み、ブック
原稿40のページ綴じ部41を含む短冊領域C2の特徴
量を求める。なお、ブック原稿40のページ綴じ部41
を含む短冊領域C2の識別は、例えば、スキャン画像
(例えば、モノクロ多値画像)の地肌濃度変化を各短冊
領域Cごとに求め、短冊領域C内の最も濃度の薄い画素
値を求めることにより実現される。図12は地肌濃度変
化を求めた一例を示したものであり、地肌濃度が最も濃
い短冊領域が、ブック原稿40のページ綴じ部41を含
む短冊領域C2であるとみなされる。
On the other hand, the page binding section 41 of the book document 40
If the character circumscribed rectangle A does not exist in the strip area C2 including the character (N in step S6), the process proceeds to step S7, and the feature amount of the strip area C2 including the page binding unit 41 of the book document 40 is obtained. The page binding unit 41 of the book document 40
Of the strip region C2 including, for example, is realized by obtaining a background density change of a scanned image (for example, a monochrome multivalued image) for each strip region C, and obtaining a pixel value of the lightest density in the strip region C. Is done. FIG. 12 shows an example in which the background density change is obtained. The strip region having the highest background density is regarded as the strip region C2 including the page binding portion 41 of the book document 40.

【0209】なお、スキャン画像がカラー多値画像の場
合におけるブック原稿40のページ綴じ部41を含む短
冊領域C2の識別は、例えばRGB成分の何れか一つの
成分(例えばG成分)に着目し、そのG成分の地肌濃度
を使用して識別するようにすれば良い。また、RGBを
色変換して輝度成分と色差成分とに分け、輝度成分を使
用してブック原稿40のページ綴じ部41を含む短冊領
域C2を識別するようにしても良い。
When the scan image is a color multi-valued image, the identification of the strip region C2 including the page binding portion 41 of the book document 40 focuses on, for example, any one of the RGB components (for example, the G component). The identification may be performed using the background density of the G component. Alternatively, the RGB area may be converted into a luminance component and a color difference component by color conversion, and the strip region C2 including the page binding portion 41 of the book document 40 may be identified using the luminance component.

【0210】ブック原稿40のページ綴じ部41を含む
短冊領域C2の特徴量は、次のようにして定められる。
ここでは、統計的特徴量の算出対象となり得る文字外接
矩形Aが存在し、かつ、ページ綴じ部41を含む短冊領
域C2の最近傍である短冊領域Cの特徴量に対して予め
定めた定数値を乗じることにより算出された値が、ブッ
ク原稿40のページ綴じ部41を含む短冊領域C2にお
ける特徴量とみなされるものである。つまり、図11に
示した例では、ブック原稿40のページ綴じ部41を含
む短冊領域C2の左右何れの短冊領域C3,C4にも文
字外接矩形Aが存在するので、どちらか適当な方の特徴
量を選択し(ここでは右側の○印の方)、それに予め定
めた定数値(ここでは0.5)を乗じて、これをブック
原稿40のページ綴じ部41を含む短冊領域C2の特徴
量としている。
The feature amount of the strip area C2 including the page binding section 41 of the book document 40 is determined as follows.
Here, there is a character circumscribing rectangle A that can be a statistical feature amount calculation target, and a predetermined constant value for the feature amount of the strip region C that is the closest to the strip region C2 including the page binding unit 41. Is calculated as the characteristic amount in the strip region C2 including the page binding portion 41 of the book document 40. That is, in the example shown in FIG. 11, the character circumscribed rectangle A exists in the left and right strip regions C3 and C4 of the strip region C2 including the page binding unit 41 of the book document 40, so that whichever is more appropriate. An amount is selected (here, the circle on the right side) is multiplied by a predetermined constant value (here, 0.5), and this is multiplied by the characteristic amount of the strip region C2 including the page binding portion 41 of the book document 40. And

【0211】続くステップS8においては、各短冊領域
Cの特徴量に対する適切なフィルタリング処理、例え
ば、短冊領域Cの位置の変化方向(即ち主走査方向)に
関する移動平均を求める処理を施すなどして、短冊領域
Cの位置の変化に対する(主走査方向の)特徴量の変化
がなだらかになるようにする。ただし、ここでもブック
原稿40のページ綴じ部41付近は特別な処理が必要と
なる。なぜなら、主走査方向に関して長さが全て等しい
ウィンドウを用いてフィルタリングを行うと、ブック原
稿40のページ綴じ部41付近の特徴量の変化の鋭さが
失われてしまうからである。
In the following step S8, an appropriate filtering process for the characteristic amount of each strip region C, for example, a process of obtaining a moving average in the direction of change in the position of the strip region C (ie, the main scanning direction) is performed. The change in the feature amount (in the main scanning direction) with respect to the change in the position of the strip region C is made gentle. However, also in this case, special processing is required in the vicinity of the page binding section 41 of the book document 40. This is because if filtering is performed using windows whose lengths are all equal in the main scanning direction, the sharpness of the change in the feature amount near the page binding portion 41 of the book document 40 is lost.

【0212】ここで、長さが全て5であるウィンドウを
用いて図11に示した各短冊領域Cの特徴量に対してフ
ィルタリング処理を施した結果を図13に示す。図13
に示すように、長さが全て5であるウィンドウを用いて
フィルタリング処理を施した場合には、ブック原稿40
のページ綴じ部41付近の特徴量(w/h)の変化がな
だらかになり過ぎてしまう。このような場合には、ブッ
ク原稿40のページ綴じ部41付近での適切な画像補正
が不可能になってしまう。
Here, FIG. 13 shows a result obtained by performing a filtering process on the feature amount of each strip region C shown in FIG. 11 using a window whose length is all five. FIG.
As shown in the figure, when the filtering process is performed using a window whose length is all 5, the book original 40
The characteristic amount (w / h) in the vicinity of the page binding unit 41 changes too slowly. In such a case, appropriate image correction near the page binding section 41 of the book document 40 becomes impossible.

【0213】そこで、本実施の形態においては、フィル
タリング処理の際には、フィルタのウィンドウがブック
原稿40のページ綴じ部41を含む短冊領域C2の両側
の短冊領域C3,C4に跨がらないように、ページ綴じ
部41付近でウィンドウ長を調整する。ここで、図14
はページ綴じ部41付近でウィンドウ長を調整してフィ
ルタリング処理を施した結果を示すグラフである。図1
4に示すように、ページ綴じ部41付近でウィンドウ長
を調整した場合には、ページ綴じ部41付近の特徴量
(w/h)の変化を適切に表現できるので、良好な画像
補正が実現できる。
Therefore, in the present embodiment, at the time of the filtering process, the window of the filter is set so as not to straddle the strip areas C3 and C4 on both sides of the strip area C2 including the page binding section 41 of the book document 40. The window length is adjusted near the page binding section 41. Here, FIG.
Is a graph showing the result of performing the filtering process by adjusting the window length near the page binding unit 41. Figure 1
As shown in FIG. 4, when the window length is adjusted in the vicinity of the page binding section 41, a change in the characteristic amount (w / h) in the vicinity of the page binding section 41 can be appropriately expressed, so that good image correction can be realized. .

【0214】続くステップS9においては、各短冊領域
Cの推定歪み量を算出する。各短冊領域Cの推定歪み量
の算出手法は、以下に示す通りである。
In the following step S9, the estimated distortion amount of each strip region C is calculated. The calculation method of the estimated distortion amount of each strip region C is as follows.

【0215】まず、短冊領域の歪み量を算出するための
基準となる短冊領域(基準短冊領域)を定める。ここで
は、歪みが最も小さいと考えられる短冊領域C、例え
ば、特徴量(w/h)が最大である短冊領域Cを基準短
冊領域とする。この処理は左右ページで共通に行っても
良いが、左右独立に基準短冊領域を定めても構わない。
図14においては、左右独立に基準短冊領域を定めた例
を示しており、○印を施した短冊領域Cが基準短冊領域
であり、左側の基準特徴量を“Lw0/Lh0”、右側
の基準特徴量を“Rw0/Rh0”、でそれぞれ示して
いる。
First, a strip area (reference strip area) serving as a reference for calculating the distortion amount of the strip area is determined. Here, a strip area C that is considered to have the smallest distortion, for example, a strip area C having the largest characteristic amount (w / h) is set as a reference strip area. This processing may be performed in common for the left and right pages, but the reference strip area may be determined independently for the left and right pages.
FIG. 14 shows an example in which the reference strip areas are defined independently for the left and right sides. The strip area C marked with a circle is the reference strip area, the left reference feature amount is “Lw0 / Lh0”, and the right reference The feature amount is indicated by “Rw0 / Rh0”, respectively.

【0216】次に、基準短冊領域の特徴量w0/h0を
スキャン画像全体の基準特徴量とし、 (各短冊領域の特徴量)/(基準特徴量)=(w/h)
/(w0/h0) の値を、各短冊領域の推定歪み量として算出する。
Next, the feature value w0 / h0 of the reference strip region is used as the reference feature value of the entire scanned image, and (the feature value of each strip region) / (reference feature value) = (w / h)
The value of / (w0 / h0) is calculated as the estimated distortion amount of each strip region.

【0217】つまり、ステップS2〜S9において、歪
み量推定手段の機能が実行される。
That is, in steps S2 to S9, the function of the distortion amount estimating means is executed.

【0218】なお、ブック原稿40のページ綴じ部41
から外れたページ外側付近の短冊領域Cを基準短冊領域
とすると、ブック原稿40のページ綴じ部41付近とは
フォントや活字のサイズの違いが大きくて、適切な推定
歪み量が算出できない場合も考えられる。そのような画
像を対象とする場合は、基準短冊領域の探索範囲を予め
ブック原稿40のページ綴じ部41付近に限定しておく
のが有効である。これを実現するためには、地肌濃度が
予め定めた濃度よりも濃い短冊領域Cのみから基準短冊
領域を求めるようにすれば良い。
Note that the page binding section 41 of the book document 40
If the strip area C near the outside of the page deviating from the page is set as the reference strip area, there may be a case where it is not possible to calculate an appropriate estimated distortion amount due to a large difference in font and print size from the vicinity of the page binding section 41 of the book document 40. Can be When such an image is targeted, it is effective to limit the search range of the reference strip region to the vicinity of the page binding section 41 of the book document 40 in advance. In order to realize this, the reference strip region may be obtained only from the strip region C whose background density is higher than a predetermined density.

【0219】最後に、スキャン画像に対して、短冊領域
Cの短辺方向(主走査方向)の拡大処理を行い、ブック
原稿40のページ綴じ部41付近の歪みを補正する(ス
テップS10:画像補正手段)。その場合の拡大率は、
ステップS9において算出した推定歪み量の逆数、すな
わち、 (基準特徴量)/(各短冊領域の特徴量)=(w0/h
0)/(w/h) とする。ここで、上記の基準短冊領域を左右共通に定め
た場合には、この拡大率も左右共通の基準特徴量によっ
て算出し、独立に定めた場合には、左右それぞれの基準
特徴量で独立に算出するようにする。図15は、図14
に示した特徴量に基づいて算出した補正拡大率を示した
ものである。
Finally, the scan image is enlarged in the short side direction (main scanning direction) of the strip region C to correct distortion near the page binding section 41 of the book document 40 (step S10: image correction). means). In that case, the magnification is
The reciprocal of the estimated distortion amount calculated in step S9, that is, (reference characteristic amount) / (characteristic amount of each strip region) = (w0 / h)
0) / (w / h). Here, when the above-mentioned reference strip region is defined for both the left and right sides, this enlargement ratio is also calculated based on the reference feature amounts common to the left and right. To do it. FIG.
9 shows the corrected magnification calculated based on the feature amounts shown in FIG.

【0220】なお、ここでも、ブック原稿40のページ
綴じ部41付近から離れた短冊領域Cはもともと画像の
歪みが無い領域である可能性が高いので、拡大処理の対
象としない方が良い場合がある。拡大処理を行ったため
に、かえって不自然な歪みが生じてしまう可能性がある
からである。これを防ぐために、地肌濃度が予め定めた
濃度よりも薄い短冊領域Cについては、推定歪み量を
“1”とする。
[0220] In this case, too, the strip region C of the book document 40 which is remote from the vicinity of the page binding portion 41 is likely to be a region where the image is not originally distorted. is there. This is because there is a possibility that unnatural distortion may occur due to the enlargement processing. In order to prevent this, the estimated distortion amount is set to “1” for the strip region C whose background density is lower than a predetermined density.

【0221】また、短冊領域C内において共通の補正拡
大率を適用した場合、隣接する短冊領域Cの境界部での
補正拡大率が不連続となるため、補正画像が不自然とな
る。そこで、隣接する短冊領域Cの境界部での補正拡大
率が連続的に変化するように、補正拡大率を予め補正し
ておく。これは、例えば図15に示す短冊領域Cの中央
部分の補正拡大率を推定歪み量の逆数を示す点としてプ
ロットし、これらの点を線分で結んで直線補完すること
で、他の部分の補正拡大率とすることで実現できる。以
上の処理により、スキャン画像の主走査方向の補正拡大
率が確定する。
Further, when a common correction magnification rate is applied in the strip area C, the correction image becomes unnatural because the correction magnification rate at the boundary between the adjacent strip areas C becomes discontinuous. Therefore, the correction magnification is corrected in advance so that the correction magnification at the boundary between the adjacent strip regions C changes continuously. This is done, for example, by plotting the correction enlargement ratio of the central portion of the strip region C shown in FIG. 15 as points indicating the reciprocal of the estimated distortion amount, connecting these points with line segments, and linearly complementing the other portions. This can be realized by setting the correction magnification. Through the above processing, the correction magnification rate of the scanned image in the main scanning direction is determined.

【0222】なお、画像の拡大処理は、例えばコピーの
変倍機能として良く使われる3次関数のコンボリューシ
ョン法等を用いて実行される。
Note that the image enlargement processing is executed by using, for example, a convolution method of a cubic function often used as a copy scaling function.

【0223】次に、図16に示すように、書籍の表紙や
裏表紙に近いページを開いたときのようにブック原稿4
0のページ綴じ部41の左右でページの歪み方が大きく
異なるために、ページ綴じ部41の左右での文字外接矩
形Aの歪み量の差が大きくなる場合の処理について説明
する。
Next, as shown in FIG. 16, the book original 4 is displayed as if a page close to the front or back cover of the book was opened.
A description will be given of a process in the case where the difference in the amount of distortion of the character circumscribed rectangle A between the left and right sides of the page binding unit 41 is large because the left and right sides of the page binding unit 41 have significantly different pages.

【0224】ブック原稿40のページ綴じ部41の左右
でページの歪み方が大きく異なる場合における各短冊領
域Cの特徴量(w/h)の一例を図17に示す。図17
に示すように、ブック原稿40のページ綴じ部41の左
右でページの歪み方が大きく異なる場合には、ページ綴
じ部41を含む短冊領域C2に隣接する両側の短冊領域
C3,C4の特徴量(図17中の○印)に差が生じるこ
とになる。つまり、この場合には、ページ綴じ部41を
含む短冊領域C2に隣接する両側の短冊領域Cにおける
文字外接矩形Aの歪み量の差が大きくなる。
FIG. 17 shows an example of the characteristic amount (w / h) of each strip region C in a case where the page distortion is greatly different between the left and right sides of the page binding section 41 of the book document 40. FIG.
As shown in FIG. 7, when the page distortion is greatly different between the left and right sides of the page binding section 41 of the book document 40, the characteristic amounts ( A difference occurs in (circle mark in FIG. 17). That is, in this case, the difference in the distortion amount of the character circumscribed rectangle A in the strip areas C on both sides adjacent to the strip area C2 including the page binding section 41 increases.

【0225】このような場合に対応するには、前述した
ステップS7において、統計的特徴量の算出対象となり
得る文字外接矩形Aが存在し、かつ、ページ綴じ部41
を含む短冊領域C2の最近傍である短冊領域Cの特徴量
に対して予め定めた定数値を乗じることにより算出され
た値を、ブック原稿40のページ綴じ部41を含む短冊
領域C2における統計的特徴量とみなす処理を、左右の
ページに関してそれぞれ独立に行い、左ページ側の特徴
量と右ページ側の特徴量の2つの特徴量を対応づけるの
が有効である。つまり、図17に示した例では、ページ
綴じ部41の左右の短冊領域C3,C4のそれぞれの特
徴量に予め定めた定数値(ここでは0.5)を乗じて、
その両方をページ綴じ部41を含む短冊領域C2に対応
づけている。
In order to cope with such a case, in step S7 described above, a character circumscribed rectangle A that can be a target of calculation of a statistical feature exists, and the page binding section 41
The value calculated by multiplying the feature value of the strip area C closest to the strip area C2 including a predetermined constant value by a predetermined constant value is used as the statistical value in the strip area C2 including the page binding unit 41 of the book document 40. It is effective to perform the processing regarded as the feature amount independently for the left and right pages, and to associate the two feature amounts of the left page side feature amount and the right page side feature amount. That is, in the example shown in FIG. 17, the characteristic amount of each of the left and right strip regions C3 and C4 of the page binding unit 41 is multiplied by a predetermined constant value (here, 0.5).
Both of them are associated with the strip region C2 including the page binding section 41.

【0226】そして、続くステップS8において特徴量
に対してフィルタリング処理を行う際に、左ページのフ
ィルタリングには左ページ用の特徴量を用い、右ページ
のフィルタリングには右ページ用の特徴量を用いる。こ
こで、図17に示した各短冊領域Cの特徴量に対してフ
ィルタリング処理を施した結果を図18に示す。
Then, when performing the filtering process on the feature value in the subsequent step S8, the feature value for the left page is used for filtering the left page, and the feature value for the right page is used for filtering the right page. . Here, FIG. 18 shows a result obtained by performing a filtering process on the feature amount of each strip region C shown in FIG.

【0227】この場合、ページ綴じ部41を含む短冊領
域C2自体の特徴量をいかに設定するかが問題となる
が、例えば、ページ綴じ部41を含む短冊領域C2に上
記のように対応づけられた左右ページの特徴量の平均値
をこれに設定するという方法があり、図18ではその場
合を示している。また、この段階ではページ綴じ部41
を含む短冊領域C2の特徴量は未定としておき、後の推
定歪み量の設定の際に、それを“1”と設定するという
方法もある。
In this case, how to set the characteristic amount of the strip area C2 including the page binding section 41 becomes a problem. For example, the strip area C2 including the page binding section 41 is associated as described above. There is a method of setting the average value of the feature values of the left and right pages to this, and FIG. 18 shows this case. Also, at this stage, the page binding section 41
, The feature amount of the strip region C2 including “.” Is set to be undetermined, and when the estimated distortion amount is set later, it is set to “1”.

【0228】続くステップS9及びステップS10につ
いては、前述したものと何ら変わるものではないため説
明は省略する。
The following steps S9 and S10 are not different from those described above, and will not be described.

【0229】ここで、図19はブック原稿40のページ
綴じ部41付近の歪みを補正する前の画像を示す平面
図、図20はブック原稿40のページ綴じ部41付近の
歪みを補正した画像を示す平面図である。以上の処理に
よれば、図19に示すブック原稿40のページ綴じ部4
1とスキャンの主走査方向とが垂直な場合におけるスキ
ャン画像の歪みが、図20に示すように補正されること
になる。
Here, FIG. 19 is a plan view showing an image before correcting the distortion near the page binding section 41 of the book document 40, and FIG. 20 is an image after correcting the distortion near the page binding section 41 of the book document 40. FIG. According to the above processing, the page binding unit 4 of the book document 40 shown in FIG.
The distortion of the scanned image in the case where 1 is perpendicular to the main scanning direction of the scan is corrected as shown in FIG.

【0230】なお、本実施の形態においては、画像歪み
補正装置を画像形成装置であるデジタル複写機16に備
え、デジタル複写機16のスキャナ部1で読み取ったス
キャン画像に対して画像の歪み補正処理を施すようにし
たが、これに限るものではない。例えば、原稿画像を読
み取る画像読取手段を備えたイメージスキャナをパーソ
ナルコンピュータに接続するとともに、このパーソナル
コンピュータのHDDに記憶媒体であるCD−ROM3
7に格納されたプログラムをインストールすることによ
って画像歪み補正装置を構成しても、前述したような各
種の作用効果と同様の作用効果を得ることができる。ま
た、記憶媒体であるCD−ROM37に格納されたプロ
グラムをパーソナルコンピュータのHDDにインストー
ルすることによって画像歪み補正装置を構成し、予め画
像読取手段により読み取られたスキャン画像に対して歪
み補正処理を施すようにしても良い。
In the present embodiment, the image distortion correcting device is provided in the digital copying machine 16 as an image forming apparatus, and the image distortion correcting process is performed on the scanned image read by the scanner unit 1 of the digital copying machine 16. , But is not limited to this. For example, an image scanner having image reading means for reading an original image is connected to a personal computer, and a storage medium such as a CD-ROM 3 is stored in an HDD of the personal computer.
Even if the image distortion correction apparatus is configured by installing the program stored in the storage device 7, the same operation and effect as those described above can be obtained. Also, an image distortion correction apparatus is configured by installing a program stored in a CD-ROM 37 as a storage medium into an HDD of a personal computer, and performs distortion correction processing on a scanned image read in advance by image reading means. You may do it.

【0231】[0231]

【発明の効果】請求項1,23,45,67記載の発明
によれば、画像読取手段により読み取ったスキャン画像
から文字の外接矩形を抽出し、この文字外接矩形の形状
の変化に基づいてスキャン画像の歪みを補正することに
より、ブック原稿のページ綴じ部とスキャンの主走査方
向とが垂直な場合であっても、文字外接矩形の形状には
変化が現われることから、ブック原稿のスキャン画像を
補正することができる。
According to the present invention, a circumscribed rectangle of a character is extracted from the scanned image read by the image reading means, and scanning is performed based on a change in the shape of the character circumscribed rectangle. By correcting the image distortion, even if the page binding portion of the book document is perpendicular to the main scanning direction of the scan, the shape of the character circumscribed rectangle changes, so the scanned image of the book document is Can be corrected.

【0232】請求項2,24,46,68記載の発明に
よれば、文字外接矩形の形状の変化を確実に捉えること
ができる。
According to the invention described in claims 2, 24, 46, and 68, a change in the shape of the character circumscribed rectangle can be reliably detected.

【0233】請求項3,25,47,69記載の発明に
よれば、文字外接矩形の形状の変化を容易に捉えること
ができる。
According to the invention described in claims 3, 25, 47 and 69, a change in the shape of the character circumscribed rectangle can be easily grasped.

【0234】請求項4,26,48,70記載の発明に
よれば、文字外接矩形の形状の変化をより正確に捉える
ことができる。
According to the invention as set forth in claims 4, 26, 48, and 70, a change in the shape of the character circumscribed rectangle can be grasped more accurately.

【0235】請求項5,27,49,71記載の発明に
よれば、句読点や数式中の記号のようにそのサイズが元
々小さい文字についての特徴量を排除することができ
る。
According to the inventions described in claims 5, 27, 49, and 71, it is possible to eliminate a feature amount of a character whose size is originally small, such as a punctuation mark or a symbol in a mathematical expression.

【0236】請求項6,28,50,72記載の発明に
よれば、例えば矩形抽出の際に隣接する文字同士がくっ
ついて抽出された場合のように極端に文字外接矩形の横
辺の長さが長い文字外接矩形についての特徴量を排除す
ることができる。
According to the inventions described in claims 6, 28, 50, and 72, the length of the horizontal side of the character circumscribed rectangle is extremely large, for example, when adjacent characters are attached to each other when the rectangle is extracted. Can be excluded from the character circumscribed rectangle having a long character.

【0237】請求項7,29,51,73記載の発明に
よれば、地肌の濃度変化を利用してブック原稿のページ
綴じ部を含む短冊領域を求めることにより、ページ綴じ
部付近の画像の歪み量をより適切に推定することができ
る。
According to the seventh, 29, 51, and 73 aspects of the present invention, a strip region including a page binding portion of a book document is obtained by utilizing the density change of the background, thereby distorting the image near the page binding portion. The quantity can be estimated more appropriately.

【0238】請求項8,30,52,74記載の発明に
よれば、ページ綴じ部を含む短冊領域に文字外接矩形が
存在しない場合であっても、ページ綴じ部を含む短冊領
域の統計的特徴量を算出することができる。
According to the eighth, thirty-second, and seventy-fourth aspects of the present invention, the statistical characteristics of the strip area including the page binding part can be obtained even when the character circumscribed rectangle does not exist in the strip area including the page binding part. The amount can be calculated.

【0239】請求項9,31,53,75記載の発明に
よれば、短冊領域の位置の変化に対する(主走査方向
の)特徴量の変化をなだらかにすることができる。
According to the ninth, third, fifth and ninth aspects of the present invention, the change in the characteristic amount (in the main scanning direction) with respect to the change in the position of the strip region can be made gentle.

【0240】請求項10,32,54,76記載の発明
によれば、ページ綴じ部付近の特徴量の変化を適切に表
現することができるので、良好な画像補正を実現するこ
とができる。
According to the inventions described in claims 10, 32, 54, and 76, a change in the characteristic amount in the vicinity of the page binding portion can be appropriately expressed, so that good image correction can be realized.

【0241】請求項11,33,55,77記載の発明
によれば、推定歪み量を容易に算出することができる。
According to the inventions described in claims 11, 33, 55, and 77, the estimated distortion amount can be easily calculated.

【0242】請求項12,34,56,78記載の発明
によれば、推定歪み量を正確に算出することができる。
According to the twelfth aspect, the estimated distortion amount can be accurately calculated.

【0243】請求項13,35,57,79記載の発明
によれば、ブック原稿のスキャン画像を容易に補正する
ことができる。
According to the thirteenth, thirty-fifth, fifty-seventh and seventy-ninth aspects of the present invention, a scanned image of a book document can be easily corrected.

【0244】請求項14,36,58,80記載の発明
によれば、自然な補正画像を得ることができる。
According to the invention described in claims 14, 36, 58 and 80, a natural corrected image can be obtained.

【0245】請求項15,37,59,81記載の発明
によれば、ページ綴じ部付近から離れた短冊領域はもと
もと画像の歪みが無い領域である可能性が高いことか
ら、このようなページ綴じ部付近から離れた短冊領域の
画像を補正の対象外とすることができ、不自然な画質劣
化を防ぐことができる。
According to the inventions described in claims 15, 37, 59, and 81, the strip region far from the vicinity of the page binding portion is likely to be a region in which the image is not originally distorted. The image of the strip region distant from the vicinity of the portion can be excluded from the correction target, and unnatural image quality degradation can be prevented.

【0246】請求項16,38,60,82記載の発明
によれば、基準短冊領域の探索範囲を予めページ綴じ部
付近に限定しておくことができ、推定歪み量をより正確
に算出することができる。
According to the inventions of claims 16, 38, 60, and 82, the search range of the reference strip region can be limited to the vicinity of the page binding portion in advance, and the estimated distortion amount can be calculated more accurately. Can be.

【0247】請求項17,39,61,83記載の発明
によれば、推定歪み量をより正確に算出することができ
る。
According to the present invention, the estimated distortion amount can be calculated more accurately.

【0248】請求項18,40,62,84記載の発明
によれば、書籍の表紙や裏表紙に近いページを開いたと
きのようにブック原稿のページ綴じ部の左右でページの
歪み方が大きく異なるために、ページ綴じ部の左右での
文字外接矩形の歪み量の差が大きくなる場合であって
も、それぞれ独立に歪み量の推定処理を行うことで、よ
り良好な補正結果を得ることができる。
According to the inventions described in claims 18, 40, 62, and 84, the distortion of the page on the left and right sides of the page binding portion of the book document is large, such as when a page close to the front or back cover of a book is opened. Even if the difference between the distortion amounts of the character circumscribed rectangles on the left and right sides of the page binding portion is large, it is possible to obtain a better correction result by performing the distortion amount estimation processing independently of each other. it can.

【0249】請求項19,41,63,85記載の発明
によれば、ページ綴じ部を含む短冊領域に文字外接矩形
が存在しない場合であっても、ページ綴じ部を含む短冊
領域の統計的特徴量を算出することができる。
According to the inventions set forth in claims 19, 41, 63, and 85, the statistical characteristics of the strip area including the page binding section even when no character circumscribed rectangle exists in the strip area including the page binding section. The amount can be calculated.

【0250】請求項20,42,64,86記載の発明
によれば、ページ綴じ部を含む短冊領域に文字外接矩形
が存在しない場合には、ページ綴じ部を含む短冊領域の
統計的特徴量の算出を回避することができる。
According to the twentieth, twenty-second, sixty-fourth, and eighty-sixth aspects, when there is no character circumscribed rectangle in the strip area including the page binding part, the statistical feature amount of the strip area including the page binding part is determined. Calculation can be avoided.

【0251】請求項21,43,65,87記載の発明
によれば、ページ綴じ部を含む短冊領域に文字外接矩形
が存在しないために、ページ綴じ部を含む短冊領域の統
計的特徴量の算出が回避されており、この領域はもとも
と画像の歪みが無い領域である可能性が高いことから、
文字外接矩形が存在しないページ綴じ部を含む短冊領域
の画像を補正の対象外とすることができる。
According to the inventions described in claims 21, 43, 65 and 87, since there is no character circumscribed rectangle in the strip area including the page binding section, the statistical feature amount of the strip area including the page binding section is calculated. Has been avoided, and since this area is likely to be an area without image distortion,
An image of a strip region including a page binding portion having no character circumscribed rectangle can be excluded from the correction target.

【0252】請求項22,44,66,88記載の発明
によれば、書籍の表紙や裏表紙に近いページを開いたと
きのようにブック原稿のページ綴じ部の左右でページの
歪み方が大きく異なるために、ページ綴じ部の左右での
文字外接矩形の歪み量の差が大きくなる場合であって
も、それぞれ独立に歪み量の推定処理を行うことで、よ
り良好な補正結果を得ることができる。
According to the inventions of claims 22, 44, 66, and 88, the distortion of the page on the left and right sides of the page binding portion of the book document is large, such as when a page close to the front or back cover of the book is opened. Due to the difference, even when the difference between the distortion amounts of the character circumscribed rectangles on the left and right sides of the page binding portion becomes large, it is possible to obtain a better correction result by independently performing the distortion amount estimation processing. it can.

【0253】請求項89記載の発明によれば、請求項1
ないし22の何れか一記載の発明と同様の効果を奏する
画像読取装置を得ることができる。
According to the invention of claim 89, claim 1
According to the present invention, an image reading apparatus having the same effects as the invention described in any one of Items 22 to 22 can be obtained.

【0254】請求項90記載の発明によれば、請求項1
ないし22の何れか一記載の発明と同様の効果を奏する
画像形成装置を得ることができる。
According to the nineteenth aspect, the first aspect is provided.
An image forming apparatus having the same effects as the invention according to any one of the above-described aspects can be obtained.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の一形態のスキャナ部の構成を示
す縦断正面図である。
FIG. 1 is a vertical sectional front view showing a configuration of a scanner unit according to an embodiment of the present invention.

【図2】スキャナ部を搭載したデジタル複写機の上部部
分を示す斜視図である。
FIG. 2 is a perspective view showing an upper part of a digital copier equipped with a scanner unit.

【図3】スキャナ部の制御系の電気的な接続を示すブロ
ック図である。
FIG. 3 is a block diagram illustrating an electrical connection of a control system of the scanner unit.

【図4】画像処理部の基本的な内部構成を示すブロック
図である。
FIG. 4 is a block diagram illustrating a basic internal configuration of an image processing unit.

【図5】メイン制御部の電気的な接続を示すブロック図
である。
FIG. 5 is a block diagram showing an electrical connection of a main control unit.

【図6】スキャン画像の歪み補正処理の流れを概略的に
示すフローチャートである。
FIG. 6 is a flowchart schematically showing a flow of a scan image distortion correction process.

【図7】スキャナ部のコンタクトガラス上にブック原稿
を載置した状態を示す斜視図である。
FIG. 7 is a perspective view showing a state in which a book document is placed on a contact glass of a scanner unit.

【図8】抽出された文字外接矩形を示す説明図である。FIG. 8 is an explanatory diagram showing extracted character circumscribed rectangles;

【図9】二値化画像をブック原稿のページ綴じ部に平行
な方向の複数の短冊状の領域に分割した状態を示す説明
図である。
FIG. 9 is an explanatory diagram illustrating a state in which the binarized image is divided into a plurality of strip-shaped areas in a direction parallel to a page binding portion of a book document.

【図10】予め排除される文字外接矩形を示す説明図で
ある。
FIG. 10 is an explanatory diagram illustrating a character circumscribed rectangle that is excluded in advance.

【図11】各短冊領域内の外接矩形の特徴量の平均値の
一例を示すグラフである。
FIG. 11 is a graph showing an example of an average value of feature values of a circumscribed rectangle in each strip region.

【図12】各短冊領域内の地肌濃度変化の一例を示すグ
ラフである。
FIG. 12 is a graph showing an example of a change in background density in each strip region.

【図13】図11に示した各短冊領域の特徴量に対して
長さが全て5であるウィンドウを用いてフィルタリング
処理を施した結果を示すグラフである。
13 is a graph showing a result of performing a filtering process on a feature amount of each strip region shown in FIG. 11 using a window whose length is all 5;

【図14】図11に示した各短冊領域の特徴量に対して
ページ綴じ部付近でウィンドウ長を調整してフィルタリ
ング処理を施した結果を示すグラフである。
14 is a graph showing a result obtained by performing a filtering process by adjusting a window length near a page binding portion with respect to a feature amount of each strip region shown in FIG. 11;

【図15】図14に示した特徴量に基づいて算出した補
正拡大率を示すグラフである。
FIG. 15 is a graph showing a corrected magnification calculated based on the feature amounts shown in FIG. 14;

【図16】ブック原稿をその最初のページを開いてコン
タクトガラス上に載置した状態を示す正面図である。
FIG. 16 is a front view showing a state in which a book document is placed on a contact glass with its first page opened.

【図17】ブック原稿のページ綴じ部の左右でページの
歪み方が大きく異なる場合における各短冊領域の特徴量
の一例を示すグラフである。
FIG. 17 is a graph showing an example of a feature amount of each strip region in a case where page distortion is greatly different between left and right of a page binding portion of a book document.

【図18】図17に示した各短冊領域の特徴量に対して
フィルタリング処理を施した結果を示すグラフである。
18 is a graph showing a result of performing a filtering process on the feature amount of each strip region shown in FIG.

【図19】ブック原稿のページ綴じ部付近の歪みを補正
する前の画像を示す平面図である。
FIG. 19 is a plan view showing an image before correcting distortion near a page binding portion of a book document.

【図20】ブック原稿のページ綴じ部付近の歪みを補正
した画像を示す平面図である。
FIG. 20 is a plan view showing an image in which distortion near a page binding portion of a book document has been corrected.

【図21】コンタクトガラス上にブック原稿を載置した
状態を示す正面図である。
FIG. 21 is a front view showing a state in which a book document is placed on a contact glass.

【図22】ページ綴じ部とスキャンの主走査方向とが平
行な場合におけるスキャン画像のページの外形の歪みを
示す説明図である。
FIG. 22 is an explanatory diagram showing distortion of the outer shape of the page of the scanned image when the page binding section and the main scanning direction of scanning are parallel.

【図23】ページ綴じ部とスキャンの主走査方向とが垂
直な場合におけるスキャン画像を示す説明図である。
FIG. 23 is an explanatory diagram illustrating a scanned image in a case where the page binding section and the main scanning direction of scanning are perpendicular to each other.

【符号の説明】[Explanation of symbols]

1 画像読取装置 16 画像形成装置 37 記憶媒体 40 ブック原稿 41 ページ綴じ部 A 文字外接矩形 B 文字外接矩形の中心 C 短冊領域 C2 ページ綴じ部を含む短冊領域 DESCRIPTION OF SYMBOLS 1 Image reading device 16 Image forming device 37 Storage medium 40 Book original 41 Page binding part A Character circumscribed rectangle B Center of character circumscribed rectangle C Strip area C2 Strip area including page binding part

Claims (90)

【特許請求の範囲】[Claims] 【請求項1】 原稿画像を読み取る画像読取手段により
読み取られたスキャン画像から文字を切り出して各文字
の外接矩形を抽出する文字外接矩形抽出手段と、 この文字外接矩形抽出手段により抽出された文字外接矩
形の形状の変化と前記スキャン画像の地肌濃度の変化と
を利用して前記スキャン画像の歪み量を推定する歪み量
推定手段と、 この歪み量推定手段により推定された歪み量に基き、前
記スキャン画像に対して拡大処理を施す画像補正手段
と、を備える画像歪み補正装置。
1. A character circumscribing rectangle extracting means for extracting characters from a scanned image read by an image reading means for reading a document image and extracting a circumscribing rectangle of each character, and a character circumscribing rectangle extracted by the character circumscribing rectangle extracting means. Distortion amount estimating means for estimating a distortion amount of the scan image using a change in the shape of a rectangle and a change in the background density of the scan image; and the scan based on the distortion amount estimated by the distortion amount estimator. An image distortion correction device comprising: an image correction unit that performs an enlargement process on an image.
【請求項2】 前記歪み量推定手段は、前記スキャン画
像を前記画像読取手段での読み取りの主走査方向に垂直
な方向を長辺とする短冊状の複数の領域に分割し、各短
冊領域内に中心を有する前記文字外接矩形の集合に関す
る統計的特徴量に基づいて前記スキャン画像の歪み量を
推定する請求項1記載の画像歪み補正装置。
2. The distortion amount estimating means divides the scanned image into a plurality of strip-shaped areas each having a long side in a direction perpendicular to the main scanning direction of reading by the image reading means, and 2. The image distortion correction device according to claim 1, wherein the distortion amount of the scan image is estimated based on a statistical feature amount regarding a set of the character circumscribed rectangles having a center at the center.
【請求項3】 前記統計的特徴量は、 特徴量=文字外接矩形の横辺の長さ/文字外接矩形の縦
辺の長さ なる式に基づいて求められる請求項2記載の画像歪み補
正装置。
3. The image distortion correction apparatus according to claim 2, wherein the statistical feature amount is obtained based on an equation: feature amount = length of horizontal side of character circumscribed rectangle / length of vertical side of character circumscribed rectangle. .
【請求項4】 前記短冊領域内に中心を有する前記各文
字外接矩形の前記各特徴量の平均値を当該短冊領域にお
ける前記統計的特徴量とみなす請求項3記載の画像歪み
補正装置。
4. The image distortion correction apparatus according to claim 3, wherein an average value of the characteristic amounts of the respective character circumscribed rectangles having a center in the strip region is regarded as the statistical feature amount in the strip region.
【請求項5】 前記短冊領域内の前記統計的特徴量を求
める際、前記文字外接矩形の縦辺の長さが予め定めた値
より小さい場合はこれを予め排除する請求項4記載の画
像歪み補正装置。
5. The image distortion according to claim 4, wherein when calculating the statistical feature amount in the strip region, if the length of the vertical side of the character circumscribed rectangle is smaller than a predetermined value, the image distortion is eliminated in advance. Correction device.
【請求項6】 前記短冊領域内の前記統計的特徴量を求
める際、前記文字外接矩形の前記特徴量が予め定めた値
より大きい場合はこれを予め排除する請求項4または5
記載の画像歪み補正装置。
6. The method according to claim 4, wherein when calculating the statistical feature in the strip region, if the feature of the character circumscribed rectangle is larger than a predetermined value, the feature is excluded in advance.
The image distortion correction apparatus according to the above.
【請求項7】 前記各短冊領域の地肌濃度を測定し、そ
の地肌濃度が最も濃い前記短冊領域をブック原稿のペー
ジ綴じ部を含む前記短冊領域であるとみなす請求項2な
いし6の何れか一記載の画像歪み補正装置。
7. The strip area having the highest background density is measured as the strip area including a page binding portion of a book document, and the background density of each of the strip areas is measured. The image distortion correction apparatus according to the above.
【請求項8】 前記ページ綴じ部を含む前記短冊領域に
前記統計的特徴量の算出対象となり得る前記文字外接矩
形が存在する場合は、当該文字外接矩形を利用して前記
ページ綴じ部を含む前記短冊領域の特徴量を算出し、 前記ページ綴じ部を含む前記短冊領域に前記統計的特徴
量の算出対象となり得る前記文字外接矩形が存在しない
場合は、前記統計的特徴量の算出対象となり得る前記文
字外接矩形が存在し、かつ、前記ページ綴じ部を含む前
記短冊領域の最近傍に位置する前記短冊領域の前記特徴
量に予め定めた定数値を乗じた値を前記ページ綴じ部を
含む前記短冊領域における前記統計的特徴量とみなす請
求項7記載の画像歪み補正装置。
8. When the character circumscribed rectangle that can be a target of calculating the statistical feature quantity exists in the strip region including the page binding unit, the character circumscribed rectangle is used to include the page binding unit using the character circumscribed rectangle. Calculating the feature amount of the strip region, and when the character circumscribed rectangle that can be the calculation target of the statistical feature amount does not exist in the strip region including the page binding portion, the statistical feature amount can be calculated. The strip including the page binding section is a value in which a character circumscribed rectangle is present, and a value obtained by multiplying the feature amount of the strip area located closest to the strip area including the page binding section by a predetermined constant value. The image distortion correction device according to claim 7, wherein the image distortion correction device regards the statistical feature amount in a region.
【請求項9】 前記短冊領域の位置の変化方向に関する
移動平均を求め、この移動平均に基づいて前記特徴量の
変化に対するフィルタリング処理を施す請求項8記載の
画像歪み補正装置。
9. The image distortion correction apparatus according to claim 8, wherein a moving average in a direction in which the position of the strip region changes is obtained, and filtering processing for the change in the feature amount is performed based on the moving average.
【請求項10】 前記フィルタリング処理を施す際に、
フィルタのウィンドウが前記ページ綴じ部を含む前記短
冊領域の両側に位置する前記短冊領域に跨がらないよう
に前記ページ綴じ部付近ではウィンドウ長を調整する請
求項9記載の画像歪み補正装置。
10. When performing the filtering process,
The image distortion correction device according to claim 9, wherein a window length is adjusted near the page binding portion so that a window of the filter does not straddle the strip regions located on both sides of the strip region including the page binding portion.
【請求項11】 前記歪み量推定手段は、前記短冊領域
の歪み量を算出する基準となる前記短冊領域を定め、そ
の基準短冊領域の前記特徴量を前記スキャン画像全体の
基準特徴量とし、前記各短冊領域の前記推定歪み量を、 推定歪み量=各短冊領域の特徴量/基準特徴量 なる式に基づいて求める請求項2ないし10の何れか一
記載の画像歪み補正装置。
11. The distortion amount estimating means determines the strip region as a reference for calculating the distortion amount of the strip region, sets the feature amount of the reference strip region as a reference feature amount of the entire scan image, The image distortion correction device according to any one of claims 2 to 10, wherein the estimated distortion amount of each strip region is obtained based on an equation: estimated distortion amount = feature amount of each strip region / reference feature amount.
【請求項12】 全ての前記短冊領域の前記特徴量の中
で最も値の大きな前記特徴量を前記基準特徴量とする請
求項11記載の画像歪み補正装置。
12. The image distortion correction device according to claim 11, wherein the feature value having the largest value among the feature values of all the strip regions is set as the reference feature value.
【請求項13】 前記画像補正手段は、前記各短冊領域
に関して前記推定歪み量の逆数を補正拡大率として前記
短冊領域の短辺方向に拡大処理を施す請求項1ないし1
2の何れか一記載の画像歪み補正装置。
13. The apparatus according to claim 1, wherein said image correcting means performs an enlarging process in a short side direction of said strip region with respect to each of said strip regions as a correction enlargement factor using a reciprocal of said estimated distortion amount.
3. The image distortion correction device according to any one of 2.
【請求項14】 前記各短冊領域の境界部分における前
記補正拡大率が連続的に変化するように、前記各短冊領
域の境界部分における前記補正拡大率を予め補正する請
求項13記載の画像歪み補正装置。
14. The image distortion correction according to claim 13, wherein the correction magnification at the boundary between the strip regions is corrected in advance so that the correction magnification at the boundary between the strip regions continuously changes. apparatus.
【請求項15】 地肌濃度が予め定めた濃度よりも薄い
前記短冊領域に関し、前記推定歪み量を“1”とする請
求項11ないし14の何れか一記載の画像歪み補正装
置。
15. The image distortion correction apparatus according to claim 11, wherein the estimated distortion amount is set to “1” for the strip region whose background density is lower than a predetermined density.
【請求項16】 地肌濃度が予め定めた濃度よりも濃い
前記短冊領域のみから前記基準短冊領域を求める請求項
11ないし14の何れか一記載の画像歪み補正装置。
16. The image distortion correction device according to claim 11, wherein the reference strip region is obtained only from the strip region whose background density is higher than a predetermined density.
【請求項17】 前記基準短冊領域を前記ブック原稿の
左右のページに関してそれぞれ独立に求め、前記推定歪
み量の算出も前記ブック原稿の左右のページでそれぞれ
独立に行う請求項11ないし16の何れか一記載の画像
歪み補正装置。
17. The book strip document according to claim 11, wherein the reference strip regions are independently determined for left and right pages of the book document, and the estimated distortion amount is calculated independently for the left and right pages of the book document. An image distortion correction device according to one of the claims.
【請求項18】 前記統計的特徴量の算出対象となり得
る前記文字外接矩形が存在し、かつ、前記ページ綴じ部
を含む前記短冊領域の最近傍に位置する前記短冊領域の
前記特徴量に予め定めた定数値を乗じた値を前記ページ
綴じ部を含む前記短冊領域における前記統計的特徴量と
みなす処理について、前記ブック原稿の左右のページに
関してそれぞれ独立に行い、前記ブック原稿の左ページ
側の前記特徴量と前記ブック原稿の右ページ側の前記特
徴量とを前記ページ綴じ部を含む前記短冊領域にそれぞ
れ対応づける請求項8記載の画像歪み補正装置。
18. A method according to claim 1, wherein the character circumscribed rectangle which can be a target of calculation of the statistical feature amount exists, and the feature amount of the strip region located closest to the strip region including the page binding portion is predetermined. The process of regarding the value multiplied by the constant value as the statistical feature amount in the strip region including the page binding portion is performed independently for each of the left and right pages of the book document, and the left page side of the book document is 9. The image distortion correction apparatus according to claim 8, wherein a characteristic amount and the characteristic amount on the right page side of the book document are respectively associated with the strip region including the page binding unit.
【請求項19】 前記ページ綴じ部を含む前記短冊領域
に前記統計的特徴量の算出対象となり得る前記文字外接
矩形が存在する場合は、当該文字外接矩形を利用して前
記ページ綴じ部を含む前記短冊領域の前記特徴量を算出
し、 前記ページ綴じ部を含む前記短冊領域に前記統計的特徴
量の算出対象となり得る前記文字外接矩形が存在しない
場合は、前記ブック原稿の左ページ側の前記特徴量と前
記ブック原稿の右ページ側の前記特徴量の平均値を前記
ページ綴じ部を含む前記短冊領域における前記統計的特
徴量とみなす請求項18記載の画像歪み補正装置。
19. When the character circumscribed rectangle that can be a target of calculating the statistical feature quantity exists in the strip region including the page binding unit, the character circumscribed rectangle is used to include the page binding unit using the character circumscribed rectangle. Calculating the feature amount of the strip region, if the character circumscribed rectangle that can be the calculation target of the statistical feature amount does not exist in the strip region including the page binding portion, the feature on the left page side of the book document 19. The image distortion correction apparatus according to claim 18, wherein an amount and an average value of the feature amount on the right page side of the book document are regarded as the statistical feature amount in the strip region including the page binding unit.
【請求項20】 前記ページ綴じ部を含む前記短冊領域
に前記統計的特徴量の算出対象となり得る前記文字外接
矩形が存在する場合は、当該文字外接矩形を利用して前
記ページ綴じ部を含む前記短冊領域の前記特徴量を算出
し、 前記ページ綴じ部を含む前記短冊領域に前記統計的特徴
量の算出対象となり得る前記文字外接矩形が存在しない
場合は、前記ページ綴じ部を含む前記短冊領域における
前記統計的特徴量は未定とする請求項18記載の画像歪
み補正装置。
20. When the character circumscribed rectangle that can be the calculation target of the statistical feature amount exists in the strip region including the page binding unit, the character circumscribed rectangle is used to include the page binding unit using the character circumscribed rectangle. Calculating the feature amount of the strip region, if the character circumscribed rectangle that can be the calculation target of the statistical feature amount does not exist in the strip region including the page binding portion, in the strip region including the page binding portion 19. The image distortion correction device according to claim 18, wherein the statistical feature is undecided.
【請求項21】 前記ページ綴じ部を含む前記短冊領域
における前記統計的特徴量が未定の場合、前記推定歪み
量を“1”とする請求項20記載の画像歪み補正装置。
21. The image distortion correction device according to claim 20, wherein the estimated distortion amount is set to “1” when the statistical feature amount in the strip region including the page binding portion is undecided.
【請求項22】 前記フィルタリング処理を施す際に、
前記ブック原稿の左ページのフィルタリングには左ペー
ジ用の前記特徴量を用い、前記ブック原稿の右ページの
フィルタリングには右ページ用の前記特徴量を用いる請
求項18ないし21の何れか一記載の画像歪み補正装
置。
22. When performing the filtering processing,
22. The filtering method of the left page of the book document using the feature value for the left page, and the filtering of the right page of the book document using the feature value for the right page. Image distortion correction device.
【請求項23】 原稿画像を読み取る画像読取手段によ
り読み取られたスキャン画像の画像歪み補正をコンピュ
ータに実行させるプログラムを格納するコンピュータに
読み取り可能な記憶媒体であって、前記コンピュータ
に、 前記画像読取手段により読み取られたスキャン画像から
文字を切り出して各文字の外接矩形を抽出する文字外接
矩形抽出機能と、 この文字外接矩形抽出機能により抽出された文字外接矩
形の形状の変化と前記スキャン画像の地肌濃度の変化と
を利用して前記スキャン画像の歪み量を推定する歪み量
推定機能と、 この歪み量推定機能により推定された歪み量に基き、前
記スキャン画像に対して拡大処理を施す画像補正機能
と、を実行させるプログラムを格納する記憶媒体。
23. A computer-readable storage medium storing a program for causing a computer to execute image distortion correction of a scan image read by an image reading unit that reads a document image, wherein the computer has the image reading unit. A character circumscribing rectangle extracting function for extracting characters circumscribing rectangles of each character by extracting characters from the scanned image read by A distortion amount estimating function for estimating the distortion amount of the scanned image using the change of the image, and an image correcting function of performing an enlargement process on the scanned image based on the distortion amount estimated by the distortion amount estimating function. , A storage medium for storing a program for executing the program.
【請求項24】 前記スキャン画像を前記画像読取手段
での読み取りの主走査方向に垂直な方向を長辺とする短
冊状の複数の領域に分割し、各短冊領域内に中心を有す
る前記文字外接矩形の集合に関する統計的特徴量に基づ
いて前記スキャン画像の歪み量を推定する前記歪み量推
定機能を実行させるプログラムを格納する請求項23記
載の記憶媒体。
24. The scanned image is divided into a plurality of strip-shaped areas whose long sides extend in a direction perpendicular to the main scanning direction of reading by the image reading means, and the character circumscription having a center in each strip area. 24. The storage medium according to claim 23, wherein the storage medium stores a program for executing the distortion amount estimation function of estimating the distortion amount of the scan image based on a statistical feature amount regarding a set of rectangles.
【請求項25】 前記統計的特徴量を、 特徴量=文字外接矩形の横辺の長さ/文字外接矩形の縦
辺の長さ なる式に基づいて求めるプログラムを格納する請求項2
4記載の記憶媒体。
25. A program for calculating the statistical feature quantity based on the following formula: feature quantity = length of horizontal side of character circumscribed rectangle / length of vertical side of character circumscribed rectangle.
4. The storage medium according to 4.
【請求項26】 前記短冊領域内に中心を有する前記各
文字外接矩形の前記各特徴量の平均値を当該短冊領域に
おける前記統計的特徴量とみなすプログラムを格納する
請求項25記載の記憶媒体。
26. The storage medium according to claim 25, wherein a program for storing an average value of the characteristic amounts of the respective character circumscribed rectangles having a center in the strip region as the statistical feature amount in the strip region is stored.
【請求項27】 前記短冊領域内の前記統計的特徴量を
求める際、前記文字外接矩形の縦辺の長さが予め定めた
値より小さい場合はこれを予め排除するプログラムを格
納する請求項26記載の記憶媒体。
27. A program for storing the statistical feature value in the strip area, wherein a program for excluding the length of a vertical side of the character circumscribed rectangle if the length is smaller than a predetermined value is stored. The storage medium according to the above.
【請求項28】 前記短冊領域内の前記統計的特徴量を
求める際、前記文字外接矩形の前記特徴量が予め定めた
値より大きい場合はこれを予め排除するプログラムを格
納する請求項26または27記載の記憶媒体。
28. A program for storing the statistical feature value in the strip area, wherein a program for eliminating the feature value of the circumscribed rectangle of the character if the feature value is larger than a predetermined value is stored. The storage medium according to the above.
【請求項29】 前記各短冊領域の地肌濃度を測定し、
その地肌濃度が最も濃い前記短冊領域をブック原稿のペ
ージ綴じ部を含む前記短冊領域であるとみなすプログラ
ムを格納する請求項24ないし28の何れか一記載の記
憶媒体。
29. A background density of each of the strip regions is measured,
29. The storage medium according to claim 24, storing a program for regarding the strip region having the highest background density as the strip region including a page binding portion of a book document.
【請求項30】 前記ページ綴じ部を含む前記短冊領域
に前記統計的特徴量の算出対象となり得る前記文字外接
矩形が存在する場合は、当該文字外接矩形を利用して前
記ページ綴じ部を含む前記短冊領域の特徴量を算出し、 前記ページ綴じ部を含む前記短冊領域に前記統計的特徴
量の算出対象となり得る前記文字外接矩形が存在しない
場合は、前記統計的特徴量の算出対象となり得る前記文
字外接矩形が存在し、かつ、前記ページ綴じ部を含む前
記短冊領域の最近傍に位置する前記短冊領域の前記特徴
量に予め定めた定数値を乗じた値を前記ページ綴じ部を
含む前記短冊領域における前記統計的特徴量とみなすプ
ログラムを格納する請求項29記載の記憶媒体。
30. When the character circumscribed rectangle that can be a target of calculation of the statistical feature quantity exists in the strip region including the page binding part, the character circumscribed rectangle is used to include the page binding part. Calculating the feature amount of the strip region, and when the character circumscribed rectangle that can be the calculation target of the statistical feature amount does not exist in the strip region including the page binding portion, the statistical feature amount can be calculated. The strip including the page binding section is a value in which a character circumscribed rectangle is present, and a value obtained by multiplying the feature amount of the strip area located closest to the strip area including the page binding section by a predetermined constant value. 30. The storage medium according to claim 29, which stores a program regarded as the statistical feature amount in an area.
【請求項31】 前記短冊領域の位置の変化方向に関す
る移動平均を求め、この移動平均に基づいて前記特徴量
の変化に対するフィルタリング処理を施すプログラムを
格納する請求項30記載の記憶媒体。
31. The storage medium according to claim 30, wherein a program for calculating a moving average in a direction in which the position of the strip region is changed and performing a filtering process for a change in the feature amount based on the moving average is stored.
【請求項32】 前記フィルタリング処理を施す際に、
フィルタのウィンドウが前記ページ綴じ部を含む前記短
冊領域の両側に位置する前記短冊領域に跨がらないよう
に前記ページ綴じ部付近ではウィンドウ長を調整するプ
ログラムを格納する請求項31記載の記憶媒体。
32. When performing the filtering process,
32. The storage medium according to claim 31, wherein a program for adjusting a window length near the page binding portion is stored such that a window of the filter does not straddle the strip regions located on both sides of the strip region including the page binding portion.
【請求項33】 前記短冊領域の歪み量を算出する基準
となる前記短冊領域を定め、その基準短冊領域の前記特
徴量を前記スキャン画像全体の基準特徴量とし、前記各
短冊領域の前記推定歪み量を、 推定歪み量=各短冊領域の特徴量/基準特徴量 なる式に基づいて求める前記歪み量推定機能を実行させ
るプログラムを格納する請求項24ないし32の何れか
一記載の記憶媒体。
33. The method according to claim 33, further comprising: determining the strip region as a reference for calculating the distortion amount of the strip region; setting the feature amount of the reference strip region as a reference feature amount of the entire scan image; 33. The storage medium according to claim 24, wherein the storage medium stores a program for executing the distortion amount estimating function for obtaining the amount based on an equation: estimated distortion amount = characteristic amount of each strip region / reference characteristic amount.
【請求項34】 全ての前記短冊領域の前記特徴量の中
で最も値の大きな前記特徴量を前記基準特徴量とするプ
ログラムを格納する請求項33記載の記憶媒体。
34. The storage medium according to claim 33, wherein a program for storing the feature value having the largest value among the feature values of all the strip regions as the reference feature value is stored.
【請求項35】 前記各短冊領域に関して前記推定歪み
量の逆数を補正拡大率として前記短冊領域の短辺方向に
拡大処理を施す前記画像補正機能を実行させるプログラ
ムを格納する請求項23ないし34の何れか一記載の記
憶媒体。
35. A program for executing the image correction function of performing an enlarging process in a short side direction of the strip region using a reciprocal of the estimated distortion amount as a correction expansion ratio for each of the strip regions. The storage medium according to any one of the above.
【請求項36】 前記各短冊領域の境界部分における前
記補正拡大率が連続的に変化するように、前記各短冊領
域の境界部分における前記補正拡大率を予め補正するプ
ログラムを格納する請求項35記載の記憶媒体。
36. A program for preliminarily correcting the correction enlargement ratio at the boundary between the strip regions so that the correction enlargement ratio at the boundary portion between the strip regions changes continuously. Storage media.
【請求項37】 地肌濃度が予め定めた濃度よりも薄い
前記短冊領域に関し、前記推定歪み量を“1”とするプ
ログラムを格納する請求項33ないし36の何れか一記
載の記憶媒体。
37. The storage medium according to claim 33, wherein a program for setting the estimated distortion amount to “1” is stored for the strip region whose background density is lower than a predetermined density.
【請求項38】 地肌濃度が予め定めた濃度よりも濃い
前記短冊領域のみから前記基準短冊領域を求めるプログ
ラムを格納する請求項33ないし36の何れか一記載の
記憶媒体。
38. The storage medium according to claim 33, wherein a program for obtaining the reference strip region only from the strip region whose background density is higher than a predetermined density is stored.
【請求項39】 前記基準短冊領域を前記ブック原稿の
左右のページに関してそれぞれ独立に求め、前記推定歪
み量の算出も前記ブック原稿の左右のページでそれぞれ
独立に行うプログラムを格納する請求項33ないし38
の何れか一記載の記憶媒体。
39. A program for storing the reference strip region independently for the left and right pages of the book document and calculating the estimated distortion amount independently for the left and right pages of the book document. 38
The storage medium according to any one of the above.
【請求項40】 前記統計的特徴量の算出対象となり得
る前記文字外接矩形が存在し、かつ、前記ページ綴じ部
を含む前記短冊領域の最近傍に位置する前記短冊領域の
前記特徴量に予め定めた定数値を乗じた値を前記ページ
綴じ部を含む前記短冊領域における前記統計的特徴量と
みなす処理について、前記ブック原稿の左右のページに
関してそれぞれ独立に行い、前記ブック原稿の左ページ
側の前記特徴量と前記ブック原稿の右ページ側の前記特
徴量とを前記ページ綴じ部を含む前記短冊領域にそれぞ
れ対応づけるプログラムを格納する請求項30記載の記
憶媒体。
40. The feature amount of the strip region located in the vicinity of the strip region including the page binding portion, in which the character circumscribed rectangle that can be the calculation target of the statistical feature amount is present. The process of regarding the value multiplied by the constant value as the statistical feature amount in the strip region including the page binding portion is performed independently for each of the left and right pages of the book document, and the left page side of the book document is 31. The storage medium according to claim 30, storing a program for associating a feature amount and the feature amount on the right page side of the book document with the strip region including the page binding unit.
【請求項41】 前記ページ綴じ部を含む前記短冊領域
に前記統計的特徴量の算出対象となり得る前記文字外接
矩形が存在する場合は、当該文字外接矩形を利用して前
記ページ綴じ部を含む前記短冊領域の前記特徴量を算出
し、 前記ページ綴じ部を含む前記短冊領域に前記統計的特徴
量の算出対象となり得る前記文字外接矩形が存在しない
場合は、前記ブック原稿の左ページ側の前記特徴量と前
記ブック原稿の右ページ側の前記特徴量の平均値を前記
ページ綴じ部を含む前記短冊領域における前記統計的特
徴量とみなすプログラムを格納する請求項40記載の記
憶媒体。
41. When the character circumscribed rectangle that can be a target of calculation of the statistical feature amount exists in the strip region including the page binding portion, the character circumscribed rectangle is used to include the page binding portion using the character circumscribed rectangle. Calculating the feature amount of the strip region, if the character circumscribed rectangle that can be the calculation target of the statistical feature amount does not exist in the strip region including the page binding portion, the feature on the left page side of the book document 41. The storage medium according to claim 40, wherein a program for storing an amount and an average value of the characteristic amount on the right page side of the book document as the statistical characteristic amount in the strip region including the page binding unit is stored.
【請求項42】 前記ページ綴じ部を含む前記短冊領域
に前記統計的特徴量の算出対象となり得る前記文字外接
矩形が存在する場合は、当該文字外接矩形を利用して前
記ページ綴じ部を含む前記短冊領域の前記特徴量を算出
し、 前記ページ綴じ部を含む前記短冊領域に前記統計的特徴
量の算出対象となり得る前記文字外接矩形が存在しない
場合は、前記ページ綴じ部を含む前記短冊領域における
前記統計的特徴量は未定とするプログラムを格納する請
求項40記載の記憶媒体。
42. When the character circumscribed rectangle that can be a target of calculation of the statistical feature quantity exists in the strip region including the page binding part, the character circumscribed rectangle is used to include the page binding part. Calculating the feature amount of the strip region, if the character circumscribed rectangle that can be the calculation target of the statistical feature amount does not exist in the strip region including the page binding portion, in the strip region including the page binding portion 41. The storage medium according to claim 40, wherein a program is stored for which the statistical feature is undecided.
【請求項43】 前記ページ綴じ部を含む前記短冊領域
における前記統計的特徴量が未定の場合、前記推定歪み
量を“1”とするプログラムを格納する請求項40記載
の記憶媒体。
43. The storage medium according to claim 40, wherein a program for setting the estimated distortion amount to “1” is stored when the statistical feature amount in the strip region including the page binding section is undecided.
【請求項44】 前記フィルタリング処理を施す際に、
前記ブック原稿の左ページのフィルタリングには左ペー
ジ用の前記特徴量を用い、前記ブック原稿の右ページの
フィルタリングには右ページ用の前記特徴量を用いるプ
ログラムを格納する請求項40ないし43の何れか一記
載の記憶媒体。
44. When performing the filtering processing,
44. A program that uses the feature value for the left page in filtering the left page of the book document and stores the program using the feature value for the right page in filtering the right page of the book document. The storage medium according to any one of the preceding claims.
【請求項45】 原稿画像を読み取る画像読取手段によ
り読み取られたスキャン画像の画像歪み補正をコンピュ
ータに実行させるプログラムであって、 前記画像読取手段により読み取られたスキャン画像から
文字を切り出して各文字の外接矩形を抽出する文字外接
矩形抽出機能と、 この文字外接矩形抽出機能により抽出された文字外接矩
形の形状の変化と前記スキャン画像の地肌濃度の変化と
を利用して前記スキャン画像の歪み量を推定する歪み量
推定機能と、 この歪み量推定機能により推定された歪み量に基き、前
記スキャン画像に対して拡大処理を施す画像補正機能
と、を前記コンピュータに実行させるプログラム。
45. A program for causing a computer to execute image distortion correction of a scanned image read by image reading means for reading a document image, the program comprising the steps of: extracting characters from the scanned image read by the image reading means; A character circumscribing rectangle extraction function for extracting a circumscribing rectangle; and a distortion amount of the scan image using a change in the shape of the character circumscribing rectangle extracted by the character circumscribing rectangle extraction function and a change in the background density of the scan image. A program for causing the computer to execute a distortion amount estimating function for estimating, and an image correcting function of performing an enlargement process on the scan image based on the distortion amount estimated by the distortion amount estimating function.
【請求項46】 前記スキャン画像を前記画像読取手段
での読み取りの主走査方向に垂直な方向を長辺とする短
冊状の複数の領域に分割し、各短冊領域内に中心を有す
る前記文字外接矩形の集合に関する統計的特徴量に基づ
いて前記スキャン画像の歪み量を推定する前記歪み量推
定機能を前記コンピュータに実行させる請求項45記載
のプログラム。
46. The character circumscribing method, wherein the scanned image is divided into a plurality of strip-shaped areas whose long sides extend in a direction perpendicular to the main scanning direction of reading by the image reading means, and each of the strip areas has a center. The program according to claim 45, wherein the program causes the computer to execute the distortion amount estimation function of estimating a distortion amount of the scan image based on a statistical feature amount regarding a set of rectangles.
【請求項47】 前記統計的特徴量を、 特徴量=文字外接矩形の横辺の長さ/文字外接矩形の縦
辺の長さ なる式に基づいて求める請求項46記載のプログラム。
47. The program according to claim 46, wherein the statistical feature amount is obtained based on an expression: feature amount = length of horizontal side of character circumscribed rectangle / length of vertical side of character circumscribed rectangle.
【請求項48】 前記短冊領域内に中心を有する前記各
文字外接矩形の前記各特徴量の平均値を当該短冊領域に
おける前記統計的特徴量とみなす請求項47記載のプロ
グラム。
48. The program according to claim 47, wherein an average value of each of the feature amounts of each of the character circumscribed rectangles having a center in the strip region is regarded as the statistical feature amount in the strip region.
【請求項49】 前記短冊領域内の前記統計的特徴量を
求める際、前記文字外接矩形の縦辺の長さが予め定めた
値より小さい場合はこれを予め排除する請求項48記載
のプログラム。
49. The program according to claim 48, wherein when calculating the statistical feature amount in the strip region, if the length of the vertical side of the character circumscribed rectangle is smaller than a predetermined value, the program is excluded.
【請求項50】 前記短冊領域内の前記統計的特徴量を
求める際、前記文字外接矩形の前記特徴量が予め定めた
値より大きい場合はこれを予め排除する請求項48また
は49記載のプログラム。
50. The program according to claim 48, wherein when calculating the statistical feature in the strip region, if the feature of the character circumscribed rectangle is larger than a predetermined value, the program is excluded.
【請求項51】 前記各短冊領域の地肌濃度を測定し、
その地肌濃度が最も濃い前記短冊領域をブック原稿のペ
ージ綴じ部を含む前記短冊領域であるとみなす請求項4
6ないし50の何れか一記載のプログラム。
51. The background density of each of the strip regions is measured,
5. The strip area having the highest background density is regarded as the strip area including a page binding portion of a book document.
The program according to any one of 6 to 50.
【請求項52】 前記ページ綴じ部を含む前記短冊領域
に前記統計的特徴量の算出対象となり得る前記文字外接
矩形が存在する場合は、当該文字外接矩形を利用して前
記ページ綴じ部を含む前記短冊領域の特徴量を算出し、 前記ページ綴じ部を含む前記短冊領域に前記統計的特徴
量の算出対象となり得る前記文字外接矩形が存在しない
場合は、前記統計的特徴量の算出対象となり得る前記文
字外接矩形が存在し、かつ、前記ページ綴じ部を含む前
記短冊領域の最近傍に位置する前記短冊領域の前記特徴
量に予め定めた定数値を乗じた値を前記ページ綴じ部を
含む前記短冊領域における前記統計的特徴量とみなす請
求項51記載のプログラム。
52. When the character circumscribed rectangle that can be the calculation target of the statistical feature amount exists in the strip region including the page binding unit, the character circumscribed rectangle is used to include the page binding unit using the character circumscribed rectangle. Calculating the feature amount of the strip region, and when the character circumscribed rectangle that can be the calculation target of the statistical feature amount does not exist in the strip region including the page binding portion, the statistical feature amount can be calculated. A character circumscribed rectangle is present, and the strip including the page binding unit is obtained by multiplying a value obtained by multiplying the feature amount of the strip region located closest to the strip region including the page binding unit by a predetermined constant value. 52. The program according to claim 51, wherein the program is regarded as the statistical feature in a region.
【請求項53】 前記短冊領域の位置の変化方向に関す
る移動平均を求め、この移動平均に基づいて前記特徴量
の変化に対するフィルタリング処理を施す請求項52記
載のプログラム。
53. The non-transitory storage medium according to claim 52, wherein a moving average in a direction in which the position of the strip region changes is obtained, and a filtering process for the change in the feature amount is performed based on the moving average.
【請求項54】 前記フィルタリング処理を施す際に、
フィルタのウィンドウが前記ページ綴じ部を含む前記短
冊領域の両側に位置する前記短冊領域に跨がらないよう
に前記ページ綴じ部付近ではウィンドウ長を調整する請
求項53記載のプログラム。
54. When performing the filtering processing,
54. The program according to claim 53, wherein a window length is adjusted near the page binding section so that a window of the filter does not straddle the strip areas located on both sides of the strip area including the page binding section.
【請求項55】 前記短冊領域の歪み量を算出する基準
となる前記短冊領域を定め、その基準短冊領域の前記特
徴量を前記スキャン画像全体の基準特徴量とし、前記各
短冊領域の前記推定歪み量を、 推定歪み量=各短冊領域の特徴量/基準特徴量 なる式に基づいて求める前記歪み量推定機能を前記コン
ピュータに実行させる請求項46ないし54の何れか一
記載のプログラム。
55. The strip area as a reference for calculating the distortion amount of the strip area, the feature amount of the reference strip area is used as a reference feature quantity of the entire scan image, and the estimated distortion of each strip area is determined. The program according to any one of claims 46 to 54, wherein the computer executes the distortion amount estimating function of obtaining the amount based on an equation: estimated distortion amount = feature amount of each strip region / reference feature amount.
【請求項56】 全ての前記短冊領域の前記特徴量の中
で最も値の大きな前記特徴量を前記基準特徴量とする請
求項55記載のプログラム。
56. The program according to claim 55, wherein the feature value having the largest value among the feature values of all the strip regions is set as the reference feature value.
【請求項57】 前記各短冊領域に関して前記推定歪み
量の逆数を補正拡大率として前記短冊領域の短辺方向に
拡大処理を施す前記画像補正機能を前記コンピュータに
実行させる請求項45ないし56の何れか一記載のプロ
グラム。
57. The computer according to claim 45, wherein the computer executes the image correction function of performing an enlarging process in a short side direction of the strip region using a reciprocal of the estimated distortion amount as a correction expansion ratio for each of the strip regions. The program according to (1).
【請求項58】 前記各短冊領域の境界部分における前
記補正拡大率が連続的に変化するように、前記各短冊領
域の境界部分における前記補正拡大率を予め補正する請
求項57記載のプログラム。
58. The program according to claim 57, wherein the correction magnification at the boundary between the strip regions is corrected in advance so that the correction magnification at the boundary between the strip regions continuously changes.
【請求項59】 地肌濃度が予め定めた濃度よりも薄い
前記短冊領域に関し、前記推定歪み量を“1”とする請
求項55ないし58の何れか一記載のプログラム。
59. The program according to claim 55, wherein the estimated distortion amount is set to "1" with respect to the strip region whose background density is lower than a predetermined density.
【請求項60】 地肌濃度が予め定めた濃度よりも濃い
前記短冊領域のみから前記基準短冊領域を求める請求項
55ないし58の何れか一記載のプログラム。
60. The program according to claim 55, wherein the reference strip area is obtained only from the strip area whose background density is higher than a predetermined density.
【請求項61】 前記基準短冊領域を前記ブック原稿の
左右のページに関してそれぞれ独立に求め、前記推定歪
み量の算出も前記ブック原稿の左右のページでそれぞれ
独立に行う請求項55ないし60の何れか一記載のプロ
グラム。
61. The book strip document according to claim 55, wherein the reference strip regions are obtained independently for left and right pages of the book document, and the estimated distortion amount is calculated independently for the left and right pages of the book document. A program according to one of the above.
【請求項62】 前記統計的特徴量の算出対象となり得
る前記文字外接矩形が存在し、かつ、前記ページ綴じ部
を含む前記短冊領域の最近傍に位置する前記短冊領域の
前記特徴量に予め定めた定数値を乗じた値を前記ページ
綴じ部を含む前記短冊領域における前記統計的特徴量と
みなす処理について、前記ブック原稿の左右のページに
関してそれぞれ独立に行い、前記ブック原稿の左ページ
側の前記特徴量と前記ブック原稿の右ページ側の前記特
徴量とを前記ページ綴じ部を含む前記短冊領域にそれぞ
れ対応づける請求項52記載のプログラム。
62. The feature amount of the strip region located in the vicinity of the strip region including the page binding portion, in which the character circumscribed rectangle that can be the calculation target of the statistical feature amount is present. The process of regarding the value multiplied by the constant value as the statistical feature amount in the strip region including the page binding portion is performed independently for each of the left and right pages of the book document, and the left page side of the book document is 53. The program according to claim 52, wherein a characteristic amount and the characteristic amount on the right page side of the book document are respectively associated with the strip region including the page binding unit.
【請求項63】 前記ページ綴じ部を含む前記短冊領域
に前記統計的特徴量の算出対象となり得る前記文字外接
矩形が存在する場合は、当該文字外接矩形を利用して前
記ページ綴じ部を含む前記短冊領域の前記特徴量を算出
し、 前記ページ綴じ部を含む前記短冊領域に前記統計的特徴
量の算出対象となり得る前記文字外接矩形が存在しない
場合は、前記ブック原稿の左ページ側の前記特徴量と前
記ブック原稿の右ページ側の前記特徴量の平均値を前記
ページ綴じ部を含む前記短冊領域における前記統計的特
徴量とみなす請求項62記載のプログラム。
63. When the character circumscribed rectangle that can be a target of calculation of the statistical feature amount exists in the strip region including the page binding unit, the character circumscribed rectangle is used to include the page binding unit. Calculating the feature amount of the strip region, if the character circumscribed rectangle that can be the calculation target of the statistical feature amount does not exist in the strip region including the page binding portion, the feature on the left page side of the book document 63. The program according to claim 62, wherein an average value of the amount and the feature value on the right page side of the book document is regarded as the statistical feature value in the strip region including the page binding portion.
【請求項64】 前記ページ綴じ部を含む前記短冊領域
に前記統計的特徴量の算出対象となり得る前記文字外接
矩形が存在する場合は、当該文字外接矩形を利用して前
記ページ綴じ部を含む前記短冊領域の前記特徴量を算出
し、 前記ページ綴じ部を含む前記短冊領域に前記統計的特徴
量の算出対象となり得る前記文字外接矩形が存在しない
場合は、前記ページ綴じ部を含む前記短冊領域における
前記統計的特徴量は未定とする請求項62記載のプログ
ラム。
64. When the character circumscribed rectangle that can be a target of calculating the statistical feature quantity exists in the strip region including the page binding unit, the character circumscribed rectangle is used to include the page binding unit using the character circumscribed rectangle. Calculating the feature amount of the strip region, if the character circumscribed rectangle that can be the calculation target of the statistical feature amount does not exist in the strip region including the page binding portion, in the strip region including the page binding portion 63. The program according to claim 62, wherein the statistical feature amount is undecided.
【請求項65】 前記ページ綴じ部を含む前記短冊領域
における前記統計的特徴量が未定の場合、前記推定歪み
量を“1”とする請求項62記載のプログラム。
65. The program according to claim 62, wherein the estimated distortion amount is set to “1” when the statistical feature amount in the strip region including the page binding portion is undecided.
【請求項66】 前記フィルタリング処理を施す際に、
前記ブック原稿の左ページのフィルタリングには左ペー
ジ用の前記特徴量を用い、前記ブック原稿の右ページの
フィルタリングには右ページ用の前記特徴量を用いる請
求項62ないし65の何れか一記載のプログラム。
66. When performing the filtering processing,
66. The filtering method of the left page of the book document using the feature value for the left page, and the filtering of the right page of the book document using the feature value for the right page. program.
【請求項67】 原稿画像を読み取る画像読取手段によ
り読み取られたスキャン画像の歪みを補正する画像歪み
補正方法であって、 前記スキャン画像から文字を切り出して各文字の外接矩
形を抽出する文字外接矩形抽出工程と、 この文字外接矩形抽出工程により抽出された文字外接矩
形の形状の変化と前記スキャン画像の地肌濃度の変化と
を利用して前記スキャン画像の歪み量を推定する歪み量
推定工程と、 この歪み量推定工程により推定された歪み量に基き、前
記スキャン画像に対して拡大処理を施す画像補正工程
と、を含んでなる画像歪み補正方法。
67. An image distortion correction method for correcting distortion of a scan image read by image reading means for reading a document image, the method comprising: extracting characters from the scan image to extract a circumscribed rectangle of each character; An extracting step, a distortion amount estimating step of estimating a distortion amount of the scan image using a change in the shape of the character circumscribed rectangle extracted in the character circumscribed rectangle extraction step and a change in the background density of the scan image; An image correction step of performing an enlargement process on the scanned image based on the distortion amount estimated in the distortion amount estimation step.
【請求項68】 前記歪み量推定工程は、前記スキャン
画像を前記画像読取手段での読み取りの主走査方向に垂
直な方向を長辺とする短冊状の複数の領域に分割し、各
短冊領域内に中心を有する前記文字外接矩形の集合に関
する統計的特徴量に基づいて前記スキャン画像の歪み量
を推定する請求項67記載の画像歪み補正方法。
68. The distortion amount estimating step includes dividing the scanned image into a plurality of strip-shaped areas each having a longer side in a direction perpendicular to the main scanning direction of reading by the image reading means, and 68. The image distortion correction method according to claim 67, wherein the distortion amount of the scan image is estimated based on a statistical feature amount relating to the set of the character circumscribed rectangles having a center at the center.
【請求項69】 前記統計的特徴量を、 特徴量=文字外接矩形の横辺の長さ/文字外接矩形の縦
辺の長さ なる式に基づいて求める請求項68記載の画像歪み補正
方法。
69. The image distortion correction method according to claim 68, wherein the statistical feature amount is calculated based on an expression: feature amount = length of horizontal side of character circumscribed rectangle / length of vertical side of character circumscribed rectangle.
【請求項70】 前記短冊領域内に中心を有する前記各
文字外接矩形の前記各特徴量の平均値を当該短冊領域に
おける前記統計的特徴量とみなす請求項69記載の画像
歪み補正方法。
70. The image distortion correction method according to claim 69, wherein an average value of the respective characteristic amounts of the respective character circumscribed rectangles having a center in the strip region is regarded as the statistical feature amount in the strip region.
【請求項71】 前記短冊領域内の前記統計的特徴量を
求める際、前記文字外接矩形の縦辺の長さが予め定めた
値より小さい場合はこれを予め排除する請求項70記載
の画像歪み補正方法。
71. The image distortion according to claim 70, wherein when calculating the statistical feature amount in the strip region, if the length of the vertical side of the character circumscribed rectangle is smaller than a predetermined value, the image distortion is eliminated in advance. Correction method.
【請求項72】 前記短冊領域内の前記統計的特徴量を
求める際、前記文字外接矩形の前記特徴量が予め定めた
値より大きい場合はこれを予め排除する請求項70また
は71記載の画像歪み補正方法。
72. The image distortion according to claim 70, wherein, when obtaining the statistical feature amount in the strip region, if the feature amount of the character circumscribed rectangle is larger than a predetermined value, the feature amount is excluded in advance. Correction method.
【請求項73】 前記各短冊領域の地肌濃度を測定し、
その地肌濃度が最も濃い前記短冊領域をブック原稿のペ
ージ綴じ部を含む前記短冊領域であるとみなす請求項6
8ないし72の何れか一記載の画像歪み補正方法。
73. A background density of each of the strip regions is measured,
7. The strip area having the highest background density is regarded as the strip area including a page binding portion of a book document.
73. The image distortion correction method according to any one of items 8 to 72.
【請求項74】 前記ページ綴じ部を含む前記短冊領域
に前記統計的特徴量の算出対象となり得る前記文字外接
矩形が存在する場合は、当該文字外接矩形を利用して前
記ページ綴じ部を含む前記短冊領域の特徴量を算出し、 前記ページ綴じ部を含む前記短冊領域に前記統計的特徴
量の算出対象となり得る前記文字外接矩形が存在しない
場合は、前記統計的特徴量の算出対象となり得る前記文
字外接矩形が存在し、かつ、前記ページ綴じ部を含む前
記短冊領域の最近傍に位置する前記短冊領域の前記特徴
量に予め定めた定数値を乗じた値を前記ページ綴じ部を
含む前記短冊領域における前記統計的特徴量とみなす請
求項73記載の画像歪み補正方法。
74. When the character circumscribed rectangle that can be a target of calculation of the statistical feature amount exists in the strip region including the page binding portion, the character circumscribed rectangle is used to include the page binding portion using the character circumscribed rectangle. Calculating the feature amount of the strip region, and when the character circumscribed rectangle that can be the calculation target of the statistical feature amount does not exist in the strip region including the page binding portion, the statistical feature amount can be calculated. The strip including the page binding section is a value in which a character circumscribed rectangle is present, and a value obtained by multiplying the feature amount of the strip area located closest to the strip area including the page binding section by a predetermined constant value. 74. The image distortion correction method according to claim 73, wherein the method is regarded as the statistical feature amount in a region.
【請求項75】 前記短冊領域の位置の変化方向に関す
る移動平均を求め、この移動平均に基づいて前記特徴量
の変化に対するフィルタリング処理を施す請求項74記
載の画像歪み補正方法。
75. The image distortion correction method according to claim 74, wherein a moving average in a direction in which the position of the strip region changes is obtained, and a filtering process for the change in the feature amount is performed based on the moving average.
【請求項76】 前記フィルタリング処理を施す際に、
フィルタのウィンドウが前記ページ綴じ部を含む前記短
冊領域の両側に位置する前記短冊領域に跨がらないよう
に前記ページ綴じ部付近ではウィンドウ長を調整する請
求項75記載の画像歪み補正方法。
76. When performing the filtering process,
76. The image distortion correction method according to claim 75, wherein a window length is adjusted near the page binding portion so that a window of the filter does not straddle the strip regions located on both sides of the strip region including the page binding portion.
【請求項77】 前記歪み量推定工程は、前記短冊領域
の歪み量を算出する基準となる前記短冊領域を定め、そ
の基準短冊領域の前記特徴量を前記スキャン画像全体の
基準特徴量とし、前記各短冊領域の前記推定歪み量を、 推定歪み量=各短冊領域の特徴量/基準特徴量 なる式に基づいて求める請求項68ないし76の何れか
一記載の画像歪み補正方法。
77. The distortion amount estimation step defines the strip region as a reference for calculating the distortion amount of the strip region, sets the feature amount of the reference strip region as a reference feature amount of the entire scan image, 77. The image distortion correction method according to any one of claims 68 to 76, wherein the estimated distortion amount of each strip region is obtained based on an equation: estimated distortion amount = feature amount of each strip region / reference feature amount.
【請求項78】 全ての前記短冊領域の前記特徴量の中
で最も値の大きな前記特徴量を前記基準特徴量とする請
求項77記載の画像歪み補正方法。
78. The image distortion correction method according to claim 77, wherein the feature value having the largest value among the feature values of all the strip regions is set as the reference feature value.
【請求項79】 前記画像補正工程は、前記各短冊領域
に関して前記推定歪み量の逆数を補正拡大率として前記
短冊領域の短辺方向に拡大処理を施す請求項67ないし
78の何れか一記載の画像歪み補正方法。
79. The image correction method according to claim 67, wherein, in the image correction step, an enlarging process is performed in a short side direction of the strip region with respect to each of the strip regions, using a reciprocal of the estimated distortion amount as a correction expansion ratio. Image distortion correction method.
【請求項80】 前記各短冊領域の境界部分における前
記補正拡大率が連続的に変化するように、前記各短冊領
域の境界部分における前記補正拡大率を予め補正する請
求項79記載の画像歪み補正方法。
80. The image distortion correction according to claim 79, wherein the correction magnification at the boundary between the strip regions is corrected in advance so that the correction magnification at the boundary between the strip regions continuously changes. Method.
【請求項81】 地肌濃度が予め定めた濃度よりも薄い
前記短冊領域に関し、前記推定歪み量を“1”とする請
求項77ないし80の何れか一記載の画像歪み補正方
法。
81. The image distortion correction method according to claim 77, wherein the estimated distortion amount is “1” with respect to the strip region whose background density is lower than a predetermined density.
【請求項82】 地肌濃度が予め定めた濃度よりも濃い
前記短冊領域のみから前記基準短冊領域を求める請求項
77ないし80の何れか一記載の画像歪み補正方法。
82. The image distortion correction method according to claim 77, wherein the reference strip region is obtained only from the strip region whose background density is higher than a predetermined density.
【請求項83】 前記基準短冊領域を前記ブック原稿の
左右のページに関してそれぞれ独立に求め、前記推定歪
み量の算出も前記ブック原稿の左右のページでそれぞれ
独立に行う請求項77ないし82の何れか一記載の画像
歪み補正方法。
83. The reference strip region is obtained independently for left and right pages of the book document, and the estimated distortion amount is calculated independently for left and right pages of the book document. An image distortion correction method according to claim 1.
【請求項84】 前記統計的特徴量の算出対象となり得
る前記文字外接矩形が存在し、かつ、前記ページ綴じ部
を含む前記短冊領域の最近傍に位置する前記短冊領域の
前記特徴量に予め定めた定数値を乗じた値を前記ページ
綴じ部を含む前記短冊領域における前記統計的特徴量と
みなす処理について、前記ブック原稿の左右のページに
関してそれぞれ独立に行い、前記ブック原稿の左ページ
側の前記特徴量と前記ブック原稿の右ページ側の前記特
徴量とを前記ページ綴じ部を含む前記短冊領域にそれぞ
れ対応づける請求項74記載の画像歪み補正方法。
84. The character circumscribing rectangle that can be a target of calculation of the statistical feature is present, and is predetermined in the feature of the strip region located closest to the strip region including the page binding portion. The process of regarding the value multiplied by the constant value as the statistical feature amount in the strip region including the page binding portion is performed independently for each of the left and right pages of the book document, and the left page side of the book document is 75. The image distortion correction method according to claim 74, wherein a characteristic amount and the characteristic amount on the right page side of the book document are respectively associated with the strip region including the page binding unit.
【請求項85】 前記ページ綴じ部を含む前記短冊領域
に前記統計的特徴量の算出対象となり得る前記文字外接
矩形が存在する場合は、当該文字外接矩形を利用して前
記ページ綴じ部を含む前記短冊領域の前記特徴量を算出
し、 前記ページ綴じ部を含む前記短冊領域に前記統計的特徴
量の算出対象となり得る前記文字外接矩形が存在しない
場合は、前記ブック原稿の左ページ側の前記特徴量と前
記ブック原稿の右ページ側の前記特徴量の平均値を前記
ページ綴じ部を含む前記短冊領域における前記統計的特
徴量とみなす請求項84記載の画像歪み補正方法。
85. When the character circumscribed rectangle that can be a target of calculation of the statistical feature amount exists in the strip region including the page binding unit, the character circumscribed rectangle is used to include the page binding unit. Calculating the feature amount of the strip region, if the character circumscribed rectangle that can be the calculation target of the statistical feature amount does not exist in the strip region including the page binding portion, the feature on the left page side of the book document 85. The image distortion correction method according to claim 84, wherein an average value of the amount and the feature value on the right page side of the book document is regarded as the statistical feature value in the strip region including the page binding portion.
【請求項86】 前記ページ綴じ部を含む前記短冊領域
に前記統計的特徴量の算出対象となり得る前記文字外接
矩形が存在する場合は、当該文字外接矩形を利用して前
記ページ綴じ部を含む前記短冊領域の前記特徴量を算出
し、 前記ページ綴じ部を含む前記短冊領域に前記統計的特徴
量の算出対象となり得る前記文字外接矩形が存在しない
場合は、前記ページ綴じ部を含む前記短冊領域における
前記統計的特徴量は未定とする請求項84記載の画像歪
み補正方法。
86. When the character circumscribed rectangle that can be the calculation target of the statistical feature quantity exists in the strip region including the page binding unit, the character circumscribed rectangle is used to include the page binding unit using the character circumscribed rectangle. Calculating the feature amount of the strip region, if the character circumscribed rectangle that can be the calculation target of the statistical feature amount does not exist in the strip region including the page binding portion, in the strip region including the page binding portion The image distortion correction method according to claim 84, wherein the statistical feature amount is undecided.
【請求項87】 前記ページ綴じ部を含む前記短冊領域
における前記統計的特徴量が未定の場合、前記推定歪み
量を“1”とする請求項86記載の画像歪み補正方法。
87. The image distortion correction method according to claim 86, wherein the estimated distortion amount is set to “1” when the statistical feature amount in the strip region including the page binding section is undecided.
【請求項88】 前記フィルタリング処理を施す際に、
前記ブック原稿の左ページのフィルタリングには左ペー
ジ用の前記特徴量を用い、前記ブック原稿の右ページの
フィルタリングには右ページ用の前記特徴量を用いる請
求項84ないし87の何れか一記載の画像歪み補正方
法。
88. When performing the filtering processing,
89. The filtering method for the left page of the book document using the feature value for the left page, and the filtering for the right page of the book document using the feature value for the right page. Image distortion correction method.
【請求項89】 原稿画像を読み取る画像読取手段と、 この画像読取手段により読み取られたスキャン画像の補
正を行う請求項1ないし22の何れか一記載の画像歪み
補正装置と、を備える画像読取装置。
89. An image reading apparatus comprising: an image reading means for reading a document image; and the image distortion correcting apparatus according to claim 1, which corrects a scanned image read by the image reading means. .
【請求項90】 原稿画像を読み取る画像読取手段と、 この画像読取手段により読み取られたスキャン画像の補
正を行う請求項1ないし22の何れか一記載の画像歪み
補正装置と、 この画像歪み補正装置から出力される画像データに基づ
いた画像を用紙上に印刷する画像印刷装置と、を備える
画像形成装置。
90. An image reading device for reading a document image, an image distortion correcting device according to any one of claims 1 to 22 for correcting a scanned image read by said image reading device, and said image distortion correcting device. And an image printing device for printing an image on paper based on image data output from the image forming apparatus.
JP2001101278A 2000-12-14 2001-03-30 Image distortion correction apparatus, storage medium, program, image distortion correction method, image reading apparatus, and image forming apparatus Expired - Fee Related JP4480291B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001101278A JP4480291B2 (en) 2000-12-14 2001-03-30 Image distortion correction apparatus, storage medium, program, image distortion correction method, image reading apparatus, and image forming apparatus

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2000379893 2000-12-14
JP2000-379893 2000-12-14
JP2001101278A JP4480291B2 (en) 2000-12-14 2001-03-30 Image distortion correction apparatus, storage medium, program, image distortion correction method, image reading apparatus, and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2002247348A true JP2002247348A (en) 2002-08-30
JP4480291B2 JP4480291B2 (en) 2010-06-16

Family

ID=26605811

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001101278A Expired - Fee Related JP4480291B2 (en) 2000-12-14 2001-03-30 Image distortion correction apparatus, storage medium, program, image distortion correction method, image reading apparatus, and image forming apparatus

Country Status (1)

Country Link
JP (1) JP4480291B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008234223A (en) * 2007-03-19 2008-10-02 Ricoh Co Ltd Image processing apparatus, image processing method, program, and recording medium
US20220311891A1 (en) * 2019-03-19 2022-09-29 Pfu Limited Information processing device, method, and medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008234223A (en) * 2007-03-19 2008-10-02 Ricoh Co Ltd Image processing apparatus, image processing method, program, and recording medium
US20220311891A1 (en) * 2019-03-19 2022-09-29 Pfu Limited Information processing device, method, and medium
US11729328B2 (en) * 2019-03-19 2023-08-15 Pfu Limited Information processing device, method, and a non-transitory computer readable storage medium for scanning an image using a protective sheet to estimate a ratio of document lengths, acquired from scanned images, to correct a length of a scanned image or length of a cropped image, based on the ratio

Also Published As

Publication number Publication date
JP4480291B2 (en) 2010-06-16

Similar Documents

Publication Publication Date Title
US7430065B2 (en) Method and system for correcting distortions in image data scanned from bound originals
US7016081B2 (en) Image distortion correction apparatus, distortion correction method therefor, recording media, image scanner and image construction apparatus
JP4271085B2 (en) Image correction apparatus, image reading apparatus, program, and storage medium
JP4162633B2 (en) Image distortion correction apparatus, image reading apparatus, image forming apparatus, program, and storage medium
JP3983721B2 (en) Image distortion correction apparatus, image reading apparatus, image forming apparatus, and program
JP4111697B2 (en) Image brightness correction apparatus, image reading apparatus, image forming apparatus, and program
JP4180260B2 (en) Image distortion correction apparatus, image reading apparatus, image forming apparatus, and program
JP2002247348A (en) Image distortion correcting apparatus, storage medium, program, image distortion correcting method, image reader and image forming device
JP4507124B2 (en) Image distortion correction apparatus, image reading apparatus, image forming apparatus, and program
JP4585015B2 (en) Image distortion correction apparatus, image reading apparatus, image forming apparatus, and program
JP3979639B2 (en) Image distortion correction apparatus, image reading apparatus, image forming apparatus, and program
JP3926294B2 (en) Image distortion correction apparatus, image reading apparatus, image forming apparatus, image distortion correction method, image distortion correction program, and recording medium
JP4006242B2 (en) Image correction apparatus, program, storage medium, and image correction method
JP4136860B2 (en) Image distortion correction apparatus, image reading apparatus, image forming apparatus, and program
JP4061256B2 (en) Image distortion correction apparatus, image reading apparatus, image forming apparatus, and program
JP3865215B2 (en) Image distortion correction apparatus, program, storage medium, and image distortion correction method
JP4194076B2 (en) Image distortion correction apparatus, image reading apparatus, image forming apparatus, program, and storage medium
JP3877142B2 (en) Image distortion correction apparatus, image reading apparatus, image forming apparatus, program, and storage medium
JP3865199B2 (en) Image reading apparatus, image distortion correction method, storage medium, and image forming apparatus
JP4789221B2 (en) Image distortion correction apparatus, image reading apparatus, image forming apparatus, and program
JP4093970B2 (en) Image distortion correction apparatus, program, and storage medium
JP4198613B2 (en) Image distortion correction apparatus, program, and storage medium
JP3917421B2 (en) Image brightness correction apparatus, image reading apparatus, image forming apparatus, program, and storage medium
JP2003204428A (en) Image correcting device, image reader, image forming apparatus program, and recording medium
JP4145256B2 (en) Image distortion correction apparatus, program, and storage medium

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040930

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20051021

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060905

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080321

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091215

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100210

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: 20100309

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: 20100316

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130326

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140326

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees