[go: up one dir, main page]

JP2012015592A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2012015592A
JP2012015592A JP2010147467A JP2010147467A JP2012015592A JP 2012015592 A JP2012015592 A JP 2012015592A JP 2010147467 A JP2010147467 A JP 2010147467A JP 2010147467 A JP2010147467 A JP 2010147467A JP 2012015592 A JP2012015592 A JP 2012015592A
Authority
JP
Japan
Prior art keywords
document
unit
angle
image
binding portion
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.)
Withdrawn
Application number
JP2010147467A
Other languages
Japanese (ja)
Inventor
Minoru Oda
稔 小田
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Data Corp
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 Oki Data Corp filed Critical Oki Data Corp
Priority to JP2010147467A priority Critical patent/JP2012015592A/en
Publication of JP2012015592A publication Critical patent/JP2012015592A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Image Input (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

【課題】利用者に原稿の載置状態を知らせて再配置を促し適切な読取画像を得る。
【解決手段】画像処理装置10は、原稿21を読み取る画像読取部31と、読取画像中の原稿の外形輪郭線を抽出する輪郭抽出部32と、外形輪郭線のうち、原稿21の小口を示す第1の外形輪郭線と、小口を示す第2の外形輪郭線とが成す小口角度を検出する小口角度検出部33と、小口角度と第1の閾値との比較を行い、比較結果に基づいて前記読取画像に歪みがあるか否かを判定する判定部34と、判定部34による判定結果に基づいて原稿の配置の案内を表示する表示部35とを備えている。このため、利用者に対し、読取画像中の原稿における配置の歪み状態と原稿21の再配置を促すメッセージを表示することができるので、歪みの少ない読取画像を容易に得ることができる。
【選択図】図1
A user is notified of a placement state of a document to prompt relocation and obtain an appropriate read image.
An image processing apparatus includes an image reading unit for reading an original, an outline extracting unit for extracting an outline of a document in a read image, and a forefront of the document among the outlines. The fore edge angle detection unit 33 that detects the fore edge angle formed by the first outer shape outline and the second outer shape outline indicating the fore edge is compared with the fore edge angle and the first threshold value, and based on the comparison result. A determination unit 34 that determines whether or not the read image is distorted, and a display unit 35 that displays a document placement guide based on a determination result by the determination unit 34. For this reason, since it is possible to display a message prompting the user to distort the arrangement of the original in the read image and to rearrange the original 21, it is possible to easily obtain a read image with little distortion.
[Selection] Figure 1

Description

本発明は、スキャナ、複写機、ファクシミリ等の画像処理装置に関するものである。   The present invention relates to an image processing apparatus such as a scanner, a copying machine, and a facsimile.

従来、製本された原稿を読み込んだ際の画像の歪みを補正する技術は、例えば、読み取った画像データから原稿の外形の輪郭線を抽出して、この輪郭線の情報から歪みの度合いを求め、これに基づいて画像を伸長して綴じ部の歪みを補正するものが知られている。   Conventionally, a technique for correcting image distortion at the time of reading a bound original, for example, by extracting the outline of the outline of the original from the read image data and obtaining the degree of distortion from the information on the outline, Based on this, there is known a technique that corrects distortion of a binding portion by expanding an image.

このような画像処理装置における歪み補正に関する技術は、例えば、次の特許文献1に記載されている。   A technique relating to distortion correction in such an image processing apparatus is described in, for example, the following Patent Document 1.

特開2006−87027号公報JP 2006-87027 A

しかしながら、従来の画像処理装置では、載置台に原稿を押し付けて読み取る際に原稿の天と地で押し付ける強さが異なると、綴じ部付近において、画像の歪みが生じ、八の字形状の暗部が発生するケースを考慮していない。そのため、このような場合、適切な歪み補正処理を施すことが困難であった。   However, in the conventional image processing apparatus, when the original is pressed against the mounting table and read, if the strength of pressing between the top and the bottom of the original is different, the image is distorted in the vicinity of the binding portion, and an eight-shaped dark portion is formed. The case that occurs is not considered. Therefore, in such a case, it is difficult to perform an appropriate distortion correction process.

本発明の画像処理装置は、綴じ部と小口とを有する原稿を載置する載置台を備え、前記載置台に配置された前記原稿を読み取って読取画像を出力する画像読取部と、前記読取画像において前記綴じ部により生じる前記原稿の配置の歪み状態を検出する歪み検出部と、前記歪み検出部の検出結果と第1の閾値とを比較して前記歪み状態が前記第1の閾値を越えるときには前記原稿の配置に歪み有りと判定する判定部と、前記判定部の判定結果に基づき、前記原稿における配置の歪み状態を表示して再配置を促す表示部とを備えている。   An image processing apparatus according to the present invention includes a placement table on which a document having a binding portion and a fore edge is placed, reads the document placed on the placement table, and outputs a read image; and the read image A distortion detection unit that detects a distortion state of the original arrangement caused by the binding unit, and a detection result of the distortion detection unit and a first threshold value are compared, and the distortion state exceeds the first threshold value. A determination unit configured to determine that the document arrangement is distorted; and a display unit configured to display a distortion state of the document in the document based on a determination result of the determination unit and to prompt rearrangement.

本発明の画像処理装置によれば、原稿の配置の歪みを検知し、利用者に対して原稿の歪みの状態を示す原稿歪み画像と、原稿の再配置を促すメッセージとを表示するので、適切な歪み補正処理を施すことができる。   According to the image processing apparatus of the present invention, the distortion of the document arrangement is detected, and the document distortion image indicating the document distortion state and a message prompting the user to reposition the document are displayed. Distortion correction processing can be performed.

図1は本発明の実施例1における図2の画像処理装置10の構成を示す機能ブロック図である。FIG. 1 is a functional block diagram showing the configuration of the image processing apparatus 10 of FIG. 2 in Embodiment 1 of the present invention. 図2は本発明の実施例1における画像処理装置10の概略を示す構成図である。FIG. 2 is a configuration diagram showing an outline of the image processing apparatus 10 according to the first embodiment of the present invention. 図3は図1の画像読取部31が読み取った原稿21Fの歪みの例を示す図である。FIG. 3 is a diagram illustrating an example of distortion of the document 21F read by the image reading unit 31 of FIG. 図4は図1の小口角度検出部33が小口角度θを算出する際及び判定部34が八の字形状の広がり方向を判定する際の読取画像30を示す図である。FIG. 4 is a diagram showing the read image 30 when the fore edge angle detection unit 33 of FIG. 1 calculates the fore edge angle θ and when the determination unit 34 determines the spreading direction of the figure eight shape. 図5は原稿21Fが奥側A1に広がっているときに図1中の表示部35によって表示されるメッセージの例を示す図である。FIG. 5 is a diagram illustrating an example of a message displayed by the display unit 35 in FIG. 1 when the document 21F is spread on the back side A1. 図6は原稿21Fが手前側A2に広がっているときに図1中の表示部35によって表示されるメッセージの例を示す図である。FIG. 6 is a diagram showing an example of a message displayed by the display unit 35 in FIG. 1 when the document 21F spreads to the near side A2. 図7は本発明の実施例1における図1の画像処理装置10の動作を示すフローチャートである。FIG. 7 is a flowchart showing the operation of the image processing apparatus 10 of FIG. 1 in Embodiment 1 of the present invention. 図8は図7のステップS3における小口角度算出処理を示すサブルーチンである。FIG. 8 is a subroutine showing the fore edge angle calculation process in step S3 of FIG. 図9は図7のステップS5における八の字形状判定処理を示すサブルーチンである。FIG. 9 is a subroutine showing the figure-of-eight shape determination process in step S5 of FIG. 図10は本発明の実施例2における画像処理装置10Aの構成を示す機能ブロック図である。FIG. 10 is a functional block diagram showing the configuration of the image processing apparatus 10A according to the second embodiment of the present invention. 図11は図10中の綴じ部抽出部52が低輝度領域24Fの領域輪郭線43aを抽出するときの図である。FIG. 11 is a diagram when the binding portion extraction unit 52 in FIG. 10 extracts the region outline 43a of the low luminance region 24F. 図12は図10の判定部54が八の字形状の広がり方向を判定する際の読取画像20Fを示す図である。FIG. 12 is a diagram illustrating the read image 20F when the determination unit 54 of FIG. 10 determines the spreading direction of the figure eight shape. 図13は本発明の実施例2における図10の画像処理装置10Aの動作を示すフローチャートである。FIG. 13 is a flowchart showing the operation of the image processing apparatus 10A of FIG. 10 according to the second embodiment of the present invention. 図14は図13のステップS36における八の字形状判定処理を示すサブルーチンである。FIG. 14 is a subroutine showing the figure-shaped determination process in step S36 of FIG.

本発明を実施するための形態は、以下の好ましい実施例の説明を添付図面と照らし合わせて読むと、明らかになるであろう。但し、図面はもっぱら解説のためのものであって、本発明の範囲を限定するものではない。   Modes for carrying out the present invention will become apparent from the following description of the preferred embodiments when read in light of the accompanying drawings. However, the drawings are only for explanation and do not limit the scope of the present invention.

(実施例1の構成)
図2(a)、(b)は、本発明の実施例1における画像処理装置10の概略を示す構成図であり、同図(a)は全体の斜視図、及び同図(b)は製本の斜視図である。
(Configuration of Example 1)
2A and 2B are configuration diagrams schematically showing the image processing apparatus 10 according to the first embodiment of the present invention. FIG. 2A is an overall perspective view, and FIG. FIG.

画像処理装置10は、例えば、スキャナであって、製本20の原稿21を光学的に読み取って電気信号からなる読取画像を出力する装置である。   The image processing apparatus 10 is, for example, a scanner, and is an apparatus that optically reads the original 21 of the bookbinding 20 and outputs a read image including an electric signal.

製本20は、複数の原稿21を綴じた綴じ部22と、この綴じ部22と対向する左右の部分に第1の小口23a及び第2の小口23bを有している。なお、製本20の上部を天25、下部を地26という。   The bookbinding 20 has a binding portion 22 in which a plurality of originals 21 are bound, and a first fore edge 23 a and a second fore edge 23 b in left and right portions facing the binding portion 22. The upper part of the bookbinding 20 is called the ceiling 25 and the lower part is called the ground 26.

このような原稿21を読み取るための画像処理装置10は、原稿21の読取画像を得るイメージセンサ11と、読取対象の製本20を載置する載置台12と、表示パネル15に表示されるカーソルの移動や表示パネル15に表示されるアイコンの選択等の利用者の操作を電気信号として取り込む操作ボタン13と、原稿21の読み取り動作の開始及び停止の操作を電気信号として取り込む開始ボタン14と、操作ボタン13により入力された信号に基づき、画像処理装置10の状態や各種情報を表示する表示パネル15と、載置台12の上面を覆う開閉可能なカバー16とを有している。   Such an image processing apparatus 10 for reading a document 21 includes an image sensor 11 for obtaining a read image of the document 21, a mounting table 12 on which a bookbinding book 20 to be read is mounted, and a cursor displayed on the display panel 15. An operation button 13 for capturing a user operation such as movement or selection of an icon displayed on the display panel 15 as an electrical signal, a start button 14 for capturing an operation for starting and stopping the reading operation of the document 21 as an electrical signal, and an operation Based on a signal input from the button 13, the display panel 15 displays the state of the image processing apparatus 10 and various information, and a cover 16 that can be opened and closed to cover the upper surface of the mounting table 12.

イメージセンサ11は、例えば、CCD(Charge Couple Device)等の光電変換素子を一列に並べて主走査を行うように構成されている。光電変換素子は、載置台12の下部方向から発光された光が原稿21で反射される反射光を受光してこれを電気信号に変換するように構成されている。イメージセンサ11は、ステッピングモータ等により主走査方向Xに対して垂直の副走査方向Yに移動して原稿21を読み取る機能を有している。   For example, the image sensor 11 is configured to perform main scanning by arranging photoelectric conversion elements such as a charge coupled device (CCD) in a line. The photoelectric conversion element is configured so that light emitted from the lower direction of the mounting table 12 receives reflected light reflected by the document 21 and converts it into an electrical signal. The image sensor 11 has a function of reading the document 21 by moving in the sub-scanning direction Y perpendicular to the main scanning direction X by a stepping motor or the like.

載置台12は、原稿21を載置するための透明なプラスチック板又はガラス板で構成された原稿載置部分と、これを支持する枠部分とを有している。なお、本実施例1においては、利用者の操作に対して遠い側の載置台12の部分を奥側A1といい、利用者の操作に対して近い部分を手前側A2という。カバー16は、イメージセンサ11が原稿21を読み取るときに、外部からの環境光を遮断するために、載置台12を覆い隠すものである。   The mounting table 12 has a document mounting portion made of a transparent plastic plate or glass plate for mounting the document 21, and a frame portion that supports the document mounting portion. In the first embodiment, the part of the mounting table 12 far from the user's operation is referred to as the back side A1, and the part close to the user's operation is referred to as the near side A2. The cover 16 covers the mounting table 12 in order to block external light from the outside when the image sensor 11 reads the document 21.

図1は、本発明の実施例1における図2の画像処理装置10を示す機能ブロック図である。   FIG. 1 is a functional block diagram showing the image processing apparatus 10 of FIG. 2 in Embodiment 1 of the present invention.

画像処理装置10は、歪み検出部30と、画像読取部31と、判定部34と、表示部35と、装置全体を制御する制御部36とを有している。制御部36は、図示しないが、各種プログラムを格納するリードオンリメモリ(以下「ROM」という。)と、読取画像等の処理対象データを格納するランダムアクセスメモリ(RAM)と、ROMに格納されたプログラムを読み出して各種処理を実行するプロセッサ等により構成されている。   The image processing apparatus 10 includes a distortion detection unit 30, an image reading unit 31, a determination unit 34, a display unit 35, and a control unit 36 that controls the entire apparatus. Although not shown, the control unit 36 is stored in a read only memory (hereinafter referred to as “ROM”) for storing various programs, a random access memory (RAM) for storing processing target data such as a read image, and the ROM. It is configured by a processor or the like that reads a program and executes various processes.

画像読取部31は、イメージセンサ11と、載置台12と、図示しないアナログデジタル変換回路や各種補正回路とを有している。画像読取装置10は、利用者が開始ボタン14を押下すると、原稿21をイメージセンサ11により読み取り、取得した電気信号から図示しない読取画像を生成するように構成されている。   The image reading unit 31 includes the image sensor 11, the mounting table 12, and an analog-digital conversion circuit and various correction circuits (not shown). When the user presses the start button 14, the image reading device 10 is configured to read the document 21 by the image sensor 11 and generate a read image (not shown) from the acquired electrical signal.

歪み検出部30は、輪郭抽出部32と小口角度検出部33とにより構成されている。輪郭抽出部32は、読取画像中のエッジを検出することで原稿21の外形形状を示す外形輪郭線を抽出する機能を有している。小口角度検出部33は、原稿21の外形形状を示す外形輪郭線のうち、第1の小口23aを示す第1の外形輪郭線23aFと第2の小口23bを示す第2の外形輪郭線23bFとを取り出し、その成す角度である小口角度θを求める機能を有している。   The distortion detection unit 30 includes a contour extraction unit 32 and a fore edge angle detection unit 33. The contour extracting unit 32 has a function of extracting an outer contour line indicating the outer shape of the document 21 by detecting an edge in the read image. The fore edge angle detection unit 33 includes a first outer shape outline 23aF indicating the first fore edge 23a and a second outer shape outline 23bF indicating the second fore edge 23b among the outer shape outlines indicating the outer shape of the document 21. And has a function of obtaining a fore edge angle θ which is an angle formed by.

判定部34は、第1の小口23aを示す第1の外形輪郭線23aFと第2の小口23bを示す第2の外形輪郭線23bFとの成す小口角度θと第1の閾値TH1とを比較し、小口角度θが第1の閾値TH1より大きいときには、画像が八の字形状であると判定し、小口角度θが第1の閾値TH1より小さいときに、画像は正常であると判定する機能を有している。   The determination unit 34 compares the fore edge angle θ formed by the first outer contour line 23aF indicating the first fore edge 23a and the second outer contour line 23bF indicating the second fore edge 23b with the first threshold value TH1. When the fore edge angle θ is larger than the first threshold value TH1, it is determined that the image has an eight-shaped shape, and when the fore edge angle θ is smaller than the first threshold value TH1, the image is determined to be normal. Have.

表示部35は、表示パネル15と図示しない駆動回路等とを有している。この表示部35は、判定部34の判定結果に従って、原稿21が八の字形状に広がった状態を示す原稿歪み画像と、原稿21の再配置を促すメッセージとを表示する機能を有している。   The display unit 35 includes the display panel 15 and a drive circuit (not shown). The display unit 35 has a function of displaying a document distortion image showing a state in which the document 21 is spread in an eight-character shape and a message for prompting the rearrangement of the document 21 according to the determination result of the determination unit 34. .

図3は、図1の画像読取部31より読み取った原稿21Fの歪みの例を示す図である。   FIG. 3 is a diagram illustrating an example of distortion of the document 21F read by the image reading unit 31 in FIG.

この図3では、利用者が製本20を開いた状態で載置台12に載置し、この載置台12の奥側A1の製本20の背を手前側A2に比べ強めに押圧したときの読取画像20Fの状態を示している。   In FIG. 3, the read image when the user places the bookbinding 20 on the placement table 12 and presses the back of the bookbinding 20 on the back side A1 of the placement table 12 more strongly than the front side A2. The state of 20F is shown.

なお、読取画像20Fにおいては、原稿21が読取画像20F中の原稿21Fに、綴じ部22が読取画像20F中の綴じ部22Fに、小口23a及び小口23bが読取画像20F中の外形輪郭線23aF及び外形輪郭線23bFに、天25及び地26が読取画像20F中の天25F及び地26Fにそれぞれ対応している。   In the read image 20F, the original 21 is in the original 21F in the read image 20F, the binding portion 22 is in the binding portion 22F in the read image 20F, and the fore edge 23a and the fore edge 23b are the outlines 23aF in the read image 20F. The top 25 and the ground 26 correspond to the outline 25b and the ground 26F in the read image 20F, respectively.

図3において、原稿21Fの綴じ部22Fがイメージセンサ11の主走査方向Xに平行で、且つ原稿21Fの天25Fが利用者に対して奥側A1で、地26Fが手前側A2であることを示している。原稿21Fの左右のサイドに形成された外形輪郭線23aF及び外形輪郭線23bFが奥側A1に開いており、綴じ部22Fの途中から手前側A2にかけて低輝度領域24Fが形成されている。   In FIG. 3, the binding portion 22F of the document 21F is parallel to the main scanning direction X of the image sensor 11, the top 25F of the document 21F is the back side A1, and the ground 26F is the front side A2. Show. An outer contour line 23aF and an outer contour line 23bF formed on the left and right sides of the document 21F are open to the back side A1, and a low luminance region 24F is formed from the middle of the binding portion 22F to the front side A2.

図4は、図1の小口角度検出部33が小口角度θを算出する際及び判定部34が八の字形状の広がりの方向を判定する際の読取画像20Fを示す図である。   FIG. 4 is a diagram showing the read image 20F when the fore edge angle detection unit 33 in FIG. 1 calculates the fore edge angle θ and when the determination unit 34 determines the direction of the figure-shaped spread.

原稿21Fの左右のサイドに外形輪郭線23aF,23bFが形成され、外形輪郭線23aFと外形輪郭線23bFとは小口角度θを成している。外形輪郭線23aFは、端点L,Jを有しており、外形輪郭線23bFは、端点M,Kを有している。奥側A1の端点Lと端点Mとの第1の距離D1は、手前側A2の端点Jと端点Kとの第2の距離D2よりも小さくなっており、原稿21Fは、手前側A2方向に八の字形状に広がっていることを示している。   Outer outlines 23aF and 23bF are formed on the left and right sides of the document 21F, and the outer outline 23aF and the outer outline 23bF form a fore edge angle θ. The outer contour line 23aF has end points L and J, and the outer contour line 23bF has end points M and K. The first distance D1 between the end point L and the end point M on the back side A1 is smaller than the second distance D2 between the end point J and the end point K on the near side A2, and the document 21F is in the near side A2 direction. It shows that it spreads in the shape of figure eight.

読取画像20Fは、座標系を有しており、読取画像20Fの左下が原点Oであり、原点Oから右方向に横座標軸Z1、原点Oから上方に縦座標軸Z2を有している。   The read image 20F has a coordinate system, and the lower left of the read image 20F is the origin O. The abscissa axis Z1 is right from the origin O, and the ordinate axis Z2 is upward from the origin O.

図5は、原稿21Fが奥側A1に広がっているときに図1中の表示部35によって表示されるメッセージの例を示す図である。   FIG. 5 is a diagram illustrating an example of a message displayed by the display unit 35 in FIG. 1 when the document 21F is spread on the back side A1.

原稿21の読み取りにおいて、原稿21の読取画像20Fが奥側A1に広がって読み取られたときには、表示部35によって、表示パネル15の左側に原稿21Fの配置の歪み状態を示す原稿歪み画像が表示され、右側に「奥側で八の字状に広がっています。手前側の背を押さえてください。」のメッセージが表示される。   When reading the original 21, when the read image 20F of the original 21 is spread and read on the back side A1, an original distortion image indicating the distortion state of the arrangement of the original 21F is displayed on the left side of the display panel 15 by the display unit 35. , The message “It spreads in the shape of an eight on the back side. Please press the back on the near side.” Is displayed.

図6は、原稿21Fが手前側A2に広がっているときに図1中の表示部35によって表示されるメッセージの例を示す図である。   FIG. 6 is a diagram illustrating an example of a message displayed by the display unit 35 in FIG. 1 when the document 21F is spread on the near side A2.

原稿21の読み取りにおいて、原稿21の読取画像20Fが手前側A2に広がって読み取られたときには、表示部35によって、表示パネル15の左側に原稿21Fの配置の歪み状態を示す原稿歪み画像が表示され、右側に「手前側で八の字状に広がっています。奥側の背を押さえてください。」のメッセージが表示される。   In reading the original 21, when the read image 20F of the original 21 is read spreading toward the front side A2, a distortion image of the original showing the distortion state of the arrangement of the original 21F is displayed on the left side of the display panel 15 by the display unit 35. , The message “It spreads in the shape of an eight on the near side. Please press the back on the back.” Is displayed.

(実施例1の動作)
図7は、本発明の実施例1における図1の画像処理装置10の動作を示すフローチャートである。
(Operation of Example 1)
FIG. 7 is a flowchart showing the operation of the image processing apparatus 10 of FIG. 1 according to the first embodiment of the present invention.

利用者により、載置台12に原稿21が載置され、開始ボタン14が押下されて本処理が開始される。ステップS1において、画像読取部31は、載置台12に載置された原稿21をイメージセンサ11により読み取り、読取画像20Fを取得する。ステップS2において、輪郭抽出部32は、ステップS1で読み取った読取画像20Fに対してエッジ検出処理を施して読取画像20F中の原稿21Fの外形輪郭線を検出する。   The user places the document 21 on the mounting table 12 and presses the start button 14 to start the processing. In step S <b> 1, the image reading unit 31 reads the document 21 placed on the placing table 12 with the image sensor 11 and obtains a read image 20 </ b> F. In step S2, the contour extraction unit 32 performs edge detection processing on the read image 20F read in step S1, and detects the outline contour line of the document 21F in the read image 20F.

エッジ検出処理では、例えば、特開2010−87826号公報に記載されているように、読取画像20Fにおける水平方向に延伸する各ラインについて、左右方向に隣接する画素同士の画素値の差分を画素毎に算出する。算出した差分値が予め定めた閾値TH4以上である画素のうち、最も左側の画素の座標及び最も右側の画素の座標を、エッジ部分を示す座標であるエッジ座標として検出する。なお、これ以外の他の方法でエッジ検出処理を行ってもよい。   In the edge detection processing, for example, as described in Japanese Patent Application Laid-Open No. 2010-87826, for each line extending in the horizontal direction in the read image 20F, the difference in pixel value between pixels adjacent in the left-right direction is calculated for each pixel. To calculate. Among the pixels having the calculated difference value equal to or greater than a predetermined threshold value TH4, the coordinates of the leftmost pixel and the coordinates of the rightmost pixel are detected as edge coordinates that are coordinates indicating the edge portion. Note that the edge detection process may be performed by other methods.

ステップS3において、小口角度算出部33は、ステップS2で検出した原稿21Fの外形輪郭線のうちの2本の直線部分を、小口23aを示す第1の外形輪郭線23aF及び小口23bを示す第2の外形輪郭線23bFとして抽出し、第1の外形輪郭線23aFと第2の外形輪郭線23bFとが成す鋭角の角度を小口角度θとして算出する。   In step S3, the fore edge angle calculation unit 33 uses the two linear portions of the outer outline of the document 21F detected in step S2 as the first outer outline 23aF indicating the fore 23a and the second for indicating the fore 23b. Is extracted as the outer contour line 23bF, and the acute angle formed by the first outer contour line 23aF and the second outer contour line 23bF is calculated as the edge angle θ.

ステップS4において、判定部34は、ステップS3で算出した小口角度θと第1の閾値TH1とを比較する。ステップS3で算出した小口角度θが第1の閾値TH1より大きいときには(YES)、ステップS5へ進み、第1の閾値TH1以下であるときには(NO)、正常と判定して本処理を終了する。   In step S4, the determination unit 34 compares the fore edge angle θ calculated in step S3 with the first threshold value TH1. When the fore edge angle θ calculated in step S3 is larger than the first threshold value TH1 (YES), the process proceeds to step S5, and when it is equal to or smaller than the first threshold value TH1 (NO), it is determined as normal and this process is terminated.

ステップS5において、読取画像20F中の八の字形状が広がっている側を求める。ステップS6において、表示部35は、原稿21Fの奥側A1が広がっているときには、図4に示すように、表示パネル15の左側に原稿21Fの配置の歪み状態を示す原稿歪み画像を表示し、右側に製本20の手前側A2を押さえるように促すためのメッセージを表示して本処理を終了する。同様に、製本20の手前側A2が広がっているときには、図5に示すように、原稿21Fの配置の歪み状態を示す原稿歪み画像及び製本20の奥側A1を押さえるように促すためのメッセージを表示する。   In step S5, the side on which the figure eight shape is widened in the read image 20F is obtained. In step S6, when the back side A1 of the document 21F is widened, the display unit 35 displays a document distortion image indicating the distortion state of the arrangement of the document 21F on the left side of the display panel 15, as shown in FIG. A message for prompting the user to press the front side A2 of the bookbinding 20 is displayed on the right side, and the process is terminated. Similarly, when the front side A2 of the bookbinding 20 is widened, as shown in FIG. 5, a document distortion image showing the distortion state of the arrangement of the document 21F and a message for urging to press the back side A1 of the bookbinding 20 are displayed. indicate.

図8は、図7のステップS3における小口角度算出処理を示すサブルーチンである。   FIG. 8 is a subroutine showing the fore edge angle calculation process in step S3 of FIG.

本サブルーチンは、小口角度検出部33が原稿21Fの小口23a,23bを示す第1及び第2の外形輪郭線23aF、23bFが成す鋭角の小口角度θを算出する処理を示している。   This subroutine shows a process in which the fore edge detection unit 33 calculates an acute fore edge angle θ formed by the first and second outer contour lines 23aF and 23bF indicating the fore edges 23a and 23b of the document 21F.

図7のステップS3において、本サブルーチンが呼び出される。ステップS11において、図7のステップS2で求めた原稿21Fの外形輪郭線のうちから直線部分を検出する。ステップS12おいて、ステップS11で求めた直線部分の外形輪郭線のうち、イメージセンサ11の主走査方向Xとの角度が小さいもの2本を、小口23aを示す第1の外形輪郭線23aF及び小口23bを示す第2の外形輪郭線23bFとする。ステップS13において、小口角度検出部33は、ステップS12で抽出した第1及び第2の外形輪郭線23aF,23bFの2本について、角度算出処理を施す。   In step S3 of FIG. 7, this subroutine is called. In step S11, a straight line portion is detected from the outline contour line of the document 21F obtained in step S2 of FIG. In step S12, two of the outline contour lines of the straight line portion obtained in step S11, which have a small angle with the main scanning direction X of the image sensor 11, are used as the first outline outline 23aF indicating the fore edge 23a and the fore edge. A second outer contour line 23bF indicating 23b is assumed. In step S13, the fore edge angle detection unit 33 performs an angle calculation process on the first and second outer contour lines 23aF and 23bF extracted in step S12.

角度算出処理では、例えば、特開2010−021937号公報に記載されているように、外形輪郭線23aFの両端座標(x,y)及び(x,y)を検出し、これに基づいて水平方向に対する傾き角度γ1を算出する。具体的には、tanγ1=(y−y)/(x−x)を演算することで傾き角度γ1を算出する。外形輪郭線23bFについても同様の方法で傾き角度γ2を算出し、γ1とγ2との差分を求めることで、外形輪郭線23aFと外形輪郭線23bFとが成す角度θを求める。なお、これ以外の他の方法で角度算出処理を行ってもよい。 In the angle calculation process, for example, as described in Japanese Patent Application Laid-Open No. 2010-021937, both end coordinates (x 1 , y 1 ) and (x 2 , y 2 ) of the outer contour line 23aF are detected, Based on this, an inclination angle γ1 with respect to the horizontal direction is calculated. Specifically, the inclination angle γ1 is calculated by calculating tan γ1 = (y 2 −y 1 ) / (x 2 −x 1 ). For the outer contour line 23bF, the angle θ formed by the outer contour line 23aF and the outer contour line 23bF is obtained by calculating the inclination angle γ2 by the same method and obtaining the difference between γ1 and γ2. Note that the angle calculation process may be performed by other methods.

このように第1及び第2の外形輪郭線23aF,23bFが成す小口角度θを算出して本処理を終了し、図7のステップS4へ戻る。   In this way, the fore edge angle θ formed by the first and second outer contour lines 23aF and 23bF is calculated, the present process is terminated, and the process returns to step S4 in FIG.

図9は、図7のステップS5における八の字形状判定処理を示すサブルーチンである。   FIG. 9 is a subroutine showing the figure-of-eight shape determination process in step S5 of FIG.

本サブルーチンは、小口23a,23bを示す第1及び第2の外形輪郭線23aF,23bFが形成する八の字形状において、広がっている側を判定部34が判定する処理を示している。   This subroutine shows a process in which the determination unit 34 determines the spreading side in the figure eight shape formed by the first and second outer contour lines 23aF and 23bF indicating the fore edges 23a and 23b.

図7のステップS5において、本サブルーチンが呼び出される。ステップS21において、判定部34は、外形輪郭線23aF,23bFの端点J,K,L,Mの座標をそれぞれ求める。ステップS22において、外形輪郭線23aFの端点L,Jのうちで、縦座標軸Z2の座標値が大きい側、例えば端点Lと、外形輪郭線23bFの端点M,Kのうちで、縦座標軸Z2の座標値が大きい側、例えば端点Mとの第1の距離D1を求める。   In step S5 of FIG. 7, this subroutine is called. In step S21, the determination unit 34 obtains the coordinates of the end points J, K, L, and M of the outer outlines 23aF and 23bF, respectively. In step S22, the coordinate of the ordinate axis Z2 between the end points L and J of the outer contour line 23aF where the coordinate value of the ordinate axis Z2 is larger, for example, the end point L and the end points M and K of the outer contour line 23bF. A first distance D1 with the larger value, for example, the end point M is obtained.

同様に外形輪郭線23aFの端点L,Jのうちで、縦座標軸Z2の座標値が小さい側、例えば端点Jと、外形輪郭線23bFの端点M,Kのうちで、縦座標軸Z2の座標値が小さい側、例えば端点Kとの第2の距離D2を求める。   Similarly, of the end points L and J of the outer contour line 23aF, the coordinate value of the ordinate axis Z2 is smaller on the side where the coordinate value of the ordinate axis Z2 is smaller, for example, the end point J and the end points M and K of the outer contour line 23bF. A second distance D2 with the smaller side, for example, the end point K is obtained.

ステップS23において、ステップS22で求めた第1の距離D1と第2の距離D2の大きさを比較し、第1の距離D1が大きい場合には、原稿21Fは、奥側A1に八の字形状に広がっており、第2の距離D2が大きい場合には、原稿21Fは、手前側A2に八の字形状に広がっていると判定して、図7のステップS6へ戻る。   In step S23, the magnitudes of the first distance D1 and the second distance D2 obtained in step S22 are compared. If the first distance D1 is large, the document 21F has an octagonal shape on the back side A1. When the second distance D2 is large, it is determined that the document 21F has spread in an octagonal shape on the front side A2, and the process returns to step S6 in FIG.

(実施例1の効果)
本実施例1によれば、次の(1)〜(3)のような効果がある。
(Effect of Example 1)
According to the first embodiment, there are the following effects (1) to (3).

(1) 原稿21を読み取って取得した読取画像20Fが八の字形状の歪みを持つ場合に、この低輝度領域24Fに含まれる印刷部分が目視で判読不可能になることがある。複写機のように目視を前提にした複製物を作成する装置においては、再度、複写作業を行うことになる。   (1) When the read image 20F obtained by reading the document 21 has an eight-shaped distortion, the printed portion included in the low luminance region 24F may be visually unreadable. In an apparatus for creating a duplicate based on visual observation, such as a copying machine, the copying operation is performed again.

これに対し、本実施例1によれば、原稿21Fの歪みの状態を示す原稿歪み画像と、製本20の再配置を促すメッセージとを表示するので、目視により読み取り可能な複製物を得ることができる。   On the other hand, according to the first embodiment, the original distortion image indicating the distortion state of the original 21F and the message prompting the rearrangement of the bookbinding 20 are displayed, so that a visually readable duplicate can be obtained. it can.

(2) 読取画像20Fに対して、歪み補正処理を施す場合、低輝度領域24Fに含まれる印刷部分が補正不可能な程度に輝度が低いときには、歪み補正処理が実行できないことになる。   (2) When the distortion correction process is performed on the read image 20F, the distortion correction process cannot be executed if the brightness is low enough that the print portion included in the low luminance area 24F cannot be corrected.

これに対し、本実施例1によれば、原稿21Fの歪みの状態を示す原稿歪み画像と、製本20の再配置を促すメッセージとを表示するので、原稿21の再配置が行われてより歪みの少ない読取画像20Fが得られる。このため、歪み補正処理の実行が可能になる。   On the other hand, according to the first embodiment, the original distortion image indicating the distortion state of the original 21F and a message prompting the rearrangement of the bookbinding 20 are displayed. A read image 20F with less image quality can be obtained. For this reason, the distortion correction process can be executed.

(3) 読取画像20Fに対して、歪み補正処理を施す場合、低輝度領域24Fに含まれる印刷部分が補正可能である程度の輝度であっても、歪み補正処理の精度が低下し、歪み補正処理に時間がかかることになる。このような場合、本実施例1によれば、原稿21の再配置が適切に行われるので、歪み補正処理の精度を高めると共に、歪み補正処理の処理速度を速めることができる。   (3) When the distortion correction process is performed on the read image 20F, the accuracy of the distortion correction process decreases even if the print portion included in the low luminance area 24F can be corrected to a certain degree of brightness, and the distortion correction process is performed. Will take time. In such a case, according to the first embodiment, the rearrangement of the document 21 is appropriately performed, so that the accuracy of the distortion correction processing can be improved and the processing speed of the distortion correction processing can be increased.

(実施例2の構成)
図10は、本発明の実施例2における画像処理装置10Aを示す機能ブロック図であり、実施例1を示す図1中の要素と共通の要素には共通の符号が付されている。
(Configuration of Example 2)
FIG. 10 is a functional block diagram showing an image processing apparatus 10A according to the second embodiment of the present invention. Elements common to those in FIG. 1 showing the first embodiment are denoted by common reference numerals.

本実施例2における画像処理装置10Aの構成は、実施例1を示す図1の画像処理装置10の構成とほぼ同様である。本実施例2における画像処理装置10Aは、実施例1と同様の画像読取部31、表示部35、及び制御部36と、実施例1とは異なる歪み検出部50と、判定部54とを有している。歪み検出部50は、綴じ部抽出部52と、綴じ部角度算出部53とから構成されている。   The configuration of the image processing apparatus 10A in the second embodiment is substantially the same as the configuration of the image processing apparatus 10 in FIG. The image processing apparatus 10A according to the second embodiment includes the image reading unit 31, the display unit 35, and the control unit 36 that are the same as those in the first embodiment, a distortion detection unit 50 that is different from the first embodiment, and a determination unit 54. is doing. The distortion detection unit 50 includes a binding unit extraction unit 52 and a binding unit angle calculation unit 53.

綴じ部抽出部52は、読取画像20Fから原稿21Fの綴じ部22Fを抽出し、綴じ部22Fである画素の座標値を出力する機能を有している。綴じ部22Fを求める方法には、例えば、実施例1で述べたように、小口23a,23bを示す第1及び第2の外形輪郭線23aF,23bFを抽出してその2本の外形輪郭線23aF,23bFから等距離にある直線を綴じ部22Fとする方法、読取画像20Fの中心付近を探索して低輝度領域24Fと通常輝度の領域との2本の領域輪郭線43a,43bを求め、その2本の領域輪郭線43a,43bから等距離にある直線を綴じ部22Fとする方法、読取画像20Fを探索して低輝度点を繋いた直線を綴じ部22Fとする方法等がある。   The binding portion extraction unit 52 has a function of extracting the binding portion 22F of the document 21F from the read image 20F and outputting the coordinate value of the pixel that is the binding portion 22F. As a method of obtaining the binding portion 22F, for example, as described in the first embodiment, the first and second outer contour lines 23aF and 23bF indicating the fore edges 23a and 23b are extracted and the two outer contour lines 23aF are extracted. , 23bF, a method of using a binding line 22F as a straight line equidistant from the center of the scanned image 20F to obtain two region outlines 43a and 43b of a low luminance region 24F and a normal luminance region. There are a method in which a straight line that is equidistant from the two region outlines 43a and 43b is used as the binding unit 22F, a method in which the straight line connecting the low luminance points by searching the read image 20F is used as the binding unit 22F, and the like.

綴じ部角度算出部53は、綴じ部22Fの周辺の輝度が低くなる領域である低輝度領域24Fと、その外側の輝度が通常である領域とを分ける領域輪郭線43aを求め、その領域輪郭線43aと綴じ部22Fとの成す綴じ部角度φを求める機能を有している。   The binding portion angle calculation unit 53 obtains a region outline 43a that divides the low luminance region 24F, which is a region where the luminance around the binding portion 22F is low, and a region where the luminance is normal outside thereof, and the region outline It has a function of obtaining a binding portion angle φ formed by 43a and the binding portion 22F.

判定部54は、領域輪郭線43aと綴じ部22Fとの成す綴じ部角度φに基づいて低輝度領域24Fの領域形状が八の字状であるかを判定し、その判定結果を出力する機能を有している。   The determination unit 54 has a function of determining whether the region shape of the low luminance region 24F is an eight-letter shape based on the binding portion angle φ formed by the region outline 43a and the binding portion 22F, and outputting the determination result. Have.

図11は、図10中の綴じ部抽出部52が低輝度領域24Fの領域輪郭線43aを抽出するときの説明図である。   FIG. 11 is an explanatory diagram when the binding portion extraction unit 52 in FIG. 10 extracts the region outline 43a of the low luminance region 24F.

図11は、読取画像20Fの左半分の画像を示しており、原稿21Fの左側のページが表示されている。綴じ部22Fは、所定の数で分割された分割点41(=41−1,41−2,・・・,41−5)を有している。綴じ部22F付近は、低輝度領域24Fである。各分割点41から綴じ部22Fに垂直方向で、且つ左方向には、画素の輝度が所定の閾値TH2を越えた点である領域輪郭点42(=42−1,42−2,・・・,42−5)がプロットされており、これらの複数の領域輪郭点42をほぼ繋ぐように低輝度領域24Fの領域輪郭線43aが形成されている。   FIG. 11 shows the left half image of the read image 20F, and the left page of the document 21F is displayed. The binding portion 22F has division points 41 (= 41-1, 41-2,..., 41-5) divided by a predetermined number. The vicinity of the binding portion 22F is a low luminance region 24F. From each division point 41 in the direction perpendicular to the binding portion 22F and to the left, the region outline point 42 (= 42-1, 42-2,...) That is the point where the luminance of the pixel exceeds a predetermined threshold TH2. , 42-5) are plotted, and a region outline 43a of the low luminance region 24F is formed so as to substantially connect the plurality of region contour points 42.

図12は、図10の判定部54が八の字形状の広がり方向を判定する際の読取画像20Fを示す図である。   FIG. 12 is a diagram illustrating the read image 20F when the determination unit 54 of FIG. 10 determines the spreading direction of the figure eight shape.

図12において、原稿21Fは、手前側A2の方向に八の字形状に広がっている。原稿21Fは、綴じ部22Fで二分され、両サイドには、外形輪郭線23aF、23bFが形成されている。綴じ部22F付近には、天25Fを底辺とする略二等辺三角形の形状の低輝度領域24Fが形成されている。   In FIG. 12, the document 21 </ b> F spreads in an eight-character shape in the direction of the front side A <b> 2. The document 21F is divided into two by a binding portion 22F, and outer contour lines 23aF and 23bF are formed on both sides. Near the binding portion 22F, a low luminance region 24F having a substantially isosceles triangle shape with the top 25F as a base is formed.

低輝度領域24Fが形成する略二等辺三角形の両側の斜辺は、低輝度領域24Fとその外側の高輝度部分を分ける領域輪郭線43a,43bである。例えば、左側の領域輪郭線43aと綴じ部22Fとは、奥側A1の角度α、及び手前側A2の角度βを成している。本図においては、奥側A1の角度α=綴じ部角度φである。   The hypotenuses on both sides of the substantially isosceles triangle formed by the low luminance region 24F are region outlines 43a and 43b that divide the low luminance region 24F and the high luminance portion outside thereof. For example, the left region outline 43a and the binding portion 22F form an angle α on the back side A1 and an angle β on the near side A2. In this figure, the angle α of the back side A1 = the binding portion angle φ.

(実施例2の動作)
図13は、本発明の実施例2における図10の画像処理装置10Aの動作を示すフローチャートであり、実施例1を示す図7中の要素と共通の要素には共通の符号が付されている。
(Operation of Example 2)
FIG. 13 is a flowchart showing the operation of the image processing apparatus 10A in FIG. 10 according to the second embodiment of the present invention. Elements common to those in FIG. 7 showing the first embodiment are denoted by common reference numerals. .

ステップS1において、画像読取部31は、実施例1と同様に、載置台12に載置されている原稿21を読み取る。ステップS32において、綴じ部抽出部52は、ステップS1で読み取った読取画像20Fから、対向する2つのページを分ける線分を検出し、これを綴じ部22Fとする。   In step S <b> 1, the image reading unit 31 reads the document 21 placed on the placing table 12 as in the first embodiment. In step S32, the binding portion extraction unit 52 detects a line segment that separates two facing pages from the read image 20F read in step S1, and uses this as a binding portion 22F.

綴じ部22Fの検出方法は、例えば、実施例1で述べたように、小口23a,23bを示す第1及び第2の外形輪郭線23aF,23bFを抽出してその2本の外形輪郭線23aF,23bFから等距離にある直線を綴じ部22Fとする方法、読取画像20Fの中心付近を探索して低輝度領域24Fと通常の輝度領域とを分割する2本の領域輪郭線43a,43bを求め、その2本の領域輪郭線43a,43bから等距離にある直線を綴じ部22Fとする方法、読取画像20Fを探索して低輝度点を繋いた直線を綴じ部22Fとする方法等がある。   The detection method of the binding portion 22F is, for example, as described in the first embodiment, extracting the first and second outer contour lines 23aF and 23bF indicating the fore edges 23a and 23b and extracting the two outer contour lines 23aF, A method in which a straight line that is equidistant from 23bF is used as the binding portion 22F, the vicinity of the center of the read image 20F is searched, and two region outlines 43a and 43b that divide the low luminance region 24F and the normal luminance region are obtained. There are a method in which a straight line equidistant from the two region outlines 43a and 43b is used as the binding unit 22F, a method in which the straight line connecting the low luminance points by searching the read image 20F is used as the binding unit 22F, and the like.

ステップS33において、綴じ部角度算出部53は、図11に示すように、ステップS32で検出した綴じ部22Fを所定の数に分割し、複数の分割点41ごとに、各分割点41から綴じ部22Fに垂直方向で、且つ左方向に各画素の輝度を順次測定して所定の閾値TH2と比較する。当該画素の輝度が所定の閾値TH2未満のときには、その画素は、低輝度領域24Fにあると判断して隣接する左側の画素の輝度について所定の閾値TH2と比較する。   In step S33, the binding portion angle calculation unit 53 divides the binding portion 22F detected in step S32 into a predetermined number, as shown in FIG. The brightness of each pixel is sequentially measured in the direction perpendicular to 22F and to the left, and compared with a predetermined threshold value TH2. When the luminance of the pixel is lower than the predetermined threshold TH2, it is determined that the pixel is in the low luminance region 24F, and the luminance of the adjacent left pixel is compared with the predetermined threshold TH2.

比較対象の画素の輝度が所定の閾値TH2を越えたときには、その画素は領域輪郭点42(=42−1,42−2,・・・、42−5)であると判断して、その座標値を求める。この複数の領域輪郭点42の座標値を測定データとして最小二乗法を用いて直線を求める。   When the luminance of the comparison target pixel exceeds a predetermined threshold value TH2, it is determined that the pixel is the region contour point 42 (= 42-1, 42-2,..., 42-5), and the coordinates thereof Find the value. A straight line is obtained using the least square method with the coordinate values of the plurality of region contour points 42 as measurement data.

ステップS34において、求めた直線を低輝度領域24Fの左側の領域輪郭線43aとし、この領域輪郭線43aと綴じ部22Fとが成す角度のうち、鋭角の角度を求め、綴じ部角度φとする。   In step S34, the obtained straight line is set as a region outline 43a on the left side of the low luminance region 24F, and an acute angle is obtained from angles formed by the region outline 43a and the binding portion 22F, and is set as a binding portion angle φ.

ステップS35において、判定部54は、ステップS34で算出した鋭角の綴じ部角度φと第2の閾値TH3とを比較する。綴じ部角度φが第2の閾値TH3より大きいときには(YES)、歪み有りと判定して、ステップS36に進む。第2の閾値TH3より小さいときには(NO)、正常と判定して本処理を終了する。   In step S35, the determination unit 54 compares the acute binding portion angle φ calculated in step S34 with the second threshold value TH3. When the binding portion angle φ is larger than the second threshold value TH3 (YES), it is determined that there is distortion, and the process proceeds to step S36. When it is smaller than the second threshold value TH3 (NO), it is determined as normal and this process is terminated.

ステップS36において、判定部54は、読取画像20F中の八の字形状が広がっている側を求めステップS6に進む。ステップS6において、図7で説明した実施例1の動作と同様に、表示部35は、原稿21Fの奥側A1が広がっているときには、図4に示すように、表示パネル15の左側に原稿21Fの配置の歪み状態を示す原稿歪み画像を表示し、右側に製本20の手前側A2を押さえるように促すメッセージを表示して本処理を終了する。同様に、原稿21Fの手前側A2が広がっているときには、図5に示すように、表示パネル15の左側に原稿21Fの配置の歪み状態を示す原稿歪み画像を表示し、右側に製本20の奥側A1を押さえるように促すメッセージを表示する。   In step S36, the determination unit 54 obtains the side of the read image 20F where the figure eight shape is widened, and proceeds to step S6. In step S6, as in the operation of the first embodiment described with reference to FIG. 7, when the back side A1 of the document 21F is widened, the display unit 35 displays the document 21F on the left side of the display panel 15 as shown in FIG. A distortion image of the document showing the distortion state of the arrangement is displayed, and a message for urging the front side A2 of the bookbinding 20 to be pressed is displayed on the right side, and this processing is terminated. Similarly, when the front side A2 of the original 21F is widened, as shown in FIG. 5, an original distortion image showing a distortion state of the arrangement of the original 21F is displayed on the left side of the display panel 15, and the back of the bookbinding 20 is displayed on the right side. A message prompting to hold side A1 is displayed.

図14は、図13のステップS36における八の字形状判定処理を示すサブルーチンである。   FIG. 14 is a subroutine showing the figure-shaped determination process in step S36 of FIG.

図13のステップS36において、本サブルーチンが呼び出される。ステップS41において、判定部54は、ステップS32で求めた綴じ部22FとステップS34で求めた低輝度領域24Fの領域輪郭線43aとが成す角度のうち、奥側A1の角度αを求める。ステップS42において、ステップS41で求めた奥側A1の角度が鋭角であるときには、奥側A1の角度α=綴じ部角度φとなり、座標軸Z2の座標値が小さい側(=手前側A2)が八の字形状の広がる側であると判定する。奥側A1の角度αが鈍角であるときには、座標軸Z2の座標値が大きい側(=奥側A1)が八の字形状の広がる側であると判定して図13のステップS6に戻る。   In step S36 of FIG. 13, this subroutine is called. In step S41, the determination unit 54 obtains the angle α of the back side A1 among the angles formed by the binding portion 22F obtained in step S32 and the region outline 43a of the low luminance region 24F obtained in step S34. In step S42, when the angle of the back side A1 obtained in step S41 is an acute angle, the angle α of the back side A1 = the binding portion angle φ, and the side where the coordinate value of the coordinate axis Z2 is small (= front side A2) is eight. It is determined that it is the side where the character shape spreads. When the angle α of the back side A1 is an obtuse angle, it is determined that the side with the larger coordinate value of the coordinate axis Z2 (= back side A1) is the side where the figure eight shape is widened, and the process returns to step S6 in FIG.

(実施例2の効果)
本実施例2によれば、実施例1の効果に加え、次のような効果がある。
(Effect of Example 2)
According to the second embodiment, in addition to the effects of the first embodiment, there are the following effects.

実施例2においては、原稿21の載置時に利用者による製本20の背の押圧に偏りがあった場合には、読取画像20Fにおける綴じ部22F付近に八の字形状の低輝度領域24Fが形成されることに着目し、低輝度領域24Fの左側の領域輪郭線43aと綴じ部22Fとの成す綴じ部角度φに基づき、原稿21Fの八の字形状の広がる方向を判定するようにしている。   In the second embodiment, when the user presses the back of the bookbinding 20 when the document 21 is placed, an eight-shaped low-luminance region 24F is formed in the vicinity of the binding portion 22F in the read image 20F. In consideration of this, the direction in which the eight-shaped shape of the document 21F spreads is determined based on the binding portion angle φ formed by the region outline 43a on the left side of the low luminance region 24F and the binding portion 22F.

このように、読取画像20Fにおける原稿21Fの外形輪郭線23aF,23bFを用いないで、八の字形状の広がる方向を判定するようしたので、原稿21Fの外形輪郭線23aF、23bFが全て読取画像20F内に収まらず途中で途切れているケースであっても、利用者に対し適切な案内を行うことができる。   As described above, since the outer shape outlines 23aF and 23bF of the document 21F in the read image 20F are not used and the spreading direction of the figure-eight shape is determined, all the outline contours 23aF and 23bF of the document 21F are all read image 20F. Even if it is a case where it does not fit within and is interrupted, appropriate guidance can be provided to the user.

(変形例)
本発明は、上記実施例に限定されず、種々の利用形態や変形が可能である。この利用形態や変形例としては、例えば、次の(a)〜(d)のようなものがある。
(Modification)
The present invention is not limited to the above-described embodiments, and various usage forms and modifications are possible. For example, the following forms (a) to (d) are used as the usage form and the modified examples.

(a) 実施例1、2では、画像処理装置10,10Aとしてスキャナを例に説明したが、画像処理装置機能をパーソナルコンピュータに持つようにした形態であっても適用が可能である。更に、画像処理装置10,10Aは、ファクシミリ装置、複写機、MFP(MultiFunction Printer/Product/Peripheral)等であってもよい。   (A) In the first and second embodiments, the scanner has been described as an example of the image processing apparatuses 10 and 10A. However, the present invention can also be applied to a form in which a personal computer has an image processing apparatus function. Further, the image processing apparatuses 10 and 10A may be facsimile machines, copiers, MFPs (Multi Function Printer / Product / Peripheral), and the like.

(b) 実施例1、2では、綴じ部22がイメージセンサ11の主走査方向Xに平行になるように原稿21を載置し、且つ原稿21の天25が利用者に対して奥側A1で、地26が手前側A2になるように載置台12に載置することを前提に説明したが、綴じ部22がイメージセンサ11の主走査方向Xに対して斜め、若しくは直角に原稿21が載置された場合であっても、原稿21の配置に歪みがあった場合に、表示パネル15の右側に表示するメッセージを、例えば、「原稿が八の字状に広がっています。高い方の背を押さえてください。」のようにすることで、本発明の適用が可能である。   (B) In the first and second embodiments, the document 21 is placed so that the binding unit 22 is parallel to the main scanning direction X of the image sensor 11, and the top 25 of the document 21 is located on the back side A1 with respect to the user. However, the description has been made on the assumption that the ground 26 is placed on the placing table 12 so that the ground 26 is on the near side A2. However, the document 21 is inclined or perpendicular to the main scanning direction X of the image sensor 11. Even when the document 21 is placed, when the layout of the document 21 is distorted, a message to be displayed on the right side of the display panel 15 is, for example, “The document is spread in an eight-letter shape. The present invention can be applied by holding down the back.

(c) 片面印刷の複数の原稿を片綴じした片綴じ原稿に対しても、実施例2で説明した技術を用いて、綴じ部22F及び低輝度領域24Fの領域輪郭線43a又は領域輪郭線43bを求めることにより、本発明の適用が可能である。   (C) Even with respect to a single-sided original obtained by binding a plurality of single-sided originals, the region outline 43a or the area outline 43b of the binding portion 22F and the low luminance area 24F is used by using the technique described in the second embodiment. By obtaining the above, the present invention can be applied.

(d) 実施例1、2では、製本20として本を例に説明したが、原稿、画稿、印刷物等を糸、針金、接着剤等で綴じて表紙を付けたものであれば、本発明の適用が可能である。   (D) In the first and second embodiments, the book is described as the bookbinding 20 as an example. However, as long as the cover is attached by binding a manuscript, a drawing, a printed matter, etc. Applicable.

10,10A 画像処理装置
11 イメージセンサ
12 載置台
20F 読取画像
21F 原稿
22F 綴じ部
23aF,23bF 外形輪郭線
24F 低輝度領域
30 歪み検出部
31 画像読取部
32 輪郭抽出部
33 小口角度検出部
34 判定部
35 表示部
36 制御部
50 歪み検出部
52 綴じ部抽出部
53 綴じ部角度算出部
54 判定部
A1 奥側
A2 手前側
DESCRIPTION OF SYMBOLS 10,10A Image processing apparatus 11 Image sensor 12 Mounting table 20F Reading image 21F Original document 22F Binding part 23aF, 23bF Outline outline 24F Low-intensity area 30 Distortion detection part 31 Image reading part 32 Contour extraction part 33 Fore edge angle detection part 34 Determination part 35 Display unit 36 Control unit 50 Distortion detection unit 52 Binding unit extraction unit 53 Binding unit angle calculation unit 54 Determination unit A1 Back side A2 Front side

Claims (7)

綴じ部と小口とを有する原稿を載置する載置台を備え、前記載置台に配置された前記原稿を読み取って読取画像を出力する画像読取部と、
前記読取画像において前記綴じ部により生じる前記原稿の配置の歪み状態を検出する歪み検出部と、
前記歪み検出部の検出結果と第1の閾値とを比較して前記歪み状態が前記第1の閾値を越えるときには前記原稿の配置に歪み有りと判定する判定部と、
前記判定部の判定結果に基づき、前記原稿における配置の歪み状態を表示して再配置を促す表示部と、
を備えたことを特徴とする画像処理装置。
An image reading unit that includes a mounting table on which a document having a binding unit and a fore edge is mounted, reads the document placed on the mounting table, and outputs a read image;
A distortion detection unit that detects a distortion state of the original arrangement caused by the binding unit in the read image;
A determination unit that compares a detection result of the distortion detection unit with a first threshold value and determines that the document arrangement is distorted when the distortion state exceeds the first threshold value;
Based on the determination result of the determination unit, a display unit that displays a distortion state of the arrangement in the document and prompts rearrangement;
An image processing apparatus comprising:
前記歪み検出部は、
前記読取画像において、前記原稿の外形形状を示す外形輪郭線を抽出する輪郭抽出部と、
前記外形輪郭線のうち、前記原稿の第1の前記小口を示す第1の前記外形輪郭線と、前記原稿の第2の前記小口を示す第2の前記外形輪郭線と、が成す小口角度を検出する小口角度検出部と、
を有することを特徴とする請求項1記載の画像処理装置。
The distortion detector
A contour extracting unit that extracts an outer contour line indicating the outer shape of the document in the read image;
Of the outline contours, a fore angle formed by the first outline contour indicating the first fore edge of the document and the second outline outline indicating the second fore edge of the document is formed. A fore edge angle detection unit to detect,
The image processing apparatus according to claim 1, further comprising:
前記小口角度検出部は、
前記輪郭抽出部が抽出した前記外形輪郭線のうち、直線部分を前記第1の小口を示す第1の外形輪郭線及び第2の小口を示す第2の外形輪郭線として前記第1の外形輪郭線と前記第2の外形輪郭線とが成す2つの角度のうち、鋭角の角度を前記小口角度として検出することを特徴とする請求項2記載の画像処理装置。
The fore edge detection unit is
Of the outer contour lines extracted by the contour extraction unit, the first outer contour is defined by using a straight line portion as a first outer contour line indicating the first fore edge and a second outer contour line indicating the second fore edge. The image processing apparatus according to claim 2, wherein an acute angle is detected as the fore edge angle among two angles formed by a line and the second outer contour line.
前記歪み検出部は、
前記読取画像における前記原稿の綴じ部を抽出する綴じ部抽出部と、
前記綴じ部に対して片側に垂直な方向の画素の輝度値を探索して低輝度領域の領域輪郭線を求め、前記領域輪郭線と前記綴じ部とが成す綴じ部角度を算出する綴じ部角度算出部とを有し、
前記判定部は、前記綴じ部角度算出部により求めた前記綴じ部角度と第2の閾値との比較を行い、前記綴じ部角度が前記第2の閾値を越えるときには前記原稿の配置に歪み有りと判定することを特徴とする請求項1記載の画像処理装置。
The distortion detector
A binding portion extraction unit that extracts a binding portion of the document in the read image;
A binding portion angle that searches for a luminance value of a pixel in a direction perpendicular to one side with respect to the binding portion to obtain a region contour line of a low-luminance region and calculates a binding portion angle formed by the region contour line and the binding portion A calculation unit,
The determination unit compares the binding unit angle obtained by the binding unit angle calculation unit with a second threshold value. When the binding unit angle exceeds the second threshold value, the document arrangement is distorted. The image processing apparatus according to claim 1, wherein the determination is performed.
前記綴じ部角度算出部は、
前記領域輪郭線と前記綴じ部とが成す2つの角度のうち、鋭角の角度を前記綴じ部角度として算出することを特徴とする請求項4記載の画像処理装置。
The binding portion angle calculation unit includes:
The image processing apparatus according to claim 4, wherein an acute angle among two angles formed by the region outline and the binding portion is calculated as the binding portion angle.
前記判定部は、
前記原稿の配置に歪み有りと判定したときには、前記領域輪郭線と前記綴じ部とが成す2つの角度の鋭角側と鈍角側とを識別し、前記原稿が前記鈍角側に八の字状に広がっていると判定することを特徴とする請求項4又は5記載の画像処理装置。
The determination unit
When it is determined that the document layout is distorted, the acute angle side and the obtuse angle side of the two angles formed by the region outline and the binding portion are identified, and the document spreads in an eight-letter shape toward the obtuse angle side. The image processing apparatus according to claim 4, wherein the image processing apparatus determines that the image processing is performed.
前記表示部は、
前記原稿における前記配置の歪み状態を示す原稿歪み画像と、前記原稿の再配置を促すメッセージと、を表示することを特徴とする請求項1〜6のいずれか1項に記載の画像処理装置。
The display unit
The image processing apparatus according to claim 1, wherein a document distortion image indicating a distortion state of the arrangement of the document and a message for prompting the rearrangement of the document are displayed.
JP2010147467A 2010-06-29 2010-06-29 Image processing apparatus Withdrawn JP2012015592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010147467A JP2012015592A (en) 2010-06-29 2010-06-29 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010147467A JP2012015592A (en) 2010-06-29 2010-06-29 Image processing apparatus

Publications (1)

Publication Number Publication Date
JP2012015592A true JP2012015592A (en) 2012-01-19

Family

ID=45601557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010147467A Withdrawn JP2012015592A (en) 2010-06-29 2010-06-29 Image processing apparatus

Country Status (1)

Country Link
JP (1) JP2012015592A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014016794A (en) * 2012-07-09 2014-01-30 Canon Inc Information processing apparatus and control method thereof
JP2017142635A (en) * 2016-02-10 2017-08-17 日立オムロンターミナルソリューションズ株式会社 Image reading device
JP2019080220A (en) * 2017-10-26 2019-05-23 ブラザー工業株式会社 Image scanner
JP2019102945A (en) * 2017-11-30 2019-06-24 ブラザー工業株式会社 Image reading device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014016794A (en) * 2012-07-09 2014-01-30 Canon Inc Information processing apparatus and control method thereof
JP2017142635A (en) * 2016-02-10 2017-08-17 日立オムロンターミナルソリューションズ株式会社 Image reading device
JP2019080220A (en) * 2017-10-26 2019-05-23 ブラザー工業株式会社 Image scanner
JP2019102945A (en) * 2017-11-30 2019-06-24 ブラザー工業株式会社 Image reading device
JP7007641B2 (en) 2017-11-30 2022-01-24 ブラザー工業株式会社 Image reader

Similar Documents

Publication Publication Date Title
CN104079750B (en) Image processing apparatus and region determining method
US9036223B2 (en) Systems and methods for edge detection during an imaging operation
CN105320933B (en) Electronic document generating system and electronic document generation device
WO2011152166A1 (en) Overhead scanner apparatus, image processing method, and program
CA2598482A1 (en) Finger sensor apparatus using image resampling and associated methods
EP1843275A3 (en) Outlier detection during scanning
JP5241631B2 (en) Image processing method, image processing apparatus, and program
US20070172123A1 (en) Image processing apparatus, image processing method and computer readable medium
JP4934454B2 (en) Image reading device
JP2010109448A5 (en) Image processing method, image processing program, and image processing system
JP2012015592A (en) Image processing apparatus
US10432809B2 (en) Reading apparatus and image generation method
JP2018056781A (en) Image reading device and image forming apparatus
US9473670B2 (en) Peripheral with image processing function
JP5757931B2 (en) Image processing apparatus and image reading apparatus
JP2017163407A (en) Image processing apparatus, information processing apparatus, and image processing method
JP6677209B2 (en) Image processing apparatus, processing method, and program
JP6693184B2 (en) Image processing apparatus and image processing method
CN115208994B (en) Document processing apparatus and image processing method thereof
JP2024175317A (en) Document reading device, control method and program
JP5223792B2 (en) Image processing apparatus, photographing apparatus, photographing system, and program
KR20090018339A (en) Image reading device and image correction method using same
JP6950621B2 (en) Image forming device, image processing device, and image processing method
US20110096984A1 (en) Image processing device, method for image processing, and image forming apparatus
JP2008252383A (en) Image reader, image processing method and image processing program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20130903