JP4884305B2 - Image processing apparatus, image forming apparatus, computer program, and recording medium - Google Patents

Image processing apparatus, image forming apparatus, computer program, and recording medium Download PDF

Info

Publication number
JP4884305B2
JP4884305B2 JP2007150862A JP2007150862A JP4884305B2 JP 4884305 B2 JP4884305 B2 JP 4884305B2 JP 2007150862 A JP2007150862 A JP 2007150862A JP 2007150862 A JP2007150862 A JP 2007150862A JP 4884305 B2 JP4884305 B2 JP 4884305B2
Authority
JP
Japan
Prior art keywords
scanning direction
sub
document
image
main scanning
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.)
Active
Application number
JP2007150862A
Other languages
Japanese (ja)
Other versions
JP2008305099A (en
Inventor
大作 今泉
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 JP2007150862A priority Critical patent/JP4884305B2/en
Publication of JP2008305099A publication Critical patent/JP2008305099A/en
Application granted granted Critical
Publication of JP4884305B2 publication Critical patent/JP4884305B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Description

本発明は、原稿が複数の画像を割り付けた割付原稿であるか否かを判定する画像処理装置、画像形成装置、コンピュータプログラム、及び記録媒体に関する。 The present invention, document images processor you determine whether the allocation document assigned a plurality of image, the image forming apparatus, a computer program, and a recording medium.

従来、印刷枚数を低減する方法として、1枚の紙面に2つの原稿、あるいは4つの原稿を割り付けて印刷するNin1機能(又はNup機能)と呼ばれる方法があり、原稿画像を複写、あるいは、電子データとして保存したり、コンピュータで作成した文書を印刷する際に利用されている。   Conventionally, as a method of reducing the number of printed sheets, there is a method called a Nin1 function (or Nup function) that allocates and prints two originals or four originals on one sheet of paper, and copies an original image or electronic data It is used when printing a document created on a computer or created on a computer.

例えば、特許文献1では、製本原稿の見開き左右頁を分割して一枚ずつの転写紙に転写する独立頁モードを選択した時に、独立頁の綴じ部部分の読み取り画像を転写紙の綴じ部側に強制的にオーバーラップさせてプリントすることが記載されている。これにより、検出した綴じ部位置と実際の綴じ部位置とのずれに伴う、独立頁モードでの読み取り画像データの左右頁の分割位置ずれによる画像欠けをなくすことができる。   For example, in Patent Document 1, when the independent page mode is selected in which the spread left and right pages of a bookbinding document are divided and transferred onto individual transfer sheets, the read image of the binding portion of the independent pages is transferred to the binding portion side of the transfer sheet. Describes that printing is forcibly overlapped. As a result, it is possible to eliminate image missing due to a shift in the divided position of the left and right pages of the read image data in the independent page mode due to a shift between the detected binding portion position and the actual binding portion position.

また、特許文献2では、特定サイズの原稿(例えば、A3サイズ)について、2頁分割読み取り送信モードを設け、特定のサイズの原稿情報を送信する場合、原稿情報の右半分を読み取り、縦横変換して送信し、続いて原稿情報の左半分を読み取り、縦横変換して送信することが記載されている。
特開平9−166938号公報 特開平10−190895号公報
In Patent Document 2, a two-page divided reading / transmission mode is provided for a document of a specific size (for example, A3 size), and when the document information of a specific size is transmitted, the right half of the document information is read and converted into vertical and horizontal directions. Are transmitted, followed by reading the left half of the document information, converting the image to portrait and landscape, and transmitting.
JP-A-9-166938 JP-A-10-190895

しかしながら、前述した従来技術では、2面割付原稿を片面ずつ複写する場合、独立頁モード(特許文献1)、2頁分割読み取り送信モード(特許文献2)など、画像モードを設ける必要がある。   However, in the above-described prior art, when copying a two-sided original document one by one, it is necessary to provide an image mode such as an independent page mode (Patent Document 1) and a two-page divided reading / transmitting mode (Patent Document 2).

そのため、割り付けを行っていない原稿と割り付けを行った原稿とが混在し、割り付けを行った原稿についてそれぞれの領域毎に印刷する場合、画像モードを設ける方法では対応できないという問題点を有する。   For this reason, there is a problem that a method of providing an image mode cannot cope with a case where an unallocated document and an allocated document are mixed, and the allocated document is printed for each area.

本発明は斯かる事情に鑑みてなされたものであり、主走査方向及び副走査方向に沿った複数のラインについて各ラインの特徴を表す特徴量を算出し、各ラインの特徴量と予め定めた閾値とを比較し、特徴量が存在しないと判断されるラインが所定の条件を満たして存在するか否かを判定することによって割付原稿であるか否かを判定する構成とすることにより、割付原稿と通常の原稿とが混在している場合であっても、特定の処理モードを設定することなく割付原稿であるか否かを判定することができる画像処理装置、画像形成装置、コンピュータプログラム、及び記録媒体を提供することを目的とする。 The present invention has been made in view of such circumstances, and calculates feature amounts representing the characteristics of each line for a plurality of lines along the main scanning direction and the sub-scanning direction, and the feature amount of each line is determined in advance. The layout is determined by comparing with a threshold and determining whether or not a line determined to have no feature value satisfies a predetermined condition and is a layout document. even if the original and the usual original are mixed, particular processing mode setting can be Ru images processing device to determine whether the N-up document without the image forming apparatus, a computer It is an object to provide a program and a recording medium.

本発明に係る画像処理装置は、原稿を読み取ることにより得られる画像に基づき、前記原稿の種別を判定する画像処理装置において、前記画像を2値化する手段と、2値化した画像を主走査方向及び副走査方向に走査して、該主走査方向及び副走査方向に沿った複数のラインについて各ラインの特徴を表す特徴量を、走査した各ライン上で2値の一方から他方に反転する回数として抽出する手段と、抽出した各ラインの特徴量と予め定めた閾値とを比較し、特徴量が前記閾値以下と判断したラインが所定数だけ連続する空白領域の数を前記主走査方向及び副走査方向の夫々について計数する手段と、計数した前記主走査方向及び副走査方向の空白領域の数が予め定めた条件を満たすか否かを判定する手段とを備え、前記空白領域の数が前記条件を満たすと判定した場合、前記原稿が複数の画像を1頁内に割り付けた割付原稿であると判定するようにしてあることを特徴とする。 An image processing apparatus according to the present invention includes a unit for binarizing the image and a main scanning of the binarized image in the image processing apparatus for determining the type of the document based on an image obtained by reading the document. Scanning in the direction and the sub-scanning direction, and the feature amount representing the characteristics of each line for a plurality of lines along the main scanning direction and the sub-scanning direction is inverted from one of the binary values to the other on each scanned line. The means for extracting the number of times is compared with a feature value of each extracted line and a predetermined threshold value, and the number of blank areas in which a predetermined number of lines whose feature value is determined to be equal to or less than the threshold value is determined in the main scanning direction and Means for counting each in the sub-scanning direction, and means for determining whether or not the counted number of blank areas in the main scanning direction and the sub-scanning direction satisfies a predetermined condition. Said article When it is determined that meet, characterized in that the document are to be determined that the allocation document assigned a plurality of images in one page.

本発明にあっては、主走査方向及び副走査方向に沿った複数のラインについて各ラインの特徴を表す特徴量を算出し、各ラインの特徴量と予め定めた閾値とを比較し、特徴量が存在しないと判断されるラインが所定の条件を満たして存在するか否かを判定することによって割付原稿であるか否かを判定するようにしているため、割付原稿と割付原稿でない通常の原稿とが混在している場合であっても、特定の処理モードを設定することなく割付原稿であるか否かが判定される。   In the present invention, a feature amount representing a feature of each line is calculated for a plurality of lines along the main scanning direction and the sub-scanning direction, the feature amount of each line is compared with a predetermined threshold value, and the feature amount is calculated. Since it is determined whether or not a line that is determined to be nonexistent exists by satisfying a predetermined condition, it is determined whether or not it is an allocated document. Is mixed, it is determined whether the document is an allocated document without setting a specific processing mode.

本発明にあっては、特殊なパラメータではなく、一般的によく用いられている特徴量として反転回数を用いて割付原稿の判定が可能となる。   In the present invention, it is possible to determine an assigned document by using the number of times of reversal as a feature amount that is generally used rather than a special parameter.

本発明に係る画像処理装置は、原稿を読み取ることにより得られる画像に基づき、前記原稿の種別を判定する画像処理装置において、前記画像を主走査方向及び副走査方向に走査して、該主走査方向及び副走査方向に沿った複数のラインについて各ライン上で画像のエッジを検出する手段と、前記主走査方向及び副走査方向の各ラインの特徴を表す特徴量を、ライン毎に検出したエッジの数として抽出する手段と、抽出した各ラインの特徴量と予め定めた閾値とを比較し、特徴量が前記閾値以下と判断したラインが所定数だけ連続する空白領域の数を前記主走査方向及び副走査方向の夫々について計数する手段と、計数した前記主走査方向及び副走査方向の空白領域の数が予め定めた条件を満たすか否かを判定する手段とを備え、前記空白領域の数が前記条件を満たすと判定した場合、前記原稿が複数の画像を1頁内に割り付けた割付原稿であると判定するようにしてあることを特徴とする。 An image processing apparatus according to the present invention scans the image in the main scanning direction and the sub-scanning direction in the image processing apparatus that determines the type of the document based on an image obtained by reading the document, and performs the main scanning. Means for detecting an edge of an image on each line for a plurality of lines along the direction and the sub-scanning direction, and an edge for which a feature amount representing the characteristic of each line in the main scanning direction and the sub-scanning direction is detected for each line And a feature value of each extracted line is compared with a predetermined threshold value, and the number of blank areas in which a predetermined number of lines whose feature value is determined to be equal to or less than the threshold value is determined in the main scanning direction. And a means for counting each in the sub-scanning direction, and a means for determining whether or not the counted number of blank areas in the main scanning direction and the sub-scanning direction satisfies a predetermined condition. If the number of is determined to the condition is satisfied, wherein the document are to be determined that the allocation document assigned a plurality of images in one page.

本発明にあっては、特殊なパラメータではなく、一般的によく用いられている特徴量としてエッジの数を用いて割付原稿の判定が可能となる。   In the present invention, it is possible to determine a document to be assigned by using the number of edges as a feature quantity that is generally used rather than a special parameter.

本発明に係る画像処理装置は、原稿を読み取ることにより得られる画像に基づき、前記原稿の種別を判定する画像処理装置において、前記画像を主走査方向及び副走査方向に走査して、該主走査方向及び副走査方向に沿った複数のラインについて各ラインの特徴を表す特徴量を、各ラインに含まれる画素画素値の平均値として算出する手段と、算出した各ラインの特徴量と予め定めた閾値とを比較し、特徴量が前記閾値以下と判断したラインが所定数だけ連続する空白領域の数を前記主走査方向及び副走査方向の夫々について計数する手段と、計数した前記主走査方向及び副走査方向の空白領域の数が予め定めた条件を満たすか否かを判定する手段とを備え、前記空白領域の数が前記条件を満たすと判定した場合、前記原稿が複数の画像を1頁内に割り付けた割付原稿であると判定するようにしてあることを特徴とする。 An image processing apparatus according to the present invention scans the image in the main scanning direction and the sub-scanning direction in the image processing apparatus that determines the type of the document based on an image obtained by reading the document, and performs the main scanning. Means for calculating a feature amount representing a feature of each line for a plurality of lines along the direction and the sub-scanning direction as an average value of pixel values of pixels included in each line, and a predetermined feature amount for each line Means for counting the number of blank areas in which a predetermined number of lines whose feature amount is determined to be equal to or less than the threshold value are counted in each of the main scanning direction and the sub-scanning direction, and the counted main scanning direction And means for determining whether or not the number of blank areas in the sub-scanning direction satisfies a predetermined condition, and when it is determined that the number of blank areas satisfies the condition, the document includes a plurality of images. Characterized in that you have to be determined that the allocation document allocated to the page.

本発明にあっては、特殊なパラメータではなく、一般的によく用いられている特徴量として画素値の平均値を用いて割付原稿の判定が可能となる。   According to the present invention, it is possible to determine a document to be allocated using an average value of pixel values as a feature value that is generally used rather than a special parameter.

本発明に係る画像処理装置は、原稿を読み取ることにより得られる画像に基づき、前記原稿の種別を判定する画像処理装置において、前記画像を主走査方向及び副走査方向に走査して、該主走査方向及び副走査方向に沿った複数のラインについて各ラインの特徴を表す特徴量を、走査した各ラインに含まれる画素画素値のばらつきとして算出する手段と、算出した各ラインの特徴量と予め定めた閾値とを比較し、特徴量が前記閾値以下と判断したラインが所定数だけ連続する空白領域の数を前記主走査方向及び副走査方向の夫々について計数する手段と、計数した前記主走査方向及び副走査方向の空白領域の数が予め定めた条件を満たすか否かを判定する手段とを備え、前記空白領域の数が前記条件を満たすと判定した場合、前記原稿が複数の画像を1頁内に割り付けた割付原稿であると判定するようにしてあることを特徴とする。 An image processing apparatus according to the present invention scans the image in the main scanning direction and the sub-scanning direction in the image processing apparatus that determines the type of the document based on an image obtained by reading the document, and performs the main scanning. Means for calculating a feature amount representing a feature of each line for a plurality of lines along the direction and the sub-scanning direction as variations in pixel values of pixels included in each scanned line; A means for counting a number of blank areas in which a predetermined number of lines whose feature amount is determined to be equal to or less than the threshold value are compared for each of the main scanning direction and the sub-scanning direction, and the counted main scanning Means for determining whether or not the number of blank areas in the direction and the sub-scanning direction satisfies a predetermined condition, and when it is determined that the number of blank areas satisfies the condition, the document is duplicated. Characterized in that the image are to be determined that the allocation document allocated to the first page.

本発明にあっては、特殊なパラメータではなく、一般的によく用いられている特徴量として画素値のばらつき(分散値)を用いて割付原稿の判定が可能となる。   In the present invention, it is possible to determine a document to be assigned using not a special parameter but a variation (dispersion value) of pixel values as a commonly used feature amount.

本発明に係る画像処理装置は、走査する画像を低解像度化する手段を更に備えることを特徴とする。   The image processing apparatus according to the present invention further includes means for reducing the resolution of an image to be scanned.

本発明にあっては、判定精度を落とすことなく、データ量を少なくすることができる。割付原稿であるか否かを判断する空白領域は広いため、解像度を低下させても判定精度を低下させることはない。   In the present invention, the data amount can be reduced without degrading the determination accuracy. Since the blank area for determining whether or not the document is an allocated document is wide, the determination accuracy is not decreased even if the resolution is decreased.

本発明に係る画像処理装置は、前記画像が割付原稿であると判定した場合、割り付けられた画像の夫々を抽出する手段と、抽出した夫々の画像を1頁ずつ画像形成するために、前記夫々の画像に対して所定の処理を施す画像処理手段とを備えることを特徴とする。
また、本発明に係る画像形成装置は、前記画像処理装置と、該画像処理装置が備える画像処理手段により処理を施した画像をシート上に形成する手段とを備えることを特徴とする。
When the image processing apparatus according to the present invention determines that the image is an allocated document, the image processing apparatus extracts each of the allocated images, and forms each of the extracted images one page at a time. And image processing means for performing predetermined processing on the image.
The image forming apparatus according to the present invention is characterized by comprising said image processing apparatus, and means for the image subjected to processing by the image processing means the image processing apparatus has formed on the sheet.

本発明にあっては、割付原稿であるか否かを自動的に判断するので、ユーザが画像モードを設定するなどの手間を省いた使い勝手のよい画像形成装置を提供することができる。   In the present invention, since it is automatically determined whether or not the document is a layout document, it is possible to provide an easy-to-use image forming apparatus that saves the user from setting the image mode.

本発明に係るコンピュータプログラムは、コンピュータに、原稿を読み取ることにより得られた画像に基づいて前記原稿の種別を判定させるコンピュータプログラムにおいて、コンピュータに、前記画像を2値化させるステップと、2値化させた画像を主走査方向及び副走査方向に走査させて、該主走査方向及び副走査方向に沿った複数のラインについて各ラインの特徴を表す特徴量を、走査させた各ライン上で2値の一方から他方に反転する回数として抽出させるステップと、抽出させた各ラインの特徴量と予め定めた閾値とを比較させ、特徴量が前記閾値以下と判断したラインが所定数だけ連続する空白領域の数を前記主走査方向及び副走査方向の夫々について計数させるステップと、計数させた前記主走査方向及び副走査方向の空白領域の数が予め定めた条件を満たすか否かを判定させるステップと、前記空白領域の数が前記条件を満たすと判定した場合、前記原稿が複数の画像を1頁内に割り付けた割付原稿であると判定させるステップとを実行させることを特徴とする。
また、本発明に係るコンピュータプログラムは、コンピュータに、原稿を読み取ることにより得られた画像に基づいて前記原稿の種別を判定させるコンピュータプログラムにおいて、コンピュータに、前記画像を主走査方向及び副走査方向に走査させて、該主走査方向及び副走査方向に沿った複数のラインについて各ライン上で画像のエッジを検出させるステップと、前記主走査方向及び副走査方向の各ラインの特徴を表す特徴量を、ライン毎に検出したエッジの数として抽出させるステップと、抽出させた各ラインの特徴量と予め定めた閾値とを比較させ、特徴量が前記閾値以下と判断したラインが所定数だけ連続する空白領域の数を前記主走査方向及び副走査方向の夫々について計数させるステップと、計数させた前記主走査方向及び副走査方向の空白領域の数が予め定めた条件を満たすか否かを判定させるステップと、前記空白領域の数が前記条件を満たすと判定した場合、前記原稿が複数の画像を1頁内に割り付けた割付原稿であると判定させるステップとを実行させることを特徴とする。
また、本発明に係るコンピュータプログラムは、コンピュータに、原稿を読み取ることにより得られた画像に基づいて前記原稿の種別を判定させるコンピュータプログラムにおいて、コンピュータに、前記画像を主走査方向及び副走査方向に走査させて、該主走査方向及び副走査方向に沿った複数のラインについて各ラインの特徴を表す特徴量を、各ラインに含まれる画素の画素値の平均値として算出させるステップと、算出させた各ラインの特徴量と予め定めた閾値とを比較させ、特徴量が前記閾値以下と判断したラインが所定数だけ連続する空白領域の数を前記主走査方向及び副走査方向の夫々について計数させるステップと、計数させた前記主走査方向及び副走査方向の空白領域の数が予め定めた条件を満たすか否かを判定させるステップと、前記空白領域の数が前記条件を満たすと判定した場合、前記原稿が複数の画像を1頁内に割り付けた割付原稿であると判定させるステップとを実行させることを特徴とする。
また、本発明に係るコンピュータプログラムは、コンピュータに、原稿を読み取ることにより得られた画像に基づいて前記原稿の種別を判定させるコンピュータプログラムにおいて、コンピュータに、前記画像を主走査方向及び副走査方向に走査させて、該主走査方向及び副走査方向に沿った複数のラインについて各ラインの特徴を表す特徴量を、走査した各ラインに含まれる画素の画素値のばらつきとして算出させるステップと、算出させた各ラインの特徴量と予め定めた閾値とを比較させ、特徴量が前記閾値以下と判断したラインが所定数だけ連続する空白領域の数を前記主走査方向及び副走査方向の夫々について計数させるステップと、計数させた前記主走査方向及び副走査方向の空白領域の数が予め定めた条件を満たすか否かを判定させるステップと、前記空白領域の数が前記条件を満たすと判定した場合、前記原稿が複数の画像を1頁内に割り付けた割付原稿であると判定させるステップとを実行させることを特徴とする。
A computer program according to the present invention causes a computer to execute the steps in a computer program to determine the type of the document based on an image obtained by reading a document, a computer, for binarizing the image, binarization the image obtained by by scanning in a main scanning direction and the sub-scanning direction, a feature quantity representing the feature of each line for a plurality of lines along the main scanning direction and the sub-scanning direction, the binary on each line was scanned A blank area in which a predetermined number of lines in which a feature amount is determined to be equal to or less than the threshold value by comparing the extracted feature amount of each line with a predetermined threshold value by comparing the step of extracting the number of inversions from one to the other and causing the number of counted for each of the main scanning direction and the sub-scanning direction, the main scanning direction and the sub scanning direction of the blank territory was counting A step number of causes is determined whether or not the condition that a predetermined, before Symbol if the number of blank area is determined with the condition is satisfied, the allocation document the document is allocated a plurality of images in one page And a step of determining that there is.
According to another aspect of the present invention, there is provided a computer program for causing a computer to determine the type of the original based on an image obtained by reading the original, and for causing the computer to display the image in the main scanning direction and the sub-scanning direction. Scanning and detecting an edge of an image on each line for a plurality of lines along the main scanning direction and the sub-scanning direction, and a feature amount representing a feature of each line in the main scanning direction and the sub-scanning direction The step of extracting as the number of edges detected for each line and the feature amount of each extracted line are compared with a predetermined threshold value, and a predetermined number of consecutive lines for which the feature amount is determined to be equal to or less than the threshold value A step of counting the number of areas in each of the main scanning direction and the sub-scanning direction; A step of determining whether or not the number of blank areas in the inspection direction satisfies a predetermined condition, and when it is determined that the number of blank areas satisfies the condition, the document allocates a plurality of images in one page. And a step of determining that the document is an assigned document.
According to another aspect of the present invention, there is provided a computer program for causing a computer to determine the type of the original based on an image obtained by reading the original, and for causing the computer to display the image in the main scanning direction and the sub-scanning direction. Scanning, and calculating a feature value representing a feature of each line for a plurality of lines along the main scanning direction and the sub-scanning direction as an average value of pixel values of pixels included in each line; Comparing the feature amount of each line with a predetermined threshold value, and counting the number of blank regions in which a predetermined number of lines whose feature amount is determined to be equal to or less than the threshold value are counted in each of the main scanning direction and the sub-scanning direction. And a step for determining whether or not the counted number of blank areas in the main scanning direction and the sub-scanning direction satisfies a predetermined condition. If the flop, the number of the blank area is determined that the condition is satisfied, characterized in that to execute a step of determining and the document is allocated document assigned a plurality of images in one page.
According to another aspect of the present invention, there is provided a computer program for causing a computer to determine the type of the original based on an image obtained by reading the original, and for causing the computer to display the image in the main scanning direction and the sub-scanning direction. Scanning, and calculating a feature amount representing a feature of each line for a plurality of lines along the main scanning direction and the sub-scanning direction as variations in pixel values of pixels included in each scanned line; The feature amount of each line is compared with a predetermined threshold value, and the number of blank areas where a predetermined number of lines whose feature amount is determined to be equal to or less than the threshold value is counted in each of the main scanning direction and the sub-scanning direction. Step and whether the counted number of blank areas in the main scanning direction and sub-scanning direction satisfy a predetermined condition A step of, when the number of the blank area is determined with the condition is satisfied, characterized in that to execute a step of determining and the document is allocated document assigned a plurality of images in one page.

本発明にあっては、割付原稿であるか否かの判定を行う画像処理方法をコンピュータが読み取り実行することができ、この画像処理方法を汎用的なものとすることができる。   In the present invention, the computer can read and execute an image processing method for determining whether or not the document is a layout document, and this image processing method can be general-purpose.

本発明に係る記録媒体は、前述した発明の何れか1つに記載のコンピュータプログラムが記録されていることを特徴とする。 A recording medium according to the present invention is recorded with the computer program according to any one of the above-described inventions .

本発明にあっては、記録媒体から読み出された画像処理プログラムによって、上記画像処理装置をコンピュータ上に実現することができる。   In the present invention, the image processing apparatus can be realized on a computer by an image processing program read from a recording medium.

本発明による場合は、主走査方向及び副走査方向に沿った複数のラインについて各ラインの特徴を表す特徴量を算出し、各ラインの特徴量と予め定めた閾値とを比較し、特徴量が存在しないと判断されるラインが所定の条件を満たして存在するか否かを判定することによって割付原稿であるか否かを判定するようにしているため、割付原稿と割付原稿でない通常の原稿とが混在している場合であっても、特定の処理モードを設定することなく割付原稿であるか否かを判定することができる。   In the case of the present invention, the feature amount representing the feature of each line is calculated for a plurality of lines along the main scanning direction and the sub-scanning direction, the feature amount of each line is compared with a predetermined threshold value, and the feature amount is calculated. Since it is determined whether or not a line that is determined to be nonexistent satisfies a predetermined condition, it is determined whether or not it is an allocated document. Even in the case where the document is mixed, it is possible to determine whether the document is an allocated document without setting a specific processing mode.

本発明による場合は、特殊なパラメータではなく、一般的によく用いられている特徴量、例えば、反転回数、エッジの数、画素値の平均値や分散値等を用いて割付原稿の判定が可能となる。   In the case of the present invention, it is possible to determine an assigned document using not a special parameter but a generally used feature amount, for example, the number of inversions, the number of edges, an average value or a variance value of pixel values, etc. It becomes.

本発明による場合は、判定精度を落とすことなく、データ量を少なくすることができる。割付原稿であるか否かを判断する空白領域は広いため、解像度を低下させても判定精度を低下させることはない。   According to the present invention, the amount of data can be reduced without reducing the determination accuracy. Since the blank area for determining whether or not the document is an allocated document is wide, the determination accuracy is not decreased even if the resolution is decreased.

本発明による場合は、割付原稿であるか否かを自動的に判断するので、ユーザが画像モードを設定するなどの手間を省いた使い勝手のよい画像形成装置を提供することができる。   According to the present invention, since it is automatically determined whether or not it is a layout document, it is possible to provide an easy-to-use image forming apparatus that saves the user from setting an image mode.

本発明による場合は、割付原稿であるか否かの判定を行う画像処理方法をコンピュータが読み取り実行することができ、この画像処理方法を汎用的なものとすることができる。   According to the present invention, the computer can read and execute an image processing method for determining whether or not the document is a layout document, and this image processing method can be general-purpose.

本発明による場合は、記録媒体から読み出された画像処理プログラムによって、上記画像処理装置をコンピュータ上に実現することができる。   According to the present invention, the image processing apparatus can be realized on a computer by an image processing program read from a recording medium.

以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。
実施の形態1.
図1は本実施の形態に係る画像処理装置の内部構成を説明するブロック図である。本実施の形態に係る画像処理装置は、信号変換部521、解像度変換部522、主走査方向特徴量算出部523、主走査方向特徴量解析部524、副走査方向特徴量算出部525、副走査方向特徴量解析部526、判定部527を備える。
Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof.
Embodiment 1 FIG.
FIG. 1 is a block diagram illustrating the internal configuration of the image processing apparatus according to the present embodiment. The image processing apparatus according to the present embodiment includes a signal conversion unit 521, a resolution conversion unit 522, a main scanning direction feature quantity calculation unit 523, a main scanning direction feature quantity analysis unit 524, a sub scanning direction feature quantity calculation unit 525, and a sub scanning. A direction feature quantity analysis unit 526 and a determination unit 527 are provided.

信号変換部521は、外部から入力されたRGB信号を次式により輝度信号Yに変換する処理を行う。   The signal conversion unit 521 performs processing for converting an RGB signal input from the outside into a luminance signal Y by the following equation.

Y=0.3R+0.59G+0.11B   Y = 0.3R + 0.59G + 0.11B

例えば、8ビット(256階調)の場合、Y=0は黒を表し、Y=255は白を表す。また、輝度信号ではなく、明度信号を用いてもよい。例えば、均等色空間の信号であるL*** 信号(CIE国際照明委員会1976規定のL*** 信号(CIE : Commission International de l'Eclairage、L* :明度、a* ,b* :色度))、又はL*** 信号(CIE国際照明委員会1976規定のL***信号(L* :明度、u* ,v* :色度))を用いてもよい。 For example, in the case of 8 bits (256 gradations), Y = 0 represents black and Y = 255 represents white. In addition, a brightness signal may be used instead of the luminance signal. For example, a signal of uniform color space L * a * b * signal (the CIE International Commission on Illumination 1976 defined L * a * b * signal (CIE: Commission International de l'Eclairage , L *: lightness, a *, b * : chromaticity)) or L * u * v * signal (L * u * v * signal (L * : lightness, u * , v * : chromaticity)) defined in CIE International Lighting Commission 1976) May be.

なお、信号変換部521は、必ずしも画像処理装置内部に設ける必要はなく、例えば、上述した輝度信号、明度信号の代わりにG信号を用いてもよい。   The signal conversion unit 521 is not necessarily provided inside the image processing apparatus. For example, a G signal may be used instead of the above-described luminance signal and lightness signal.

解像度変換部522は、画像データを低解像度化する処理を行う。例えば、1200dpiを150dpi、600dpiを75dpi等に変換する。解像度変換方法としては、補間する画素に一番近い、あるいは、補間する画素に対して所定の位置関係にある既存画素の値をその補間画素の値とするニアレストネイバー法、補間する画素を囲む4点の既存画素の距離に比例した形で重み付けした値の平均を求め、その値をその補間画素とするバイリニア法、補間する画素を囲む4点に加え、更にそれらを囲む12点を加えた計16点の画素の値を用いて補間演算を行うバイキュービック法の何れかを用いることができる。   The resolution conversion unit 522 performs processing for reducing the resolution of image data. For example, 1200 dpi is converted to 150 dpi, 600 dpi is converted to 75 dpi, and the like. As a resolution conversion method, a nearest neighbor method in which the value of an existing pixel closest to the pixel to be interpolated or in a predetermined positional relationship with the pixel to be interpolated is used as the value of the interpolated pixel, and the pixels to be interpolated are surrounded The average of the weighted values in proportion to the distance of the four existing pixels is obtained, the bilinear method using the value as the interpolation pixel, the four points surrounding the pixel to be interpolated, and the 12 points surrounding them are added. Any of the bicubic methods for performing an interpolation operation using the values of a total of 16 pixels can be used.

主走査方向特徴量算出部523は、画像を主走査方向に走査し、走査したライン毎に特徴量を算出する。特徴量として、白から黒、又は黒から白への反転回数を用いることができる。この場合、主走査方向特徴量算出部523は、信号変換部521から出力される輝度信号Yの2値化を行う。そして、「0」又は「1」の2値のうち、「0」から「1」に変化する回数、及び「1」から「0」に変化する回数の合計をとり、反転回数を求める。なお、輝度信号の2値化には、予め設定した閾値(例えば、128)を用いて単純に2値化する手法、あるいは、注目画素を中心に複数の画素よりなるブロック(たとえば、3×3)を設定し、ブロックの画素値の平均値を求め、平均値を閾値として2値化する手法を用いることができる。   The main scanning direction feature amount calculation unit 523 scans the image in the main scanning direction, and calculates a feature amount for each scanned line. As the feature amount, the number of inversions from white to black or from black to white can be used. In this case, the main scanning direction feature quantity calculation unit 523 binarizes the luminance signal Y output from the signal conversion unit 521. Then, of the two values “0” or “1”, the total number of times of changing from “0” to “1” and the number of times of changing from “1” to “0” is obtained to obtain the number of inversions. For the binarization of the luminance signal, a method of simply binarizing using a preset threshold value (for example, 128) or a block (for example, 3 × 3) composed of a plurality of pixels centering on the target pixel. ), An average value of pixel values of the block is obtained, and a method of binarizing using the average value as a threshold value can be used.

また、走査したライン毎に画像のエッジを検出し、検出したエッジの数を特徴量として用いるようにしてもよい。この場合、主走査方向特徴量算出部523は、注目画素と注目画素に隣接する右隣、又は左隣の画素との差分の絶対値を求め、この絶対値が閾値(例えば、50)以上のときエッジを検出したとしてカウントする。また、隣接する画素の差分値ではなく、ゾーベルフィルタや2次微分フィルタなど公知のエッジ検出方向を用いて、検出結果を閾値処理してエッジを検出するようにしてもよい。   Further, the edge of the image may be detected for each scanned line, and the number of detected edges may be used as the feature amount. In this case, the main scanning direction feature amount calculation unit 523 obtains an absolute value of a difference between the target pixel and the right adjacent pixel or the left adjacent pixel adjacent to the target pixel, and the absolute value is equal to or greater than a threshold value (for example, 50). When an edge is detected, it counts. Further, instead of using a difference value between adjacent pixels, a known edge detection direction such as a Sobel filter or a secondary differential filter may be used to detect the edge by performing threshold processing on the detection result.

更に、走査したライン毎に画素値の平均値を算出し、算出した平均値を特徴量として用いてもよい。この場合、主走査方向特徴量算出部523は、ライン単位で画素値を加算し、そのラインに含まれる総画素数で除算して画素値の平均値を算出する。   Furthermore, an average value of pixel values may be calculated for each scanned line, and the calculated average value may be used as a feature amount. In this case, the main scanning direction feature quantity calculation unit 523 adds pixel values in line units, and divides by the total number of pixels included in the line to calculate an average value of pixel values.

更に、走査したライン毎の画素値のばらつき(分散)を算出し、算出した画素値のばらつきを特徴量として用いてもよい。すなわち、画像領域では分散値が大きくなり、非画像領域では小さくなるため画像の特徴量として用いることができる。この場合、主走査方向特徴量算出部523は、ライン単位で画素値を加算し、そのラインに含まれる総画素数で除算して画素値の平均値を算出すると共に、各画素における画素値の平均値からのずれの2乗和を算出する。   Furthermore, the variation (dispersion) of the pixel value for each scanned line may be calculated, and the calculated variation of the pixel value may be used as the feature amount. That is, since the variance value increases in the image area and decreases in the non-image area, it can be used as an image feature amount. In this case, the main scanning direction feature quantity calculation unit 523 calculates the average value of the pixel values by adding the pixel values in units of lines and dividing the result by the total number of pixels included in the line. The sum of squares of deviation from the average value is calculated.

副走査方向特徴量算出部525は、副走査方向に画像を走査し、走査したライン毎に特徴量を算出する。特徴量の算出手法としては、主走査方向特徴量算出部523と同様の手法を用いることができる。   A sub-scanning direction feature amount calculation unit 525 scans an image in the sub-scanning direction, and calculates a feature amount for each scanned line. As a feature amount calculation method, a method similar to that in the main scanning direction feature amount calculation unit 523 can be used.

主走査方向特徴量解析部524は、主走査方向の特徴量の分布より主走査方向の原稿の特徴を求め、副走査方向特徴量解析部526は、副走査方向の特徴量の分布より副走査方向の原稿の特徴を求める。   The main scanning direction feature quantity analysis unit 524 obtains the feature of the document in the main scanning direction from the feature quantity distribution in the main scanning direction, and the sub scanning direction feature quantity analysis unit 526 performs the sub scanning from the feature quantity distribution in the sub scanning direction. Find the characteristics of the original in the direction.

判定部527は、主走査方向特徴量解析部524及び副走査方向特徴量解析部526による解析結果に基づき、読み取られた原稿が1頁内に複数の画像を割り付けた割付原稿であるか否かの判定を行う。   The determination unit 527 determines whether or not the read document is an allocated document in which a plurality of images are allocated within one page based on the analysis results by the main scanning direction feature value analysis unit 524 and the sub-scanning direction feature value analysis unit 526. Judgment is made.

以下、主走査方向特徴量解析部524及び副走査方向特徴量解析部526が実行する処理について説明する。図2〜図5は主走査方向及び副走査方向の特徴量の分布の解析例を説明する説明図である。   Hereinafter, processing executed by the main scanning direction feature quantity analysis unit 524 and the sub scanning direction feature quantity analysis unit 526 will be described. 2 to 5 are explanatory diagrams for explaining analysis examples of distribution of feature amounts in the main scanning direction and the sub-scanning direction.

図2に示した例は、複数行に亘って文字が記載された横書き原稿の画像を読み取り、主走査方向特徴量解析部524及び副走査方向特徴量解析部526にて解析を行った結果を示している。図中に示した主走査方向及び副走査方向の特徴量のヒストグラムは模擬的に表したものである。このような原稿の場合、行間があるため主走査方向に反転回数をカウントした場合、行間に対応した間隔毎に反転回数が現れる分布となる。一方、文字間隔は行間隔と比較して狭いため、副走査方向に反転回数をカウントした場合、ほぼ連続した分布になる。厳密には、文字と文字との間に僅かな空白があるため非連続の分布となるが、低解像度化を行わずにライン単位で特徴量を求める場合にはほぼ連続した分布になる。図3に示したように主走査方向及び副走査方向の中途にて空白の領域が存在しない分布が得られた場合、判定対象の原稿は割付画像がない通常の原稿であると判定することができる。   In the example shown in FIG. 2, the result of reading a horizontally-written original image in which characters are written over a plurality of lines and analyzing it by the main scanning direction feature quantity analysis unit 524 and the sub-scanning direction feature quantity analysis unit 526 is obtained. Show. The histograms of the feature amounts in the main scanning direction and the sub-scanning direction shown in the figure are simulated. In the case of such a document, since there is a space between lines, when the number of times of reversal is counted in the main scanning direction, a distribution in which the number of times of reversal appears at intervals corresponding to the space between the lines. On the other hand, since the character spacing is narrower than the line spacing, when the number of inversions is counted in the sub-scanning direction, the distribution is almost continuous. Strictly speaking, there is a discontinuous distribution because there is a slight space between characters, but when a feature amount is obtained in units of lines without reducing the resolution, the distribution is almost continuous. As shown in FIG. 3, when a distribution in which no blank area exists in the middle of the main scanning direction and the sub-scanning direction is obtained, it can be determined that the document to be determined is a normal document without an assigned image. it can.

図3に示した例は、2頁分の原稿画像を1頁内に割り付けた割付原稿の画像を読み取り、主走査方向特徴量解析部524及び副走査方向特徴量解析部526にて解析を行った結果を示している。この場合、副走査には行間があるため行間に対応した間隔ごとに反転回数が現れる分布となる。一方、主走査方向には連続した分布が2つ現れる。原稿のレイアウトにもよるが、反転回数が所定値(例えば、20)以下のラインが、特徴量の分布の間に20mm程度(解像度が75dpiの場合、60ライン程度)存在するか否かにより割付原稿であるか否かを判定する。なお、原稿周辺部の余白部分は判定対象から除く。すなわち、反転回数が所定値以下のラインに、最初のライン又は最後のラインが含まれる場合は判定対象から除く。   In the example shown in FIG. 3, an image of an assigned document in which two pages of document images are allocated within one page is read and analyzed by a main scanning direction feature amount analysis unit 524 and a sub scanning direction feature amount analysis unit 526. The results are shown. In this case, since there is a line spacing in the sub-scanning, a distribution in which the number of inversions appears at intervals corresponding to the line spacing. On the other hand, two continuous distributions appear in the main scanning direction. Although it depends on the layout of the original, it is assigned depending on whether or not a line whose number of inversions is equal to or less than a predetermined value (for example, 20) is about 20 mm (about 60 lines when the resolution is 75 dpi) in the distribution of the feature amount. It is determined whether the document is a document. Note that the margin portion around the document is excluded from the determination target. That is, when the first line or the last line is included in a line whose number of inversions is equal to or less than a predetermined value, it is excluded from the determination target.

図4に示した例は、画像の割り付けはなく、段組がある場合の原稿の画像を読み取り、主走査方向特徴量解析部524及び副走査方向特徴量解析部526にて解析を行った結果を示している。この場合、主走査方向に行間があるため行間に対応した間隔ごとに反転回数が現れる分布となる。一方、副走査方向には連続した分布が2つ現れる。この場合、副走査方向にのみ2つの連続した分布が現れることを判定材料として、割付原稿ではないと判定する。   In the example shown in FIG. 4, there is no image assignment, and an image of a document in the case where there is a column is read and analyzed by the main scanning direction feature amount analysis unit 524 and the sub scanning direction feature amount analysis unit 526. Is shown. In this case, since there is a line interval in the main scanning direction, a distribution in which the number of inversions appears at intervals corresponding to the line interval. On the other hand, two continuous distributions appear in the sub-scanning direction. In this case, the fact that two continuous distributions appear only in the sub-scanning direction is used as a determination material, and it is determined that the document is not an allocated document.

図5に示した例は、4頁分の原稿画像を1頁内に割り付けた割付原稿の画像を読み取り、主走査方向特徴量解析部524及び副走査方向特徴量解析部526にて解析を行った結果を示している。この場合、主走査方向及び副走査方向の双方に連続した分布が2つ現れる。この場合も前述と同様に、反転回数が所定値(例えば、20)以下のラインが、特徴量の分布の間に20mm程度(解像度が75dpiの場合、60ライン程度)存在するか否かにより割付原稿であるか否かを判定する。   In the example shown in FIG. 5, an image of an assigned document in which four pages of document images are allocated within one page is read and analyzed by a main scanning direction feature amount analysis unit 524 and a sub scanning direction feature amount analysis unit 526. The results are shown. In this case, two continuous distributions appear in both the main scanning direction and the sub-scanning direction. In this case as well, as described above, allocation is performed depending on whether or not a line whose number of inversions is equal to or less than a predetermined value (for example, 20) exists about 20 mm (about 60 lines when the resolution is 75 dpi) in the distribution of the feature amount. It is determined whether the document is a document.

以上では、特徴量として反転回数を用いた解析手法について説明したが、画素値の平均値を用いる場合も同様である。すなわち、割付数が2(2in1の原稿)の場合について説明すると、主走査方向には、連続した平均値(0と255との間の値)の分布が2つでき、分布と分布との間に空白領域が存在し、副走査方向には、行間があるため、所定の間隔毎に平均値が現れる分布となる。なお、主走査方向に現れる2つの分布の間の空白領域は、下地色、スキャナの読取誤差、ノイズ等に依存することとなるが平均値として255に近い値をとる。   The analysis method using the number of inversions as the feature amount has been described above, but the same applies to the case where the average value of the pixel values is used. That is, the case where the number of assignments is 2 (2-in-1 original document) will be described. In the main scanning direction, two distributions of continuous average values (values between 0 and 255) can be created. Since there is a blank area and there is a line spacing in the sub-scanning direction, an average value appears at every predetermined interval. Note that a blank area between two distributions appearing in the main scanning direction depends on the background color, scanner reading error, noise, and the like, but takes an average value close to 255.

以下、原稿種別判定の処理手順について説明する。図6及び図7は本実施の形態に係る画像処理装置が実行する処理の手順を説明するフローチャートである。まず、主走査方向の空白領域をカウントするためのパラメータFm、及び副走査方向の空白領域をカウントするためのパラメータFsの値をそれぞれ0にセットする(ステップS11)。次いで、信号変換部521においてRGB信号を輝度信号Yに変換する処理を行い(ステップS12)、画像データを解像度化する解像度変換処理を行う(ステップS13)。   Hereinafter, the processing procedure for document type determination will be described. 6 and 7 are flowcharts for explaining the procedure of processing executed by the image processing apparatus according to this embodiment. First, the parameter Fm for counting the blank area in the main scanning direction and the value of the parameter Fs for counting the blank area in the sub scanning direction are set to 0 (step S11). Next, the signal conversion unit 521 performs processing for converting the RGB signal into the luminance signal Y (step S12), and performs resolution conversion processing for converting the image data into resolution (step S13).

次いで、画像の主走査方向及び副走査方向の各ラインについて特徴量を算出し(ステップS14)、主走査方向及び副走査方向の特徴量の分布に関して解析を行う(ステップS15)。   Next, a feature amount is calculated for each line in the main scanning direction and the sub-scanning direction of the image (step S14), and an analysis is performed on the distribution of the feature amount in the main scanning direction and the sub-scanning direction (step S15).

次いで、ステップS15の解析結果に基づき、所定の条件を満たす空白領域が主走査方向に1つ存在するか否かを判断する(ステップS16)。所定の条件を満たす空白領域が主走査方向に1つ存在する場合(S16:YES)、Fmの値を1にセットする(ステップS17)。   Next, based on the analysis result in step S15, it is determined whether there is one blank area in the main scanning direction that satisfies a predetermined condition (step S16). If there is one blank area that satisfies the predetermined condition in the main scanning direction (S16: YES), the value of Fm is set to 1 (step S17).

Fmの値を1にセットした場合(S17)、又は主走査方向に所定の条件を満たす空白領域が存在しないと判断した場合(S16:NO)、所定の条件を満たす空白領域が副走査方向に1つ存在するか否かを判断する(ステップS18)。所定の条件を満たす空白領域が副走査方向に1つ存在する場合(S18:YES)、Fsの値を1にセットする(ステップS19)。   When the value of Fm is set to 1 (S17), or when it is determined that there is no blank area that satisfies the predetermined condition in the main scanning direction (S16: NO), the blank area that satisfies the predetermined condition is in the sub-scanning direction. It is determined whether or not one exists (step S18). If there is one blank area that satisfies the predetermined condition in the sub-scanning direction (S18: YES), the value of Fs is set to 1 (step S19).

Fsの値を1にセットした場合(S19)、又は副走査方向に所定の条件を満たす空白領域が存在しないと判断した場合(S18:NO)、Fm=1かつFs=1であるか否か、すなわち、主走査方向及び副走査方向の双方に所定の条件を満たす空白領域が存在するか否かを判断する(ステップS20)。主走査方向及び副走査方向の双方に所定の条件を満たす空白領域が存在すると判断した場合(S20:YES)、4in1の原稿(4頁分の画像を1頁内に割り付けた割付原稿)であると判断し(ステップS21)、本フローチャートによる処理を終了する。   Whether or not Fm = 1 and Fs = 1 when the value of Fs is set to 1 (S19), or when it is determined that there is no blank area that satisfies a predetermined condition in the sub-scanning direction (S18: NO) That is, it is determined whether or not there is a blank area that satisfies a predetermined condition in both the main scanning direction and the sub-scanning direction (step S20). When it is determined that there is a blank area satisfying a predetermined condition in both the main scanning direction and the sub-scanning direction (S20: YES), the document is a 4-in-1 document (an allocated document in which four pages of images are allocated in one page). Is determined (step S21), and the processing according to this flowchart ends.

また、Fm及びFsの何れか一方が1でないと判断した場合(S20:NO)、Fm=1かつFs=0であるか否かを判断する(ステップS22)。Fm=1かつFs=0であると判断した場合、すなわち、主走査方向にのみ所定の条件を満たす空白領域が存在すると判断した場合(S22:YES)、2in1の原稿(2頁分の画像を1頁内に割り付けた割付原稿)であると判断し(ステップS23)、本フローチャートによる処理を終了する。また、Fm=0かつFs=0又は1であると判断した場合、すなわち、主走査方向に所定の条件を満たす空白領域が存在しないと判断した場合(S22:NO)、割付原稿ではない通常の原稿であると判断し(ステップS24)、本フローチャートによる処理を終了する。   If it is determined that one of Fm and Fs is not 1 (S20: NO), it is determined whether Fm = 1 and Fs = 0 (step S22). When it is determined that Fm = 1 and Fs = 0, that is, when it is determined that there is a blank area that satisfies a predetermined condition only in the main scanning direction (S22: YES), a 2-in-1 document (images for two pages) It is determined that the original is an allocated original within one page (step S23), and the processing according to this flowchart ends. Further, when it is determined that Fm = 0 and Fs = 0 or 1, that is, when it is determined that there is no blank area satisfying a predetermined condition in the main scanning direction (S22: NO), a normal document that is not an allocated document is used. It is determined that the document is a document (step S24), and the processing according to this flowchart is terminated.

なお、画像処理装置は、原稿種別の判定に応じて所定の処理を実行してもよい。例えば、割り付けされた領域の画像を拡大、回転処理を行って1枚ずつ画像形成を行う。この場合、特徴量の分布の間に存在する空白領域の中心を割り付けられた画像の境界とし、この中心線を基準として有効画像領域を定めておく。図8は有効画像領域の設定例を示す模式図である。有効画像領域のデータを、A4の原稿サイズで割付数が2の場合、1.41倍に拡大する。原稿サイズの検知は公知の方法を採用することができる。原稿台内部に原稿サイズに応じて複数の光電センサを設けて光検知の有無により検出する方法等を用いることができる。割付原稿の画像の位置がずれており、有効画像領域が割付原稿からはみ出る場合は、はみ出る箇所に割付原稿の端部を除く余白部の画素値をはみ出た領域に割り当てればよい。   Note that the image processing apparatus may execute a predetermined process according to the determination of the document type. For example, the image of the allocated area is enlarged and rotated to form an image one by one. In this case, the center of the blank area existing between the distributions of the feature values is set as the boundary of the assigned image, and the effective image area is determined based on the center line. FIG. 8 is a schematic diagram showing an example of setting an effective image area. When the effective image area data is A4 document size and the allocation number is 2, the data is enlarged by 1.41 times. A known method can be adopted for detecting the document size. For example, a method in which a plurality of photoelectric sensors are provided in the document table according to the document size and detection is performed based on the presence or absence of light detection can be used. When the position of the image of the allocated document is shifted and the effective image area extends beyond the allocated document, the pixel value of the margin part excluding the end of the allocated document may be assigned to the protruding area.

また、割付原稿をそのまま複写、ファイリング、電子配信する場合もあり、更に横書きで複数の段組よりなる原稿は、副走査方向に空白領域が現れるため、割付原稿でないと判断できるが、稀に縦書きで2段組みの場合のみ2in1と区別できない場合もあるため、原稿種別の判定結果を、操作パネル1の表示部に表示し、割り付された領域の画像を拡大、回転処理を行って、1枚ずつ画像形成するか否かをユーザに選択させるようにしてもよい。   In addition, there are cases where the originals are copied, filing, and electronically distributed as they are.In addition, a horizontal document that has multiple columns appears as a blank area in the sub-scanning direction. Since there are cases where it is not possible to distinguish it from 2-in-1 only in the case of two-column writing, the document type determination result is displayed on the display unit of the operation panel 1, and the image of the allocated area is enlarged and rotated. The user may select whether or not to form an image one by one.

実施の形態2.
実施の形態1において説明した原稿種別判定方法を他の原稿種別判定方法と組み合わせて利用することも可能である。なお、このような原稿種別判定方法を実現するための画像処理装置は実施の形態1と全く同様であるため、その装置構成についての説明を省略することとする。
Embodiment 2. FIG.
The document type determination method described in the first embodiment can be used in combination with other document type determination methods. Note that an image processing apparatus for realizing such a document type determination method is exactly the same as that of the first embodiment, and thus description of the apparatus configuration is omitted.

図9は実施の形態2に係る原稿種別判定の処理手順を説明するフローチャートである。まず、画像処理装置は、割付原稿判定処理を実行する(ステップS31)。具体的には、図6及び図7のフローチャートに示した手順に従って判定対象の原稿が割付原稿であるか否かを判定する。判定結果は、図に示していないメモリに保持される。   FIG. 9 is a flowchart for explaining the processing procedure of document type determination according to the second embodiment. First, the image processing apparatus executes an assigned document determination process (step S31). Specifically, it is determined whether the document to be determined is an allocated document according to the procedure shown in the flowcharts of FIGS. The determination result is held in a memory not shown in the figure.

次いで、注目画素を含むn×mブロックにおける最小濃度値及び最大濃度値を算出し(ステップS32,S33)、算出した最小濃度値及び最大濃度値を用いて最大濃度差を算出する(ステップS34)。次いで、隣接する画素の濃度差の絶対値の総和(すなわち、総和濃度繁雑度)を算出する(ステップS35)。   Next, the minimum density value and the maximum density value in the n × m block including the target pixel are calculated (steps S32 and S33), and the maximum density difference is calculated using the calculated minimum density value and the maximum density value (step S34). . Next, the sum of absolute values of density differences between adjacent pixels (that is, the total density busyness) is calculated (step S35).

次いで、算出された最大濃度差と最大濃度差閾値との比較、及び算出された総和濃度繁雑度と総和濃度繁雑度閾値との比較を行い、最大濃度差及び総和濃度繁雑度が共に比較対象の閾値より小さいか否かを判断する(ステップS36)。最大濃度差が最大濃度差閾値よりも小さく、かつ総和濃度繁雑度が総和濃度繁雑度閾値よりも小さいと判断した場合(S36:YES)、注目画素は下地・印画紙領域であると判断する(ステップS37)。   Then, the calculated maximum density difference and the maximum density difference threshold are compared, and the calculated total density busyness and the total density busyness threshold are compared. Both the maximum density difference and the total density busyness are compared. It is determined whether it is smaller than the threshold value (step S36). When it is determined that the maximum density difference is smaller than the maximum density difference threshold and the total density busyness is smaller than the total density busyness threshold (S36: YES), it is determined that the target pixel is the background / printing paper area ( Step S37).

このとき、最大濃度差と予め定めた閾値(下地・印画紙判定閾値)との比較を行い、最大濃度差が下地・印画紙判定閾値より小さいか否かを判断する(ステップS38)。最大濃度差が下地・印画紙判定閾値より小さい場合と判断した場合(S38:YES)、注目画素を下地領域として計数し(ステップS39)、最大濃度差が下地・印画紙判定閾値以上であると判断した場合(S38:NO)、注目画素を印画紙領域として計数する(ステップS40)。   At this time, the maximum density difference is compared with a predetermined threshold (background / printing paper determination threshold) to determine whether the maximum density difference is smaller than the background / photographic paper determination threshold (step S38). If it is determined that the maximum density difference is smaller than the background / photographic paper determination threshold (S38: YES), the target pixel is counted as the background area (step S39), and the maximum density difference is equal to or larger than the background / photographic paper determination threshold. If it is determined (S38: NO), the target pixel is counted as a photographic paper region (step S40).

一方、ステップS36において、最大濃度差又は総和濃度繁雑度の何れか一方が比較対象の閾値以上であると判断した場合(S36:NO)、注目画素は文字・網点領域であると判断する(ステップS41)。   On the other hand, if it is determined in step S36 that either the maximum density difference or the total density busyness is greater than or equal to the threshold value to be compared (S36: NO), it is determined that the target pixel is a character / halftone dot region ( Step S41).

このとき、総和濃度繁雑度を予め定められた閾値(文字・網点判定閾値)との積と比較し、総和濃度繁雑度が積の値より小さいか否かを判断する(ステップS42)。総和濃度繁雑度が積の値より小さいと判断した場合(S42:YES)、注目画素を文字領域として計数し(ステップS43)、総和濃度繁雑度が積の値以上であると判断した場合(S42:NO)、注目画素を網点領域として計数する(ステップS44)。   At this time, the total density busyness is compared with a product with a predetermined threshold (character / halftone dot determination threshold) to determine whether the total density busyness is smaller than the product value (step S42). When it is determined that the total density busyness is smaller than the product value (S42: YES), the target pixel is counted as a character area (step S43), and when the total density busyness is determined to be equal to or greater than the product value (S42). : NO), the target pixel is counted as a halftone dot region (step S44).

次いで、全ての画素の処理が終了したか否かを判断し(ステップS45)、終了していないと判断した場合(S45:NO)、処理をステップS32へ戻す。また、全ての画素の処理が終了したと判断した場合(S45:YES)、ステップS39及びS40、並びにステップS43及びS44での計数結果に基づいて原稿種別の判定を行う(ステップS46)。下地領域、印画紙領域、網点領域、及び印画紙領域の各領域について閾値を設定しておき、各領域の計数結果と比較することにより、原稿種別の判定が可能となる。   Next, it is determined whether or not all the pixels have been processed (step S45). If it is determined that the processing has not ended (S45: NO), the process returns to step S32. If it is determined that all pixels have been processed (S45: YES), the document type is determined based on the count results in steps S39 and S40 and steps S43 and S44 (step S46). A threshold value is set for each of the background area, the photographic paper area, the halftone dot area, and the photographic paper area, and the document type can be determined by comparing the threshold value with the count result of each area.

例えば、文字領域の比率と網点領域の比率とが、それぞれ閾値以上の場合は、文字・網点原稿(文字印刷写真原稿)であると判定する。また、文字、網点、印画紙写真の順に検出精度が高いとすると、文字領域の比率が全画素数の30%の場合には文字原稿、網点領域の比率が全画素数の20%の場合には網点原稿(印刷写真原稿)、印画紙写真領域の比率が全画素数の10%の場合には印画紙写真原稿であると判定する。ここでは、原稿種別として、文字原稿、文字印刷写真原稿、印刷写真原稿、印画紙写真原稿、文字印画紙写真原稿に判別する。尚、原稿種別の判別は、プレスキャンを行うのではなく、ハードディスク等の記憶手段に一旦格納された画像データを用いて行っても良い。   For example, when the ratio of the character area and the ratio of the halftone dot area are equal to or greater than the threshold value, respectively, it is determined that the character / halftone original (character-printed photo original). Also, assuming that the detection accuracy is higher in the order of characters, halftone dots, and photographic paper photographs, when the ratio of the character area is 30% of the total number of pixels, the ratio of the character original and the halftone area is 20% of the total number of pixels. In this case, when the ratio of the halftone dot original (printed photo original) and the photographic paper photo area is 10% of the total number of pixels, it is determined that the image is a photographic paper photo original. In this case, the document type is determined to be a character document, a character printed photo document, a printed photo document, a photographic paper photo document, or a character photographic paper photo document. The document type determination may be performed using image data temporarily stored in a storage unit such as a hard disk instead of performing pre-scanning.

このように2種類の原稿判定方法を併用することにより、2in1の文字原稿、文字印刷写真原稿等を判別することができる。なお、本実施の形態では、ステップS31の割付原稿判定処理の後に領域判定を行う構成としたが、両者を並行して行う構成であってもよいことは勿論のことである。   Thus, by using two types of document determination methods in combination, a 2-in-1 character document, a character-printed photo document, and the like can be determined. In the present embodiment, the area determination is performed after the assigned document determination process in step S31. However, it goes without saying that both may be performed in parallel.

実施の形態3.
以下では、プリンタ装置、デジタル複合機などの画像形成装置に本発明を適用した形態について説明する。
Embodiment 3 FIG.
In the following, an embodiment in which the present invention is applied to an image forming apparatus such as a printer device or a digital multifunction peripheral will be described.

図10は本実施の形態に係る画像形成装置の内部構成を説明するブロック図である。本実施の形態に係る画像形成装置は、操作パネル1、画像入力装置3、画像処理装置5、画像出力装置7を備える。   FIG. 10 is a block diagram illustrating the internal configuration of the image forming apparatus according to the present embodiment. The image forming apparatus according to the present embodiment includes an operation panel 1, an image input device 3, an image processing device 5, and an image output device 7.

操作パネル1は、ユーザによる操作を受付けるためのインタフェースであり、各種スイッチ、ボタン等の操作部と、ユーザに対して報知すべき情報、画像等を表示する表示部とを備える。   The operation panel 1 is an interface for accepting an operation by a user, and includes an operation unit such as various switches and buttons, and a display unit that displays information to be notified to the user, an image, and the like.

画像入力装置3は、原稿の画像を光学的に読取る手段であり、読取用の原稿に光を照射する光源、CCD(Charge Coupled Device)のようなイメージセンサ等を備えている。画像入力装置3では、所定の読取位置にセットされた原稿からの反射光像を当該イメージセンサに結像させ、RGB(R : Red, G : Green, B : Blue)のアナログ電気信号を出力する。画像入力装置3が出力したアナログ電気信号は画像処理装置5へ入力される。   The image input device 3 is a unit that optically reads an image of a document, and includes a light source that irradiates light to a document for reading, an image sensor such as a CCD (Charge Coupled Device), and the like. In the image input device 3, a reflected light image from a document set at a predetermined reading position is formed on the image sensor, and RGB (R: Red, G: Green, B: Blue) analog electrical signals are output. . The analog electrical signal output from the image input device 3 is input to the image processing device 5.

画像処理装置5は、画像入力装置3から出力されるアナログ電気信号をデジタル電気信号に変換した後、適宜の処理を行い、得られた画像信号を画像出力装置7へ出力する。なお、画像処理装置5の内部構成、動作等については後に詳述することとする。   The image processing device 5 converts the analog electrical signal output from the image input device 3 into a digital electrical signal, performs appropriate processing, and outputs the obtained image signal to the image output device 7. The internal configuration and operation of the image processing apparatus 5 will be described in detail later.

画像出力装置7は、画像処理装置5が出力する画像信号に基づいて用紙、OHPフィルム等のシート上に画像形成を行う手段である。そのため、画像出力装置7は、感光体ドラムを所定の電位に帯電させる帯電器、外部から受付けた画像データに応じてレーザ光を発して感光体ドラム上に静電潜像を生成させるレーザ書込装置、感光体ドラム表面に形成された静電潜像にトナーを供給して顕像化する現像器、感光体ドラム表面に形成されたトナー像を用紙上に転写する転写器等(不図示)を備えており、電子写真方式にて利用者が所望する画像を用紙上に形成する。なお、レーザ書込装置を用いた電子写真方式により画像形成を行う他、インクジェット方式、熱転写方式、昇華方式等により画像形成を行う構成であってもよい。   The image output device 7 is a means for forming an image on a sheet such as paper or an OHP film based on the image signal output from the image processing device 5. For this reason, the image output device 7 is a charger for charging the photosensitive drum to a predetermined potential, and laser writing for generating an electrostatic latent image on the photosensitive drum by emitting laser light in accordance with image data received from the outside. An apparatus, a developing device that supplies toner to the electrostatic latent image formed on the surface of the photosensitive drum to make it visible, a transfer device that transfers the toner image formed on the surface of the photosensitive drum onto paper (not shown), etc. And an image desired by the user is formed on a sheet by electrophotography. In addition to image formation by an electrophotographic method using a laser writing apparatus, an image formation may be performed by an inkjet method, a thermal transfer method, a sublimation method, or the like.

次に、画像処理装置5の内部構成について説明する。AD変換部50は、画像入力装置3から入力されたRGBのアナログ信号をデジタル信号に変換する。シェーディング補正部51は、AD変換部50から出力されたデジタル形式のRGB信号に対して、画像入力装置3の照明系、結像系、撮像系で生じる各種の歪みを取り除く処理を施す。シェーディング補正されたRGB信号は原稿種別判定部52へ出力される。   Next, the internal configuration of the image processing apparatus 5 will be described. The AD conversion unit 50 converts RGB analog signals input from the image input device 3 into digital signals. The shading correction unit 51 performs a process for removing various distortions generated in the illumination system, the imaging system, and the imaging system of the image input device 3 on the digital RGB signal output from the AD conversion unit 50. The RGB signal subjected to the shading correction is output to the document type determination unit 52.

原稿種別判定部52は、シェーディング補正部51にて各種の歪みが取り除かれ、カラーバランスの調整がなされたRGB(RGBの反射率信号)を濃度信号などカラー画像処理装置に採用されている画像処理システムの扱いやすい信号に変換すると共に、原稿種別の判定を行う。本実施の形態では、原稿が1頁内に複数の画像を割り付けた割付原稿であるか否かの判定を行う。判定手法については実施の形態1又は実施の形態2で説明した手法を用いる。   The document type determination unit 52 uses RGB (RGB reflectance signal) from which various distortions have been removed by the shading correction unit 51 and the color balance has been adjusted, such as a density signal, and is used in a color image processing apparatus. The signal is converted into a signal that can be easily handled by the system, and the document type is determined. In the present embodiment, it is determined whether or not the document is an allocated document in which a plurality of images are allocated within one page. As the determination method, the method described in the first embodiment or the second embodiment is used.

入力階調補正部53は、下地濃度の除去やコントラストなどの画質調整処理を行う。領域分離処理部54は、RGB信号より、入力画像中の各画素を文字領域、網点領域、写真領域の何れかに分離する処理を行う。領域分離処理部54は、分離結果に基づき、画素がどの領域に属しているかを示す領域識別信号を後段の黒生成下色除去部56、空間フィルタ処理部57、及び階調再現処理部59へ出力すると共に、入力階調補正部53から出力された入力信号をそのまま後段の色補正部55へ出力する。   The input tone correction unit 53 performs image quality adjustment processing such as background density removal and contrast. The region separation processing unit 54 performs processing for separating each pixel in the input image into one of a character region, a halftone dot region, and a photographic region from the RGB signals. Based on the separation result, the region separation processing unit 54 sends a region identification signal indicating to which region the pixel belongs to the subsequent black generation and under color removal unit 56, the spatial filter processing unit 57, and the gradation reproduction processing unit 59. In addition to the output, the input signal output from the input tone correction unit 53 is output to the subsequent color correction unit 55 as it is.

色補正部55は、色再現の忠実化再現のために、不要吸収成分を含むCMY色材の分光特性に基づいた色濁りを取り除く処理を行うものである。色補正されたRGB信号は、後段の黒生成下色除去部56へ出力される。   The color correction unit 55 performs processing for removing color turbidity based on the spectral characteristics of the CMY color material including unnecessary absorption components in order to faithfully reproduce color reproduction. The color-corrected RGB signal is output to the subsequent black generation and under color removal unit 56.

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

黒生成処理の一例として、スケルトンブラックによる黒生成を行う方法がある。この方法では、スケルトンカーブの入出力特性をy=f(x)、入力されるデータをC,M,Y、出力されるデータをC’,M’,Y’,K’、UCR率(UCR : Under Color Removal)をα(0<α<1)とすると、黒生成下色除去処理は以下の式で表される。   As an example of the black generation process, there is a method of generating black using skeleton black. In this method, the input / output characteristic of the skeleton curve is y = f (x), the input data is C, M, Y, the output data is C ′, M ′, Y ′, K ′, the UCR rate (UCR) : Under Color Removal) α (0 <α <1), the black generation under color removal processing is expressed by the following equation.

K’=f{min(C,M,Y)}
C’=C−αK’
M’=M−αK’
Y’=Y−αK’
K ′ = f {min (C, M, Y)}
C ′ = C−αK ′
M ′ = M−αK ′
Y ′ = Y−αK ′

空間フィルタ処理部57は、黒生成下色除去部56より入力されるCMYK信号の画像データに対して、領域識別信号を基にデジタルフィルタによる空間フィルタ処理を行い、空間周波数特性を補正することによって出力画像のぼやけや粒子状劣化を防ぐように処理を行う。   The spatial filter processing unit 57 performs spatial filter processing by a digital filter on the image data of the CMYK signal input from the black generation and under color removal unit 56 based on the region identification signal, thereby correcting the spatial frequency characteristics. Processing is performed to prevent blurring and particulate deterioration of the output image.

例えば、領域分離処理部54にて文字に分離された領域は、特に黒文字又は色文字の再現性を高めるために、空間フィルタ処理部57による空間フィルタ処理における鮮鋭強調処理で高周波数の強調量が大きくされる。同時に、階調再現処理部59においては、高周波数の再現に適した高解像度のスクリーンでの2値化又は多値化処理が選択される。また、領域分離処理部54にて網点領域に分離された領域に関しては、空間フィルタ処理部57において、入力網点成分を除去するためのローパスフィルタ処理が施される。そして、出力階調補正部58において、濃度信号などの信号をカラー画像出力装置の特性値である網点面積率に変換する出力階調補正処理を行った後、階調再現処理部59で最終的に画像を画素に分離してそれぞれの階調を再現できるように処理する階調再現処理を施す。また、領域分離処理部54にて写真に分離された領域に関しては、階調再現性を重視したスクリーンでの2値化又は多値化処理が行われる。   For example, in the region separated into characters by the region separation processing unit 54, in order to improve the reproducibility of black characters or color characters in particular, the sharpness enhancement processing in the spatial filter processing by the spatial filter processing unit 57 has a high frequency enhancement amount. Increased. At the same time, the gradation reproduction processing unit 59 selects binarization or multi-value processing on a high-resolution screen suitable for high-frequency reproduction. Further, with respect to the region separated into halftone dot regions by the region separation processing unit 54, the spatial filter processing unit 57 performs low-pass filter processing for removing the input halftone component. The output tone correction unit 58 performs output tone correction processing for converting a signal such as a density signal into a halftone dot area ratio that is a characteristic value of the color image output device, and then the tone reproduction processing unit 59 performs the final processing. Specifically, gradation reproduction processing is performed in which an image is separated into pixels and processed so that each gradation can be reproduced. In addition, regarding the region separated into the photograph by the region separation processing unit 54, the binarization or multi-value processing on the screen with an emphasis on gradation reproducibility is performed.

前述した各処理が施された画像データは、一旦記憶手段(不図示)に記憶され、所定のタイミングで読出されて画像出力装置7へ出力される。   The image data subjected to the above-described processes is temporarily stored in storage means (not shown), read at a predetermined timing, and output to the image output device 7.

コピー機能、プリンタ機能、ファクシミリ機能、Eメール送受信機能等を備えるデジタルカラー複合機では、上記の構成に加えて、モデムやネットワークカードよりなる通信装置を更に備える。ファクシミリの送信を行うときは、モデムにて、相手先との送信手続きを行い送信可能な状態が確保されると、所定の形式で圧縮された画像データ(スキャナで読み込まれた画像データ)をメモリから読み出し、圧縮形式の変更など必要な処理を施して、相手先に通信回線を介して順次送信する。   In addition to the above-described configuration, the digital color multifunction peripheral having a copy function, a printer function, a facsimile function, an e-mail transmission / reception function, and the like further includes a communication device including a modem and a network card. When sending a facsimile, if the modem is ready for transmission by the transmission procedure with the other party, the image data compressed in a predetermined format (image data read by the scanner) is stored in the memory. The data is read from the data, and the necessary processing such as changing the compression format is performed, and the data is sequentially transmitted to the other party via the communication line.

ファクシミリを受信する場合、通信装置は、通信手続きを行いながら、相手先から送信されてくる画像データを受信して画像処理装置に入力し、画像処理装置では、受信した画像データを、不図示の圧縮/伸張処理部にて伸張処理を施す。伸張された画像データは、必要に応じて回転処理や解像度変換が行われ、出力階調補正、階調再現処理が施され、画像出力装置より出力される。   When receiving a facsimile, the communication device receives the image data transmitted from the other party and inputs it to the image processing device while performing the communication procedure, and the image processing device receives the received image data (not shown). The compression / decompression processing unit performs decompression processing. The decompressed image data is subjected to rotation processing and resolution conversion as necessary, subjected to output tone correction and tone reproduction processing, and is output from the image output device.

また、ネットワークカード、LANケーブルを介して、ネットワークに接続されたコンピュータや他のデジタル複合機とデータ通信を行う。   In addition, data communication is performed with a computer or other digital multi-function peripheral connected to the network via a network card or a LAN cable.

上記では、カラー複合機について説明したが、モノクロの複合機であってもよいことは勿論のことである。   In the above description, the color multifunction peripheral has been described, but it goes without saying that it may be a monochrome multifunction peripheral.

実施の形態4.
本実施の形態では、フラットベッドスキャナ等の画像読取装置に本発明を適用した形態について説明する。
Embodiment 4 FIG.
In this embodiment, an embodiment in which the present invention is applied to an image reading apparatus such as a flatbed scanner will be described.

図11は本実施の形態に係る画像読取装置の内部構成を説明するブロック図である。本実施の形態に係る画像読取装置はカラー画像読取部110及びカラー画像処理部120により構成される。カラー画像処理部120は、AD変換部121、シェーディング補正部122、原稿種別判定部123を備える。   FIG. 11 is a block diagram illustrating the internal configuration of the image reading apparatus according to the present embodiment. The image reading apparatus according to the present embodiment includes a color image reading unit 110 and a color image processing unit 120. The color image processing unit 120 includes an AD conversion unit 121, a shading correction unit 122, and a document type determination unit 123.

カラー画像読取部110は、例えばCCD(Charge Coupled Device )を備えたスキャナ部より構成され、原稿からの反射光像を、RGB(R:赤・G:緑・B:青)のアナログ信号としてCCDにて読み取って、カラー画像処理部120に入力するものである。 The color image reading unit 110 is configured by a scanner unit including, for example, a CCD (Charge Coupled Device), and the reflected light image from the document is converted into an CCD (R: red, G: green, B: blue) analog signal as a CCD. And input to the color image processing unit 120.

カラー画像読取部110にて読み取られたアナログ信号は、カラー画像処理部120内を、AD変換部121、シェーディング補正部122、原稿種別判定部123の順で送られる。   The analog signal read by the color image reading unit 110 is sent through the color image processing unit 120 in the order of the AD conversion unit 121, the shading correction unit 122, and the document type determination unit 123.

AD変換部121は、RGBのアナログ信号をデジタル信号に変換するもので、シェーディング補正部122は、AD変換部121より送られてきたデジタルのRGB信号に対して、カラー画像読取部110の照明系、結像系、撮像系で生じる各種の歪みを取り除く処理を施すものである。また、シェーディング補正部122ではカラーバランスの調整を行う。また、シェーディング補正部122では、RGBの反射率信号を濃度信号に変換する。   The AD conversion unit 121 converts RGB analog signals into digital signals, and the shading correction unit 122 applies the illumination system of the color image reading unit 110 to the digital RGB signals sent from the AD conversion unit 121. The image forming system and the imaging system are subjected to processing for removing various distortions. The shading correction unit 122 adjusts the color balance. Further, the shading correction unit 122 converts the RGB reflectance signal into a density signal.

原稿種別判定部123では、シェーディング補正部122にて各種の歪みが取り除かれカラーバランスの調整がなされたRGB信号(RGBの反射率信号)を濃度信号などカラー画像処理部120に採用されている画像処理システムの扱い易い信号に変換すると共に、割付原稿であるか否か、さらには、文字原稿であるか、印刷写真原稿であるか、あるいは、文字と印刷写真が混在した文字印刷写真原稿であるか等の原稿種別の判定を行う。   In the document type determination unit 123, an image used in the color image processing unit 120, such as a density signal, is an RGB signal (RGB reflectance signal) from which various distortions have been removed by the shading correction unit 122 and the color balance has been adjusted. It is converted into a signal that can be easily handled by the processing system, and whether it is an allocated document, or whether it is a character document, a printed photo document, or a character-printed photo document in which characters and printed photos are mixed The document type such as “K” is determined.

画像読取装置から出力された画像データ及び原稿種別判別信号は、ネットワークを介してプリンタや複合機に、あるいは、コンピュータに送信される。   The image data and the document type determination signal output from the image reading apparatus are transmitted to a printer, a multifunction peripheral, or a computer via a network.

実施の形態5.
前述した実施の形態では、各処理をハードウェアにより実現する構成としたが、ソフトウェアの処理により本発明を実現する構成としてもよい。
Embodiment 5 FIG.
In the above-described embodiment, each process is realized by hardware. However, the present invention may be realized by software processing.

図12は本発明のコンピュータプログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)がインストールされた画像処理装置の内部構成を説明するブロック図である。図中200は、本実施の形態に係る画像処理装置であり、具体的にはパーソナルコンピュータ、ワークステーション等である。画像処理装置200はCPU201を備えており、CPU201にはROM203、RAM204、ハードディスク205、外部記憶部206、入力部207、表示部208、通信ポート209等のハードウェアがバス202を介して接続されている。CPU201は、ROM203に予め格納された制御プログラムのプログラムコードに従って前述のハードウェア各部を制御する。   FIG. 12 is a block diagram for explaining the internal configuration of the image processing apparatus in which the program code (execution format program, intermediate code program, source program) of the computer program of the present invention is installed. In the figure, reference numeral 200 denotes an image processing apparatus according to the present embodiment, specifically a personal computer, a workstation, or the like. The image processing apparatus 200 includes a CPU 201, and hardware such as a ROM 203, a RAM 204, a hard disk 205, an external storage unit 206, an input unit 207, a display unit 208, and a communication port 209 is connected to the CPU 201 via the bus 202. Yes. The CPU 201 controls each part of the hardware described above according to the program code of the control program stored in advance in the ROM 203.

RAM204は前述の制御プログラム、又は本発明に係るコンピュータプログラムの実行中に生成される各種データを一時的に記憶する揮発性のメモリである。ハードディスク205は、磁気記録媒体を有する記憶手段であり、本発明のコンピュータプログラムのプログラムコード、処理対象の画像データ等が記憶される。外部記憶部206は、本発明のプログラムコードを記録した記録媒体Mからコンピュータプログラムを読取るための読取装置を備えている。記録媒体Mとしては、FD(Flexible Disk)、CD−ROM等を用いることができる。外部記憶部206によって読取られたプログラムコードはハードディスク205に格納される。CPU201はハードディスク205に格納された本発明に係るプログラムコードをRAM204上にロードして実行することにより、実施の形態1で説明したような本発明に係る画像処理方法を実現する。   The RAM 204 is a volatile memory that temporarily stores various data generated during execution of the control program described above or the computer program according to the present invention. The hard disk 205 is a storage unit having a magnetic recording medium, and stores the program code of the computer program of the present invention, image data to be processed, and the like. The external storage unit 206 includes a reading device for reading a computer program from the recording medium M on which the program code of the present invention is recorded. As the recording medium M, an FD (Flexible Disk), a CD-ROM, or the like can be used. The program code read by the external storage unit 206 is stored in the hard disk 205. The CPU 201 implements the image processing method according to the present invention as described in the first embodiment by loading the program code according to the present invention stored in the hard disk 205 onto the RAM 204 and executing it.

入力部207は、外部から画像データを取得するためのインタフェースとして機能する。入力部207には、例えば、カラースキャナ装置などが接続される。表示部208は、処理対象の画像データ、画像処理中の画像データ、画像処理後の画像データ等を表示するためのインタフェースとして機能する。表示部208に液晶ディスプレイ装置などの外部表示装置を接続して画像データを表示する構成であってもよく、表示部208自身が表示装置を備え、画像データを表示する構成であってもよい。通信ポート209は、外部にプリンタ300を接続するためのインタフェースである。画像処理された画像データをプリンタ300にて印刷する場合、画像処理装置200は、前記画像データを基にプリンタ300にてデコード可能なプリントデータを生成し、生成したプリントデータをプリンタ300へ送信する。   The input unit 207 functions as an interface for acquiring image data from the outside. For example, a color scanner device or the like is connected to the input unit 207. The display unit 208 functions as an interface for displaying image data to be processed, image data during image processing, image data after image processing, and the like. The display unit 208 may be configured to display an image data by connecting an external display device such as a liquid crystal display device, or the display unit 208 may include a display device and display the image data. The communication port 209 is an interface for connecting the printer 300 to the outside. When printing image data that has undergone image processing by the printer 300, the image processing apparatus 200 generates print data that can be decoded by the printer 300 based on the image data, and transmits the generated print data to the printer 300. .

なお、本実施の形態では、各種演算をCPU201が実行する構成としたが、画像処理に係る演算を行う専用のチップを別途設け、CPU201からの指示により演算を行う構成としてもよい。   In the present embodiment, the CPU 201 performs various calculations. However, a dedicated chip for performing calculations related to image processing may be provided separately, and calculations may be performed according to instructions from the CPU 201.

また、本発明に係るコンピュータプログラムを記録する記録媒体Mとしては、前述したFD及びCD−ROMの他に、MO、MD、DVD等の光ディスク、ハードディスク等の磁気記録媒体、ICカード、メモリカード、光カード等のカード型記録媒体、マスクROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read Only Memory)、フラッシュROM等による半導体メモリの利用も可能である。また、インターネットを含む通信ネットワークを接続可能なシステム構成であることから、通信ネットワークから本発明に係るプログラムコードをダウンロードするようにしてもよい。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   As the recording medium M for recording the computer program according to the present invention, in addition to the FD and CD-ROM described above, optical recording media such as MO, MD, DVD, magnetic recording media such as hard disks, IC cards, memory cards, It is also possible to use a semiconductor memory such as a card-type recording medium such as an optical card, mask ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash ROM, or the like. Further, since the system configuration is such that a communication network including the Internet can be connected, the program code according to the present invention may be downloaded from the communication network. 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.

また、本発明のコンピュータプログラムは、単体のアプリケーションプログラム、ユーティリティプログラムとして提供される形態であってもよく、他のアプリケーションプログラム、ユーティリティプログラムに組み込み、そのプログラムの一部の機能として提供する形態であってもよい。例えば、その一形態としてプリンタドライバに組み込んで提供する形態が考えられる。この場合、原稿画像を読取って取得した画像データに基づいて原稿種別の判定を行い、判定結果に応じた画像処理を施した後、プリンタ言語に翻訳して目的のプリンタ装置へ送信する処理が行われる。   In addition, the computer program of the present invention may be provided as a single application program or utility program, or may be incorporated into another application program or utility program and provided as a partial function of the program. May be. For example, as one form, a form provided by being incorporated in a printer driver is conceivable. In this case, the document type is determined based on the image data obtained by reading the document image, subjected to image processing according to the determination result, and then translated into a printer language and transmitted to the target printer device. Is called.

本実施の形態に係る画像処理装置の内部構成を説明するブロック図である。It is a block diagram explaining the internal structure of the image processing apparatus which concerns on this Embodiment. 主走査方向及び副走査方向の特徴量の分布の解析例を説明する説明図である。It is explanatory drawing explaining the example of analysis of distribution of the feature-value in a main scanning direction and a subscanning direction. 主走査方向及び副走査方向の特徴量の分布の解析例を説明する説明図である。It is explanatory drawing explaining the example of analysis of distribution of the feature-value in a main scanning direction and a subscanning direction. 主走査方向及び副走査方向の特徴量の分布の解析例を説明する説明図である。It is explanatory drawing explaining the example of analysis of distribution of the feature-value in a main scanning direction and a subscanning direction. 主走査方向及び副走査方向の特徴量の分布の解析例を説明する説明図である。It is explanatory drawing explaining the example of analysis of distribution of the feature-value in a main scanning direction and a subscanning direction. 本実施の形態に係る画像処理装置が実行する処理の手順を説明するフローチャートである。It is a flowchart explaining the procedure of the process which the image processing apparatus which concerns on this Embodiment performs. 本実施の形態に係る画像処理装置が実行する処理の手順を説明するフローチャートである。It is a flowchart explaining the procedure of the process which the image processing apparatus which concerns on this Embodiment performs. 有効画像領域の設定例を示す模式図である。It is a schematic diagram which shows the example of a setting of an effective image area | region. 実施の形態2に係る原稿種別判定の処理手順を説明するフローチャートである。10 is a flowchart illustrating a document type determination processing procedure according to the second embodiment. 本実施の形態に係る画像形成装置の内部構成を説明するブロック図である。1 is a block diagram illustrating an internal configuration of an image forming apparatus according to an embodiment. 本実施の形態に係る画像読取装置の内部構成を説明するブロック図である。1 is a block diagram illustrating an internal configuration of an image reading apparatus according to an embodiment. 本発明のコンピュータプログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)がインストールされた画像処理装置の内部構成を説明するブロック図である。It is a block diagram explaining the internal structure of the image processing apparatus in which the program code (execution format program, intermediate code program, source program) of the computer program of this invention was installed.

符号の説明Explanation of symbols

52 原稿種別判定部
521 原稿変換部
522 解像度変換部
523 主走査方向特徴量算出部
524 主走査方向特徴量解析部
525 副走査方向特徴量算出部
526 副走査方向特徴量解析部
527 判定部
52 Document type determination unit 521 Document conversion unit 522 Resolution conversion unit 523 Main scanning direction feature value calculation unit 524 Main scanning direction feature value analysis unit 525 Sub-scanning direction feature value calculation unit 526 Sub-scanning direction feature value analysis unit 527 Determination unit

Claims (12)

原稿を読み取ることにより得られる画像に基づき、前記原稿の種別を判定する画像処理装置において、
前記画像を2値化する手段と、2値化した画像を主走査方向及び副走査方向に走査して、該主走査方向及び副走査方向に沿った複数のラインについて各ラインの特徴を表す特徴量を、走査した各ライン上で2値の一方から他方に反転する回数として抽出する手段と、抽出した各ラインの特徴量と予め定めた閾値とを比較し、特徴量が前記閾値以下と判断したラインが所定数だけ連続する空白領域の数を前記主走査方向及び副走査方向の夫々について計数する手段と、計数した前記主走査方向及び副走査方向の空白領域の数が予め定めた条件を満たすか否かを判定する手段とを備え、
前記空白領域の数が前記条件を満たすと判定した場合、前記原稿が複数の画像を1頁内に割り付けた割付原稿であると判定するようにしてあることを特徴とする画像処理装置。
In the image processing apparatus for determining the type of the document based on the image obtained by reading the document,
Means for binarizing the image, and a feature that represents the characteristic of each line for a plurality of lines along the main scanning direction and the sub-scanning direction by scanning the binarized image in the main scanning direction and the sub-scanning direction. The means for extracting the amount as the number of times of reversal from one of the binary values to the other on each scanned line is compared with the feature value of each extracted line and a predetermined threshold value, and the feature value is determined to be equal to or less than the threshold value. Means for counting the number of blank areas in which a predetermined number of lines continue in each of the main scanning direction and the sub-scanning direction, and a condition in which the number of blank areas counted in the main scanning direction and the sub-scanning direction is predetermined. Means for determining whether or not to satisfy,
An image processing apparatus, wherein when it is determined that the number of blank areas satisfies the condition, the document is determined to be an allocated document in which a plurality of images are allocated within one page.
原稿を読み取ることにより得られる画像に基づき、前記原稿の種別を判定する画像処理装置において、
前記画像を主走査方向及び副走査方向に走査して、該主走査方向及び副走査方向に沿った複数のラインについて各ライン上で画像のエッジを検出する手段と、前記主走査方向及び副走査方向の各ラインの特徴を表す特徴量を、ライン毎に検出したエッジの数として抽出する手段と、抽出した各ラインの特徴量と予め定めた閾値とを比較し、特徴量が前記閾値以下と判断したラインが所定数だけ連続する空白領域の数を前記主走査方向及び副走査方向の夫々について計数する手段と、計数した前記主走査方向及び副走査方向の空白領域の数が予め定めた条件を満たすか否かを判定する手段とを備え、
前記空白領域の数が前記条件を満たすと判定した場合、前記原稿が複数の画像を1頁内に割り付けた割付原稿であると判定するようにしてあることを特徴とする画像処理装置。
In the image processing apparatus for determining the type of the document based on the image obtained by reading the document,
Means for scanning the image in the main scanning direction and the sub-scanning direction and detecting an edge of the image on each line for a plurality of lines along the main scanning direction and the sub-scanning direction; and the main scanning direction and the sub-scanning A means for extracting the feature amount representing the feature of each line in the direction as the number of edges detected for each line, and comparing the feature amount of each extracted line with a predetermined threshold value, and the feature amount is equal to or less than the threshold value Means for counting the number of blank areas in which the determined lines continue for a predetermined number in each of the main scanning direction and the sub-scanning direction, and the number of blank areas counted in the main scanning direction and the sub-scanning direction are predetermined conditions Means for determining whether or not
An image processing apparatus , wherein when it is determined that the number of blank areas satisfies the condition, the document is determined to be an allocated document in which a plurality of images are allocated within one page .
原稿を読み取ることにより得られる画像に基づき、前記原稿の種別を判定する画像処理装置において、
前記画像を主走査方向及び副走査方向に走査して、該主走査方向及び副走査方向に沿った複数のラインについて各ラインの特徴を表す特徴量を、各ラインに含まれる画素画素値の平均値として算出する手段と、算出した各ラインの特徴量と予め定めた閾値とを比較し、特徴量が前記閾値以下と判断したラインが所定数だけ連続する空白領域の数を前記主走査方向及び副走査方向の夫々について計数する手段と、計数した前記主走査方向及び副走査方向の空白領域の数が予め定めた条件を満たすか否かを判定する手段とを備え、
前記空白領域の数が前記条件を満たすと判定した場合、前記原稿が複数の画像を1頁内に割り付けた割付原稿であると判定するようにしてあることを特徴とする画像処理装置。
In the image processing apparatus for determining the type of the document based on the image obtained by reading the document,
The image is scanned in the main scanning direction and the sub-scanning direction, and the feature amount representing the characteristic of each line for a plurality of lines along the main scanning direction and the sub-scanning direction is calculated by the pixel value of the pixel included in each line. The means for calculating as an average value is compared with the calculated feature value of each line and a predetermined threshold value, and the number of blank areas in which a predetermined number of lines whose feature value is determined to be equal to or less than the threshold value is determined in the main scanning direction And means for counting each in the sub-scanning direction, and means for determining whether or not the counted number of blank areas in the main scanning direction and the sub-scanning direction satisfies a predetermined condition,
An image processing apparatus , wherein when it is determined that the number of blank areas satisfies the condition, the document is determined to be an allocated document in which a plurality of images are allocated within one page .
原稿を読み取ることにより得られる画像に基づき、前記原稿の種別を判定する画像処理装置において、
前記画像を主走査方向及び副走査方向に走査して、該主走査方向及び副走査方向に沿った複数のラインについて各ラインの特徴を表す特徴量を、走査した各ラインに含まれる画素画素値のばらつきとして算出する手段と、算出した各ラインの特徴量と予め定めた閾値とを比較し、特徴量が前記閾値以下と判断したラインが所定数だけ連続する空白領域の数を前記主走査方向及び副走査方向の夫々について計数する手段と、計数した前記主走査方向及び副走査方向の空白領域の数が予め定めた条件を満たすか否かを判定する手段とを備え、
前記空白領域の数が前記条件を満たすと判定した場合、前記原稿が複数の画像を1頁内に割り付けた割付原稿であると判定するようにしてあることを特徴とする画像処理装置。
In the image processing apparatus for determining the type of the document based on the image obtained by reading the document,
By scanning the image in the main scanning direction and the sub scanning direction, the pixels of the pixels included a feature amount for a plurality of lines along the main scanning direction and the sub-scanning direction representing the characteristics of each line, each line scanned The means for calculating the value variation is compared with the calculated feature value of each line and a predetermined threshold value, and the number of blank areas in which a predetermined number of lines whose feature value is determined to be equal to or less than the threshold value is continued in the main scanning. Means for counting each of the direction and the sub-scanning direction, and means for determining whether or not the counted number of blank areas in the main scanning direction and the sub-scanning direction satisfy a predetermined condition,
An image processing apparatus , wherein when it is determined that the number of blank areas satisfies the condition, the document is determined to be an allocated document in which a plurality of images are allocated within one page .
走査する画像を低解像度化する手段を更に備えることを特徴とする請求項から請求項の何れか1つに記載の画像処理装置。 The image processing apparatus according to any one of claims 4 the image to be scanned from claim 1, characterized by further comprising means for low resolution. 前記画像が割付原稿であると判定した場合、割り付けられた画像の夫々を抽出する手段と、抽出した夫々の画像を1頁ずつ画像形成するために、前記夫々の画像に対して所定の処理を施す画像処理手段とを備えることを特徴とする請求項1から請求項の何れか1つに記載の画像処理装置。 When it is determined that the image is an allocated document, a predetermined process is performed on each of the images in order to form each page of the extracted images and a means for extracting each of the allocated images. the image processing device according to claim 1, characterized in that it comprises an image processing unit to any one of claims 5 to perform. 請求項に記載の画像処理装置と、該画像処理装置が備える画像処理手段により処理を施した画像をシート上に形成する手段とを備えることを特徴とする画像形成装置。 An image forming apparatus comprising: the image processing apparatus according to claim 6 ; and a unit that forms an image processed by an image processing unit included in the image processing apparatus on a sheet. コンピュータに、原稿を読み取ることにより得られた画像に基づいて前記原稿の種別を判定させるコンピュータプログラムにおいて、
コンピュータに、
前記画像を2値化させるステップと、
2値化させた画像を主走査方向及び副走査方向に走査させて、該主走査方向及び副走査方向に沿った複数のラインについて各ラインの特徴を表す特徴量を、走査させた各ライン上で2値の一方から他方に反転する回数として抽出させるステップと、
抽出させた各ラインの特徴量と予め定めた閾値とを比較させ、特徴量が前記閾値以下と判断したラインが所定数だけ連続する空白領域の数を前記主走査方向及び副走査方向の夫々について計数させるステップと
数させた前記主走査方向及び副走査方向の空白領域の数が予め定めた条件を満たすか否かを判定させるステップと
記空白領域の数が前記条件を満たすと判定した場合、前記原稿が複数の画像を1頁内に割り付けた割付原稿であると判定させるステップと
を実行させるためのコンピュータプログラム。
In a computer program for causing a computer to determine the type of the original based on an image obtained by reading the original,
On the computer,
Binarizing the image;
The image was binarized is scanned in the main scanning direction and the sub-scanning direction, the main scanning direction and the feature amount representing the feature of each line for a plurality of lines along the sub-scanning direction, each line on which were scanned And extracting the binary number as the number of times of reversal from one to the other ,
The feature amount of each extracted line is compared with a predetermined threshold value, and the number of blank areas in which a predetermined number of lines whose feature amount is determined to be equal to or less than the threshold value is determined for each of the main scanning direction and the sub-scanning direction. A step of counting ;
A step number of counting is not said main scanning direction and the sub scanning direction of the blank area to determine whether or not the condition that a predetermined,
If the number of previous SL blank area is determined with the condition is satisfied, a computer program for executing the step of determining said original is a allocation document assigned a plurality of images in one page.
コンピュータに、原稿を読み取ることにより得られた画像に基づいて前記原稿の種別を判定させるコンピュータプログラムにおいて、In a computer program for causing a computer to determine the type of the original based on an image obtained by reading the original,
コンピュータに、On the computer,
前記画像を主走査方向及び副走査方向に走査させて、該主走査方向及び副走査方向に沿った複数のラインについて各ライン上で画像のエッジを検出させるステップと、Scanning the image in the main scanning direction and the sub-scanning direction, and detecting an edge of the image on each line for a plurality of lines along the main scanning direction and the sub-scanning direction;
前記主走査方向及び副走査方向の各ラインの特徴を表す特徴量を、ライン毎に検出したエッジの数として抽出させるステップと、Extracting a feature amount representing a feature of each line in the main scanning direction and the sub-scanning direction as the number of edges detected for each line;
抽出させた各ラインの特徴量と予め定めた閾値とを比較させ、特徴量が前記閾値以下と判断したラインが所定数だけ連続する空白領域の数を前記主走査方向及び副走査方向の夫々について計数させるステップと、The feature amount of each extracted line is compared with a predetermined threshold value, and the number of blank areas in which a predetermined number of lines whose feature amount is determined to be equal to or less than the threshold value is determined for each of the main scanning direction and the sub-scanning direction. A step of counting;
計数させた前記主走査方向及び副走査方向の空白領域の数が予め定めた条件を満たすか否かを判定させるステップと、Determining whether the counted number of blank areas in the main scanning direction and the sub-scanning direction satisfies a predetermined condition;
前記空白領域の数が前記条件を満たすと判定した場合、前記原稿が複数の画像を1頁内に割り付けた割付原稿であると判定させるステップとDetermining that the number of blank areas satisfies the condition satisfies the document as an allocated document in which a plurality of images are allocated within one page;
を実行させるためのコンピュータプログラム。A computer program for running.
コンピュータに、原稿を読み取ることにより得られた画像に基づいて前記原稿の種別を判定させるコンピュータプログラムにおいて、In a computer program for causing a computer to determine the type of the original based on an image obtained by reading the original,
コンピュータに、On the computer,
前記画像を主走査方向及び副走査方向に走査させて、該主走査方向及び副走査方向に沿った複数のラインについて各ラインの特徴を表す特徴量を、各ラインに含まれる画素の画素値の平均値として算出させるステップと、The image is scanned in the main scanning direction and the sub-scanning direction, and a feature amount representing a feature of each line for a plurality of lines along the main scanning direction and the sub-scanning direction is calculated based on the pixel value of the pixel included in each line. Calculating as an average value;
算出させた各ラインの特徴量と予め定めた閾値とを比較させ、特徴量が前記閾値以下と判断したラインが所定数だけ連続する空白領域の数を前記主走査方向及び副走査方向の夫々について計数させるステップと、The calculated feature amount of each line is compared with a predetermined threshold value, and the number of blank regions in which a predetermined number of lines whose feature amount is determined to be equal to or less than the threshold value is determined for each of the main scanning direction and the sub-scanning direction. A step of counting;
計数させた前記主走査方向及び副走査方向の空白領域の数が予め定めた条件を満たすか否かを判定させるステップと、Determining whether the counted number of blank areas in the main scanning direction and the sub-scanning direction satisfies a predetermined condition;
前記空白領域の数が前記条件を満たすと判定した場合、前記原稿が複数の画像を1頁内に割り付けた割付原稿であると判定させるステップとDetermining that the number of blank areas satisfies the condition satisfies the document as an allocated document in which a plurality of images are allocated within one page;
を実行させるためのコンピュータプログラム。A computer program for running.
コンピュータに、原稿を読み取ることにより得られた画像に基づいて前記原稿の種別を判定させるコンピュータプログラムにおいて、In a computer program for causing a computer to determine the type of the original based on an image obtained by reading the original,
コンピュータに、On the computer,
前記画像を主走査方向及び副走査方向に走査させて、該主走査方向及び副走査方向に沿った複数のラインについて各ラインの特徴を表す特徴量を、走査した各ラインに含まれる画素の画素値のばらつきとして算出させるステップと、The image is scanned in the main scanning direction and the sub-scanning direction, and the feature amount representing the characteristics of each line for a plurality of lines along the main scanning direction and the sub-scanning direction is displayed. Calculating as a variation in value;
算出させた各ラインの特徴量と予め定めた閾値とを比較させ、特徴量が前記閾値以下と判断したラインが所定数だけ連続する空白領域の数を前記主走査方向及び副走査方向の夫々について計数させるステップと、The calculated feature amount of each line is compared with a predetermined threshold value, and the number of blank regions in which a predetermined number of lines whose feature amount is determined to be equal to or less than the threshold value is determined for each of the main scanning direction and the sub-scanning direction. A step of counting;
計数させた前記主走査方向及び副走査方向の空白領域の数が予め定めた条件を満たすか否かを判定させるステップと、Determining whether the counted number of blank areas in the main scanning direction and the sub-scanning direction satisfies a predetermined condition;
前記空白領域の数が前記条件を満たすと判定した場合、前記原稿が複数の画像を1頁内に割り付けた割付原稿であると判定させるステップとDetermining that the number of blank areas satisfies the condition satisfies the document as an allocated document in which a plurality of images are allocated within one page;
を実行させるためのコンピュータプログラム。A computer program for running.
請求項8から請求項11の何れか1つに記載のコンピュータプログラムが記録されていることを特徴とするコンピュータでの読み取りが可能な記録媒体。 A computer-readable recording medium on which the computer program according to any one of claims 8 to 11 is recorded.
JP2007150862A 2007-06-06 2007-06-06 Image processing apparatus, image forming apparatus, computer program, and recording medium Active JP4884305B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007150862A JP4884305B2 (en) 2007-06-06 2007-06-06 Image processing apparatus, image forming apparatus, computer program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007150862A JP4884305B2 (en) 2007-06-06 2007-06-06 Image processing apparatus, image forming apparatus, computer program, and recording medium

Publications (2)

Publication Number Publication Date
JP2008305099A JP2008305099A (en) 2008-12-18
JP4884305B2 true JP4884305B2 (en) 2012-02-29

Family

ID=40233789

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007150862A Active JP4884305B2 (en) 2007-06-06 2007-06-06 Image processing apparatus, image forming apparatus, computer program, and recording medium

Country Status (1)

Country Link
JP (1) JP4884305B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9547799B2 (en) 2008-07-17 2017-01-17 Sharp Laboratories Of America, Inc. Methods and systems for content-boundary detection
US8873864B2 (en) 2009-12-16 2014-10-28 Sharp Laboratories Of America, Inc. Methods and systems for automatic content-boundary detection
JP6019661B2 (en) * 2012-03-28 2016-11-02 ブラザー工業株式会社 Image reading apparatus, image processing method, and image processing program
US9076058B2 (en) * 2013-01-29 2015-07-07 Sharp Laboratories Of America, Inc. Methods, systems and apparatus for determining orientation in a document image
JP2016162072A (en) 2015-02-27 2016-09-05 株式会社東芝 Feature quantity extraction apparatus

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0497652A (en) * 1990-08-15 1992-03-30 Murata Mach Ltd Long original division system in facsimile equipment
JPH05166001A (en) * 1991-12-11 1993-07-02 Fuji Facom Corp Character recognizing device
JP3607753B2 (en) * 1995-07-31 2005-01-05 株式会社リコー Document image region dividing method and apparatus, and column type discrimination method and apparatus
JP3544324B2 (en) * 1999-09-08 2004-07-21 日本電信電話株式会社 CHARACTER STRING INFORMATION EXTRACTION DEVICE AND METHOD, AND RECORDING MEDIUM CONTAINING THE METHOD
JP4059389B2 (en) * 2002-09-05 2008-03-12 株式会社リコー Image processing apparatus, image processing program, and storage medium
JP3914167B2 (en) * 2003-03-31 2007-05-16 京セラミタ株式会社 Image forming apparatus
JP2005208981A (en) * 2004-01-23 2005-08-04 Fuji Xerox Co Ltd Featured value extraction device, method for extracting featured value, and document filing device

Also Published As

Publication number Publication date
JP2008305099A (en) 2008-12-18

Similar Documents

Publication Publication Date Title
JP5540553B2 (en) Image processing apparatus, image forming apparatus, image processing method, and image processing program
JP4496239B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
JP4495197B2 (en) Image processing apparatus, image forming apparatus, image processing program, and recording medium for recording image processing program
JP5680605B2 (en) Image processing apparatus, image forming apparatus including the same, and image forming method
JP2009239887A (en) Image processor, image processing method, image forming apparatus, program, and recording medium
JP4115999B2 (en) Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium
JP4465377B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
JP4884305B2 (en) Image processing apparatus, image forming apparatus, computer program, and recording medium
JP2010016628A (en) Image processing device and image processing method
US7693332B2 (en) Image processing apparatus capable of generating distributable image while maintaining readability and security
JP2009017208A (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and computer readable recording medium
JP5025611B2 (en) Image processing apparatus, image forming apparatus, computer program, recording medium, and image processing method
JP6474315B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
JP4659789B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP4195958B2 (en) Color image recording device
JP6163244B2 (en) Image processing apparatus, image forming apparatus, image processing program, and recording medium
US10657428B2 (en) Image processing unit, image forming apparatus, image processing method, and storage medium
JP2006270148A (en) Image processing method, image processor and image forming apparatus
JP4043982B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium recording the same
JP6045182B2 (en) Image processing apparatus, image forming apparatus including the same, computer program, and recording medium
JP4958626B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP4808282B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium for recording image processing program
JP2010258706A (en) Image processing apparatus, image forming apparatus, method of controlling image processing apparatus, program, and recording medium
JP2008252292A (en) Image processing method, image processing apparatus, image forming apparatus, computer program and recording medium
JP5265040B2 (en) Image processing apparatus, image forming apparatus, computer program, recording medium, and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091021

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110527

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110607

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110802

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110830

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111026

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111115

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111206

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

Free format text: PAYMENT UNTIL: 20141216

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4884305

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150