JP2005142740A - Ink jet original discriminating method, image processing apparatus, image reading apparatus, image forming apparatus, ink jet original discriminating program and recording medium - Google Patents

Ink jet original discriminating method, image processing apparatus, image reading apparatus, image forming apparatus, ink jet original discriminating program and recording medium Download PDF

Info

Publication number
JP2005142740A
JP2005142740A JP2003375917A JP2003375917A JP2005142740A JP 2005142740 A JP2005142740 A JP 2005142740A JP 2003375917 A JP2003375917 A JP 2003375917A JP 2003375917 A JP2003375917 A JP 2003375917A JP 2005142740 A JP2005142740 A JP 2005142740A
Authority
JP
Japan
Prior art keywords
document
inkjet
unit
image
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2003375917A
Other languages
Japanese (ja)
Inventor
Tatsuya Tanaka
達哉 田中
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 JP2003375917A priority Critical patent/JP2005142740A/en
Publication of JP2005142740A publication Critical patent/JP2005142740A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus capable of discriminating an ink jet gloss paper original. <P>SOLUTION: An original type automatic discriminating unit for discriminating the original type on the basis of image data of an original is provided with an ink jet gloss paper original discriminating unit. In this discriminating unit, an RGB signal is converted into a luminance value (S11), a luminance histogram is generated(S12), the number of pixels from the generated luminance histogram to a predetermined luminance segment N is added to obtain a ratio T to the number of all pixels (S13), and the ratio T is compared with a threshold A (S14). Thus, it is determined an original is an ink jet gloss paper original (S15, S16). <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、原稿の画像データに基づいて、インクジェットプリンタ等のインクジェット方式で画像出力されたインクジェット原稿を判別することができるインクジェット原稿判別方法、画像処理装置、画像読取装置、画像形成装置、インクジェット原稿判別プログラム及び記録媒体に関するものである。   The present invention relates to an inkjet document determination method, an image processing apparatus, an image reading apparatus, an image forming apparatus, and an inkjet document that can determine an inkjet document image output by an inkjet method such as an inkjet printer based on image data of the document. The present invention relates to a discrimination program and a recording medium.

電子写真プロセスやインクジェット方式を用いた、複写機やプリンタなどの画像形成装置は、デジタル画像処理技術の進展によって、カラー画像を高画質に再現するフルカラーのデジタル複写機やデジタル複合機などが製品化されている。これらの画像形成装置を用いて複写される原稿の画像に関しては、文字、線画、写真や、これらを組合せたものが存在しており、良好な再現画像を得るためには、各原稿の画像にあった画像処理を行う必要がある。   Image forming devices such as copiers and printers that use electrophotographic processes and inkjet systems are commercialized as full-color digital copiers and digital multi-function printers that reproduce color images with high image quality due to advances in digital image processing technology. Has been. There are characters, line drawings, photographs, and combinations of these documents that can be copied using these image forming apparatuses. It is necessary to perform the appropriate image processing.

このような状況の中で、従来、画像形成装置には文字モード、文字/写真モード、写真モードなどが設けられており、操作者が原稿に応じてモードを適宜選択するようになっている。しかしながら、操作者自らが原稿種別を判別してモードを切り換えるといった作業は、非常に煩わしい作業である上に、不適切なモードを選択した場合などでは、著しい画像の劣化が見られることも多く、無駄な複写が行われることにもなる。そこで、このような問題を解決するために、原稿種別を自動的に判別することが提案されている。   Under such circumstances, conventionally, the image forming apparatus is provided with a character mode, a character / photo mode, a photo mode, and the like, and an operator appropriately selects a mode according to a document. However, the operation of the operator himself discriminating the document type and switching the mode is a very troublesome operation, and when an inappropriate mode is selected, there are many cases where significant image deterioration is observed. Useless copying is also performed. In order to solve such problems, it has been proposed to automatically determine the document type.

中でも、特許文献1には、従来の判別対象となる原稿種別、つまり、コピー原稿(カラー複写機の出力画像)、銀塩写真原稿(印画紙写真原稿に相当)、および網点印刷原稿(印刷写真原稿に相当)に加えて、インクジェットプリンタから出力された原稿をも判別対象とするものが開示されている。これによれば、原稿を読み取って得られるデジタルカラー信号から、色再現域に関する特徴量とテクスチャに関する特徴量とを抽出して、インクジェットプリンタで出力された原稿であるか否かを判別する。   In particular, Patent Document 1 discloses a document type to be conventionally determined, that is, a copy document (output image of a color copying machine), a silver salt photograph document (corresponding to a photographic paper photograph document), and a halftone print document (printing). In addition to a photographic manuscript), a manuscript that is output from an ink jet printer is also disclosed. According to this, from the digital color signal obtained by reading the original, the feature quantity relating to the color gamut and the feature quantity relating to the texture are extracted, and it is determined whether or not the original is output from the ink jet printer.

これについてさらに詳しく説明する。インクジェットプリンタより出力された画像は、シアン・マゼンタの彩度が一般の網点印刷原稿で用いられているものよりも高いといった特徴があり、この点に注目することで、インクジェットプリンタによる出力原稿と網点印刷原稿とを判別することが可能である。しかしながら、蛍光色の青系、紫系の色再現域とインクジェットプリンタで用いられているシアン色、マゼンタ色の色再現域では、カラースキャナ等の入力装置で読み込んだ読み取り信号値で比較すると差異が少ない。このため、蛍光ペンで記入された原稿とインクジェットプリンタによる出力画像との判別は、色再現域の特徴だけでは難しく、上記特許文献1においては、色再現域に加えてテクスチャを用いるようになっている。インクジェットプリンタの画像出力方式としては、主に誤差拡散方式とディザ方式が採用されている。これらの画像出力方式では、紙の白地上にドットで構成されたテクスチャが多く存在する。これに対し、蛍光色ペンで記入された原稿はベタ領域が多く現われるという特徴がある。したがって、テクスチャを用いることで、両者の判別が可能となる。   This will be described in more detail. An image output from an inkjet printer has a feature that the saturation of cyan and magenta is higher than that used in a general halftone printing document. It is possible to discriminate between halftone print originals. However, there is a difference between the blue and purple color gamuts of fluorescent colors and the cyan and magenta color gamuts used in inkjet printers when compared with read signal values read by an input device such as a color scanner. Few. For this reason, it is difficult to discriminate between a manuscript written with a highlighter pen and an output image by an ink jet printer only by the characteristics of the color gamut. In the above-mentioned Patent Document 1, texture is used in addition to the color gamut. Yes. As an image output method of an ink jet printer, an error diffusion method and a dither method are mainly employed. In these image output methods, there are many textures composed of dots on the white ground of paper. In contrast, a document written with a fluorescent color pen has a feature that many solid areas appear. Therefore, both can be distinguished by using the texture.

また、特許文献2には、注目画素が、文字領域、網点領域、下地領域、及び印画紙写真領域のいずれ領域に属するかを画素ごとに判別する画像処理装置が開示されている。この画像の判別には、予め設定された閾値が用いられ、各画素は上記いずれかの領域に判別される。この画像の判別の構成を原稿種別の判別に用いるとすれば、原稿全体に対して局所的な特徴量を用いて原稿種別を判定することとなるため、精度よく原稿種別を判定できる。
特開平10−126631号公報(1998年5月15日公開) 特開2002−232708号公報(2002年8月16日公開)
Patent Document 2 discloses an image processing apparatus that determines for each pixel whether a pixel of interest belongs to a character area, a halftone dot area, a background area, or a photographic paper photograph area. For the discrimination of the image, a preset threshold value is used, and each pixel is discriminated as one of the above areas. If this image discrimination configuration is used for discrimination of the document type, the document type is determined using a local feature amount with respect to the entire document, so that the document type can be accurately determined.
Japanese Patent Laid-Open No. 10-126631 (published on May 15, 1998) Japanese Patent Laid-Open No. 2002-232708 (released on August 16, 2002)

特許文献1の構成では、特許文献2の構成では実施できない、インクジェットプリンタによる出力原稿であるか否かを判別することが可能となる。   With the configuration of Patent Literature 1, it is possible to determine whether the document is an output document by an ink jet printer, which cannot be implemented with the configuration of Patent Literature 2.

しかしながら、特許文献1においては、インクジェット原稿であることを判別するために、画像全体に対して、色判定(色再現域の判定)、濃度レベルの判定(テクスチャの抽出)を行わなければならないので、手間のかかる処理となり、処理上の負担が大きい。しかも、シアン・マゼンタの彩度が一般の網点印刷原稿で用いられているものよりも高いとしてインクジェット原稿の判別を行っているが、光沢紙を用いたインクジェット光沢紙原稿と、普通紙を用いたインクジェット普通紙原稿とを区別する判別は行っていない。同じインクジェット原稿であっても、インクジェット光沢紙原稿とインクジェット普通紙原稿とでは異なった画像処理を行う必要があり、特に、インクジェット光沢紙原稿の場合、不適切な画像処理が施されると画質が劣化する。そのため、インクジェット光沢紙原稿を判別することが必要である。   However, in Patent Document 1, color determination (color reproduction area determination) and density level determination (texture extraction) must be performed on the entire image in order to determine that the document is an inkjet document. This is a time-consuming process and a large processing burden. In addition, inkjet originals are identified as having a saturation of cyan and magenta higher than that used for ordinary halftone print originals, but inkjet glossy paper originals using glossy paper and plain papers are used. No distinction is made to distinguish from a conventional inkjet plain paper document. Even if the same inkjet document is used, it is necessary to perform different image processing on the inkjet glossy paper document and the inkjet plain paper document. to degrade. Therefore, it is necessary to discriminate inkjet glossy paper originals.

本発明は、上記課題に鑑み成されたものであって、その目的は、従来判別できなかったインクジェット光沢紙原稿を判別することのできるインクジェット原稿判別方法、画像処理装置、画像読取装置、画像形成装置、インクジェット原稿判別プログラム及び記録媒体を提供することにある。   SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an object of the present invention is to determine an ink jet glossy paper document that could not be determined by the conventional method, an image processing apparatus, an image reading apparatus, and an image forming apparatus. An apparatus, an ink jet document discrimination program, and a recording medium are provided.

本発明のインクジェット原稿判別方法は、上記課題を解決するために、原稿を読み取って得られる画像データに基づいて、画素の濃淡を示す濃淡値と画素数との関係を示すヒストグラムを作成する第1のステップと、該第1のステップにて作成されたヒストグラムより、予め定められる濃淡値の領域の特徴量を求め、求めた特徴量に基づいて、上記原稿がインクジェット光沢紙原稿であるか否かを判定する第2のステップとを含むことを特徴としている。上記濃淡値としては、輝度、濃度、明度等があり、詳細については後述する。

本発明のインクジェット原稿判別方法は、上記構成に加えて、さらに、上記第2ステップにてインクジェット光沢紙原稿であると判定されると、上記画像データに基づく原稿種別の判定結果が印刷写真を含む原稿であるか否かを判定し、該判定結果が印刷写真を含む原稿である場合に、上記第2ステップの判定を正しいとする第3のステップを含むことを特徴としている。
In order to solve the above-described problem, the inkjet document discrimination method of the present invention creates a histogram indicating the relationship between the gray value indicating the pixel density and the number of pixels based on image data obtained by reading the document. And the histogram created in the first step, a feature value of a predetermined gray value region is obtained, and based on the obtained feature value, whether the document is an inkjet glossy paper document or not And a second step of determining the above. The gray value includes luminance, density, brightness, etc., and details will be described later.

In addition to the above-described configuration, the inkjet document determination method of the present invention further includes a printed photograph as a result of determining the document type based on the image data when it is determined in the second step that the document is an inkjet glossy paper document. It is characterized in that it includes a third step for determining whether or not the document is a document and making the determination in the second step correct if the determination result is a document including a printed photograph.

本発明の画像処理装置は、上記課題を解決するために、原稿を読み取って得られる画像データに基づいて、画素の濃淡を示す濃淡値と画素数との関係を示すヒストグラムを作成するヒストグラム生成手段と、該ヒストグラム生成手段にて作成したヒストグラムより、予め定められる濃淡値の領域の特徴量を求め、求めた特徴量に基づいて、上記原稿がインクジェット光沢紙原稿であるか否かを判定する判定手段とを含むインクジェット原稿判別手段を備えたことを特徴としている。上記と同様に、上記濃淡値としては、輝度、濃度、明度等がある。   In order to solve the above-described problem, the image processing apparatus of the present invention creates a histogram indicating the relationship between the gray value indicating the pixel density and the number of pixels based on the image data obtained by reading the document. And determining whether or not the original is an inkjet glossy paper original based on the obtained characteristic quantity from the histogram created by the histogram generation means. And an inkjet document discriminating means including the means. Similar to the above, the gray value includes luminance, density, brightness, and the like.

本発明の画像処理装置は、上記構成に加えて、さらに、上記インクジェット原稿判別手段は、上記画像データに基づく原稿種別の判定結果が印刷写真を含む原稿であるか否かを判定し、該印刷結果が印刷写真を含む原稿である場合に、上記判定手段によるインクジェット光沢紙原稿であるとの判定を有効とする総合判定手段をさらに含むことを特徴としている。   In the image processing apparatus of the present invention, in addition to the above-described configuration, the inkjet document determination unit determines whether the document type determination result based on the image data is a document including a printed photograph, and the print When the result is a document including a printed photograph, the image processing apparatus further includes a comprehensive determination unit that validates the determination that the determination unit is an inkjet glossy paper document.

本発明の画像読取装置は、上記課題を解決するために、原稿を読み取る読取手段と、該読取手段にて読み取られた画像データが入力される画像処理装置とを含む画像読取装置において、上記画像処理装置として、請求項3又は4に記載の画像処理装置を備えていることを特徴としている。   In order to solve the above problems, an image reading apparatus according to the present invention includes an image reading apparatus that includes a reading unit that reads a document and an image processing apparatus that receives image data read by the reading unit. The image processing apparatus according to claim 3 or 4 is provided as the processing apparatus.

本発明の画像形成装置は、上記課題を解決するために、原稿を読み取る読取手段と、該読取手段にて読み取られた画像データが入力され、該画像データに画像処理を施す画像処理装置と、該画像処理装置にて画像処理された画像データを出力する出力手段とを含む画像形成装置において、上記画像処理装置として、請求項3又は4に記載の画像処理装置を備えていることを特徴としている。   In order to solve the above problems, an image forming apparatus of the present invention includes a reading unit that reads a document, an image processing device that receives image data read by the reading unit, and performs image processing on the image data. An image forming apparatus including an output unit that outputs image data processed by the image processing apparatus, wherein the image processing apparatus includes the image processing apparatus according to claim 3 or 4. Yes.

本発明のインクジェット原稿判別プログラムは、上記課題を解決するために、前述の本発明のインクジェット原稿判別方法における各ステップをコンピュータに実行させるプログラムである。   The inkjet document discrimination program of the present invention is a program for causing a computer to execute each step in the above-described inkjet document discrimination method of the present invention in order to solve the above problems.

本発明の記録媒体は、上記課題を解決するために、前述の本発明のインクジェット原稿判別プログラムを記録したコンピュータ読取可能な記録媒体である。   In order to solve the above-mentioned problems, the recording medium of the present invention is a computer-readable recording medium that records the above-described inkjet document discrimination program of the present invention.

本発明のインクジェット原稿判別方法は、以上のように、原稿を読み取って得られる画像データに基づいて、画素の濃淡を示す濃淡値と画素数との関係を示すヒストグラムを作成する第1のステップと、該第1のステップにて作成されたヒストグラムより、予め定められる濃淡値の領域の特徴量を求め、求めた特徴量に基づいて、原稿がインクジェット光沢紙原稿であるか否かを判定する第2のステップとを含んでいるので、従来は判別できなかったインクジェット光沢紙原稿を判別することができる。   As described above, the inkjet document discrimination method according to the present invention includes a first step of creating a histogram indicating the relationship between the gray value indicating the pixel density and the number of pixels, based on the image data obtained by reading the document. A feature value of a predetermined gray value region is obtained from the histogram created in the first step, and it is determined whether or not the document is an inkjet glossy paper document based on the obtained feature value. Therefore, it is possible to discriminate an inkjet glossy paper document that could not be discriminated conventionally.

つまり、インクジェット光沢紙原稿の場合、原稿を読み取って得られる画像データに基づいて作成した輝度ヒストグラム(濃淡値が輝度である場合のヒストグラム)において、輝度の低い低輝度領域における画素数が、輝度の高い高輝度領域よりも多いといった特徴がある。濃度ヒストグラム(濃淡値が濃度である場合のヒストグラム)においても同様に、濃度の高い高濃度領域における画素数が濃度の低い低濃度領域よりも多いといった特徴がある。   That is, in the case of an inkjet glossy paper document, in a luminance histogram created based on image data obtained by reading the document (histogram when the gray value is luminance), the number of pixels in the low-luminance region with low luminance is the luminance It is characterized by more than a high high luminance area. Similarly, the density histogram (histogram when the density value is density) has a feature that the number of pixels in the high density area with high density is larger than that in the low density area with low density.

そこで、上記のように、輝度ヒストグラムの予め定められる輝度領域(濃淡値の領域)、つまり低輝度領域の情報、或いは、濃度ヒストグラムの予め定められる濃度領域(濃淡値の領域)、つまり高濃度領域の情報を用いて、インクジェット光沢紙原稿であることを判別することができる。   Therefore, as described above, a predetermined luminance area (tone value area) of the luminance histogram, that is, information on the low luminance area, or a predetermined density area (light value area) of the density histogram, that is, the high density area. It is possible to determine that the document is an inkjet glossy paper document.

このようなインクジェット光沢紙原稿を判別するために用いる特徴は、普通紙にインクジェット方式で画像形成したインクジェット普通紙原稿や、網点階調を用いた印刷写真原稿にはなく、印画紙写真原稿においては同様の特徴を有する。したがって、このような方法では、インクジェット光沢紙原稿と印画紙写真原稿との判別はできないが、インクジェット光沢紙原稿の色再現域は、印画紙写真原稿により近いので、画像処理装置の色補正処理部等にて印画紙写真原稿と同様の色補正処理が成されることは好ましく、必ずしもインクジェット光沢紙原稿と印画紙写真原稿とを判別する必要はない。   The characteristics used for discriminating such inkjet glossy paper originals are not found in inkjet plain paper originals that are imaged on plain paper by the inkjet method, but in printed photographic originals that use halftone gradation. Have similar characteristics. Therefore, with such a method, it is not possible to distinguish between an inkjet glossy paper original and a photographic paper photographic original, but the color reproduction area of the inkjet glossy paper original is closer to that of the photographic paper photographic original. It is preferable that the same color correction processing as that for the photographic paper photographic original is performed, and it is not always necessary to distinguish between the inkjet glossy paper original and the photographic paper photographic original.

また、本発明のインクジェット原稿判別方法は、以上のように、第2ステップにてインクジェット光沢紙原稿であると判定されると、上記画像データに基づく原稿種別の判定結果が印刷写真を含む原稿であるか否かを判定し、該判定結果が印刷写真を含む原稿である場合に、上記第2ステップの判定を正しいとする第3のステップをさらに含んでいるので、インクジェット光沢紙原稿と印画紙写真原稿とを区別することができ、判別精度の向上が図れる。   Further, as described above, when the ink jet document discrimination method of the present invention is determined to be an inkjet glossy paper document in the second step, the document type determination result based on the image data is a document including a printed photograph. If the determination result is an original including a printed photograph, the ink jet glossy paper original and the photographic paper are further included because the third step is made to correct the determination of the second step. It is possible to distinguish from a photographic document, and the discrimination accuracy can be improved.

つまり、上述したように、輝度ヒストグラム或いは濃度ヒストグラムを用いて上記のようにインクジェット光沢紙原稿であることを判定する方法では、印画紙写真原稿も同様の特徴を有しているので、印画紙写真原稿との区別ができない。そこで、上記した第3ステップを設け、原稿種別の判定結果より印刷写真を含む原稿(印刷写真原稿・文字印刷写真原稿等)と判定された場合に、ステップ2の判定を正しいとするようにしている。印画紙写真は、印刷写真を含む原稿と判定されることはないので、このように印刷写真を含む原稿の場合にインクジェット光沢紙原稿の判定を有効とすることで、インクジェット光沢紙原稿と印画紙写真原稿とを区別することができる。その結果、画像処理装置の色補正処理部等にて、インクジェット光沢紙原稿専用の色補正処理を行わせるといったことも実現可能となる。   In other words, as described above, in the method of determining an inkjet glossy paper document using the luminance histogram or the density histogram as described above, the photographic paper photograph document has similar characteristics. Cannot be distinguished from the manuscript. Therefore, the third step described above is provided so that the determination in step 2 is correct when it is determined that the document includes a printed photograph (printed photograph document, character-printed photograph document, etc.) from the determination result of the document type. Yes. Since a photographic paper photo is not determined to be a manuscript including a printed photo, the ink-jet glossy paper manuscript and the photographic paper are made effective by enabling the determination of the ink-jet glossy paper manuscript in the case of the manuscript including the printed photo in this way. A photo manuscript can be distinguished. As a result, it is possible to cause the color correction processing unit of the image processing apparatus to perform color correction processing dedicated to inkjet glossy paper originals.

本発明の画像処理装置は、以上のように、原稿を読み取って得られる画像データに基づいて、画素の濃淡値と画素数との関係を示すヒストグラムを作成するヒストグラム生成手段と、該ヒストグラム生成手段にて作成したヒストグラムより、予め定められる濃淡値の領域の特徴量を求め、求めた特徴量に基づいて、原稿がインクジェット光沢紙原稿であるか否かを判定する判定手段とを含んでなるインクジェット原稿判別手段を備えているので、インクジェット原稿判別方法として既に説明したように、従来は判別できなかったインクジェット光沢紙原稿の判別が可能となる。   As described above, the image processing apparatus of the present invention creates a histogram indicating the relationship between the gray value of the pixel and the number of pixels based on the image data obtained by reading the document, and the histogram generating unit. An inkjet including a determination unit that obtains a feature value of a predetermined gray value area from the histogram created in step S1 and determines whether the document is an inkjet glossy paper document based on the obtained feature value. Since the document discriminating means is provided, it is possible to discriminate an ink-jet glossy paper manuscript that could not be discriminated conventionally, as already described as the ink-jet manuscript discrimination method.

また、本発明の画像処理装置は、以上のように、さらに、上記インクジェット原稿判別手段が、原稿種別の判定結果が印刷写真を含む原稿であるか否かを判定し、該判定結果が印刷写真を含む原稿である場合に、上記判定手段によるインクジェット光沢紙原稿であるとの判定を有効とする総合判定手段を含んでいるので、インクジェット光沢紙原稿と印画紙写真原稿とを区別することができ、判別精度の向上が図れる。   In the image processing apparatus of the present invention, as described above, the ink jet document discrimination means further determines whether or not the document type determination result is a document including a printed photograph, and the determination result is a printed photograph. In the case of a manuscript including an image, it includes comprehensive judgment means for validating the judgment that the judgment means is an ink jet glossy paper original, so that the ink jet glossy paper original and the photographic paper photo original can be distinguished. The discrimination accuracy can be improved.

本発明の画像読取装置は、以上のように、画像処理装置として本発明の画像処理装置を備えているので、従来は判別できなかったインクジェット光沢紙原稿を判別することが可能となり、その後、インクジェット光沢紙原稿に適切な画像処理を施させるなどによって、たとえオリジナル原稿がインクジェット光沢紙原稿であっても、良質のコピー画像や、表示画像等を再現することができる。画像データの品質(例えば、コンピュータに取り込んでディスプレイに表示させたり、記憶装置等に格納しておく画像データ)を向上させることができる。   As described above, since the image reading apparatus of the present invention includes the image processing apparatus of the present invention as an image processing apparatus, it is possible to determine an ink-jet glossy paper document that could not be determined conventionally, and then the inkjet Even if the original document is an inkjet glossy paper document, it is possible to reproduce a high-quality copy image, a display image, or the like by performing appropriate image processing on the glossy document document. The quality of image data (for example, image data captured in a computer and displayed on a display or stored in a storage device or the like) can be improved.

本発明の画像形成装置は、以上のように、画像処理装置として本発明の画像処理装置を備えているので、インクジェット光沢紙原稿を判別することが可能となり、インクジェット光沢紙原稿に適した画像処理を施すことで、たとえオリジナル原稿がインクジェット光沢紙原稿であっても、良質のコピー画像を再現することができる。   As described above, since the image forming apparatus of the present invention includes the image processing apparatus of the present invention as an image processing apparatus, it is possible to determine an inkjet glossy paper document, and image processing suitable for an inkjet glossy paper document. Thus, even if the original document is an inkjet glossy paper document, it is possible to reproduce a high-quality copy image.

本発明のインクジェット原稿判別プログラムは、以上のように、本発明のインクジェット原稿判別方法における各ステップをコンピュータに実行させるプログラムであるので、上記した従来できなかったインクジェット光沢紙原稿を判別できるといった本発明のインクジェット原稿判別方法を、コンピュータにおいて実現可能とすることができる。よって、このインクジェット原稿判別方法を汎用的なものとすることができる。   As described above, the ink jet document discrimination program of the present invention is a program for causing a computer to execute each step in the ink jet document discrimination method of the present invention. This inkjet document discrimination method can be realized in a computer. Therefore, this inkjet document discrimination method can be general purpose.

本発明の記録媒体は、以上のように、本発明のインクジェット原稿判別プログラムを記録したコンピュータ読取可能な記録媒体であるので、上記した従来できなかったインクジェット光沢紙原稿を判別できるといった本発明のインクジェット原稿判別方法の処理プログラムを、容易にコンピュータに供給することができる。   As described above, the recording medium of the present invention is a computer-readable recording medium on which the ink jet document discrimination program of the present invention is recorded. A processing program for the document discrimination method can be easily supplied to a computer.

本発明の実施の一形態について図1ないし図11に基づいて説明すれば、以下の通りである。   An embodiment of the present invention will be described with reference to FIGS. 1 to 11 as follows.

図2は、本発明の実施の一形態であるカラー画像処理装置(画像処理装置)20を備えたデジタルカラー複写機(画像形成装置)1の概略の構成を示すブロック図である。   FIG. 2 is a block diagram showing a schematic configuration of a digital color copying machine (image forming apparatus) 1 provided with a color image processing apparatus (image processing apparatus) 20 according to an embodiment of the present invention.

カラー画像処理装置20は、図2に示すように、A/D変換部21、シェーディング補正部22、原稿種別自動判別部23、入力階調補正部24、領域分離処理部25、色補正部26、黒生成下色除去部27、空間フィルタ処理部28、出力階調補正部29、及び階調再現処理部30を備えている。そして上記カラー画像処理装置20に、カラー画像入力装置(画像読取手段)40とカラー画像出力装置(画像出力手段)41とが接続され、全体としてデジタルカラー複写機1を構成している。また、デジタルカラー複写機1には、操作パネル42が備えられている。   As shown in FIG. 2, the color image processing apparatus 20 includes an A / D conversion unit 21, a shading correction unit 22, a document type automatic determination unit 23, an input tone correction unit 24, a region separation processing unit 25, and a color correction unit 26. A black generation and under color removal unit 27, a spatial filter processing unit 28, an output tone correction unit 29, and a tone reproduction processing unit 30. A color image input device (image reading means) 40 and a color image output device (image output means) 41 are connected to the color image processing apparatus 20 to constitute the digital color copying machine 1 as a whole. The digital color copying machine 1 is provided with an operation panel 42.

カラー画像入力装置40は、例えば、電荷結合素子(Charge Coupled Device;以下、CCDと称する)を備えたスキャナ部より構成され、原稿画像が記録された紙からの反射光像を、CCDにてRGB(R:赤・G:緑・B:青)のアナログ信号として読み取って、カラー画像処理装置20に入力するものである。   The color image input device 40 is composed of, for example, a scanner unit having a charge coupled device (hereinafter referred to as a CCD), and a reflected light image from a paper on which an original image is recorded is converted into RGB by the CCD. It is read as an analog signal (R: red, G: green, B: blue) and input to the color image processing apparatus 20.

カラー画像入力装置40にて読み取られたアナログ信号は、カラー画像処理装置20内を、A/D変換部21、シェーディング補正部22、原稿種別自動判別部23、入力階調補正部24、領域分離処理部25、色補正部26、黒生成下色除去部27、空間フィルタ処理部28、出力階調補正部29、および階調再現処理部30の順で送られ、CMYKのデジタルカラー信号として、カラー画像出力装置41へと出力される。   An analog signal read by the color image input device 40 is converted into an A / D conversion unit 21, a shading correction unit 22, a document type automatic discrimination unit 23, an input tone correction unit 24, and an area separation in the color image processing device 20. The processing unit 25, the color correction unit 26, the black generation and under color removal unit 27, the spatial filter processing unit 28, the output gradation correction unit 29, and the gradation reproduction processing unit 30 are sent in this order, and as CMYK digital color signals, It is output to the color image output device 41.

A/D(アナログ/デジタル)変換部21は、入力されてきたRGBのアナログ信号をデジタル信号に変換するものである。シェーディング補正部22は、A/D変換部21より送られてきたRGBのデジタル信号に対して、カラー画像入力装置40の照明系、結像系、撮像系で生じる各種の歪みを取り除く処理を施すものである。また、シェーディング補正部22ではカラーバランスの調整が行われる。   The A / D (analog / digital) converter 21 converts the input RGB analog signal into a digital signal. The shading correction unit 22 performs processing for removing various distortions generated in the illumination system, imaging system, and imaging system of the color image input device 40 on the RGB digital signals sent from the A / D conversion unit 21. Is. The shading correction unit 22 performs color balance adjustment.

原稿種別自動判別部23は、シェーディング補正部22にて各種の歪みが取り除かれたRGB信号(RGBの反射率信号)を濃度信号などカラー画像処理装置20に採用されている画像処理システムの扱い易い信号に変換すると共に、原稿種別を判別する原稿種別判別処理を行うものである。詳細については後述するが、原稿種別自動判別部23は、RGBのデジタル信号より、濃淡値である輝度を用い、輝度ヒストグラム(ヒストグラム)を生成し、該輝度ヒストグラムを用いて、従来判別できなかったインクジェット光沢紙原稿を判別し得るものである。そして、原稿種別自動判別部23は、上記判別結果に基づき、原稿種別を示す原稿種別判定信号を、色補正部26、黒生成下色除去部27、及び空間フィルタ処理部28へと出力すると共に、シェーディング補正部22より出力された入力信号をそのまま後段の入力階調補正部24に出力する。   The automatic document type discrimination unit 23 is easy to handle an image processing system employed in the color image processing apparatus 20 such as a density signal using RGB signals (RGB reflectance signals) from which various distortions have been removed by the shading correction unit 22. In addition to conversion into a signal, document type discrimination processing for discriminating the document type is performed. Although details will be described later, the document type automatic determination unit 23 generates a luminance histogram (histogram) from the RGB digital signal by using the luminance that is the gray value, and the luminance histogram (histogram) cannot be conventionally determined using the luminance histogram. An inkjet glossy paper document can be discriminated. Then, based on the determination result, the document type automatic determination unit 23 outputs a document type determination signal indicating the document type to the color correction unit 26, the black generation and under color removal unit 27, and the spatial filter processing unit 28. Then, the input signal output from the shading correction unit 22 is output to the input tone correction unit 24 at the subsequent stage as it is.

上記入力階調補正部24は、下地濃度の除去やコントラストなどの画質調整処理を施すものである。領域分離処理部25は、RGB信号より、入力画像中の各画素を例えば、文字領域、網点領域、写真領域の何れかに分離するものである。そして、領域分離処理部25は、上記分離結果に基づき、画素がどの領域に属しているかを示す領域識別信号を、色補正部26、黒生成下色除去部27、空間フィルタ処理部28、及び階調再現処理部30へと出力すると共に、入力階調補正部24より出力された入力信号をそのまま後段の色補正部26に出力する。   The input tone correction unit 24 performs image quality adjustment processing such as background density removal and contrast. The region separation processing unit 25 separates each pixel in the input image into, for example, a character region, a halftone dot region, or a photographic region from the RGB signal. Then, the region separation processing unit 25 outputs a region identification signal indicating which region the pixel belongs to based on the separation result, a color correction unit 26, a black generation and under color removal unit 27, a spatial filter processing unit 28, and The output signal is output to the tone reproduction processing unit 30 and the input signal output from the input tone correction unit 24 is output to the subsequent color correction unit 26 as it is.

色補正部26は、色を忠実に再現するために、不要吸収成分を含むCMY(C:シアン・M:マゼンタ・Y:イエロー)色材の分光特性に基づいた色濁りを取り除く色補正処理を行うものである。色補正処理において用いる色補正テーブルとして、本実施の形態では、印画紙原稿に適した印画紙原稿用と、印刷原稿に適した印刷原稿用と、インクジェット光沢紙原稿に適したインクジェット光沢紙原稿用との3種類を具備しており、原稿種別自動判別部23より入力される原稿種別判定信号に基づいて、原稿種別に適した色補正テーブルを用いる。   The color correction unit 26 performs color correction processing for removing color turbidity based on spectral characteristics of CMY (C: cyan, M: magenta, Y: yellow) color materials including unnecessary absorption components in order to faithfully reproduce colors. Is what you do. As the color correction table used in the color correction processing, in this embodiment, for a photographic paper document suitable for a photographic paper document, for a print document suitable for a print document, and for an inkjet glossy paper document suitable for an inkjet glossy paper document. The color correction table suitable for the document type is used based on the document type determination signal input from the document type automatic determination unit 23.

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

黒生成処理の一例として、予め定められた黒生成カーブによる黒生成を行う方法(一般的方法)がある。この方法では、黒生成カーブの入出力特性をy=f(x)、入力されるデータをC,M,Y,出力されるデータをC',M',Y',K'、UCR(Under Color Removal)率をα(0<α<1)とすると、黒生成下色除去処理は以下の式1で表わされる。   As an example of the black generation process, there is a method (general method) of generating black using a predetermined black generation curve. In this method, the input / output characteristic of the black generation curve is y = f (x), the input data is C, M, Y, the output data is C ′, M ′, Y ′, K ′, UCR (Under When the color removal rate is α (0 <α <1), the black generation and under color removal processing is expressed by the following Equation 1.

Figure 2005142740
Figure 2005142740

本実施の形態では、黒生成処理として、インクジェット光沢紙原稿に適したインクジェット光沢紙原稿用の黒生成処理を具備しており、原稿種別自動判別部23より入力される原稿種別判定信号に基づいて、判別結果がインクジェット光沢紙原稿である場合は、該インクジェット光沢紙原稿用の黒生成処理を行う。   In the present embodiment, the black generation processing includes black generation processing for an inkjet glossy paper document suitable for an inkjet glossy paper document, and is based on a document type determination signal input from the document type automatic determination unit 23. If the determination result is an inkjet glossy paper document, black generation processing for the inkjet glossy paper document is performed.

空間フィルタ処理部28は、黒生成下色除去部27より入力されるCMYK信号の画像データに対して、領域識別信号を基にデジタルフィルタによる空間フィルタ処理を行い、空間周波数特性を補正することによって出力画像のぼやけや粒状性劣化を防ぐように処理するものであって、階調再現処理部30も、空間フィルタ処理部28と同様に、CMYK信号の画像データに対して、領域識別信号を基に所定の処理を施すものである。   The spatial filter processing unit 28 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 27 to correct the spatial frequency characteristics by performing a spatial filter process using a digital filter. The gradation reproduction processing unit 30 performs processing so as to prevent blurring of the output image and deterioration of graininess. Similarly to the spatial filter processing unit 28, the gradation reproduction processing unit 30 also uses a region identification signal based on the image data of the CMYK signal. Is subjected to predetermined processing.

例えば、領域分離処理部25にて文字領域として分離された領域は、特に黒文字または色文字の再現性を高めるために、空間フィルタ処理部28による空間フィルタ処理における鮮鋭強調処理で高周波数の強調量が大きくされる。同時に、階調再現処理部30においては、高域周波数の再現に適した高解像度のスクリーンでの二値化または多値化処理が選択される。   For example, a region separated as a character region by the region separation processing unit 25 is a high-frequency enhancement amount by sharp enhancement processing in the spatial filter processing by the spatial filter processing unit 28 in order to improve the reproducibility of black characters or color characters. Is increased. At the same time, the tone reproduction processing unit 30 selects binarization or multi-value processing on a high-resolution screen suitable for high-frequency reproduction.

また、領域分離処理部25にて網点領域として分離された領域に関しては、空間フィルタ処理部28において、入力網点成分を除去するためのローパス・フィルタ処理が施される。そして、出力階調補正部29では、濃度信号などの信号をカラー画像出力装置50の特性値である網点面積率に変換する出力階調補正処理を行った後、階調再現処理部30で、最終的に画像を画素に分離してそれぞれの階調を再現できるように処理する階調再現処理(中間調生成)が施される。領域分離処理部25にて写真領域として分離された領域に関しては、階調再現性を重視したスクリーンでの二値化または多値化処理が行われる。   Further, with respect to the region separated as the halftone dot region by the region separation processing unit 25, the spatial filter processing unit 28 performs low-pass filter processing for removing the input halftone dot component. The output tone correction unit 29 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 50, and then the tone reproduction processing unit 30. Then, gradation reproduction processing (halftone generation) is performed so that the image is finally separated into pixels and each gradation is reproduced. For the region separated as the photographic region by the region separation processing unit 25, the binarization or multi-value processing on the screen is performed with emphasis on gradation reproducibility.

そして、本実施の形態では、空間フィルタ処理部28は、インクジェット光沢紙用のデジタルフィルタを具備しており、原稿種別自動判別部23より入力される原稿種別判定信号に基づいて、判別結果がインクジェット光沢紙原稿である場合は、該インクジェット光沢紙用のデジタルフィルタを用いて空間フィルタ処理を行う。   In this embodiment, the spatial filter processing unit 28 includes a digital filter for inkjet glossy paper, and the determination result is determined based on the document type determination signal input from the document type automatic determination unit 23. In the case of a glossy paper document, spatial filter processing is performed using the digital filter for inkjet glossy paper.

操作パネル42は、例えば、液晶ディスプレイ等の表示部と設定ボタン等の操作部とが一体化されたタッチパネル等により構成され、操作パネル42より入力された情報に基づいて、カラー画像入力装置40、カラー画像処理装置20、及びカラー画像出力装置41の各動作が制御される。   The operation panel 42 includes, for example, a touch panel in which a display unit such as a liquid crystal display and an operation unit such as a setting button are integrated. Based on information input from the operation panel 42, the color image input device 40, Each operation of the color image processing device 20 and the color image output device 41 is controlled.

上述した各処理が施された画像データは、一旦記憶部(図示せず)に記憶され、所定のタイミングで読み出されてカラー画像出力装置41に入力される。このカラー画像出力装置41は、画像データを記録媒体(例えば紙等)上に出力するもので、例えば、電子写真方式やインクジェット方式を用いたカラー画像出力装置等を挙げることができるが特に限定されるものではない。尚、以上の処理は不図示のCPU(Central Processing Unit)により制御される。   The image data subjected to the above-described processes is temporarily stored in a storage unit (not shown), read at a predetermined timing, and input to the color image output device 41. The color image output device 41 outputs image data on a recording medium (for example, paper). Examples of the color image output device 41 include a color image output device using an electrophotographic method or an inkjet method, but are not particularly limited. It is not something. The above processing is controlled by a CPU (Central Processing Unit) (not shown).

以下、上記した原稿種別自動判別部23の詳細について、図1、図3〜図11を参照して説明する。原稿種別自動判別部23は、図1に示すように、インクジェット光沢紙原稿判別処理を行うインクジェット光沢紙原稿判別部(インクジェット原稿判別手段)10、原稿判別処理を行う原稿判別部11、及び総合判定処理を行う総合判定部(インクジェット原稿判別手段、総合判定手段)12を備えている。   Hereinafter, the details of the automatic document type discrimination unit 23 will be described with reference to FIGS. 1 and 3 to 11. As shown in FIG. 1, the automatic document type determination unit 23 includes an inkjet glossy paper document determination unit (inkjet document determination unit) 10 that performs inkjet glossy paper document determination processing, a document determination unit 11 that performs document determination processing, and a comprehensive determination. A comprehensive determination unit (inkjet document determination means, comprehensive determination means) 12 that performs processing is provided.

そして、原稿種別自動判別部23では、図3のフローチャートに示すように、インクジェット光沢紙原稿判別部10にてインクジェット光沢紙原稿判別処理を行うと共に(S(ステップ)1)、これと併行して原稿判別部11にて原稿判別処理を行い(S2)、これらの処理結果を用いて、総合判定部12にて総合判定処理を行って(S3)、最終的な原稿種別を判別する。   Then, in the automatic document type discrimination unit 23, as shown in the flowchart of FIG. 3, the inkjet glossy paper document discrimination unit 10 performs the inkjet glossy paper document discrimination process (S (step) 1), and at the same time. The document determination unit 11 performs document determination processing (S2), and using these processing results, the comprehensive determination unit 12 performs comprehensive determination processing (S3) to determine the final document type.

まず、インクジェット光沢紙原稿判別部10の構成、及びインクジェット光沢紙原稿判別処理について説明する。インクジェット光沢紙原稿判別部10は、図4に示すように、輝度変換部15、ヒストグラム生成部(ヒストグラム生成手段)16、ダイナミックレンジ判定部(判定手段)17、及びメモリ18を備えている。   First, the configuration of the inkjet glossy paper document discrimination unit 10 and the inkjet glossy paper document discrimination process will be described. As shown in FIG. 4, the inkjet glossy paper document determination unit 10 includes a luminance conversion unit 15, a histogram generation unit (histogram generation unit) 16, a dynamic range determination unit (determination unit) 17, and a memory 18.

上記輝度変換部15は、シェーディング補正部22(図2参照)より入力されたRGB信号を輝度値Lに変換するものである。変換式としては、例えば、以下に示す式を用いることができる。   The luminance conversion unit 15 converts the RGB signal input from the shading correction unit 22 (see FIG. 2) into a luminance value L. As the conversion formula, for example, the following formula can be used.

L=0.3×R+0.6×G+0.1×B
この他、
L=0.33×R+0.34×G+0.33×B
のような変換式を用いてもよい。
L = 0.3 × R + 0.6 × G + 0.1 × B
In addition,
L = 0.33 × R + 0.34 × G + 0.33 × B
A conversion equation such as

ヒストグラム生成部16は、原稿の輝度ヒストグラムを生成するもので、輝度変換部15にて変換された輝度値Lのヒストグラムを作成する。輝度ヒストグラムの横軸として、輝度区分が必要であるが、ここでは、0〜255まで8間隔の輝度区分とする。その場合、全区分数は32となる。図5に、輝度区分を8間隔とした、インクジェット光沢紙原稿の輝度ヒストグラムの一例を示す。なお、区分の方法については、2間隔、4間隔…などでも良い。しかしながら、間隔が小さくなるにつれて判別精度は向上する反面、メモリ18の消費量、計算の煩雑さは増えるといったデメリットがある。輝度ヒストグラムの縦軸は、原稿サイズ(A4サイズ,B4サイズなど)で決まる全画素数に対する画素数の比率である。なお、原稿サイズは、図示しない原稿サイズ検知手段等により、画像形成装置の原稿台内部に原稿サイズに応じて複数の光電センサを設け光検知の有無により検出するなどの種々の方法で検知される。   The histogram generation unit 16 generates a luminance histogram of the document, and generates a histogram of the luminance value L converted by the luminance conversion unit 15. As the horizontal axis of the luminance histogram, the luminance division is necessary, but here, the luminance division is 8 intervals from 0 to 255. In that case, the total number of sections is 32. FIG. 5 shows an example of a brightness histogram of an inkjet glossy paper document with brightness intervals of 8 intervals. The sorting method may be two intervals, four intervals, etc. However, although the discrimination accuracy is improved as the interval is reduced, there is a demerit that the consumption of the memory 18 and the complexity of the calculation are increased. The vertical axis of the luminance histogram is the ratio of the number of pixels to the total number of pixels determined by the document size (A4 size, B4 size, etc.). The document size is detected by various methods such as providing a plurality of photoelectric sensors according to the document size in the document table of the image forming apparatus and detecting the presence or absence of light detection by a document size detection unit (not shown). .

ヒストグラム生成部16は、輝度ヒストグラムを生成するにあたり、輝度変換部15より入力される輝度値Lがどの区分に入るかを、画素毎にカウントアップして、原稿全面に対して各区分毎の画素数を求め、メモリ18に保持する。   In generating a luminance histogram, the histogram generation unit 16 counts up for each pixel the luminance value L input from the luminance conversion unit 15 and enters the pixel for each division with respect to the entire surface of the document. The number is obtained and held in the memory 18.

ダイナミックレンジ判定部17は、ヒストグラム生成部16によって生成された輝度ヒストグラムを用いて、インクジェット光沢紙原稿であるか否かを判別するものである。ダイナミックレンジ判定部17は、まず、ヒストグラム生成部16によって生成された輝度ヒストグラムより、区分0から予め定められている所定の区分Nまでの画素数を加算して、画素数Nkを求める。そして、原稿サイズで決まる全面の画素数をMkとすると、以下のような式に基づいて、
T=Nk×100/Mk
全画素数Mkに対する区分0〜区分Nまでの画素数Nkの比率(%)Tを求める。そして、このようにして求めた比率Tを、予め定めている所定の閾値Aと比較して、T>Aならば、インクジェット光沢紙原稿と判別する。
The dynamic range determination unit 17 uses the luminance histogram generated by the histogram generation unit 16 to determine whether the document is an inkjet glossy paper document. First, the dynamic range determination unit 17 adds the number of pixels from the segment 0 to a predetermined segment N from the luminance histogram generated by the histogram generator 16 to obtain the pixel number Nk. If the number of pixels on the entire surface determined by the document size is Mk, based on the following formula:
T = Nk × 100 / Mk
A ratio (%) T of the number of pixels Nk from section 0 to section N with respect to the total number of pixels Mk is obtained. Then, the ratio T thus obtained is compared with a predetermined threshold A, and if T> A, it is determined as an inkjet glossy paper document.

ここで、上記した区分N及び閾値Aの設定の仕方(求め方)の一例について説明する。区分Nについては、印刷写真原稿及びインクジェット普通紙原稿の比率Tと、インクジェット光沢紙原稿の比率Tとの間にできるだけ大きな差が出る値であって、かつ、印刷写真原稿及びインクジェット普通紙原稿の比率Tができるだけ小さい値になるように、区分Nを選択することが望ましい。このように区分Nを設定することで、閾値Aの設定が行い易くなる。   Here, an example of how to set (determine) the category N and the threshold A will be described. For category N, the difference between the ratio T of the printed photographic document and the inkjet plain paper document and the ratio T of the inkjet glossy paper document is as large as possible. It is desirable to select the section N so that the ratio T is as small as possible. Setting the section N in this way makes it easier to set the threshold A.

図6(a)〜(f)に、原稿毎の輝度ヒストグラムを基に、区分Nの値を1〜6までの6段階に変化させて比率Tを求めたグラフを示す。図6(a)〜(f)では、横軸がTを表している。また、原稿として、4通りの印刷写真原稿♯1〜♯4、1通りの印画紙写真原稿、2通りのインクジェット光沢紙原稿♯1・♯2、及び3通りのインクジェット普通紙原稿♯1〜♯3を用いている。   FIGS. 6A to 6F are graphs in which the ratio T is obtained by changing the value of the section N in six levels from 1 to 6, based on the luminance histogram for each document. 6A to 6F, the horizontal axis represents T. In addition, four types of printed photo originals # 1 to # 4, one type of photographic paper photo original, two types of inkjet glossy paper originals # 1 and # 2, and three types of inkjet plain paper originals # 1 to # are used as originals. 3 is used.

図6(a)〜(f)のうち、上記した区分Nの設定条件である、「印刷写真原稿及びインクジェット普通紙原稿の比率Tと、インクジェット光沢紙原稿の比率Tの差分ができるだけ大きく、かつ、印刷写真原稿及びインクジェット普通紙原稿の比率Tができるだけ小さい」を満足するものとしては、図6(e)の区分1〜5、つまり、区分N=5が選択される。以下、本実施の形態では、N=5として説明を行う。   6A to 6F, the difference between the ratio T between the printed photo original and the inkjet plain paper original and the ratio T between the inkjet glossy paper originals, which is the setting condition of the above-described category N, and In order to satisfy “the ratio T of the printed photo original and the inkjet plain paper original is as small as possible”, the sections 1 to 5 in FIG. 6E, that is, the section N = 5 are selected. Hereinafter, in the present embodiment, description will be made assuming that N = 5.

一方、閾値Aとしては、図7に示すA=10.00のように、印刷写真原稿(♯1〜♯4)及びインクジェット普通紙原稿(♯1〜♯3)と、インクジェット光沢紙原稿(♯1・♯2)及び印画紙写真原稿とを区別して判別できるような閾値設定が望ましい。その理由としては、インクジェット光沢紙原稿と印画紙写真原稿の各色再現域の大きさは比較的近く、印刷写真原稿とインクジェット普通紙原稿の各色再現域の大きさも比較的近いので、このように区別しておくことで、後段の画像処理を切り換えて(例えば、色補正処理の補正テーブル(LUT:ルックアップテーブルを切り換えて)、適切な処理を行えるからである。   On the other hand, as the threshold A, as shown in FIG. 7, A = 10.00, the printed photograph original (# 1 to # 4), the inkjet plain paper original (# 1 to # 3), and the inkjet glossy paper original (# It is desirable to set a threshold value that can distinguish between 1 and # 2) and the photographic paper photographic original. The reason for this is that the color reproduction areas of inkjet glossy paper originals and photographic paper photo originals are relatively close, and the color reproduction areas of printed photo originals and inkjet plain paper originals are also relatively close. This is because it is possible to perform appropriate processing by switching the subsequent image processing (for example, by switching the color correction processing correction table (LUT: lookup table)).

また、インクジェット普通紙原稿は、図6(a)〜(f)におけるインクジェット普通紙原稿♯1〜♯3と印刷写真原稿♯1〜♯4にも示されるように、印刷写真原稿よりも比率Tの値が小さいので、上記のように閾値Aを設定することで、インクジェット光沢紙原稿とインクジェット普通紙原稿との判別も可能である。   Also, the inkjet plain paper original is higher in the ratio T than the printed photograph original as shown in the inkjet plain paper originals # 1 to # 3 and the printed photograph originals # 1 to # 4 in FIGS. Since the threshold value A is set as described above, it is possible to discriminate between an inkjet glossy paper document and an inkjet plain paper document.

図8のフローチャートに基づいて、上記インクジェット光沢紙原稿判別部10におけるインクジェット光沢紙原稿判別処理の手順を説明する。まず、輝度変換部15が、入力されたRGB信号を輝度値Lに変換し(S11)、ヒストグラム生成部16が、輝度値Lを用いて輝度ヒストグラムを作成する(S12)。次に、ダイナミックレンジ判定部17が、ヒストグラム生成部16によって生成された輝度ヒストグラムを用いて、予め定められている所定の輝度区分Nまでの度数(つまり、画素数)を加算し、上述のように全画素数に対する比率Tを求める(S13)。そして、求めた比率Tを、予め定められている所定の閾値Aと比較し(S14)、T>Aならば、ダイナミックレンジ判定部17は、インクジェット光沢紙原稿と判別し(S15)、T>Aでないならば、ダイナミックレンジ判定部17は、インクジェット光沢紙原稿以外であると判別する(S16)。   The procedure of the inkjet glossy paper document discrimination process in the inkjet glossy paper document discrimination unit 10 will be described based on the flowchart of FIG. First, the luminance conversion unit 15 converts the input RGB signal into a luminance value L (S11), and the histogram generation unit 16 creates a luminance histogram using the luminance value L (S12). Next, the dynamic range determination unit 17 uses the luminance histogram generated by the histogram generation unit 16 to add the frequency (that is, the number of pixels) up to a predetermined predetermined luminance category N, as described above. Then, a ratio T to the total number of pixels is obtained (S13). Then, the obtained ratio T is compared with a predetermined threshold A (S14). If T> A, the dynamic range determination unit 17 determines that the original is an inkjet glossy paper document (S15), and T> If not A, the dynamic range determination unit 17 determines that the document is other than an inkjet glossy paper document (S16).

なお、本実施の形態では、輝度変換部15がRGB信号より画素の輝度値Lを求め、ヒストグラム生成部16が輝度ヒストグラムを生成し、ダイナミックレンジ判定部17が、予め定められる濃淡値の領域である低輝度領域の情報を基に、インクジェット光沢紙原稿を判別する構成としたが、濃淡値として濃度値を用い、輝度変換部15に換えてRGB信号より画素の濃度値を抽出信号選択部と、該信号選択部にて選択された濃度値より、ヒストグラム生成部が画素の濃度と画素数との関係を示す濃度ヒストグラムを生成し、ダイナミックレンジ判定部が濃度ヒストグラムの高濃度領域(予め定められる濃淡値の領域)の情報を用いて、インクジェット光沢紙原稿であることを判別するようにしてもよい。   In the present embodiment, the luminance conversion unit 15 obtains the luminance value L of the pixel from the RGB signal, the histogram generation unit 16 generates a luminance histogram, and the dynamic range determination unit 17 uses a predetermined gray value area. The inkjet glossy paper document is discriminated based on the information of a certain low luminance area. However, the density value is used as the gray value, and instead of the luminance conversion unit 15, the density value of the pixel is extracted from the RGB signal with the extraction signal selection unit. The histogram generation unit generates a density histogram indicating the relationship between the pixel density and the number of pixels from the density value selected by the signal selection unit, and the dynamic range determination unit determines a high density region (predetermined in advance). It may be determined that the document is an ink-jet glossy paper document using the information on the density value area.

RGB信号すなわち濃度値を用いる。例えばG(緑)信号やG信号を補色反転したM(マゼンタ)信号を用いることができる。その場合、比率Tや閾値Aの設定については、輝度値Lの場合とほぼ同様であるので、説明は省略する。   An RGB signal, that is, a density value is used. For example, a G (green) signal or an M (magenta) signal obtained by complementary color inversion of the G signal can be used. In this case, the setting of the ratio T and the threshold value A is almost the same as the case of the luminance value L, and a description thereof will be omitted.

さらに、RGB信号をL*a*b*信号(L*:明度、a*・b*:色度)に変換し、輝度の代わりにこの明度を濃淡値として用いることもできる。RGB信号をL*a*b*信号に変換する方法としては、ます、カラーチャート原稿の各色パッチを測色器で測色し、L*a*b*値を求め、次に、カラーチャート原稿をカラー画像入力装置から読取り、RGBデータを得る。そして、測色したL*a*b*値と読み取ったRGB値を対応付けるため、ニューラルネットワークやマスキング演算係数決定法によりL*a*b*値とRGB値との間の係数を求め、この係数を用いて変換する方法等が挙げられる。   Furthermore, the RGB signal can be converted into an L * a * b * signal (L *: brightness, a * · b *: chromaticity), and this brightness can be used as a gray value instead of the luminance. As a method of converting the RGB signal into the L * a * b * signal, first, each color patch of the color chart original is measured with a colorimeter to obtain the L * a * b * value, and then the color chart original is obtained. Are read from the color image input device to obtain RGB data. Then, in order to associate the measured L * a * b * value with the read RGB value, a coefficient between the L * a * b * value and the RGB value is obtained by a neural network or a masking calculation coefficient determination method. And the like.

次いで、原稿判別部11における原稿判別処理について説明する。原稿判別処理としては、例えば、前述の特許文献2に記載の方法等、種々の方法を用いることができ、その具体的な処理方法については特に限定されるものではない。ここでは、原稿判別部11が、最小濃度値算出部、最大濃度値算出部、最大濃度差算出部、総和差分値算出部、下地判定部、印画紙判定部、文字判定部、及び網点判定部(いずれも図示せず)を備えてなる構成を例示して説明する。   Next, document discrimination processing in the document discrimination unit 11 will be described. As the document discrimination process, for example, various methods such as the method described in Patent Document 2 described above can be used, and the specific processing method is not particularly limited. Here, the document determination unit 11 includes a minimum density value calculation unit, a maximum density value calculation unit, a maximum density difference calculation unit, a total difference value calculation unit, a background determination unit, a photographic paper determination unit, a character determination unit, and a halftone dot determination. A description will be given by exemplifying a configuration including a portion (none of which is shown).

原稿判別部11は、注目画素を含むn×m画素を判定ブロックとして、主走査方向のみの画素および副走査方向のみの画素を用いて処理を行う。主走査方向・副走査方向とも処理内容は同じであるので、以下では一方向の場合を例に挙げて説明する。   The document determination unit 11 performs processing using n × m pixels including the target pixel as a determination block, using pixels only in the main scanning direction and pixels only in the sub-scanning direction. Since the processing content is the same in both the main scanning direction and the sub-scanning direction, the case of one direction will be described below as an example.

最小濃度値算出部は、注目画素を含む主走査方向の画素の最小濃度値を算出する。最大濃度値算出部は、上記注目画素を含む主走査方向の画素の最大濃度値を算出する。最大濃度差算出部は、最小濃度値算出部および最大濃度値算出部にて算出された最小濃度値および最大濃度値を用いて最大濃度差を算出する。総和差分値算出部は、上記注目画素を含む主走査方向の画素に対し、隣接する画素の濃度差の絶対値の総和(総和差分値)を算出する。   The minimum density value calculation unit calculates the minimum density value of the pixels in the main scanning direction including the target pixel. The maximum density value calculation unit calculates the maximum density value of the pixels in the main scanning direction including the target pixel. The maximum density difference calculator calculates the maximum density difference using the minimum density value and the maximum density value calculated by the minimum density value calculator and the maximum density value calculator. The total difference value calculation unit calculates the total sum (total difference value) of absolute values of density differences between adjacent pixels for the pixels in the main scanning direction including the target pixel.

下地判定部、印画紙判定部、文字判定部、および網点判定部は、注目画素に対して、最大濃度差算出部で算出された最大濃度差および総和差分値算出部で算出された総和差分値を予め設定された閾値と比較することにより、各画素を、下地、文字、網点、印画紙写真、あるいは、これらのいずれにも属さない不確定画素のいずれかに分類する(図10参照)。   The background determination unit, the photographic paper determination unit, the character determination unit, and the halftone determination unit are the maximum density difference calculated by the maximum density difference calculation unit and the total difference calculated by the total difference value calculation unit for the target pixel. By comparing the value with a preset threshold value, each pixel is classified as either a background, a character, a halftone dot, a photographic paper photograph, or an indeterminate pixel that does not belong to any of these (see FIG. 10). ).

また、下地判定部は、下地最大濃度差閾値設定部・下地総和差分値閾値設定部を、印画紙判定部は、印画紙最小濃度差閾値設定部・印画紙最大濃度差閾値設定部・印画紙判定閾値設定部を、文字判定部は、文字最小濃度差閾値設定部・文字判定閾値設定部を、網点判定部は、網点総和差分値設定部・網点判定閾値設定部を有し、それぞれ対応する各閾値が設定されている。   The background determination unit is a background maximum density difference threshold setting unit / background total difference value threshold setting unit, and the photographic paper determination unit is a photographic paper minimum density difference threshold setting unit / printing paper maximum density difference threshold setting unit / printing paper. The determination threshold setting unit, the character determination unit includes a character minimum density difference threshold setting unit / character determination threshold setting unit, and the halftone dot determination unit includes a halftone dot total difference value setting unit / halftone determination threshold setting unit, Each corresponding threshold value is set.

図9のフローチャートに基づいて、原稿判別部11における原稿画像全体より原稿画像の種類を判別する、原稿判別処理の手順を説明する。先ず、最大濃度値算出部が、読み取られている各画素の濃度値から、注目画素を含むn×m画素のブロック内の最大濃度値を算出する(S21)。次に、最小濃度値算出部は、注目画素を含むn×m画素のブロック内の最小濃度値を算出する(S22)。   Based on the flowchart of FIG. 9, the procedure of document discrimination processing for discriminating the type of document image from the entire document image in the document discrimination unit 11 will be described. First, the maximum density value calculation unit calculates the maximum density value in the block of n × m pixels including the pixel of interest from the read density value of each pixel (S21). Next, the minimum density value calculation unit calculates the minimum density value in the block of n × m pixels including the target pixel (S22).

次に、最大濃度差算出部が、算出された最小濃度値と最大濃度値とを用いて最大濃度差を算出する(S23)。さらに、総和差分値算出部が、隣接する画素間の濃度差の絶対値をとり、その絶対値の総和をとる。つまり総和差分値算出部は、総和差分値を算出する(S24)。   Next, the maximum density difference calculation unit calculates the maximum density difference using the calculated minimum density value and maximum density value (S23). Further, the total difference value calculation unit takes the absolute value of the density difference between adjacent pixels and takes the sum of the absolute values. That is, the total difference value calculation unit calculates the total difference value (S24).

次に、下地判定部が、注目画素が下地画素であるか否かの判定を行う(S25)。即ち、下地判定部は、算出された最大濃度差と下地最大濃度差閾値設定部に予め記憶されている下地最大濃度差閾値との比較、および、算出された総和差分値と下地総和差分値閾値設定部に予め設定されている下地総和差分値閾値との比較を行う。   Next, the background determination unit determines whether the target pixel is a background pixel (S25). That is, the background determination unit compares the calculated maximum density difference with the background maximum density difference threshold stored in advance in the background maximum density difference threshold setting unit, and calculates the calculated total difference value and the background total difference value threshold. Comparison with the background sum total difference value threshold value preset in the setting unit is performed.

そして、最大濃度差<下地最大濃度差閾値、かつ、総和差分値<下地総和差分値閾値の条件を満足すると判断した場合(S25,YES)、下地判定部は、注目画素が下地画素であると判定する(S36)。   If it is determined that the conditions of maximum density difference <background maximum density difference threshold and total difference value <background total difference value threshold are satisfied (S25, YES), the background determination unit determines that the target pixel is the background pixel. Determination is made (S36).

一方、ステップS25においてNOと判断された場合、印画紙判定部は、注目画素が、印画紙写真画素であるか否かの判定を行う(S26)。即ち、印画紙判定部は、算出された最大濃度差と印画紙最小濃度差閾値設定部に予め記憶されている印画紙最小濃度差閾値および印画紙最大濃度差閾値設定部に予め記憶されている印画紙最大濃度差閾値との比較、および、算出された総和差分値と印画紙判定閾値設定部に予め設定されている印画紙判定閾値を最大濃度差に乗じた値との比較を行う。   On the other hand, if NO is determined in step S25, the photographic paper determination unit determines whether or not the pixel of interest is a photographic paper photographic pixel (S26). That is, the photographic paper determination unit is stored in advance in the photographic paper minimum density difference threshold and the photographic paper maximum density difference threshold setting unit that are stored in advance in the calculated maximum density difference and photographic paper minimum density difference threshold setting unit. Comparison with the photographic paper maximum density difference threshold and comparison between the calculated total difference value and a value obtained by multiplying the maximum density difference by the photographic paper determination threshold set in advance in the photographic paper determination threshold setting unit are performed.

そして、印画紙最小濃度差閾値<最大濃度差<印画紙最大濃度差閾値、かつ、総和差分値<最大濃度差×印画紙判定閾値の条件を満足すると判断した場合(S26,YES)、印画紙判定部は、注目画素が印画紙写真画素であると判定する(S35)。   If it is determined that the minimum density difference threshold value of the photographic paper <maximum density difference <maximum density difference threshold value of the photographic paper and the total difference value <maximum density difference × the photographic paper determination threshold value is satisfied (S26, YES), the photographic paper. The determination unit determines that the target pixel is a photographic paper photographic pixel (S35).

一方、ステップS26においてNOと判断された場合、文字判定部は、注目画素が、文字画素であるか否かの判定を行う(S27)。即ち、文字判定部は、算出された最大濃度差と文字最小濃度差閾値設定部に予め記憶されている文字最小濃度差閾値との比較、および、算出された総和差分値と文字判定閾値設定部に予め設定されている文字判定閾値を最大濃度差に乗じた値との比較を行う。   On the other hand, if NO is determined in step S26, the character determination unit determines whether or not the target pixel is a character pixel (S27). That is, the character determination unit compares the calculated maximum density difference with the character minimum density difference threshold value stored in advance in the character minimum density difference threshold setting unit, and calculates the total sum difference value and the character determination threshold value setting unit. Is compared with a value obtained by multiplying the maximum density difference by a preset character determination threshold.

そして、文字最小濃度差閾値<最大濃度差、かつ、総和差分値<最大濃度差×文字判定閾値の条件を満足すると判断した場合(S27,YES)、文字判定部は、注目画素が文字画素であると判定する(S34)。   When it is determined that the condition of minimum character density difference threshold <maximum density difference and total difference value <maximum density difference × character determination threshold is satisfied (S27, YES), the character determination unit determines that the target pixel is a character pixel. It is determined that there is (S34).

一方、ステップS27においてNOと判断された場合、網点判定部は、注目画素が、網点画素であるか否かの判定を行う(S28)。即ち、網点判定部は、算出された最大濃度差と網点総和差分値閾値設定部に予め記憶されている網点総和差分値閾値との比較、および、算出された総和差分値と網点判定閾値設定部に予め設定されている網点判定閾値を最大濃度差に乗じた値との比較を行う。   On the other hand, if NO is determined in step S27, the halftone dot determination unit determines whether or not the target pixel is a halftone pixel (S28). That is, the halftone dot determination unit compares the calculated maximum density difference with the halftone dot total difference value threshold value stored in advance in the halftone dot total difference value threshold value setting unit, and calculates the calculated total difference value and the halftone dot. Comparison is made with a value obtained by multiplying the maximum density difference by a halftone dot determination threshold preset in the determination threshold setting unit.

そして、総和差分値>網点総和差分値閾値、かつ、総和差分値>最大濃度差×網点判定閾値の条件を満足すると判断した場合(S28でYES)、網点判定部は、注目画素が網点画素であると判定する(S33)。一方、ステップS28においてNOと判断された場合、網点判定部は、注目画素が不確定画素と判定する(S29)。   Then, when it is determined that the condition of total sum difference value> halftone dot total difference value threshold and total difference value> maximum density difference × halftone dot determination threshold is satisfied (YES in S28), the halftone dot determination unit determines that the target pixel is It is determined that the pixel is a halftone pixel (S33). On the other hand, if NO is determined in step S28, the halftone dot determination unit determines that the pixel of interest is an indeterminate pixel (S29).

そして、注目画素における画素の種類の判別が終了すると、原稿判別部11が、さらに別の画素の種類判別を行うか否かを判断する(S30)。そして、ステップS30で、さらに別の画素の種類判別を行う場合には、処理はステップS25に戻る。また、別の画素の種類判別を行わないと判断した場合には、処理はステップS31へ進む。このようにして、例えば、ブロック内の全ての画素の種類判定を行う。   When the determination of the pixel type in the target pixel is completed, the document determination unit 11 determines whether or not to perform another pixel type determination (S30). In step S30, if another pixel type is determined, the process returns to step S25. On the other hand, if it is determined not to perform another pixel type determination, the process proceeds to step S31. In this way, for example, the type determination of all the pixels in the block is performed.

S31では、原稿判別部11が、それぞれの画素における種類判別結果をカウントする。具体的には、ステップS33〜S36にて行われた画素判定の結果を集計する。そして、原稿判別部11は、ステップS31によって、カウントされた画素数に基づいて原稿種別を判定する(S32)。   In S31, the document discrimination section 11 counts the type discrimination results for each pixel. Specifically, the results of pixel determination performed in steps S33 to S36 are totaled. Then, in step S31, the document determination unit 11 determines the document type based on the counted number of pixels (S32).

原稿判定部11は、例えば、文字領域の比率と網点領域の比率とが、それぞれ閾値以上の場合は、文字/網点原稿(文字印刷写真原稿)であると判定する。また、文字、網点、印画紙写真の順に検出精度が高いとすると、文字領域の比率が全画素数の30%の場合には文字原稿、網点領域の比率が全画素数の20%の場合には網点原稿(印刷写真原稿)、印画紙写真領域の比率が全画素数の10%の場合には印画紙写真原稿であると判定する。ここでは、原稿種別として、文字原稿、文字印刷写真原稿、印刷写真原稿、印画紙写真原稿、文字印画紙写真原稿に判別する。   For example, when the ratio of the character area and the ratio of the halftone dot area are equal to or greater than the threshold values, the original determination unit 11 determines that the character / halftone original (character-printed photo original) is present. Also, assuming that the detection accuracy is higher in the order of characters, halftone dots, and photographic paper photographs, when the ratio of the character area is 30% of the total number of pixels, the ratio of the character original and the halftone area is 20% of the total number of pixels. In this case, when the ratio of the halftone dot original (printed photo original) and the photographic paper photo area is 10% of the total number of pixels, it is determined that the image is a photographic paper photo original. In this case, the document type is determined to be a character document, a character printed photo document, a printed photo document, a photographic paper photo document, or a character photographic paper photo document.

なお、上記の設定した各閾値においては、任意に調節することにより、より広範囲な処理を行うことが可能となる。これら閾値については、予想される複数の値を予めROM(Read Only Memory) 等の記憶媒体に記憶させておき、必要に応じてスイッチ等により、メモリ等の記憶手段に格納される値を設定できるようにしておけばよい。   Note that a wider range of processing can be performed by arbitrarily adjusting each of the threshold values set above. For these threshold values, a plurality of expected values can be stored in advance in a storage medium such as a ROM (Read Only Memory), and values stored in storage means such as a memory can be set by a switch or the like as necessary. Just do it.

ここで、図10を用いて、上記図9のフローチャートにおけるステップS25〜S28の処理にて、S33〜S36で注目画素の種類を判別することができる理由について説明する。図10は、下地・印画紙写真・網点・文字領域における最大濃度差と総和差分値とに対する分布を示す分布図である。なお、図10において、最大濃度差=総和差分値以下の領域は、総和差分値が最大濃度差以下となることはなく、画素が存在しない領域を示している。   Here, the reason why the type of the pixel of interest can be determined in S33 to S36 in the processing of steps S25 to S28 in the flowchart of FIG. 9 will be described with reference to FIG. FIG. 10 is a distribution diagram showing the distribution of the maximum density difference and the total difference value in the background, photographic paper photograph, halftone dot, and character area. In FIG. 10, an area where the maximum density difference is equal to or less than the total difference value indicates an area where the total difference value is not equal to or less than the maximum density difference and no pixel exists.

下地領域(下地画素)の濃度分布は、通常、濃度変化が少ないため最大濃度差および総和差分値がともに非常に小さくなり、図10に示す領域Aに分布することとなる。印画紙写真領域(印画紙写真画素)の濃度分布は、通常、滑らかな濃度変化をしており、最大濃度差および総和差分値はともに小さく、かつ、下地領域よりは多少大きくなるため、図10に示す領域Bに分布することになる。   Since the density distribution of the background area (background pixel) is usually small in density change, both the maximum density difference and the total difference value are very small and are distributed in the area A shown in FIG. The density distribution of the photographic paper photographic area (photographic paper photographic pixel) normally changes smoothly, and the maximum density difference and the total difference value are both small and slightly larger than the background area. Will be distributed in the region B shown in FIG.

また、網点領域(網点画素)の濃度分布は、最大濃度差は網点によりさまざまであるが、総和差分値が網点の数だけ濃度変化が存在するので、最大濃度差に対する総和差分値の割合が大きくなる。このため、図10に示領域Dのような分布になる。文字領域(文字画素)の濃度分布は、最大濃度差が大きく、それに伴い総和差分値も大きくなるが、網点領域よりも濃度変化が少ないため、網点領域よりも総和差分値は小さくなる。特に、最大濃度差に対する総和差分値の割合が小さくなるため、図10に示す領域Cのような分布になる。   Also, the density distribution of the halftone dot area (halftone dot pixel) varies depending on the halftone dot, but the total difference value is the same as the number of halftone dots. The proportion of increases. For this reason, it becomes distribution like the area | region D shown in FIG. In the density distribution of the character area (character pixel), the maximum density difference is large and the total difference value is accordingly increased. However, since the density change is smaller than that in the halftone area, the total difference value is smaller than that in the halftone area. In particular, since the ratio of the total difference value to the maximum density difference is small, the distribution is as shown in the region C in FIG.

そして、文字領域と網点領域とが重なる領域、下地領域と印画紙写真領域とが重なる領域、および、その他、いずれの領域に属するか不明な領域は、図10に示すように、不確定領域とされ、この不確定領域に分類された画素は、不確定画素と判定される。   Then, an area in which the character area and the halftone dot area overlap, an area in which the background area and the photographic paper photograph area overlap, and other areas that are unknown to which area belong, as shown in FIG. The pixels classified into this uncertain area are determined as uncertain pixels.

このように、下地領域、印画紙写真領域、網点領域および文字領域によって、最大濃度差と総和差分値との分布傾向に差があるため、注目画素における最大濃度差と総和差分値とを測定することにより、画素の種別を判断することができる。   As described above, since there is a difference in distribution tendency between the maximum density difference and the total difference value depending on the background area, the photographic paper photograph area, the halftone dot area, and the character area, the maximum density difference and the total difference value at the target pixel are measured. By doing so, the type of pixel can be determined.

次に、総合判定部12における総合判定処理について説明する。総合判定部12は、以上のインクジェット光沢紙原稿判別部10と原稿判別部11の判定結果を用いて、最終的な原稿種別の判定を行う。   Next, the comprehensive determination process in the comprehensive determination unit 12 will be described. The overall determination unit 12 determines the final document type using the determination results of the inkjet glossy paper document determination unit 10 and the document determination unit 11 described above.

図11のフローチャートに基づいて、総合判定部12における総合判定処理の手順を説明する。まず、総合判定部12は、原稿判別部11による判定結果が、文字印刷写真原稿或いは印刷写真原稿であるか否かを判定する(S41)。ここで、文字印刷写真原稿或いは印刷写真原稿でなかった場合、つまり、文字原稿、印画紙写真原稿、或いは文字印画紙写真原稿の場合は、原稿判別部11の判定結果を優先し、その結果を最終的な原稿種別とする(S44)。つまり、原稿判別部11が文字原稿と判定していれば原稿種別は文字原稿に、印画紙写真原稿であると判定していれば原稿種別は印画紙写真原稿に、文字印画紙写真原稿であると判定していれば原稿種別は文字印画紙写真原稿となる。   Based on the flowchart of FIG. 11, the procedure of the comprehensive determination process in the comprehensive determination part 12 is demonstrated. First, the comprehensive determination unit 12 determines whether the determination result by the document determination unit 11 is a character-printed photo document or a printed photo document (S41). Here, if it is not a character-printed photographic document or a printed photographic document, that is, a character document, a photographic paper photographic document, or a character photographic paper photographic document, the determination result of the document determination unit 11 is prioritized, and the result is The final document type is set (S44). That is, if the document determination unit 11 determines that the document is a character document, the document type is a character document, and if it determines that the document type is a photographic paper photo document, the document type is a photographic paper photo document and a character photographic paper photo document. If it is determined, the document type is a character photographic paper photo document.

一方、原稿判別部11による判定が文字印刷写真原稿或いは印刷写真原稿である(S41でイエス)場合は、次いで、インクジェット光沢紙原稿判別部10の判別結果がインクジェット光沢紙原稿であるか否かを判定する(S42)。そして、ここで、インクジェット光沢紙原稿以外の場合には、原稿判別部11の判定結果を優先し、その結果を最終的な原稿種別とする(S44)。つまり、文字印刷写真原稿は文字印刷写真原稿に、印刷写真原稿は印刷写真原稿となる。   On the other hand, when the determination by the document determination unit 11 is a character-printed photo document or a printed photo document (Yes in S41), it is next determined whether or not the determination result of the inkjet glossy paper document determination unit 10 is an inkjet glossy paper document. Determine (S42). Here, in cases other than the inkjet glossy paper document, the determination result of the document determination unit 11 is given priority, and the result is set as the final document type (S44). That is, the character-printed photo document is a character-printed photo document, and the print photo document is a printed photo document.

一方、文字印刷写真原稿或いは印刷写真原稿と判定され、かつ、インクジェット光沢紙原稿判別部10による判別結果がインクジェット光沢紙原稿(S42でイエス)の場合は、インクジェット光沢紙原稿であるとの判定は有効であるとして、最終的な原稿種別をインクジェット光沢紙原稿とする(S43)。これにより、インクジェット光沢紙原稿を精度良く判別することが可能となる。   On the other hand, when it is determined that the document is a character-printed photo document or a printed photo document and the determination result by the inkjet glossy paper document determination unit 10 is an inkjet glossy paper document (Yes in S42), it is determined that the document is an inkjet glossy paper document. Assuming that it is valid, the final document type is an inkjet glossy paper document (S43). This makes it possible to accurately determine an inkjet glossy paper document.

このように、本実施の形態のカラー画像処理装置20では、インクジェット光沢紙原稿判別部10に加えて総合判定部12が設けられており、インクジェット光沢紙原稿判別部10と総合判定部12とで、インクジェット光沢紙原稿判別部10にてインクジェット光沢紙原稿であると判定されると共に、原稿判別部11にて文字印刷写真原稿或いは印刷写真原稿と判定されタ場合に、原稿種別をインクジェット光沢紙原稿であると最終的に確定している。   As described above, in the color image processing apparatus 20 according to the present embodiment, the comprehensive determination unit 12 is provided in addition to the inkjet glossy paper document determination unit 10. When the inkjet glossy paper document discrimination unit 10 determines that the document is an inkjet glossy paper document, and the document discrimination unit 11 determines that the document is a character-printed photo document or a printed photo document, the document type is set to the inkjet glossy paper document. It is finally confirmed that.

したがって、インクジェット光沢紙原稿判別部10による判定のみに基づいてインクジェット光沢紙原稿であるとすると、印画紙写真原稿も輝度ヒストグラム上、同様の特徴を有しているので、このような印画紙写真原稿との区別ができず、印画紙原稿もインクジェット光沢紙原稿内に含まれてくるが、このようにすることで、インクジェット光沢紙原稿と印画紙写真原稿とを区別することができる。   Therefore, if it is an inkjet glossy paper document based only on the determination by the inkjet glossy paper document discrimination unit 10, the photographic paper photograph document has the same characteristics on the luminance histogram. However, the photographic paper document is also included in the inkjet glossy paper document. By doing so, the inkjet glossy paper document and the photographic paper photographic document can be distinguished.

但し、インクジェット光沢紙原稿の色再現域は、印画紙写真原稿により近いので、印画紙写真原稿とインクジェット光沢紙原稿とに同じ画像処理が施されても問題ではなく、必ずしもこのように総合判定部12を設けてインクジェット光沢紙原稿と印画紙写真原稿とを区別する必要はない。   However, since the color reproduction range of inkjet glossy paper originals is closer to that of photographic paper photographic originals, it is not a problem if the same image processing is applied to photographic paper photographic originals and inkjet glossy paper originals. 12 is not required to distinguish between an inkjet glossy paper original and a photographic paper photographic original.

次に、本実施の形態のカラー画像処理装置20においてインクジェット光沢紙原稿であると判定された原稿に対して実施される、インクジェット光沢紙原稿に適した画像処理(後処理)の例について説明する。   Next, an example of image processing (post-processing) suitable for an inkjet glossy paper document that is performed on a document that is determined to be an inkjet glossy paper document in the color image processing apparatus 20 of the present embodiment will be described. .

インクジェット光沢紙原稿の場合、色再現域がインクジェット普通紙原稿とは大きく異なり、インクジェット光沢紙原稿の色再現域の広さは印画紙原稿により近い。そこで、本実施の形態のカラー画像処理装置20では、色補正部26には、色補正のテーブル(LUT)として、印画紙原稿に適した印画紙原稿用、印刷原稿に適した印刷原稿用、及びインクジェット光沢紙原稿に適したインクジェット光沢紙原稿用の3種類が具備されており、インクジェット光沢紙原稿と判定されると、インクジェット光沢紙原稿用の色補正テーブルを用いて、色補正処理を行う。   In the case of an inkjet glossy paper document, the color reproduction area is significantly different from that of an inkjet plain paper document, and the color reproduction area of the inkjet glossy paper document is closer to that of a photographic paper document. Therefore, in the color image processing apparatus 20 of the present embodiment, the color correction unit 26 uses a color correction table (LUT) for a photographic paper document suitable for a photographic paper document, for a print document suitable for a print document, And an ink-jet glossy paper document suitable for the ink-jet glossy paper document, and if it is determined to be an ink-jet glossy paper document, color correction processing is performed using a color correction table for the ink-jet glossy paper document. .

同様に、黒生成下色除去部においても、インクジェット光沢紙原稿用の黒生成処理を具備しており、インクジェット光沢紙原稿と判定されると、インクジェット光沢紙原稿用の黒生成処理を行う。   Similarly, the black generation and under color removal unit also includes a black generation process for an inkjet glossy paper document, and if it is determined as an inkjet glossy paper document, the black generation process for the inkjet glossy paper document is performed.

上記したインクジェット光沢紙原稿用の色補正テーブルは、例えば、インクジェット光沢紙によるカラーパッチを用いるなどの方法で作成することができる。つまり、インクジェット光沢紙にRGBのカラーパッチを形成し、その測色値L(CIE:Commission International de l’Eclairage:国際照明委員会。L:明度、a・b:色度)を求めると共に、該カラーパッチをカラー画像入力装置(スキャナ)で読み取り、RGB値を求める一方、カラー画像出力装置からCMYのカラーパッチを出力し(電子データとしてカラーパッチのデータを格納)、測色値Lも求める。これらについては、できるだけ多くのサンプルのデータを用いる。そして、このようにして得た、RGB−L*と、−CMYとの関係を、変換行列を用いて表したり、ニューラルネットワークを用いて学習させたりして、RGB−CMYの関係を求め、LUTに格納する。 The color correction table for an inkjet glossy paper document described above can be created, for example, by using a color patch made of inkjet glossy paper. That is, RGB color patches are formed on glossy inkjet paper, and the colorimetric values L * a * b * (CIE: Commission International de l'Eclairage: International Lighting Commission. L * : lightness, a * · b * : The color patch is read by a color image input device (scanner) to obtain RGB values, and CMY color patches are output from the color image output device (color patch data is stored as electronic data). The colorimetric value L * a * b * is also obtained. For these, use as many sample data as possible. The relationship between RGB-L * a * b * and L * a * b * -CMY obtained in this way is expressed using a transformation matrix or learned using a neural network. , RGB-CMY relationship is obtained and stored in the LUT.

なお、何もインクジェット光沢紙原稿用に専用の色補正テーブルや黒生成処理を用意する必要はなく、色補正部26が、色補正のテーブルとして、印画紙原稿に適した印画紙原稿用と、印刷写真原稿に適した印刷写真原稿用との2種類を有する構成であれば、インクジェット光沢紙原稿と判定されると、印画紙原稿用の色補正テーブルを用いて色補正処理を行うようにすればよい。同様に、黒生成下色除去部においても、インクジェット光沢紙原稿と判定されると、印画紙原稿用の黒生成処理を行うようにすればよい。   Note that there is no need to prepare a dedicated color correction table or black generation process for inkjet glossy paper originals, and the color correction unit 26 uses a color correction table as a photographic paper original suitable for a photographic paper original, In the case of a configuration having two types of print photo originals suitable for a print photo original, if it is determined as an inkjet glossy paper original, color correction processing is performed using a color correction table for a photographic paper original. That's fine. Similarly, when the black generation and under color removal unit determines that the original is an inkjet glossy paper document, the black generation process for the photographic paper document may be performed.

また、本実施の形態のカラー画像処理装置20では、インクジェット光沢紙原稿であると判定されると、空間フィルタ処理部28が、インクジェット光沢紙用の専用フィルタを用いて空間フィルタ処理を行う。インクジェット光沢紙原稿用のフィルタとしては、例えば、低周波数部分には強調、高周波数部分には平滑な混合フィルタが考えられる。通常、インクジェット光沢紙原稿は、誤差拡散処理でプリントされているケースが多く、原稿に低濃度部のざらつきがある場合がある。その場合、高周波部分には、平滑なフィルタを用いたほうが出力する際に良好な画像が得られる。また、低周波成分を強調すると、原稿の写真中のエッジが強調されることになり、はっきりした良好な画像が得られる。よって、上記のような、混合フィルタが望ましいと考えられる。   In the color image processing apparatus 20 according to the present embodiment, when it is determined that the document is an inkjet glossy paper document, the spatial filter processing unit 28 performs spatial filter processing using a dedicated filter for inkjet glossy paper. As a filter for an inkjet glossy paper document, for example, a mixed filter that is emphasized in a low frequency portion and smooth in a high frequency portion can be considered. Normally, inkjet glossy paper originals are often printed by error diffusion processing, and the originals may have a rough surface with low density. In that case, a better image can be obtained when a smooth filter is used for output in the high frequency part. Further, when the low frequency component is emphasized, the edge in the photograph of the original is emphasized, and a clear and good image can be obtained. Therefore, a mixing filter as described above is considered desirable.

また、その他、本実施の形態のカラー画像処理装置20では採用していないが、原稿種別判定信号を入力階調補正部24や快調再現処理部30にも出力する構成として、入力階調補正部24或いは快調再現処理部30における処理を原稿種別に応じて切り換えると共に、インクジェット光沢紙原稿と判定された原稿に対しては、インクジェット光沢紙原稿により適した処理を行えるように設定することなども考えられる。   In addition, although not adopted in the color image processing apparatus 20 of the present embodiment, the input tone correction unit is configured to output the document type determination signal to the input tone correction unit 24 and the smooth reproduction processing unit 30 as well. 24 or the processing in the smooth reproduction processing unit 30 may be switched according to the type of document, and it may be set so that a process suitable for an inkjet glossy paper document can be performed on a document determined to be an inkjet glossy paper document. It is done.

また、以上の説明では、インクジェット光沢紙原稿判別部10は、予め定められる輝度区分Nまでの度数(画素数)の総和の総画素数に対する比率Tが予め定められる閾値Aより大きいときに、インクジェット光沢紙原稿であると判定し、続いて総合判定部12がさらなる判定を行って最終的にインクジェット光沢紙原稿であるとしたが、必ずしも原稿種別の判別まで行う必要はない。   Further, in the above description, the inkjet glossy paper document determination unit 10 determines that the inkjet glossy paper original determination unit 10 performs inkjet when the ratio T to the total number of pixels of the frequency (number of pixels) up to the predetermined brightness category N is larger than a predetermined threshold A. Although it is determined that the original is a glossy paper document, the comprehensive determination unit 12 subsequently makes a further determination and finally determines that the original is an inkjet glossy paper document. However, it is not always necessary to determine the document type.

例えば、インクジェット光沢紙原稿判別部10にて、上記の条件を充たす場合にインクジェット光沢紙原稿であることを示す有効信号を出力し、上記条件を満たさない場合にはインクジェット光沢紙原稿ではないことを示す非有効信号を出力するようにして、処理方法を切り換えるようにしても良い。この場合は、例えば、色補正部及び黒生成下色除去部において、有効信号が出力された場合は、印画紙原稿用の色補正テーブル・黒生成処理を選択し、非有効信号の場合、印刷写真原稿用の色補正テーブル・黒生成処理を用いて処理を行うようにすればよい。   For example, the ink-jet glossy paper document discrimination unit 10 outputs an effective signal indicating that it is an ink-jet glossy paper document when the above condition is satisfied, and if it does not satisfy the above condition, it is not an ink-jet glossy paper document. The processing method may be switched by outputting the ineffective signal shown. In this case, for example, when a valid signal is output in the color correction unit and the black generation under color removal unit, a color correction table / black generation process for a photographic paper document is selected. Processing may be performed using a color correction table / black generation process for a photographic document.

次いで、図12を参照して、本発明の実施の他の形態であるカラー画像処理装置(画像処理装置)20’を備えるフラットヘッドスキャナ(画像読取装置)2について説明する。図12は、フラットヘッドスキャナ2の概略の構成を示すブロック図である。   Next, a flat head scanner (image reading apparatus) 2 including a color image processing apparatus (image processing apparatus) 20 'according to another embodiment of the present invention will be described with reference to FIG. FIG. 12 is a block diagram showing a schematic configuration of the flat head scanner 2.

フラットヘッドスキャナ2は、図12に示すように、前述したカラー画像入力装置40と、前述したA/D変換部21、シェーディング補正部22、及び原稿種別自動判別部23を備えたカラー画像処理装置20’とから構成され、カラー画像入力装置40によって読み取られた画像データに基づいて、インクジェット光沢紙原稿を原稿種別の1つとして含む原稿種別判別を行うようになっている。このように各処理が施された画像データおよび上記原稿種別自動判別部23からの原稿種別判定信号は、コンピュータやプリンタに入力される。尚、以上の処理は不図示のCPU(Central Processing Unit)により制御される。   As shown in FIG. 12, the flat head scanner 2 includes a color image processing apparatus including the color image input device 40 described above, the A / D conversion unit 21, the shading correction unit 22, and the document type automatic discrimination unit 23 described above. 20 ′, and based on the image data read by the color image input device 40, document type discrimination including an inkjet glossy paper document as one of the document types is performed. The image data thus subjected to each process and the document type determination signal from the document type automatic determination unit 23 are input to a computer or a printer. The above processing is controlled by a CPU (Central Processing Unit) (not shown).

上記画像処理がなされた画像データがプリンタに入力される場合、入力された画像データは、例えば、色補正処理・階調再現処理などの処理が施され、プリンタ言語翻訳部でプリンタ言語に変換されて、通信ポートドライバ・通信ポート(RS232C・LAN等)を介して電子写真方式やインクジェット方式のプリンタ(画像出力装置)に入力された後、出力されることとなる。なお、上記プリンタは、プリンタ機能の他にコピー機能およびファックス機能を有するデジタル複合機であっても良い。   When the image data subjected to the image processing is input to the printer, the input image data is subjected to processing such as color correction processing and gradation reproduction processing, and is converted into the printer language by the printer language translation unit. Then, the data is input to an electrophotographic or ink jet printer (image output device) via a communication port driver / communication port (RS232C / LAN, etc.) and then output. The printer may be a digital multifunction machine having a copy function and a fax function in addition to the printer function.

また、別の形態として、原稿種別自動判別部23は、コンピュータに備えられている構成としてもよい。そして、フラットヘッドスキャナ(カラー画像入力装置40、A/D変換部21、及びシェーディング補正部22を含む)から送信されてくる画像データのRGB信号をコンピュータにて解析して、画像処理を行うようにしてもよい。   As another form, the document type automatic determination unit 23 may be provided in a computer. Then, the computer analyzes the RGB signal of the image data transmitted from the flat head scanner (including the color image input device 40, the A / D conversion unit 21, and the shading correction unit 22) to perform image processing. It may be.

また、例えば、フラットヘッドスキャナ2の操作部(図示せず)の表示パネルに、上記カラー画像処理装置20’による画像処理を行うか否かを入力する選択部(図示せず)を設けてもよい。そして、上記選択部に入力された画像処理命令により、上記原稿画像が記録された紙の種類に応じて画像処理の種類を変えるように信号を出力する構成にしてもよい。   Further, for example, a selection unit (not shown) for inputting whether or not to perform image processing by the color image processing apparatus 20 ′ may be provided on the display panel of the operation unit (not shown) of the flat head scanner 2. Good. A signal may be output so that the type of image processing is changed according to the type of paper on which the original image is recorded, in accordance with an image processing command input to the selection unit.

なお、上記原稿種別自動判別部23には、各ブロック(インクジェット光沢紙原稿判別部10、原稿判別部11、及び総合判定部12)が、ハードウェアロジックによって実現されてもよいし、次のようにCPUを用いてソフトウェアによって実現されてもよい。   Each block (inkjet glossy paper document determining unit 10, document determining unit 11, and comprehensive determining unit 12) may be realized by hardware logic in the automatic document type determining unit 23, as described below. Alternatively, it may be realized by software using a CPU.

すなわち、カラー画像処理装置20・20’の原稿種別自動判別部23は、各ブロックの機能を実現する画像処理方法の命令を実行するCPU(central processing unit)、上記プログラムを格納したROM(read only memory)、上記プログラムを展開するRAM(random access memory)、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている。そして、原稿種別自動判別部23は、上述した機能を実現するソフトウェアであるカラー画像処理装置20・20’の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、原稿種別自動判別部23に供給し、そのコンピュータ(またはCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによっても、実現可能である。この場合、記録媒体から読み出されたプログラムコード自体が上述した機能を実現することになり、そのプログラムコードを記録した記録媒体は本発明を構成することになる。   That is, the document type automatic discrimination unit 23 of the color image processing apparatus 20 or 20 ′ includes a CPU (central processing unit) that executes an instruction of an image processing method for realizing the function of each block, and a ROM (read only) that stores the program. memory), a RAM (random access memory) for expanding the program, a storage device (recording medium) such as a memory for storing the program and various data, and the like. The automatic document type discrimination unit 23 can read the program code (execution format program, intermediate code program, source program) of the control program of the color image processing apparatuses 20 and 20 ′, which is software that realizes the above-described functions, by a computer. This can also be realized by supplying the recording medium recorded in (1) to the automatic document type discrimination unit 23 and reading and executing the program code recorded on the recording medium by the computer (or CPU or MPU). In this case, the program code itself read from the recording medium realizes the above-described function, and the recording medium recording the program code constitutes the present invention.

このように本明細書において、手段(部)とは必ずしも物理的手段を意味するものではなく、各手段の機能がソフトウェアによって実現される場合も包含する。さらに、1つの手段の機能が、2つ以上の物理的手段により実現されても、もしくは、2つ以上の手段の機能が、1つの物理的手段により実現されてもよい。   Thus, in this specification, the means (unit) does not necessarily mean a physical means, but includes cases where the function of each means is realized by software. Further, the function of one means may be realized by two or more physical means, or the functions of two or more means may be realized by one physical means.

すなわち、本実施の形態において、コンピュータに実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体に、原稿画像に光沢があるか否かおよび原稿種別の判別を行う画像処理方法を記録するものとすることもできる。   That is, in the present embodiment, an image processing method for determining whether a document image is glossy and determining a document type is recorded on a computer-readable recording medium in which a program to be executed by a computer is recorded. You can also

この結果、光沢および原稿種別の判別を行う画像処理方法を行うプログラムを記録した記録媒体を持ち運び自在に提供することができる。   As a result, it is possible to provide a portable recording medium on which a program for performing an image processing method for determining glossiness and document type is recorded.

なお、本実施の形態では、この記録媒体としては、マイクロコンピュータで処理が行われるために図示していないメモリ、例えばROMのようなもの自体がプログラムメディアであっても良いし、また、図示していないが外部記憶装置としてプログラム読み取り装置が設けられ、そこに記録媒体を挿入することで読み取り可能なプログラムメディアであっても良い。   In the present embodiment, as the recording medium, a memory (not shown) such as a ROM itself may be a program medium because processing is performed by a microcomputer. However, it may be a program medium provided with a program reading device as an external storage device and readable by inserting a recording medium therein.

いずれの場合においても、格納されているプログラムはマイクロプロセッサがアクセスして実行させる構成であっても良いし、あるいは、いずれの場合もプログラムを読み出し、読み出されたプログラムは、マイクロコンピュータの図示されていないプログラム記憶エリアにダウンロードされて、そのプログラムが実行される方式であってもよい。このダウンロード用のプログラムは予め本体装置に格納されているものとする。   In any case, the stored program may be configured to be accessed and executed by the microprocessor, or in any case, the program is read and the read program is illustrated in the microcomputer. The program may be downloaded to a non-program storage area and executed. It is assumed that this download program is stored in the main device in advance.

ここで、上記プログラムメディアは、本体と分離可能に構成される記録媒体であり、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスクやハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD等の光ディスクのディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read Only Memory)、フラッシュROM等による半導体メモリを含めた固定的にプログラムを担持する媒体であっても良い。   Here, the program medium is a recording medium configured to be separable from the main body, such as a tape system such as a magnetic tape or a cassette tape, a magnetic disk such as a floppy (registered trademark) disk or a hard disk, or a CD-ROM / MO /. Optical discs such as MD / DVD, IC cards (including memory cards) / optical cards, mask ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash It may be a medium that carries a fixed program including a semiconductor memory such as a ROM.

また、本実施の形態においては、インターネットを含む通信ネットワークを接続可能なシステム構成であることから、通信ネットワークからプログラムをダウンロードするように流動的にプログラムを担持する媒体であっても良い。なお、このように通信ネットワークからプログラムをダウンロードする場合には、そのダウンロード用のプログラムは予め本体装置に格納しておくか、あるいは別な記録媒体からインストールされるものであっても良い。   In the present embodiment, since the system configuration is such that a communication network including the Internet can be connected, a medium that fluidly carries the program so as to download the program from the communication network may be used. When the program is downloaded from the communication network in this way, the download program may be stored in the main device in advance or may be installed from another recording medium.

上記記録媒体は、デジタルカラー画像形成装置やコンピュータシステムに備えられるプログラム読み取り装置により読み取られることで上述した画像処理方法が実行される。   The recording medium is read by a program reading device provided in a digital color image forming apparatus or a computer system, whereby the above-described image processing method is executed.

コンピュータシステム(画像形成装置)は、フラットベッドスキャナ・フィルムスキャナ・デジタルカメラなどの画像入力装置、所定のプログラムがロードされることにより上記画像処理方法など様々な処理が行われるコンピュータ、コンピュータの処理結果を表示するCRTディスプレイ・液晶ディスプレイなどの画像表示装置およびコンピュータの処理結果を紙などに出力するプリンタより構成される。さらには、ネットワークを介してサーバーなどに接続するための通信手段としてのネットワークカードやモデムなどが備えられる。   A computer system (image forming apparatus) includes an image input device such as a flatbed scanner, a film scanner, and a digital camera, a computer that performs various processes such as the above-described image processing method by loading a predetermined program, and a processing result of the computer Is composed of an image display device such as a CRT display or a liquid crystal display, and a printer that outputs the processing results of the computer to paper or the like. Furthermore, a network card, a modem, and the like are provided as communication means for connecting to a server or the like via a network.

また、本発明は、以下のように表現することもできる。つまり、本発明の画像処理装置は、入力画像データより原稿種別を自動的に判定する原稿種別自動判別部を備え、この判定結果に基づいて最適な処理を施す画像処理装置において、原稿種別自動判別部は、入力画像データより、原稿のヒストグラムを求めるヒストグラム生成部を備え、前記ヒストグラム生成部より生成されたヒストグラムの、予め定められる濃度領域の特徴量を用いて予め定められる濃度領域の特徴量を算出し、予め定められる条件を充たすか否かを判定するインクジェット光沢紙原稿判別部を備えていることを特徴としている。   The present invention can also be expressed as follows. In other words, the image processing apparatus of the present invention includes an automatic document type determination unit that automatically determines a document type from input image data. In the image processing apparatus that performs an optimal process based on the determination result, an automatic document type determination is performed. The unit includes a histogram generation unit that obtains a histogram of the document from the input image data, and uses a predetermined density region feature amount of the histogram generated by the histogram generation unit to determine a predetermined density region feature amount. An inkjet glossy paper document discrimination unit that calculates and determines whether or not a predetermined condition is satisfied is provided.

これによれば、インクジェット光沢紙原稿判別部において、原稿の低輝度部(高濃度部)のヒストグラム情報を用いて、原稿種別を認識する、あるいは、条件を充たすか否かの信号(有効信号、非有効信号)を出力することで、原稿種別の認識精度を向上させることができる。また、原稿に適した画像処理を行うことで画質を向上させることができる。   According to this, the inkjet glossy paper document discrimination unit uses the histogram information of the low brightness part (high density part) of the document to recognize the document type or whether the condition is satisfied (valid signal, By outputting (invalid signal), the recognition accuracy of the document type can be improved. Further, image quality can be improved by performing image processing suitable for a document.

また、本発明の画像処理装置は、さらに、原稿種別自動判別部は、入力画像データより特徴量を抽出して文字原稿・印刷写真原稿・印画紙写真原稿等の原稿種別の判別を行う原稿判別部を備え、原稿判別部での判別結果に少なくとも印刷写真原稿が含まれる場合、前記をインクジェット光沢紙原稿判別部の結果を参照して原稿種別の判別を行う総合判定部が備えられることを特徴とすることもでき、これによりインクジェット光沢紙原稿との判別における精度向上が図れる。   In the image processing apparatus of the present invention, the document type automatic discrimination unit further extracts a feature amount from the input image data and discriminates a document type such as a character document, a printed photo document, or a photographic paper photo document. And a comprehensive determination unit that determines the type of document by referring to the result of the inkjet glossy paper document determination unit when at least a printed photo document is included in the determination result of the document determination unit. Accordingly, the accuracy in discrimination from the inkjet glossy paper document can be improved.

また、本発明の画像処理方法は、入力画像データより原稿種別を自動的に判定し、この判定結果に基づいて最適な処理を施す画像処理方法において、入力画像データより特徴量を抽出して文字原稿・印刷写真原稿・印画紙写真原稿等の原稿種別の判別を行う原稿判別工程と、原稿のヒストグラムを求め生成されたヒストグラムの、予め定められる濃度領域の特徴量を算出し、予め定められる条件を充たすか否かを判定する工程に原稿種別の判別を行うことを特徴としている。(効果)
これによれば、原稿の低輝度部(高濃度部)のヒストグラム情報を用いて、原稿種別を認識する、あるいは、条件を充たすか否かの信号(有効信号、非有効信号)を出力することで、原稿種別の認識精度を向上させることができる。また、原稿に適した画像処理を行うことで画質を向上させることができる。
The image processing method of the present invention automatically determines the document type from the input image data, and extracts the feature amount from the input image data in the image processing method for performing the optimum processing based on the determination result. A document determination step for determining a document type such as a document, a printed photograph document, a photographic paper photograph document, and the like, a feature value of a predetermined density region of a histogram generated by obtaining a histogram of the document, and a predetermined condition The document type is determined in the step of determining whether or not the above is satisfied. (effect)
According to this, using the histogram information of the low luminance portion (high density portion) of the document, the document type is recognized, or a signal indicating whether the condition is satisfied (valid signal, invalid signal) is output. Thus, the recognition accuracy of the document type can be improved. Further, image quality can be improved by performing image processing suitable for a document.

電子写真プロセスやインクジェット方式を用いた、カラー画像を高画質に再現し得るフルカラーのデジタル複写機やデジタル複合機に適用でき、フラットヘッドスキャナ等の用途にも適用できる。   It can be applied to full-color digital copiers and digital multifunction peripherals that can reproduce color images with high image quality using an electrophotographic process or an inkjet method, and can also be applied to uses such as flat head scanners.

本発明の実施の一形態を示すもので、原稿種別自動判別部の概略の構成を示すブロック図である。1, showing an embodiment of the present invention, is a block diagram showing a schematic configuration of an automatic document type discrimination unit. FIG. 上記原稿種別自動判別部を画像処理装置に備えるデジタルカラー複写機(画像形成装置)の概略の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a schematic configuration of a digital color copying machine (image forming apparatus) provided with an automatic document type determination unit in an image processing apparatus. 上記原稿種別自動判別部の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the said original classification automatic discrimination | determination part. 上記原稿種別自動判別部におけるインクジェット光沢紙原稿判別部の構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of an inkjet glossy paper document determination unit in the document type automatic determination unit. インクジェット光沢紙原稿の輝度ヒストグラムの一例を示す説明図である。It is explanatory drawing which shows an example of the brightness | luminance histogram of an inkjet glossy paper original document. (a)〜(f)共に、インクジェット光沢紙原稿判別部において用いる輝度区分Nの求め方を示す説明図である。(A)-(f) is explanatory drawing which shows how to obtain | require the brightness | luminance classification N used in an inkjet glossy paper original discrimination | determination part. インクジェット光沢紙原稿判別部において用いる閾値Aの求め方を示す説明図である。It is explanatory drawing which shows how to obtain | require the threshold value A used in an inkjet glossy paper original discrimination | determination part. インクジェット光沢紙原稿判別処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of an inkjet glossy paper original discrimination | determination process. 原稿判別処理の手順を示すフローチャートを示す図である。It is a figure which shows the flowchart which shows the procedure of a document discrimination | determination process. 原稿種別判定における各原稿種別の領域の分布を示す説明図である。FIG. 6 is an explanatory diagram showing a distribution of areas for each document type in document type determination. 総合判定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a comprehensive determination process. 本発明の実施の他の形態を示すもので、原稿種別自動判別部を画像処理装置に備えるフラットヘッドスキャナ(画像形成装置)の概略の構成を示すブロック図である。FIG. 10 is a block diagram illustrating a schematic configuration of a flat head scanner (image forming apparatus) that includes another embodiment of the present invention and includes an automatic document type determination unit in an image processing apparatus.

符号の説明Explanation of symbols

1 デジタルカラー複写機(画像形成装置)
2 フラットヘッドスキャナ(画像読取装置)
10 インクジェット光沢紙原稿判別部(インクジェット原稿判別手段)
11 原稿判別部
12 総合判定部(インクジェット原稿判別手段・総合判定手段)
15 輝度変換部
16 ヒストグラム生成部(ヒストグラム生成手段)
17 ダイナミックレンジ判定部(判定手段)
20 画像処理装置
20’ 画像処理装置
23 原稿種別自動判別部(原稿種別判別手段)
40 画像入力装置(読取手段)
41 カラー画像出力装置(出力手段)
1 Digital color copier (image forming device)
2 Flat head scanner (image reader)
10. Inkjet glossy paper document discrimination section (inkjet document discrimination means)
11 Document Discriminating Unit 12 Comprehensive Determining Unit (Inkjet Document Discriminating Unit / Comprehensive Determination Unit)
15 luminance conversion unit 16 histogram generation unit (histogram generation means)
17 Dynamic range determination unit (determination means)
20 Image processing device 20 'Image processing device 23 Document type automatic determination unit (document type determination means)
40 Image input device (reading means)
41 Color image output device (output means)

Claims (8)

原稿を読み取って得られる画像データに基づいて、画素の濃淡を示す濃淡値と画素数との関係を示すヒストグラムを作成する第1のステップと、
該第1のステップにて作成されたヒストグラムより、予め定められる濃淡値の領域の特徴量を求め、求めた特徴量に基づいて、上記原稿がインクジェット光沢紙原稿であるか否かを判定する第2のステップとを含むことを特徴とするインクジェット原稿判別方法。
A first step of creating a histogram indicating a relationship between a gray value indicating the pixel density and the number of pixels based on image data obtained by reading a document;
A feature value of a predetermined shade value region is obtained from the histogram created in the first step, and based on the obtained feature value, it is determined whether or not the document is an inkjet glossy paper document. And an ink jet document discrimination method comprising the steps of:
上記第2ステップにてインクジェット光沢紙原稿であると判定されると、上記画像データに基づく原稿種別の判定結果が印刷写真を含む原稿であるか否かを判定し、該印刷結果が印刷写真を含む原稿である場合に、上記第2ステップの判定を正しいとする第3のステップをさらに含むことを特徴とする請求項1に記載のインクジェット原稿判別方法。   If it is determined in the second step that the document is an inkjet glossy paper document, it is determined whether the document type determination result based on the image data is a document including a printed photograph, and the printed result is a printed photograph. The method according to claim 1, further comprising a third step that corrects the determination in the second step when the document includes a document. 原稿を読み取って得られる画像データに基づいて、画素の濃淡を示す濃淡値と画素数との関係を示すヒストグラムを作成するヒストグラム生成手段と、
該ヒストグラム生成手段にて作成したヒストグラムより、予め定められる濃淡値の領域の特徴量を求め、求めた特徴量に基づいて、上記原稿がインクジェット光沢紙原稿であるか否かを判定する判定手段とを含むインクジェット原稿判別手段を備えたことを特徴とする画像処理装置。
Histogram generation means for creating a histogram indicating the relationship between the gray value indicating the pixel density and the number of pixels based on the image data obtained by reading the document;
Determining means for determining a feature value of a predetermined shade value area from a histogram created by the histogram generating means, and determining whether the document is an inkjet glossy paper document based on the determined feature value; An image processing apparatus comprising an ink jet document discrimination means including
上記インクジェット原稿判別手段は、上記画像データに基づく原稿種別の判定結果が印刷写真を含む原稿であるか否かを判定し、該判定結果が印刷写真を含む原稿である場合に、上記判定手段によるインクジェット光沢紙原稿であるとの判定を有効とする総合判定手段をさらに含むことを特徴とする請求項2に記載の画像処理装置。   The inkjet document determination means determines whether or not the document type determination result based on the image data is a document including a printed photograph, and when the determination result is a document including a printed photograph, The image processing apparatus according to claim 2, further comprising comprehensive determination means for validating determination that the document is an inkjet glossy paper document. 原稿を読み取る読取手段と、該読取手段にて読み取られた画像データが入力される画像処理装置とを含む画像読取装置において、
上記画像処理装置として、請求項3又は4に記載の画像処理装置を備えていることを特徴とする画像読取装置。
In an image reading apparatus including a reading unit that reads a document and an image processing apparatus to which image data read by the reading unit is input,
An image reading apparatus comprising the image processing apparatus according to claim 3 or 4 as the image processing apparatus.
原稿を読み取る読取手段と、該読取手段にて読み取られた画像データが入力され、該画像データに画像処理を施す画像処理装置と、該画像処理装置にて画像処理された画像データを出力する出力手段とを含む画像形成装置において、
上記画像処理装置として、請求項3又は4に記載の画像処理装置を備えていることを特徴とする画像形成装置。
Reading means for reading a document, image data read by the reading means, an image processing apparatus for performing image processing on the image data, and output for outputting image data processed by the image processing apparatus An image forming apparatus including:
An image forming apparatus comprising the image processing apparatus according to claim 3 or 4 as the image processing apparatus.
請求項1又は2に記載のインクジェット原稿判別方法における各ステップをコンピュータに実行させるためのインクジェット原稿判別プログラム。   An inkjet document discrimination program for causing a computer to execute each step in the inkjet document discrimination method according to claim 1. 請求項7に記載のインクジェット原稿判別プログラムを記録したコンピュータ読取可能な記録媒体。   A computer-readable recording medium on which the inkjet document discrimination program according to claim 7 is recorded.
JP2003375917A 2003-11-05 2003-11-05 Ink jet original discriminating method, image processing apparatus, image reading apparatus, image forming apparatus, ink jet original discriminating program and recording medium Withdrawn JP2005142740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003375917A JP2005142740A (en) 2003-11-05 2003-11-05 Ink jet original discriminating method, image processing apparatus, image reading apparatus, image forming apparatus, ink jet original discriminating program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003375917A JP2005142740A (en) 2003-11-05 2003-11-05 Ink jet original discriminating method, image processing apparatus, image reading apparatus, image forming apparatus, ink jet original discriminating program and recording medium

Publications (1)

Publication Number Publication Date
JP2005142740A true JP2005142740A (en) 2005-06-02

Family

ID=34687154

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003375917A Withdrawn JP2005142740A (en) 2003-11-05 2003-11-05 Ink jet original discriminating method, image processing apparatus, image reading apparatus, image forming apparatus, ink jet original discriminating program and recording medium

Country Status (1)

Country Link
JP (1) JP2005142740A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007081747A (en) * 2005-09-13 2007-03-29 Ricoh Co Ltd Image processing apparatus
JP2017121022A (en) * 2015-12-28 2017-07-06 日本テレビ放送網株式会社 Image signal identification apparatus, receiver, image signal identification method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007081747A (en) * 2005-09-13 2007-03-29 Ricoh Co Ltd Image processing apparatus
JP2017121022A (en) * 2015-12-28 2017-07-06 日本テレビ放送網株式会社 Image signal identification apparatus, receiver, image signal identification method, and program

Similar Documents

Publication Publication Date Title
JP4166744B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP4495197B2 (en) Image processing apparatus, image forming apparatus, image processing program, and recording medium for recording image processing program
US8041112B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, image processing program, computer-readable storage medium for storing the image processing program with segmentation and density correction optimization
JP4496239B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
JP4531606B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP4170353B2 (en) Image processing method, image processing apparatus, image reading apparatus, image forming apparatus, program, and recording medium
EP1524842A2 (en) System and method for generating black and white reproductions of color documents
JP4402090B2 (en) Image forming apparatus, image forming method, program, and recording medium
JP2002232708A (en) Image processing device, image forming device using the same, and image processing method
JP2008103987A (en) Image processor
JP2008205652A (en) Image processing method, image processing apparatus, image forming apparatus, program, and recording medium
JP2005286571A (en) Image processing apparatus, image forming apparatus provided with image processing apparatus, image processing method, image processing program, and recording medium with image processing program recorded thereon
JP2007088741A (en) Image processing apparatus and image processing method
JP7266462B2 (en) IMAGE PROCESSING APPARATUS, IMAGE FORMING APPARATUS, IMAGE PROCESSING METHOD AND PROGRAM
JP7123752B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing 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
JP4149368B2 (en) Image processing method, image processing apparatus and image forming apparatus, computer program, and computer-readable recording medium
JP2005142740A (en) Ink jet original discriminating method, image processing apparatus, image reading apparatus, image forming apparatus, ink jet original discriminating program and recording medium
JP2006270148A (en) Image processing method, image processor and image forming apparatus
JP2004248103A (en) Image processing device, image reading device, image forming device, image processing method, image processing program, and computer readable record medium recording the same
JP2005027110A (en) Image processor, image reader provided with the same, image forming device, image processing method, image processing program and recording medium
JP4958626B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer 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
JP4334504B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP2010283464A (en) Image processor, and image processing method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070109