JP2012118863A - Image reading device, image formation device, image reading method, program and recording medium therefor - Google Patents

Image reading device, image formation device, image reading method, program and recording medium therefor Download PDF

Info

Publication number
JP2012118863A
JP2012118863A JP2010269360A JP2010269360A JP2012118863A JP 2012118863 A JP2012118863 A JP 2012118863A JP 2010269360 A JP2010269360 A JP 2010269360A JP 2010269360 A JP2010269360 A JP 2010269360A JP 2012118863 A JP2012118863 A JP 2012118863A
Authority
JP
Japan
Prior art keywords
document
unit
image
reading
image data
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.)
Pending
Application number
JP2010269360A
Other languages
Japanese (ja)
Inventor
Hitoshi Hirohata
仁志 廣畑
Tetsuya Shibata
哲也 柴田
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2010269360A priority Critical patent/JP2012118863A/en
Publication of JP2012118863A publication Critical patent/JP2012118863A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Character Input (AREA)
  • Character Discrimination (AREA)

Abstract

PROBLEM TO BE SOLVED: To accurately perform character recognition processing.SOLUTION: An image reading method includes: an image reading step (S2) for reading a document to acquire image data of the document; a character recognition step (S25) for performing character recognition processing of characters included in the document based on the image data; a recognition accuracy calculation step (S25) for calculating character recognition accuracy of the character recognition processing; a recommendation setting detection step (S10) for, for a document whose character recognition accuracy calculated in the recognition accuracy calculation step is equal to or lower than a predetermined value, detecting a recommendation setting condition as a setting condition in rereading the document recommended to improve the character recognition accuracy; and a display step (S11) for displaying the recommendation setting condition.

Description

本発明は、原稿を読み取って画像データを取得するとともに、この画像データに基づいて上記原稿に記載されている文字の文字認識処理を行う画像読取装置および画像読取方法に関するものである。   The present invention relates to an image reading apparatus and an image reading method for acquiring image data by reading a document and performing character recognition processing of characters described in the document based on the image data.

従来から、紙媒体の原稿に記載されている情報をスキャナで読み取って上記原稿の画像データを取得し、当該画像データに対して文字認識処理(OCR(Optical Character Recognition)処理)を施して上記原稿に含まれる文字に関するテキストデータを作成し、上記画像データと上記テキストデータとを対応付けた画像ファイルを作成する技術がある。   Conventionally, information described in a paper medium original is read by a scanner to obtain image data of the original, and character recognition processing (OCR (Optical Character Recognition) processing) is performed on the image data, thereby the original. There is a technique for creating text data relating to characters included in the image and creating an image file in which the image data is associated with the text data.

例えば、特許文献1には、紙媒体に記載されている情報をスキャナで読み取って文字認識処理を行い、認識できない文字の数を行単位でカウントし、このカウント値が設定値以上になった場合にその行を読取解像度を上げて再読取して文字認識しなおすことにより、常用読取速度を低下させることなく認識精度の低下を抑制する技術が開示されている。   For example, in Japanese Patent Laid-Open No. 2004-260260, when information described in a paper medium is read by a scanner and character recognition processing is performed, the number of unrecognizable characters is counted in units of lines, and this count value is equal to or greater than a set value. In addition, a technique is disclosed in which the line is re-read at a higher reading resolution and re-recognized to re-recognize characters, thereby reducing the recognition accuracy without lowering the normal reading speed.

特開昭63−143683号公報(昭和63年6月15日公開)Japanese Unexamined Patent Publication No. 63-143683 (released on June 15, 1988) 特開平7−192086号公報(平成7年7月28日公開)Japanese Laid-Open Patent Publication No. Hei 7-192086 (published July 28, 1995) 特開平6−189083号公報(平成6年7月8日公開)Japanese Patent Laid-Open No. 6-189083 (published July 8, 1994)

しかしながら、上記特許文献1の技術では、当初の読取解像度が低かったために文字を認識できなかった場合には解像度を高くして再読取を行うことによって当該文字を正しく認識できるが、その他の理由に起因して文字を認識できなかった場合には解像度を高くして再読取を行っても文字を正しく認識できない場合がある。例えば、原稿が正規の読取位置に対して傾いた状態で読み取られた場合などには、この原稿の傾きを改善して再読取を行う必要があり、解像度を高くして再読取を行うだけでは文字を正しく認識できない。   However, in the technique of Patent Document 1, when the character cannot be recognized because the original reading resolution is low, the character can be correctly recognized by increasing the resolution and performing re-reading. If the character cannot be recognized due to this, the character may not be recognized correctly even if re-reading is performed with a higher resolution. For example, when a document is read while being tilted with respect to the normal reading position, it is necessary to improve the inclination of the document and perform re-reading. Cannot recognize characters correctly.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、文字認識処理を精度よく行うことのできる画像読取装置および画像読取方法を提供することにある。   The present invention has been made in view of the above problems, and an object thereof is to provide an image reading apparatus and an image reading method capable of accurately performing character recognition processing.

本発明の画像読取装置は、上記の課題を解決するために、原稿を読み取って当該原稿の画像データを取得する画像読取部と、上記画像データに基づいて上記原稿に含まれる文字の文字認識処理を行うとともに当該文字認識処理の認識精度を算出する文字認識部を有する画像処理部とを備えた画像読取装置であって、上記文字認識部によって算出された文字認識精度が所定値以下である原稿について、文字認識精度を改善するために推奨される当該原稿の再読取時の設定条件である推奨設定条件を検出する推奨設定検出部と、上記推奨設定条件を表示する表示部とを備えていることを特徴としている。   In order to solve the above problems, an image reading apparatus according to the present invention includes an image reading unit that reads a document and obtains image data of the document, and a character recognition process for characters included in the document based on the image data. And an image processing apparatus having a character recognition unit for calculating the recognition accuracy of the character recognition process, wherein the character recognition accuracy calculated by the character recognition unit is a predetermined value or less A recommended setting detection unit for detecting a recommended setting condition that is a setting condition at the time of re-reading the document recommended for improving the character recognition accuracy, and a display unit for displaying the recommended setting condition. It is characterized by that.

本発明の画像読取方法は、上記の課題を解決するために、原稿を読み取って当該原稿の画像データを取得する画像読取工程と、上記画像データに基づいて上記原稿に含まれる文字の文字認識処理を行う文字認識工程と、上記文字認識処理の文字認識精度を算出する認識精度算出工程とを含む画像読取方法であって、上記認識精度算出工程によって算出された文字認識精度が所定値以下である原稿について、文字認識精度を改善するために推奨される当該原稿の再読取時の設定条件である推奨設定条件を検出する推奨設定検出工程と、上記推奨設定条件を表示する表示工程とを含むことを特徴としている。   In order to solve the above-described problems, an image reading method of the present invention includes an image reading step of reading a document to obtain image data of the document, and a character recognition process for characters included in the document based on the image data. And a recognition accuracy calculation step of calculating the character recognition accuracy of the character recognition process, wherein the character recognition accuracy calculated by the recognition accuracy calculation step is not more than a predetermined value. The document includes a recommended setting detection step for detecting a recommended setting condition that is a setting condition at the time of re-reading the document recommended for improving the character recognition accuracy, and a display step for displaying the recommended setting condition. It is characterized by.

上記の画像読取装置および画像読取方法によれば、文字認識精度が所定値以下である原稿について、文字認識精度を改善するために推奨される当該原稿の再読取時の設定条件である推奨設定条件を検出し、その推奨設定条件を表示する。これにより、ユーザに文字認識精度を改善するために推奨される再読取時の設定条件を提示することができるので、再読取によって文字認識処理により適した画像データを取得することができ、文字認識精度を向上させることができる。   According to the image reading apparatus and the image reading method described above, a recommended setting condition that is a setting condition at the time of re-reading the document recommended for improving the character recognition accuracy for a document whose character recognition accuracy is a predetermined value or less. And the recommended setting conditions are displayed. As a result, it is possible to present to the user recommended setting conditions at the time of rereading in order to improve character recognition accuracy, so that it is possible to obtain image data more suitable for character recognition processing by rereading, and character recognition. Accuracy can be improved.

また、上記画像読取部は、原稿を搬送する原稿自動搬送装置と、搬送されている原稿を読み取って原稿の画像データを取得する第1読取手段とを備えており、上記第1読取手段による原稿読み取り時の原稿の正規の配置位置に対する上記原稿を読み取ったときの傾き角度を上記画像データに基づいて算出する原稿傾き検知部を備え、上記推奨設定検出部は、上記文字認識部によって算出された文字認識精度が所定値以下であり、かつ上記傾き角度が所定角度以上である原稿について、上記原稿自動搬送装置による搬送時の上記原稿の向きを変更して再読取を行うことを上記推奨設定条件として検出する構成としてもよい。   The image reading unit includes an automatic document feeder that conveys a document and a first reading unit that reads the conveyed document and obtains image data of the document, and the document by the first reading unit. A document inclination detection unit that calculates an inclination angle when the original is read with respect to a normal arrangement position of the original at the time of reading based on the image data, and the recommended setting detection unit is calculated by the character recognition unit; The recommended setting condition is that a document whose character recognition accuracy is equal to or less than a predetermined value and whose inclination angle is equal to or greater than a predetermined angle is re-read by changing the orientation of the document during conveyance by the automatic document conveyance device. It is good also as a structure detected as.

上記の構成によれば、再読取時における原稿自動搬送装置によって搬送される原稿の向きを変更することで、原稿の傾きを抑制することができる。これにより、原稿の傾きが抑制された画像データに基づいて文字認識処理を行えるので、文字認識精度を向上させることができる。   According to the above configuration, the inclination of the document can be suppressed by changing the direction of the document conveyed by the automatic document feeder at the time of re-reading. Thereby, the character recognition process can be performed based on the image data in which the inclination of the document is suppressed, so that the character recognition accuracy can be improved.

例えば、原稿の傷みの少ない辺(例えば、ホッチキス(ステープラー)で止められていた箇所とは反対側の辺、あるいはパンチ穴が空けてある側とは反対側の辺)を搬送方向の先頭側にして原稿を搬送することにより、原稿の傾きの頻度および程度を低減することができる。   For example, the side with less damage to the document (for example, the side opposite to the portion stopped by the stapler or the side opposite to the side where the punch hole is formed) is set to the leading side in the transport direction. By conveying the document, the frequency and degree of document tilt can be reduced.

なお、文字認識処理を行う場合には、一般に、原稿の画像データを2値画像データに変換し、この2値画像データに基づいて文字認識処理が行われる。ところが、2値画像データに対して原稿の傾き補正処理を施すと、傾き補正後の形状にジャギーが生じたり、文字がつぶれてしまったり、網点領域にモアレが生じてしまったりする場合があるので、傾き補正によってかえって文字認識精度が低下してしまう場合がある。これに対して、原稿の読取時に原稿の傾きを抑制して読み取ることにより、これらの不具合を抑制して文字認識精度を向上さえることができる。また、画像データに対して傾き補正処理を行う場合、座標変換処理を行う必要があるので、処理時間が長くなるという問題もあるが、原稿の読取時に原稿の傾きを抑制して読み取ることにより、傾き補正処理を行う場合に比べて処理時間を短縮できる。   When character recognition processing is performed, generally, image data of a document is converted into binary image data, and character recognition processing is performed based on the binary image data. However, if the document skew correction process is performed on binary image data, jaggy may occur in the shape after skew correction, characters may be crushed, or moire may occur in the halftone dot area. As a result, the character recognition accuracy may be lowered due to the inclination correction. On the other hand, by reading the document while suppressing the inclination of the document, it is possible to suppress these problems and improve the character recognition accuracy. Further, when the tilt correction processing is performed on the image data, since it is necessary to perform the coordinate conversion processing, there is a problem that the processing time becomes long, but by reading the document while suppressing the tilt of the document, The processing time can be shortened compared to the case where the inclination correction process is performed.

また、上記画像読取部は、原稿を搬送する原稿自動搬送装置と、搬送されている原稿を読み取って原稿の画像データを取得する第1読取手段とを備えており、上記第1読取手段による原稿読み取り時の原稿の正規の配置位置に対する上記原稿を読み取ったときの傾き角度を上記画像データに基づいて算出する原稿傾き検知部を備え、上記推奨設定検出部は、上記文字認識部によって算出された文字認識精度が所定値以下であり、かつ上記傾き角度が所定角度以上である原稿について、上記原稿自動搬送装置による上記原稿の搬送速度を変更して再読取を行うことを上記推奨設定条件として検出する構成としてもよい。   The image reading unit includes an automatic document feeder that conveys a document and a first reading unit that reads the conveyed document and obtains image data of the document, and the document by the first reading unit. A document inclination detection unit that calculates an inclination angle when the original is read with respect to a normal arrangement position of the original at the time of reading based on the image data, and the recommended setting detection unit is calculated by the character recognition unit; As a recommended setting condition, it is detected that a document whose character recognition accuracy is equal to or less than a predetermined value and whose inclination angle is equal to or greater than a predetermined angle is read again by changing the document conveyance speed by the automatic document conveyance device. It is good also as composition to do.

上記の構成によれば、再読取時の原稿の搬送速度を変更することにより、原稿搬送時の原稿の傾きを抑制することができる。これにより、原稿の傾きが抑制された画像データに基づいて文字認識処理を行えるので、文字認識精度を向上させることができる。   According to the above configuration, it is possible to suppress the inclination of the document during document conveyance by changing the document conveyance speed during rereading. Thereby, the character recognition process can be performed based on the image data in which the inclination of the document is suppressed, so that the character recognition accuracy can be improved.

また、上記画像読取部は、原稿を搬送する原稿自動搬送装置と、搬送されている原稿を読み取って原稿の画像データを取得する第1読取手段とを備えており、上記第1読取手段による原稿読み取り時の原稿の正規の配置位置に対する上記原稿を読み取ったときの傾き角度を上記画像データに基づいて算出する原稿傾き検知部を備え、上記推奨設定検出部は、上記文字認識部によって算出された文字認識精度が所定値以下であり、かつ上記傾き角度が所定角度以上である原稿について、上記原稿自動搬送装置による搬送時の上記原稿の向き、および上記原稿自動搬送装置による上記原稿の搬送速度のうちのいずれか一方を変更して再読取を行うことを上記推奨設定条件として検出し、上記推奨設定条件に基づいて上記原稿を再読取して取得した画像データに対する上記文字認識部による文字認識処理の文字認識精度が上記所定値以下であって、かつ当該画像データに基づいて上記原稿傾き検知部が算出した傾き角度が上記所定角度以上である場合に、上記推奨設定検出部は、上記原稿自動搬送装置による搬送時の上記原稿の向き、および上記原稿自動搬送装置による上記原稿の搬送速度のうちの他方または両方を変更して再読取を行うことを上記推奨設定条件として検出する構成としてもよい。   The image reading unit includes an automatic document feeder that conveys a document and a first reading unit that reads the conveyed document and obtains image data of the document, and the document by the first reading unit. A document inclination detection unit that calculates an inclination angle when the original is read with respect to a normal arrangement position of the original at the time of reading based on the image data, and the recommended setting detection unit is calculated by the character recognition unit; For a document whose character recognition accuracy is less than or equal to a predetermined value and whose inclination angle is greater than or equal to a predetermined angle, the orientation of the document when transported by the automatic document transport device and the transport speed of the document by the automatic document transport device It was detected as a recommended setting condition that re-reading with any one of them changed, and the original was re-read based on the recommended setting condition. When the character recognition accuracy of the character recognition processing by the character recognition unit for image data is not more than the predetermined value, and the inclination angle calculated by the document inclination detection unit based on the image data is not less than the predetermined angle. The recommended setting detection unit performs re-reading by changing the other or both of the orientation of the document during conveyance by the automatic document conveyance device and the conveyance speed of the document by the automatic document conveyance device. It is good also as a structure detected as the said recommended setting conditions.

上記の構成によれば、上記文字認識部によって算出された文字認識精度が所定値以下であり、かつ上記傾き角度が所定角度以上である原稿について、まず、原稿自動搬送装置による搬送時の原稿の向き、および原稿自動搬送装置による原稿の搬送速度のうちのいずれか一方を変更して再読取を行う。そして、再読取を行っても文字認識精度が所定値より高くならない場合には、原稿自動搬送装置による搬送時の原稿の向き、および原稿自動搬送装置による原稿の搬送速度のうちの他方または両方を変更して再読取を行う。これにより、原稿の傾きをより適切に抑制することができ、原稿の傾きが抑制された画像データに基づいて文字認識処理を行えるので、文字認識精度を向上させることができる。   According to the above configuration, for a document in which the character recognition accuracy calculated by the character recognition unit is equal to or less than a predetermined value and the tilt angle is equal to or greater than a predetermined angle, first, Rereading is performed by changing either the orientation or the document conveying speed by the automatic document feeder. If the character recognition accuracy does not become higher than the predetermined value even after re-reading, check the other or both of the orientation of the document during conveyance by the automatic document feeder and the conveyance speed of the document by the automatic document feeder. Change and re-read. Thereby, the inclination of the original can be more appropriately suppressed, and the character recognition process can be performed based on the image data in which the inclination of the original is suppressed, so that the character recognition accuracy can be improved.

また、上記画像読取部は、上記原稿自動搬送装置および上記第1読取手段に加えて、原稿を静止させた状態で載置する原稿載置台と、上記原稿載置台に載置された原稿を読み取って原稿の画像データを取得する第2読取手段とを備えており、上記推奨設定検出部は、上記原稿自動搬送装置を用いた上記原稿の再読取を所定回数行っても当該原稿についての上記文字認識部による文字認識処理の文字認識精度が上記所定値よりも高くならない場合に、上記原稿を上記原稿載置台に載置して再読取を行うことを上記推奨設定条件として検出する構成としてもよい。   In addition to the automatic document feeder and the first reading unit, the image reading unit reads a document placement table on which the document is placed in a stationary state, and a document placed on the document placement table. A second reading unit that acquires image data of the original, and the recommended setting detection unit performs the character reading on the original even if the original is read a predetermined number of times using the automatic original feeder. When the character recognition accuracy of the character recognition processing by the recognition unit is not higher than the predetermined value, it may be configured to detect as the recommended setting condition that the original is placed on the original placement table and reread. .

上記の構成によれば、原稿自動搬送装置による搬送時の原稿の傾きを抑制することが困難な場合であっても、第2読取手段によって原稿載置台上に載置された原稿を読み取ることにより、原稿の傾きが抑制された画像データを取得できる。したがって、原稿の傾きが抑制された画像データに基づいて文字認識処理を行えるので、文字認識精度を向上させることができる。   According to the above configuration, even when it is difficult to suppress the inclination of the document during conveyance by the automatic document conveyance device, by reading the document placed on the document placement table by the second reading unit, The image data in which the inclination of the document is suppressed can be acquired. Therefore, since character recognition processing can be performed based on image data in which the inclination of the document is suppressed, character recognition accuracy can be improved.

また、上記画像読取部における原稿読み取り時の原稿の正規の配置位置に対する上記原稿を読み取ったときの傾き角度を上記画像データに基づいて算出する原稿傾き検知部を備え、上記推奨設定検出部は、上記文字認識部によって算出された文字認識精度が所定値以下であり、かつ上記傾き角度が所定角度未満である場合に、上記画像読取部における読取解像度を変更して再読取を行うことを上記推奨設定条件として検出する構成としてもよい。   The image reading unit includes a document inclination detection unit that calculates an inclination angle when the original is read with respect to a normal arrangement position of the original at the time of reading the original based on the image data, and the recommended setting detection unit includes: When the character recognition accuracy calculated by the character recognition unit is not more than a predetermined value and the tilt angle is less than the predetermined angle, it is recommended to reread by changing the reading resolution in the image reading unit It is good also as a structure detected as a setting condition.

上記の構成によれば、例えば文字認識精度が所定値以下であった理由が文字サイズである場合などに、読取解像度を変更して再読取を行い、再読取後の画像データに基づいて文字認識処理を行うことで、文字認識精度を向上させることができる。   According to the above configuration, for example, when the reason why the character recognition accuracy is equal to or lower than the predetermined value is the character size, the re-reading is performed by changing the reading resolution, and the character recognition is performed based on the re-read image data. By performing the processing, the character recognition accuracy can be improved.

また、上記画像読取部は、原稿を搬送する原稿自動搬送装置と、搬送されている原稿を読み取って原稿の画像データを取得する第1読取手段とを備え、複数枚の原稿を上記原稿自動搬送装置によって連続的に搬送するページ一括処理モードを有しており、上記ページ一括処理モードによって上記原稿の再読取を行う場合に、連続的に搬送される複数枚の原稿のうち、前回の読取時に文字認識精度が所定値以下であった原稿について再読取を行う一方、文字認識精度が所定値よりも高かった原稿については再読取を行わずに搬送のみを行う構成としてもよい。   The image reading unit includes an automatic document feeder that conveys a document and a first reading unit that reads the conveyed document and acquires image data of the document, and automatically conveys a plurality of documents. When a re-reading of the original is performed in the page batch processing mode having a page batch processing mode that is continuously conveyed by the apparatus, among a plurality of continuously conveyed originals, A configuration may be adopted in which re-reading is performed for a document whose character recognition accuracy is equal to or less than a predetermined value, while only a conveyance is performed without re-reading a document whose character recognition accuracy is higher than a predetermined value.

上記の構成によれば、複数枚の原稿を連続して読み取った後、文字認識精度が所定値以下であった原稿の再読取を行う場合に、ユーザが複数枚の原稿の中から再読取を行う原稿を抽出する処理を行う必要がない。したがって、ユーザの利便性を向上させることができる。また、全ての原稿について再読取を行う場合に比べて、再読取の処理時間を短縮できる。また、全ての原稿について再読取を行うことによって前回の読取時には所定値以上の文字認識精度が得られていた原稿の文字認識精度が低下してしまうといった不具合(例えば、大きな文字で構成される頁と小さな文字で構成される頁が混在している原稿の場合、小さな文字の認識率が低い場合に、解像度を上げると、大きな文字の頁の認識率が低下するといった不具合)が生じることを防止できる。   According to the above configuration, when a document having a character recognition accuracy of a predetermined value or less is re-read after continuously reading a plurality of documents, the user can re-read the document from the plurality of documents. There is no need to perform a process of extracting a document to be performed. Therefore, user convenience can be improved. Further, the reread processing time can be shortened as compared with the case where all the originals are reread. In addition, by re-reading all originals, there is a problem that the character recognition accuracy of the originals that had obtained character recognition accuracy of a predetermined value or more at the time of the previous reading deteriorated (for example, a page composed of large characters). In the case of a manuscript that contains pages composed of small characters and small characters, if the recognition rate of small characters is low, increasing the resolution will prevent the problem of lowering the recognition rate of large character pages) it can.

また、上記画像データが複数枚の原稿からなる画像データである場合に、上記文字認識部は原稿毎に文字認識精度を算出し、上記推奨設定検出部は文字認識精度が所定値以下である各原稿について原稿毎に上記推奨設定条件を検出し、前回の読取時に取得した複数枚の原稿の画像データのうち、文字認識精度が所定値以下であった原稿の画像データを、再読取によって取得した当該原稿の画像データに置換する画像合成部を備えている構成としてもよい。   Further, when the image data is image data composed of a plurality of documents, the character recognition unit calculates character recognition accuracy for each document, and the recommended setting detection unit has each character recognition accuracy equal to or less than a predetermined value. The above recommended setting conditions are detected for each document, and image data of a document whose character recognition accuracy is a predetermined value or less is acquired by re-reading among image data of a plurality of documents acquired at the time of the previous reading. It may be configured to include an image composition unit that replaces the image data of the document.

上記の構成によれば、複数前の原稿からなる画像データについて、原稿毎に再読取時の推奨設定条件を検出してユーザに提示することができる。また、前回の読取時に取得した複数枚の原稿の画像データのうち、文字認識精度が所定値以下であった原稿の画像データを、再読取によって取得した当該原稿の画像データに置換することができる。したがって、文字認識精度が所定値以下であった原稿の文字認識精度を向上させることができる。   According to the above configuration, it is possible to detect recommended setting conditions at the time of rereading for each original and present it to the user for image data made up of a plurality of previous originals. In addition, among the image data of a plurality of documents acquired at the time of the previous reading, the image data of the document whose character recognition accuracy is a predetermined value or less can be replaced with the image data of the document acquired by re-reading. . Accordingly, it is possible to improve the character recognition accuracy of a document whose character recognition accuracy is a predetermined value or less.

また、原稿から読み取って取得した画像データに対して、読み取り時の原稿の傾きを補正する原稿傾き補正処理、読み取り時の原稿の向きを90度単位で補正する天地方向補正処理、原稿の下地領域を検知して下地除去を行う下地検知除去処理、および解像度変換処理のうちのいずれか1つ以上の処理を行う補正処理部と、上記原稿が複数ページを1枚の原稿に割り付けた割付原稿である場合に、当該原稿の画像データを当該原稿に含まれるページ毎に分割する画像分割部とを備え、上記補正処理部は、上記画像分割部によって分割された上記各ページの画像データに対してページ毎に上記処理を行い、上記文字認識部は、上記画像分割部によって上記処理が施された上記各ページの画像データに基づいてページ毎に文字認識処理を行う構成としてもよい。   In addition, for image data obtained by reading from a document, document tilt correction processing for correcting the document tilt at the time of reading, top-to-bottom direction correction processing for correcting the orientation of the document at the time of reading by 90 degrees, and the background area of the document A correction processing unit that performs at least one of a background detection removal process that detects background and removes the background, and a resolution conversion process, and an original that is allocated with a plurality of pages assigned to a single original In some cases, an image dividing unit that divides the image data of the document for each page included in the document, and the correction processing unit applies the image data of each page divided by the image dividing unit. A configuration in which the processing is performed for each page, and the character recognition unit performs character recognition processing for each page based on the image data of each page that has been subjected to the processing by the image dividing unit. It may be.

上記の構成によれば、原稿が複数ページを1枚の原稿に割り付けた割付原稿である場合に、当該割付原稿をページ毎に分割し、分割後の各ページに対して必要に応じて原稿傾き補正処理、天地方向補正処理、下地検知除去処理、および解像度変換処理のうちのいずれか1つ以上の処理を施してから文字認識処理を行うことができる。これにより、各ページに対する文字認識精度を向上させることができる。   According to the above configuration, when a document is an allocated document in which a plurality of pages are allocated to one document, the allocated document is divided into pages, and the document is tilted as necessary for each divided page. The character recognition process can be performed after performing any one or more of the correction process, the vertical direction correction process, the background detection removal process, and the resolution conversion process. Thereby, the character recognition precision with respect to each page can be improved.

また、上記画像読取部は、上記割付原稿の再読取を行う場合に、読取解像度を前回の読取解像度よりも高い解像度に変更して再読取を行い、上記画像分割部は、前回の読取解像度よりも高い解像度で再読取された上記割付原稿の画像データを当該割付原稿に含まれるページ毎に分割する構成としてもよい。   Further, when re-reading the allocated document, the image reading unit changes the reading resolution to a resolution higher than the previous reading resolution, and performs re-reading. Alternatively, the arrangement may be such that the image data of the allocated document re-read at a high resolution is divided for each page included in the allocated document.

上記の構成によれば、分割によって各ページの画像データの解像度が低下することを抑制し、分割に伴う解像度の低下によって文字認識精度が低下することを防止できる。   According to said structure, it can suppress that the resolution of the image data of each page falls by division | segmentation, and can prevent that character recognition accuracy falls by the fall of the resolution accompanying division | segmentation.

本発明の画像形成装置は、上記したいずれかの画像読取装置と、上記画像読取装置によって読み取られた画像データに応じた画像を記録材上に形成する画像形成部とを備えていることを特徴としている。   An image forming apparatus according to the present invention includes any one of the image reading devices described above and an image forming unit that forms an image according to image data read by the image reading device on a recording material. It is said.

上記の構成によれば、原稿から取得した画像データに基づいて文字認識処理を精度よく行うとともに、上記画像データに応じた画像を記録材上に形成することができる。   According to the above configuration, it is possible to accurately perform the character recognition process based on the image data acquired from the document, and to form an image corresponding to the image data on the recording material.

なお、上記画像読取装置は、コンピュータによって実現してもよく、この場合には、コンピュータを上記各部として動作させることにより、上記画像処理装置をコンピュータにて実現させるプログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に含まれる。   Note that the image reading apparatus may be realized by a computer. In this case, a program for causing the image processing apparatus to be realized by the computer by causing the computer to operate as the respective units, and a computer reading that records the program. Possible recording media are also included in the scope of the present invention.

以上のように、本発明の画像読取装置は、上記文字認識部によって算出された文字認識精度が所定値以下である原稿について、文字認識精度を改善するために推奨される当該原稿の再読取時の設定条件である推奨設定条件を検出する推奨設定検出部と、上記推奨設定条件を表示する表示部とを備えている。   As described above, the image reading apparatus according to the present invention, when a document whose character recognition accuracy calculated by the character recognition unit is a predetermined value or less is recommended for re-reading the document recommended for improving the character recognition accuracy. A recommended setting detection unit that detects the recommended setting condition, and a display unit that displays the recommended setting condition.

また、本発明の画像読取方法は、上記認識精度算出工程によって算出された文字認識精度が所定値以下である原稿について、文字認識精度を改善するために推奨される当該原稿の再読取時の設定条件である推奨設定条件を検出する推奨設定検出工程と、上記推奨設定条件を表示する表示工程とを含む。   In addition, the image reading method of the present invention is a setting recommended at the time of re-reading a document that is recommended for improving the character recognition accuracy for a document whose character recognition accuracy calculated by the recognition accuracy calculation step is equal to or less than a predetermined value. A recommended setting detecting step for detecting a recommended setting condition as a condition, and a display step for displaying the recommended setting condition.

それゆえ、ユーザに文字認識精度を改善するために推奨される再読取時の設定条件を提示することができるので、再読取によって文字認識処理により適した画像データを取得することができ、文字認識精度を向上させることができる。   Therefore, it is possible to present to the user recommended setting conditions at the time of re-reading to improve character recognition accuracy, so that image data more suitable for character recognition processing can be obtained by re-reading, and character recognition Accuracy can be improved.

(a)は本発明の一実施形態にかかる画像処理装置において行われる画像送信モード(ページ単位処理モード)の処理の流れを示すフローチャートであり、(b)は(a)の処理において行われる画像読取処理の流れを示すフローチャートである。(A) is a flowchart which shows the flow of a process of the image transmission mode (page unit processing mode) performed in the image processing apparatus concerning one Embodiment of this invention, (b) is the image performed in the process of (a). It is a flowchart which shows the flow of a reading process. 本発明の一実施形態にかかる画像処理装置を備えた画像形成装置の構成、および画像形成モードにおけるデータの流れを示すブロック図である。1 is a block diagram illustrating a configuration of an image forming apparatus including an image processing apparatus according to an embodiment of the present invention, and a data flow in an image forming mode. 本発明の一実施形態にかかる画像処理装置を備えた画像形成装置の構成、および画像送信モードにおけるデータの流れを示すブロック図である。1 is a block diagram illustrating a configuration of an image forming apparatus including an image processing apparatus according to an embodiment of the present invention, and a data flow in an image transmission mode. 図2および図3の画像形成装置に備えられる画像入力装置の構成を示す説明図である。FIG. 4 is an explanatory diagram illustrating a configuration of an image input apparatus provided in the image forming apparatus illustrated in FIGS. 2 and 3. 図2および図3の画像形成装置に備えられる下地判定処理部において生成されるヒストグラムの一例を示す説明図である。FIG. 4 is an explanatory diagram illustrating an example of a histogram generated in a background determination processing unit provided in the image forming apparatus illustrated in FIGS. 2 and 3. 図2および図3の画像形成装置に備えられる露光処理部において用いられるLUT(ルックアップテーブル)の概要を示す説明図である。FIG. 4 is an explanatory diagram showing an outline of an LUT (look-up table) used in an exposure processing unit provided in the image forming apparatus of FIGS. 2 and 3. 本発明の一実施形態にかかる画像処理装置に備えられる原稿検知部の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a document detection unit provided in the image processing apparatus according to the embodiment of the present invention. 図7に示した原稿検知部に備えられるレイアウト解析部におけるレイアウト解析方法を示す説明図である。FIG. 8 is an explanatory diagram showing a layout analysis method in a layout analysis unit provided in the document detection unit shown in FIG. 7. 図2および図3に示した画像形成装置における文字認識部、再読取処理部、表示画像データ生成部、およびPDFファイル生成部の構成を示すブロック図である。FIG. 4 is a block diagram illustrating configurations of a character recognition unit, a reread processing unit, a display image data generation unit, and a PDF file generation unit in the image forming apparatus illustrated in FIGS. 2 and 3. 図2および図3に示した画像形成装置における原稿画像データの文字と文字認識結果に応じた文字との重畳方法を示す説明図である。FIG. 4 is an explanatory diagram illustrating a method of superimposing characters of document image data and characters according to a character recognition result in the image forming apparatus illustrated in FIGS. 2 and 3. (a)〜(d)は、図2および図3に示した画像形成装置において表示されるサムネイル画像の一覧の例を示す説明図である。(A)-(d) is explanatory drawing which shows the example of the list of the thumbnail images displayed in the image forming apparatus shown in FIG. 2 and FIG. (a)および(b)は図2および図3に示した画像形成装置において表示される、原稿画像データの文字と文字認識結果に応じた文字とを重畳させた重畳画像の例を示す説明図である。(A) And (b) is explanatory drawing which shows the example of the superimposition image on which the character according to the character recognition result superimposed on the character of original image data displayed on the image forming apparatus shown in FIG. 2 and FIG. It is. 図2および図3に示した画像形成装置において行われる推奨条件検出処理の流れを示すフローチャートである。4 is a flowchart showing a flow of recommended condition detection processing performed in the image forming apparatus shown in FIGS. 2 and 3. (a)は図2および図3に示した画像形成装置に表示される再読取設定画面の一例を示す説明図であり、(b)は(a)に示した再読取設定画面においてユーザが選択可能な内容を示す説明図である。(A) is an explanatory view showing an example of a reread setting screen displayed on the image forming apparatus shown in FIGS. 2 and 3, and (b) is selected by the user on the reread setting screen shown in (a). It is explanatory drawing which shows the possible content. (a)〜(d)は図2および図3に示した画像形成装置に表示される、再読取前の重畳画像と再読取後の重畳画像とを並べて表示した表示画面の例を示す説明図である。(A)-(d) is explanatory drawing which shows the example of the display screen which displayed the superimposed image before re-reading and the superimposed image after re-reading displayed on the image forming apparatus shown in FIG. 2 and FIG. It is. 図2および図3に示した画像処理装置において行われる画像送信モード(ページ一括処理モード)の処理の流れを示すフローチャートである。4 is a flowchart showing a flow of processing in an image transmission mode (page batch processing mode) performed in the image processing apparatus shown in FIGS. 2 and 3. (a)および(b)は図2および図3に示した画像形成装置において表示されるサムネイル画像の一覧の例を示す説明図である。(A) And (b) is explanatory drawing which shows the example of the list of the thumbnail images displayed in the image forming apparatus shown to FIG. 2 and FIG. 図2および図3に示した画像形成装置において行われる推奨条件検出処理の流れを示すフローチャートである。4 is a flowchart showing a flow of recommended condition detection processing performed in the image forming apparatus shown in FIGS. 2 and 3. 図2および図3に示した画像形成装置において表示される表示画面の一例を示す説明図である。FIG. 4 is an explanatory diagram illustrating an example of a display screen displayed in the image forming apparatus illustrated in FIGS. 2 and 3. 図2および図3に示した画像形成装置において表示される表示画面の一例を示す説明図である。FIG. 4 is an explanatory diagram illustrating an example of a display screen displayed in the image forming apparatus illustrated in FIGS. 2 and 3. (a)〜(e)は、図2および図3に示した画像形成装置における再読取時の画像データおよびテキストデータの更新方法を示す説明図である。(A)-(e) is explanatory drawing which shows the update method of the image data at the time of re-reading in the image forming apparatus shown in FIG. 2 and FIG. 3, and text data. (a)および(b)は図2および図3に示した画像形成装置において表示される表示画面の一例を示す説明図である。(A) And (b) is explanatory drawing which shows an example of the display screen displayed in the image forming apparatus shown in FIG. 2 and FIG. (a)〜(c)は、図2および図3に示した画像形成装置において表示される表示画面の一例を示す説明図である。(A)-(c) is explanatory drawing which shows an example of the display screen displayed in the image forming apparatus shown in FIG. 2 and FIG. (a)〜(d)は、複数ページの原稿が割り付けられた割付原稿の例を示す説明図である。(A)-(d) is explanatory drawing which shows the example of the allocation document to which the document of several pages was allocated. 図2および図3に示した画像形成装置において1ページの原稿を複数ページに分割する場合の分割数と分割後の各ページの補正倍率との関係を示す説明図である。FIG. 4 is an explanatory diagram showing a relationship between the number of divisions and the correction magnification of each divided page when a one-page document is divided into a plurality of pages in the image forming apparatus shown in FIGS. 2 and 3. (a)〜(d)は図2および図3に示した画像形成装置において表示されるサムネイル画像の一覧の例を示す説明図である。(A)-(d) is explanatory drawing which shows the example of the list of the thumbnail images displayed in the image forming apparatus shown to FIG. 2 and FIG. 図2および図3に示した画像形成装置において1ページの原稿を複数ページに分割する場合の分割後の各ページの順序を示す説明図である。FIG. 4 is an explanatory diagram showing an order of each page after division when a one-page document is divided into a plurality of pages in the image forming apparatus shown in FIGS. 2 and 3. 図2および図3に示した画像形成装置の変形例を示すブロック図である。FIG. 4 is a block diagram illustrating a modification of the image forming apparatus illustrated in FIGS. 2 and 3. 図2および図3に示した画像形成装置の変形例を示すブロック図である。FIG. 4 is a block diagram illustrating a modification of the image forming apparatus illustrated in FIGS. 2 and 3. 本発明の一実施形態にかかる画像処理装置を備えた画像読取装置の構成例を示すブロック図である。1 is a block diagram illustrating a configuration example of an image reading apparatus including an image processing apparatus according to an embodiment of the present invention.

本発明の一実施形態について説明する。なお、本実施形態では、本発明をデジタルカラー複合機(コピア機能、スキャナ機能、プリンタ機能、ファクシミリ送信機能、scan to e-mail機能等を備える複合機)に適用する場合の実施例について主に説明する。   An embodiment of the present invention will be described. In this embodiment, the present invention is mainly applied to an example in which the present invention is applied to a digital color multifunction peripheral (a multifunction peripheral having a copier function, a scanner function, a printer function, a facsimile transmission function, a scan to e-mail function, etc.). explain.

(1−1.デジタルカラー複合機1の全体構成)
図2および図3は、本実施形態にかかる画像処理装置を備えたデジタルカラー複合機(画像読取装置、画像形成装置)1の概略構成を示すブロック図である。これら各図に示すように、デジタルカラー複合機1は、画像入力装置(画像読取部)2、画像処理装置(画像処理部)3、画像出力装置4、通信装置5、記憶部6、制御部7、および操作パネル8を備えている。
(1-1. Overall Configuration of Digital Color Multifunction Machine 1)
2 and 3 are block diagrams showing a schematic configuration of a digital color multifunction peripheral (image reading apparatus, image forming apparatus) 1 including the image processing apparatus according to the present embodiment. As shown in these drawings, the digital color multifunction peripheral 1 includes an image input device (image reading unit) 2, an image processing device (image processing unit) 3, an image output device 4, a communication device 5, a storage unit 6, and a control unit. 7 and an operation panel 8 are provided.

また、このデジタルカラー複合機1は、(1)画像入力装置2で読み取った画像データまたは通信装置5によって外部から受信した画像データに応じた画像を画像出力装置4によって記録材上に形成(印刷)する画像形成モード、および(2)画像入力装置2で読み取った画像データとこの画像データに対する文字認識処理結果に基づくテキストデータとを対応付けた画像ファイルを生成して通信装置5により外部装置に送信する画像送信モードを備えている。図2は画像形成モードにおけるデータの流れを示しており、図3は画像送信モードにおけるデータの流れを示している。   The digital color multifunction peripheral 1 also (1) forms (prints) an image on the recording material by the image output device 4 according to the image data read by the image input device 2 or the image data received from the outside by the communication device 5. Image forming mode, and (2) an image file in which image data read by the image input device 2 is associated with text data based on the result of character recognition processing on the image data is generated by the communication device 5 to an external device. An image transmission mode for transmission is provided. FIG. 2 shows the data flow in the image forming mode, and FIG. 3 shows the data flow in the image transmission mode.

画像入力装置2は、原稿の画像を読み取って画像データ(原稿画像データ)を生成するものであり、例えばCCD(Charge Coupled Device )ラインセンサなどの光学情報を電気信号に変換するデバイス(光電変換手段)を備えたスキャナ部より構成されている。本実施形態では、画像入力装置2は、原稿からの反射光像を、RGB(R:赤・G:緑・B:青)のアナログ信号として画像処理装置3に出力する。また、画像入力装置2は、画像処理装置3に出力する画像データの解像度(読取解像度)を複数段階に変更可能になっている。画像入力装置2の詳細については後述する。   The image input device 2 reads an image of a document and generates image data (document image data). For example, a device (photoelectric conversion means) that converts optical information into an electrical signal, such as a CCD (Charge Coupled Device) line sensor. ). In the present embodiment, the image input device 2 outputs the reflected light image from the document to the image processing device 3 as RGB (R: red, G: green, B: blue) analog signals. Further, the image input device 2 can change the resolution (reading resolution) of image data output to the image processing device 3 in a plurality of stages. Details of the image input device 2 will be described later.

画像処理装置3は、画像形成モードでは、画像入力装置2から入力された画像データに種々の画像処理を施して得られるCMYKの画像データを画像出力装置4に出力する。また、画像送信モードでは、画像入力装置2から入力された画像データに種々の画像処理を施し、ユーザによって指定されたファイル形式の画像ファイル(出力ファイル)を生成して通信装置5に出力する。なお、本実施形態では、上記出力ファイルとして、画像データとこの画像データに対する文字認識処理結果に基づいて生成されるテキストデータとを対応付けた画像ファイルを生成して通信装置5に出力するようになっている。画像処理装置3の詳細については後述する。   In the image forming mode, the image processing apparatus 3 outputs CMYK image data obtained by performing various image processing on the image data input from the image input apparatus 2 to the image output apparatus 4. In the image transmission mode, various image processing is performed on the image data input from the image input device 2 to generate an image file (output file) in a file format designated by the user and output it to the communication device 5. In the present embodiment, as the output file, an image file in which image data is associated with text data generated based on the result of character recognition processing on the image data is generated and output to the communication device 5. It has become. Details of the image processing apparatus 3 will be described later.

画像出力装置(画像出力部)4は、画像処理装置3から入力された画像データを記録材(例えば紙等)上に出力するものである。画像出力装置4の構成は特に限定されるものではなく、例えば、電子写真方式あるいはインクジェット方式を用いた画像出力装置を用いることができる。   The image output device (image output unit) 4 outputs the image data input from the image processing device 3 onto a recording material (for example, paper). The configuration of the image output device 4 is not particularly limited, and for example, an image output device using an electrophotographic method or an inkjet method can be used.

通信装置5は、例えばモデムやネットワークカードより構成される。通信装置5は、ネットワークカード、LANケーブル等を介して、ネットワークに接続された他の装置(例えば、パーソナルコンピュータ、サーバ装置、表示装置、他のデジタル複合機、ファクシミリ装置等)とデータ通信を行う。   The communication device 5 is composed of a modem or a network card, for example. The communication device 5 performs data communication with another device (for example, a personal computer, a server device, a display device, another digital multifunction peripheral, a facsimile device, etc.) connected to the network via a network card, a LAN cable, or the like. .

操作パネル8は、制御部7の指示に応じた画像を表示する表示部8aと、ユーザからの指示入力を受け付けて制御部7に伝達する操作入力部8bとを備えている。なお、本実施形態では、表示部8aと操作入力部8bとが一体化されたタッチパネルを操作パネル8として用い、ユーザが表示部8aの表示画面における所望する選択項目の画像が表示されている領域に触れることによって指示入力を行う場合について主に説明する。ただし、これに限らず、例えば表示部8aと操作入力部8bとを別々に設けてもよい。この場合、表示部8aとしては、例えば、液晶表示装置、プラズマディスプレイ、有機ELディスプレイなどの従来から公知の表示装置を用いることができる。また、操作入力部8bとしては、例えば、キーボード、マウス、操作ボタン、ペン入力装置などの従来から公知の入力手段を用いることができる。   The operation panel 8 includes a display unit 8 a that displays an image according to an instruction from the control unit 7, and an operation input unit 8 b that receives an instruction input from a user and transmits the instruction input to the control unit 7. In this embodiment, a touch panel in which the display unit 8a and the operation input unit 8b are integrated is used as the operation panel 8, and an image of a desired selection item on the display screen of the display unit 8a is displayed by the user. The case of inputting an instruction by touching will be mainly described. However, the present invention is not limited thereto, and for example, the display unit 8a and the operation input unit 8b may be provided separately. In this case, conventionally known display devices such as a liquid crystal display device, a plasma display, and an organic EL display can be used as the display unit 8a. As the operation input unit 8b, conventionally known input means such as a keyboard, a mouse, operation buttons, a pen input device, and the like can be used.

記憶部6は、画像処理装置3で扱われる各種データ(画像データ、帳票の登録情報等)を記憶する記憶手段である。記憶部6の構成は特に限定されるものではないが、例えばハードディスクなどを用いることができる。   The storage unit 6 is a storage unit that stores various data (image data, registration information of a form, etc.) handled by the image processing apparatus 3. The configuration of the storage unit 6 is not particularly limited, and for example, a hard disk or the like can be used.

制御部7は、例えばCPU(Central Processing Unit)等からなり、図示しないROM等に格納されたプログラムや各種データ、操作パネル8から入力される情報、画像入力装置2あるいは画像出力装置4に備えられる各種センサの検知結果等に基づいて、デジタルカラー複合機1の各部の動作を制御する。   The control unit 7 includes, for example, a CPU (Central Processing Unit) and the like, and is provided in the program or various data stored in a ROM (not shown), information input from the operation panel 8, the image input device 2 or the image output device 4. Based on the detection results of various sensors, the operation of each part of the digital color multifunction peripheral 1 is controlled.

(1−2.画像入力装置2の構成)
図4は、画像入力装置2の構成を示す説明図である。この図に示すように、画像入力装置2は、原稿自動搬送装置(ADF(Auto Document Feeder))50と、原稿自動搬送装置50によって第2コンタクトガラス52上を搬送される原稿のおもて面側の画像を読み取るイメージセンサ部(第1読取手段)53と、第2コンタクトガラス52上を搬送される原稿の裏面側の画像を読み取る機能、および第1コンタクトガラス(原稿載置台)51上に載置されている原稿を走査することによりこの原稿の下面側を読み取る機能を有する読取部(第1読取手段、第2読取手段)54とを備えている。これにより、画像入力装置2は、原稿を静止させて画像を読み取る静止読取モード、原稿を搬送させながら原稿を読み取る走行読取モードを実行できるようになっている。また、走行読取モードでは、搬送されている原稿の片面の画像を読み取る片面読取モードおよび両面の画像を読み取る両面読取モードを実行できるようになっている。
(1-2. Configuration of Image Input Device 2)
FIG. 4 is an explanatory diagram showing the configuration of the image input apparatus 2. As shown in this figure, the image input apparatus 2 includes an automatic document feeder (ADF (Auto Document Feeder)) 50 and a front surface of a document conveyed on the second contact glass 52 by the automatic document feeder 50. An image sensor unit (first reading means) 53 for reading the image on the side, a function for reading the image on the back side of the document conveyed on the second contact glass 52, and the first contact glass (document placement table) 51. A reading unit (first reading unit, second reading unit) 54 having a function of reading the lower surface side of the document by scanning the placed document is provided. As a result, the image input apparatus 2 can execute a stationary reading mode in which an original is stopped and an image is read, and a traveling reading mode in which the original is read while the original is being conveyed. In the traveling reading mode, a single-sided reading mode for reading an image on one side of a document being conveyed and a double-sided reading mode for reading an image on both sides can be executed.

原稿自動搬送装置50は、図4に示すように整合ローラ対55を備えている。整合ローラ対55は、搬送されてきた原稿の先端が整合ローラ対55のニップ部に突き当たるように配置されている。そして、原稿が上記ニップ部に突き当たることによって原稿に所定の撓みが形成された後、整合ローラ対55が回動することによってこの原稿を下流側の原稿搬送路56に搬送することで、原稿の先端を搬送方向に垂直になるように原稿の向きを整合させるようになっている。   The automatic document feeder 50 includes an alignment roller pair 55 as shown in FIG. The alignment roller pair 55 is arranged so that the leading edge of the conveyed document abuts against the nip portion of the alignment roller pair 55. Then, after the original strikes the nip portion, a predetermined deflection is formed on the original, and the alignment roller pair 55 is rotated to convey the original to the downstream original conveyance path 56. The orientation of the document is aligned so that the front end is perpendicular to the transport direction.

また、原稿自動搬送装置50における第1コンタクトガラス51との対向面には第1コンタクトガラス51上に載置された原稿を抑える原稿押さえマット57が備えられており、原稿自動搬送装置50における第2コンタクトガラス52との対向面には原稿の搬送方向を規制するためのガイド58が備えられている。また、第2コンタクトガラス52におけるイメージセンサ部53との対向面とは反対側の面には、読取部54の光源62から照射される光がイメージセンサ部53に入射してイメージセンサ部53が画像を適切な濃度で読み取れなくなるのを防止するための遮光部材59が配置されている。   The automatic document feeder 50 is provided with a document pressing mat 57 for holding the document placed on the first contact glass 51 on the surface facing the first contact glass 51. On the surface facing the two-contact glass 52, a guide 58 is provided for restricting the conveyance direction of the document. Further, the light irradiated from the light source 62 of the reading unit 54 enters the image sensor unit 53 on the surface of the second contact glass 52 opposite to the surface facing the image sensor unit 53, and the image sensor unit 53 A light shielding member 59 for preventing the image from being read at an appropriate density is disposed.

なお、上記した各部材のうち、原稿押さえマット57、整合ローラ対55、原稿搬送路56、イメージセンサ部53、および上側原稿搬送ガイド58等が上部筐体(原稿カバー)60に備えられ、第1コンタクトガラス51、第2コンタクトガラス52、および読取部54が下部筐体61に備えられている。また、上部筐体60は下部筐体61に対して開閉可能に構成されている。   Among the members described above, the document holding mat 57, the alignment roller pair 55, the document conveyance path 56, the image sensor unit 53, the upper document conveyance guide 58, and the like are provided in the upper casing (document cover) 60, and A first contact glass 51, a second contact glass 52, and a reading unit 54 are provided in the lower housing 61. Further, the upper housing 60 is configured to be openable and closable with respect to the lower housing 61.

読取部54は、第1走査ユニット63、第2走査ユニット64、結像レンズ65、およびCCD(Charge Coupled Device)66を備えている。第1走査ユニット63は、第1コンタクトガラス51に沿って(図4の左から右に向かって)一定速度Vで移動しながら原稿を露光するものであり、光源(露光ランプ)62と、原稿の反射光を第2走査ユニット64に導く第1反射ミラー67とを有している。   The reading unit 54 includes a first scanning unit 63, a second scanning unit 64, an imaging lens 65, and a CCD (Charge Coupled Device) 66. The first scanning unit 63 exposes the document while moving at a constant speed V along the first contact glass 51 (from the left to the right in FIG. 4), and includes a light source (exposure lamp) 62 and a document. And a first reflecting mirror 67 that guides the reflected light to the second scanning unit 64.

第2走査ユニット64は、第1走査ユニット63に追随してV/2の速度で移動するようになっており、第1反射ミラー67からの光を結像レンズ65に導くための第2反射ミラー68および第3反射ミラー69を備えている。   The second scanning unit 64 follows the first scanning unit 63 and moves at a speed of V / 2, and a second reflection for guiding the light from the first reflection mirror 67 to the imaging lens 65. A mirror 68 and a third reflecting mirror 69 are provided.

結像レンズ65は、第3反射ミラー69からの反射光をCCD66上で結像させるものである。CCD66は結像レンズ65からの光をアナログの電気信号に変換するものである。なお、このアナログの電気信号は、後述する画像処理装置3によってデジタルの画像データに変換される。   The imaging lens 65 forms an image of the reflected light from the third reflection mirror 69 on the CCD 66. The CCD 66 converts light from the imaging lens 65 into an analog electric signal. The analog electric signal is converted into digital image data by an image processing device 3 described later.

走行読取モード(片面読取モード、両面読取モード)で原稿を読み取る場合、読取部54は、ホームポジション(図示せず)から、図4に示したように第2コンタクトガラス52に対向する位置に移動する。また、静止読取モードで原稿を読み取る場合、読取部54は、図4に示した位置Pから原稿サイズ検出手段(図示せず)で検出された原稿サイズに応じた距離だけ第1コンタクトガラス51に沿った方向に移動するようになっている。上記原稿サイズ検出手段は、例えば、画像入力装置2内に配置されたフォトトランジスタなどの光電変換素子により第1コンタクトガラス51上に載置された原稿の主走査方向および副走査方向の原稿サイズを検知するものであってもよく、あるいは、操作パネル8を介してユーザが選択した原稿のサイズを検知するものであってもよい。   When reading a document in the traveling reading mode (single-sided reading mode or double-sided reading mode), the reading unit 54 moves from a home position (not shown) to a position facing the second contact glass 52 as shown in FIG. To do. When reading the document in the stationary reading mode, the reading unit 54 moves from the position P shown in FIG. 4 to the first contact glass 51 by a distance corresponding to the document size detected by the document size detecting means (not shown). It moves in the direction along. The document size detection means detects the document size in the main scanning direction and the sub scanning direction of a document placed on the first contact glass 51 by a photoelectric conversion element such as a phototransistor disposed in the image input device 2, for example. It may be one that detects, or one that detects the size of the document selected by the user via the operation panel 8.

なお、両面読取モードで原稿を読み取った場合、例えば、原稿の表面が読取部54で読み取られるように設定されている場合には読取部54で読み取られた画像データがまず画像処理装置3に出力され、その後、イメージセンサ部53で読み取られた原稿の裏面の画像データが画像処理装置3に入力されるようになっている。なお、読取部54で読み取られた画像データが画像処理装置3で処理されている間、イメージセンサ部53で読み取られた画像データは後述する記憶部6に格納され、読取部54で読み取られた画像データの画像処理が終了した後(あるいは読取部54で読み取られた画像データに対する画像処理の進行状況に応じて)、記憶部6から読み出されて画像処理が施される。   When a document is read in the duplex reading mode, for example, when the reading unit 54 is set to read the surface of the document, the image data read by the reading unit 54 is first output to the image processing apparatus 3. Thereafter, the image data of the back side of the document read by the image sensor unit 53 is input to the image processing apparatus 3. Note that while the image data read by the reading unit 54 is being processed by the image processing device 3, the image data read by the image sensor unit 53 is stored in the storage unit 6 described later and read by the reading unit 54. After the image processing of the image data is completed (or according to the progress of the image processing on the image data read by the reading unit 54), the image data is read from the storage unit 6 and subjected to image processing.

また、画像入力装置2は、画像処理装置3に出力する画像データの解像度である読取解像度を制御部7の指示に応じて複数段階に変更できるようになっている。例えば、解像度の異なる複数のCCD66、および解像度の異なる複数のイメージセンサ部53を備えておき、制御部7の指示に応じて原稿の読み取りに使用するCCD66あるいはイメージセンサ部53を切り替えるようにしてもよい。あるいは、CCD66によって読み取られた画像データ、およびイメージセンサ部53によって読み取られた画像データの解像度を変換する解像度変換部(図示せず)を備え、この解像度変換部が、CCD66によって読み取られた画像データ、およびイメージセンサ部53によって読み取られた画像データの解像度を制御部7からの指示に応じた解像度に変換して画像処理装置3に出力するようにしてもよい。本実施形態では、読取解像度を600dpi、400dpi、300dpi、200dpi、および100dpiの5段階に切り替え可能になっている。なお、デフォルトでは300dpiに設定されている。   Further, the image input device 2 can change the reading resolution, which is the resolution of the image data output to the image processing device 3, in a plurality of stages in accordance with an instruction from the control unit 7. For example, a plurality of CCDs 66 having different resolutions and a plurality of image sensor units 53 having different resolutions may be provided, and the CCD 66 or the image sensor unit 53 used for reading a document may be switched according to an instruction from the control unit 7. Good. Alternatively, the image data read by the CCD 66 and a resolution conversion unit (not shown) for converting the resolution of the image data read by the image sensor unit 53 are provided, and the resolution conversion unit reads the image data read by the CCD 66. The resolution of the image data read by the image sensor unit 53 may be converted into a resolution according to an instruction from the control unit 7 and output to the image processing apparatus 3. In the present embodiment, the reading resolution can be switched between five levels of 600 dpi, 400 dpi, 300 dpi, 200 dpi, and 100 dpi. The default setting is 300 dpi.

また、本実施形態では、原稿自動搬送装置50における原稿の搬送速度は可変になっている。具体的には、原稿自動搬送装置50における原稿の搬送速度は「通常」および「低速」の2段階に切り替え可能になっている。なお、原稿の搬送速度はデフォルトでは「通常」に設定されており、制御部7の指示に応じて「低速」に切り替えられる。   In the present embodiment, the document conveying speed in the automatic document feeder 50 is variable. Specifically, the document conveyance speed in the automatic document conveyance device 50 can be switched between two levels of “normal” and “low speed”. The document transport speed is set to “normal” by default, and is switched to “low speed” in response to an instruction from the control unit 7.

(1−3.画像処理装置3の構成および画像形成モードの動作)
次に、画像処理装置3の構成および動作について説明する。まず、画像形成モードの場合の動作について説明する。
(1-3. Configuration of Image Processing Device 3 and Image Forming Mode Operation)
Next, the configuration and operation of the image processing apparatus 3 will be described. First, the operation in the image forming mode will be described.

画像処理装置3は、図2に示したように、A/D変換部11、シェーディング補正部12、入力処理部13、下地判定処理部(補正処理部)26、露光処理部(補正処理部)27、原稿検知部14、原稿補正部(補正処理部)15、色補正部16、黒生成下色除去部17、空間フィルタ部18、出力階調補正部19、中間調生成部(中間調生成部)20、領域分離部21、文字認識部22、再読取処理部23、表示画像データ生成部24、およびPDFファイル生成部25を備えている。   As shown in FIG. 2, the image processing apparatus 3 includes an A / D conversion unit 11, a shading correction unit 12, an input processing unit 13, a background determination processing unit (correction processing unit) 26, and an exposure processing unit (correction processing unit). 27, document detection unit 14, document correction unit (correction processing unit) 15, color correction unit 16, black generation and under color removal unit 17, spatial filter unit 18, output tone correction unit 19, halftone generation unit (halftone generation) Part) 20, an area separation unit 21, a character recognition unit 22, a reread processing unit 23, a display image data generation unit 24, and a PDF file generation unit 25.

画像形成モードの場合、まず、A/D変換部11が、画像入力装置2から入力されたRGBのアナログ信号をデジタル信号に変換してシェーディング補正部12に出力する。   In the case of the image forming mode, first, the A / D conversion unit 11 converts the RGB analog signal input from the image input device 2 into a digital signal and outputs the digital signal to the shading correction unit 12.

シェーディング補正部12は、A/D変換部11から送られてきたデジタルのRGB信号に対して、画像入力装置2の照明系、結像系、撮像系で生じる各種の歪みを取り除く処理を施し、入力処理部13に出力する。   The shading correction unit 12 performs a process of removing various distortions generated in the illumination system, the imaging system, and the imaging system of the image input device 2 on the digital RGB signal sent from the A / D conversion unit 11, The data is output to the input processing unit 13.

入力処理部(入力階調補正部)13は、シェーディング補正部12にて各種の歪みが取り除かれたRGB信号に対して、カラーバランスを整えると同時に、濃度信号など画像処理装置3に採用されている画像処理システムの扱い易い信号に変換する処理を施し、下地判定処理部26に出力する。また、コントラストなどの画質調整処理を行う。   The input processing unit (input gradation correction unit) 13 adjusts the color balance of the RGB signal from which various distortions have been removed by the shading correction unit 12 and is also used in the image processing apparatus 3 such as a density signal. The image is converted into a signal that can be easily handled by the image processing system, and is output to the background determination processing unit 26. Also, image quality adjustment processing such as contrast is performed.

下地判定処理部26は、原稿における下地の輝度レベルが閾値以上であるか否かを判定し、判定結果を露光処理部27に出力する。また、下地判定処理部26は、入力された画像データを露光処理部27にそのまま出力する。   The background determination processing unit 26 determines whether the background luminance level in the document is equal to or higher than a threshold value, and outputs the determination result to the exposure processing unit 27. The background determination processing unit 26 outputs the input image data to the exposure processing unit 27 as it is.

具体的には、下地判定処理部26は、RGB(R:Red(赤)、G:Green(緑)、B:Blue(青))信号からなる入力画像データを、Yi=0.30Ri+0.59Gi+0.11Biを演算することにより輝度信号Yに変換する。ここで、Yは各画素の輝度信号であり、R,G,Bは各画素のRGB信号における各色成分であり、添え字のiは画素毎に付与された値(iは1以上の整数)である。あるいは、RGB信号をCIE1976L*a*b*信号(CIE:Commission International de l'Eclairage、L*:明度、a*,b*:色度)に変換してもよく、G信号を用いてもよい。   Specifically, the background determination processing unit 26 converts input image data including RGB (R: Red, G: Green, B: Blue) signals into Yi = 0.30Ri + 0.59Gi + 0. .11Bi is converted into a luminance signal Y by computing. Here, Y is a luminance signal of each pixel, R, G, and B are each color component in the RGB signal of each pixel, and the subscript i is a value assigned to each pixel (i is an integer of 1 or more). It is. Alternatively, the RGB signal may be converted into a CIE 1976 L * a * b * signal (CIE: Commission International de l'Eclairage, L *: brightness, a *, b *: chromaticity), or a G signal may be used. .

さらに、下地判定処理部26は、上記のようにして求めた輝度信号もしくは、明度信号に基づいて画像全体でヒストグラムを作成する。図5は下地判定処理部26において生成されるヒストグラムの一例を示す説明図である。   Further, the background determination processing unit 26 creates a histogram for the entire image based on the luminance signal or lightness signal obtained as described above. FIG. 5 is an explanatory diagram illustrating an example of a histogram generated in the background determination processing unit 26.

そして、下地判定処理部26は、作成したヒストグラムにおいて最も頻度が高く、度数が閾値th1以上の輝度(あるいは明度)に対応する領域を下地領域と判定する。そして、下地領域と判定された領域の輝度(あるいは明度)と閾値th2とを比較し、その比較結果を露光処理部27に出力する。なお、閾値th1および閾値th2は、種々の原稿を用いて予め実験を行い、下地が適切に判断できる値を設定すればよい。   Then, the background determination processing unit 26 determines the area corresponding to the luminance (or lightness) having the highest frequency in the created histogram and having the frequency equal to or higher than the threshold th1 as the background area. Then, the brightness (or lightness) of the area determined as the background area is compared with the threshold th2, and the comparison result is output to the exposure processing unit 27. Note that the threshold th1 and the threshold th2 may be set to values that allow a background to be appropriately determined by performing experiments in advance using various documents.

露光処理部27は、画像データにおける、下地判定処理部26において下地領域と判定され、かつ輝度(あるいは明度)が閾値th2以上であると判定された領域に対して下地除去処理を行う。   The exposure processing unit 27 performs background removal processing on an area of the image data that is determined as a background area by the background determination processing unit 26 and whose luminance (or brightness) is determined to be equal to or greater than the threshold th2.

具体的には、図6に示すように、入力画像データの輝度(あるいは明度)と下地除去レベルとを対応付けた複数種類のLUTを記憶部6に予め記憶しており、露光処理部27はこれら複数種類のLUTの中からユーザの指示に応じたLUTを選択し、選択したLUTと入力画像データの輝度(あるいは明度)とに基づいて下地除去レベルを決定し、決定した下地除去レベルに応じて下地除去処理を行う。なお、図6の例では2種類のLUT(補正強および補正弱)を備えている場合を示しているが、さらに多種類のLUTを備えていてもよい。また、図6に示すように各LUTの特性を示すグラフ(補正曲線)を表示部8aに表示させてユーザが所望するLUTを選択できるようにしてもよく、各LUTの特性を示すインデックス(補正強、補正弱等)、あるいは各LUTの番号などを表示部8aに表示させ、ユーザが所望するLUTのインデックス、あるいは番号を選択するようにしてもよい。   Specifically, as shown in FIG. 6, a plurality of types of LUTs in which the luminance (or lightness) of the input image data is associated with the background removal level are stored in advance in the storage unit 6, and the exposure processing unit 27 is An LUT corresponding to a user instruction is selected from the plurality of types of LUTs, and a background removal level is determined based on the selected LUT and the luminance (or brightness) of the input image data, and according to the determined background removal level. To remove the background. Although the example of FIG. 6 shows a case where two types of LUTs (correction strength and correction weakness) are provided, more types of LUTs may be provided. Further, as shown in FIG. 6, a graph (correction curve) indicating the characteristics of each LUT may be displayed on the display unit 8a so that the user can select a desired LUT, and an index (correction) indicating the characteristics of each LUT. (Strong, correction weak, etc.) or the number of each LUT may be displayed on the display unit 8a to select the index or number of the LUT desired by the user.

原稿検知部14は、露光処理部27によって上記の処理が施された画像データに基づいて原稿画像の傾き角度、および天地方向を検出し、その検出結果を原稿補正部15に出力する。また、原稿検知部14は、画像送信モードでは、原稿に含まれる文字列が縦書きであるか横書きであるかを検出するレイアウト解析処理を行い、その結果を文字認識部22に出力する。   The document detection unit 14 detects the tilt angle and the vertical direction of the document image based on the image data that has been subjected to the above processing by the exposure processing unit 27, and outputs the detection result to the document correction unit 15. In the image transmission mode, the document detection unit 14 performs a layout analysis process for detecting whether a character string included in the document is vertical writing or horizontal writing, and outputs the result to the character recognition unit 22.

図7は、原稿検知部14の構成を示すブロック図である。この図に示すように、原稿検知部14は、信号変換部31、解像度変換部32、2値化処理部33、原稿傾き検知部34、レイアウト解析部35、および天地方向判定部36を備えている。   FIG. 7 is a block diagram illustrating a configuration of the document detection unit 14. As shown in this figure, the document detection unit 14 includes a signal conversion unit 31, a resolution conversion unit 32, a binarization processing unit 33, a document inclination detection unit 34, a layout analysis unit 35, and a top / down direction determination unit 36. Yes.

信号変換部31は、露光処理部27によって上記各処理が施された画像データがカラー画像である場合にこの画像データを無彩化して、明度信号もしくは輝度信号に変換し、解像度変換部32に出力する。   When the image data subjected to the above processes by the exposure processing unit 27 is a color image, the signal conversion unit 31 achromatizes the image data, converts it into a brightness signal or a luminance signal, and sends it to the resolution conversion unit 32. Output.

例えば、信号変換部31は、Yi=0.30Ri+0.59Gi+0.11Biを演算することによりRGB信号を輝度信号Yに変換する。ここで、Yは各画素の輝度信号であり、R,G,Bは各画素のRGB信号における各色成分であり、添え字のiは画素毎に付与された値(iは1以上の整数)である。あるいは、RGB信号をCIE1976L*a*b*信号(CIE:Commission International de l'Eclairage、L*:明度、a*,b*:色度)に変換してもよく、G信号を用いてもよい。   For example, the signal conversion unit 31 converts the RGB signal into the luminance signal Y by calculating Yi = 0.30Ri + 0.59Gi + 0.11Bi. Here, Y is a luminance signal of each pixel, R, G, and B are each color component in the RGB signal of each pixel, and the subscript i is a value assigned to each pixel (i is an integer of 1 or more). It is. Alternatively, the RGB signal may be converted into a CIE 1976 L * a * b * signal (CIE: Commission International de l'Eclairage, L *: brightness, a *, b *: chromaticity), or a G signal may be used. .

解像度変換部32は、信号変換部31から入力された画像データの解像度を制御部7からの指示に応じた解像度に変換し、2値化処理部33に出力する。解像度変換の方法は特に限定されるものではなく、例えば、公知のニアレストネイバー法、バイリニア法、バイキュービック法、平均値法などを用いることができる。   The resolution conversion unit 32 converts the resolution of the image data input from the signal conversion unit 31 into a resolution according to an instruction from the control unit 7 and outputs the resolution to the binarization processing unit 33. The resolution conversion method is not particularly limited, and for example, a known nearest neighbor method, bilinear method, bicubic method, average value method, or the like can be used.

本実施形態では、解像度変換部32は、デフォルトでは信号変換部31から入力された画像データの解像度を第1解像度(例えば300dpi)に変換した画像データと、第1解像度よりも低い第2解像度(例えば75dpi)の画像データをそれぞれ作成するようになっている。そして、後述するレイアウト解析部35の処理では第2解像度の画像データに基づいて2値化処理部33で生成される2値画像データを用い、後述する原稿傾き検知部34、天地方向判定部36、および文字認識部22における処理では第1解像度の画像データに基づいて2値化処理部33で生成される2値画像データを用いるようになっている。つまり、レイアウト解析部35ではレイアウトの概要を認識できればよく、必ずしも高精細な画像データは必要でないことから、原稿傾き検知部34、天地方向判定部36、および文字認識部22における処理よりも低解像度の画像データを用いるようになっている。   In the present embodiment, by default, the resolution conversion unit 32 converts the resolution of the image data input from the signal conversion unit 31 to a first resolution (for example, 300 dpi), and a second resolution lower than the first resolution (for example, 300 dpi). For example, image data of 75 dpi) is created. In the processing of the layout analysis unit 35 described later, binary image data generated by the binarization processing unit 33 based on the image data of the second resolution is used, and a document inclination detection unit 34 and a top / down direction determination unit 36 described later are used. In the processing in the character recognition unit 22, binary image data generated by the binarization processing unit 33 based on the image data of the first resolution is used. That is, the layout analysis unit 35 only needs to be able to recognize the outline of the layout and does not necessarily require high-definition image data. Therefore, the resolution is lower than the processing in the document inclination detection unit 34, the top and bottom direction determination unit 36, and the character recognition unit 22. The image data is used.

2値化処理部33は、解像度変換部32によって解像度変換された画像データを2値化して2値画像データを生成し、原稿傾き検知部34に出力する。具体的には、画像データにおける各画素の濃度(画素値)と予め設定された閾値とを比較することにより各画素の画素値を2値化する。例えば、画像データが8ビットである場合、上記閾値を128とする。あるいは、複数の画素(例えば5画素×5画素)からなるブロックにおける濃度(画素値)の平均値を閾値とする。   The binarization processing unit 33 binarizes the image data whose resolution has been converted by the resolution conversion unit 32 to generate binary image data, and outputs the binary image data to the document inclination detection unit 34. Specifically, the pixel value of each pixel is binarized by comparing the density (pixel value) of each pixel in the image data with a preset threshold value. For example, when the image data is 8 bits, the threshold value is set to 128. Alternatively, an average value of density (pixel value) in a block composed of a plurality of pixels (for example, 5 pixels × 5 pixels) is set as a threshold value.

原稿傾き検知部34は、2値化処理部33から入力される画像データに基づいて、画像読取時の正規の原稿位置に対する原稿の傾き角度を検知し、検知した傾き角度を原稿補正部15に出力する。つまり、原稿傾き検知部34は、画像入力装置2における正規の原稿位置に対して、画像読取時における原稿の位置が傾いていた場合に、この傾き角度を検知し、原稿補正部15に出力する。また、原稿傾き検知部34は、2値化処理部33から入力された2値画像データをレイアウト解析部35に出力する。   Based on the image data input from the binarization processing unit 33, the document tilt detection unit 34 detects the tilt angle of the document with respect to the normal document position at the time of image reading, and sends the detected tilt angle to the document correction unit 15. Output. In other words, the document tilt detection unit 34 detects the tilt angle and outputs it to the document correction unit 15 when the position of the document at the time of image reading is tilted with respect to the regular document position in the image input device 2. . Further, the document inclination detection unit 34 outputs the binary image data input from the binarization processing unit 33 to the layout analysis unit 35.

原稿傾き検知部34における傾き角度の検知方法は特に限定されるものではなく、従来から公知の方法を用いることができる。例えば、特許文献2に記載されている方法を用いてもよい。この方法では、2値化された画像データからを黒画素と白画素との境界点(例えば各文字の上端における白/黒の境界点の座標)を複数個抽出し、各境界点の点列の座標データを求める。黒画素と白画素の境界については、例えば、各文字の上端における白/黒境界点の座標を求める。そして、この点列の座標データに基づいて回帰直線を求め、その回帰係数bを下記式(1)に基づいて算出する。   The method of detecting the tilt angle in the document tilt detection unit 34 is not particularly limited, and a conventionally known method can be used. For example, the method described in Patent Document 2 may be used. In this method, a plurality of boundary points between black pixels and white pixels (for example, coordinates of white / black boundary points at the upper end of each character) are extracted from the binarized image data, and a point sequence of each boundary point is extracted. Find the coordinate data. For the boundary between the black pixel and the white pixel, for example, the coordinates of the white / black boundary point at the upper end of each character are obtained. And a regression line is calculated | required based on the coordinate data of this point sequence, and the regression coefficient b is computed based on following formula (1).

b=Sxy/Sx ・・・(1)
なお、Sx,Syはそれぞれ変量x,yの残差平方和であり、Sxyはxの残差とyの残差の積の和である。すなわち、Sx,Sy,Sxyは下記式(2)〜(4)で表わされる。
b = Sxy / Sx (1)
Sx and Sy are the residual sum of squares of the variables x and y, respectively, and Sxy is the sum of the products of the residual of x and the residual of y. That is, Sx, Sy, Sxy are represented by the following formulas (2) to (4).

Figure 2012118863
Figure 2012118863

そして、上記のように算出した回帰係数bより、下記式(5)に基づいて傾き角度θを算出する。   Then, the inclination angle θ is calculated based on the following equation (5) from the regression coefficient b calculated as described above.

tanθ=b ・・・(5)
レイアウト解析部35は、画像送信モードが選択されている場合に、2値画像データに基づいて、画像データに含まれる文字の方向が縦書きであるか横書きであるかを解析するレイアウト解析処理を行い、レイアウト解析結果を文字認識部22に出力する。また、レイアウト解析部35は、原稿傾き検知部34から入力された2値画像データをそのまま天地方向判定部に出力する。なお、レイアウト解析部35は、画像形成モードではレイアウト解析処理は行わず、原稿傾き検知部34から入力された2値画像データをそのまま天地方向判定部に出力する。
tan θ = b (5)
When the image transmission mode is selected, the layout analysis unit 35 performs layout analysis processing for analyzing whether the direction of characters included in the image data is vertical writing or horizontal writing based on the binary image data. The layout analysis result is output to the character recognition unit 22. Further, the layout analysis unit 35 outputs the binary image data input from the document inclination detection unit 34 to the top / bottom direction determination unit as it is. The layout analysis unit 35 does not perform layout analysis processing in the image formation mode, and outputs the binary image data input from the document inclination detection unit 34 to the top / bottom direction determination unit as it is.

レイアウト解析部35は、レイアウト解析処理を行う場合、図8に示すように文字の外接矩形を求め、外接矩形間の距離に基づいて縦書きか横書きであるかを判定する。文字の外接矩形については以下に示す(1)〜(4)の処理によって求める。
(1)最初のライン(1番上のライン)を注目ラインとし、黒画素にラベリングを行う。
(2)注目ラインを一つ下のラインにずらし、黒画素について上記ラインとは異なるラベルをセットする。
(3)注目ラインとその1つ上のラインの黒画素の連結状態を判定し、連結している場合は画素が繋がっていると判断し、1つ上のラインにおける連結している黒画素と同じラベルに置換する。
(4)上記処理を各ラインについて順次行い、各ラインのラベル付け結果に基づいて文字の抽出を行う。抽出した文字における上端、下端、左端および右端の画素位置(画素の座標)を基に外接矩形を抽出する。なお、画素の座標は、読み込まれた画像データの左端かつ上端の位置を原点として求める。
When performing the layout analysis process, the layout analysis unit 35 obtains a circumscribed rectangle of the character as shown in FIG. 8, and determines whether it is vertical writing or horizontal writing based on the distance between the circumscribed rectangles. The circumscribed rectangle of the character is obtained by the following processes (1) to (4).
(1) The first line (the first line) is set as the target line, and the black pixels are labeled.
(2) The target line is shifted to the next lower line, and a label different from the above line is set for the black pixel.
(3) The connected state of the black line of the line of interest and the line above it is determined. If connected, it is determined that the pixel is connected, and the connected black pixel in the line above is Replace with the same label.
(4) The above processing is sequentially performed for each line, and characters are extracted based on the labeling result of each line. A circumscribed rectangle is extracted based on pixel positions (pixel coordinates) at the upper end, lower end, left end, and right end of the extracted character. Note that the coordinates of the pixel are obtained using the positions of the left end and the upper end of the read image data as the origin.

天地方向判定部36は、レイアウト解析部35から入力される2値画像データに基づいて、画像読取時の原稿の天地方向(原稿方向)を検知し、検知結果を原稿補正部15に出力する。また、天地方向判定部36は、レイアウト解析部35から入力された2値画像データを文字認識部22に出力する。   The top / bottom direction determination unit 36 detects the top / bottom direction (original direction) of the document at the time of image reading based on the binary image data input from the layout analysis unit 35, and outputs the detection result to the document correction unit 15. The top / bottom direction determination unit 36 outputs the binary image data input from the layout analysis unit 35 to the character recognition unit 22.

天地方向の検知方法は特に限定されるものではなく、従来から公知の方法を用いることができる。例えば、特許文献3に記載されている方法を用いてもよい。この方法では、以下の(1)〜(6)の処理により原稿の天地方向を検知する。
(1)原稿内の文字を文字毎に切り出して各文字をパターン化して文字パターンを生成する。
(2)文字パターンには文字以外のノイズも含まれるため、文字の可能性が高い文字パターン(例えば、縦横比が1:2〜2:1である文字パターン)を選別する。
(3)文字パターンの特徴とデータベース化された文字パターン情報とを比較(マッチング)する。例えば、データベース化された文字パターンに切り出された文字パターン(入力パターン)を重ね合わせ、画素ごとの白黒を比較する。そして、データベース化された文字パターンの中に全ての画素が合致する文字パターンが存在する場合には当該文字パターンに対応する文字を入力パターンの文字であると判別する。また、全ての画素が合致する文字パターンが存在しない場合、合致する画素の数が所定のマッチング割合に達しているか否かを判断し、達していない場合にはその文字パターンは判別不能と判断する。一方、所定のマッチング割合に達している場合には、合致する画素が最も多い文字パターンに対応する文字を入力パターンの文字であると判別する。
(4)切り出された文字パターンを90°、180°、270°回転させ、上記(2)および(3)の処理を繰り返す。
(5)上記各回転角(0°、90°、180°、270°)について、上記(2),(3)によって判別可能であった文字の数を比較し、判別可能な文字数が最も多い回転角を原稿の文字方向として原稿の天地方向を判定する。
(6)天地方向の判定結果として0°、90°、180°、および270°のうちのいずれかを出力する。
The method for detecting the vertical direction is not particularly limited, and a conventionally known method can be used. For example, the method described in Patent Document 3 may be used. In this method, the vertical direction of the document is detected by the following processes (1) to (6).
(1) A character pattern is generated by cutting out characters in a document for each character and patterning each character.
(2) Since the character pattern includes noise other than characters, character patterns having a high possibility of characters (for example, character patterns having an aspect ratio of 1: 2 to 2: 1) are selected.
(3) The feature of the character pattern is compared (matched) with the character pattern information stored in the database. For example, a character pattern (input pattern) cut out is superimposed on a database-generated character pattern, and monochrome for each pixel is compared. Then, if there is a character pattern in which all the pixels match in the database of character patterns, it is determined that the character corresponding to the character pattern is the character of the input pattern. If there is no character pattern that matches all the pixels, it is determined whether or not the number of matching pixels has reached a predetermined matching ratio. If not, the character pattern is determined to be indistinguishable. . On the other hand, if the predetermined matching ratio has been reached, it is determined that the character corresponding to the character pattern with the largest number of matching pixels is the character of the input pattern.
(4) The extracted character pattern is rotated by 90 °, 180 °, and 270 °, and the processes (2) and (3) are repeated.
(5) For each rotation angle (0 °, 90 °, 180 °, 270 °), the number of characters that can be discriminated by (2) and (3) is compared, and the number of characters that can be discriminated is the largest. The vertical direction of the document is determined using the rotation angle as the character direction of the document.
(6) One of 0 °, 90 °, 180 °, and 270 ° is output as the determination result of the vertical direction.

原稿補正部15は、原稿検知部14の検知結果(原稿傾き検知部34による傾き検知結果および天地方向検知部35による天地方向検知結果)に基づいて、露光処理部27によって上述の処理が施された画像データに原稿傾き補正処理および天地方向補正処理を行う。   The document correction unit 15 is subjected to the above-described processing by the exposure processing unit 27 based on the detection result of the document detection unit 14 (the tilt detection result by the document tilt detection unit 34 and the top and bottom direction detection result by the top and bottom direction detection unit 35). The image data is subjected to document skew correction processing and top / bottom direction correction processing.

なお、原稿補正部15が原稿検知部14の傾き検知結果に基づいて原稿傾き補正処理を行い、原稿傾き補正後の画像データを原稿検知部14に再入力し、この再入力された画像データに基づいて原稿検知部14が天地方向検知処理を行い、天地判定結果に基づいて原稿補正部15が天地方向補正処理を行うようにしてもよい。また、画像送信モード(文字認識処理を行うモード)が選択されている場合には、原稿補正部15によって原稿傾き補正および天地方向補正が行われた画像データに基づいて作成した画像データを原稿検知部14に再入力し、原稿検知部14が、この再入力された画像データに基づいて生成された2値画像データ、および当該2値画像データに基づいてレイアウト解析処理(文字の方向が縦書きであるか横書きであるかを解析する処理)を行った結果を文字認識部22に出力するようにしてもよい。   The document correction unit 15 performs document skew correction processing based on the tilt detection result of the document detection unit 14, and re-inputs the image data after the document tilt correction to the document detection unit 14, and the re-input image data. The document detection unit 14 may perform the top / bottom direction detection process based on the top / bottom direction detection process, and the document correction unit 15 may perform the top / bottom direction correction process based on the top / bottom determination result. Further, when the image transmission mode (character recognition processing mode) is selected, the image data created based on the image data that has been subjected to the document inclination correction and the top / bottom direction correction by the document correction unit 15 is detected. Then, the document detection unit 14 re-inputs the binary image data generated based on the re-input image data and the layout analysis process based on the binary image data. Or the horizontal writing process) may be output to the character recognition unit 22.

また、原稿補正部15によって原稿傾き補正処理および天地方向補正処理が施された画像データをファイリングデータとして管理するようにしてもよい。この場合、上記画像データは、例えば、JPEG圧縮アルゴリズムに基づいてJPEGコードに圧縮されて記憶部6に格納される。そして、この画像データに対するコピー出力動作やプリント出力動作が指示された場合には、記憶部6からJPEGコードが引き出されて不図示のJPEG伸張部に引き渡され、復号化処理が施されてRGBデータに変換される。また、上記の画像データに対して送信動作が指示された場合には、記憶部6からJPEGコードが引き出され、ネットワーク網や通信回線を介して通信装置5から外部装置へ送信される。   Further, the image data that has been subjected to the document skew correction process and the top / bottom direction correction process by the document correction unit 15 may be managed as filing data. In this case, the image data is compressed into a JPEG code based on, for example, a JPEG compression algorithm and stored in the storage unit 6. When a copy output operation or print output operation is instructed for this image data, a JPEG code is extracted from the storage unit 6 and transferred to a JPEG decompression unit (not shown), and subjected to a decoding process to obtain RGB data. Is converted to When a transmission operation is instructed for the image data, a JPEG code is extracted from the storage unit 6 and transmitted from the communication device 5 to an external device via a network or a communication line.

色補正部16は、原稿補正部15によって原稿傾き補正処理および天地方向補正処理が施された画像データを記憶部6から読み出し、読み出した画像データをRGB信号の補色であるCMY(C:シアン・M:マゼンタ・Y:イエロー)信号に変換するとともに、色再現性を高める処理を行う。   The color correction unit 16 reads the image data that has been subjected to the document inclination correction process and the top-and-bottom direction correction process by the document correction unit 15 from the storage unit 6, and the read image data is CMY (C: cyan M: magenta / Y: yellow) signal and processing for improving color reproducibility.

黒生成下色除去部17は、色補正後のCMYの3色信号から黒(K)信号を生成する黒生成、元のCMY信号から黒生成で得たK信号を差し引いて新たなCMY信号を生成する処理を行うものである。これにより、CMYの3色信号はCMYKの4色信号に変換される。   The black generation and under color removal unit 17 generates black (K) signals from the CMY three-color signals after color correction, and subtracts the K signals obtained by black generation from the original CMY signals to generate new CMY signals. The process to generate is performed. As a result, the CMY three-color signal is converted into a CMYK four-color signal.

空間フィルタ部18は、黒生成下色除去部17より入力されるCMYK信号の画像データに対して、領域識別信号を基にデジタルフィルタによる空間フィルタ処理(強調処理および/または平滑化処理)を行い、空間周波数特性を補正する。これにより、出力画像のぼやけや粒状性劣化を軽減することができる。   The spatial filter unit 18 performs spatial filter processing (enhancement processing and / or smoothing processing) using a digital filter on the image data of the CMYK signal input from the black generation and under color removal unit 17 based on the region identification signal. Correct the spatial frequency characteristics. As a result, blurring of the output image and deterioration of graininess can be reduced.

出力階調補正部19は、用紙等の記録材に出力するための出力γ補正処理を行い、出力γ補正処理後の画像データを中間調生成部20に出力する。   The output tone correction unit 19 performs output γ correction processing for outputting to a recording material such as paper, and outputs the image data after the output γ correction processing to the halftone generation unit 20.

中間調生成部20は、最終的に画像を画素に分離してそれぞれの階調を再現できるように処理する階調再現処理(中間調生成)を施す。   The halftone generation unit 20 performs a gradation reproduction process (halftone generation) in which an image is finally separated into pixels and processed so that each gradation can be reproduced.

領域分離部21は、RGB信号より、入力画像中の各画素を黒文字領域、色文字領域、網点領域、印画紙写真(連続階調領域)領域の何れかに分離するものである。領域分離部21は、分離結果に基づき、画素がどの領域に属しているかを示す領域分離信号を、黒生成下色除去部17、空間フィルタ部18、および中間調生成部20へと出力する。黒生成下色除去部17、空間フィルタ部18、および中間調生成部20では、入力された領域分離信号に基づいて、各領域に適した処理が行われる。領域分離処理の方法は特に限定されるものではなく、従来から公知の方法を用いることができる。   The region separation unit 21 separates each pixel in the input image into any one of a black character region, a color character region, a halftone dot region, and a photographic paper photograph (continuous tone region) region based on the RGB signal. Based on the separation result, the region separation unit 21 outputs a region separation signal indicating to which region the pixel belongs to the black generation and under color removal unit 17, the spatial filter unit 18, and the halftone generation unit 20. In the black generation and under color removal unit 17, the spatial filter unit 18, and the halftone generation unit 20, processing suitable for each region is performed based on the input region separation signal. The method of region separation processing is not particularly limited, and a conventionally known method can be used.

文字認識部(OCRエンジン)22、再読取処理部23、表示画像データ生成部24、およびPDFファイル生成部25は、画像形成モードでは動作を行わない。これら各部の詳細については後述する。   The character recognition unit (OCR engine) 22, the reread processing unit 23, the display image data generation unit 24, and the PDF file generation unit 25 do not operate in the image forming mode. Details of these parts will be described later.

上述した各処理が施されて中間調生成部20から出力された画像データは、一旦、記憶部6あるいは他のメモリ(図示せず)に記憶されたのち、所定のタイミングで読み出されて画像出力装置4に出力される。   The image data that has been subjected to the above-described processes and output from the halftone generation unit 20 is temporarily stored in the storage unit 6 or other memory (not shown), and then read out at a predetermined timing to generate an image. It is output to the output device 4.

(1−4.画像処理装置3の構成、および画像送信モードの動作)
(1−4−1.ページ単位処理モード)
次に、画像送信モードにおける画像処理装置3の動作、および文字認識部22、再読取処理部23、表示画像データ生成部24、およびPDFファイル生成部25の構成について説明する。
(1-4. Configuration of Image Processing Device 3 and Image Transmission Mode Operation)
(1-4-1. Page unit processing mode)
Next, the operation of the image processing apparatus 3 in the image transmission mode and the configuration of the character recognition unit 22, the reread processing unit 23, the display image data generation unit 24, and the PDF file generation unit 25 will be described.

図1(a)は画像送信モードにおける画像処理装置3の処理の流れを示すフローチャートである。また、図9は、文字認識部22、再読取処理部23、表示画像データ生成部24、およびPDFファイル生成部25の構成を示すブロック図である。図9に示すように、再読取処理部23は、推奨設定検出部41、画像合成部42、およびテキスト合成部43を備えている。また、表示画像データ生成部24は、有彩色テキスト生成部44、重畳画像データ生成部45、サムネイル生成部46、およびプレビュー画像データ生成部47を備えている。また、PDFファイル生成部25は、描画コマンド生成部71およびフォーマット化処理部72を備えている。   FIG. 1A is a flowchart showing the flow of processing of the image processing apparatus 3 in the image transmission mode. FIG. 9 is a block diagram showing configurations of the character recognition unit 22, the reread processing unit 23, the display image data generation unit 24, and the PDF file generation unit 25. As shown in FIG. 9, the reread processing unit 23 includes a recommended setting detection unit 41, an image composition unit 42, and a text composition unit 43. The display image data generation unit 24 includes a chromatic color text generation unit 44, a superimposed image data generation unit 45, a thumbnail generation unit 46, and a preview image data generation unit 47. The PDF file generation unit 25 includes a drawing command generation unit 71 and a formatting processing unit 72.

図1(a)に示すように、制御部7は、画像入力装置2に原稿がセットされ、操作入力部8bがユーザからの原稿読取の開始指示を受け付けたこと検知すると(S1)、デジタルカラー複合機1の各部を制御して読取処理を行わせる(S2)。   As shown in FIG. 1A, when the control unit 7 detects that a document is set on the image input device 2 and the operation input unit 8b receives a document reading start instruction from the user (S1), the digital color Each unit of the multifunction device 1 is controlled to perform a reading process (S2).

図1(b)は読取処理の流れを示すフローチャートである。この図に示すように、制御部7は、画像入力装置2を制御して原稿を読み取らせ、原稿の画像データを取得させる(S21)。また、制御部7は、画像処理装置3の各部を制御し、原稿傾き検知処理(S22)、レイアウト解析処理(S23)、および原稿方向(天地方向)検知処理(S24)を行わせる。具体的には、画像入力装置2から画像処理装置3に入力される画像データに対して、A/D変換部11、シェーディング補正部12、入力処理部13、下地判定処理部26、露光処理部27、信号変換部31、解像度変換部32、および2値化処理部33に上述した各処理を行わせ、原稿の2値画像データを生成させる。そして、この2値画像データに基づいて、原稿傾き検知部34に原稿傾き検知処理を行わせ、レイアウト解析部35にレイアウト解析処理を行わせ、天地方向判定部36に原稿方向検知処理を行わせる。また、制御部7は、原稿傾き検知処理、レイアウト解析処理、および原稿方向検知処理の結果を記憶部6に一旦記憶させる。   FIG. 1B is a flowchart showing the flow of reading processing. As shown in this figure, the control unit 7 controls the image input device 2 to read a document and acquire image data of the document (S21). In addition, the control unit 7 controls each unit of the image processing apparatus 3 to perform document inclination detection processing (S22), layout analysis processing (S23), and document direction (top / bottom direction) detection processing (S24). Specifically, an A / D conversion unit 11, a shading correction unit 12, an input processing unit 13, a background determination processing unit 26, and an exposure processing unit are applied to image data input from the image input device 2 to the image processing device 3. 27, the signal conversion unit 31, the resolution conversion unit 32, and the binarization processing unit 33 perform the above-described processes to generate binary image data of the document. Then, based on the binary image data, the document inclination detection unit 34 performs document inclination detection processing, the layout analysis unit 35 performs layout analysis processing, and the top / bottom direction determination unit 36 performs document direction detection processing. . Further, the control unit 7 temporarily stores the results of the document inclination detection process, the layout analysis process, and the document direction detection process in the storage unit 6.

次に、制御部7は、文字認識部22を制御し、S21で取得した画像データに基づいて生成された2値画像データ、およびS21で取得した画像データに対するレイアウト解析処理の結果に基づいて文字認識処理(OCR処理)を行わせるとともに、文字認識に関する付帯情報(各ページに含まれる文字の総文字数、各文字についての認識精度、各ページについての高精度文字数、低精度文字数、高精度率、および低精度率など)を算出させる(S25)。そして、文字認識情報(文字認識結果を示すテキストデータおよび文字認識に関する付帯情報)を表示画像データ生成部24に出力させるとともに、記憶部6に一旦記憶させる。   Next, the control unit 7 controls the character recognizing unit 22, and based on the binary image data generated based on the image data acquired in S21 and the result of the layout analysis processing on the image data acquired in S21. In addition to performing recognition processing (OCR processing), additional information related to character recognition (total number of characters included in each page, recognition accuracy for each character, high-precision character count for each page, low-precision character count, high-accuracy rate, And a low accuracy rate) are calculated (S25). Then, the character recognition information (text data indicating the result of character recognition and incidental information related to character recognition) is output to the display image data generation unit 24 and temporarily stored in the storage unit 6.

具体的には、文字認識部22は、原稿検知部14から入力された2値画像データおよびレイアウト解析結果に基づいて画像データに含まれる文字の特徴量を抽出し、抽出結果を辞書データに含まれる文字の特徴量と比較して文字認識処理を行い、類似する文字に対応する文字コードを検出する。そして、文字コードの検出結果に基づいてテキストデータを生成する。   Specifically, the character recognition unit 22 extracts the feature amount of characters included in the image data based on the binary image data input from the document detection unit 14 and the layout analysis result, and includes the extraction result in the dictionary data. Character recognition processing is performed in comparison with the feature amount of the character to be detected, and character codes corresponding to similar characters are detected. Then, text data is generated based on the detection result of the character code.

また、各文字について、文字毎に辞書データに含まれる文字との一致度を算出し、一致度が閾値以上である文字を高精度文字、閾値未満である文字を低精度文字とする。上記閾値は特に限定されるものではないが、例えば、画像データから抽出した文字の特徴量と辞書データに含まれる文字の特徴量とが完全に一致する場合の一致度を1、全く一致しない場合の一致度を0とすると、0.7に設定する。また、各ページに含まれる文字の総数(総文字数)を検出し、総文字数に対する高精度文字数の割合(高精度率)、および総文字数に対する低精度文字数の割合(低精度率)をページ毎に算出する。また、低精度文字数の割合が所定値(例えば10%以上)のページを低精度ページとし、所定値未満のページを高精度ページとする。   Further, for each character, the degree of coincidence with the character included in the dictionary data is calculated for each character, and a character whose degree of coincidence is equal to or higher than a threshold value is a high-precision character, and a character that is less than the threshold value is regarded as a low-precision character. The threshold value is not particularly limited. For example, when the character feature amount extracted from the image data completely matches the character feature amount included in the dictionary data, the degree of coincidence is 1, and there is no match at all. If the degree of coincidence is 0, it is set to 0.7. In addition, the total number of characters (total number of characters) included in each page is detected, and the ratio of the number of high-precision characters to the total number of characters (high-precision rate) and the ratio of the number of low-precision characters to the total number of characters (low-precision rate) calculate. Further, a page with a low-precision character count ratio having a predetermined value (for example, 10% or more) is set as a low-precision page, and a page with a ratio less than the predetermined value is set as a high-precision page.

次に、制御部7は、表示画像データ生成部24の有彩色テキスト生成部44を制御し、S25における文字認識処理に基づいて生成したテキストデータに対応するカラーテキストデータ(有彩色テキストデータ)を生成させ(S26)、記憶部6に一旦記憶させる。なお、上記カラーデータの色は、デフォルトで設定しておいてもよく、ユーザが任意に指定するようにしてもよい。ただし、画像データに応じて表示される文字の色(原稿における文字の色)と識別しやすい色であることが好ましい。なお、画像データに基づいて原稿中の文字色を検出する文字色検出部(図示せず)を設け、検出した原稿中の文字色に応じて、カラーテキストデータの色を原稿中の文字色と識別しやすい色に設定するようにしてもよい。また、原稿中の文字については2値画像データに基づいて黒で表示し、カラーテキストデータについては黒以外の有彩色で表示するようにしてもよい。本実施形態では、原稿における文字を黒とし、カラーテキストデータの文字を赤とするようになっている。   Next, the control unit 7 controls the chromatic text generation unit 44 of the display image data generation unit 24 to obtain color text data (chromatic color text data) corresponding to the text data generated based on the character recognition process in S25. (S26) and temporarily stored in the storage unit 6. Note that the color of the color data may be set as a default, or may be arbitrarily designated by the user. However, it is preferable that the color is easily distinguishable from the character color displayed according to the image data (character color in the document). A character color detection unit (not shown) for detecting the character color in the document based on the image data is provided, and the color of the color text data is changed to the character color in the document according to the detected character color in the document. You may make it set to the color which is easy to identify. Further, characters in the document may be displayed in black based on the binary image data, and color text data may be displayed in a chromatic color other than black. In the present embodiment, the characters in the original are black and the characters of the color text data are red.

次に、制御部7は、表示画像データ生成部24の重畳画像データ生成部45を制御し、入力処理部13において上述した処理が施された画像データとS26で生成したカラーテキストデータとを重畳させた重畳画像データを生成させ(S27)、記憶部6に一旦記憶させる。図10は、原稿の画像データ(原稿画像データ)とカラーテキストデータとの重畳方法を示す説明図である。この図に示すように、本実施形態では、表示画像データ生成部24は、原稿画像データの文字の一部と、それに対応するカラーテキストデータの文字(文字認識処理結果を示す文字)の一部とが重なるように表示させるように重畳画像データを生成する。ただし、必ずしもこれら両文字の一部を重ねる必要はなく、カラーテキストデータの文字を対応する原稿画像データの文字の近傍に配置すればよい。   Next, the control unit 7 controls the superimposed image data generation unit 45 of the display image data generation unit 24 to superimpose the image data subjected to the above-described processing in the input processing unit 13 and the color text data generated in S26. The superimposed image data thus generated is generated (S27) and is temporarily stored in the storage unit 6. FIG. 10 is an explanatory diagram showing a method of superimposing original image data (original image data) and color text data. As shown in this figure, in the present embodiment, the display image data generation unit 24 includes a part of characters of original image data and a part of characters (characters indicating a character recognition processing result) of color text data corresponding thereto. The superimposed image data is generated so as to be displayed so as to overlap each other. However, it is not always necessary to overlap some of these characters, and the characters of the color text data may be arranged in the vicinity of the characters of the corresponding document image data.

また、制御部7は、表示画像データ生成部24のサムネイル生成部46を制御してS27で生成した重畳画像データのサムネイル画像データを生成させ(S28)、記憶部6に一旦記憶させる。なお、本実施形態では重畳画像データのサムネイル画像データを生成するものとしているが、これに限らず、例えば原稿画像データのサムネイル画像を生成するようにしてもよい。   Further, the control unit 7 controls the thumbnail generation unit 46 of the display image data generation unit 24 to generate thumbnail image data of the superimposed image data generated in S27 (S28), and temporarily stores it in the storage unit 6. In the present embodiment, the thumbnail image data of the superimposed image data is generated. However, the present invention is not limited to this. For example, a thumbnail image of the document image data may be generated.

なお、図1(a)および図1(b)には示していないが、制御部7は、原稿補正部15、色補正部16、黒生成下色除去部17、空間フィルタ部18、出力階調補正部19、中間調生成部20、および領域分離部21を制御し、原稿から読み取った画像データに対して出力ファイルの形式に応じた画像データにするための処理を行わせる。   Although not shown in FIGS. 1A and 1B, the control unit 7 includes a document correction unit 15, a color correction unit 16, a black generation and under color removal unit 17, a spatial filter unit 18, an output floor. The tone correction unit 19, the halftone generation unit 20, and the region separation unit 21 are controlled to perform processing for converting the image data read from the document into image data according to the format of the output file.

具体的には、制御部7は、原稿補正部15を制御し、原稿検知部14における原稿傾き検知結果、および原稿方向検知結果に応じて原稿傾き補正および天地方向補正を行わせる。また、色補正部16を制御し、出力ファイルのカラータイプに応じた画像データに色変換させる。例えば、色補正部16は、原稿補正部15から入力される画像入力装置2の画像読取特性に依存したR,G,Bの画像データを、一般に普及している表示装置の表示特性に適合したR’G’B’の画像データ(例えば、sRGBデータ)に変換させる。   Specifically, the control unit 7 controls the document correction unit 15 to perform document tilt correction and vertical direction correction according to the document tilt detection result and the document direction detection result in the document detection unit 14. In addition, the color correction unit 16 is controlled to perform color conversion into image data corresponding to the color type of the output file. For example, the color correction unit 16 adapts the R, G, B image data that is input from the document correction unit 15 depending on the image reading characteristics of the image input device 2 to the display characteristics of display devices that are generally popular. The image data is converted into R′G′B ′ image data (for example, sRGB data).

また、制御部7は、画像送信モードでは黒生成下色除去部17および中間調生成部20には処理を行わせず、黒生成下色除去部17および中間調生成部20については前段の処理部から入力された画像データをそのまま次段の処理部に出力(スルー)させる。   Further, the control unit 7 does not perform processing on the black generation / undercolor removal unit 17 and the halftone generation unit 20 in the image transmission mode, and the black generation / undercolor removal unit 17 and the halftone generation unit 20 perform the previous processing. The image data input from the unit is output (through) as it is to the processing unit at the next stage.

また、制御部7は、空間フィルタ部18を制御し、領域分離信号に基づいてデジタルフィルタによる空間フィルタ処理(強調処理,平滑化処理)を行わせる。また、制御部7は、出力階調補正部19を制御し、所定の出力階調補正処理を行わせ、出力階調補正処理後の画像データを記憶部6に一旦記憶させる。   The control unit 7 also controls the spatial filter unit 18 to perform spatial filter processing (enhancement processing, smoothing processing) using a digital filter based on the region separation signal. In addition, the control unit 7 controls the output tone correction unit 19 to perform a predetermined output tone correction process, and temporarily stores the image data after the output tone correction process in the storage unit 6.

S2において読取処理を行った後、制御部7は、読み取り処理が完了していない原稿が残っているか否かを判断し(S3)、残っている場合には未読取ページに対して上述した読取処理を行う。   After performing the reading process in S2, the control unit 7 determines whether or not there remains a document that has not been read (S3). Process.

一方、S3において全ての原稿の読み取り処理が完了したと判断した場合、制御部7は、表示画像データ生成部24によって生成された各原稿についてのサムネイル画像データに基づいて、操作パネル8の表示部8aにサムネイル画像の一覧を表示させる(S4)。   On the other hand, when it is determined in S3 that the reading process of all the originals is completed, the control unit 7 displays the display unit of the operation panel 8 based on the thumbnail image data for each original generated by the display image data generation unit 24. A list of thumbnail images is displayed in 8a (S4).

図11(a)はS4において表示部8aに表示される表示画面の一例を示している。この図に示す例では、各原稿についてのサムネイル画像の一覧と、「表示モード切り替え」、「処理モードページ単位」、「完了」、「拡大」、および「縮小」の各ボタンと、原稿の総ページ数(総枚数)、および低精度ページ数が表示されている。低精度ページ数とは、S26で算出した低精度率が所定値以上である原稿の数である。「拡大」ボタンおよび「縮小」ボタンは、各サムネイル画像の表示サイズを拡大あるいは縮小させるための指示を行うボタンである。「処理モードページ単位」ボタンは、再読取時に、再読取対象として選択した原稿のみを画像入力装置2の原稿自動搬送装置50または第1コンタクトガラス(原稿載置台)51上にセットして読み取りを行うモード(ページ単位処理モード)が選択されていることを示している。「処理モードページ単位」ボタンが操作されると、再読取時に全原稿を画像入力装置2の原稿自動搬送装置50にセットして読み取りを行うモード(ページ一括処理モード)に切り替えられ、後述する図17(a)の表示画面に移行するようになっている。   FIG. 11A shows an example of a display screen displayed on the display unit 8a in S4. In the example shown in this figure, a list of thumbnail images for each document, buttons for “display mode switching”, “processing mode page unit”, “completion”, “enlargement”, and “reduction”, and the total number of documents are displayed. The number of pages (total number of pages) and the number of low-precision pages are displayed. The number of low accuracy pages is the number of documents whose low accuracy rate calculated in S26 is equal to or greater than a predetermined value. The “enlarge” button and the “reduce” button are buttons for instructing to enlarge or reduce the display size of each thumbnail image. The “processing mode page unit” button sets only the document selected as the reread target on the automatic document feeder 50 of the image input device 2 or the first contact glass (document placement table) 51 at the time of rereading. This indicates that the mode to be performed (page unit processing mode) is selected. When the “processing mode page unit” button is operated, the mode is switched to a mode (page batch processing mode) in which all originals are set on the automatic document feeder 50 of the image input apparatus 2 and read at the time of re-reading. The display screen is shifted to the display screen 17 (a).

また、「表示モード切り替え」ボタンは、全原稿のサムネイル画像の一覧を表示させるか、低精度率が所定値以上である原稿(再読取を推奨する原稿)のサムネイル画像の一覧を表示させるかを切り替えるための指示を行うボタンである。図11(a)の表示画面において、「表示モード切り替え」ボタンが操作されると、制御部7は、図11(b)に示すように低精度率が所定値以上である原稿のサムネイル画像の一覧を表示させる。なお、図11(b)の表示画面では、各サムネイル画像の近傍に、当該サムネイル画像に対応するページについての低精度率(低精度文字率)を表示させるようになっている。   In addition, the “display mode switching” button is used to display a list of thumbnail images of all documents or whether to display a list of thumbnail images of documents (documents recommended to be re-read) whose low accuracy rate is a predetermined value or more. It is a button for giving an instruction for switching. When the “display mode switching” button is operated on the display screen of FIG. 11A, the control unit 7 displays a thumbnail image of a document whose low accuracy rate is equal to or greater than a predetermined value as shown in FIG. Display a list. In the display screen of FIG. 11B, the low accuracy rate (low accuracy character rate) for the page corresponding to the thumbnail image is displayed in the vicinity of each thumbnail image.

また、図11(a)に示したように、本実施形態では、全原稿のサムネイル画像の一覧を表示させる際、低精度率が所定値未満である原稿と、所定値以上である原稿とを識別可能に表示させるようになっている。識別可能に表示させるための方法は特に限定されるものではないが、サムネイル画像の枠部の色や太さを異ならせる方法などを用いることができる。本実施形態では、低精度率が所定値未満である原稿のサムネイル画像の枠部を赤色で強調表示するようになっている。これにより、低精度率が所定値未満である原稿をユーザに認識させ、再読取を行うか否かを確認することを奨めることができる。   Further, as shown in FIG. 11A, in the present embodiment, when displaying a list of thumbnail images of all originals, an original having a low accuracy rate less than a predetermined value and an original having a predetermined value or more are displayed. It is displayed so that it can be identified. A method for displaying the images in an identifiable manner is not particularly limited, and a method of changing the color or thickness of the frame portion of the thumbnail image can be used. In this embodiment, a frame portion of a thumbnail image of a document whose low accuracy rate is less than a predetermined value is highlighted in red. Accordingly, it is possible to encourage the user to recognize a document whose low accuracy rate is less than a predetermined value and confirm whether or not rereading is performed.

また、本実施形態では、サムネイル画像の一覧を表示させるものとしているが、これに限らず、各原稿の画像を順次表示させるようにしてもよい。   In this embodiment, a list of thumbnail images is displayed. However, the present invention is not limited to this, and the images of each document may be displayed sequentially.

次に、制御部7は、S4で表示させた表示画面に対して原稿の選択指示(ページ選択指示)が行われたか否かを判断する(S5)。なお、本実施形態では、サムネイル画像の一覧が表示されている表示画面においてユーザがいずれかのサムネイル画像に触れることにより、そのサムネイル画像に対応する原稿を選択して当該原稿についての詳細情報の表示を選択できるようになっている。また、「完了」ボタンが操作された場合、制御部7は、原稿の選択指示が行われなかったと判断する。   Next, the control unit 7 determines whether or not a document selection instruction (page selection instruction) has been made on the display screen displayed in S4 (S5). In this embodiment, when a user touches any thumbnail image on the display screen on which a list of thumbnail images is displayed, the user selects a document corresponding to the thumbnail image and displays detailed information about the document. Can be selected. When the “complete” button is operated, the control unit 7 determines that an instruction to select a document has not been issued.

S5において原稿の選択指示が行われなかったと判断した場合、制御部7は、後述するS18の処理に移る。   If it is determined in S5 that the document selection instruction has not been issued, the control unit 7 proceeds to the process of S18 described later.

一方、S5においてページの選択指示が行われたと判断した場合、制御部7は、選択された原稿についての詳細情報を表示させる(S6)。   On the other hand, if it is determined in S5 that a page selection instruction has been made, the control unit 7 displays detailed information about the selected document (S6).

図12(a)はS6において表示される表示画面の一例を示す説明図である。この図に示すように、制御部7は、S5において選択された原稿についてのS27で生成された重畳画像データを記憶部6から読み出して表示部8aに表示させる。また、この図に示す例では、重畳画像データに加えて、「表示モード切り替え」、「前ページ」、「OK」、「再読取」、「次ページ」、「手動補正」、「拡大」、および「縮小」の各ボタンと、このページに含まれる文字の総文字数、高精度文字数、高精度率、および傾きの有無が表示されている。なお、傾きの有無については、S22の原稿傾き検知処理において検出された原稿の傾き向き角度が所定角度(例えば2度)以上である原稿については傾きあり、所定角度未満である原稿については傾きなしとして表示する。なお、高精度文字数および高精度率に代えて(あるいは高精度文字数および高精度率に加えて)、低精度文字数および低精度率を表示させてもよい。   FIG. 12A is an explanatory diagram showing an example of a display screen displayed in S6. As shown in this figure, the control unit 7 reads out the superimposed image data generated in S27 for the document selected in S5 from the storage unit 6 and displays it on the display unit 8a. In the example shown in this figure, in addition to the superimposed image data, “display mode switching”, “previous page”, “OK”, “reread”, “next page”, “manual correction”, “enlarged”, Each button of “reduction” and the total number of characters included in this page, the number of high-precision characters, the high-precision rate, and the presence / absence of inclination are displayed. As for the presence / absence of tilt, there is tilt for a document whose tilt angle of the document detected in the document tilt detection process of S22 is a predetermined angle (for example, 2 degrees) or more, and there is no tilt for a document whose angle is less than the predetermined angle. Display as. Instead of the high-precision character count and the high-accuracy rate (or in addition to the high-accuracy character count and the high-accuracy rate), the low-precision character count and the low-accuracy rate may be displayed.

「前ページ」ボタン、および「次ページ」ボタンは、詳細情報を表示させる原稿を1つ前または1つ後のページに切り替えるための指示を行うボタンである。「拡大」および「縮小」ボタンは表示させる重畳画像の拡大または縮小を指示するためのボタンである。「OK」ボタンは再読取を行わない旨の指示を行うボタンであり、「再読取」ボタンは再読取処理を行う旨の指示を行うボタンである。「手動補正」ボタンは手動補正処理を行う旨の指示を行うボタンである。   The “Previous page” button and the “Next page” button are buttons for instructing to switch the document on which the detailed information is displayed to the previous page or the next page. The “enlarge” and “reduce” buttons are buttons for instructing enlargement or reduction of the superimposed image to be displayed. The “OK” button is a button for instructing not to perform rereading, and the “rereading” button is a button for instructing to perform rereading processing. The “manual correction” button is a button for instructing to perform manual correction processing.

図12(a)の表示画面において「表示モード切り替え」ボタンが操作されると、制御部7は、図12(b)に示すように、重畳画像データ生成部45を制御して低精度文字についてのみカラーテキストデータに応じた文字を表示させ、高精度文字についてはカラーテキストデータを表示させないようにした重畳画像データを生成させて表示部8aに表示させる。なお、S27の処理において全ての文字についてカラーテキストデータに応じた文字を重畳させた重畳画像データ、および低精度文字についてのみカラーテキストデータに応じた文字を重畳させた重畳画像データの両方を生成して記憶部6に記憶させておいてもよい。   When the “display mode switching” button is operated on the display screen of FIG. 12A, the control unit 7 controls the superimposed image data generation unit 45 to display the low-precision character as shown in FIG. Only the character corresponding to the color text data is displayed, and for the high-precision character, the superimposed image data in which the color text data is not displayed is generated and displayed on the display unit 8a. Note that in the process of S27, both superimposed image data in which characters corresponding to color text data are superimposed on all characters and superimposed image data in which characters according to color text data are superimposed only on low-precision characters are generated. May be stored in the storage unit 6.

次に、制御部7は、手動補正処理を行うか否かを判断する(S7)。具体的には、制御部7は、S6の表示画面において「手動補正」ボタンが操作された場合には手動補正処理を行うと判断し、「OK」ボタン、または「再読取」ボタンが操作された場合には手動補正処理を行わないと判断する。   Next, the control unit 7 determines whether or not to perform manual correction processing (S7). Specifically, the control unit 7 determines that manual correction processing is performed when the “manual correction” button is operated on the display screen of S6, and the “OK” button or the “reread” button is operated. If it is determined, manual correction processing is not performed.

そして、S7において手動補正処理を行うと判断した場合、手動補正処理を行う(S8)。手動補正処理とは、ユーザがマニュアルで補正内容を指示して画像データを補正する処理である。手動補正処理の詳細については後述する。   If it is determined in S7 that manual correction processing is to be performed, manual correction processing is performed (S8). The manual correction process is a process in which a user manually specifies correction contents and corrects image data. Details of the manual correction processing will be described later.

一方、S7において手動補正処理を行わないと判断した場合、制御部7は、再読取を行うか否かを判断する(S9)。具体的には、制御部7は、S6の表示画面において「OK」ボタンが操作された場合には再読取を行わないと判断し、「再読取」ボタンが操作された場合には再読取を行わないと判断する。   On the other hand, when it is determined in S7 that manual correction processing is not performed, the control unit 7 determines whether or not rereading is performed (S9). Specifically, the control unit 7 determines that rereading is not performed when the “OK” button is operated on the display screen of S6, and rereads when the “reread” button is operated. Judge not to do.

そして、S9において再読取を行わないと判断した場合、制御部7は、S4の処理に戻って再びサムネイル画像のリストを表示させる。この際、図11(b)および図11(c)に示したように、再読取の要否を確認したページのサムネイル画像に、当該ページを確認済みであることを示す記号(例えば「レ」印)を付加して表示させるようにしてもよい。   If it is determined in S9 that rereading is not performed, the control unit 7 returns to the process of S4 and displays the list of thumbnail images again. At this time, as shown in FIGS. 11 (b) and 11 (c), a symbol (for example, “re”) indicating that the page has been confirmed is displayed on the thumbnail image of the page for which re-reading is confirmed. A mark) may be added and displayed.

一方、S9において再読取を行うと判断した場合、制御部7は、再読取処理部23の推奨設定検出部41を制御し、推奨する再読取条件(推奨条件)を検出する推奨条件検出処理を行わせる(S10)。   On the other hand, if it is determined in S9 that rereading is to be performed, the control unit 7 controls the recommended setting detection unit 41 of the rereading processing unit 23 to perform recommended condition detection processing for detecting recommended rereading conditions (recommended conditions). (S10).

図13は、推奨設定検出部41における推奨条件検出処理の流れを示すフローチャートである。   FIG. 13 is a flowchart showing a flow of recommended condition detection processing in the recommended setting detection unit 41.

まず、推奨設定検出部41は、S22における原稿傾き検知処理の結果に基づいて、原稿の傾きの有無を判断する(S31)。例えば、S22の原稿傾き検知処理において検出された原稿の傾き向き角度が所定角度(例えば2度)以上であるページについては傾きあり、所定角度未満であるページについては傾きなしと判断する。   First, the recommended setting detection unit 41 determines whether or not the document is tilted based on the result of the document tilt detection process in S22 (S31). For example, it is determined that there is an inclination for a page where the inclination angle of the original detected in the original inclination detection process of S22 is a predetermined angle (for example, 2 degrees) or more, and there is no inclination for a page that is less than the predetermined angle.

そして、傾きなしと判断した場合、推奨設定検出部41は、読取解像度の変更を推奨条件とする(S32)。例えば、前回の読取解像度(例えば300dpi)よりも高い読取解像度(例えば600dpi)への変更を推奨条件とする。原稿の文字サイズが小さいために文字認識精度が低くなってしまっていたような場合などには、読取解像度を高くして再読取を行うことで文字認識精度を向上させることができる。   When it is determined that there is no inclination, the recommended setting detection unit 41 sets a change in the reading resolution as a recommended condition (S32). For example, the recommended condition is a change to a reading resolution (for example, 600 dpi) higher than the previous reading resolution (for example, 300 dpi). When the character recognition accuracy is low because the character size of the document is small, the character recognition accuracy can be improved by increasing the reading resolution and performing re-reading.

S31において傾きありと判断した場合、推奨設定検出部41は、前回の読取処理が原稿自動搬送装置50を用いて行われたか否かを判断する(S33)。そして、前回の読取処理が原稿自動搬送装置50を用いていないと判断した場合、すなわち第1コンタクトガラス51上に載置された原稿を読み取ったと判断した場合は、推奨設定検出部41は、原稿を第1コンタクトガラス51上に原稿を再セットして再読取処理を行うことを推奨条件とする(S34)。   If it is determined that there is an inclination in S31, the recommended setting detection unit 41 determines whether or not the previous reading process was performed using the automatic document feeder 50 (S33). When it is determined that the previous reading process does not use the automatic document feeder 50, that is, when it is determined that the document placed on the first contact glass 51 is read, the recommended setting detection unit 41 reads the document. It is a recommended condition that the original is reset on the first contact glass 51 and rereading is performed (S34).

また、S33において前回の読取処理が原稿自動搬送装置50を用いて行われたと判断した場合、推奨設定検出部41は、その原稿についての原稿自動搬送装置50を用いた読取回数が1回であるか否かを判断する(S35)。すなわち、次に行う原稿自動搬送装置50を用いた再読取処理が、原稿自動搬送装置50を用いた初回の再読取処理であるか否かを判断する。   If it is determined in S33 that the previous reading process has been performed using the automatic document feeder 50, the recommended setting detection unit 41 reads the original document using the automatic document feeder 50 once. Whether or not (S35). That is, it is determined whether or not the next rereading process using the automatic document feeder 50 is the first rereading process using the automatic document feeder 50.

そして、S35において原稿自動搬送装置50を用いた読取回数が1回であると判断した場合、推奨設定検出部41は、低速読取を推奨条件とする(S36)。すなわち、画像読取時の原稿の傾きを抑制するために、原稿自動搬送装置50による原稿の搬送速度を低速に設定して再読取を行うことを推奨する。   If it is determined in S35 that the number of readings using the automatic document feeder 50 is one, the recommended setting detection unit 41 sets low-speed reading as a recommended condition (S36). In other words, in order to suppress the inclination of the document during image reading, it is recommended to perform re-reading by setting the document conveying speed by the automatic document feeder 50 to a low speed.

また、S35において原稿自動搬送装置50を用いた読取回数が1回ではないと判断した場合、推奨設定検出部41は、その原稿についての原稿自動搬送装置50を用いた読取回数が2回であるか否かを判断する(S37)。すなわち、次に行う原稿自動搬送装置50を用いた再読取処理が、原稿自動搬送装置50を用いた2回目の再読取処理であるか否かを判断する。   If it is determined in S35 that the number of readings using the automatic document feeder 50 is not one, the recommended setting detection unit 41 reads the document using the automatic document feeder 50 twice. Whether or not (S37). That is, it is determined whether or not the next rereading process using the automatic document feeder 50 is the second rereading process using the automatic document feeder 50.

そして、S37において原稿自動搬送装置50を用いた読取回数が2回であると判断した場合、推奨設定検出部41は、原稿自動搬送装置50に対する原稿セット方向の変更、および低速読取を推奨条件とする(S38)。例えば、複数枚の原稿がパンチ穴やホッチキスなどで綴じられていた場合、あるいは製本された書籍を裁断して得られた複数枚の原稿である場合などには、原稿同士が綴じられていた部分でくっついていたり、原稿に傷や型がついていたりする場合があり、それに起因して原稿搬送時に原稿が傾いてしまうときがある。このため、原稿自動搬送装置50に対する原稿セット方向を変更することで、画像読取時の原稿の傾きを抑制できる。なお、推奨設定検出部41が画像データに基づいてパンチ穴、ホッチキスの跡、裁断跡などを検出し、原稿におけるこれらの箇所(パンチ穴、ホッチキスの跡、裁断跡など)が存在しない辺を原稿送り方向の先頭側にするように原稿のセット方向を推奨してもよい。   If it is determined in S37 that the number of times of scanning using the automatic document feeder 50 is two, the recommended setting detection unit 41 sets the change of the document setting direction with respect to the automatic document feeder 50 and low-speed reading as the recommended conditions. (S38). For example, when multiple originals are bound with punch holes or staples, or when multiple originals are obtained by cutting a bound book, the parts where the originals are bound In some cases, the document may be stuck together, or the document may be scratched or shaped, and the document may be tilted when the document is conveyed. Therefore, by changing the document setting direction with respect to the automatic document feeder 50, it is possible to suppress the inclination of the document during image reading. Note that the recommended setting detection unit 41 detects punch holes, staple marks, cutting traces, and the like based on the image data, and sets the side where there are no such portions (punch holes, staple marks, cutting traces, etc.) in the document. The document setting direction may be recommended so that it is on the leading side in the feed direction.

一方、S37において原稿自動搬送装置50を用いた読取回数が2回ではないと判断した場合、すなわち3回目以上であると判断した場合、推奨設定検出部41は、原稿自動搬送装置50を用いず、第1コンタクトガラス51上に原稿を載置して読取処理を行うことを推奨条件とする。   On the other hand, when it is determined in S37 that the number of times of reading using the automatic document feeder 50 is not two times, that is, when it is determined that the number of times is 3 or more, the recommended setting detection unit 41 does not use the automatic document feeder 50. The recommended condition is to place a document on the first contact glass 51 and perform a reading process.

なお、図13に示した例は、推奨条件の決定方法の一例であり、これに限るものではない。例えば、図13に示した推奨条件の決定順序を並び替えてもよい。また、他の推奨条件とその決定方法を組み合わせてもよい。例えば、S36では搬送速度の変更または原稿セット方向の変更のいずれか一方を推奨し、S38では上記両条件の他方を推奨するようにしてもよい。また、S36では搬送速度の変更または原稿セット方向の変更のいずれか一方を推奨し、S38では上記両条件の他方を推奨し、S38で推奨した条件に基づいて再読取を行っても文字認識精度が改善しなかった場合に搬送速度の変更および原稿セット方向の変更の両方を推奨するようにしてもよい。   The example shown in FIG. 13 is an example of a recommended condition determination method, and the present invention is not limited to this. For example, the order of determining the recommended conditions shown in FIG. 13 may be rearranged. Moreover, you may combine another recommended condition and its determination method. For example, in S36, either the change of the conveyance speed or the change of the document setting direction may be recommended, and the other of the above two conditions may be recommended in S38. In S36, it is recommended to change either the conveyance speed or the original setting direction. In S38, the other of the above two conditions is recommended. Even if re-reading is performed based on the conditions recommended in S38, the character recognition accuracy is improved. If the image quality does not improve, it may be recommended to change both the conveyance speed and the original setting direction.

その後、制御部7は、S10で検出した推奨する再読取条件を反映させた再読取設定画面を表示部8aに表示させる(S11)。   Thereafter, the control unit 7 causes the display unit 8a to display a reread setting screen that reflects the recommended reread conditions detected in S10 (S11).

図14(a)は表示部8aに表示される再読取設定画面の一例を示す説明図である。この図に示す例では、「設定完了」ボタン、「戻る」ボタン、原稿画像、および読取モード設定画像が表示されている。また、読取モード設定画像には、設定変更可能な項目として、原稿セット方向、原稿読取方法、読取解像度、原稿送り速度、および下地除去レベルの各項目と、これら各項目の設定を変更するための画像とが表示されている。上記原稿画像としては、例えば、プレビュー画像データ生成部47が記憶部6に記憶されている画像データに基づいて生成した画像を用いることができる。   FIG. 14A is an explanatory diagram illustrating an example of a reread setting screen displayed on the display unit 8a. In the example shown in this figure, a “setting complete” button, a “return” button, a document image, and a reading mode setting image are displayed. Also, in the reading mode setting image, as items whose settings can be changed, the original setting direction, the original reading method, the reading resolution, the original feeding speed, and the background removal level, and the settings for these items are changed. The image is displayed. As the document image, for example, an image generated by the preview image data generation unit 47 based on the image data stored in the storage unit 6 can be used.

図14(b)は、上記各項目についての設定可能な条件の一例を示している。原稿セット方向は、原稿自動搬送装置50に対する原稿のセット方向、すなわち原稿送り方向を示しており、上向き、下向き、左向き、および右向きの中から選択可能になっている。原稿読取方法としては、原稿自動搬送装置(ADF)50を用いて読取処理を行うか、あるいは第1コンタクトガラス51上に原稿を載置して読取処理を行うかを選択可能になっている。読取解像度としては、上述したように、600dpi、400dpi、300dpi、200dpi、および100dpiの5段階の中から選択できるようになっている。原稿送り速度については、通常または低速から選択できるようになっている。下地除去レベルについては、弱、中、強の中から選択できるようになっている。   FIG. 14B shows an example of conditions that can be set for each item. The document setting direction indicates the document setting direction with respect to the automatic document feeder 50, that is, the document feeding direction, and can be selected from upward, downward, leftward, and rightward. As a document reading method, it is possible to select whether to perform reading processing using an automatic document feeder (ADF) 50 or to perform reading processing by placing a document on the first contact glass 51. As described above, the reading resolution can be selected from five levels of 600 dpi, 400 dpi, 300 dpi, 200 dpi, and 100 dpi. The document feed speed can be selected from normal or low speed. The background removal level can be selected from weak, medium and strong.

なお、図14(a)に示した例では、再読取設定画面の表示を開始した時点では上記各項目の設定値はS10で検出した再読取条件に応じた設定値に設定されており、その後、ユーザが任意に変更できるようになっている。例えば、傾きを最も抑制できる原稿セット方向をユーザが認識している場合などには、ユーザは「原稿セット方向」を推奨設定から任意に変更できる。また、原稿自動搬送装置50では原稿の傾きが生じやすい場合などには、ユーザは「原稿読取方法」として原稿台(第1コンタクトガラス51上への原稿載置)を指定することができる。また、原稿の文字が小さい場合などには、ユーザが「読取解像度」をデフォルトよりも高い任意の解像度に設定することができる。また、下地の濃い原稿の場合などには、ユーザが「下地除去レベル」を任意に変更できる。   In the example shown in FIG. 14A, when the display of the reread setting screen is started, the set values of the above items are set to the set values according to the reread conditions detected in S10. The user can change it arbitrarily. For example, when the user recognizes a document setting direction that can suppress the tilt most, the user can arbitrarily change the “document setting direction” from the recommended setting. In the automatic document feeder 50, the user can designate a document table (document placement on the first contact glass 51) as the “document reading method” when the document is likely to be inclined. In addition, when the characters of the document are small, the user can set the “reading resolution” to an arbitrary resolution higher than the default. In the case of a document with a dark background, the user can arbitrarily change the “background removal level”.

「設定完了」ボタンは、上記の各項目についての再読取時に適用する条件の設定が完了した旨を入力するためのボタンである。「戻る」ボタンはS6の詳細情報の表示画面に戻る旨を入力するためのボタンである。   The “setting complete” button is a button for inputting that the setting of the conditions to be applied at the time of re-reading each item is completed. The “return” button is a button for inputting to return to the detailed information display screen of S6.

次に、制御部7は、再読取を実行するか否かを判断する(S12)。具体的には、再読取設定画面において「設定完了」ボタンが操作された場合に再読取を実行すると判断し、「戻る」ボタンが操作された場合には再読取を実行しないと判断する。   Next, the control unit 7 determines whether or not to perform re-reading (S12). Specifically, it is determined that rereading is executed when the “setting complete” button is operated on the reread setting screen, and it is determined that rereading is not executed when the “return” button is operated.

そして、再読取を実行しないと判断した場合、制御部7は、S6に戻って選択されている原稿の詳細情報を表示部8aに表示させる。   If it is determined that re-reading is not performed, the control unit 7 returns to S6 to display the detailed information of the selected document on the display unit 8a.

一方、再読取を実行すると判断した場合、制御部7は、その時点で設定されている再読取条件に基づいて読取処理(再読取処理)を行う(S13)。読取処理方法は図1(b)に示した方法と同様である。ただし、ユーザは再読取設定画面に対する設定条件に応じて原稿を原稿自動搬送装置50あるいは第1コンタクトガラス51上にセットし、制御部7は再読取設定画面に対する設定条件に応じて読取処理を行わせる。また、制御部7は、再読取処理を実行する際、再読取に適用した読取条件、再読取回数、およびページ番号(原稿番号)を対応付けて記憶部6に記憶させる。   On the other hand, if it is determined that rereading is to be performed, the control unit 7 performs a reading process (rereading process) based on the rereading conditions set at that time (S13). The reading processing method is the same as the method shown in FIG. However, the user sets a document on the automatic document feeder 50 or the first contact glass 51 according to the setting conditions for the reread setting screen, and the control unit 7 performs a reading process according to the setting conditions for the reread setting screen. Make it. Further, when executing the re-reading process, the control unit 7 stores the reading condition applied to the re-reading, the number of times of re-reading, and the page number (document number) in the storage unit 6 in association with each other.

次に、制御部7は、再読取前の重畳画像データに応じた画像と、再読取後の重畳画像データに応じた画像とを表示部8aに並べて表示させる(S14)。   Next, the control unit 7 displays the image corresponding to the superimposed image data before rereading and the image corresponding to the superimposed image data after rereading side by side on the display unit 8a (S14).

図15(a)はS14における表示画面の一例を示す説明図である。この図に示す例では、S6で表示させた詳細情報が前回データとして表示され、再読取によって取得した重畳画像データ、総文字数、高精度文字数、高精度率、および傾きの有無が今回データとして表示される。なお、S6と同様、「表示モード切り替え」ボタンが操作されると、制御部7は、図15(b)に示すように、低精度文字のカラーテキストデータのみを原稿の文字画像に重畳させた重畳画像データを表示させる。   FIG. 15A is an explanatory diagram showing an example of a display screen in S14. In the example shown in this figure, the detailed information displayed in S6 is displayed as the previous data, and the superimposed image data, the total number of characters, the number of high-precision characters, the high-accuracy rate, and the presence / absence of inclination obtained by re-reading are displayed as the current data. Is done. As in S6, when the “display mode switching” button is operated, the control unit 7 superimposes only the color text data of low-precision characters on the character image of the document, as shown in FIG. Display the superimposed image data.

なお、図15(a),図15(b)の表示画面において再読取結果に対応する重畳画像の表示領域にユーザが触れると再読取結果を選択した状態になり、図15(c),図15(d)に示すように再読取結果に対応する重畳画像の枠線が太線で強調表示される。また、図15(c),図15(d)の表示画面において再読取結果に対応する重畳画像の表示領域にユーザが触れると再読取前の結果を選択した状態になり、図15(a),図15(b)に示すように再読取前の重畳画像の枠線が太線で強調表示される。   When the user touches the display area of the superimposed image corresponding to the reread result on the display screens of FIGS. 15A and 15B, the reread result is selected, and FIG. 15C and FIG. As shown in FIG. 15D, the frame line of the superimposed image corresponding to the reread result is highlighted with a bold line. Further, when the user touches the display area of the superimposed image corresponding to the reread result on the display screens of FIGS. 15C and 15D, the result before reread is selected, and FIG. As shown in FIG. 15B, the frame line of the superimposed image before re-reading is highlighted with a bold line.

その後、制御部7は、再読取をもう一度行うか否かを判断する(S15)。具体的には、制御部7は、図15(a)〜図15(d)の何れかの表示画面において「再読取」ボタンが操作された場合には再読取を行うと判断し、「OK」ボタンが選択された場合には再読取を行わないと判断する。   Thereafter, the control unit 7 determines whether or not to perform re-reading again (S15). Specifically, the control unit 7 determines that re-reading is performed when the “re-read” button is operated on any one of the display screens of FIGS. When the “” button is selected, it is determined that re-reading is not performed.

S15において再読取を行うと判断した場合、制御部7は、S10の処理に戻る。なお、図15(a)〜図15(d)における今回データ(再読取結果に対応する重畳画像)が選択された状態で「再読取」ボタンが操作された場合にはその今回データを次に行う再読取処理後の前回データとし、図15(a)〜図15(d)における前回データ(再読取前の重畳画像)が選択された状態で「再読取」ボタンが操作された場合にはその前回データを次に行う再読取処理後も前回データとする。   When it is determined in S15 that rereading is performed, the control unit 7 returns to the process of S10. When the “reread” button is operated in a state in which the current data (superimposed image corresponding to the reread result) in FIGS. 15A to 15D is selected, the current data is stored next. When the “reread” button is operated with the previous data (superimposed image before reread) in FIGS. 15A to 15D selected as the previous data after the reread processing to be performed The previous data is used as the previous data after the re-reading process to be performed next.

S15において再読取を行わないと判断した場合、制御部7は、再読取結果を採用するか否かを判断する(S16)。具体的には、制御部7は、図15(a)〜図15(d)の何れかの表示画面において「OK」ボタンが操作されたときに、前回データが選択されていた場合には再読取結果を採用しないと判断し、今回データが選択されていた場合には再読取結果を採用すると判断する。   When it is determined in S15 that rereading is not performed, the control unit 7 determines whether or not to adopt the reread result (S16). Specifically, when the “OK” button is operated on any one of the display screens of FIGS. 15A to 15D, the control unit 7 re-executes if the previous data has been selected. It is determined that the reading result is not adopted, and if the current data is selected, it is determined that the reread result is adopted.

そして、再読取結果を採用しないと判断した場合、制御部7は、S4の処理に戻る。   If it is determined that the reread result is not adopted, the control unit 7 returns to the process of S4.

一方、再読取結果を採用すると判断した場合、制御部7は、再読取結果に応じて画像データおよびテキストデータを更新し(S17)、S4の処理に戻る。   On the other hand, when determining that the reread result is adopted, the control unit 7 updates the image data and the text data according to the reread result (S17), and returns to the process of S4.

具体的には、制御部7は、画像合成部42を制御し、記憶部6に記憶されている画像データ(原稿から読み取った画像データに対して画像処理装置3の各部で上述の処理が施され、中間調生成部20から出力されて記憶部6に記憶されている画像データ)のうち、再読取を行った原稿の画像データを再読取後の画像データに置換させる。また、テキスト合成部43を制御し、記憶部6に記憶されている文字認識結果に応じたテキストデータのうち、再読取を行った原稿についてのテキストデータを再読取後の文字認識結果に応じたテキストデータに置換させる。   Specifically, the control unit 7 controls the image composition unit 42 to perform the above-described processing in each unit of the image processing apparatus 3 on the image data stored in the storage unit 6 (image data read from the document). Then, among the image data output from the halftone generation unit 20 and stored in the storage unit 6), the image data of the re-read original is replaced with the image data after the re-read. Further, the text composition unit 43 is controlled, and among the text data corresponding to the character recognition result stored in the storage unit 6, the text data for the re-read document is determined according to the character recognition result after re-reading. Replace with text data.

なお、再読取処理後にサムネイル画像の一覧を表示させる場合、例えば図11(d)に示すように、再読取処理によって文字認識精度が低精度ページから高精度ページに改善された原稿のサムネイル画像と、再読取処理後も低精度ページのままの原稿(精度が改善していない原稿、および改善していても低精度ページのままの原稿)のサムネイル画像とを識別可能に表示してもよい。図11(d)の例では、高精度ページに改善された原稿のサムネイル画像の枠線を緑色で強調表示し、再読取処理後も低精度ページのままの原稿のサムネイル画像の枠線を赤色で強調表示している。これにより、各原稿について再読取処理を行うべきか否かを容易に確認できる。また、精度が改善していない原稿の再読取をユーザに奨めることができる。   When displaying a list of thumbnail images after the re-reading process, for example, as shown in FIG. 11D, a thumbnail image of a document whose character recognition accuracy has been improved from a low-accuracy page to a high-accuracy page by the re-read process. In addition, thumbnail images of a document that remains as a low-accuracy page even after the re-reading process (a document that has not been improved in accuracy and a document that still has a low-accuracy page even if it has been improved) may be displayed so as to be distinguishable. In the example of FIG. 11D, the border line of the thumbnail image of the document that has been improved on the high-accuracy page is highlighted in green, and the border line of the thumbnail image of the document that remains on the low-accuracy page after the re-reading process is red. Is highlighted. Thus, it can be easily confirmed whether or not each document should be reread. In addition, it is possible to encourage the user to re-read a document whose accuracy has not been improved.

また、S5の処理において、原稿の選択指示が行われなかったと判断した場合、すなわち、S5の表示画面において「完了」ボタンが操作された場合、制御部7は、描画コマンド生成部71を制御し、原稿の画像データに対する文字認識処理によって取得したテキストデータに対応する透明テキストを画像ファイル内に配置させるためのテキスト配置コマンドを生成させる(S18)。ここで、透明テキストとは、認識された文字(あるいは、文字および単語)をテキスト情報として見掛け上は見えない形で画像データに重ね合わせる(あるいは埋め込む)ためのデータである。例えば、PDFファイルでは、画像データに透明テキストを付加した画像ファイルが一般に使用されている。   If it is determined in S5 that the document selection instruction has not been issued, that is, if the “complete” button is operated on the display screen in S5, the control unit 7 controls the drawing command generation unit 71. Then, a text placement command for placing the transparent text corresponding to the text data acquired by the character recognition processing for the image data of the document in the image file is generated (S18). Here, the transparent text is data for superimposing (or embedding) recognized characters (or characters and words) on the image data as text information in an invisible manner. For example, in a PDF file, an image file in which transparent text is added to image data is generally used.

なお、S5の表示画面において「完了」ボタンが操作されたときに、制御部7がプレビュー画像データ生成部47を制御して原稿のプレビュー画像を生成させて表示部8aに表示させ、この画像データを出力ファイルの生成に用いる画像データとして確定するか否かをユーザに問い合わせるようにしてもよい。また、プレビュー画像を表示させる際、表示対象の原稿の全体が表示部8aに表示されるように、プレビュー画像データ生成部47が、表示部8aの画面サイズおよび解像度に応じて画像データに対して画素を間引く等の処理を施すようにしてもよい。画素を間引く方法としては、例えば、(1)補間する画素に一番近い、あるいは、補間する画素に対して所定の位置関係にある既存画素の値をその補間画素の値とするニアレストネイバー法、(2)補間する画素を囲む周囲4点の既存画素の距離に比例した形で重み付けした値の平均を求め、その値をその補間画素の値とするバイリニア法、(3)補間する画素を囲む周囲4点に加えて、それら4点を囲む12点を加えた計16点の画素の値を用いて補間計算を行う。また、プレビュー画像を表示させる際、プレビュー画像データ生成部47が、表示部8aの表示特性に応じて画像データにγ補正を施すようにしてもよい。   When the “complete” button is operated on the display screen of S5, the control unit 7 controls the preview image data generation unit 47 to generate a preview image of the document and display it on the display unit 8a. May be inquired of the user as to whether or not to be determined as image data used for generating the output file. Further, when displaying the preview image, the preview image data generation unit 47 applies the image data to the image data in accordance with the screen size and resolution of the display unit 8a so that the entire original to be displayed is displayed on the display unit 8a. Processing such as thinning out pixels may be performed. As a method of thinning out pixels, for example, (1) a nearest neighbor method in which the value of an existing pixel closest to the pixel to be interpolated or having a predetermined positional relationship with the pixel to be interpolated is used as the value of the interpolated pixel. (2) A bilinear method in which an average of values weighted in proportion to the distance between four existing pixels surrounding the pixel to be interpolated is obtained, and that value is used as the value of the interpolated pixel. (3) The pixel to be interpolated is calculated. In addition to the surrounding four points, interpolation calculation is performed using a total of 16 pixel values including 12 points surrounding these four points. Further, when displaying the preview image, the preview image data generation unit 47 may perform γ correction on the image data in accordance with the display characteristics of the display unit 8a.

なお、上述した重畳画像データやサムネイル画像についてもプレビュー画像と同様、重畳画像データ生成部45あるいはサムネイル生成部46が間引き処理やγ補正を施すようにしてもよい。   Note that the superimposed image data generation unit 45 or the thumbnail generation unit 46 may perform thinning processing or γ correction on the above-described superimposed image data and thumbnail images as in the preview image.

次に、制御部7は、フォーマット化処理部72を制御し、中間調生成部20から出力された画像データと、S18で生成したテキスト配置コマンドとに基づいて、画像データに透明テキストを埋め込んだ出力ファイルを生成(フォーマット化)させ(S19)、処理を終了する。   Next, the control unit 7 controls the formatting processing unit 72 to embed transparent text in the image data based on the image data output from the halftone generation unit 20 and the text placement command generated in S18. An output file is generated (formatted) (S19), and the process ends.

(1−4−2.ページ一括処理モード)
上述したように、S13において再読取処理を行う際、再読取の対象とする原稿のみを画像入力装置2にセットして読み取らせてもよく、全原稿を画像入力装置2の原稿自動搬送装置50にセットして読み取らせてもよい。
(1-4-2. Page batch processing mode)
As described above, when the re-reading process is performed in S13, only the document to be re-read may be set in the image input device 2 and read, and all the originals are automatically fed by the document feeder 50 of the image input device 2. It may be set and read.

図16は、全ページを画像入力装置2の原稿自動搬送装置50にセットして読み取らせる場合の処理(ページ一括処理モード)の流れを示すフローチャートである。   FIG. 16 is a flowchart showing the flow of processing (page batch processing mode) when all pages are set on the automatic document feeder 50 of the image input apparatus 2 and read.

図16に示すように、制御部7は、図1(a)の場合と同様、画像入力装置2に原稿がセットされ、操作入力部8bがユーザからの原稿読取の開始指示を受け付けたこと検知すると(S1)、デジタルカラー複合機1の各部を制御して読取処理を行わせる(S2)。また、S2において読取処理を行った後、制御部7は、読取処理が完了していない原稿が残っているか否かを判断し(S3)、残っている場合には未読み取りの原稿に対して読取処理を行う。   As shown in FIG. 16, as in the case of FIG. 1A, the control unit 7 detects that a document is set in the image input device 2 and the operation input unit 8b has received a document reading start instruction from the user. Then (S1), each part of the digital color multifunction peripheral 1 is controlled to perform a reading process (S2). In addition, after performing the reading process in S2, the control unit 7 determines whether or not there is a document that has not been read (S3). Read processing is performed.

S3において全ての原稿の読取処理が完了したと判断した場合、制御部7は、表示画像データ生成部24によって生成された各原稿についてのサムネイル画像データに基づいて、操作パネル8の表示部8aにサムネイル画像の一覧を表示させる(S51)。   If it is determined in S3 that the reading process for all the originals has been completed, the control unit 7 displays the thumbnail image data for each original generated by the display image data generation unit 24 on the display unit 8a of the operation panel 8. A list of thumbnail images is displayed (S51).

図17(a)はS41において表示部8aに表示される表示画面の一例を示している。この図に示す例では、各ページの原稿についてのサムネイル画像が一覧と、「表示モード切り替え」、「処理モード一括」、「完了」、「拡大」、および「縮小」の各ボタンと、原稿の総ページ数、および低精度ページ数が表示されている。低精度ページ数とは、S26で算出した低精度率が所定値以上である原稿の数(あるいは、S4で算出した高精度率が所定値未満である原稿の数)である。「拡大」ボタンおよび「縮小」ボタンは、各サムネイル画像の表示サイズを拡大あるいは縮小させるための指示を行うボタンである。「処理モード一括」ボタンは、再読取時に全原稿を画像入力装置2の原稿自動搬送装置50にセットして読取処理を行うモード(ページ一括処理モード)が選択されていることを示している。「処理モード一括」ボタンが操作されると、再読取対象の原稿として選択した原稿のみを画像入力装置2の原稿自動搬送装置50または第1コンタクトガラス51上にセットして読取処理を行うモード(ページ単位処理モード)に切り替えられ、上述した図11(a)の表示画面に移行するようになっている。   FIG. 17A shows an example of a display screen displayed on the display unit 8a in S41. In the example shown in this figure, thumbnail images for each page of the document are listed, buttons for “display mode switching”, “processing mode batch”, “completion”, “enlarge”, and “reduction”, The total number of pages and the number of low-precision pages are displayed. The number of low accuracy pages is the number of documents whose low accuracy rate calculated in S26 is equal to or greater than a predetermined value (or the number of documents whose high accuracy rate calculated in S4 is less than a predetermined value). The “enlarge” button and the “reduce” button are buttons for instructing to enlarge or reduce the display size of each thumbnail image. The “processing mode batch” button indicates that a mode (page batch processing mode) in which all originals are set in the automatic document feeder 50 of the image input apparatus 2 and read processing is selected at the time of re-reading. When the “processing mode batch” button is operated, a mode in which only a document selected as a document to be reread is set on the automatic document feeder 50 of the image input device 2 or the first contact glass 51 and a reading process is performed ( (Page unit processing mode), and the display screen shown in FIG.

次に、制御部7は、S51で表示させた表示画面に対して原稿の選択指示が行われたか否かを判断する(S52)。なお、本実施形態では、サムネイル画像の一覧が表示されている表示画面においてユーザがいずれかのサムネイル画像に触れることにより、そのサムネイル画像に対応する原稿を選択して当該ページについての詳細情報の表示を選択できるようになっている。また、「完了」ボタンが操作された場合、制御部7は、原稿の選択指示が行われなかったと判断する。   Next, the control unit 7 determines whether or not an instruction for selecting a document has been issued on the display screen displayed in S51 (S52). In the present embodiment, when a user touches any thumbnail image on the display screen displaying a list of thumbnail images, the user selects a document corresponding to the thumbnail image and displays detailed information about the page. Can be selected. When the “complete” button is operated, the control unit 7 determines that an instruction to select a document has not been issued.

S52において原稿の選択指示が行われなかったと判断した場合、制御部7は、後述するS61の処理に移る。   If it is determined in S52 that the document selection instruction has not been issued, the control unit 7 proceeds to the process of S61 described later.

一方、S52において原稿の選択指示が行われたと判断した場合、制御部7は、選択された原稿についての詳細情報を表示させる(S53)。詳細情報としては、図12(a)と同様の表示を用いることができる。   On the other hand, if it is determined in S52 that an instruction to select a document has been issued, the control unit 7 displays detailed information about the selected document (S53). As the detailed information, the same display as in FIG. 12A can be used.

次に、制御部7は、手動補正処理を行うか否かを判断する(S54)。具体的には、制御部7は、S53の表示画面において「手動補正」ボタンが操作された場合には手動補正処理を行うと判断し、「OK」ボタン、または「再読取」ボタンが操作された場合には手動補正処理を行わないと判断する。   Next, the control unit 7 determines whether or not to perform manual correction processing (S54). Specifically, the control unit 7 determines that manual correction processing is performed when the “manual correction” button is operated on the display screen of S53, and the “OK” button or the “reread” button is operated. If it is determined, manual correction processing is not performed.

そして、S54において手動補正処理を行うと判断した場合、手動補正処理を行う(S55)。手動補正処理とは、ユーザがマニュアルで補正内容を指示して画像データを補正する処理である。手動補正処理の詳細については後述する。   If it is determined in S54 that manual correction processing is to be performed, manual correction processing is performed (S55). The manual correction process is a process in which a user manually specifies correction contents and corrects image data. Details of the manual correction processing will be described later.

一方、S54において手動補正処理を行わないと判断した場合、制御部7は、再読取を行うか否かを判断する(S56)。具体的には、制御部7は、S53の表示画面において「OK」ボタンが操作された場合には再読取を行わないと判断し、「再読取」ボタンが操作された場合には再読取を行わないと判断する。   On the other hand, when it is determined in S54 that manual correction processing is not performed, the control unit 7 determines whether or not rereading is performed (S56). Specifically, the control unit 7 determines that rereading is not performed when the “OK” button is operated on the display screen of S53, and rereads when the “reread” button is operated. Judge not to do.

そして、S56において再読取を行わないと判断した場合、制御部7は、S51の処理に戻って再びサムネイル画像のリストを表示させる。この際、図11(b)および図11(c)と同様、再読取の要否を確認した原稿のサムネイル画像に、当該原稿を確認済みであることを示す記号(例えば「レ」印)を付加して表示させるようにしてもよい。   If it is determined in S56 that re-reading is not performed, the control unit 7 returns to the process of S51 and displays a list of thumbnail images again. At this time, as in FIGS. 11 (b) and 11 (c), a symbol (for example, “Re”) indicating that the document has been confirmed is added to the thumbnail image of the document for which re-reading is confirmed. You may make it display additionally.

一方、S56において再読取を行うと判断した場合、制御部7は、再読取処理部23の推奨設定検出部41を制御し、推奨する再読取条件(推奨条件)を検出する推奨条件検出処理を行わせる(S57)。   On the other hand, if it is determined in S56 that rereading is to be performed, the control unit 7 controls the recommended setting detection unit 41 of the rereading processing unit 23 to perform recommended condition detection processing for detecting recommended rereading conditions (recommended conditions). (S57).

図18は、推奨設定検出部41における推奨条件検出処理の流れを示すフローチャートである。   FIG. 18 is a flowchart showing a flow of recommended condition detection processing in the recommended setting detection unit 41.

まず、推奨設定検出部41は、前回読取時の原稿傾き検知処理の結果に基づいて、原稿の傾きの有無を判断する(S81)。例えば、原稿傾き検知処理において検出された原稿の傾き向き角度が所定角度(例えば2度)以上である原稿については傾きあり、所定角度未満である原稿については傾きなしと判断する。   First, the recommended setting detection unit 41 determines whether or not the document is tilted based on the result of the document tilt detection process at the previous reading (S81). For example, it is determined that a document whose tilt direction angle detected in the document tilt detection process is a predetermined angle (for example, 2 degrees) or more is tilted, and a document whose angle is less than the predetermined angle is not tilted.

そして、傾きなしと判断した場合、推奨設定検出部41は、読取解像度の変更を推奨条件とする(S82)。例えば、前回の読取解像度(例えば300dpi)よりも高い読取解像度(例えば600dpi)への変更を推奨条件とする。原稿の文字サイズが小さいために文字認識精度が低くなってしまっていたような場合などには、この条件により文字認識精度を向上させることができる。   If it is determined that there is no inclination, the recommended setting detection unit 41 sets a change in the reading resolution as a recommended condition (S82). For example, the recommended condition is a change to a reading resolution (for example, 600 dpi) higher than the previous reading resolution (for example, 300 dpi). If the character recognition accuracy is low because the character size of the document is small, the character recognition accuracy can be improved by this condition.

S81において傾きありと判断した場合、選択されている原稿についての原稿自動搬送装置50を用いた読取回数が1回であるか否かを判断する(S83)。すなわち、次に行う原稿自動搬送装置50を用いた再読取処理が、原稿自動搬送装置50を用いた初回の再読取処理であるか否かを判断する。   If it is determined that there is an inclination in S81, it is determined whether or not the selected document is read once using the automatic document feeder 50 (S83). That is, it is determined whether or not the next rereading process using the automatic document feeder 50 is the first rereading process using the automatic document feeder 50.

そして、S83において原稿自動搬送装置50を用いた読取回数が1回であると判断した場合、推奨設定検出部41は、低速読取を推奨条件とする(S84)。   If it is determined in S83 that the number of readings using the automatic document feeder 50 is one, the recommended setting detection unit 41 sets low-speed reading as a recommended condition (S84).

また、S83において原稿自動搬送装置50を用いた読取回数が1回ではないと判断した場合、推奨設定検出部41は、その原稿についての原稿自動搬送装置50を用いた読取回数が2回であるか否かを判断する(S85)。すなわち、次に行う原稿自動搬送装置50を用いた再読取処理が、原稿自動搬送装置50を用いた2回目の再読取処理であるか否かを判断する。   If it is determined in S83 that the number of readings using the automatic document feeder 50 is not one, the recommended setting detection unit 41 reads the number of times using the automatic document feeder 50 for the document twice. Whether or not (S85). That is, it is determined whether or not the next rereading process using the automatic document feeder 50 is the second rereading process using the automatic document feeder 50.

そして、S85において原稿自動搬送装置50を用いた読取回数が2回であると判断した場合、推奨設定検出部41は、再読取対象として予約されている原稿があるか否かを判断する(S86)。すなわち、後述するS59において再読取条件が確定された原稿は再読取対象として予約設定されるようになっており、S86では既に予約されている原稿があるか否かを判断する。   If it is determined in S85 that the number of readings using the automatic document feeder 50 is two, the recommended setting detection unit 41 determines whether there is a document reserved as a reread target (S86). ). That is, a document whose rereading conditions are determined in S59 described later is reserved for rereading, and it is determined in S86 whether there is a document that has already been reserved.

S86において予約されている原稿がないと判断した場合、推奨設定検出部41は、原稿自動搬送装置50に対する原稿セット方向の変更、および低速読取を推奨条件とする(S87)。   If it is determined in S86 that there is no reserved document, the recommended setting detection unit 41 sets a change in the document setting direction with respect to the automatic document feeder 50 and low-speed reading as recommended conditions (S87).

一方、S86において予約されている原稿があると判断した場合、推奨設定検出部41は、低速読取を推奨条件とする(S84)。すなわち、「原稿セット方向」は原稿の全原稿で共通設定のため、原稿内で最初に再読取設定をする場合には自由に選択できるが、2番目以降に設定する原稿では最初に設定した原稿の内容に設定する。なお、ユーザが「原稿セット方向」の内容を推奨設定から変更しようとした場合には、例えば図19に示すように、原稿セット方向を変更すると全原稿の原稿セット方向を変更することになる旨のメッセージを表示し、変更するか否かをユーザに再確認するようにしてもよい。   On the other hand, when it is determined in S86 that there is a reserved document, the recommended setting detection unit 41 sets low-speed reading as a recommended condition (S84). That is, since the “original setting direction” is a common setting for all originals in the original, it can be freely selected when the re-read setting is first made in the original, but the original set first in the second and subsequent originals. Set to the contents of. If the user tries to change the content of “original setting direction” from the recommended setting, for example, as shown in FIG. 19, changing the original setting direction changes the original setting direction of all originals. This message may be displayed to reconfirm with the user whether or not to change the message.

また、S85において原稿自動搬送装置50を用いた読取回数が2回ではないと判断した場合、すなわち3回目以上であると判断した場合、推奨設定検出部41は、原稿自動搬送装置50を用いず、第1コンタクトガラス51上に原稿を載置して読取処理を行うことを推奨条件とする。   Further, when it is determined in S85 that the number of times of reading using the automatic document feeder 50 is not two times, that is, when it is determined that the number of times is 3 or more, the recommended setting detection unit 41 does not use the automatic document feeder 50. The recommended condition is to place a document on the first contact glass 51 and perform a reading process.

なお、図18に示した例は、推奨条件の決定方法の一例であり、これに限るものではない。例えば、図18に示した推奨条件の決定順序を並び替えてもよい。また、他の推奨条件とその決定方法を組み合わせてもよい。   The example shown in FIG. 18 is an example of a recommended condition determination method, and the present invention is not limited to this. For example, the order of determining the recommended conditions shown in FIG. 18 may be rearranged. Moreover, you may combine another recommended condition and its determination method.

その後、制御部7は、S57で検出した推奨する再読取条件を反映させた再読取設定画面を表示部8aに表示させる(S58)。再読取設定画面としては、例えば図14(a)と同様の画面を用いることができる。   Thereafter, the control unit 7 causes the display unit 8a to display a reread setting screen that reflects the recommended reread conditions detected in S57 (S58). As the reread setting screen, for example, a screen similar to that shown in FIG.

次に、制御部7は、再読取条件を確定するか否かを判断する(S59)。具体的には、再読取設定画面において「設定完了」ボタンが操作された場合に再読取条件を確定すると判断し、「戻る」ボタンが操作された場合には再読取条件を確定しないと判断する。   Next, the control unit 7 determines whether or not to re-read the conditions (S59). Specifically, it is determined that the reread condition is confirmed when the “setting complete” button is operated on the reread setting screen, and it is determined that the reread condition is not confirmed when the “return” button is operated. .

そして、再読取条件を確定しないと判断した場合、制御部7は、S53に戻って選択されている原稿の詳細情報を表示部8aに表示させる。   If it is determined that the re-reading condition is not fixed, the control unit 7 returns to S53 and causes the display unit 8a to display the detailed information of the selected document.

一方、再読取条件を確定すると判断した場合、制御部7は、当該原稿のページ番号(原稿番号)と、当該原稿についてその時点で設定されている再読取条件とを対応付けて記憶部6に記憶させ、当該原稿を再読取対象として予約し(S60)、S51に戻る。   On the other hand, when it is determined that the rereading conditions are to be determined, the control unit 7 associates the page number (original number) of the document with the rereading conditions set for the document at that time in the storage unit 6. The document is stored, the document is reserved for reread (S60), and the process returns to S51.

S52において原稿の選択指示が行われなかったと判断した場合、すなわちS52の表示画面において「完了」ボタンが操作された場合、制御部7は、再読取を行う原稿があるか否か、すなわち再読取対象として予約されている原稿があるか否かを判断する(S61)。   When it is determined in S52 that the document selection instruction has not been performed, that is, when the “complete” button is operated on the display screen in S52, the control unit 7 determines whether there is a document to be reread, that is, rereads. It is determined whether there is a document reserved as a target (S61).

そして、S61において再読取を行う原稿があると判断した場合、制御部7は、原稿の全原稿を原稿自動搬送装置50にセットするようにユーザに促すための画面を表示させる(S62)。図20はS62において表示される表示画面の一例を示す説明図である。この図に示す例では、原稿を示すイラスト(画像)が原稿自動搬送装置50に対するセット方向(原稿送り方向)に応じた向きで表示され、このイラストの向きにセットすべき旨を示すメッセージが表示されている。また、再読取の開始を指示するための「スタート」ボタンが表示されている。これにより、ユーザは表示画面を参照しながら原稿を原稿自動搬送装置50にセットし、セット後に「スタート」ボタンを操作することで再読取処理の開始を指示できるようになっている。   If it is determined in S61 that there is a document to be re-read, the control unit 7 displays a screen for prompting the user to set all the documents in the automatic document feeder 50 (S62). FIG. 20 is an explanatory diagram showing an example of a display screen displayed in S62. In the example shown in this figure, an illustration (image) showing a document is displayed in a direction corresponding to a setting direction (document feeding direction) with respect to the automatic document feeder 50, and a message indicating that the illustration should be set is displayed. Has been. In addition, a “start” button for instructing the start of re-reading is displayed. Thus, the user can set the original on the automatic document feeder 50 while referring to the display screen, and can instruct the start of the re-reading process by operating the “start” button after setting.

その後、ユーザからの再読取処理の開始指示を受け付けると(S63)、制御部7は、原稿自動搬送装置50で原稿搬送を行う各原稿について、当該原稿が再読取を行う原稿であるか否かを判断する(S64)。そして、再読取を行う原稿についてはS59で設定された再読取条件に基づいて読取処理を行い(S65)、再読取を行わない原稿については読取処理を行わずに搬送のみ(空送)を行う(S66)。そして、制御部7は、未搬送の原稿が残っているか否かを判断し(S67)、残っている場合にはS64〜S66の処理を繰り返す。なお、制御部7は、再読取処理を実行した場合に、再読取時に適用した読取条件、再読取回数、およびページ番号(原稿番号)を対応付けて記憶部6に記憶させる。   Thereafter, when receiving a re-read processing start instruction from the user (S63), the control unit 7 determines whether or not the original is a document to be re-read with respect to each of the originals to be conveyed by the automatic document feeder 50. Is determined (S64). A document to be re-read is read based on the re-read condition set in S59 (S65), and a document that is not re-read is only transported (empty) without being read. (S66). Then, the control unit 7 determines whether or not an unconveyed original document remains (S67), and repeats the processing of S64 to S66 when it remains. When the rereading process is executed, the control unit 7 causes the storage unit 6 to store the reading conditions, the number of times of rereading, and the page number (document number) applied at the time of rereading in association with each other.

S67において未搬送の原稿が残っていないと判断した場合、制御部7は、再読取を行った原稿について、再読取前の重畳画像データに応じた画像と、再読取後の重畳画像データに応じた画像とを表示部8aに並べて表示させる(S68)。表示方法は、図15(a)〜図15(d)と同様である。   If it is determined in S67 that there is no unconveyed document remaining, the control unit 7 determines the reread document according to the superimposed image data before rereading and the superimposed image data after rereading. The displayed images are displayed side by side on the display unit 8a (S68). The display method is the same as in FIGS. 15 (a) to 15 (d).

なお、本実施形態では、再読取を行った後、再読取結果を採用するか否かの判断をまだ行っていないページのうち、ページ番号が最も小さい原稿から順に表示させるようになっている。ただし、これに限らず、全原稿または再読取を行った原稿のサムネイル画像の一覧を表示させ、ユーザが選択したサムネイル画像に対応する原稿を表示させるようにしてもよい。   In the present embodiment, after re-reading, the pages with the smallest page number are displayed in order from the pages that have not yet been determined whether to adopt the re-read result. However, the present invention is not limited to this, and a list of thumbnail images of all originals or re-read originals may be displayed, and originals corresponding to thumbnail images selected by the user may be displayed.

図17(b)は、全原稿のサムネイル画像の一覧を表示させる場合の表示画面の例を示している。この図に示す例では、再読取を行った原稿のサムネイル画像が再読取を行っていない原稿のサムネイル画像と識別可能に表示されている。また、再読取を行った原稿のサムネイル画像のうち、もう一度再読取を行うか否かを確認済みの原稿のサムネイル画像にはチェック済みであることを示す記号(「レ」印)、またはもう一度再読取を行うことが予約されていることを示す記号(「Re」印)が付されている。すなわち、確認済みの原稿のうち、もう一度再読取を行う原稿のサムネイル画像には「Re」印が付され、再読取をこれ以上行わない原稿のサムネイル画像には「レ」印が付されている。   FIG. 17B shows an example of a display screen when displaying a list of thumbnail images of all originals. In the example shown in this figure, a thumbnail image of a document that has been reread is displayed so as to be distinguishable from a thumbnail image of a document that has not been reread. In addition, among the thumbnail images of the document that has been read again, the thumbnail image of the document that has been confirmed whether or not to re-read it again (the “Re” mark), A symbol (“Re” mark) indicating that reading is reserved is attached. That is, among the confirmed documents, the thumbnail image of the document to be read again is marked with “Re”, and the thumbnail image of the document that is not read again is marked with “Re”. .

次に、制御部7は、詳細情報を表示している原稿について、再読取をもう一度行うか否かを判断する(S69)。具体的には、制御部7は、図15(a)〜図15(d)の何れかの表示画面において「再読取」ボタンが操作された場合には再読取を行うと判断し、「OK」ボタンが選択された場合には再読取を行わないと判断する。   Next, the control unit 7 determines whether or not to re-read the document displaying the detailed information (S69). Specifically, the control unit 7 determines that re-reading is performed when the “re-read” button is operated on any one of the display screens of FIGS. When the “” button is selected, it is determined that re-reading is not performed.

S69において再読取を行うと判断した場合、制御部7は、再読取処理部23の推奨設定検出部41を制御し、前回の再読取で取得したデータに基づいて推奨する再読取条件(推奨条件)を検出する推奨条件検出処理を行わせる(S70)。推奨条件検出処理の方法は図18に示した方法と同様である。   If it is determined in S69 that rereading is to be performed, the control unit 7 controls the recommended setting detection unit 41 of the rereading processing unit 23 to recommend a rereading condition (recommended condition based on the data acquired in the previous rereading). ) Is detected (S70). The method of the recommended condition detection process is the same as the method shown in FIG.

その後、制御部7は、S70で検出した推奨する再読取条件を反映させた再読取設定画面を表示部8aに表示させる(S71)。再読取設定画面としては、例えば図14(a)と同様の画面を用いることができる。   Thereafter, the control unit 7 causes the display unit 8a to display a reread setting screen reflecting the recommended reread conditions detected in S70 (S71). As the reread setting screen, for example, a screen similar to that shown in FIG.

次に、制御部7は、再読取条件を確定するか否かを判断する(S72)。具体的には、再読取設定画面において「設定完了」ボタンが操作された場合に再読取条件を確定すると判断し、「戻る」ボタンが操作された場合には再読取条件を確定しないと判断する。   Next, the control unit 7 determines whether or not to re-read the conditions (S72). Specifically, it is determined that the reread condition is confirmed when the “setting complete” button is operated on the reread setting screen, and it is determined that the reread condition is not confirmed when the “return” button is operated. .

そして、再読取条件を確定しないと判断した場合、制御部7は、S68に戻って選択されている原稿の詳細情報を表示部8aに表示させる。   If it is determined that the re-reading condition is not fixed, the control unit 7 returns to S68 to display the detailed information of the selected document on the display unit 8a.

一方、再読取条件を確定すると判断した場合、制御部7は、当該原稿のページ番号と、当該原稿についてその時点で設定されている再読取条件とを対応付けて記憶部6に記憶させ、当該原稿を再読取対象として予約し(S73)、S76の処理に進む。   On the other hand, if it is determined that the rereading conditions are to be confirmed, the control unit 7 stores the page number of the document in association with the rereading conditions set at that time for the document in the storage unit 6, and The document is reserved for rereading (S73), and the process proceeds to S76.

S69において再読取を行うと判断した場合、制御部7は、再読取結果を採用するか否かを判断する(S74)。具体的には、制御部7は、図15(a)〜図15(d)の何れかの表示画面において「OK」ボタンが操作されたときに、前回データが選択されていた場合には再読取結果を採用しないと判断し、今回データが選択されていた場合には再読取結果を採用すると判断する。   When it is determined in S69 that rereading is to be performed, the control unit 7 determines whether or not to adopt the reread result (S74). Specifically, when the “OK” button is operated on any one of the display screens of FIGS. 15A to 15D, the control unit 7 re-executes if the previous data has been selected. It is determined that the reading result is not adopted, and if the current data is selected, it is determined that the reread result is adopted.

そして、再読取結果を採用しないと判断した場合、制御部7は、S76の処理に進む。   If it is determined that the reread result is not adopted, the control unit 7 proceeds to the process of S76.

一方、再読取結果を採用すると判断した場合、制御部7は、再読取結果に応じて画像データおよびテキストデータを更新し(S75)、S76の処理に進む。   On the other hand, when determining that the reread result is adopted, the control unit 7 updates the image data and the text data according to the reread result (S75), and proceeds to the process of S76.

図21(a)〜図21(e)は、画像データおよびテキストデータの更新方法を示す説明図である。   FIG. 21A to FIG. 21E are explanatory diagrams showing a method for updating image data and text data.

まず、制御部7は、図21(a)に示すように、初回の読取処理で取得した画像データに対して画像処理装置3の各部が上述した処理を施した画像データ(中間調生成部20から出力される画像データ)、および初回の読取処理で取得した画像データに対する文字認識処理によって文字認識部22が生成したテキストデータを、原稿毎に記憶部6における元データ格納エリアA1に格納する。なお、図21(a)では、初回の読取処理で取得された原稿のデータ(画像データおよびテキストデータ)のうち、1ページ目から6ページ目までの原稿のデータが符号P1,P2,P3,・・・,P6で示されている。   First, as illustrated in FIG. 21A, the control unit 7 performs image data (halftone generation unit 20) obtained by performing the above-described processing on each piece of the image processing device 3 on the image data acquired in the first reading process. And the text data generated by the character recognition unit 22 by the character recognition process for the image data acquired in the first reading process are stored in the original data storage area A1 in the storage unit 6 for each document. In FIG. 21A, of the original data (image data and text data) acquired in the first reading process, the original data from the first page to the sixth page are denoted by reference symbols P1, P2, P3. ..., indicated by P6.

その後、再読取処理が行われると、制御部7は、図21(b)に示すように、再読取処理で取得した画像データに対して画像処理装置3の各部が上述した処理を施した画像データ(中間調生成部20から出力される画像データ)、および再読取処理で取得した画像データに対する文字認識処理によって文字認識部22が生成したテキストデータを、記憶部6における再読取データ格納領域A2に格納する。なお、図21(b)の例では、2ページ目および4ページ目の原稿の再読取が行われた場合を示しており、再読取によって取得したこれら各原稿のデータ(画像データおよびテキストデータ)は符号P2’,P4’で示されている。再読取を行っていない原稿については読取処理が行われずに空送されるので、再読取データは存在しない。ただし、これに限らず、全原稿について再読取を行い、再読取によって取得したデータを再読取データ格納領域A2に格納するようにしてもよい。   Thereafter, when the re-reading process is performed, the control unit 7 performs an image obtained by performing the above-described processing by each unit of the image processing apparatus 3 on the image data acquired by the re-reading process, as illustrated in FIG. Data (image data output from the halftone generation unit 20) and text data generated by the character recognition unit 22 by character recognition processing for the image data acquired by the re-reading process are stored in the re-read data storage area A2 in the storage unit 6. To store. Note that the example of FIG. 21B shows a case where the second and fourth page originals are re-read, and the data (image data and text data) of each original obtained by re-reading. Are indicated by symbols P2 ′ and P4 ′. Since the document that has not been re-read is sent without being read, there is no re-read data. However, the present invention is not limited to this, and all the originals may be re-read, and data acquired by re-reading may be stored in the re-read data storage area A2.

次に、制御部7は、図21(c)に示すように、S74におけるユーザからの指示に応じて、再読取を行った各原稿について、再読取前のデータを採用するか、再読取後のデータを採用するかを選択する。図21(c)の例では、2ページ目については再読取後のデータP2’が採用され、4ページ目については再読取前のデータP4が採用されている。   Next, as shown in FIG. 21 (c), the control unit 7 adopts the data before re-reading for each document that has been re-read in response to an instruction from the user in S74, or after re-reading. Select whether to adopt the data. In the example of FIG. 21C, data P2 'after rereading is adopted for the second page, and data P4 before rereading is adopted for the fourth page.

次に、制御部7は、画像合成部42およびテキスト合成部43を制御し、図21(d)に示すように、元データ格納エリアA1に格納されている各原稿のデータ(画像データおよびテキストデータ)のうち、再読取後のデータを採用することが選択された原稿のデータ(画像データおよびテキストデータ)を、再読取後のデータに置換させる。図21(d)の例では、元データ格納エリアA1における初回の読取処理で取得された2ページ目の読取データP2が、再読取後の読取データP2’に置換されている。   Next, the control unit 7 controls the image composition unit 42 and the text composition unit 43, and as shown in FIG. 21 (d), the data (image data and text) of each original stored in the original data storage area A1. The data (image data and text data) of the original selected to adopt the reread data among the data) is replaced with the reread data. In the example of FIG. 21D, the read data P2 of the second page acquired by the first reading process in the original data storage area A1 is replaced with the read data P2 'after re-reading.

なお、図21(e)に示すように、元データ格納エリアA1および再読取データ格納領域A2に格納した各読取データを削除したり上書きしたりせず、いずれの格納エリアのデータを採用するかを示す採用番号を原稿毎に付与して管理するようにしてもよい。この場合、再読取を行った回数に応じて再読取データ格納領域A3,A4,・・・(図示せず)が順次追加されていく。   As shown in FIG. 21 (e), which storage area is used without deleting or overwriting each read data stored in the original data storage area A1 and the reread data storage area A2. May be managed by assigning a recruitment number indicating each document. In this case, reread data storage areas A3, A4,... (Not shown) are sequentially added according to the number of times of rereading.

S76において、制御部7は、再読取を行った全原稿についての確認(もう一度再読取を行うか否かの確認、および再読取結果を採用するか否かの確認)を行ったか否かを判断する。   In S <b> 76, the control unit 7 determines whether or not confirmation (reconfirmation of whether or not re-reading is performed again and confirmation of whether or not to adopt the re-reading result) has been performed on all the re-read originals. To do.

S76において全原稿の確認が完了していないと判断した場合、制御部7は、S68に戻って未確認の原稿についての重畳画像データを表示させる。一方、S76において全原稿の確認が完了したと判断した場合、制御部7は、S61の処理に戻る。   If it is determined in S76 that the confirmation of all the documents has not been completed, the control unit 7 returns to S68 to display the superimposed image data for the unconfirmed document. On the other hand, if it is determined in S76 that the confirmation of all the originals has been completed, the control unit 7 returns to the process of S61.

S61の処理において再読取を行う原稿がないと判断した場合、制御部7は、描画コマンド生成部71を制御し、文字認識処理によって取得したテキストデータに対応する透明テキストを画像ファイル内に配置させるためのテキスト配置コマンドを生成させる(S76)。   If it is determined in step S61 that there is no document to be re-read, the control unit 7 controls the drawing command generation unit 71 to place transparent text corresponding to the text data acquired by the character recognition processing in the image file. A text placement command is generated for this purpose (S76).

また、制御部7は、フォーマット化処理部72を制御し、中間調生成部20から出力された画像データと、S76で生成したテキスト配置コマンドとに基づいて、画像データに透明テキストを埋め込んだ出力ファイルを生成(フォーマット化)させ(S77)、処理を終了する。   Further, the control unit 7 controls the formatting processing unit 72 to output the transparent text embedded in the image data based on the image data output from the halftone generation unit 20 and the text placement command generated in S76. A file is generated (formatted) (S77), and the process ends.

(1−4−3.手動補正処理)
次に、図1(a)のS8における手動補正処理(ページ単位処理モードにおける手動補正処理)について説明する。
(1-4-3. Manual correction processing)
Next, the manual correction processing (manual correction processing in the page unit processing mode) in S8 of FIG.

図22(a)は図1(a)のS8において「手動補正」ボタンが操作されたときに表示部8aに表示される表示画面の一例を示す説明図である。この図に示すように、「手動補正」ボタンが操作されると、重畳画像が表示されている領域の周囲に、「手動補正」ボタンに代えて、「分割」ボタン、「左回転」ボタン、および「右回転」ボタンが表示される。   FIG. 22A is an explanatory diagram illustrating an example of a display screen displayed on the display unit 8a when the “manual correction” button is operated in S8 of FIG. 1A. As shown in this figure, when the “Manual correction” button is operated, instead of the “Manual correction” button, a “Split” button, a “Rotate left” button, And a “Rotate right” button.

そして、「左回転」ボタン、または「右回転」ボタンが操作された場合、制御部7は、重畳画像データ生成部45を制御して重畳画像データを操作されたボタンに応じた方向にボタンが操作された回数に応じて90度単位で回転(ボタン操作回数×90度回転)させた画像データを生成させ、表示部8aに表示させる。図22(b)は、図22(a)に示した表示画面において「左回転」ボタンが1回操作された場合に表示される表示画面を示している。そして、「OK」ボタンが操作された場合、制御部7は原稿補正部15を制御して原稿の画像データを指示に応じた方向に指示に応じた角度回転させ、記憶部6に記憶している画像データを更新させる。さらに、制御部7は、更新後の画像データに基づいて文字認識処理を行わせ、文字認識結果に応じて記憶部6に記憶しているテキストデータを更新させる。   When the “rotate left” button or the “rotate right” button is operated, the control unit 7 controls the superimposed image data generation unit 45 to move the superimposed image data in the direction corresponding to the operated button. According to the number of times of operation, image data rotated by 90 degrees (number of button operations × 90 degrees) is generated and displayed on the display unit 8a. FIG. 22B shows a display screen that is displayed when the “left rotation” button is operated once in the display screen shown in FIG. When the “OK” button is operated, the control unit 7 controls the document correction unit 15 to rotate the image data of the document in the direction according to the instruction by the angle according to the instruction, and stores it in the storage unit 6. Update existing image data. Furthermore, the control unit 7 performs character recognition processing based on the updated image data, and updates the text data stored in the storage unit 6 according to the character recognition result.

これにより、例えば、図22(a)に示したような文字が含まれていない原稿や文字数が少ない原稿(例えば10文字以下の原稿)などの場合には天地方向が精度よく検出されない場合があるが、ユーザが手動補正によって原稿方向を正しく補正することができる。これにより、文字認識精度を向上させることができる。   Thus, for example, in the case of a document that does not include characters as shown in FIG. 22A or a document with a small number of characters (for example, a document having 10 characters or less), the top-and-bottom direction may not be detected accurately. However, the user can correct the document orientation correctly by manual correction. Thereby, the character recognition accuracy can be improved.

また、「分割」ボタンが操作された場合、制御部(画像分割部)7は、1枚の原稿の画像データを複数枚の原稿の画像データに分割する。なお、画像処理装置3に1枚の原稿の画像データを複数枚の原稿の画像データに分割する画像分割部(図示せず)を設け、制御部7が指示された分割数に応じて画像分割部を制御し、画像データの分割を行わせるようにしてもよい。   When the “divide” button is operated, the control unit (image dividing unit) 7 divides image data of one original into image data of a plurality of originals. The image processing device 3 is provided with an image dividing unit (not shown) that divides image data of one original into image data of a plurality of originals, and image division is performed according to the number of divisions instructed by the control unit 7. The image data may be divided by controlling the unit.

図23(a)はS8において「手動補正」ボタンが操作されたときに表示部8aに表示される表示画面の一例を示す説明図であり、2ページ分の原稿が1枚の原稿に割り付けられた原稿(いわゆる2in1原稿)の重畳画像データを表示している場合の例を示している。   FIG. 23A is an explanatory diagram showing an example of a display screen displayed on the display unit 8a when the “manual correction” button is operated in S8. Documents for two pages are allocated to one document. In this example, superimposed image data of a document (so-called 2 in 1 document) is displayed.

割付原稿(複数ページを1枚の原稿に割り付けて作成された原稿。集約原稿、Nin1、あるいはN-upとも呼ばれる。)の時には、割付原稿から読み取った画像データにおける当該割付原稿に割り付けられているページ毎に、天地方向(図24(a)参照)、傾き(図24(b)参照)、下地濃度(図24(c)参照)、文字サイズ(図24(d)参照)などが異なる場合があり、原稿1枚単位の一律な画像読み取りでは、文字認識の精度が低下してしまう場合がある。   In the case of a layout document (a document created by allocating a plurality of pages to a single document, also referred to as an aggregate document, Nin1, or N-up), it is allocated to the layout document in the image data read from the layout document. When the top-to-bottom direction (see FIG. 24 (a)), inclination (see FIG. 24 (b)), background density (see FIG. 24 (c)), character size (see FIG. 24 (d)), etc. are different for each page. In the case of uniform image reading in units of one original, character recognition accuracy may be reduced.

例えば、図23(a)に示した例の場合、左半分に配置されているページについては高精度に文字認識できても、右半分に配置されているページについては文字方向が異なるために文字認識の精度が低下してしまう。   For example, in the case of the example shown in FIG. 23 (a), even if the characters arranged on the left half can be recognized with high accuracy, the characters arranged on the right half of the page are different in character direction. Recognition accuracy is reduced.

そこで、本実施形態では、「手動補正」において「分割」ボタンを押すことにより、1枚の原稿を分割して複数枚の原稿として処理できるようになっている。   Therefore, in this embodiment, by pressing a “divide” button in “manual correction”, one original can be divided and processed as a plurality of originals.

具体的には、図23(a)の表示画面において「分割」ボタンを1回操作すると、分割数が2に設定され、図23(b)に示すように1枚の原稿を2枚の原稿に分割し、分割後の各原稿の重畳画像が表示部8aに表示される。なお、「分割」ボタンを2回操作すると、分割数が4に設定され、図23(c)に示すように1枚の原稿が4枚の原稿に分割され、分割後の各原稿の重畳画像が表示部8aに表示される。また、「分割」ボタンを3回操作すると分割数が8に設定され、「分割」ボタンを4回操作すると分割前の状態(図23(a)の状態)に戻るようになっている。また、分割数が2、4、または8に設定されている場合には、図23(b),図23(c)に示すように、「再読取」ボタンに代えて「分割実行」ボタンが表示される。   Specifically, when the “divide” button is operated once on the display screen of FIG. 23A, the number of divisions is set to 2, and one original is converted into two originals as shown in FIG. And the superimposed image of each divided document is displayed on the display unit 8a. When the “divide” button is operated twice, the number of divisions is set to 4, and one original is divided into four originals as shown in FIG. Is displayed on the display unit 8a. Further, when the “divide” button is operated three times, the number of divisions is set to 8, and when the “divide” button is operated four times, the state before the division (the state shown in FIG. 23A) is restored. When the number of divisions is set to 2, 4, or 8, as shown in FIGS. 23B and 23C, a “divide execution” button is used instead of the “reread” button. Is displayed.

そして、「分割実行」ボタンが操作されると、制御部7は、設定された分割数、および分割後の画像データに基づいて再読取処理部23の推奨設定検出部41を制御し、分割された原稿毎に推奨する再読取条件(推奨条件)を検出する推奨条件検出処理を行わせる。   Then, when the “divide execution” button is operated, the control unit 7 controls the recommended setting detection unit 41 of the reread processing unit 23 based on the set number of divisions and the image data after division, and is divided. A recommended condition detection process for detecting a reread condition (recommended condition) recommended for each original is performed.

例えば、割付原稿は作成時(割付時)に縮小されているため、割付原稿ではない原稿と同じように解像度変換すると、想定より低い解像度で文字認識処理が施されることになる。そこで、割付数に応じて読取解像度および解像度変換部32における変倍率を切り替える。具体的には、解像度変換部32による変倍率を、図25に示すように、分割数が2の場合には分割前の141%、分割数が4の場合には分割前の200%、分割数が8の場合には分割前の283%に設定する。また、読取解像度を、解像度変換部32による変倍後の解像度よりも高い解像度に設定する。例えば、分割数が2の場合(2in1原稿の場合)、割付原稿に含まれる各ページはオリジナルの約0.71倍に変倍されているので、解像度変換部32によるデフォルトの出力解像度(分割されていない場合の解像度)が300dpiの場合には、再読取後の解像度変換部32の出力解像度を300×141%=423dpiに設定する。また、読取解像度を432dpiよりも高い解像度(例えば600dpi)に設定する。   For example, since the allocated document is reduced at the time of creation (allocation), if the resolution is converted in the same manner as a document that is not an allocated document, character recognition processing is performed at a resolution lower than expected. Therefore, the reading resolution and the scaling factor in the resolution conversion unit 32 are switched according to the number of assignments. Specifically, as shown in FIG. 25, the scaling factor by the resolution conversion unit 32 is 141% before division when the number of divisions is 2, and 200% before division when the number of divisions is 4. When the number is 8, it is set to 283% before division. Further, the reading resolution is set to a higher resolution than the resolution after the scaling by the resolution converting unit 32. For example, when the number of divisions is 2 (in the case of a 2-in-1 document), each page included in the allocated document is scaled to about 0.71 times the original, so the default output resolution (divided by the resolution conversion unit 32). If the resolution is 300 dpi, the output resolution of the resolution conversion unit 32 after re-reading is set to 300 × 141% = 423 dpi. Further, the reading resolution is set to a resolution higher than 432 dpi (for example, 600 dpi).

そして、制御部7は、画像入力装置2および画像処理装置3の各部を制御し、推奨条件を参照してユーザが設定した再読取条件に基づいて原稿の再読取を行わせ、再読取によって取得した画像データを設定された分割数に応じて分割し、分割後の画像データに基づいて図1(a)のS10〜S17の処理を行わせる。   Then, the control unit 7 controls each unit of the image input device 2 and the image processing device 3, causes the document to be reread based on the reread conditions set by the user with reference to the recommended conditions, and is acquired by rereading The image data is divided according to the set number of divisions, and the processes of S10 to S17 in FIG. 1A are performed based on the divided image data.

すなわち、設定された再読取条件に基づいて原稿の再読取を行わせ、読み取った画像データを分割し、分割後の各画像データについて図1(b)のS21〜S28の処理を行わせる。そして、分割後の原稿毎に再読取前および再読取後の重畳画像データを図15(a)〜図15(d)と同様の方法で表示部8aに表示させ、分割された各原稿について、再読取前のデータを採用するか、再読取後のデータを採用するか、あるいはもう一度再読取を行うかをユーザに選択させる。そして、再読取後のデータを採用する場合には、記憶部6に記憶されている画像データおよびテキストデータを更新する。なお、この際、分割前の当該原稿の画像データおよびテキストデータに代えて、分割後の各原稿の画像データおよびテキストデータを記憶させる。なお、ユーザが原稿の再セットを行う前に、原稿を示すイラスト(画像)をセット方向(原稿送り方向)に応じた向きで表示させ、このイラストの向きにセットすべき旨を示すメッセージを表示させるようにしてもよい(図20参照)。   That is, the original is re-read based on the set re-read conditions, the read image data is divided, and the processes of S21 to S28 in FIG. Then, the superimposed image data before rereading and after rereading is displayed on the display unit 8a in the same manner as in FIGS. 15A to 15D for each divided original, and for each divided original, The user selects whether to adopt data before re-reading, to use data after re-reading, or to perform re-reading again. And when employ | adopting the data after re-reading, the image data and text data which are memorize | stored in the memory | storage part 6 are updated. At this time, instead of the image data and text data of the original before division, the image data and text data of each original after division are stored. Before the user resets the original, the illustration (image) showing the original is displayed in the direction corresponding to the set direction (original feed direction), and a message indicating that the illustration should be set is displayed. You may make it carry out (refer FIG. 20).

図26(a)は分割処理前にS4において表示されるサムネイル画像の一覧の例を示す説明図であり、図26(b)は分割処理後にS4の処理に戻ったときに表示されるサムネイル画像の一覧の例を示す説明図である。これら各図に示す例では、分割前のページ番号15の原稿が2分割されてページ番号15aおよび15bの画像データが生成されている。なお、分割した各画像データの配置順序は、分割数に応じて図27(a)〜図27(c)に示すように設定される。   FIG. 26A is an explanatory diagram showing an example of a list of thumbnail images displayed in S4 before the division process, and FIG. 26B is a thumbnail image displayed when returning to the process of S4 after the division process. It is explanatory drawing which shows the example of this list. In the example shown in each of these figures, the original of page number 15 before division is divided into two to generate image data of page numbers 15a and 15b. The arrangement order of the divided image data is set as shown in FIGS. 27A to 27C according to the number of divisions.

なお、手動補正による補正内容が、天地方向の補正や下地濃度の除去レベルなど、原稿の再読取処理を行わなくても前回の読取処理によって取得した画像データを用いて行える処理である場合には、原稿の再読取処理を行わずに前回の読取処理によって取得した画像データを用いて処理するようにしてもよい。   If the correction content by manual correction is a process that can be performed using the image data acquired by the previous reading process without performing the re-reading process of the document, such as the correction of the vertical direction and the removal level of the background density, etc. Alternatively, the processing may be performed using the image data acquired by the previous reading process without performing the document re-reading process.

次に、図16のS55における手動補正処理(ページ一括処理モードにおける手動補正処理)について説明する。   Next, the manual correction process in S55 of FIG. 16 (manual correction process in the page batch processing mode) will be described.

図16のS6の表示画面において「手動補正」ボタンが操作されると、制御部7は、上述した図22(a)および図23(a)と同様の表示画面を表示部8aに表示させる。そして、「左回転」ボタン、または「右回転」ボタンが操作された場合にはページ単位処理モードの場合と同様の処理を行った後、S51の画面処理に戻る。   When the “manual correction” button is operated on the display screen in S6 of FIG. 16, the control unit 7 causes the display unit 8a to display a display screen similar to that shown in FIGS. 22 (a) and 23 (a). When the “rotate left” button or the “rotate right” button is operated, the same processing as in the page unit processing mode is performed, and then the screen processing returns to S51.

また、「分割」ボタンが操作された後、「分割実行」ボタンが操作されると、制御部7は、サムネイル画像生成部46を制御して分割後の画像データに対応するサムネイル画像を生成させ、S51の処理に戻って分割前の原稿のサムネイル画像を分割後の複数枚の原稿のサムネイル画像に置換したサムネイル画像の一覧を表示部8aに表示させる。図26(c)は分割処理前にS51において表示されるサムネイル画像の一覧の例を示す説明図であり、図26(d)は分割処理後にS51の処理に戻ったときに表示されるサムネイル画像の一覧の例を示す説明図である。その後、分割された各原稿を分割前の各原稿と同様に扱って原稿毎に再読取の要否、再読取条件および再読取の条件設定を行う。   When the “divide” button is operated after the “divide” button is operated, the control unit 7 controls the thumbnail image generation unit 46 to generate a thumbnail image corresponding to the divided image data. Returning to the process of S51, a list of thumbnail images obtained by replacing the thumbnail images of the original document before the division with the thumbnail images of the plurality of original documents after the division is displayed on the display unit 8a. FIG. 26C is an explanatory diagram showing an example of a list of thumbnail images displayed in S51 before the division process, and FIG. 26D is a thumbnail image displayed when returning to the process of S51 after the division process. It is explanatory drawing which shows the example of this list. Thereafter, each divided original is handled in the same manner as each original before division, and whether or not rereading is necessary, rereading conditions, and rereading conditions are set for each original.

なお、前回の原稿読取処理によって取得した原稿の画像データを分割して得られる各原稿の画像データを用いて、当該各原稿について原稿傾き補正、原稿方向補正、下地除去レベルの調整等を行ってから文字認識処理を行い、この文字認識処理結果に基づく重畳画像データを表示部8aに表示させて当該文字認識処理の結果を採用するか否かをユーザに判断させてからS51の処理に戻るようにしてもよい。また、この場合、分割された各原稿についての重畳画像データを表示部8aに表示させ、分割された原稿毎に文字認識結果を採用するか否かをユーザに判断させるようにしてもよい。   The original image data obtained by dividing the original image data obtained by the previous original reading process is used to perform original inclination correction, original direction correction, background removal level adjustment, etc. for each original. The character recognition process is performed, and the superimposed image data based on the result of the character recognition process is displayed on the display unit 8a to allow the user to determine whether or not to adopt the result of the character recognition process, and then the process returns to the process of S51. It may be. In this case, the superimposed image data for each divided document may be displayed on the display unit 8a so that the user can determine whether to adopt the character recognition result for each divided document.

このように、原稿を分割して処理を行うことにより、例えば、図24(a)に示したように割付原稿に含まれるページ毎に文字方向が異なる場合に、各ページの文字方向に応じて文字認識処理を行うことで、文字認識精度を向上させることができる。また、図24(b)に示すように、割付原稿に含まれるページ毎に原稿傾き角度が異なる場合に、ページ毎に原稿傾き補正を行ってから文字認識処理を行うことができるので、文字認識精度を向上させることができる。また、図24(c)に示すように、割付原稿に含まれるページ毎に下地濃度が異なる場合に、ページ毎に下地濃度の除去レベルを設定することで、文字認識精度を向上させることができる。また、図24(d)に示すように、割付原稿に含まれるページ毎に文字サイズが異なる場合に、ページ毎に読取解像度を設定し、文字サイズが小さいページに対する読取解像度を高くすることにより、文字認識精度を向上させることができる。   In this way, by dividing the document and performing processing, for example, as shown in FIG. 24A, when the character direction is different for each page included in the allocated document, the character direction of each page is changed. Character recognition accuracy can be improved by performing the character recognition process. In addition, as shown in FIG. 24B, when the document inclination angle is different for each page included in the allocated document, the character recognition processing can be performed after the document inclination correction is performed for each page. Accuracy can be improved. In addition, as shown in FIG. 24C, when the background density is different for each page included in the allocated document, the character recognition accuracy can be improved by setting the background density removal level for each page. . In addition, as shown in FIG. 24D, when the character size is different for each page included in the allocated document, the reading resolution is set for each page, and the reading resolution for the page having a small character size is increased. Character recognition accuracy can be improved.

なお、図24(a)〜図24(d)では、文字方向、原稿傾き角度、下地濃度、および文字サイズのうちのいずれか1つの条件が割付原稿に含まれるページ毎に異なる場合を示しているが、複数の条件がページ毎に異なる場合には、それら各条件に起因する文字認識精度の低下を抑制するように当該各条件に応じた処理を組み合わせて行えばよい。   FIGS. 24A to 24D show a case where any one of the character direction, the document inclination angle, the background density, and the character size is different for each page included in the allocated document. However, when a plurality of conditions are different for each page, a process corresponding to each condition may be combined to suppress a decrease in character recognition accuracy due to each condition.

以上のように、本実施形態にかかるデジタルカラー複合機1は、画像データと文字認識結果に応じたテキストデータとを含む画像ファイルを出力する前に、再読取時に推奨する読取条件である推奨設定条件を再読取処理におけるデフォルト設定として表示部8aに表示させ、再読取の要否をユーザに確認し、再読取が必要な場合にはユーザからの指示に応じて再読取処理に適用する条件を上記のデフォルト設定から適宜変更してから再読取を行う。これにより、読取条件を適切に設定して再読取処理を行うことができ、文字認識精度を高めることができる。   As described above, the digital color multifunction peripheral 1 according to the present embodiment is recommended setting that is a reading condition recommended at the time of rereading before outputting an image file including image data and text data corresponding to a character recognition result. The condition is displayed on the display unit 8a as a default setting in the rereading process, and the user confirms whether rereading is necessary. If rereading is necessary, the condition to be applied to the rereading process according to an instruction from the user is set. Read again after changing the above default settings as appropriate. As a result, the rereading process can be performed by appropriately setting the reading conditions, and the character recognition accuracy can be improved.

なお、本実施形態では、文字認識部22が原稿検知部14から入力される2値化画像データおよびレイアウト解析結果に基づいて文字認識処理を施すものとしているが、これに限るものではない。例えば、図28に示すように、領域分離部21から出力される領域分離信号を文字認識部22に入力させ、文字認識部22がこの領域分離信号に基づいて文字領域(文字エッジと判定された画素からなる画像領域)を示すテキストマップを生成し、原稿検知部14から入力される2値化画像データにおける文字領域に対してのみレイアウト解析結果を考慮して文字認識処理を行うようにしてもよい。   In the present embodiment, the character recognition unit 22 performs the character recognition process based on the binarized image data input from the document detection unit 14 and the layout analysis result. However, the present invention is not limited to this. For example, as shown in FIG. 28, the region separation signal output from the region separation unit 21 is input to the character recognition unit 22, and the character recognition unit 22 is determined to be a character region (character edge determined based on this region separation signal. A text map indicating an image area including pixels), and character recognition processing may be performed in consideration of the layout analysis result only for the character area in the binarized image data input from the document detection unit 14. Good.

また、図29に示すように、画像データに基づいて原稿の種別を判別する原稿種別自動判別部28を設け、この原稿種別自動判別部28から出力される原稿種別判別信号を文字認識部22に入力させ、原稿種別判別信号が文字を含む原稿(例えば文字原稿、文字印刷写真原稿、文字印画紙写真原稿など)であることを示す場合にのみ、文字認識部22が原稿検知部14から入力される2値化画像データおよびレイアウト解析結果に基づいて文字認識処理を行うようにしてもよい。原稿種別自動判別部28における原稿種別の判別方法は、少なくとも文字を含む原稿と文字を含まない原稿とを判別できる方法であれば特に限定されるものではなく、従来から公知の種々の方法を用いることができる。   Further, as shown in FIG. 29, an automatic document type determination unit 28 for determining the type of document based on the image data is provided, and a document type determination signal output from the automatic document type determination unit 28 is sent to the character recognition unit 22. The character recognition unit 22 is input from the document detection unit 14 only when the document type determination signal indicates that the document includes a character (for example, a character document, a character-printed photo document, a character photographic paper photo document, etc.). Character recognition processing may be performed based on the binarized image data and the layout analysis result. The document type discrimination method in the document type automatic discrimination unit 28 is not particularly limited as long as it can discriminate between a document including at least characters and a document not including characters, and various conventionally known methods are used. be able to.

また、本実施形態では、本発明をデジタルカラー複合機1に適用する場合について説明したが、本発明の適用対象はこれに限るものではない。例えば、デジタルカラー複合機1が有する上記各機能(コピア機能、スキャナ機能、プリンタ機能、ファクシミリ送信機能、scan to e-mail機能)のうちの一部のみを有する装置(例えば複写機、スキャナなど)に適用することもできる。また、外部から取得した画像データに対して文字認識処理を施す画像処理装置(例えばパーソナルコンピュータ、サーバ装置等に備えられる画像処理装置)に適用することもできる。   In the present embodiment, the case where the present invention is applied to the digital color multifunction peripheral 1 has been described. However, the application target of the present invention is not limited to this. For example, an apparatus (for example, a copier, a scanner, etc.) having only a part of the above functions (copier function, scanner function, printer function, facsimile transmission function, scan to e-mail function) of the digital color multifunction peripheral 1 It can also be applied to. Also, the present invention can be applied to an image processing apparatus (for example, an image processing apparatus provided in a personal computer, a server apparatus, etc.) that performs character recognition processing on image data acquired from the outside.

図30は、本発明をカラースキャナ(画像読取装置)1bに適用する場合の構成例を示すブロック図である。なお、デジタルカラー複合機1に備えられる各部材と同様の機能を有する部材については同じ符号を付している。   FIG. 30 is a block diagram showing a configuration example when the present invention is applied to a color scanner (image reading apparatus) 1b. Note that members having the same functions as the members provided in the digital color multifunction peripheral 1 are denoted by the same reference numerals.

図30に示すように、カラースキャナ1bは、画像入力装置2、画像処理装置(画像処理部)3b、記憶部6、制御部7、および操作パネル8を備えている。また、画像処理装置3bは、A/D変換部11、シェーディング補正部12、入力処理部13、下地判定処理部26、露光処理部27、原稿検知部14、原稿補正部15、色補正部16、文字認識部22、再読取処理部23、表示画像データ生成部24、およびPDFファイル生成部25を備えている。これにより、カラースキャナ1bでは、デジタルカラー複合機1における画像送信モードの処理と同様の処理が行われる。なお、PDFファイル生成部25において所定のフォーマットに変換された画像ファイルを、例えばコンピュータやサーバ等へ出力するようにしてもよい。   As illustrated in FIG. 30, the color scanner 1 b includes an image input device 2, an image processing device (image processing unit) 3 b, a storage unit 6, a control unit 7, and an operation panel 8. The image processing apparatus 3b includes an A / D conversion unit 11, a shading correction unit 12, an input processing unit 13, a background determination processing unit 26, an exposure processing unit 27, a document detection unit 14, a document correction unit 15, and a color correction unit 16. A character recognition unit 22, a reread processing unit 23, a display image data generation unit 24, and a PDF file generation unit 25. Thereby, in the color scanner 1b, the same processing as the processing in the image transmission mode in the digital color multifunction peripheral 1 is performed. Note that the image file converted into a predetermined format by the PDF file generation unit 25 may be output to, for example, a computer or a server.

また、本実施形態では、PDFファイル生成部25が、文字認識結果に応じた透明テキストデータを画像データに埋め込んだ画像ファイルを生成するものとしたが、これに限るものではない。例えば、文字認識処理結果に応じたテキストデータを透明テキストとは異なる方法で画像データに対応付けた画像ファイルを生成してもよい。また、文字認識処理結果に応じたテキストファイルを画像データが格納される画像ファイルとは別に生成するようにしてもよい。   In the present embodiment, the PDF file generation unit 25 generates the image file in which the transparent text data corresponding to the character recognition result is embedded in the image data. However, the present invention is not limited to this. For example, an image file in which text data corresponding to a character recognition processing result is associated with image data by a method different from transparent text may be generated. Further, a text file corresponding to the character recognition processing result may be generated separately from the image file storing the image data.

また、本実施形態では、画像入力装置2と画像処理装置3,3bとが、同じ筐体内に備えられている構成について説明したが、これに限るものではない。例えば、画像入力装置2と画像処理装置3,3bとは通信ネットワーク等を介して通信可能に接続されている構成であってもよい。   In the present embodiment, the configuration in which the image input device 2 and the image processing devices 3 and 3b are provided in the same housing has been described. However, the present invention is not limited to this. For example, the image input device 2 and the image processing devices 3 and 3b may be configured to be communicably connected via a communication network or the like.

また、本実施形態において、デジタルカラー複合機1およびカラースキャナ1bに備えられる各部(各ブロック)を、CPU等のプロセッサを用いてソフトウェアによって実現してもよい。この場合、デジタルカラー複合機1およびカラースキャナ1bは、各機能を実現する制御プログラムの命令を実行するCPU(central processing unit)、上記プログラムを格納したROM(read only memory)、上記プログラムを展開するRAM(random access memory)、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている。そして、本発明の目的は、上述した機能を実現するソフトウェアであるデジタルカラー複合機1およびカラースキャナ1bの制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、デジタルカラー複合機1およびカラースキャナ1bに供給し、そのコンピュータ(またはCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによって達成される。   In this embodiment, each unit (each block) included in the digital color multifunction peripheral 1 and the color scanner 1b may be realized by software using a processor such as a CPU. In this case, the digital color multifunction peripheral 1 and the color scanner 1b expand a CPU (central processing unit) that executes instructions of a control program for realizing each function, a ROM (read only memory) that stores the program, and the program. A RAM (random access memory), a storage device (recording medium) such as a memory for storing the program and various data, and the like are provided. An object of the present invention is to enable a computer to read program codes (execution format program, intermediate code program, source program) of control programs for the digital color multifunction peripheral 1 and the color scanner 1b, which are software for realizing the functions described above. The recorded recording medium is supplied to the digital color multifunction peripheral 1 and the color scanner 1b, and the computer (or CPU or MPU) reads and executes the program code recorded on the recording medium.

上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系などを用いることができる。   Examples of the recording medium include a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk / hard disk, and an optical disk such as a CD-ROM / MO / MD / DVD / CD-R. Card system such as IC card, IC card (including memory card) / optical card, or semiconductor memory system such as mask ROM / EPROM / EEPROM / flash ROM.

また、デジタルカラー複合機1およびカラースキャナ1bを通信ネットワークと接続可能に構成し、通信ネットワークを介して上記プログラムコードを供給してもよい。この通信ネットワークとしては、特に限定されず、例えば、インターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(virtual private network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体としては、特に限定されず、例えば、IEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   Further, the digital color multifunction peripheral 1 and the color scanner 1b may be configured to be connectable to a communication network, and the program code may be supplied via the communication network. The communication network is not particularly limited. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication. A net or the like is available. Also, the transmission medium constituting the communication network is not particularly limited. For example, even in the case of wired such as IEEE 1394, USB, power line carrier, cable TV line, telephone line, ADSL line, etc., infrared rays such as IrDA and remote control, Bluetooth ( (Registered trademark), 802.11 wireless, HDR, mobile phone network, satellite line, terrestrial digital network, and the like can also be used. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

また、デジタルカラー複合機1およびカラースキャナ1bの各ブロックは、ソフトウェアを用いて実現されるものに限らず、ハードウェアロジックによって構成されるものであってもよく、処理の一部を行うハードウェアと当該ハードウェアの制御や残余の処理を行うソフトウェアを実行する演算手段とを組み合わせたものであってもよい。   The blocks of the digital color multifunction peripheral 1 and the color scanner 1b are not limited to those realized using software, but may be constituted by hardware logic, and hardware that performs a part of the processing. And a calculation unit that executes software for controlling the hardware and performing the remaining processing may be used.

本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.

本発明は、原稿を読み取って取得した画像データに基づいて上記原稿に記載されている文字の文字認識処理を行う画像処理装置および画像処理方法に適用できる。   The present invention can be applied to an image processing apparatus and an image processing method for performing character recognition processing of characters described in the original based on image data obtained by reading the original.

1 デジタルカラー複合機(画像読取装置、画像形成装置)
1b カラースキャナ(画像読取装置)
2 画像入力装置(画像読取部)
3、3b 画像処理装置(画像処理部)
4 画像出力装置(画像形成部)
5 通信装置
6 記憶部
7 制御部(画像分割部)
8 操作パネル
8a 表示部
8b 操作入力部
14 原稿検知部
15 原稿補正部(補正処理部)
21 領域分離部
22 文字認識部
23 再読取処理部
24 表示画像データ生成部
25 PDFファイル生成部
26 下地判定処理部(補正処理部)
27 露光処理部(補正処理部)
28 原稿種別自動判別部
31 信号変換部
32 解像度変換部(補正処理部)
33 2値化処理部
34 原稿傾き検知部
35 レイアウト解析部
36 サムネイル画像生成部
36 天地方向判定部
41 推奨設定検出部
42 画像合成部
43 テキスト合成部
44 有彩色テキスト生成部
45 重畳画像データ生成部
46 サムネイル生成部
47 プレビュー画像データ生成部
50 原稿自動搬送装置
51 第1コンタクトガラス(原稿載置台)
53 イメージセンサ部(第1読取手段)
54 読取部(第1読取手段、第2読取手段)
71 描画コマンド生成部
72 フォーマット化処理部

1 Digital color MFP (image reading device, image forming device)
1b Color scanner (image reading device)
2 Image input device (image reading unit)
3, 3b Image processing device (image processing unit)
4 Image output device (image forming unit)
5 Communication device 6 Storage unit 7 Control unit (image dividing unit)
8 Operation panel 8a Display unit 8b Operation input unit 14 Document detection unit 15 Document correction unit (correction processing unit)
21 region separation unit 22 character recognition unit 23 reread processing unit 24 display image data generation unit 25 PDF file generation unit 26 background determination processing unit (correction processing unit)
27 Exposure processing unit (correction processing unit)
28 Document Type Automatic Discrimination Unit 31 Signal Conversion Unit 32 Resolution Conversion Unit (Correction Processing Unit)
33 Binarization processing unit 34 Document tilt detection unit 35 Layout analysis unit 36 Thumbnail image generation unit 36 Vertical direction determination unit 41 Recommended setting detection unit 42 Image synthesis unit 43 Text synthesis unit 44 Chromatic color text generation unit 45 Superimposed image data generation unit 46 Thumbnail generation unit 47 Preview image data generation unit 50 Automatic document feeder 51 First contact glass (original placement table)
53 Image sensor unit (first reading means)
54 Reading section (first reading means, second reading means)
71 Drawing command generator 72 Formatting processor

Claims (14)

原稿を読み取って当該原稿の画像データを取得する画像読取部と、上記画像データに基づいて上記原稿に含まれる文字の文字認識処理を行うとともに当該文字認識処理の認識精度を算出する文字認識部を有する画像処理部とを備えた画像読取装置であって、
上記文字認識部によって算出された文字認識精度が所定値以下である原稿について、文字認識精度を改善するために推奨される当該原稿の再読取時の設定条件である推奨設定条件を検出する推奨設定検出部と、
上記推奨設定条件を表示する表示部とを備えていることを特徴とする画像読取装置。
An image reading unit that reads an original and obtains image data of the original, and a character recognition unit that performs character recognition processing of characters included in the original based on the image data and calculates recognition accuracy of the character recognition processing An image reading apparatus comprising an image processing unit having
Recommended settings for detecting recommended setting conditions, which are recommended settings for re-reading the original document, in order to improve the character recognition accuracy, for a document whose character recognition accuracy calculated by the character recognition unit is a predetermined value or less A detection unit;
An image reading apparatus comprising: a display unit that displays the recommended setting condition.
上記画像読取部は、原稿を搬送する原稿自動搬送装置と、搬送されている原稿を読み取って原稿の画像データを取得する第1読取手段とを備えており、
上記第1読取手段による原稿読み取り時の原稿の正規の配置位置に対する上記原稿を読み取ったときの傾き角度を上記画像データに基づいて算出する原稿傾き検知部を備え、
上記推奨設定検出部は、上記文字認識部によって算出された文字認識精度が所定値以下であり、かつ上記傾き角度が所定角度以上である原稿について、上記原稿自動搬送装置による搬送時の上記原稿の向きを変更して再読取を行うことを上記推奨設定条件として検出することを特徴とする請求項1に記載の画像読取装置。
The image reading unit includes an automatic document feeder that conveys a document, and a first reading unit that reads the conveyed document and acquires image data of the document.
A document inclination detecting unit that calculates an inclination angle when the original is read with respect to a normal arrangement position of the original when the original is read by the first reading unit based on the image data;
The recommended setting detection unit is configured to detect a document having a character recognition accuracy calculated by the character recognition unit that is equal to or less than a predetermined value and an inclination angle that is equal to or greater than a predetermined angle. The image reading apparatus according to claim 1, wherein the re-reading by changing the direction is detected as the recommended setting condition.
上記画像読取部は、原稿を搬送する原稿自動搬送装置と、搬送されている原稿を読み取って原稿の画像データを取得する第1読取手段とを備えており、
上記第1読取手段による原稿読み取り時の原稿の正規の配置位置に対する上記原稿を読み取ったときの傾き角度を上記画像データに基づいて算出する原稿傾き検知部を備え、
上記推奨設定検出部は、上記文字認識部によって算出された文字認識精度が所定値以下であり、かつ上記傾き角度が所定角度以上である原稿について、上記原稿自動搬送装置による上記原稿の搬送速度を変更して再読取を行うことを上記推奨設定条件として検出することを特徴とする請求項1に記載の画像読取装置。
The image reading unit includes an automatic document feeder that conveys a document, and a first reading unit that reads the conveyed document and acquires image data of the document.
A document inclination detecting unit that calculates an inclination angle when the original is read with respect to a normal arrangement position of the original when the original is read by the first reading unit based on the image data;
The recommended setting detection unit determines the conveyance speed of the document by the automatic document conveyance device for a document in which the character recognition accuracy calculated by the character recognition unit is a predetermined value or less and the inclination angle is a predetermined angle or more. The image reading apparatus according to claim 1, wherein a change and rereading are detected as the recommended setting condition.
上記画像読取部は、原稿を搬送する原稿自動搬送装置と、搬送されている原稿を読み取って原稿の画像データを取得する第1読取手段とを備えており、
上記第1読取手段による原稿読み取り時の原稿の正規の配置位置に対する上記原稿を読み取ったときの傾き角度を上記画像データに基づいて算出する原稿傾き検知部を備え、
上記推奨設定検出部は、上記文字認識部によって算出された文字認識精度が所定値以下であり、かつ上記傾き角度が所定角度以上である原稿について、上記原稿自動搬送装置による搬送時の上記原稿の向き、および上記原稿自動搬送装置による上記原稿の搬送速度のうちのいずれか一方を変更して再読取を行うことを上記推奨設定条件として検出し、
上記推奨設定条件に基づいて上記原稿を再読取して取得した画像データに対する上記文字認識部による文字認識処理の文字認識精度が上記所定値以下であって、かつ当該画像データに基づいて上記原稿傾き検知部が算出した傾き角度が上記所定角度以上である場合に、上記推奨設定検出部は、上記原稿自動搬送装置による搬送時の上記原稿の向き、および上記原稿自動搬送装置による上記原稿の搬送速度のうちの他方または両方を変更して再読取を行うことを上記推奨設定条件として検出することを特徴とする請求項1に記載の画像読取装置。
The image reading unit includes an automatic document feeder that conveys a document, and a first reading unit that reads the conveyed document and acquires image data of the document.
A document inclination detecting unit that calculates an inclination angle when the original is read with respect to a normal arrangement position of the original when the original is read by the first reading unit based on the image data;
The recommended setting detection unit is configured to detect a document having a character recognition accuracy calculated by the character recognition unit that is equal to or less than a predetermined value and an inclination angle that is equal to or greater than a predetermined angle. It is detected as the recommended setting condition that rereading is performed by changing any one of the direction and the document conveying speed by the document automatic conveying device,
The character recognition accuracy of the character recognition processing by the character recognition unit for the image data obtained by re-reading the document based on the recommended setting condition is equal to or lower than the predetermined value, and the document inclination is determined based on the image data. When the inclination angle calculated by the detection unit is equal to or greater than the predetermined angle, the recommended setting detection unit detects the orientation of the original when the automatic document feeder conveys the document and the conveyance speed of the document by the automatic document feeder. 2. The image reading apparatus according to claim 1, wherein the re-reading by changing the other one or both of the two is detected as the recommended setting condition.
上記画像読取部は、原稿を静止させた状態で載置する原稿載置台と、上記原稿載置台に載置された原稿を読み取って原稿の画像データを取得する第2読取手段とを備えており、
上記推奨設定検出部は、上記原稿自動搬送装置を用いた上記原稿の再読取を所定回数行っても当該原稿についての上記文字認識部による文字認識処理の文字認識精度が上記所定値よりも高くならない場合に、上記原稿を上記原稿載置台に載置して再読取を行うことを上記推奨設定条件として検出することを特徴とする請求項2から4のいずれか1項に記載の画像読取装置。
The image reading unit includes a document placing table on which the document is placed in a stationary state, and a second reading unit that reads the document placed on the document placing table and obtains image data of the document. ,
The recommended setting detection unit does not increase the character recognition accuracy of the character recognition processing by the character recognition unit for the document even if the document is re-read using the automatic document feeder a predetermined number of times. 5. The image reading apparatus according to claim 2, wherein the recommended setting condition is that the document is placed on the document placing table and re-reading is detected.
上記画像読取部における原稿読み取り時の原稿の正規の配置位置に対する上記原稿を読み取ったときの傾き角度を上記画像データに基づいて算出する原稿傾き検知部を備え、
上記推奨設定検出部は、上記文字認識部によって算出された文字認識精度が所定値以下であり、かつ上記傾き角度が所定角度未満である場合に、上記画像読取部における読取解像度を変更して再読取を行うことを上記推奨設定条件として検出することを特徴とする請求項1に記載の画像読取装置。
A document inclination detecting unit that calculates an inclination angle when the original is read with respect to a normal arrangement position of the original when the original is read in the image reading unit based on the image data;
When the character recognition accuracy calculated by the character recognition unit is equal to or less than a predetermined value and the tilt angle is less than the predetermined angle, the recommended setting detection unit changes the reading resolution in the image reading unit and re- The image reading apparatus according to claim 1, wherein reading is detected as the recommended setting condition.
上記画像読取部は、
原稿を搬送する原稿自動搬送装置と、搬送されている原稿を読み取って原稿の画像データを取得する第1読取手段とを備え、
複数枚の原稿を上記原稿自動搬送装置によって連続的に搬送するページ一括処理モードを有しており、
上記ページ一括処理モードによって上記原稿の再読取を行う場合に、連続的に搬送される複数枚の原稿のうち、前回の読取時に文字認識精度が所定値以下であった原稿について再読取を行う一方、文字認識精度が所定値よりも高かった原稿については再読取を行わずに搬送のみを行うことを特徴とする請求項1から6のいずれか1項に記載の画像読取装置。
The image reading unit
An automatic document feeder that conveys a document; and a first reading unit that reads the document being conveyed and acquires image data of the document;
A page batch processing mode in which a plurality of documents are continuously conveyed by the automatic document feeder;
When re-reading the document in the page batch processing mode, the re-reading is performed on a document whose character recognition accuracy is less than or equal to a predetermined value at the previous reading among a plurality of continuously conveyed documents. The image reading apparatus according to any one of claims 1 to 6, wherein only a document having character recognition accuracy higher than a predetermined value is transported without being read again.
上記画像データが複数枚の原稿からなる画像データである場合に、上記文字認識部は原稿毎に文字認識精度を算出し、上記推奨設定検出部は文字認識精度が所定値以下である各原稿について原稿毎に上記推奨設定条件を検出し、
前回の読取時に取得した複数枚の原稿の画像データのうち、文字認識精度が所定値以下であった原稿の画像データを、再読取によって取得した当該原稿の画像データに置換する画像合成部を備えていることを特徴とする請求項1から7のいずれか1項に記載の画像読取装置。
When the image data is image data composed of a plurality of documents, the character recognition unit calculates the character recognition accuracy for each document, and the recommended setting detection unit detects each document whose character recognition accuracy is a predetermined value or less. The above recommended setting conditions are detected for each original,
An image composition unit that replaces image data of a document whose character recognition accuracy is a predetermined value or less among image data of a plurality of documents acquired at the time of the previous reading with the image data of the document acquired by re-reading. The image reading apparatus according to claim 1, wherein the image reading apparatus is an image reading apparatus.
原稿から読み取って取得した画像データに対して、読み取り時の原稿の傾きを補正する原稿傾き補正処理、読み取り時の原稿の向きを90度単位で補正する天地方向補正処理、原稿の下地領域を検知して下地除去を行う下地検知除去処理、および解像度変換処理のうちのいずれか1つ以上の処理を行う補正処理部と、
上記原稿が複数ページを1枚の原稿に割り付けた割付原稿である場合に、当該原稿の画像データを当該原稿に含まれるページ毎に分割する画像分割部とを備え、
上記補正処理部は、上記画像分割部によって分割された上記各ページの画像データに対してページ毎に上記処理を行い、
上記文字認識部は、上記画像分割部によって上記処理が施された上記各ページの画像データに基づいてページ毎に文字認識処理を行うことを特徴とする請求項1から8のいずれか1項に記載の画像読取装置。
For image data obtained by reading from a document, document skew correction processing that corrects the document tilt at the time of scanning, top-to-bottom direction correction processing that corrects the orientation of the document at the time of reading by 90 degrees, and detection of the background area of the document A correction processing unit that performs at least one of a background detection removal process that performs background removal and a resolution conversion process;
An image dividing unit that divides image data of the original for each page included in the original when the original is an assigned original in which a plurality of pages are assigned to one original;
The correction processing unit performs the processing for each page on the image data of each page divided by the image dividing unit,
The said character recognition part performs a character recognition process for every page based on the image data of each said page to which the said process was performed by the said image division part, The any one of Claim 1 to 8 characterized by the above-mentioned. The image reading apparatus described.
上記画像読取部は、上記割付原稿の再読取を行う場合に、読取解像度を前回の読取解像度よりも高い解像度に変更して再読取を行い、
上記画像分割部は、前回の読取解像度よりも高い解像度で再読取された上記割付原稿の画像データを当該割付原稿に含まれるページ毎に分割することを特徴とする請求項9に記載の画像読取装置。
The image reading unit performs rereading by changing the reading resolution to a higher resolution than the previous reading resolution when rereading the allocated document.
The image reading unit according to claim 9, wherein the image dividing unit divides the image data of the allocated document re-read at a resolution higher than the previous reading resolution for each page included in the allocated document. apparatus.
請求項1から10のいずれか1項に記載の画像読取装置と、
上記画像読取装置によって読み取られた画像データに応じた画像を記録材上に形成する画像形成部とを備えていることを特徴とする画像形成装置。
The image reading apparatus according to any one of claims 1 to 10,
An image forming apparatus comprising: an image forming unit that forms an image on a recording material according to image data read by the image reading apparatus.
原稿を読み取って当該原稿の画像データを取得する画像読取工程と、上記画像データに基づいて上記原稿に含まれる文字の文字認識処理を行う文字認識工程と、上記文字認識処理の文字認識精度を算出する認識精度算出工程とを含む画像読取方法であって、
上記認識精度算出工程によって算出された文字認識精度が所定値以下である原稿について、文字認識精度を改善するために推奨される当該原稿の再読取時の設定条件である推奨設定条件を検出する推奨設定検出工程と、
上記推奨設定条件を表示する表示工程とを含むことを特徴とする画像読取方法。
An image reading step of reading an original to obtain image data of the original, a character recognition step of performing character recognition processing of characters included in the original based on the image data, and calculating character recognition accuracy of the character recognition processing An image reading method including a recognition accuracy calculation step to perform,
Recommended for detecting recommended setting conditions that are recommended for re-reading originals for improving the character recognition accuracy for originals whose character recognition accuracy calculated by the recognition accuracy calculation step is less than or equal to a predetermined value. A setting detection process;
And a display step for displaying the recommended setting condition.
請求項1から9のいずれか1項に記載の画像読取装置を動作させるプログラムであって、コンピュータを上記各部として機能させるためのプログラム。   A program for operating the image reading apparatus according to any one of claims 1 to 9, wherein the program causes a computer to function as each unit. 請求項13に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。
A computer-readable recording medium on which the program according to claim 13 is recorded.
JP2010269360A 2010-12-02 2010-12-02 Image reading device, image formation device, image reading method, program and recording medium therefor Pending JP2012118863A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010269360A JP2012118863A (en) 2010-12-02 2010-12-02 Image reading device, image formation device, image reading method, program and recording medium therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010269360A JP2012118863A (en) 2010-12-02 2010-12-02 Image reading device, image formation device, image reading method, program and recording medium therefor

Publications (1)

Publication Number Publication Date
JP2012118863A true JP2012118863A (en) 2012-06-21

Family

ID=46501580

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010269360A Pending JP2012118863A (en) 2010-12-02 2010-12-02 Image reading device, image formation device, image reading method, program and recording medium therefor

Country Status (1)

Country Link
JP (1) JP2012118863A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282378A (en) * 2014-06-06 2016-01-27 佳能株式会社 Image reading apparatus and control method
US9413841B2 (en) 2013-09-25 2016-08-09 Canon Kabushiki Kaisha Image processing system, image processing method, and medium
JP2018133763A (en) * 2017-02-17 2018-08-23 富士ゼロックス株式会社 Data processing device and data processing program
WO2019058532A1 (en) * 2017-09-22 2019-03-28 日本たばこ産業株式会社 Product information acquisition system and product information acquisition method
US11134171B1 (en) 2020-06-30 2021-09-28 Kyocera Document Solutions Inc. Image reading apparatus, image forming apparatus, and image reading method that perform image processing for each area
US11212419B1 (en) 2020-06-30 2021-12-28 Kyocera Document Solutions Inc. Image reading system, image forming system, and image reading method that perform image processing for each area
JP7451968B2 (en) 2019-11-29 2024-03-19 株式会社リコー Information processing system, program and information processing method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9413841B2 (en) 2013-09-25 2016-08-09 Canon Kabushiki Kaisha Image processing system, image processing method, and medium
CN105282378A (en) * 2014-06-06 2016-01-27 佳能株式会社 Image reading apparatus and control method
US9571694B2 (en) 2014-06-06 2017-02-14 Canon Kabushiki Kaisha Image reading apparatus, method for controlling the same, and storage medium
JP2018133763A (en) * 2017-02-17 2018-08-23 富士ゼロックス株式会社 Data processing device and data processing program
WO2019058532A1 (en) * 2017-09-22 2019-03-28 日本たばこ産業株式会社 Product information acquisition system and product information acquisition method
JP7451968B2 (en) 2019-11-29 2024-03-19 株式会社リコー Information processing system, program and information processing method
US11134171B1 (en) 2020-06-30 2021-09-28 Kyocera Document Solutions Inc. Image reading apparatus, image forming apparatus, and image reading method that perform image processing for each area
US11212419B1 (en) 2020-06-30 2021-12-28 Kyocera Document Solutions Inc. Image reading system, image forming system, and image reading method that perform image processing for each area

Similar Documents

Publication Publication Date Title
JP5280425B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, program, and recording medium thereof
JP4772888B2 (en) Image processing apparatus, image forming apparatus, image processing method, program, and recording medium thereof
JP4758502B2 (en) Image processing apparatus, image reading apparatus, image transmitting apparatus, image forming apparatus, image processing method, program, and recording medium thereof
JP4927122B2 (en) Image processing method, image processing apparatus, image forming apparatus, program, and recording medium
JP5813523B2 (en) Image processing apparatus, image forming apparatus, image processing method, program, and recording medium
JP5972578B2 (en) Image processing apparatus, image forming apparatus, program, and recording medium
US8848240B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, and recording medium
JP2010146185A (en) Image processing apparatus, image reading apparatus, image sending apparatus, image processing method, program, and recording medium thereof
JP2012105132A (en) Image processing device, image formation device, image reading device, image processing method, program, and recording medium
JP2012118863A (en) Image reading device, image formation device, image reading method, program and recording medium therefor
JP2014059766A (en) Image processing apparatus, image forming apparatus, program, and recording medium
JP2011008549A (en) Image processor, image reader, multifunctional machine, image processing method, program, and recording medium
JP2013123119A (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, computer program, and recording medium
JP2017130811A (en) Image processing apparatus, image processing method, image processing program, and recording medium
JP2012074852A (en) Image processing device, image formation device, image reading device, image processing method, image processing program and recording medium
CN111835931A (en) Image processing apparatus, image forming apparatus, and image reading apparatus
JP6860609B2 (en) Image processing equipment, image forming equipment, computer programs and recording media
JP2010161745A (en) Image processor, image reader, image transmission device, image formation device, image processing method, program, and recording medium of the same
JP2010273119A (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP2010287178A (en) Image processing device, image reading apparatus, multifunction machine, image processing method, program and recording medium
JP2010286917A (en) Image processor, image scanner, multifunction apparatus, image processing method, program, and recording medium
JP2011010232A (en) Image processing apparatus, image reading apparatus, multi function peripheral, image processing method, program and recording medium
US11863717B2 (en) Image reading apparatus and image reading method
JP2022189063A (en) Image data generation device and image data generation method
JP2016178451A (en) Image processing apparatus, image forming apparatus, computer program, and recording medium