JP2008271488A - Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium - Google Patents

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

Info

Publication number
JP2008271488A
JP2008271488A JP2007236706A JP2007236706A JP2008271488A JP 2008271488 A JP2008271488 A JP 2008271488A JP 2007236706 A JP2007236706 A JP 2007236706A JP 2007236706 A JP2007236706 A JP 2007236706A JP 2008271488 A JP2008271488 A JP 2008271488A
Authority
JP
Japan
Prior art keywords
image
attribute
pixels
line
calculated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007236706A
Other languages
Japanese (ja)
Other versions
JP4465377B2 (en
Inventor
Hironori Umizu
大典 雨水
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 JP2007236706A priority Critical patent/JP4465377B2/en
Priority to US12/057,230 priority patent/US8508823B2/en
Priority to CN 200810088810 priority patent/CN101277371B/en
Publication of JP2008271488A publication Critical patent/JP2008271488A/en
Application granted granted Critical
Publication of JP4465377B2 publication Critical patent/JP4465377B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing method, an image processing apparatus, an image forming apparatus, an image reading apparatus, a computer program, and a recording medium in which image processing is performed by discriminating the feature of a pixel per line. <P>SOLUTION: After initialization is performed (S11), an available image area is recognized from information, including a read start position and a read end position of a document, a scaling for performing image processing, a processing object position, or the like (S12). Subsequently, the number of chromatic pixels of one line is counted to output it to a memory (S16), and when it is summed up to an end line of the available image area (S17:YES), a difference between a count number N1 in one previous line of the available image area and a count number N2 in the end line of the available image area is calculated (S19) to thereby compare the difference with a predetermined threshold value (S20). When the difference is larger than the threshold (S20:YES), it is determined to be a chromatic image (S21), whereas when the difference is smaller than the threshold (S20:NO), it is determined to be an achromatic image (S22). <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、ライン単位で画素の属性を判別して画像処理を行う画像処理方法、画像処理装置、画像形成装置、画像読取装置、コンピュータプログラム、及び記録媒体に関する。   The present invention relates to an image processing method, an image processing apparatus, an image forming apparatus, an image reading apparatus, a computer program, and a recording medium that perform image processing by determining pixel attributes in units of lines.

デジタル複写機やデジタル複合機などの画像形成装置において、読み込んだ個々の原稿に適した画像処理方法で画像処理を行うために、これらの原稿がカラー原稿か白黒原稿かを判定するオートカラーセレクト処理(以下、ACS処理(ACS : Auto Color Selection )と記載)を行うことがある(例えば、特許文献1を参照)。   In an image forming apparatus such as a digital copying machine or a digital multi-function peripheral, an automatic color selection process is performed to determine whether these originals are color originals or monochrome originals in order to perform image processing using an image processing method suitable for each read original. (Hereinafter, it is described as ACS processing (ACS: Auto Color Selection)) (see, for example, Patent Document 1).

従来では、各画素毎にカラー画素であるかモノクロ画素であるかを判別し、与えられる画素順で所定数以上の連続するカラー画素の存在が検知されると、この連続カラー画素分をカラーブロックと認識し、1ライン中に所定数以上のカラーブロックが存在していれば、そのラインをカラーラインとして計数する。そして、原稿中のカラーラインが所定数存在していればカラー画像と判断し、そうでない場合はモノクロ画像と判断していた。   Conventionally, it is determined whether each pixel is a color pixel or a monochrome pixel, and when the presence of a predetermined number or more of continuous color pixels in the given pixel order is detected, the continuous color pixel portion is detected as a color block. If a predetermined number or more of color blocks exist in one line, the line is counted as a color line. If a predetermined number of color lines exist in the document, it is determined as a color image. Otherwise, it is determined as a monochrome image.

このようなACS処理は、全領域に対して行う場合と、読み込まれた原稿の部分領域に対して行う場合とで結果が異なることがあるため、出力する画像領域に相当する有効画像領域に対してのみACS処理を行うことが望ましい。   Such an ACS process may be performed differently depending on whether it is performed on the entire area or on a partial area of the read document. Therefore, the ACS process is performed on the effective image area corresponding to the output image area. It is desirable to perform ACS processing only.

図29及び図30は有効画像領域に依存して判定結果が異なる例を説明する説明図である。図29は白黒画素とカラー画素とを有する原稿に対して、原稿全体にACS処理を行う場合の例である。原稿全体の画素数に対して判定基準以上の割合でカラー画素を有しており、カラー原稿と判定される。図30に示した原稿は、図29に示した原稿と同一の原稿であるが、左半分の領域のみに対してACS処理を行う場合の例である。原稿全体としてはカラー画素を有しているが、有効画像領域にはカラー画素が判定基準以上の割合で存在していないので、白黒原稿と判定される。   29 and 30 are explanatory diagrams for explaining an example in which the determination result differs depending on the effective image area. FIG. 29 shows an example in which ACS processing is performed on the entire document with respect to a document having monochrome pixels and color pixels. It has color pixels at a rate equal to or greater than the criterion for the number of pixels of the entire document, and is determined to be a color document. The document shown in FIG. 30 is the same as the document shown in FIG. 29, but is an example in the case where ACS processing is performed only on the left half area. Although the entire document has color pixels, since there are no color pixels in the effective image area at a rate equal to or higher than the determination reference, the document is determined to be a monochrome document.

また、同様に出力する有効画像領域に対してのみ行う画像認識処理として原稿判定処理、下地色認識処理がある。スキャナから読み込んだ原稿に対して原稿判定処理を行う場合、プレスキャンを行い、有効画像領域のライン画像データに対して、立ち上がり及び立ち下がりまでの高濃度部分の画素数の差の平均値と、立ち下がりから立ち上がりまでの低濃度部分の画素数を求め、隣り合う低濃度部分の画素数の差の平均値の和という特徴量を求めることで文字画素であるかどうかを判定し、領域内の全画素数に対して文字画素がある閾値以上の割合で存在すれば文字原稿、そうでなければ写真原稿などとして認識する方法がある(例えば、特許文献2を参照)。
特開平4−282968号公報 特開2002−125121号公報
Similarly, there are document determination processing and background color recognition processing as image recognition processing performed only for the effective image area to be output. When performing document determination processing on a document read from a scanner, pre-scanning is performed, and the average value of the difference in the number of pixels in the high density portion between the rising edge and the falling edge of the line image data in the effective image area, The number of pixels in the low density part from the falling to the rising is obtained, and it is determined whether or not it is a character pixel by obtaining the feature amount that is the sum of the average values of the differences in the number of pixels in the adjacent low density parts. There is a method of recognizing a character original if the character pixels are present at a ratio equal to or higher than a certain threshold with respect to the total number of pixels, and a photo original if not (see, for example, Patent Document 2).
JP-A-4-282968 JP 2002-125121 A

しかしながら、特許文献1に記載されたACS判定処理、特許文献2に記載された原稿判別処理は何れも原稿台に原稿を置き、原稿全体の画像データを読み取ってACS判定や原稿種別の判定を行うことを想定した処理である。例えば、原稿自動送り装置によって原稿をライン単位で読み取って処理を行う場合を考えると、原稿の有効画像領域は、原稿の後端を検知したときに確定され、一度原稿全体を読み込み有効画像領域が確定した後にならないとACS処理や原稿種別の判別を開始することができないという問題がある。   However, the ACS determination process described in Patent Document 1 and the document determination process described in Patent Document 2 both place an original on a document table, read the image data of the entire original, and perform ACS determination and original type determination. This is a process that assumes this. For example, when considering processing by reading a document line by line with an automatic document feeder, the effective image area of the document is determined when the trailing edge of the document is detected. There is a problem in that the ACS process and the document type determination cannot be started until after confirmation.

図31は原稿自動送り装置によって原稿をライン単位で読み取る場合の処理を説明する説明図である。原稿が自動原稿送り装置を備えたラインスキャナにより読み込まれる場合、スキャンの副走査方向に対して、後端から特定の画素幅y分の領域CDEFを有効画像領域とするためには、後端の位置及び特定画素幅yが必要である。yは出力画像サイズや倍率などから計算されるため、原稿を読み込む以前に確定することができる。しかし、領域CDEFはラインスキャナの原稿端検知センサにより原稿の後端が検知されるまで確定できない。すなわち、少なくとも後端が確定するまでに読み込んだデータをメモリなどに格納しておき、確定した後にメモリから画像データを再度読み出して有効画像領域のみに対してACS処理を行う必要があるという問題点を有している。   FIG. 31 is an explanatory diagram for explaining processing when a document is read line by line by the automatic document feeder. When a document is read by a line scanner equipped with an automatic document feeder, in order to make a region CDEF corresponding to a specific pixel width y from the rear end in the sub-scanning direction of the scan as an effective image region, A position and a specific pixel width y are required. Since y is calculated from the output image size, magnification, etc., it can be determined before reading the document. However, the area CDEF cannot be determined until the trailing edge of the document is detected by the document edge detection sensor of the line scanner. That is, it is necessary to store the read data at least until the rear end is determined in a memory or the like, read the image data from the memory again after the determination, and perform ACS processing only on the effective image area. have.

本発明は斯かる事情に鑑みてなされたものであり、設定した領域の直前のライン及び後端のラインの夫々から算出した特徴量の差分を算出し、算出した差分に基づいて領域の属性を判別し、判別結果に応じた処理を行う構成とすることにより、プレスキャンや画像データをメモリに蓄積することなく認識処理を開始することができる画像処理方法、画像処理装置、画像形成装置、画像読取装置、コンピュータプログラム、該コンピュータプログラムを記録した記録媒体を提供することを目的とする。   The present invention has been made in view of such circumstances, and calculates a difference between feature amounts calculated from a line immediately before a set region and a line at the rear end of the set region, and determines an attribute of the region based on the calculated difference. An image processing method, an image processing apparatus, an image forming apparatus, and an image that can start recognition processing without discriminating and performing processing according to the determination result without accumulating pre-scan or image data in a memory. An object is to provide a reading device, a computer program, and a recording medium on which the computer program is recorded.

本発明に係る画像処理方法は、画像の属性を判別し、判別結果に応じた処理を行う画像処理方法において、判別対象の画像を複数の画素からなるライン毎に順次読み込み、読み込んだラインを構成する画素の特徴を表す特徴量を算出し、算出した特徴量に基づいて画素の属性を判別して、属性の判別がなされた画素を計数し、前記画像について処理を施すべき領域を設定し、設定した領域の直前のライン及び後端のラインの夫々から算出した属性の判別がなされた画素数の差分を算出し、算出した差分に基づいて前記領域の属性を判別し、判別結果に応じた処理を前記領域内の画像に対して施すことを特徴とする。   The image processing method according to the present invention is an image processing method for determining an attribute of an image and performing processing according to the determination result. The image to be determined is sequentially read for each line composed of a plurality of pixels, and the read line is configured. Calculating the feature amount representing the feature of the pixel to be determined, determining the attribute of the pixel based on the calculated feature amount, counting the pixels for which the attribute has been determined, and setting a region to be processed for the image, Calculate the difference in the number of pixels for which the attribute is calculated from each of the line immediately before and the line at the rear end of the set area, determine the attribute of the area based on the calculated difference, and according to the determination result The processing is performed on the image in the region.

本発明にあっては、画像データの入力開始時に画像の副走査方向サイズが不明であっても、プレスキャンや画像データをメモリに蓄積することなく認識処理の開始が可能となる。また、画像サイズが確定した後(画像データ入力完了時)に設定した画像領域に相当する判別結果の再集計を行う際、1ライン毎に該当ラインのみの集計結果を保存する場合に比べて再集計処理に係る処理量が軽減される。   According to the present invention, even if the sub-scanning direction size of an image is unknown at the start of image data input, the recognition process can be started without pre-scanning or storing image data in a memory. In addition, when re-summarizing the discrimination results corresponding to the image area set after the image size is determined (when image data input is completed), it is possible to re-aggregate compared to the case where the summation results for only the corresponding line are saved for each line. The amount of processing related to the aggregation process is reduced.

本発明に係る画像処理方法は、画像の属性を判別し、判別結果に応じた処理を行う画像処理方法において、判別対象の画像を複数の画素からなるライン毎に順次読み込み、読み込んだラインを構成する画素の特徴を表す特徴量を算出し、算出した特徴量に基づいて画素の属性を判別して、属性の判別がなされた画素を主走査方向に分割されたカラム毎に計数し、前記画像について処理を施すべき領域を設定し、設定した領域の直前のライン及び後端のラインの夫々から算出した属性の判別がなされた画素数の差分を、設定した領域に含まれるカラム毎に算出し、算出したカラム毎の差分の総和に基づいて前記領域の属性を判別し、判別結果に応じた処理を前記領域内の画像に対して施すことを特徴とする。   The image processing method according to the present invention is an image processing method for determining an attribute of an image and performing processing according to the determination result. The image to be determined is sequentially read for each line composed of a plurality of pixels, and the read line is configured. Calculating the feature amount representing the feature of the pixel to be determined, determining the attribute of the pixel based on the calculated feature amount, counting the pixel for which the attribute has been determined for each column divided in the main scanning direction, and For each column included in the set area, the area to be processed is set, and the difference in the number of pixels for which the attribute is calculated from each of the line immediately before and after the set area is determined. The attribute of the region is determined based on the calculated sum of differences for each column, and processing according to the determination result is performed on the image in the region.

本発明にあっては、主走査方向についても分割して判別結果を求めるため、画像データを一旦ハードディスク等に格納した後、格納されている画像データを用いて、有効画像領域を変更して再度処理を行う場合(例えば、枠消し処理を行う場合)、新たに設定された有効画像領域に対する認識処理を行うことができる。   In the present invention, in order to obtain the determination result by dividing also in the main scanning direction, after the image data is temporarily stored in the hard disk or the like, the effective image area is changed again using the stored image data. When processing is performed (for example, when frame erasing processing is performed), recognition processing for a newly set effective image area can be performed.

本発明に係る画像処理方法は、画像の属性を判別し、判別結果に応じた処理を行う画像処理方法において、判別対象の画像を複数の画素からなるライン毎に順次読み込み、読み込んだラインを構成する画素の特徴を表す特徴量を算出し、算出した特徴量に基づいて画素の属性を判別して、属性の判別がなされた画素を主走査方向に予め設定された複数の有効画像領域毎に計数し、前記画像について処理を施すべき領域を設定し、設定した領域に対応する計数結果に対して設定した領域の直前のライン及び後端のラインの夫々から算出した属性の判別がなされた画素数の差分を算出し、算出した差分の総和に基づいて前記領域の属性を判別し、判別結果に応じた処理を前記領域内の画像に対して施すことを特徴とする。   The image processing method according to the present invention is an image processing method for determining an attribute of an image and performing processing according to the determination result. The image to be determined is sequentially read for each line composed of a plurality of pixels, and the read line is configured. Calculating a feature amount representing the feature of the pixel to be detected, discriminating the attribute of the pixel based on the calculated feature amount, and determining the attribute for each of a plurality of effective image areas preset in the main scanning direction Counting and setting the area to be processed for the image, and the pixel for which the attribute calculated from each of the immediately preceding line and the trailing line of the set area is determined for the counting result corresponding to the set area The difference between the numbers is calculated, the attribute of the area is determined based on the calculated sum of the differences, and processing according to the determination result is performed on the image in the area.

本発明にあっては、必要となるカラムの数に対して有効画像領域の数が少ない場合、計数結果の保存に必要となるメモリ量を削減することができる。   In the present invention, when the number of effective image areas is smaller than the number of necessary columns, it is possible to reduce the amount of memory necessary for storing the counting results.

本発明に係る画像処理装置は、画像の属性を判別し、判別結果に応じた処理を行う画像処理装置において、判別対象の画像を複数の画素からなるライン毎に順次読み込む手段と、読み込んだラインを構成する画素の特徴を表す特徴量を算出し、算出した特徴量に基づいて画素の属性を判別する手段と、前記属性の判別がなされた画素を計数する手段と、前記画像について処理を施すべき領域を設定する手段と、設定した領域の直前のライン及び後端のラインの夫々から算出した属性の判別がなされた画素数の差分を算出する手段と、算出した差分に基づいて前記領域の特徴を判別する手段と、該手段による判別結果に応じた処理を前記領域内の画像に対して施す手段とを備えることを特徴とする。   An image processing apparatus according to the present invention, in an image processing apparatus that determines an attribute of an image and performs processing according to the determination result, means for sequentially reading an image to be determined for each line composed of a plurality of pixels, A feature amount representing a feature of the pixels constituting the image, a means for determining the attribute of the pixel based on the calculated feature amount, a means for counting the pixels for which the attribute has been determined, and processing the image Means for setting the power region, means for calculating the difference in the number of pixels for which the attribute is calculated from each of the line immediately before and the line at the rear end of the set region, and based on the calculated difference, And a means for discriminating the characteristics, and a means for performing processing on the image in the region according to the discrimination result by the means.

本発明にあっては、画像データの入力開始時に画像の副走査方向サイズが不明であっても、プレスキャンや画像データをメモリに蓄積することなく認識処理の開始が可能となる。また、画像サイズが確定した後(画像データ入力完了時)に設定した画像領域に相当する判別結果の再集計を行う際、1ライン毎に該当ラインのみの集計結果を保存する場合に比べて再集計処理に係る処理量が軽減される。   According to the present invention, even if the sub-scanning direction size of an image is unknown at the start of image data input, the recognition process can be started without pre-scanning or storing image data in a memory. In addition, when re-summarizing the discrimination results corresponding to the image area set after the image size is determined (when image data input is completed), it is possible to re-aggregate compared to the case where the summation results for only the corresponding line are saved for each line. The amount of processing related to the aggregation process is reduced.

本発明に係る画像処理装置は、画像の属性を判別し、判別結果に応じた処理を行う画像処理装置において、判別対象の画像を複数の画素からなるライン毎に順次読み込む手段と、読み込んだラインを構成する画素の特徴を表す特徴量を算出し、算出した特徴量に基づいて画素の属性を判別する手段と、前記属性の判別がなされた画素を主走査方向に分割されたカラム毎に計数する手段と、前記画像について処理を施すべき領域を設定する手段と、設定した領域の直前のライン及び後端のラインの夫々から算出した属性の判別がなされた画素数の差分を、設定した領域に含まれるカラム毎に算出する手段と、算出したカラム毎の差分の総和に基づいて前記設定した領域の特徴を判別する手段と、該手段による判別結果に応じた処理を前記設定した領域内の画像に対して施す手段とを備えることを特徴とする。   An image processing apparatus according to the present invention, in an image processing apparatus that determines an attribute of an image and performs processing according to the determination result, means for sequentially reading an image to be determined for each line composed of a plurality of pixels, Means for calculating the feature amount representing the feature of the pixel constituting the pixel, and determining the attribute of the pixel based on the calculated feature amount, and counting the pixel for which the attribute has been determined for each column divided in the main scanning direction Means for setting the area to be processed for the image, and the difference between the number of pixels for which the attribute is calculated from the line immediately before and the line at the rear end of the set area. Means for calculating for each column included in the data, means for determining the characteristics of the set region based on the calculated sum of differences for each column, and setting the processing according to the determination result by the means. Characterized in that it comprises a means for performing the image in the region.

本発明にあっては、主走査方向についても分割して判別結果を求めるため、画像データを一旦ハードディスク等に格納した後、格納されている画像データを用いて、有効画像領域を変更して再度処理を行う場合(例えば、枠消し処理を行う場合)、新たに設定された有効画像領域に対する認識処理を行うことができる。   In the present invention, in order to obtain the determination result by dividing also in the main scanning direction, after the image data is temporarily stored in the hard disk or the like, the effective image area is changed again using the stored image data. When processing is performed (for example, when frame erasing processing is performed), recognition processing for a newly set effective image area can be performed.

本発明に係る画像処理装置は、複数の領域に対する特徴を夫々判別する手段と、前記複数の領域に対して判別された判別結果を夫々記憶する手段と、判別結果に応じた処理を各領域内の画像に対して施す手段とを備えることを特徴とする。   An image processing apparatus according to the present invention includes means for discriminating features for a plurality of areas, means for storing discrimination results discriminated for the plurality of areas, and processing corresponding to the discrimination results in each area. And means for applying to the image.

本発明にあっては、有効画像領域に対する判別結果を求めておき、判別結果のみを保存しておくことで、ライン単位で判別された画素数を保存する場合に比べてデータ量を少なくすることができる。   In the present invention, the determination result for the effective image area is obtained, and only the determination result is stored, so that the data amount can be reduced as compared with the case of storing the number of pixels determined in line units. Can do.

本発明に係る画像処理装置は、画像の属性を判別し、判別結果に応じた処理を行う画像処理装置において、判別対象の画像を複数の画素からなるライン毎に順次読み込む手段と、読み込んだラインを構成する画素の特徴を表す特徴量を算出し、算出した特徴量に基づいて画素の属性を判別する手段と、前記属性の判別がなされた画素を主走査方向に予め設定された複数の有効画像領域毎に計数する手段と、前記画像について処理を施すべき領域を設定する手段と、設定した領域に対応する計数結果に対して設定した領域の直前のライン及び後端のラインの夫々から算出した属性の判別がなされた画素数の差分を算出する手段と、算出した差分の総和に基づいて前記設定した領域の特徴を判別する手段と、該手段による判別結果に応じた処理を前記領域内の画像に対して施す手段とを備えることを特徴とする。   An image processing apparatus according to the present invention, in an image processing apparatus that determines an attribute of an image and performs processing according to the determination result, means for sequentially reading an image to be determined for each line composed of a plurality of pixels, Means for calculating the feature amount representing the feature of the pixel constituting the pixel, and determining the attribute of the pixel based on the calculated feature amount, and a plurality of valid pixels set in advance in the main scanning direction for which the attribute is determined Calculated from each of the means for counting for each image area, means for setting the area to be processed for the image, and the lines immediately before and after the set area for the count result corresponding to the set area Means for calculating the difference in the number of pixels for which the attribute has been determined, means for determining the characteristics of the set region based on the sum of the calculated differences, and processing according to the determination result by the means Characterized in that it comprises a means for performing the image of the serial area.

本発明にあっては、必要となるカラムの数に対して有効画像領域の数が少ない場合、計数結果の保存に必要となるメモリ量を削減することができる。   In the present invention, when the number of effective image areas is smaller than the number of necessary columns, it is possible to reduce the amount of memory necessary for storing the counting results.

本発明に係る画像処理装置は、複数の有効画像領域に対する特徴を夫々判別する手段と、前記複数の有効画像領域に対して判別された判別結果を夫々記憶する手段と、記憶された判別結果のうち何れの判別結果を用いるかを判定する手段と、判定された判別結果に応じた処理を前記領域内の画像に対して施す手段とを備えることを特徴とする。   The image processing apparatus according to the present invention includes means for discriminating features for a plurality of effective image areas, means for storing discrimination results discriminated for the plurality of effective image areas, and a stored discrimination result. It is characterized by comprising means for determining which discrimination result to use, and means for performing processing according to the determined discrimination result on the image in the region.

本発明にあっては、有効画像領域に対する判別結果を求めておき、判別結果のみを保存しておくことで、ライン単位で判別された画素数を保存する場合に比べてデータ量を少なくすることができる。   In the present invention, the determination result for the effective image area is obtained, and only the determination result is stored, so that the data amount can be reduced as compared with the case of storing the number of pixels determined in line units. Can do.

本発明に係る画像処理装置は、前記画素の属性は、画素の有彩、無彩であることを特徴とする。   The image processing apparatus according to the present invention is characterized in that the attribute of the pixel is chromatic or achromatic of the pixel.

本発明にあっては、設定した領域の直前のライン及び後端のラインの夫々から算出した特徴量の差分をとることにより、判別対象の画像が有彩色の画像であるか否かが判別される。   In the present invention, it is determined whether or not the image to be determined is a chromatic image by taking the difference between the feature amounts calculated from the immediately preceding line and the trailing end line of the set area. The

本発明に係る画像処理装置は、前記有彩と判別された画素数の差分と所定値との大小を比較する手段を備え、前記有彩と判別された画素数の差分が前記所定値より大きい場合、前記画像が有彩色の画像であると判別し、前記差分が前記所定値より小さい場合、前記画像が無彩色の画像であると判別するようにしてあることを特徴とする。   The image processing apparatus according to the present invention includes means for comparing the difference between the number of pixels determined to be chromatic and a predetermined value, and the difference between the number of pixels determined to be chromatic is greater than the predetermined value. In this case, it is determined that the image is a chromatic image, and when the difference is smaller than the predetermined value, it is determined that the image is an achromatic image.

本発明にあっては、有効画像領域が確定する前から判別処理を開始し、有効画像領域が確定した後で再集計することにより画像の有彩無彩判定処理の効率性が向上する。   In the present invention, the efficiency of the chromatic / achromatic determination process of the image is improved by starting the determination process before the effective image area is determined, and recounting after the effective image area is determined.

本発明に係る画像処理装置は、前記画素の属性は、画素が文字領域、網点領域を含む複数の領域の何れに属するかを示す領域分離結果であることを特徴とする。   The image processing apparatus according to the present invention is characterized in that the attribute of the pixel is a region separation result indicating which of the plurality of regions including the character region and the dot region.

本発明にあっては、設定した領域の直前のライン及び後端のラインの夫々から算出した特徴量の差分をとることにより、判別対象の画像が、文字・網点画像であるか、又は下地・印画紙画像であるかが判別される。   In the present invention, by determining the difference between the feature amounts calculated from the immediately preceding line and the trailing end line of the set area, the image to be determined is a character / halftone image, or the background It is determined whether the image is a photographic paper image.

本発明に係る画像処理装置は、前記画素が属する領域毎の画素数の差分と領域毎に設けられた所定値との大小を比較する手段を備え、前記領域毎の画素数の差分が前記領域毎に設けられた所定値との比較に基づいて原稿種別の判別を行うようにしてあることを特徴とする。   The image processing apparatus according to the present invention includes means for comparing the difference between the number of pixels for each region to which the pixel belongs and a predetermined value provided for each region, and the difference in the number of pixels for each region is the region. The document type is discriminated based on a comparison with a predetermined value provided for each.

本発明にあっては、有効画像領域が確定する前から判別処理を開始し、有効画像領域が確定した後で再集計することにより原稿種別判定処理の効率性が向上する。   According to the present invention, the efficiency of the document type determination process is improved by starting the determination process before the effective image area is determined and re-counting after the effective image area is determined.

本発明に係る画像処理装置は、前記画素の属性は、画素が下地領域であるか否かの判定結果であることを特徴とする。   The image processing apparatus according to the present invention is characterized in that the attribute of the pixel is a determination result of whether or not the pixel is a ground region.

本発明にあっては、設定した領域の直前のライン及び後端のラインの夫々から算出した特徴量の差分をとることにより、判別対象の画像の下地色が判別される。   In the present invention, the background color of the image to be determined is determined by taking the difference between the feature amounts calculated from the immediately preceding line and the trailing end line of the set area.

本発明に係る画像処理装置は、前記画素が属する階級値のカウント数の差分と所定値との大小を比較する手段を備え、比較結果に基づいて下地を判別するようにしてあることを特徴とする。   The image processing apparatus according to the present invention is characterized by comprising means for comparing the difference between the count value of the class value to which the pixel belongs and a predetermined value, and determining the background based on the comparison result. To do.

本発明にあっては、有効画像領域が確定する前から判別処理を開始し、有効画像領域が確定した後で再集計することにより下地判定処理の効率性が向上する。   In the present invention, the efficiency of the background determination process is improved by starting the discrimination process before the effective image area is determined and re-counting after the effective image area is determined.

本発明に係る画像処理装置は、画像の属性を判別し、判別結果に応じた処理を行う画像処理装置において、判別対象の画像を複数の画素からなるライン毎に順次読み込む手段と、読み込んだラインを構成する画素の特徴を表す複数の特徴量を算出し、算出した複数の特徴量に基づいて画素の複数の属性を判別する手段と、夫々属性の判別がなされた画素を計数する手段と、前記画像について処理を施すべき領域を設定する手段と、設定した領域の直前のライン及び後端のラインの夫々から算出した、夫々の属性の判別がなされた画素数の差分を算出する手段と、算出した差分に基づいて前記領域の複数の特徴を判別する手段と、該手段による判別結果に応じた処理を前記領域内の画像に対して施す手段とを備えることを特徴とする。   An image processing apparatus according to the present invention, in an image processing apparatus that determines an attribute of an image and performs processing according to the determination result, means for sequentially reading an image to be determined for each line composed of a plurality of pixels, Means for calculating a plurality of feature amounts representing the characteristics of the pixels constituting the image, and determining a plurality of attributes of the pixel based on the calculated plurality of feature amounts; and means for counting the pixels for which the attributes have been determined, Means for setting an area to be processed with respect to the image; means for calculating a difference between the number of pixels for which the respective attributes are determined, calculated from each of a line immediately before and a line at the rear end of the set area; The apparatus comprises: means for discriminating a plurality of features of the area based on the calculated difference; and means for performing processing on the image in the area according to a discrimination result by the means.

本発明にあっては、前述のオートカラーセレクト処理、原稿種別の判別処理、下地判定処理を組み合わせた場合においても判定処理の効率性を向上させることができる。   In the present invention, the efficiency of the determination process can be improved even when the above-described auto color selection process, document type determination process, and background determination process are combined.

本発明に係る画像形成装置は、前述した発明の何れか1つに記載の画像処理装置と、該画像処理装置によって画像処理が施された画像をシート上に形成する手段とを備えることを特徴とする。   An image forming apparatus according to the present invention includes the image processing apparatus according to any one of the above-described inventions, and a unit that forms an image subjected to image processing by the image processing apparatus on a sheet. And

本発明にあっては、プリンタ装置、デジタル複合機の一機能として利用可能である。   In the present invention, it can be used as a function of a printer device or a digital multifunction peripheral.

本発明に係る画像読取装置は、原稿から画像を読み取る手段と、読み取った画像の属性を判別し、判別結果に応じた処理を行う前述した発明の何れか1つに記載の画像処理装置とを備えることを特徴とする。   An image reading apparatus according to the present invention includes means for reading an image from a document, and the image processing apparatus according to any one of the above-described inventions that determines an attribute of the read image and performs processing according to the determination result. It is characterized by providing.

本発明にあっては、スキャナ装置、デジタル複合機の一機能として利用可能である。   In the present invention, it can be used as one function of a scanner device or a digital multifunction peripheral.

本発明に係るコンピュータプログラムは、コンピュータに、画像の属性を判別させ、判別結果に応じた処理を行わせるコンピュータプログラムにおいて、コンピュータに、複数の画素からなるラインから該ラインを構成する画素の特徴を表す特徴量を算出させるステップと、コンピュータに、算出させた特徴量に基づいて画素の属性を判別させ、属性の判別がなされた画素を計数させるステップと、コンピュータに、前記画像について処理を施すべき領域を設定させるステップと、コンピュータに、設定させた領域の直前のライン及び後端のラインの夫々から算出させた属性の判別がなされた画素数の差分を算出させるステップと、コンピュータに、算出させた差分に基づいて前記領域の属性を判別させ、判別結果に応じた処理を前記領域内の画像に対して施させるステップとを有することを特徴とする。   A computer program according to the present invention is a computer program that causes a computer to determine an attribute of an image and perform processing according to the determination result. The computer is characterized by the characteristics of pixels constituting the line from a line composed of a plurality of pixels. A step of calculating a feature amount to be represented; a step of causing a computer to determine a pixel attribute based on the calculated feature amount; and a step of counting the pixels for which the attribute has been determined; and A step of setting an area; a step of causing a computer to calculate a difference in the number of pixels in which an attribute is determined based on each of a line immediately before and a rear end line of the set area; and The attribute of the area is discriminated based on the difference, and processing according to the discrimination result is performed in the area. Characterized by a step for performed on the image.

本発明にあっては、前述の画像処理装置がコンピュータにより実現される。   In the present invention, the above-described image processing apparatus is realized by a computer.

本発明に係る記録媒体は、画像の属性を判別させ、判別結果に応じた処理を行わせるコンピュータプログラムが記録されているコンピュータでの読み取りが可能な記録媒体において、コンピュータに、複数の画素からなるラインから該ラインを構成する画素の特徴を表す特徴量を算出させるステップと、コンピュータに、算出させた特徴量に基づいて画素の属性を判別させ、属性の判別がなされた画素を計数させるステップと、コンピュータに、前記画像について処理を施すべき領域を設定させるステップと、コンピュータに、設定させた領域の直前のライン及び後端のラインの夫々から算出させた属性の判別がなされた画素数の差分を算出させるステップと、コンピュータに、算出させた差分に基づいて前記領域の属性を判別させ、判別結果に応じた処理を前記領域内の画像に対して施させるステップとを有するコンピュータプログラムが記録されていることを特徴とする。   A recording medium according to the present invention is a computer-readable recording medium on which a computer program for determining an attribute of an image and performing processing according to the determination result is recorded. The computer includes a plurality of pixels. A step of calculating a feature amount representing a feature of a pixel constituting the line from the line, a step of causing a computer to determine the attribute of the pixel based on the calculated feature amount, and counting the pixels for which the attribute has been determined. A step of causing the computer to set an area to be processed for the image; and a difference between the number of pixels for which the attribute is calculated from each of the immediately preceding line and the trailing edge line of the set area. And having the computer determine the attribute of the region based on the calculated difference, and Wherein the computer program is recorded and a step for subjected to processing corresponding to the image of the region to.

本発明にあっては、記録媒体から読出された画像処理プログラムによって、前述の画像処理装置がコンピュータにより実現される。   In the present invention, the above-described image processing apparatus is realized by a computer by an image processing program read from a recording medium.

本発明による場合は、画像データの入力開始時に画像の副走査方向サイズが不明であっても、プレスキャンや画像データをメモリに蓄積することなく認識処理を開始することができる。また、画像サイズが確定した後(画像データ入力完了時)に設定した画像領域に相当する判別結果の再集計を行う際、1ライン毎に該当ラインのみの集計結果を保存する場合に比べて再集計処理に係る処理量を軽減することができる。   According to the present invention, the recognition process can be started without pre-scanning or storing image data in the memory even if the size of the image in the sub-scanning direction is unknown at the start of image data input. In addition, when re-summarizing the discrimination results corresponding to the image area set after the image size is determined (when image data input is completed), it is possible to re-aggregate compared to the case where the summation results for only the corresponding line are saved for each line. It is possible to reduce the amount of processing related to the aggregation processing.

本発明による場合は、主走査方向についても分割して判別結果を求めるため、画像データを一旦ハードディスク等に格納した後、格納されている画像データを用いて、有効画像領域を変更して再度処理を行う場合(例えば、枠消し処理を行う場合)、新たに設定された有効画像領域に対する認識処理を行うことができる。   In the case of the present invention, in order to obtain the determination result by dividing also in the main scanning direction, after the image data is temporarily stored in the hard disk or the like, the stored image data is used to change the effective image area and process again. When performing (for example, performing frame erasing processing), recognition processing for a newly set effective image region can be performed.

本発明による場合は、必要となるカラムの数に対して有効画像領域の数が少ない場合、計数結果の保存に必要となるメモリ量を削減することができる。   According to the present invention, when the number of effective image areas is smaller than the number of necessary columns, the amount of memory necessary for storing the counting results can be reduced.

本発明による場合は、有効画像領域に対する判別結果を求めておき、判別結果のみを保存しておくことで、ライン単位で判別された画素数を保存する場合に比べてデータ量を少なくすることができる。   In the case of the present invention, the determination result for the effective image area is obtained, and only the determination result is stored, so that the data amount can be reduced as compared with the case of storing the number of pixels determined in line units. it can.

本発明による場合は、設定した領域の直前のライン及び後端のラインの夫々から算出した特徴量の差分をとることにより、判別対象の画像が有彩色の画像であるか否かを判別することができる。   According to the present invention, it is determined whether or not the image to be determined is a chromatic image by taking the difference between the feature amounts calculated from the immediately preceding line and the trailing end line of the set area. Can do.

本発明による場合は、有効画像領域が確定する前から判別処理を開始し、有効画像領域が確定した後で再集計することにより原稿種別判定処理の効率性を向上させることができる。   According to the present invention, it is possible to improve the efficiency of the document type determination process by starting the determination process before the effective image area is determined and re-counting after the effective image area is determined.

本発明による場合は、設定した領域の直前のライン及び後端のラインの夫々から算出した特徴量の差分をとることにより、判別対象の画像が、文字・網点画像であるか、又は下地・印画紙画像であるかを判別することができる。   In the case of the present invention, the difference between the feature amounts calculated from the immediately preceding line and the trailing edge line of the set area is taken, so that the image to be determined is a character / halftone dot image or a background / It is possible to determine whether the image is a photographic paper image.

本発明による場合は、設定した領域の直前のライン及び後端のラインの夫々から算出した特徴量の差分をとることにより、判別対象の画像の下地色を判別することができる。   According to the present invention, the background color of the image to be determined can be determined by taking the difference between the feature amounts calculated from the immediately preceding line and the trailing end line of the set area.

本発明による場合は、プリンタ装置、デジタル複合機の一機能として利用することができる。   According to the present invention, it can be used as a function of a printer device or a digital multi-function peripheral.

本発明による場合は、スキャナ装置、デジタル複合機の一機能として利用することができる。   According to the present invention, it can be used as a function of a scanner device or a digital multifunction peripheral.

本発明による場合は、前述の画像処理装置をコンピュータにより実現することができる。   In the case of the present invention, the above-described image processing apparatus can be realized by a computer.

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

以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。
実施の形態1.
図1は本発明に係る画像処理装置を備える画像処理システムの内部構成を説明するブロック図である。実施の形態1に係る画像処理システムは、操作パネル1、画像入力装置3、画像処理装置5A、画像出力装置7を備える。
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 an internal configuration of an image processing system including an image processing apparatus according to the present invention. The image processing system according to the first embodiment includes an operation panel 1, an image input device 3, an image processing device 5A, and an image output device 7.

操作パネル1は、液晶表示装置、各種スイッチ等からなり、ユーザに報知すべき情報の表示、ユーザによる各種選択操作等を受付ける。   The operation panel 1 includes a liquid crystal display device, various switches, and the like, and accepts display of information to be notified to the user, various selection operations by the user, and the like.

画像入力装置3は、原稿の画像を光学的に読み取る読取手段であり、読取用の原稿に光を照射する光源、CCD(Charge Coupled Device)のようなイメージセンサ等を備えて
いる。
The image input device 3 is a reading 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.

図2は画像入力装置3の構成を示す模式図である。画像入力装置3は、上部筐体510で構成される原稿搬送部、下部筐体560で構成されるスキャナ部などを備える。上部筐体510には、原稿トレイ511に載置された原稿の検知を行う原稿セットセンサ514、原稿を1枚ずつ搬送するための呼込みローラ512、原稿上の画像を読み取るために原稿を搬送する搬送ローラ513a、513b、原稿の排出を行う原稿排出ローラ50、排出される原稿を検知する原稿排出センサ567などが設けられている。搬送ローラ(整合ローラ)513bは、駆動軸に電磁クラッチ(図示せず)を備えており、駆動モータ(図示せず)からの駆動力の伝達を制御できるようになっており、原稿のない状態では停止している。そして、原稿の先端が給送タイミングセンサ515に接触し、このセンサから所定の信号が伝達されたときに、原稿を下流側に搬送する方向に回動するように設定されている。搬送ローラ513bは、停止した状態で、上流側より搬送された原稿の先端が、搬送ローラ513bのニップ部に付き当たり、原稿に所定の撓みを形成した後に、下流側に原稿を搬送するように回動する。この際に、搬送ローラ513bのニップ部により、原稿の先端が搬送方向に直角となるように整合される。   FIG. 2 is a schematic diagram showing the configuration of the image input device 3. The image input device 3 includes a document conveying unit configured by an upper casing 510, a scanner unit configured by a lower casing 560, and the like. A document set sensor 514 that detects a document placed on the document tray 511, a call roller 512 for conveying the document one by one, and a document for reading an image on the document are conveyed to the upper casing 510. Conveying rollers 513a and 513b, a document discharge roller 50 for discharging a document, a document discharge sensor 567 for detecting a document to be discharged, and the like are provided. The conveyance roller (alignment roller) 513b includes an electromagnetic clutch (not shown) on the drive shaft, and can control transmission of driving force from a drive motor (not shown), so that there is no document. Then it has stopped. Then, when the leading edge of the document comes into contact with the feeding timing sensor 515 and a predetermined signal is transmitted from this sensor, the document is set to rotate in the direction in which the document is conveyed downstream. The conveyance roller 513b is in a stopped state so that the leading edge of the document conveyed from the upstream side comes into contact with the nip portion of the conveyance roller 513b and forms a predetermined deflection on the document, and then conveys the document downstream. Rotate. At this time, the leading edge of the document is aligned by the nip portion of the conveying roller 513b so as to be perpendicular to the conveying direction.

下部筐体560には、載置台561の下面に沿って平行に往復移動する走査ユニット562、563、結像レンズ564、及び光電変換素子であるCCDラインセンサ565、排出トレイ566などが設けてある。走査ユニット562は、原稿トレイ511から搬送される原稿、あるいは、載置台561に載置された原稿に光を照射するための光源562a(例えば、ハロゲンランプなど)、原稿で反射された光を所定の光路に導くためのミラー562bなどを備えている。また、走査ユニット563は、原稿で反射された光を所定の光路に導くためのミラー563a、563bなどを備えている。   The lower housing 560 is provided with scanning units 562 and 563 that reciprocate in parallel along the lower surface of the mounting table 561, an imaging lens 564, a CCD line sensor 565 that is a photoelectric conversion element, a discharge tray 566, and the like. . The scanning unit 562 has a light source 562a (for example, a halogen lamp) for irradiating light on a document conveyed from the document tray 511 or a document placed on the table 561, and light reflected by the document. And a mirror 562b for guiding it to the optical path. The scanning unit 563 also includes mirrors 563a and 563b for guiding the light reflected from the document to a predetermined optical path.

結像レンズ564は、走査ユニット563から導かれた反射光をCCDラインセンサ565上の所定の位置に結像させる。CCDラインセンサ565は、結像された光像を光電変換して電気信号を出力する。すなわち、原稿(例えば、原稿の表面)から読み取ったカラー画像に基づいて、R(赤)、G(緑)、B(青)の各色成分に色分解したデータ(RGB信号)を画像処理装置5Aへ出力する。このとき、画像入力装置3は副走査方向に1ラインずつ読み取ったデータを画像処理装置5Aへ出力する。また、図3に示すように給送タイミングセンサ515から出力される信号、すなわち、原稿の読取開始信号及び読取終了信号を画像処理装置5Aに通知する。   The imaging lens 564 images the reflected light guided from the scanning unit 563 at a predetermined position on the CCD line sensor 565. The CCD line sensor 565 photoelectrically converts the formed optical image and outputs an electrical signal. That is, based on a color image read from an original (for example, the surface of the original), data (RGB signal) that is color-separated into R (red), G (green), and B (blue) color components is processed by the image processing apparatus 5A. Output to. At this time, the image input device 3 outputs the data read line by line in the sub-scanning direction to the image processing device 5A. Further, as shown in FIG. 3, the image processing apparatus 5A is notified of signals output from the feeding timing sensor 515, that is, a document reading start signal and a reading end signal.

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

画像出力装置7は、画像処理装置5Aが出力する画像信号に基づいて用紙、OHPフィルム等のシート上に画像形成を行う手段である。そのため、画像出力装置7は、感光体ドラムを所定の電位に帯電させる帯電器、外部から受付けた画像データに応じてレーザ光を発して感光体ドラム上に静電潜像を生成させるレーザ書込装置、感光体ドラム表面に形成された静電潜像にトナーを供給して顕像化する現像器、感光体ドラム表面に形成されたトナー像を用紙上に転写する転写器等(不図示)を備えており、電子写真方式にて利用者が所望する画像を用紙上に形成する。なお、レーザ書込装置を用いた電子写真方式により画像形成を行う他、インクジェット方式、熱転写方式、昇華方式等により画像形成を行う構成であってもよい。   The image output device 7 is means for forming an image on a sheet such as paper or an OHP film based on an image signal output from the image processing device 5A. 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.

次に、画像処理装置5Aの内部構成について説明する。AD変換部51は、画像入力装置3から入力されたRGBのアナログ信号をデジタル信号に変換する。シェーディング補正部52は、AD変換部51から出力されたデジタル形式のRGB信号に対して、画像入力装置3の照明系、結像系、撮像系で生じる各種の歪みを取り除く処理を施す。シェーディング補正されたRGB信号は、ACS判定処理部53へ出力される。   Next, the internal configuration of the image processing apparatus 5A will be described. The AD converter 51 converts RGB analog signals input from the image input device 3 into digital signals. The shading correction unit 52 performs a process of 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 51. The RGB signal subjected to the shading correction is output to the ACS determination processing unit 53.

ACS判定処理部53では原稿画像を構成する画素の一部を用いて、原稿画像がカラー画像であるか、又は白黒画像であるかを選択する処理を行う。ACS判定処理部53での処理内容については後に詳述することとする。ACS判定処理部53での判定結果は、後段の入力階調補正部55、領域分離処理部56、色補正部57、黒生成下色除去部58、空間フィルタ処理部59、階調再現処理部62へ出力される。   The ACS determination processing unit 53 performs processing for selecting whether the document image is a color image or a monochrome image by using a part of pixels constituting the document image. The processing contents in the ACS determination processing unit 53 will be described in detail later. The determination result in the ACS determination processing unit 53 is the following input gradation correction unit 55, region separation processing unit 56, color correction unit 57, black generation and under color removal unit 58, spatial filter processing unit 59, gradation reproduction processing unit. 62 is output.

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

色補正部57は、色再現の忠実化再現のために、不要吸収成分を含むCMY色材の分光特性に基づいた色濁りを取り除く処理を行うものである。色補正されたRGB信号は、後段の黒生成下色除去部58へ出力される。黒生成下色除去部58は、色補正後のCMYの3色信号から黒(K)信号を生成する黒生成、元のCMY信号から黒生成で得たK信号を差し引いた新たなCMY信号を生成する処理を行う。この処理によってCMYの3色信号はCMYKの4色信号に変換される。   The color correction unit 57 performs processing for removing color turbidity based on the spectral characteristics of CMY color materials 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 58. The black generation and under color removal unit 58 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 ′

空間フィルタ処理部59は、黒生成下色除去部58より入力されるCMYK信号の画像データに対して、領域識別信号を基にデジタルフィルタによる空間フィルタ処理を行い、空間周波数特性を補正することによって出力画像のぼやけや粒子状劣化を防ぐように処理を行う。   The spatial filter processing unit 59 performs spatial filter processing using a digital filter on the image data of the CMYK signal input from the black generation and under color removal unit 58 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.

例えば、領域分離処理部56にて文字に分離された領域は、特に黒文字又は色文字の再現性を高めるために、空間フィルタ処理部59による空間フィルタ処理における鮮鋭強調処理で高周波数の強調量が大きくされる。同時に、階調再現処理部62においては、高周波数の再現に適した高解像度のスクリーンでの二値化又は多値化処理が選択される。また、領域分離処理部56にて網点領域に分離された領域に関しては、空間フィルタ処理部59において、入力網点成分を除去するためのローパスフィルタ処理が施される。そして、出力階調補正部60において、濃度信号などの信号をカラー画像出力装置の特性値である網点面積率に変換する出力階調補正処理を行った後、階調再現処理部62で最終的に画像を画素に分離してそれぞれの階調を再現できるように処理する階調再現処理を施す。また、領域分離処理部56にて写真に分離された領域に関しては、階調再現性を重視したスクリーンでの二値化又は多値化処理が行われる。また、変倍処理部61は、領域再現処理を行う前に必要に応じて変倍処理を行う。   For example, the region separated into characters by the region separation processing unit 56 has a high frequency enhancement amount in the sharp enhancement processing in the spatial filter processing by the spatial filter processing unit 59 in order to improve the reproducibility of black characters or color characters in particular. Increased. At the same time, the gradation reproduction processing unit 62 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 56, the spatial filter processing unit 59 performs low pass filter processing for removing the input halftone component. The output tone correction unit 60 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 62 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 photographs by the region separation processing unit 56, binarization or multi-value processing is performed on the screen with an emphasis on gradation reproducibility. Further, the scaling processing unit 61 performs scaling processing as necessary before performing the area reproduction processing.

前述した各処理が施された画像データは、一旦記憶手段(不図示)に記憶され、所定のタイミングで読出されて画像出力装置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.

以下では、ACS判定処理部53の構成について説明する。図4はACS判定処理部53の内部構成を示すブロック図である。ACS判定処理部53は、CPU531、メモリ532、カラー画素判定部533、カラー画素カウント部534、カラー原稿判定部535を備える。   Below, the structure of the ACS determination process part 53 is demonstrated. FIG. 4 is a block diagram showing an internal configuration of the ACS determination processing unit 53. The ACS determination processing unit 53 includes a CPU 531, a memory 532, a color pixel determination unit 533, a color pixel count unit 534, and a color document determination unit 535.

CPU531は、画像入力装置3から通知される原稿の読取開始位置や読取終了位置の情報から原稿サイズを認識する。また、操作パネル1等から入力される、原稿に対して画像処理を行うための拡大率や処理対象位置などの情報を取得、解析し、有効画像領域情報として認識する。   The CPU 531 recognizes the document size from the information of the document reading start position and the reading end position notified from the image input device 3. Further, information such as an enlargement ratio and a processing target position for performing image processing on a document input from the operation panel 1 or the like is acquired and analyzed, and recognized as effective image area information.

図5は有効画像領域を説明する説明図である。有効画像領域は、例えば、変倍処理の指定がなされた場合、設定された変倍率に応じて、対象となる画像の領域が設定されることにより行われる。あるいは、倍率が等倍と設定されている場合でも、原稿サイズよりも小さいサイズの用紙に出力する場合は、予め定められている、出力される画像領域が有効画像領域として設定される。例えば、A3サイズの原稿をA4サイズの用紙に出力する場合、A3サイズの原稿の右半分の領域(デフォルトで定められている領域)が有効画像領域として設定される。   FIG. 5 is an explanatory diagram for explaining an effective image area. For example, when the scaling process is designated, the effective image area is set by setting a target image area in accordance with the set scaling ratio. Alternatively, even when the magnification is set to be equal, when outputting to a paper having a size smaller than the document size, a predetermined output image area is set as an effective image area. For example, when outputting an A3 size document to an A4 size sheet, the right half area (area defined by default) of the A3 size document is set as an effective image area.

カラー画素判定部533は、画素単位(又はブロック、例えば8×8画素よりなるブロック)でカラー画素(又はブロック)であるか否かを判定する。結果をカラー画素フラグとしてカラー画素カウント部534へ出力する。カラー画素か、モノクロ(白黒)画素かの判定は、例えば、max(R,G,B)−min(R,G,B)の値と閾値THcolor_p(例えば、画像データの階調値(8ビットの画像データの場合、256)の5%〜10%程度)とを比較して行う。max(R,G,B)−min(R,G,B)が閾値THcolor_p以上のとき、カラー(有彩)であると判定し、上記閾値より小さいときモノクロであると判定する。   The color pixel determination unit 533 determines whether or not the pixel is a color pixel (or block) in units of pixels (or blocks, for example, blocks composed of 8 × 8 pixels). The result is output to the color pixel count unit 534 as a color pixel flag. Whether the pixel is a color pixel or a monochrome (monochrome) pixel is determined by, for example, a value of max (R, G, B) -min (R, G, B) and a threshold value THcolor_p (for example, a gradation value (8 bits of image data)). In the case of the image data of (5) to (5% to 10%) of 256). When max (R, G, B) -min (R, G, B) is equal to or greater than the threshold value THcolor_p, it is determined that the color is chromatic, and when it is smaller than the threshold value, it is determined that the image is monochrome.

カラー画素カウント部534はカラー画素判定部533から入力されるカラー画素フラグがカラーであることを示していればカウント数を1インクリメント(増加)し、カラーでないことを示していればカウント数はそのままとする。1ラインのカウントを行うごとにメモリ532へ現在までのカラー画素カウント数を出力する。このとき、カウンタの初期化は原稿読取開始位置で行い、ライン単位ごとには行わない。カラー画素のカウント数は、常に原稿読込開始位置からの総和とする。   The color pixel count unit 534 increments (increases) the count number if the color pixel flag input from the color pixel determination unit 533 indicates color, and the count number remains unchanged if it indicates that it is not color. And Each time one line is counted, the current color pixel count is output to the memory 532. At this time, initialization of the counter is performed at the document reading start position, and is not performed for each line unit. The count number of color pixels is always the sum from the document reading start position.

メモリ532では、ライン単位でカラー画素カウント数を順次メモリに格納していく。また、カラー原稿判定部535より要求されたラインのカウント数をカラー原稿判定部535に出力する。   In the memory 532, the color pixel count is sequentially stored in the memory for each line. Further, the line count requested by the color document determination unit 535 is output to the color document determination unit 535.

カラー原稿判定部535では、CPU531から有効画像領域情報を受け取り、この情報に基づき、有効画像領域の1つ前のラインにおけるカラー画素カウント数N1と有効画像領域の後端ラインにおけるカラー画素カウント数N2(図5参照)をメモリ532に要求する。メモリ532から入力された2つのカウント数の差分を計算して、有効画像領域におけるカラー画素カウント数を求め、閾値比較を行うことで原稿がカラー原稿か白黒原稿かを判定し、判定結果を出力する。閾値THcolor_dとしては、例えば、入力原稿に対して1センチ角程度の大きさの画素数を用いる。閾値THcolor_dの値は、画像入力装置の解像度により異なるので、解像度に応じて設定する。そして、閾値THcolor_d以上ならば、カラー原稿であると判定し、閾値THcolor_dより小さければ白黒原稿であると判定する。   The color original determination unit 535 receives the effective image area information from the CPU 531, and based on this information, the color pixel count number N1 in the previous line of the effective image area and the color pixel count number N2 in the rear end line of the effective image area. (See FIG. 5) is requested to the memory 532. The difference between the two count numbers input from the memory 532 is calculated, the color pixel count number in the effective image area is obtained, the threshold value is compared to determine whether the document is a color document or a monochrome document, and the determination result is output. To do. As the threshold value THcolor_d, for example, the number of pixels having a size of about 1 cm square with respect to the input document is used. Since the value of the threshold THcolor_d differs depending on the resolution of the image input apparatus, it is set according to the resolution. If it is equal to or greater than the threshold THcolor_d, it is determined that the document is a color document, and if it is smaller than the threshold THcolor_d, it is determined that the document is a monochrome document.

図6及び図7はACS判定処理部53が実行する処理の手順を説明するフローチャートである。CPU531は、まず、カラー画素フラグ、メモリに記憶されているカウント数などの初期化を行う(ステップS11)。そして、画像入力装置3から通知される原稿の読取開始位置及び読取終了位置の情報から原稿サイズを認識し、操作パネル1等から入力される、原稿に対して画像処理を行うための拡大率や処理対象位置などの情報を取得、解析し、有効画像領域情報として認識する(ステップS12)。   6 and 7 are flowcharts for explaining the procedure of processing executed by the ACS determination processing unit 53. The CPU 531 first initializes the color pixel flag, the count number stored in the memory, and the like (step S11). Then, the document size is recognized from the information on the reading start position and the reading end position of the document notified from the image input device 3, and the enlargement ratio for performing image processing on the document input from the operation panel 1 or the like Information such as the processing target position is acquired and analyzed, and recognized as effective image area information (step S12).

次いで、カラー画素判定部533は、1つのラインを構成する画素単位でカラー画素であるか否かを判定する(ステップS13)。カラー画素であると判定した場合(S13:YES)、カラー画素カウント部534は、カウンタを1だけインクリメントする(ステップS14)。また、カラー画素でないと判定した場合(S13:NO)、カウンタの値をそのまま保持する。   Next, the color pixel determination unit 533 determines whether or not the pixel is a color pixel in units of pixels constituting one line (step S13). When it is determined that the pixel is a color pixel (S13: YES), the color pixel count unit 534 increments the counter by 1 (step S14). If it is determined that the pixel is not a color pixel (S13: NO), the counter value is held as it is.

次いで、CPU531は、1ラインおけるカラー画素判定処理が終了したか否かを判断し(ステップS15)、終了していないと判断した場合(S15:NO)、処理をステップS13へ戻す。   Next, the CPU 531 determines whether or not the color pixel determination process for one line has been completed (step S15). If it is determined that the color pixel determination process has not been completed (S15: NO), the process returns to step S13.

1ラインのカラー画素判定処理が終了したと判断した場合(S15:YES)、カラー画素カウント部534は、カラー画素数(処理を行ったラインまでのカラー画素数)をメモリ532に出力する(ステップS16)。次いで、CPU531は有効画像領域の後端ラインであるか否かを判断し(ステップS17)、後端ラインでないと判断した場合(S17:NO)、次のラインの処理を行って(ステップS18)、処理をステップS13へ戻す。   When it is determined that the color pixel determination process for one line has been completed (S15: YES), the color pixel count unit 534 outputs the number of color pixels (the number of color pixels up to the processed line) to the memory 532 (Step S15). S16). Next, the CPU 531 determines whether or not it is the rear end line of the effective image area (step S17). If it is determined that it is not the rear end line (S17: NO), the next line is processed (step S18). The process returns to step S13.

現在のラインが有効画像領域の後端ラインであると判断した場合(S17:YES)、カラー原稿判定部535は、有効画像領域の1つ前のラインにおけるカラー画素カウント数N1と有効画像領域の後端ラインにおけるカラー画素カウント数N2との差分を算出し(ステップS19)、差分(N2−N1)が閾値THcolor_d以上であるか否かを判断する(ステップS20)。差分(N2−N1)が閾値THcolor_d以上であると判断した場合(S20:YES)、原稿画像がカラー画像であると判定し(ステップS21)、差分(N2−N1)が閾値THcolor_dより小さいと判断した場合(S20:NO)、原稿画像がモノクロ(白黒)画像であると判定する(ステップS22)。   When it is determined that the current line is the rear end line of the effective image area (S17: YES), the color document determination unit 535 determines the color pixel count N1 and the effective image area in the line immediately before the effective image area. A difference from the color pixel count number N2 in the rear end line is calculated (step S19), and it is determined whether or not the difference (N2−N1) is greater than or equal to a threshold value THcolor_d (step S20). When it is determined that the difference (N2-N1) is equal to or greater than the threshold THcolor_d (S20: YES), it is determined that the document image is a color image (step S21), and the difference (N2-N1) is determined to be smaller than the threshold THcolor_d. If so (S20: NO), it is determined that the document image is a monochrome (monochrome) image (step S22).

なお、本実施の形態では、ライン単位のカウント数からカラー原稿か白黒原稿かを判定する処理をカラー原稿判定部535で行う構成としたが、CPU531で行う構成としてもよい。図8はACS判定処理部53の変形例を示すブロック図である。   In the present embodiment, the color original determination unit 535 performs the process of determining whether the original is a color original or a black and white original from the line-unit count. However, the CPU 531 may be configured to perform the process. FIG. 8 is a block diagram showing a modification of the ACS determination processing unit 53.

このように、本実施の形態では、メモリ532に格納されるデータはライン単位のカラー画素累積カウント数であるので、画像データを格納するよりも小さなメモリサイズで実現可能である。また、原稿のスキャンと並行してカラー画素判定、カラー画素カウント、メモリへの格納を行うため、スキャン完了後に必要な処理としては2つの値をメモリから取り出してカラー原稿か判定するのみであるため、原稿中のどの位置に有効画像領域が存在している場合でもほとんど時間のロスなく高速にACS処理を行うことが可能である。   As described above, in the present embodiment, the data stored in the memory 532 is the color pixel cumulative count number in units of lines, and thus can be realized with a smaller memory size than that for storing image data. In addition, since color pixel determination, color pixel count, and storage in memory are performed in parallel with document scanning, the only necessary processing after scanning is to determine whether the document is a color document by taking out two values from the memory. Even if an effective image area exists in any position in the document, it is possible to perform the ACS processing at a high speed with almost no time loss.

実施の形態2.
主走査方向に予め設定されたカラム(列)ごとに判定結果を順次加算しておく構成としてもよい。このような構成では、再処理時の設定によって有効画像領域が変更された場合であっても、設定に応じた属性判別を行うことができる。
Embodiment 2. FIG.
The determination result may be sequentially added for each column (row) set in advance in the main scanning direction. In such a configuration, even when the effective image area is changed by the setting at the time of reprocessing, the attribute determination according to the setting can be performed.

装置構成については実施の形態1と同様であり、原稿は、画像入力装置3により副走査方向に1ラインずつ読み取られ、ACS判定処理部53のカラー画素判定部533に入力される。また、画像入力装置3には給送タイミングセンサ515が搭載されており、原稿の読取開始位置と読取終了位置とがCPU531に通知される。   The apparatus configuration is the same as in the first embodiment, and the document is read line by line in the sub-scanning direction by the image input apparatus 3 and input to the color pixel determination unit 533 of the ACS determination processing unit 53. Further, the image input device 3 is provided with a feeding timing sensor 515, and notifies the CPU 531 of the reading start position and the reading end position of the document.

CPU531は画像入力装置3から通知される原稿の読取開始位置や読取終了位置の情報から原稿サイズを認識する。また、操作パネル1や図に示していないホストコンピュータから入力される、原稿に対して画像処理を行うための拡大率や処理対象位置などの情報を取得、解析し、有効画像領域情報としてカラー原稿判定部535へ通知する。   The CPU 531 recognizes the document size from the information of the document reading start position and the reading end position notified from the image input device 3. Also, information such as an enlargement ratio and a processing target position for performing image processing on a document input from the operation panel 1 or a host computer not shown in the figure is acquired and analyzed, and a color document as effective image area information The determination unit 535 is notified.

有効画像領域については、例えば、変倍処理の指定がなされた場合、設定された変倍率に応じて対象となる画像の領域が設定される。または、倍率が等倍と設定されている場合でも、原稿サイズより小さいサイズの用紙に出力する場合は、予め定められている、出力される画像領域が有効画像領域として設定される。図9及び図10は有効画像領域の設定例を示す模式図である。例えば、A3サイズの原稿をA4サイズの用紙に出力する場合、A3サイズの原稿の右半分の領域(デフォルトで定められている領域)を有効画像領域として設定する(図9)。また、枠消しなどの機能によって枠以外の領域と指定される領域を有効画像領域として設定する(図10)。すなわち、図10では、有効画像領域以外が枠として示されている。   As for the effective image area, for example, when a scaling process is designated, a target image area is set according to the set scaling ratio. Alternatively, even when the magnification is set to be equal, when outputting to a sheet having a size smaller than the original size, a predetermined output image area is set as an effective image area. 9 and 10 are schematic diagrams showing examples of setting an effective image area. For example, when an A3 size document is output on A4 size paper, the right half area (area defined by default) of the A3 size document is set as an effective image area (FIG. 9). Also, an area designated as an area other than the frame by a function such as frame erasing is set as an effective image area (FIG. 10). That is, in FIG. 10, the area other than the effective image area is shown as a frame.

カラー画素判定部533は、入力された画像データを画素単位でカラー画素かどうかを判定する。カラー画素判定部533の判定結果をカラー画素フラグとしてカラー画素カウント部534へ出力する。カラー画素か、モノクロ(白黒)画素かの判定は、例えば、max(R,G,B)−min(R,G,B)の値と閾値THcolor_p(例えば、画像データの階調値(8ビットの画像データの場合、256)の5%〜10%程度)とを比較して行う。max(R,G,B)−min(R,G,B)が閾値THcolor_p以上のとき、カラー(有彩)であると判定し、上記閾値より小さいときモノクロ(無彩)であると判定する。   The color pixel determination unit 533 determines whether the input image data is a color pixel in units of pixels. The determination result of the color pixel determination unit 533 is output to the color pixel count unit 534 as a color pixel flag. Whether the pixel is a color pixel or a monochrome (monochrome) pixel is determined by, for example, a value of max (R, G, B) -min (R, G, B) and a threshold value THcolor_p (for example, a gradation value (8 bits of image data)). In the case of the image data of (5) to (5% to 10%) of 256). When max (R, G, B) -min (R, G, B) is equal to or greater than the threshold value THcolor_p, it is determined that the color is chromatic, and when it is smaller than the threshold value, it is determined that the image is monochrome (achromatic). .

カラー画素カウント部534は、予め設定される画像データの各カラム(列)のそれぞれに対してカラー画素をカウントする。図11はカラムの分割例を示す模式図である。図11の例では入力画像が主走査方向に5つのカラム10A〜10Eに分割されている様子を示しており、この5つのカラム10A〜10Eのそれぞれについてカラー画素をカウントする。すなわち、カラー画素判定部533から入力されるカラー画像フラグがカラーであることを示していればカウント数を1インクリメントし、カラーでないことを示していればカウント数はそのままとする。1ラインのカウントを行うごとにメモリ532へ現在までのカラー画素カウント数を出力する。このとき、カウンタの初期化は原稿読取開始位置で行い、ライン単位毎には行わない。カラー画素のカウント数は、常に原稿読込開始ラインからの総和とする。   The color pixel counting unit 534 counts color pixels for each column of image data set in advance. FIG. 11 is a schematic diagram showing an example of column division. The example of FIG. 11 shows a state in which the input image is divided into five columns 10A to 10E in the main scanning direction, and color pixels are counted for each of the five columns 10A to 10E. That is, if the color image flag input from the color pixel determination unit 533 indicates that it is color, the count number is incremented by 1, and if it indicates that it is not color, the count number remains unchanged. Each time one line is counted, the current color pixel count is output to the memory 532. At this time, initialization of the counter is performed at the document reading start position, and is not performed for each line unit. The count number of color pixels is always the sum from the original reading start line.

なお、カラムに分割する方法については、スキャン時に選択されるモードや再処理時に選択可能なモード(例えば、枠消しモード)によって決められる。図12〜図14は有効画像領域の設定例を示す模式図である。例えば、枠消しモードなどにおいて、液晶ディスプレイなどの表示装置に図12〜図14のパターンを表示して、有効画像領域11〜13の選択を可能とする場合、カラムを5つに分割しておく。または、分割するカラムのパターン(例えば、所定のブロック(例えば、7×7画素よりなるブロック)毎に分割する)を予め定めておいてもよい。どのように分割するかは、事前に種々の画像サンプルを用いて、再処理を行う際に適切に処理を行うことができるパターンを定めておけばよい。   Note that the method of dividing into columns is determined by a mode selected at the time of scanning and a mode selectable at the time of reprocessing (for example, a frame erasing mode). 12 to 14 are schematic diagrams showing examples of setting an effective image area. For example, in the frame erasing mode or the like, when the patterns of FIGS. 12 to 14 are displayed on a display device such as a liquid crystal display so that the effective image areas 11 to 13 can be selected, the column is divided into five. . Alternatively, a column pattern (for example, division for each predetermined block (for example, a block composed of 7 × 7 pixels)) may be determined in advance. How to divide may be determined in advance by using various image samples and determining a pattern that can be appropriately processed when reprocessing.

メモリ532には、各カラム毎のカラー画素カウント数がライン単位で順次格納される。図15の模式図は、メモリ532へのカラー画素カウント数の格納例を示している。メモリ532は、カラー画素判定部533より要求されたラインのカウント数をカラー原稿判定部535に出力する。   In the memory 532, the color pixel count number for each column is sequentially stored in line units. The schematic diagram of FIG. 15 shows an example of storing the color pixel count number in the memory 532. The memory 532 outputs the line count requested by the color pixel determination unit 533 to the color document determination unit 535.

カラー原稿判定部535では、CPU531から有効画像領域情報を受け取り、この情報に基づき、対応するカラムの有効画像領域の1つ前のラインにおけるカラー画素カウント数N1と有効画像領域の後端ラインにおけるカラー画素カウント数N2とをメモリ532に要求する。メモリ532から入力された2つのカウント数の差分を計算して、有効画像領域におけるカラー画素カウント数を求め、閾値比較を行うことで原稿がカラー原稿か白黒原稿かを判定し、判定結果を出力する。閾値THcolor_dとしては、例えば、入力原稿に対して1センチ角程度の大きさの画素数を用いる。閾値THcolor_dの値は、画像入力装置3の解像度により異なるので、解像度に応じて設定する。例えば、解像度が1200dpiの場合、THcolor_d=240000程度の値に設定する。そして、閾値THcolor_d以上ならば、カラー原稿であると判定し、閾値THcolor_dより小さければ白黒原稿であると判定する。   The color original determination unit 535 receives the effective image area information from the CPU 531, and based on this information, the color pixel count number N1 in the line immediately before the effective image area of the corresponding column and the color in the rear end line of the effective image area. The pixel count number N 2 is requested to the memory 532. The difference between the two count numbers input from the memory 532 is calculated, the color pixel count number in the effective image area is obtained, the threshold value is compared to determine whether the document is a color document or a monochrome document, and the determination result is output. To do. As the threshold value THcolor_d, for example, the number of pixels having a size of about 1 cm square with respect to the input document is used. Since the value of the threshold THcolor_d differs depending on the resolution of the image input device 3, it is set according to the resolution. For example, when the resolution is 1200 dpi, the value is set to about THcolor_d = 24000. If it is equal to or greater than the threshold THcolor_d, it is determined that the document is a color document, and if it is smaller than the threshold THcolor_d, it is determined that the document is a monochrome document.

有効画像領域11〜13の集計については、図15のようにカラム毎にライン単位のカウント数が格納されている場合、以下の式のように集計する。   Regarding the totaling of the effective image areas 11 to 13, when the count number in units of lines is stored for each column as shown in FIG. 15, the totaling is performed according to the following formula.

有効画像領域11におけるカラー画素カウント数=N(A,n)+N(B,n)+N(C,n)+N(D,n)+N(E,n)   Color pixel count in effective image area 11 = N (A, n) + N (B, n) + N (C, n) + N (D, n) + N (E, n)

有効画像領域12におけるカラー画素カウント数=N(B,b)−N(B,a−1)+N(B,d)−N(B,c−1)+N(C,b)−N(C,a−1)+N(C,d)−N(C,c−1)+N(D,b)−N(D,a−1)+N(D,d)−N(D,c−1)   Color pixel count in effective image area 12 = N (B, b) -N (B, a-1) + N (B, d) -N (B, c-1) + N (C, b) -N (C , A-1) + N (C, d) -N (C, c-1) + N (D, b) -N (D, a-1) + N (D, d) -N (D, c-1)

有効画像領域13におけるカラー画素カウント数=N(B,b)−N(B,a−1)+N(B,d)−N(B,c−1)+N(D,b)−N(D,a−1)+N(D,d)−N(D,c−1)   Number of color pixel counts in the effective image area = N (B, b) −N (B, a−1) + N (B, d) −N (B, c−1) + N (D, b) −N (D , A-1) + N (D, d) -N (D, c-1)

上記式において、a〜d,nは図13及び図14に示したライン、A〜Eは図15に示したカラムを表しており、Nはあるラインまでのラインの各カラムにおける画素のカウント数を表している。   In the above formula, a to d and n represent the lines shown in FIGS. 13 and 14, A to E represent the columns shown in FIG. 15, and N represents the number of pixels counted in each column of the lines up to a certain line. Represents.

上記の例では、原稿全体についてカラー画素数を集計しているが、有効画像領域12や有効画像領域13の場合、更に分割された有効画像領域毎にカウント数を集計するようにしてもよい。例えば、有効画像領域12を分割した2つの有効画像領域12A,12Bについては、下記のようになる。   In the above example, the number of color pixels is totalized for the entire document. However, in the case of the effective image area 12 and the effective image area 13, the count number may be totalized for each divided effective image area. For example, the two effective image areas 12A and 12B obtained by dividing the effective image area 12 are as follows.

有効画像領域12Aにおけるカラー画素カウント数=N(B,b)−N(B,a−1)+N(C,b)−N(C,a−1)+N(D,b)−N(D,a−1)   Color pixel count in effective image area 12A = N (B, b) -N (B, a-1) + N (C, b) -N (C, a-1) + N (D, b) -N (D , A-1)

有効画像領域12Bにおけるカラー画素カウント数=N(B,d)−N(B,c−1)+N(C,d)−N(C,c−1)+N(D,d)−N(D,c−1)   Color pixel count in effective image area 12B = N (B, d) −N (B, c−1) + N (C, d) −N (C, c−1) + N (D, d) −N (D , C-1)

以下、カラム毎の判定結果を用いて実行する処理の内容について説明する。図16は原稿読取時の処理手順を説明するフローチャートである。原稿のスキャンが開始され、処理対象の画像データが入力された場合、ACS判定処理部53は上述した方法を用いてカラム毎にライン単位で判定結果を求める(ステップS101)。そして、原稿読取時の設定により印刷処理が要求されているか否かを判断する(ステップS102)。   Hereinafter, the content of the process performed using the determination result for every column is demonstrated. FIG. 16 is a flowchart for explaining a processing procedure during document reading. When scanning of a document is started and image data to be processed is input, the ACS determination processing unit 53 obtains a determination result line by line for each column using the above-described method (step S101). Then, it is determined whether or not print processing is requested according to the settings at the time of reading the original (step S102).

印刷処理が要求されていると判断した場合(S102:YES)、設定された有効画像領域毎にカラー画素カウント数を集計し、有効画像領域に対する判別結果を求める(ステップS103)。そして、属性判別に基づいた画像処理を行い(ステップS104)、印刷処理を実行する(ステップS105)。   When it is determined that the printing process is requested (S102: YES), the color pixel count is added up for each set effective image area, and the determination result for the effective image area is obtained (step S103). Then, image processing based on attribute discrimination is performed (step S104), and printing processing is executed (step S105).

また、ステップS102において、印刷処理が要求されていないと判断した場合(S102:NO)、原稿読取時の設定によりファイリング処理が要求されているか否かを判断する(ステップS106)。   If it is determined in step S102 that printing processing is not requested (S102: NO), it is determined whether filing processing is requested according to the setting at the time of document reading (step S106).

ファイリング処理が要求されていると判断した場合(S106:YES)、画像データ及び判別結果を図に示していないHDDなどに格納する(ステップS107,S108)。また、ステップS106でファイリング処理が要求されていないと判断した場合(S106:NO)、本フローチャートによる処理を終了する。   If it is determined that the filing process is requested (S106: YES), the image data and the determination result are stored in an HDD or the like not shown (steps S107 and S108). If it is determined in step S106 that the filing process is not requested (S106: NO), the process according to this flowchart is terminated.

図17は再印刷時の処理手順を説明するフローチャートである。まず、再印刷時の設定に応じて有効画像領域に対する判別結果を求め(ステップS111)、属性判別に基づいた画像処理を行う(ステップS112)。次いで、画像処理された画像に基づいて印刷処理を実行する(ステップS113)。   FIG. 17 is a flowchart for explaining the processing procedure during reprinting. First, a determination result for the effective image area is obtained according to the setting at the time of reprinting (step S111), and image processing based on attribute determination is performed (step S112). Next, print processing is executed based on the image processed image (step S113).

なお、本実施の形態では、ライン単位のカウント数からカラー原稿か白黒原稿かを判定する処理をカラー原稿判定部535で行う構成としたが、CPU531で行う構成としてもよい。この場合のACS判定処理部53の構成は図8に示したものと同様である。   In the present embodiment, the color original determination unit 535 performs the process of determining whether the original is a color original or a black and white original from the line-unit count. However, the CPU 531 may be configured to perform the process. The configuration of the ACS determination processing unit 53 in this case is the same as that shown in FIG.

実施の形態3.
ライン単位のカウント数の生成方法及び集計方法として、以下で説明する方法を用いることも可能である。
Embodiment 3 FIG.
The method described below can also be used as a method of generating and counting the count number in units of lines.

カラー画素カウント部534は、予め設定される画像データの各有効画像領域のそれぞれに対して、カラー画素判定部533から入力されるカラー画素フラグがカラーであることを示していればカウント数を1インクリメントし、カラーでないことを示していればカウント数はそのままとする。1ラインのカウントを行うごとにメモリ532へ現在までのカラー画素カウント数を出力する。このとき、カウンタの初期化は原稿読取開始位置で行い、ライン単位毎には行わない。カラー画素のカウント数は、常に原稿読込開始ラインからの総和とする。   The color pixel counting unit 534 sets the count number to 1 if each color image flag input from the color pixel determination unit 533 indicates color for each effective image area of the preset image data. If it is incremented and indicates that it is not a color, the count is left as it is. Each time one line is counted, the current color pixel count is output to the memory 532. At this time, initialization of the counter is performed at the document reading start position, and is not performed for each line unit. The count number of color pixels is always the sum from the original reading start line.

なお、有効画像領域については、スキャン時に選択されるモードや再処理時に選択可能なモードによって決められる。仮に図12〜図14に示したような有効画像領域11〜13までのモードが選択可能であるとした場合、図18に示すように3つの有効画像領域に対するライン単位のカウント数を並行して生成し、メモリ532に格納する。   The effective image area is determined by a mode selected at the time of scanning and a mode selectable at the time of reprocessing. If it is assumed that the modes of the effective image areas 11 to 13 as shown in FIGS. 12 to 14 can be selected, the counts in units of lines for the three effective image areas are set in parallel as shown in FIG. It is generated and stored in the memory 532.

メモリ532には、カラー画素カウント数がライン単位で順次格納される。また、カラー画素判定部533より要求されたラインのカウント数をカラー原稿判定部535に出力する。   In the memory 532, the color pixel count is sequentially stored in units of lines. Further, the line count requested by the color pixel determination unit 533 is output to the color document determination unit 535.

カラー原稿判定部535では、CPU531から有効画像領域情報を受け取り、この情報に基づき、対応する有効画像領域の1つ前のラインにおけるカラー画素カウント数と有効画像領域の後端ラインにおけるカラー画素カウント数とをメモリ532に要求する。メモリ532から入力された2つのカウント数の差分を計算して、有効画像領域におけるカラー画素カウント数を求め、閾値比較を行うことで原稿がカラー原稿か白黒原稿かを判定し、判定結果を出力する。閾値THcolor_dとしては、例えば、入力原稿に対して1センチ角程度の大きさの画素数を用いる。閾値THcolor_dの値は、画像入力装置の解像度により異なるので、解像度に応じて設定する。そして、閾値THcolor_d以上ならば、カラー原稿であると判定し、閾値THcolor_dより小さければ白黒原稿であると判定する。   The color original determination unit 535 receives the effective image area information from the CPU 531, and based on this information, the color pixel count number in the line immediately before the corresponding effective image area and the color pixel count number in the rear end line of the effective image area. To the memory 532. The difference between the two count numbers input from the memory 532 is calculated, the color pixel count number in the effective image area is obtained, the threshold value is compared to determine whether the document is a color document or a monochrome document, and the determination result is output. To do. As the threshold value THcolor_d, for example, the number of pixels having a size of about 1 cm square with respect to the input document is used. Since the value of the threshold THcolor_d differs depending on the resolution of the image input apparatus, it is set according to the resolution. If it is equal to or greater than the threshold THcolor_d, it is determined that the document is a color document, and if it is smaller than the threshold THcolor_d, it is determined that the document is a monochrome document.

有効画像領域11〜13の集計については、例えば、図18のようにライン単位のカウント数が格納されている場合、以下の式のように集計する。   Regarding the totaling of the effective image areas 11 to 13, for example, when the number of counts in units of lines is stored as shown in FIG. 18, the totaling is performed according to the following formula.

有効画像領域11におけるカラー画素カウント数=N(Reg1,n)
有効画像領域12におけるカラー画素カウント数=N(Reg2,b)−N(Reg2,a−1)+N(Reg2,d)−N(Reg2,c−1)
有効画像領域13におけるカラー画素カウント数=N(Reg3,b)−N(Reg3,a−1)+N(Reg3,d)−N(Reg3,c−1)
Color pixel count in effective image area 11 = N (Reg1, n)
Color pixel count in effective image area 12 = N (Reg2, b) −N (Reg2, a−1) + N (Reg2, d) −N (Reg2, c−1)
Color pixel count in effective image area 13 = N (Reg3, b) -N (Reg3, a-1) + N (Reg3, d) -N (Reg3, c-1)

なお、本実施の形態では、ライン単位のカウント数からカラー原稿か白黒原稿かを判定する処理をカラー原稿判定部535で行う構成としたが、CPU531で行う構成としてもよい。この場合のACS判定処理部53の構成は図8に示したものと同様である。   In the present embodiment, the color original determination unit 535 performs the process of determining whether the original is a color original or a black and white original from the line-unit count. However, the CPU 531 may be configured to perform the process. The configuration of the ACS determination processing unit 53 in this case is the same as that shown in FIG.

また、上記では、カラー原稿か白黒原稿であるかの判定を行う例を示しているが、後述する原稿種別判定処理、下地判定処理に適用してもよく、あるいは、上記処理を適宜組み合わせて処理に適用するようにしてもよい。   In the above description, an example of determining whether the original is a color original or a black and white original is shown. However, the present invention may be applied to an original type determination process and a background determination process, which will be described later, or a combination of the above processes. You may make it apply to.

実施の形態4.
図19は本実施の形態に係る画像処理装置を備える画像処理システムの内部構成を説明するブロック図である。実施の形態4に係る画像処理システムは、操作パネル1、画像入力装置3、画像処理装置5B、画像出力装置7を備える。画像処理装置5B以外の構成については実施の形態1と全く同様であり、それらの説明については省略することとする。
Embodiment 4 FIG.
FIG. 19 is a block diagram illustrating an internal configuration of an image processing system including the image processing apparatus according to the present embodiment. The image processing system according to the fourth embodiment includes an operation panel 1, an image input device 3, an image processing device 5B, and an image output device 7. The configuration other than the image processing device 5B is exactly the same as that of the first embodiment, and a description thereof will be omitted.

画像処理装置5Bは、実施の形態1で説明した画像処理装置5AのACS判定処理部53に代えて原稿種別判定部54を備える。図20は原稿種別判定部54の内部構成を示すブロック図である。原稿種別判定部54は、CPU541、メモリ542、特徴量算出部543、判別結果集計部544、原稿判定部545を備える。   The image processing device 5B includes a document type determination unit 54 instead of the ACS determination processing unit 53 of the image processing device 5A described in the first embodiment. FIG. 20 is a block diagram showing the internal configuration of the document type determination unit 54. The document type determination unit 54 includes a CPU 541, a memory 542, a feature amount calculation unit 543, a discrimination result totaling unit 544, and a document determination unit 545.

特徴量算出部543は、入力された画像データを画素単位(またはブロック単位)で繁雑度や反転回数などの原稿の属性を判定するための特徴量を算出し、閾値処理等により画素の判別を行い、判別結果を判別結果集計部544に出力する。特徴量算出部543で生成される判別結果は1つでもよいし、複数としてもよい。例えば、7×7マスクに対する繁雑度が閾値以上であれば文字候補画素とし、そうでなければ文字候補画素ではないという判別結果を出力するとともに、7×7マスクに対する反転回数が閾値以下であれば下地候補画素とし、そうでなければ下地候補画素ではないという判別結果を出力してもよい。   The feature amount calculation unit 543 calculates feature amounts for determining the attributes of the document such as the degree of complexity and the number of inversions of the input image data in pixel units (or block units), and discriminates pixels by threshold processing or the like. The discrimination result is output to the discrimination result totaling unit 544. One or more determination results may be generated by the feature amount calculation unit 543. For example, if the degree of congestion with respect to the 7 × 7 mask is equal to or greater than the threshold value, a character candidate pixel is output. Otherwise, a determination result indicating that the pixel is not a character candidate pixel is output. The determination result may be output as a background candidate pixel, and if not, it is not a background candidate pixel.

判別結果集計部544は特徴量算出部543から入力される判別結果毎にカウント数を1インクリメントする。このとき、判別結果の値そのものをカウント数として加算してもよいし、判別結果をデータ圧縮した値(例えば、量子化値や対数変換値)をカウント数として加算してもよい。1ラインのカウントを行うごとにメモリ部へ現在までの判別結果カウント数を出力する。この時、カウンタの初期化は原稿開始位置で行い、ライン単位毎には行わない。常に原稿読込開始位置からの総和とする。   The discrimination result totaling unit 544 increments the count by 1 for each discrimination result input from the feature amount calculation unit 543. At this time, the value of the discrimination result itself may be added as the count number, or a value obtained by data compression of the discrimination result (for example, a quantized value or a logarithmic transformation value) may be added as the count number. Each time one line is counted, the determination result count number up to the present is output to the memory unit. At this time, initialization of the counter is performed at the document start position, and is not performed for each line unit. Always the sum from the document reading start position.

メモリ542は、ライン単位で判別結果カウント数を順次メモリに格納する。また、原稿判定部545より要求されたラインのカウント数を原稿判定部545に出力する。原稿判定部545では、CPU541から有効画像領域情報を受け取り、この情報に基づき、有効画像領域の一つ前のラインにおける判別結果カウント数と有効画像領域の後端ラインにおける判別結果カウント数をメモリ542に要求する。メモリ542から入力された2つのカウント数の差分を計算して、有効画像領域における判別結果カウント数を求め、閾値比較を行うことで原稿がどのような原稿であるかを判定し、判定結果を出力する。   The memory 542 sequentially stores the discrimination result count number in the memory in units of lines. Further, the count number of lines requested by the document determination unit 545 is output to the document determination unit 545. The document determination unit 545 receives the effective image area information from the CPU 541, and based on this information, the memory 542 stores the determination result count number in the previous line of the effective image area and the determination result count number in the rear end line of the effective image area. To request. The difference between the two count numbers input from the memory 542 is calculated, the discrimination result count number in the effective image area is obtained, the threshold comparison is performed to determine what kind of document is the document, and the determination result is Output.

原稿種別の判定には、特開2002−232708号公報に記載されている判定方法を用いることができる。図21は特徴量算出部543及び判別結果集計部544の詳細を示すブロック図である。   For the determination of the document type, a determination method described in Japanese Patent Application Laid-Open No. 2002-232708 can be used. FIG. 21 is a block diagram showing details of the feature amount calculation unit 543 and the discrimination result totaling unit 544.

特徴量算出部543は、最小濃度値算出部5431、最大濃度値算出部5432、最大濃度差算出部5433、総和濃度繁雑度算出部5434、判定領域設定部5435、最大濃度差閾値設定部5435a、総和濃度繁雑度閾値設定部5435b、文字・網点判定部5436、文字・網点判定閾値設定部5436a、下地・印画紙判定部5437、下地・印画紙判定閾値設定部5437aを備える。   The feature amount calculation unit 543 includes a minimum density value calculation unit 5431, a maximum density value calculation unit 5432, a maximum density difference calculation unit 5433, a total density busyness calculation unit 5434, a determination region setting unit 5435, a maximum density difference threshold setting unit 5435a, A total density busyness threshold setting unit 5435b, a character / halftone determination unit 5436, a character / halftone determination threshold setting unit 5436a, a background / printing paper determination unit 5437, and a background / printing paper determination threshold setting unit 5437a are provided.

最小濃度値算出部5431は不図示の信号変換部によって変換されるCMY信号を基に、注目画素を含むn×m(例えば、5×15画素)のブロックにおける濃度最小値を算出し、最大濃度値算出部5432は入力されるCMY信号を基に、注目画素を含むn×m(例えば、5×15画素)のブロックにおける濃度最大値を算出する。最大濃度差算出部5433は、最小濃度値算出部5431及び最大濃度値算出部5432で算出された最小濃度値及び最大濃度値を用いて最大濃度差を算出する。   The minimum density value calculation unit 5431 calculates a minimum density value in an n × m block (for example, 5 × 15 pixels) including the target pixel based on the CMY signal converted by a signal conversion unit (not shown), and the maximum density Based on the input CMY signal, the value calculation unit 5432 calculates a maximum density value in an n × m (for example, 5 × 15 pixels) block including the target pixel. The maximum density difference calculator 5433 calculates the maximum density difference using the minimum density value and the maximum density value calculated by the minimum density value calculator 5431 and the maximum density value calculator 5432.

総和濃度繁雑度算出部5434は、上記n×m(例えば、5×15画素)のブロックにおいて、主走査方向、副走査方向の隣接する画素の濃度差の絶対値の総和をそれぞれ求め、主走査方向、副走査方向の総和の和を算出する。判定領域設定部5435は、最大濃度差算出部5433で算出される最大濃度差、最大濃度差閾値設定部5435aにて設定される最大濃度差についての閾値、総和濃度繁雑度算出部5434で算出される総和濃度繁雑度、及び総和濃度繁雑度閾値設定部5435bにて設定される総和濃度繁雑度についての閾値に基づき、下地・印画紙(写真)領域、文字・網点領域に分離する。   The total density busyness calculation unit 5434 calculates the sum of absolute values of density differences between adjacent pixels in the main scanning direction and the sub-scanning direction in the n × m (for example, 5 × 15 pixels) block, and performs main scanning. The sum of the direction and sub-scan directions is calculated. The determination area setting unit 5435 is calculated by the maximum density difference calculated by the maximum density difference calculation unit 5433, the threshold for the maximum density difference set by the maximum density difference threshold setting unit 5435a, and the total density busyness calculation unit 5434. Are divided into a background / printing paper (photo) area and a character / halftone dot area on the basis of the threshold values for the total density busyness and the total density busyness threshold set by the total density busyness threshold setting unit 5435b.

文字・網点判定部5436は、判定領域設定部5435において文字・網点領域に分離された領域内の画素が文字であるか、又は網点であるかの判定を行う。判定には文字・網点判定閾値設定部5436aにて設定される閾値が用いられる。結果は、判別結果集計部544へ出力される。判別結果集計部544の文字画素集計部5441は文字と判定された画素を集計し、網点画素集計部5442は網点と判定された画素を集計する。   The character / halftone dot determination unit 5436 determines whether the pixel in the region separated into the character / halftone dot region by the determination region setting unit 5435 is a character or a halftone dot. For the determination, a threshold set by the character / halftone determination threshold setting unit 5436a is used. The result is output to the discrimination result totaling unit 544. The character pixel totaling unit 5441 of the discrimination result totaling unit 544 totals the pixels determined to be characters, and the halftone pixel totaling unit 5442 totals the pixels determined to be halftone dots.

下地・印画紙判定部5437は、判定領域設定部5435において下地・印画紙領域に分離された領域内の画素が下地であるか、又は印画紙(印画紙写真)であるかの判定を行う。判定には下地・印画紙判定閾値設定部5437aにて設定される閾値が用いられる。結果は、判別結果集計部544へ出力される。下地画素計数部5322は下地と判定された画素を集計し、印画紙画素計数部5323は印画紙と判定された画素を集計する。   The background / photographic paper determination unit 5437 determines whether the pixel in the region separated into the background / printing paper region by the determination region setting unit 5435 is a background or photographic paper (photographic paper photograph). For the determination, a threshold set by the background / photographic paper determination threshold setting unit 5437a is used. The result is output to the discrimination result totaling unit 544. The background pixel counting unit 5322 counts the pixels determined as the background, and the photographic paper pixel counting unit 5323 counts the pixels determined as the photographic paper.

図22は原稿種別判定部54が実行する処理の手順を説明するフローチャートである。CPU541は、まず、メモリに記憶されているカウント数などの初期化を行う(ステップS31)。そして、画像入力装置3から通知される原稿の読取開始位置及び読取終了位置の情報から原稿サイズを認識し、操作パネル1等から入力される、原稿に対して画像処理を行うための拡大率や処理対象位置などの情報を取得、解析し、有効画像領域情報として認識する(ステップS32)。   FIG. 22 is a flowchart for explaining a procedure of processing executed by the document type determination unit 54. The CPU 541 first initializes the count number stored in the memory (step S31). Then, the document size is recognized from the information on the reading start position and the reading end position of the document notified from the image input device 3, and the enlargement ratio for performing image processing on the document input from the operation panel 1 or the like Information such as the processing target position is acquired and analyzed, and recognized as effective image area information (step S32).

次いで、特徴量算出部543は、1つのラインを構成する画素単位で特徴量を算出し(ステップS33)、画素の属性を判別する(ステップS34)。そして、判別結果に応じてカウンタの値を1つだけインクリメントし(ステップS35)、1ラインの処理が終了したか否かを判断する(ステップS36)。1ラインの処理が終了していないと判断した場合(S36:NO)、処理をステップS33へ戻す。   Next, the feature amount calculation unit 543 calculates a feature amount in units of pixels constituting one line (step S33), and determines pixel attributes (step S34). Then, the counter value is incremented by one according to the determination result (step S35), and it is determined whether or not the processing for one line is completed (step S36). If it is determined that the process for one line has not been completed (S36: NO), the process returns to step S33.

1ラインの処理が終了したと判断した場合(S36:YES)、判別結果(処理を行ったラインまでの判別結果)をメモリ542に出力する(ステップS37)。次いで、CPU541は有効画像領域の後端ラインであるか否かを判断し(ステップS38)、後端ラインでないと判断した場合(S38:NO)、次のラインの処理を行って(ステップS39)、処理をステップS33へ戻す。   If it is determined that the processing for one line has been completed (S36: YES), the determination result (the determination result up to the processed line) is output to the memory 542 (step S37). Next, the CPU 541 determines whether or not it is the rear end line of the effective image area (step S38). If it is determined that it is not the rear end line (S38: NO), the next line is processed (step S39). The process returns to step S33.

現在のラインが有効画像領域の後端ラインであると判断した場合(S38:YES)、有効画像領域の1つ前のラインの判別結果と有効画像領域の後端ラインにおける判別結果の差分(文字と判定された画素数、網点と判定された画素数、下地と判定された画素数、印画紙と判定された画素数の差分)を算出し(ステップS40)、算出した差分に基づいて原稿種別の判別を行う(ステップS41)。例えば、上記各領域毎の画素数について有効画像領域の全画素数に対する比率を求め、文字領域、網点領域、印画紙写真領域、下地領域に対して定められている閾値と比較して有効画像領域の原稿種別の判定を行う。例えば、文字と判定された画素数、網点と判定された画素数の比率が何れもそれぞれの閾値以上のとき、文字印刷写真原稿であると判定する。   When it is determined that the current line is the rear end line of the effective image area (S38: YES), the difference (character) between the determination result of the previous line of the effective image area and the determination result of the rear end line of the effective image area (The difference between the number of pixels determined to be halftone dots, the number of pixels determined to be background, the number of pixels determined to be photographic paper) (step S40), and based on the calculated difference The type is determined (step S41). For example, the ratio of the number of pixels in each area to the total number of pixels in the effective image area is obtained, and the effective image is compared with the threshold values set for the character area, halftone area, photographic paper photograph area, and background area The document type of the area is determined. For example, when the ratio between the number of pixels determined to be a character and the number of pixels determined to be a halftone dot is equal to or greater than the respective threshold values, it is determined that the document is a character-printed photographic document.

上記閾値は、次のように設定することができる。例えば、文字、網点、印画紙写真の順に検出精度が高いとすると、文字と判定された画素の比率が有効画像領域の全画素数の30%の場合には文字原稿、網点と判定された画素の比率が有効画像領域の全画素数の20%の場合には網点原稿(印刷写真原稿)、印画紙写真と判定された画素の比率が有効画像領域の全画素数の10%の場合には印画紙写真原稿であると判定する。   The threshold value can be set as follows. For example, assuming that the detection accuracy is higher in the order of characters, halftone dots, and photographic paper photographs, if the ratio of pixels determined to be characters is 30% of the total number of pixels in the effective image area, it is determined as a character document and halftone dots. If the ratio of the detected pixels is 20% of the total number of pixels in the effective image area, the ratio of the pixels determined to be halftone original (printed photo original) and photographic paper photograph is 10% of the total number of pixels in the effective image area. In this case, it is determined that the document is a photographic paper photo original.

なお、本実施の形態では、原稿種別の判定を原稿判定部545で行う構成としたが、CPU541で行う構成としてもよい。図23は原稿種別判定部54の変形例を示すブロック図である。   In the present embodiment, the document type is determined by the document determination unit 545, but may be configured by the CPU 541. FIG. 23 is a block diagram showing a modification of the document type determination unit 54.

実施の形態5.
本実施の形態では、下地判定処理への適用例について説明する。図24は図1に示した画像処理装置5Aにおける入力階調補正部55の内部構成を示すブロック図である。入力階調補正部55は、CPU551、メモリ552、ヒストグラム処理部553、階級値集計部554、下地判定部555を備える。
Embodiment 5. FIG.
In this embodiment, an application example to the background determination process will be described. FIG. 24 is a block diagram showing an internal configuration of the input tone correction unit 55 in the image processing apparatus 5A shown in FIG. The input tone correction unit 55 includes a CPU 551, a memory 552, a histogram processing unit 553, a class value totaling unit 554, and a background determination unit 555.

CPU551は、画像入力装置3から通知される原稿の読取開始位置や読取終了位置の情報から原稿サイズを認識する。また、操作パネル1等から入力される、原稿に対して画像処理を行うための拡大率や処理対象位置などの情報を取得、解析し、有効画像領域情報として認識する。   The CPU 551 recognizes the document size from the information on the reading start position and the reading end position of the document notified from the image input device 3. Further, information such as an enlargement ratio and a processing target position for performing image processing on a document input from the operation panel 1 or the like is acquired and analyzed, and recognized as effective image area information.

ヒストグラム処理部553は、入力された画像データを画素単位(またはブロック単位)で濃度値を閾値判定処理することでヒストグラムのどの階級値に含まれるかを判定し、階級値を階級値集計部554へ出力する。このとき、予め下地であると判断される階級値を定めておき、該当する階級値のみを階級値集計部554へ出力する。すなわち、下地候補の画素を抽出する。   The histogram processing unit 553 determines which class value is included in the histogram by performing threshold value determination processing on the density value of the input image data in pixel units (or block units), and class values are included in the class value aggregation unit 554. Output to. At this time, a class value determined to be a base is determined in advance, and only the corresponding class value is output to the class value totaling unit 554. That is, background candidate pixels are extracted.

階級値集計部554は、ヒストグラム処理部553から入力される、下地候補の画素の階級値をカウント処理し、入力された階級値に相当するカウント数を1インクリメントする。1ラインのカウントを行うごとにメモリ552へ現在までの各級に対するカウント数を出力する。この時、カウンタの初期化は原稿開始位置で行い、ライン単位毎には行わない。常に原稿読込開始位置からの総和とする。   The class value totaling unit 554 counts the class value of the background candidate pixels input from the histogram processing unit 553, and increments the count corresponding to the input class value by one. Each time one line is counted, the count number for each class is output to the memory 552. At this time, initialization of the counter is performed at the document start position, and is not performed for each line unit. Always the sum from the document reading start position.

メモリ552では、ライン単位でヒストグラムの各階級に対するカウント数を順次メモリ552に格納する。また、下地判定部555より要求されたラインのカウント数を下地判定部555に出力する。   In the memory 552, the count number for each class of the histogram is sequentially stored in the memory 552 in units of lines. Further, the count number of lines requested by the background determination unit 555 is output to the background determination unit 555.

下地判定部555では、CPU551から有効画像領域情報を受け取り、この情報に基づき、有効画像領域の一つ前のラインにおけるヒストグラムの各階級値に対するカウント数と有効画像領域の後端ラインにおけるヒストグラムの各階級値に対するカウント数をメモリ552に要求する。メモリ552から入力された2組のカウント数の差分をそれぞれの階級値に対して計算して、有効画像領域におけるヒストグラムの各階級値に対するカウント数を求め、色成分毎に閾値との比較を行うことで原稿の下地を判定し、判定結果を出力する。下地であると判断される階級値、カウント数の比較を行う閾値は、様々な画像サンプルを用いて、適切に下地が抽出できるように定めておく。   The background determination unit 555 receives the effective image area information from the CPU 551, and based on this information, the count number for each class value of the histogram in the previous line of the effective image area and each histogram in the rear end line of the effective image area. The memory 552 is requested for the count for the class value. The difference between the two sets of count numbers input from the memory 552 is calculated for each class value to obtain the count number for each class value of the histogram in the effective image area, and is compared with the threshold value for each color component. As a result, the background of the document is determined and the determination result is output. The threshold value for comparing the class value and the count number determined to be the background is determined so that the background can be appropriately extracted using various image samples.

上記では、下地であると判断される階級値についてのみカウントを行っているが、全ての階級値についてカウントを行い、下地であると判断される階級値についてのみカウント値の差分を求め、下地の判定を行うようにしてもよい。   In the above, only the class values determined to be the background are counted, but all the class values are counted, and the difference of the count values is obtained only for the class values determined to be the background. You may make it perform determination.

図25は入力階調補正部55が実行する処理の手順を説明するフローチャートである。CPU551は、まず、メモリに記憶されているカウント数などの初期化を行う(ステップS51)。そして、画像入力装置3から通知される原稿の読取開始位置及び読取終了位置の情報から原稿サイズを認識し、操作パネル1等から入力される、原稿に対して画像処理を行うための拡大率や処理対象位置などの情報を取得、解析し、有効画像領域情報として認識する(ステップS52)。   FIG. 25 is a flowchart for explaining the procedure of processing executed by the input tone correction unit 55. First, the CPU 551 initializes the count number stored in the memory (step S51). Then, the document size is recognized from the information on the reading start position and the reading end position of the document notified from the image input device 3, and the enlargement ratio for performing image processing on the document input from the operation panel 1 or the like Information such as the processing target position is acquired and analyzed, and recognized as effective image area information (step S52).

次いで、ヒストグラム処理部553は、1つのラインを構成する画素単位で処理を行い、色成分毎に画素を階級値に分類し(ステップS53)、階級値に相当するカウント数を1だけインクリメントする(ステップS54)。   Next, the histogram processing unit 553 performs processing in units of pixels constituting one line, classifies the pixels into class values for each color component (step S53), and increments the count corresponding to the class value by 1 ( Step S54).

CPU551は、1ラインの処理が終了したか否かを判断し(ステップS55)、1ラインの処理が終了していないと判断した場合(S55:NO)、処理をステップS53へ戻す。   The CPU 551 determines whether or not the processing for one line has been completed (step S55). If the CPU 551 determines that the processing for one line has not been completed (S55: NO), the process returns to step S53.

1ラインの処理が終了したと判断した場合(S55:YES)、階級値のカウント数(処理を行ったラインまでの階級値のカウント数)を色成分毎にメモリ552に出力する(ステップS56)。次いで、CPU541は有効画像領域の後端ラインであるか否かを判断し(ステップS57)、後端ラインでないと判断した場合(S57:NO)、次のラインの処理を行って(ステップS58)、処理をステップS53へ戻す。   If it is determined that the processing for one line has been completed (S55: YES), the count value count value (the count value count value up to the processed line) is output to the memory 552 for each color component (step S56). . Next, the CPU 541 determines whether or not it is the rear end line of the effective image area (step S57). If it is determined that it is not the rear end line (S57: NO), the next line is processed (step S58). The process returns to step S53.

現在のラインが有効画像領域の後端ラインであると判断した場合(S57:YES)、有効画像領域の1つ前のラインの階級値のカウント数と有効画像領域の後端ラインにおける階級値のカウント数の差分を色成分毎に算出する(ステップS59)。そして、カウント数が閾値以上となる色成分で、最も大きい階級値(RGB信号の場合)の値を下地であると判定する(ステップS60)。そして、下地の判別結果を基に、下地除去処理を行う。   When it is determined that the current line is the rear end line of the effective image area (S57: YES), the count value of the class value of the line immediately before the effective image area and the class value of the rear end line of the effective image area The difference between the counts is calculated for each color component (step S59). Then, it is determined that the value of the largest class value (in the case of an RGB signal) among the color components whose count number is equal to or greater than the threshold is the background (step S60). Then, a background removal process is performed based on the background discrimination result.

下地の判別方法として、例えば、特開2000−354167号公報に記載されている以下の方法を用いても良い。すなわち、まず、入力画像データより、G信号を補色反転した信号であるM信号を抽出し、例えば256段階の濃度を16分割してヒストグラムを作成する。下地と判断される濃度値の最大値(第1の閾値)以下の濃度区分(階級値)についてカウントを行い、カウント値の差分を求め、差分が閾値以上の濃度区分を下地として抽出する。そして、抽出された濃度区分値に対応する補正量テーブルを選択し、下地除去処理を行う。なお、G信号ではなく、輝度信号(255−Y、ここでYはYj=0.30Rj+0.59Gi+0.11Bj(Rj,Gj,Bj:各画素の色成分))を用いて行ってもよい。   For example, the following method described in Japanese Patent Laid-Open No. 2000-354167 may be used as a method for determining the background. That is, first, an M signal which is a signal obtained by inverting the complementary color of the G signal is extracted from input image data, and a histogram is created by dividing, for example, 256 levels of density into 16 parts. Counting is performed for density sections (class values) that are equal to or lower than the maximum density value (first threshold value) determined to be the background, and a difference between the count values is obtained, and density sections with the difference equal to or greater than the threshold are extracted as the background. Then, a correction amount table corresponding to the extracted density division value is selected, and background removal processing is performed. Instead of the G signal, a luminance signal (255-Y, where Y is Yj = 0.30Rj + 0.59Gi + 0.11Bj (Rj, Gj, Bj: color components of each pixel)) may be used.

なお、本実施の形態では、下地の判定を下地判定部555で行う構成としたが、CPU551で行う構成としてもよい。図26は入力階調補正部55の変形例を示すブロック図である。   In this embodiment, the background determination is performed by the background determination unit 555, but the CPU 551 may be configured. FIG. 26 is a block diagram showing a modified example of the input tone correction unit 55.

以上では、オートカラーセレクト処理、原稿種別の判別処理、下地判定処理を個別に行う例を説明したが、これらの処理を適宜組み合わせて行うようにしても良い。例えば、オートカラーセレクト処理と原稿種別の判別処理を並列して行い、カラー、モノクロ原稿の判別結果と原稿種別の判別結果を組み合わせて出力するようにしても良い。さらに、オートカラーセレクト処理、原稿種別の判別処理を行った後、下地判定処理を行うようにしても良い。この時、原稿種別の判定結果に基づいて、例えば、文字原稿が含まれる場合(文字原稿、文字印刷写真原稿、文字印画紙写真原稿など)は、下地判定処理を行い、文字原稿が含まれない場合(印刷写真原稿、印画紙写真原稿など)、下地判定処理を行わないようにしても良い。文字原稿が含まれる場合、通常、下地が存在するが、文字が含まれない写真原稿などでは、下地がほとんど含まれないためである。
また、オートカラーセレクト処理、原稿種別の判別処理、下地判定処理の処理順序は入れ替わってもよいし、一部またはすべてをCPUで処理を行うようにしても良い。
In the above, an example in which the auto color selection process, the document type determination process, and the background determination process are performed individually has been described. However, these processes may be appropriately combined. For example, the auto color selection process and the document type determination process may be performed in parallel, and the color and monochrome document determination result and the document type determination result may be combined and output. Further, the background determination process may be performed after the auto color selection process and the document type determination process. At this time, based on the determination result of the document type, for example, when a character document is included (a character document, a character-printed photo document, a character photographic paper photo document, etc.), the background determination process is performed and the character document is not included. In some cases (printed photo original, photographic paper photo original, etc.), the background determination process may not be performed. This is because a text document usually includes a background, but a photo document or the like that does not include characters contains almost no background.
The processing order of the auto color selection process, the document type determination process, and the background determination process may be switched, or a part or all of the processes may be performed by the CPU.

実施の形態6.
本実施の形態では、画像読取装置への適用例について説明する。図27は本実施の形態に係る画像読取装置の内部構成を示すブロック図である。本実施の形態に係る画像読取装置9は画像読取部91及び画像処理部92を備える。画像読取部91は、原稿の画像を光学的に読み取るために走査ユニット、結像レンズ、CCDラインセンサ、給送タイミングセンサなどを備える。
Embodiment 6 FIG.
In this embodiment, an application example to an image reading apparatus will be described. FIG. 27 is a block diagram showing an internal configuration of the image reading apparatus according to the present embodiment. The image reading device 9 according to the present embodiment includes an image reading unit 91 and an image processing unit 92. The image reading unit 91 includes a scanning unit, an imaging lens, a CCD line sensor, a feeding timing sensor, and the like for optically reading an image of a document.

画像処理部92は、AD変換部921、シェーディング補正部922、原稿種別判定部923、入力階調補正部924を備える。AD変換部921は、画像読取部91にて読み取ったアナログ信号をデジタル信号に変換するものである。シェーディング補正部922は、画像読取部91の照明系・結像系・撮像系で生じる各種歪みを取り除くためのシェーディング補正を行うものである。   The image processing unit 92 includes an AD conversion unit 921, a shading correction unit 922, a document type determination unit 923, and an input tone correction unit 924. The AD conversion unit 921 converts the analog signal read by the image reading unit 91 into a digital signal. The shading correction unit 922 performs shading correction for removing various distortions generated in the illumination system, the imaging system, and the imaging system of the image reading unit 91.

原稿種別判定部923では、シェーディング補正部922にて各種の歪みが取り除かれたRGB信号(RGBの反射率信号)に対して、濃度信号などカラー画像処理装置に採用されている画像処理システムの扱い易い信号に変換すると共に、入力された原稿画像が、文字原稿、印刷写真写原稿、印画紙写真であるか、あるいはそれらを組み合わせた文字/印刷写真原稿であるかなど原稿種別の判別を行なうものである。   The document type determination unit 923 treats an RGB signal (RGB reflectance signal) from which various distortions have been removed by the shading correction unit 922 as an image processing system employed in a color image processing apparatus such as a density signal. Converts to an easy signal and determines the document type such as whether the input document image is a text document, a printed photo document, a photographic paper photo, or a combined character / print photo document It is.

入力階調補正部924は、カラーバランスを整えると同時に、下地の検出および下地濃度の除去やコントラストなどの画質調整処理を施すものである。   The input tone correction unit 924 adjusts the color balance and simultaneously performs image quality adjustment processing such as background detection, background density removal, and contrast.

画像処理部92にて画像処理が施されたRGB信号および原稿種別判別信号は、コンピュータやプリンタに入力され原稿種別に応じた処理がなされる。   The RGB signal and the document type determination signal subjected to image processing by the image processing unit 92 are input to a computer or a printer and processed according to the document type.

なお、上記では原稿種別判定部923を備える例を示しているが、原稿種別判定部の代わりに実施の形態1で説明したようなACS判定処理部を備えるようにしても良い。又は、ACS判定処理を原稿種別判定部923に組み込み、さらに、入力階調補正部924で下地判定を行い、その結果も合わせて出力するようにしても良い。さらに、画像読取装置は領域分離処理部を備える構成であっても良い。   Although an example in which the document type determination unit 923 is provided is shown above, an ACS determination processing unit as described in the first embodiment may be provided instead of the document type determination unit. Alternatively, the ACS determination process may be incorporated in the document type determination unit 923, and the background determination may be performed by the input tone correction unit 924, and the result may be output together. Further, the image reading apparatus may include a region separation processing unit.

実施の形態7.
実施の形態1及び2では、各処理をハードウェアにより実現する構成としたが、ソフトウェアの処理により本発明を実現する構成としてもよい。
Embodiment 7 FIG.
In the first and second embodiments, each process is realized by hardware. However, the present invention may be realized by software processing.

図28は本発明のコンピュータプログラムがインストールされた画像処理装置の内部構成を説明するブロック図である。図中100は、本実施の形態に係る画像処理装置であり、具体的にはパーソナルコンピュータ、ワークステーション等である。画像処理装置100はCPU101を備えており、CPU101にはROM103、RAM104、ハードディスク105、外部記憶部106、入力部107、表示部108、通信ポート109等のハードウェアがバス102を介して接続されている。CPU101は、ROM103に予め格納された制御プログラムに従って前述のハードウェア各部を制御する。   FIG. 28 is a block diagram illustrating the internal configuration of an image processing apparatus in which the computer program of the present invention is installed. In the figure, reference numeral 100 denotes an image processing apparatus according to the present embodiment, specifically a personal computer, a workstation, or the like. The image processing apparatus 100 includes a CPU 101, and hardware such as a ROM 103, a RAM 104, a hard disk 105, an external storage unit 106, an input unit 107, a display unit 108, and a communication port 109 is connected to the CPU 101 via a bus 102. Yes. The CPU 101 controls the above-described hardware units according to a control program stored in advance in the ROM 103.

RAM104は前述の制御プログラム、又は本発明に係るコンピュータプログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)の実行中に生成される各種データを一時的に記憶する揮発性のメモリである。ハードディスク105は、磁気記録媒体を有する記憶手段であり、本発明のコンピュータプログラムのプログラムコード等が記憶される。外部記憶部106は、本発明のコンピュータプログラムのプログラムコードを記録した記録媒体Mからプログラムコードを読取るための読取装置を備えている。記録媒体Mとしては、FD(Flexible Disk)、CD−ROM等を用いることができる。外部記憶部106によって読取られたプログラムコードはハードディスク105に格納される。CPU101はハードディスク105に格納された本発明に係るプログラムコードをRAM104上にロードして実行することにより、装置全体を、実施の形態1乃至5で説明したような画像処理を実現する装置として機能させる。   The RAM 104 is a volatile memory that temporarily stores various data generated during the execution of the above-described control program or the program code (execution format program, intermediate code program, source program) of the computer program according to the present invention. . The hard disk 105 is a storage means having a magnetic recording medium, and stores the program code of the computer program of the present invention. The external storage unit 106 includes a reading device for reading the program code from the recording medium M on which the program code of the computer program 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 106 is stored in the hard disk 105. The CPU 101 loads the program code according to the present invention stored in the hard disk 105 onto the RAM 104 and executes it, thereby causing the entire apparatus to function as an apparatus that realizes image processing as described in the first to fifth embodiments. .

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

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

また、本発明に係るコンピュータプログラムコードを記録する記録媒体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 code according to the present invention, in addition to the above-mentioned FD and CD-ROM, optical recording medium such as MO, MD, DVD, magnetic recording medium such as hard disk, IC card, memory card Further, it is also possible to use a semiconductor memory such as a card-type recording medium such as an optical card, a mask ROM, an EPROM (Erasable Programmable Read Only Memory), an EEPROM (Electrically Erasable Programmable Read Only Memory), a flash ROM, or the like. Further, since the system configuration is such that a communication network including the Internet can be connected, the computer program code according to the present invention may be downloaded from the communication network.

また、本発明のコンピュータプログラムは、単体のアプリケーションプログラム、ユーティリティプログラムとして提供される形態であってもよく、他のアプリケーションプログラム、ユーティリティプログラムに組み込み、そのプログラムの一部の機能として提供する形態であってもよい。例えば、その一形態としてプリンタドライバに組み込んで提供する形態が考えられる。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   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. 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.

本発明に係る画像処理装置を備える画像処理システムの内部構成を説明するブロック図である。It is a block diagram explaining the internal structure of an image processing system provided with the image processing apparatus which concerns on this invention. 画像入力装置の構成を示す模式図である。It is a schematic diagram which shows the structure of an image input device. 給送タイミングセンサから出力される信号を表す模式図である。It is a schematic diagram showing the signal output from a feeding timing sensor. ACS判定処理部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of an ACS determination process part. 有効画像領域を説明する説明図である。It is explanatory drawing explaining an effective image area | region. ACS判定処理部が実行する処理の手順を説明するフローチャートである。It is a flowchart explaining the procedure of the process which an ACS determination process part performs. ACS判定処理部が実行する処理の手順を説明するフローチャートである。It is a flowchart explaining the procedure of the process which an ACS determination process part performs. ACS判定処理部の変形例を示すブロック図である。It is a block diagram which shows the modification of an ACS determination process part. 有効画像領域の設定例を示す模式図である。It is a schematic diagram which shows the example of a setting of an effective image area | region. 有効画像領域の設定例を示す模式図である。It is a schematic diagram which shows the example of a setting of an effective image area | region. カラムの分割例を示す模式図である。It is a schematic diagram which shows the example of a division | segmentation of a column. 有効画像領域の設定例を示す模式図である。It is a schematic diagram which shows the example of a setting of an effective image area | region. 有効画像領域の設定例を示す模式図である。It is a schematic diagram which shows the example of a setting of an effective image area | region. 有効画像領域の設定例を示す模式図である。It is a schematic diagram which shows the example of a setting of an effective image area | region. メモリへのカラー画素カウント数の格納例を示す模式図である。It is a schematic diagram which shows the example of storage of the color pixel count number to memory. 原稿読取時の処理手順を説明するフローチャートである。6 is a flowchart illustrating a processing procedure when reading a document. 再印刷時の処理手順を説明するフローチャートである。It is a flowchart explaining the process sequence at the time of reprinting. メモリへのカラー画素カウント数の格納例を示す模式図である。It is a schematic diagram which shows the example of storage of the color pixel count number to memory. 本実施の形態に係る画像処理装置を備える画像処理システムの内部構成を説明するブロック図である。It is a block diagram explaining the internal structure of an image processing system provided with the image processing apparatus which concerns on this Embodiment. 原稿種別判定部の内部構成を示すブロック図である。3 is a block diagram showing an internal configuration of a document type determination unit. FIG. 特徴量算出部及び判別結果集計部の詳細を示すブロック図である。It is a block diagram which shows the detail of a feature-value calculation part and a discrimination | determination result total part. 原稿種別判定部が実行する処理の手順を説明するフローチャートである。6 is a flowchart illustrating a procedure of processing executed by a document type determination unit. 原稿種別判定部の変形例を示すブロック図である。FIG. 10 is a block diagram illustrating a modified example of a document type determination unit. 図1に示した画像処理装置における入力階調補正部の内部構成を示すブロック図である。FIG. 2 is a block diagram showing an internal configuration of an input tone correction unit in the image processing apparatus shown in FIG. 1. 入力階調補正部が実行する処理の手順を説明するフローチャートである。It is a flowchart explaining the procedure of the process which an input gradation correction | amendment part performs. 入力階調補正部の変形例を示すブロック図である。It is a block diagram which shows the modification of an input gradation correction | amendment part. 本実施の形態に係る画像読取装置の内部構成を示すブロック図である。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 computer program of this invention was installed. 有効画像領域に依存して判定結果が異なる例を説明する説明図である。It is explanatory drawing explaining the example from which a determination result differs depending on an effective image area | region. 有効画像領域に依存して判定結果が異なる例を説明する説明図である。It is explanatory drawing explaining the example from which a determination result differs depending on an effective image area | region. 原稿自動送り装置によって原稿をライン単位で読み取る場合の処理を説明する説明図である。FIG. 6 is an explanatory diagram for explaining processing when a document is read line by line by an automatic document feeder.

符号の説明Explanation of symbols

53 ACS判定処理部
54 原稿種別判定部
55 入力階調補正部
531,541,551 CPU
532,542,552 メモリ
533 カラー画素判定部
534 カラー画素カウント部
535 カラー原稿判定部
543 特徴量算出部
544 判別結果集計部
545 原稿判定部
553 ヒストグラム処理部
554 階級値集計部
555 下地判定部
53 ACS Determination Processing Unit 54 Document Type Determination Unit 55 Input Tone Correction Unit 531 541 551 CPU
532, 542, 552 Memory 533 Color pixel determination unit 534 Color pixel count unit 535 Color document determination unit 543 Feature amount calculation unit 544 Discrimination result totaling unit 545 Document determination unit 553 Histogram processing unit 554 Class value totaling unit 555 Background determination unit

Claims (19)

画像の属性を判別し、判別結果に応じた処理を行う画像処理方法において、
判別対象の画像を複数の画素からなるライン毎に順次読み込み、読み込んだラインを構成する画素の特徴を表す特徴量を算出し、算出した特徴量に基づいて画素の属性を判別して、属性の判別がなされた画素を計数し、前記画像について処理を施すべき領域を設定し、設定した領域の直前のライン及び後端のラインの夫々から算出した属性の判別がなされた画素数の差分を算出し、算出した差分に基づいて前記領域の属性を判別し、判別結果に応じた処理を前記領域内の画像に対して施すことを特徴とする画像処理方法。
In an image processing method for determining an attribute of an image and performing processing according to the determination result,
The image to be discriminated is sequentially read for each line composed of a plurality of pixels, the feature amount representing the feature of the pixel constituting the read line is calculated, the attribute of the pixel is discriminated based on the calculated feature amount, and the attribute Count the pixels that have been determined, set the area to be processed for the image, and calculate the difference in the number of pixels for which the attribute has been determined from the lines immediately before and after the set area. And determining an attribute of the region based on the calculated difference, and performing processing according to the determination result on the image in the region.
画像の属性を判別し、判別結果に応じた処理を行う画像処理方法において、
判別対象の画像を複数の画素からなるライン毎に順次読み込み、読み込んだラインを構成する画素の特徴を表す特徴量を算出し、算出した特徴量に基づいて画素の属性を判別して、属性の判別がなされた画素を主走査方向に分割されたカラム毎に計数し、前記画像について処理を施すべき領域を設定し、設定した領域の直前のライン及び後端のラインの夫々から算出した属性の判別がなされた画素数の差分を、設定した領域に含まれるカラム毎に算出し、算出したカラム毎の差分の総和に基づいて前記領域の属性を判別し、判別結果に応じた処理を前記領域内の画像に対して施すことを特徴とする画像処理方法。
In an image processing method for determining an attribute of an image and performing processing according to the determination result,
The image to be discriminated is sequentially read for each line composed of a plurality of pixels, the feature amount representing the feature of the pixel constituting the read line is calculated, the attribute of the pixel is discriminated based on the calculated feature amount, and the attribute The discriminated pixels are counted for each column divided in the main scanning direction, the area to be processed is set for the image, and the attributes calculated from the line immediately before and the line at the rear end of the set area are set. The difference in the number of pixels determined is calculated for each column included in the set area, the attribute of the area is determined based on the calculated sum of the differences for each column, and the process according to the determination result is performed in the area An image processing method characterized by being applied to an image in the image.
画像の属性を判別し、判別結果に応じた処理を行う画像処理方法において、
判別対象の画像を複数の画素からなるライン毎に順次読み込み、読み込んだラインを構成する画素の特徴を表す特徴量を算出し、算出した特徴量に基づいて画素の属性を判別して、属性の判別がなされた画素を主走査方向に予め設定された複数の有効画像領域毎に計数し、前記画像について処理を施すべき領域を設定し、設定した領域に対応する計数結果に対して設定した領域の直前のライン及び後端のラインの夫々から算出した属性の判別がなされた画素数の差分を算出し、算出した差分の総和に基づいて前記領域の属性を判別し、判別結果に応じた処理を前記領域内の画像に対して施すことを特徴とする画像処理方法。
In an image processing method for determining an attribute of an image and performing processing according to the determination result,
The image to be discriminated is sequentially read for each line composed of a plurality of pixels, the feature amount representing the feature of the pixel constituting the read line is calculated, the attribute of the pixel is discriminated based on the calculated feature amount, and the attribute The determined pixels are counted for each of a plurality of effective image areas set in advance in the main scanning direction, an area to be processed for the image is set, and an area set for the count result corresponding to the set area The difference between the number of pixels for which the attribute has been determined from each of the immediately preceding line and the rearmost line is calculated, the attribute of the region is determined based on the total of the calculated differences, and processing according to the determination result Is applied to the image in the region.
画像の属性を判別し、判別結果に応じた処理を行う画像処理装置において、
判別対象の画像を複数の画素からなるライン毎に順次読み込む手段と、読み込んだラインを構成する画素の特徴を表す特徴量を算出し、算出した特徴量に基づいて画素の属性を判別する手段と、前記属性の判別がなされた画素を計数する手段と、前記画像について処理を施すべき領域を設定する手段と、設定した領域の直前のライン及び後端のラインの夫々から算出した属性の判別がなされた画素数の差分を算出する手段と、算出した差分に基づいて前記領域の特徴を判別する手段と、該手段による判別結果に応じた処理を前記領域内の画像に対して施す手段とを備えることを特徴とする画像処理装置。
In an image processing apparatus that determines an attribute of an image and performs processing according to the determination result,
Means for sequentially reading an image to be discriminated for each line composed of a plurality of pixels; means for calculating a feature amount representing a feature of a pixel constituting the read line; and determining a pixel attribute based on the calculated feature amount; A means for counting the pixels for which the attribute has been determined, a means for setting a region to be processed for the image, and a determination of the attribute calculated from each of a line immediately before and a line at the rear end of the set region. Means for calculating the difference in the number of pixels made, means for determining the characteristics of the region based on the calculated difference, and means for performing processing on the image in the region according to the determination result by the means An image processing apparatus comprising:
画像の属性を判別し、判別結果に応じた処理を行う画像処理装置において、
判別対象の画像を複数の画素からなるライン毎に順次読み込む手段と、読み込んだラインを構成する画素の特徴を表す特徴量を算出し、算出した特徴量に基づいて画素の属性を判別する手段と、前記属性の判別がなされた画素を主走査方向に分割されたカラム毎に計数する手段と、前記画像について処理を施すべき領域を設定する手段と、設定した領域の直前のライン及び後端のラインの夫々から算出した属性の判別がなされた画素数の差分を、設定した領域に含まれるカラム毎に算出する手段と、算出したカラム毎の差分の総和に基づいて前記設定した領域の特徴を判別する手段と、該手段による判別結果に応じた処理を前記設定した領域内の画像に対して施す手段とを備えることを特徴とする画像処理装置。
In an image processing apparatus that determines an attribute of an image and performs processing according to the determination result,
Means for sequentially reading an image to be discriminated for each line composed of a plurality of pixels; means for calculating a feature amount representing a feature of a pixel constituting the read line; and determining a pixel attribute based on the calculated feature amount; Means for counting the pixels for which the attribute has been discriminated for each column divided in the main scanning direction, means for setting an area to be processed for the image, lines immediately before and after the set area, Means for calculating the difference in the number of pixels for which the attribute is calculated from each of the lines for each column included in the set area, and the characteristics of the set area based on the calculated sum of the differences for each column. An image processing apparatus comprising: means for discriminating; and means for applying processing according to a discrimination result by the means to the image in the set area.
複数の領域に対する特徴を夫々判別する手段と、前記複数の領域に対して判別された判別結果を夫々記憶する手段と、判別結果に応じた処理を各領域内の画像に対して施す手段とを備えることを特徴とする請求項5に記載の画像処理装置。   Means for discriminating features for a plurality of areas, means for storing discrimination results discriminated for the plurality of areas, and means for applying processing according to the discrimination results to images in each area The image processing apparatus according to claim 5, further comprising: 画像の属性を判別し、判別結果に応じた処理を行う画像処理装置において、
判別対象の画像を複数の画素からなるライン毎に順次読み込む手段と、読み込んだラインを構成する画素の特徴を表す特徴量を算出し、算出した特徴量に基づいて画素の属性を判別する手段と、前記属性の判別がなされた画素を主走査方向に予め設定された複数の有効画像領域毎に計数する手段と、前記画像について処理を施すべき領域を設定する手段と、設定した領域に対応する計数結果に対して設定した領域の直前のライン及び後端のラインの夫々から算出した属性の判別がなされた画素数の差分を算出する手段と、算出した差分の総和に基づいて前記設定した領域の特徴を判別する手段と、該手段による判別結果に応じた処理を前記領域内の画像に対して施す手段とを備えることを特徴とする画像処理装置。
In an image processing apparatus that determines an attribute of an image and performs processing according to the determination result,
Means for sequentially reading an image to be discriminated for each line composed of a plurality of pixels; means for calculating a feature amount representing a feature of a pixel constituting the read line; and determining a pixel attribute based on the calculated feature amount; A means for counting the pixels for which the attribute has been determined for each of a plurality of effective image areas preset in the main scanning direction, a means for setting an area to be processed for the image, and a corresponding area Means for calculating a difference in the number of pixels in which the attribute is calculated from each of the immediately preceding line and the trailing end line of the area set for the counting result, and the set area based on the total sum of the calculated differences An image processing apparatus comprising: means for discriminating a feature of the image; and means for performing processing according to a discrimination result by the means on the image in the area.
複数の有効画像領域に対する特徴を夫々判別する手段と、前記複数の有効画像領域に対して判別された判別結果を夫々記憶する手段と、記憶された判別結果のうち何れの判別結果を用いるかを判定する手段と、判定された判別結果に応じた処理を前記領域内の画像に対して施す手段とを備えることを特徴とする請求項7に記載の画像処理装置。   Means for discriminating characteristics for a plurality of effective image areas, means for storing the discrimination results discriminated for the plurality of effective image areas, respectively, and which discrimination result is used among the stored discrimination results The image processing apparatus according to claim 7, further comprising: a determining unit; and a unit that performs processing on the image in the region according to the determined determination result. 前記画素の属性は、画素の有彩、無彩であることを特徴とする請求項4から請求項8の何れか1つに記載の画像処理装置。   The image processing apparatus according to claim 4, wherein the attribute of the pixel is chromatic or achromatic of the pixel. 前記有彩と判別された画素数の差分と所定値との大小を比較する手段を備え、前記有彩と判別された画素数の差分が前記所定値より大きい場合、前記画像が有彩色の画像であると判別し、前記差分が前記所定値より小さい場合、前記画像が無彩色の画像であると判別するようにしてあることを特徴とする請求項9に記載の画像処理装置。   Means for comparing the difference between the number of pixels determined to be chromatic and a predetermined value, and when the difference between the number of pixels determined to be chromatic is larger than the predetermined value, the image is a chromatic image; The image processing apparatus according to claim 9, wherein if the difference is smaller than the predetermined value, the image is determined to be an achromatic image. 前記画素の属性は、画素が文字領域、網点領域を含む複数の領域の何れに属するかを示す領域分離結果であることを特徴とする請求項4から請求項8の何れか1つに記載の画像処理装置。   The attribute of the pixel is a region separation result indicating whether the pixel belongs to a plurality of regions including a character region or a halftone dot region. Image processing apparatus. 前記画素が属する領域毎の画素数の差分と領域毎に設けられた所定値との大小を比較する手段を備え、前記領域毎の画素数の差分が前記領域毎に設けられた所定値との比較に基づいて原稿種別の判別を行うようにしてあることを特徴とする請求項11に記載の画像処理装置。   Means for comparing the difference between the number of pixels for each region to which the pixel belongs and a predetermined value provided for each region, wherein the difference in the number of pixels for each region differs from the predetermined value provided for each region; 12. The image processing apparatus according to claim 11, wherein the document type is determined based on the comparison. 前記画素の属性は、画素が下地領域であるか否かの判定結果であることを特徴とする請求項4から請求項8の何れか1つに記載の画像処理装置。   The image processing apparatus according to claim 4, wherein the attribute of the pixel is a determination result of whether or not the pixel is a background region. 前記画素が属する階級値のカウント数の差分と所定値との大小を比較する手段を備え、比較結果に基づいて下地を判別するようにしてあることを特徴とする請求項13に記載の画像処理装置。   14. The image processing according to claim 13, further comprising means for comparing a difference between a count value of a class value to which the pixel belongs and a predetermined value, and determining a background based on a comparison result. apparatus. 画像の属性を判別し、判別結果に応じた処理を行う画像処理装置において、
判別対象の画像を複数の画素からなるライン毎に順次読み込む手段と、読み込んだラインを構成する画素の特徴を表す複数の特徴量を算出し、算出した複数の特徴量に基づいて画素の複数の属性を判別する手段と、夫々属性の判別がなされた画素を計数する手段と、前記画像について処理を施すべき領域を設定する手段と、設定した領域の直前のライン及び後端のラインの夫々から算出した、夫々の属性の判別がなされた画素数の差分を算出する手段と、算出した差分に基づいて前記領域の複数の特徴を判別する手段と、該手段による判別結果に応じた処理を前記領域内の画像に対して施す手段とを備えることを特徴とする画像処理装置。
In an image processing apparatus that determines an attribute of an image and performs processing according to the determination result,
Means for sequentially reading the image to be discriminated for each line composed of a plurality of pixels, and calculating a plurality of feature amounts representing the features of the pixels constituting the read line, and calculating a plurality of pixel values based on the calculated plurality of feature amounts Means for determining the attribute, means for counting the pixels for which the attribute has been determined, means for setting an area to be processed for the image, and a line immediately before and a line at the rear end of the set area. Means for calculating the calculated difference in the number of pixels for which each attribute has been determined; means for determining a plurality of features of the region based on the calculated difference; and processing according to the determination result by the means An image processing apparatus comprising: means for applying to an image in a region.
請求項4から請求項15の何れか1つに記載の画像処理装置と、該画像処理装置によって画像処理が施された画像をシート上に形成する手段とを備えることを特徴とする画像形成装置。   16. An image forming apparatus comprising: the image processing apparatus according to claim 4; and means for forming an image subjected to image processing by the image processing apparatus on a sheet. . 原稿から画像を読み取る手段と、読み取った画像の属性を判別し、判別結果に応じた処理を行う請求項4から請求項15の何れか1つに記載の画像処理装置とを備えることを特徴とする画像読取装置。   The image processing apparatus according to any one of claims 4 to 15, further comprising: means for reading an image from a document; and determining an attribute of the read image and performing processing according to the determination result. An image reading apparatus. コンピュータに、画像の属性を判別させ、判別結果に応じた処理を行わせるコンピュータプログラムにおいて、
コンピュータに、複数の画素からなるラインから該ラインを構成する画素の特徴を表す特徴量を算出させるステップと、コンピュータに、算出させた特徴量に基づいて画素の属性を判別させ、属性の判別がなされた画素を計数させるステップと、コンピュータに、前記画像について処理を施すべき領域を設定させるステップと、コンピュータに、設定させた領域の直前のライン及び後端のラインの夫々から算出させた属性の判別がなされた画素数の差分を算出させるステップと、コンピュータに、算出させた差分に基づいて前記領域の属性を判別させ、判別結果に応じた処理を前記領域内の画像に対して施させるステップとを有することを特徴とするコンピュータプログラム。
In a computer program that causes a computer to determine the attribute of an image and perform processing according to the determination result,
A step of causing a computer to calculate a feature amount representing a feature of a pixel constituting the line from a line composed of a plurality of pixels, causing the computer to determine a pixel attribute based on the calculated feature amount, and determining the attribute A step of counting the number of pixels made; a step of causing a computer to set an area to be processed for the image; and an attribute calculated from each of a line immediately before and a line at the rear end of the set area. A step of calculating a difference in the number of pixels determined, and a step of causing a computer to determine the attribute of the region based on the calculated difference and performing a process according to the determination result on the image in the region A computer program characterized by comprising:
画像の属性を判別させ、判別結果に応じた処理を行わせるコンピュータプログラムが記録されているコンピュータでの読み取りが可能な記録媒体において、
コンピュータに、複数の画素からなるラインから該ラインを構成する画素の特徴を表す特徴量を算出させるステップと、コンピュータに、算出させた特徴量に基づいて画素の属性を判別させ、属性の判別がなされた画素を計数させるステップと、コンピュータに、前記画像について処理を施すべき領域を設定させるステップと、コンピュータに、設定させた領域の直前のライン及び後端のラインの夫々から算出させた属性の判別がなされた画素数の差分を算出させるステップと、コンピュータに、算出させた差分に基づいて前記領域の属性を判別させ、判別結果に応じた処理を前記領域内の画像に対して施させるステップとを有するコンピュータプログラムが記録されていることを特徴とするコンピュータでの読み取りが可能な記録媒体。
In a computer-readable recording medium in which a computer program for determining the attribute of an image and performing processing according to the determination result is recorded,
A step of causing a computer to calculate a feature amount representing a feature of a pixel constituting the line from a line composed of a plurality of pixels, causing the computer to determine a pixel attribute based on the calculated feature amount, and determining the attribute A step of counting the number of pixels made; a step of causing a computer to set an area to be processed for the image; and an attribute calculated from each of a line immediately before and a line at the rear end of the set area. A step of calculating a difference in the number of pixels determined, and a step of causing a computer to determine the attribute of the region based on the calculated difference and performing a process according to the determination result on the image in the region A computer-readable recording medium in which a computer program including:
JP2007236706A 2007-03-28 2007-09-12 Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium Expired - Fee Related JP4465377B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2007236706A JP4465377B2 (en) 2007-03-28 2007-09-12 Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
US12/057,230 US8508823B2 (en) 2007-03-28 2008-03-27 Image processing method, image processing apparatus, image forming apparatus, and recording medium
CN 200810088810 CN101277371B (en) 2007-03-28 2008-03-28 Image processing method, image processing apparatus, image forming apparatus, and recording device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2007085875 2007-03-28
JP2007236706A JP4465377B2 (en) 2007-03-28 2007-09-12 Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium

Publications (2)

Publication Number Publication Date
JP2008271488A true JP2008271488A (en) 2008-11-06
JP4465377B2 JP4465377B2 (en) 2010-05-19

Family

ID=39996350

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007236706A Expired - Fee Related JP4465377B2 (en) 2007-03-28 2007-09-12 Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium

Country Status (2)

Country Link
JP (1) JP4465377B2 (en)
CN (1) CN101277371B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013179408A (en) * 2012-02-28 2013-09-09 Brother Ind Ltd Image processing apparatus and image processing program

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763499B (en) * 2008-12-25 2015-03-04 义隆电子股份有限公司 Identification method for target image
JP5220828B2 (en) * 2010-11-11 2013-06-26 シャープ株式会社 Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, program, and recording medium
CN102629466B (en) * 2012-04-11 2014-04-16 南京巨鲨显示科技有限公司 Adaptive correction method for color gray-scale image of display
CN104316529A (en) * 2014-11-18 2015-01-28 宁波江丰生物信息技术有限公司 Full automatic real-time image quality evaluation method for digital pathological image scanning
US11233922B2 (en) * 2018-08-22 2022-01-25 Kyocera Document Solutions Inc. Image processing device having a function of automatically determining whether a document sheet is a color document or black and white document
JP7378221B2 (en) * 2019-04-17 2023-11-13 シャープ株式会社 Image processing device, image forming device, image reading device, control method, computer program, and recording medium
CN111091532B (en) * 2019-10-30 2023-07-18 中国四维测绘技术有限公司 Remote sensing image color evaluation method and system based on multilayer perceptron

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04282968A (en) * 1991-03-12 1992-10-08 Mita Ind Co Ltd Color type discrimination device for original
JP2001111819A (en) * 1999-10-08 2001-04-20 Canon Inc Image processing device and its method
JP2002369012A (en) * 2001-06-07 2002-12-20 Canon Inc Image processing apparatus and its method, and image processing system
JP2003046771A (en) * 2001-08-01 2003-02-14 Konica Corp Image processor, image processing method, and imaging apparatus
JP2006270148A (en) * 2005-03-22 2006-10-05 Fuji Xerox Co Ltd Image processing method, image processor and image forming apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04282968A (en) * 1991-03-12 1992-10-08 Mita Ind Co Ltd Color type discrimination device for original
JP2001111819A (en) * 1999-10-08 2001-04-20 Canon Inc Image processing device and its method
JP2002369012A (en) * 2001-06-07 2002-12-20 Canon Inc Image processing apparatus and its method, and image processing system
JP2003046771A (en) * 2001-08-01 2003-02-14 Konica Corp Image processor, image processing method, and imaging apparatus
JP2006270148A (en) * 2005-03-22 2006-10-05 Fuji Xerox Co Ltd Image processing method, image processor and image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013179408A (en) * 2012-02-28 2013-09-09 Brother Ind Ltd Image processing apparatus and image processing program

Also Published As

Publication number Publication date
CN101277371B (en) 2012-10-24
JP4465377B2 (en) 2010-05-19
CN101277371A (en) 2008-10-01

Similar Documents

Publication Publication Date Title
US8508823B2 (en) Image processing method, image processing apparatus, image forming apparatus, and recording medium
JP4855458B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium for recording image processing program
JP4495197B2 (en) Image processing apparatus, image forming apparatus, image processing program, and recording medium for recording image processing program
JP4495201B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium for recording image processing program
JP4496239B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
US8050501B2 (en) Image matching apparatus, image matching method, and image data output processing apparatus
JP4465377B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
JP2006115425A (en) Image processing apparatus, image forming apparatus, image processing method, computer program and recording medium
JP4808281B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium for recording image processing program
JP4884305B2 (en) Image processing apparatus, image forming apparatus, computer program, and recording medium
JP2009017208A (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and computer readable recording medium
JP6474315B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
JP5023035B2 (en) Image processing apparatus, image forming apparatus including the image processing apparatus, image processing method, image processing program, and computer-readable recording medium recording the image processing program
JP4549227B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP4043982B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium recording the same
JP6163244B2 (en) Image processing apparatus, image forming apparatus, image processing program, and recording medium
JPH10304200A (en) Image processor
JP2004102551A (en) Image processor, image processing method, image reader equipped with that, image forming apparatus, program, and recording medium
JP2011015172A (en) Device for processing image, device for forming image, method and program for processing image, and recording medium recording program for processing image
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
JP6045182B2 (en) Image processing apparatus, image forming apparatus including the same, computer program, and recording medium
JP5361556B2 (en) Image processing apparatus and method, and computer program and storage medium
JP2004328292A (en) Image processor, image processing method, image forming device provided with the same, program, and recording medium
JP2008306459A (en) Original size correction apparatus, original size correction method, image processing apparatus, image read-out apparatus, image forming apparatus, program, and recording medium

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090210

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090409

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090721

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090917

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

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

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

Free format text: PAYMENT UNTIL: 20130226

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees