JPH09261461A - Color image processor and original judging device - Google Patents

Color image processor and original judging device

Info

Publication number
JPH09261461A
JPH09261461A JP8064538A JP6453896A JPH09261461A JP H09261461 A JPH09261461 A JP H09261461A JP 8064538 A JP8064538 A JP 8064538A JP 6453896 A JP6453896 A JP 6453896A JP H09261461 A JPH09261461 A JP H09261461A
Authority
JP
Japan
Prior art keywords
original
document
error diffusion
diffusion method
periodicity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8064538A
Other languages
Japanese (ja)
Inventor
Satoshi Ouchi
敏 大内
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP8064538A priority Critical patent/JPH09261461A/en
Publication of JPH09261461A publication Critical patent/JPH09261461A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To execute processing suited to whether an original is an error diffused original or not by prescreening an image to precisely judge whether or not the original is the error diffused original. SOLUTION: An original judging device judges the original by noticing next features in an error diffused original or a photographic paper original. (1) An error diffused original is formed from small dots such as a printed original consisting of dots but is not periodic basically. In addition a photographic paper does not include a specific period basically. (2) At the time of inputting an error diffused original by means of the multi-level scanner of about 400 dpi, e.g. a local signal changes very much. This is a distinctive feature different from that of a photographic paper photograph which is similarly provided with no periodicity. Based on these features, an original is judged to be an error diffused original when periodicity is small and the original includes many areas with large rolling. On the other hand the original is judged to be a photographic paper original when its periodicity is small and the original includes little area with large rolling.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、入力原稿の種類を
高精度に判定するとともに、該原稿種に最適な画像再生
処理を施すように構成されたカラー画像処理装置および
原稿判定装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image processing apparatus and a document determination apparatus which are configured to determine the type of an input document with high accuracy and to perform an image reproduction process optimal for the document type.

【0002】[0002]

【従来の技術】通常、カラー複写機においては、原稿種
に応じた複数のモードを備えている。例えば、文字原稿
モード、文字/写真モード、写真モード、さらに特殊な
モードとして地図モードなどがある。ここでモードとし
て「写真」、「文字/写真」を選択した場合、複写機内
部では一般に、網点による印刷写真を高画質に再生する
ように処理される場合が多い。印刷原稿は、網点ドット
が周期的に並び、これとスキャナでのサンプリング、あ
るいは周期的なディザとの干渉により、非常に目障りな
モアレという現象が発生する可能性がある。
2. Description of the Related Art Generally, a color copying machine has a plurality of modes according to the type of original. For example, there are a character original mode, a character / photo mode, a photo mode, and a special mode such as a map mode. When “photograph” or “text / photograph” is selected as the mode here, in many cases, the printing photograph with halftone dots is generally processed so as to be reproduced in high quality inside the copying machine. In a printed document, halftone dots are arranged periodically, and due to interference between the dots and sampling by a scanner or periodic dither, a very disturbing phenomenon of moire may occur.

【0003】このような現象を考慮して、カラー複写機
ではスキャナから得られた信号に対してモアレ除去用の
所謂平滑化フィルタ処理を施している。この平滑化フィ
ルタ処理は、モアレ除去を行う一方で、原稿のビジー情
報(高域情報)を消失させる。従って、特定の周期性を
持たない原稿に対してモアレ除去用の平滑化を施すこと
は適切な方法ではない。このような網点原稿以外の場合
は、従来の技術ではユーザーがモードを切り替えたり、
画質調整キーを操作して空間フィルタを選択することに
より対応していた。
In consideration of such a phenomenon, in a color copying machine, a signal obtained from a scanner is subjected to so-called smoothing filter processing for removing moire. The smoothing filter process removes the busy information (high frequency information) of the document while removing moire. Therefore, it is not an appropriate method to perform smoothing for removing moire on a document that does not have a specific periodicity. In the case of a document other than such a halftone dot document, in the conventional technique, the user can switch the mode,
This was handled by operating the image quality adjustment key and selecting the spatial filter.

【0004】このような例として、特公平6−8125
1号公報に記載された画像処理装置がある。この装置
は、原稿の下地のヒストグラムによって2値化処理の切
り替えを行うものである。本来この装置は、文字原稿で
あるか、特に印画紙のような写真原稿であるかを判定す
る装置であるが、例えば原稿の下地情報を基に印刷原稿
と、後述する誤差拡散原稿とを分類しようとしても、原
稿下地分布は基本的に似たような分布になる可能性が高
く、また印刷原稿や誤差拡散原稿のような2値的情報か
らなる原稿は全て文字として判断される。すなわち、結
果として文字と印刷による絵柄と誤差拡散法による絵柄
は識別できない。そして、スキャナの解像度が進めばな
お一層、識別が困難になる。
As such an example, Japanese Patent Publication No. 6-8125
There is an image processing apparatus described in Japanese Patent Laid-Open No. This device switches the binarization processing according to the histogram of the background of the original. Originally, this device is a device for determining whether it is a character original or a photographic original such as photographic paper. For example, a print original and an error diffusion original described later are classified based on the background information of the original. Even if an attempt is made, the original background distribution is likely to have a basically similar distribution, and all originals including binary information, such as print originals and error diffusion originals, are judged as characters. That is, as a result, it is impossible to distinguish the character, the design by the printing, and the design by the error diffusion method. Then, as the resolution of the scanner advances, the identification becomes more difficult.

【0005】[0005]

【発明が解決しようとする課題】ところで、近年インク
ジェットに代表される低価格な2値プリンタの普及が目
覚ましい。これらの多くは解像度と階調性を両立でき
る、誤差拡散法、別名、平均誤差最小法と呼ばれる処理
によって2値画像を再生している。そして、誤差拡散法
で処理された原稿(以降、誤差拡散原稿という)が、カ
ラー複写機の入力原稿として扱われつつある。誤差拡散
原稿は最近、急激に増えてきたものであり、従来の装置
では、これらを積極的に認識し最適な処理を施すもので
はない。例えば、本出願人は先に、原稿種に応じた処理
を施す画像処理装置を種々提案したが、この提案した装
置では、例えば全面絵柄からなる誤差拡散原稿について
は、文字原稿、印画紙原稿、印刷原稿の何れでもない、
すなわち白紙原稿として処理されてしまう。
By the way, in recent years, low-priced binary printers represented by ink jet have been remarkably spread. Most of these reproduce a binary image by a process called an error diffusion method, which is also known as an average minimum error method, which can achieve both resolution and gradation. A document processed by the error diffusion method (hereinafter referred to as an error diffusion document) is being treated as an input document of a color copying machine. The number of error diffusion documents has increased rapidly in recent years, and conventional devices do not actively recognize these and perform optimum processing. For example, the present applicant has previously proposed various image processing apparatuses that perform processing according to the type of original document. In this proposed apparatus, for example, for an error diffusion original document having a full-screen pattern, a character original document, a photographic paper original document, It is neither a printed manuscript,
That is, it is processed as a blank document.

【0006】本発明は上記した事情を考慮してなされた
もので、本発明の目的は、画像をプレスキャンすること
により、注目の原稿が誤差拡散原稿であるか否かを高精
度に判定し、それに適した処理を施すようにしたカラー
画像処理装置および原稿判定装置を提供することにあ
る。
The present invention has been made in consideration of the above circumstances, and an object of the present invention is to pre-scan an image to determine with high accuracy whether or not a document of interest is an error diffusion document. An object of the present invention is to provide a color image processing device and a document determination device that perform a process suitable for it.

【0007】本発明の他の目的は、上記した原稿判定装
置を利用して、注目原稿が印画紙原稿であるか否かを判
定し、印画紙原稿であると判定したとき、印刷原稿とは
異なる印画紙原稿用の画質向上処理、例えば印画紙原稿
用色補正処理などを施すようにしたカラー画像処理装置
を提供することにある。
Another object of the present invention is to determine whether or not the document of interest is a photographic paper document by using the above-mentioned document deciding device, and when it is judged that it is a photographic paper document, it means a print document. It is an object of the present invention to provide a color image processing apparatus that performs image quality improvement processing for different photographic paper originals, for example, color correction processing for photographic paper originals.

【0008】[0008]

【課題を解決するための手段】前記目的を達成するため
に、請求項1記載の発明では、原稿をデジタル的に読み
出し、原稿種に対応したフィルタリング処理を施す複数
の空間フィルタ手段を備えたカラー画像処理装置におい
て、前記読み出した原稿が誤差拡散方式による出力画像
であるか否かを判定する手段と、誤差拡散方式による出
力画像であると判定されたとき、該誤差拡散方式による
出力画像に適したフィルタリング処理を施す空間フィル
タ手段とを備えたことを特徴としている。
In order to achieve the above object, according to the invention of claim 1, a color is provided which has a plurality of spatial filter means for digitally reading an original document and performing filtering processing corresponding to the original document type. In the image processing device, means for determining whether or not the read original is an output image by the error diffusion method, and suitable for the output image by the error diffusion method when it is determined that the read original is the output image by the error diffusion method And a spatial filter means for performing the filtering process.

【0009】請求項2記載の発明では、原稿をデジタル
的に読み出し、原稿種に対応したディザ処理を施す複数
のディザ処理手段を備えたカラー画像処理装置におい
て、前記読み出した原稿が誤差拡散方式による出力画像
であるか否かを判定する手段と、誤差拡散方式による出
力画像であると判定されたとき、該誤差拡散方式による
出力画像に適したディザ処理を施すディザ処理手段とを
備えたことを特徴としている。
In a second aspect of the present invention, in a color image processing apparatus having a plurality of dither processing means for digitally reading an original and performing dither processing corresponding to the original type, the read original is of an error diffusion type. And a dither processing unit for performing a dither process suitable for the output image of the error diffusion method when it is determined to be the output image of the error diffusion method. It has a feature.

【0010】請求項3記載の発明では、前記ディザ処理
手段は誤差拡散法によりディザを施すことを特徴として
いる。
The invention according to claim 3 is characterized in that the dither processing means performs dither by an error diffusion method.

【0011】請求項4記載の発明では、原稿をデジタル
的に読み出し、該原稿の種類を判定する原稿判定装置に
おいて、前記原稿の周期性を検出する第1の手段と、局
所的な信号の変化の度合い(以下、起伏度)を検出する
第2の手段と、該第1、第2の手段の検出結果を基に、
前記原稿が誤差拡散方式による原稿であるか否かを判定
する手段とを備えたことを特徴としている。
According to a fourth aspect of the invention, in a document determining apparatus for digitally reading a document and determining the type of the document, the first means for detecting the periodicity of the document and a local signal change. Based on the detection results of the second means for detecting the degree (hereinafter, undulation) and the first and second means,
And a means for determining whether or not the original is an error diffusion type original.

【0012】請求項5記載の発明では、前記周期性が所
定値よりも小さく、かつ、前記起伏度の大きい領域が多
いとき、前記原稿は誤差拡散方式による原稿であると判
定することを特徴としている。
According to a fifth aspect of the present invention, when the periodicity is smaller than a predetermined value and there are many areas with large undulations, the original is determined to be an error diffusion original. There is.

【0013】請求項6記載の発明では、前記周期性が所
定値よりも小さく、かつ、前記起伏度の大きい領域が少
ないとき、前記原稿は印画紙原稿であると判定すること
を特徴としている。
According to a sixth aspect of the present invention, when the periodicity is smaller than a predetermined value and there are few areas of high undulation, the original is determined to be a photographic paper original.

【0014】請求項7記載の発明では、前記起伏度は所
定サイズの画素ブロックから算出し、注目ブロックとそ
の周囲ブロックの起伏度を基に、該注目ブロックの起伏
度の判定を補正することを特徴としている。
According to a seventh aspect of the present invention, the undulation is calculated from a pixel block of a predetermined size, and the determination of the undulation of the target block is corrected based on the undulations of the target block and its surrounding blocks. It has a feature.

【0015】[0015]

【発明の実施の形態】以下、本発明の一実施例を図面を
用いて具体的に説明する。 〈原稿判定装置〉図1は、本発明の原稿判定装置の構成
を示す。すなわち、画像入力装置1から入力された原稿
の周期性を検出する周期性検出回路2(その程度を表わ
すパラメータがM)と、起伏の大きなブロックを検出
し、そのブロックの計数値(N)を算出する起伏度検出
回路3と、該検出回路の出力M,Nと所定の閾値a,b
とを比較する比較器4、5と、比較器の出力m,nを基
に原稿を判定する総合判定部6とを備えている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be specifically described below with reference to the drawings. <Original Document Judging Device> FIG. 1 shows the configuration of the original document judging device of the present invention. That is, the periodicity detection circuit 2 (the parameter indicating the degree thereof is M) that detects the periodicity of the document input from the image input device 1 and the block with large undulations are detected, and the count value (N) of the block is calculated. The undulation degree detection circuit 3 to be calculated, the outputs M and N of the detection circuit and predetermined threshold values a and b
Comparators 4 and 5 for comparing the above and a comprehensive judgment unit 6 for judging the document based on the outputs m and n of the comparators.

【0016】画像入力装置1からの入力信号としては、
例えば400dpi、8ビットのスキャナからの輝度信
号や、カラースキャナであれば反射率リニアなグリーン
信号を用いて、原稿の判定を行う。
As an input signal from the image input device 1,
For example, an original is determined by using a luminance signal from a scanner of 400 dpi and 8 bits, or a green signal having a linear reflectance in the case of a color scanner.

【0017】また、本発明の原稿判定装置では、誤差拡
散原稿や印画紙原稿を判定するために、誤差拡散原稿あ
るいは印画紙原稿における以下のような特徴に注目して
判定を行っている。すなわち、 (1)誤差拡散原稿は、網点からなる印刷原稿のように
小さなドットから形成されている。ただし、基本的には
周期性はない。意図的に若干の周期を入れるようなケー
スもあるが、それでも印刷の網点周期のようなパワーの
大きいものではない。また、印画紙原稿は基本的に特定
の周期を含まない。
Further, in the document determination apparatus of the present invention, in order to determine the error diffusion document or the photographic paper document, the determination is made by paying attention to the following features of the error diffusion document or the photographic paper document. That is, (1) the error diffusion original is formed of small dots like a printed original consisting of halftone dots. However, there is basically no periodicity. There are cases in which some cycles are intentionally inserted, but the power is still not as great as the halftone dot cycle of printing. Further, the photographic paper document basically does not include a specific cycle.

【0018】(2)誤差拡散原稿は、例えば400dp
i程度の多値スキャナで入力した場合、局所的な信号の
変化が非常に大きい。このことは、同じように周期を持
たない印画紙写真とは明らかに特徴が異なる。
(2) The error diffusion original is, for example, 400 dp
When input with a multi-level scanner of about i, local signal changes are very large. This is clearly different from photographic paper photographs, which also have no period.

【0019】以上の特徴を基に、本発明の原稿判定装置
では、周期性が小さく、原稿に大きな起伏を持つ領域が
多い場合に誤差拡散原稿であると判定する。一方、周期
性が小さく、原稿に大きな起伏を持つ領域が少ない場合
に印画紙原稿であると判定する。
On the basis of the above characteristics, the document determination apparatus of the present invention determines that the document is an error diffusion document when the periodicity is small and the document has a large undulation area. On the other hand, when the periodicity is small and there are few areas in the original having a large undulation, it is determined that the original is a printing paper original.

【0020】図2は、周期性検出回路の構成を示す。こ
こではDCT(離散的コサイン変換)を利用して周期性
の検出を行うものであり、平均DCT係数算出部21
と、周期パラメータ算出部22から構成される。なお、
DCTの詳細は、例えば特開平4−21265号公報な
どに記載されている。
FIG. 2 shows the configuration of the periodicity detection circuit. Here, the DCT (Discrete Cosine Transform) is used to detect the periodicity, and the average DCT coefficient calculation unit 21
And a period parameter calculation unit 22. In addition,
Details of the DCT are described in, for example, Japanese Patent Laid-Open No. 21265/1992.

【0021】DCTは8画素×8画素のブロック単位で
行い、例えば一般的なA4サイズを400dpiで読み
込んだ場合の画素数(4752×3360画素)であれ
ば、594×420ブロック分の処理を行うことにな
る。図3は、平均DCT係数算出部の処理フローチャー
トである。また、図4は、各DCT係数の平均化の様子
を示す図である。
DCT is performed in block units of 8 pixels × 8 pixels. For example, if the number of pixels when reading a general A4 size at 400 dpi (4752 × 3360 pixels), processing for 594 × 420 blocks is performed. It will be. FIG. 3 is a processing flowchart of the average DCT coefficient calculation unit. In addition, FIG. 4 is a diagram showing how DCT coefficients are averaged.

【0022】8ライン分の画像データをセットし(ステ
ップ101)、ブロック内の画素値の平均値Aveを算
出する(ステップ102)。すなわち、原稿の周期性が
現われるのは、主に中間部(つまり、ブロック内が全て
黒画素または白画素でない)であるため、ブロック内の
画素値の平均がある範囲(th1,th2)にある場合
にのみ有効ブロックとし(ステップ103)、2次元D
CT係数を算出する(ステップ104)。各係数毎に加
算する(ステップ105)。例えば、図4に示すよう
に、各ブロックの同じ位置にあるDCT係数A00、B
00、C00を加算する。
Image data for 8 lines is set (step 101), and the average value Ave of the pixel values in the block is calculated (step 102). That is, since the periodicity of the document appears mainly in the middle part (that is, all the pixels in the block are not black pixels or white pixels), the average of the pixel values in the block is within a certain range (th1, th2). Only if the block is a valid block (step 103), 2D D
The CT coefficient is calculated (step 104). The addition is performed for each coefficient (step 105). For example, as shown in FIG. 4, DCT coefficients A00 and B at the same position in each block
00 and C00 are added.

【0023】主走査方向について上記処理を行い(ステ
ップ107)、主走査方向の処理が終了すると(ステッ
プ106)、副走査方向について同様の処理を行い(ス
テップ109)、副走査方向の処理が終了すると(ステ
ップ108)、平均DCTを算出する(ステップ11
0)。図4の例では、3ブロックについての平均DC
T、F00=(A00+B00+C00)/
3、...、F77を求める。
When the above processing is performed in the main scanning direction (step 107) and the processing in the main scanning direction is completed (step 106), the same processing is performed in the sub scanning direction (step 109) and the processing in the sub scanning direction is completed. Then (step 108), the average DCT is calculated (step 11).
0). In the example of FIG. 4, average DC for 3 blocks
T, F00 = (A00 + B00 + C00) /
3,. . . , F77.

【0024】周期パラメータ算出部22では、原稿に特
定の周期がある場合にはDCT係数にピークが現われる
ため、これを3×3のマスクを利用してそのピークを検
出する。具体的には図5に示すようなマスクを8×8の
平均DCT係数にかけて、図5に示す式に従ってMを算
出する。
Since the peak appears in the DCT coefficient when the original has a specific cycle, the cycle parameter calculating unit 22 detects the peak using a 3 × 3 mask. Specifically, a mask as shown in FIG. 5 is multiplied by an average DCT coefficient of 8 × 8, and M is calculated according to the formula shown in FIG.

【0025】上記したようにDCTを利用した周期性の
検出を説明したが、例えばパターンマッチングによって
局所的に周期を持つ箇所を検出する手段を備え、画像全
体にわたってこのマッチングを行い、マッチングしたヒ
ストグラムを基に原稿の周期性を検出するように、装置
を構成してもよい。パターンマッチングにより周期を検
出する装置としては、例えば特開平4−157877号
公報に記載されたものを用いる。
Although the detection of the periodicity using the DCT has been described above, a means for detecting a portion having a local period by pattern matching, for example, is provided, this matching is performed over the entire image, and the matched histogram is obtained. The device may be configured so as to detect the periodicity of the document based on the document. As a device for detecting the period by pattern matching, for example, the device described in Japanese Patent Application Laid-Open No. 4-157877 is used.

【0026】起伏度検出回路3は、8画素×8画素のブ
ロックにおいて、その起伏度を算出し、所定値よりも大
きな値を持つブロック数を画像全体にわたって計数す
る。図6は、起伏度検出回路の処理フローチャートであ
る。原稿の特徴ある起伏が現われるのは、主に中間部で
あるため、ブロック内の画素値の平均がある範囲(th
3,th4)にある場合にのみ有効ブロックとする。
The undulation degree detection circuit 3 calculates the undulation degree in a block of 8 pixels × 8 pixels and counts the number of blocks having a value larger than a predetermined value over the entire image. FIG. 6 is a processing flowchart of the undulation degree detection circuit. The characteristic undulations of the document appear mainly in the middle part, so the average pixel value in a block is within a certain range (th
3, th4), it is regarded as a valid block.

【0027】ブロックの起伏度算出は、ブロック内の各
画素値と平均(Ave)との差の絶対値の総和を当該ブ
ロックの起伏度(K)とする。K>th5であるブロッ
クを計数する。これを主走査方向、副走査方向について
行い、起伏度検出回路3で検出されたブロック数Nを出
力する。
In calculating the relief of a block, the sum of the absolute values of the differences between each pixel value in the block and the average (Ave) is used as the relief (K) of the block. Count the blocks where K> th5. This is performed in the main scanning direction and the sub scanning direction, and the number of blocks N detected by the undulation degree detection circuit 3 is output.

【0028】なお、ここでは説明の簡単にするために、
このKに対して一つの閾値(th5)で大小比較を行っ
ているが、複数の閾値を設定することによって、認識の
精度をより向上させることができる。例えば、周期性の
少ない原稿として、誤差拡散原稿や印画紙原稿の他に文
字原稿もある。文字領域は、誤差拡散原稿よりもさらに
起伏度が大きいため、th6>Kの条件で容易に識別可
能である。また、本実施例の装置では白紙原稿を印画紙
原稿と判定するが、白紙は簡単にリジェクトできるの
で、ここでは特にその対処方法については説明しない。
Here, in order to simplify the explanation,
Although the magnitude comparison is performed for this K with one threshold value (th5), the recognition accuracy can be further improved by setting a plurality of threshold values. For example, as an original having less periodicity, there is a character original in addition to an error diffusion original and a printing paper original. Since the character area has a higher undulation degree than the error diffusion document, it can be easily identified under the condition of th6> K. Further, although the apparatus of the present embodiment determines a blank document to be a photographic printing document, a blank sheet can be easily rejected, and a coping method thereof will not be described here.

【0029】ところで、ブロック内起伏度(K)は、画
像の特に「絵」の中間調の特徴を検出している。従っ
て、ある注目ブロックの起伏度(K0)はその周囲で連
続する可能性が高い。従って、th5より大きな起伏度
を持つブロックが例えば主走査方向に7つ続いたとき
に、中心ブロックを真の起伏度が大きいブロックとし
て、Nをカウントアップするように処理することも有効
である。これは特に文字エッジのように広い連続性を持
たないものをリジェクトする場合に有効な方法である。
By the way, the in-block relief (K) detects the characteristics of the halftone of the image, especially the "picture". Therefore, the undulation degree (K0) of a certain block of interest is likely to be continuous around it. Therefore, for example, when seven blocks having the undulations larger than th5 continue in the main scanning direction, it is also effective to process the central block as a block having a large undulation so that N is incremented. This is an effective method especially when rejecting characters that do not have wide continuity such as character edges.

【0030】比較器4は、周期性検出回路2からの出力
Mと所定の閾値Thaとを比較し、M<Thaのときm
=OFFを出力し、M≧Thaのときm=ONを出力す
る。また、比較器5は、起伏度検出回路3からの出力N
と所定の閾値Tbとを比較し、N<Thbのときn=O
FFを出力し、N≧Thbのときn=ONを出力する。
The comparator 4 compares the output M from the periodicity detection circuit 2 with a predetermined threshold value Tha, and when M <Tha, m
= OFF is output, and when M ≧ Tha, m = ON is output. Further, the comparator 5 outputs the output N from the undulation degree detection circuit 3.
Is compared with a predetermined threshold value Tb, and when N <Thb, n = O
FF is output, and when N ≧ Thb, n = ON is output.

【0031】総合判定部6では、以下のような4つの組
み合わせて原稿を判定する。すなわち、 (a);m=ON & n=ON のとき 印刷原稿 (b);m=ON & n=OFF のとき 印刷原稿 (c);m=OFF & n=ON のとき 誤差拡散
原稿 (d);m=OFF & n=OFF のとき 印画紙
原稿 〈原稿判定装置を利用したカラー画像処理装置〉図7
は、原稿判定装置を組み込んだカラー画像処理装置の構
成を示す。ここでは説明を簡単にするために、デフォル
ト用処理(印刷原稿と印画紙原稿を処理する)と誤差拡
散原稿用処理を準備し、前述した原稿判定装置の判定結
果に基づいて処理を切り替える場合について、以下詳細
に説明する。
The comprehensive determination unit 6 determines the original by combining the following four combinations. That is, (a); printed document when m = ON & n = ON (b); printed document when m = ON & n = OFF (c); error diffusion document (d) when m = OFF & n = ON ); When m = OFF & n = OFF Printing paper original <Color image processing apparatus using original determination device> Fig. 7
Shows a configuration of a color image processing apparatus incorporating a document determination apparatus. In order to simplify the explanation, here is a case where the default process (processing a print document and a photographic paper document) and the error diffusion document process are prepared, and the process is switched based on the determination result of the document determination device described above. The details will be described below.

【0032】画像入力装置1;CCDカメラなどの光電
変換素子を有し、原稿を読み取って、赤、緑、青の3色
分解信号(アナログ)を得て、これら3信号に対して、
A/D変換を行い、rgbのデジタル信号(各8ビッ
ト)を出力する。スキャナの解像度は400dpiとす
る。原稿判定装置にはg信号が入力される。
Image input device 1; having a photoelectric conversion element such as a CCD camera, reading an original to obtain three color separated signals (analog) of red, green and blue, and for these three signals,
A / D conversion is performed, and a rgb digital signal (8 bits each) is output. The resolution of the scanner is 400 dpi. The g signal is input to the document determination device.

【0033】Log変換回路7;カラースキャナの出力
信号は概ね反射率リニアな信号である。これを色補正処
理により、有利な濃度信号(RGB信号)に変換する。
これにより、色補正変換の線形性がより保証され、言い
替えれば色補正回路を簡単化することができる。
Log conversion circuit 7: The output signal of the color scanner is a signal having a substantially linear reflectance. This is converted into an advantageous density signal (RGB signal) by color correction processing.
Thereby, the linearity of the color correction conversion is further ensured, in other words, the color correction circuit can be simplified.

【0034】フィルタ回路8;ここでは図8に示すよう
に、2種類のフィルタ係数を準備する。特徴としては、
デフォルト用は特に印刷原稿のモアレ発生を抑制するよ
うな強い平滑化を施す。これに対して誤差拡散原稿用は
特にモアレ発生を意識する必要はなく、ノイズ除去程度
の平滑化でよい。なお、スキャナの性能が良い場合に
は、フィルタ回路を介さずに処理してもよい。
Filter circuit 8: Here, two kinds of filter coefficients are prepared as shown in FIG. The feature is
For the default version, strong smoothing is applied so as to suppress the occurrence of moire on the printed document. On the other hand, in the case of the error diffusion original, it is not necessary to pay attention to the occurrence of moire, and smoothing for removing noise is sufficient. If the scanner has good performance, it may be processed without the filter circuit.

【0035】色補正回路9;ここでは次のような線形一
次式で色補正を行うものとする。すなわち、R,G,B
をLog変換後の信号(各8ビット)とし、Y,M,C
をプリンタ駆動信号とし、a0〜a3、b0〜b3、c
0〜c3を色補正係数群とすると、本色補正回路は、以
下の式によって表される。
Color correction circuit 9: Here, color correction is performed by the following linear linear equation. That is, R, G, B
Is a signal after Log conversion (8 bits each), and Y, M, C
Is a printer drive signal, and a0 to a3, b0 to b3, c
When the color correction coefficient group is 0 to c3, the color correction circuit is represented by the following equation.

【0036】C=a0+a1×R+a2×G+a3×B M=b0+b1×R+b2×G+b3×B Y=c0+c1×R+c2×G+c3×B なお、各色補正係数は実験的に決める。C = a0 + a1 * R + a2 * G + a3 * B M = b0 + b1 * R + b2 * G + b3 * B Y = c0 + c1 * R + c2 * G + c3 * B Each color correction coefficient is experimentally determined.

【0037】また、K信号については次式で求める。 K=α×min(C,M,Y) αは例えば0.6
とする。
The K signal is calculated by the following equation. K = α × min (C, M, Y) α is, for example, 0.6
And

【0038】UCR回路10;次式に従って演算を行
う。
UCR circuit 10; calculates according to the following equation.

【0039】C’=C−K M’=M−K Y’=Y−K ディザ回路11;ここでは2種類のディザ処理を準備す
る。デフォルト用は、ドット集中型(渦巻型ともいう)
と呼ばれるディザを施す。これに対して誤差拡散原稿に
は、誤差拡散法による2値化処理を施す。これにより当
然のことながら誤差拡散原稿のテクスチャが保存されて
画像が再生される。また、最近はカラープリンタの多値
化が進んでいるため、誤差拡散原稿用のディザ処理とし
て、原稿のテクスチャを忠実に再生できる処理があれ
ば、それを用いることもできる。例えば、プリンタによ
り多値誤差拡散法による処理やスルーでもよい。
C ′ = C−K M ′ = M−K Y ′ = Y−K dither circuit 11; two types of dither processing are prepared here. Dot concentration type (also called spiral type) for default
Dither called. On the other hand, the error diffusion document is binarized by the error diffusion method. This naturally saves the texture of the error diffusion document and reproduces the image. Since color printers have become multi-valued recently, if there is a process capable of faithfully reproducing the texture of the document as the dither process for the error diffusion document, it can be used. For example, the processing by the multi-valued error diffusion method or through may be performed by the printer.

【0040】画像出力装置12;前述したディザ回路1
1からの信号を受けてカラー画像を再生出力する。
Image output device 12; dither circuit 1 described above
Receiving the signal from 1, the color image is reproduced and output.

【0041】原稿判定装置;前述した図1の原稿判定装
置を利用する。ここでは、誤差拡散原稿とそれ以外(デ
フォルト処理を選択)という、判定結果を出力する。ま
た、この原稿判定装置はプレスキャン時に作動し、その
判定結果が本スキャン時に画像再生装置の各部に与えら
れる。
Original document determining apparatus: The original document determining apparatus shown in FIG. 1 is used. Here, the determination results of the error diffusion original and the others (default processing is selected) are output. Further, the original document determination device operates during prescan, and the determination result is given to each part of the image reproducing device during main scanning.

【0042】上記したように、原稿が誤差拡散原稿と判
定された場合の適応処理について説明したが、本実施例
の原稿判定装置はこれに限定されるものではなく、印画
紙原稿の判定も可能である。すなわち、対象の原稿が印
画紙であると判定された場合、図7の色補正回路9にお
いて、a0〜a3,b0〜b3,c0〜c3の色補正係
数群を、印画紙を忠実に再生するものに切り替えればよ
い。印画紙用色補正係数の設定方法については、本出願
人が先に提案した特開平6−197218号公報に記載
されている。
As described above, the adaptive processing when the original is determined to be the error diffusion original has been described, but the original determination apparatus of the present embodiment is not limited to this, and it is possible to determine the photographic paper original. Is. That is, when it is determined that the target document is photographic paper, the color correction circuit 9 of FIG. 7 faithfully reproduces the color correction coefficient group of a0 to a3, b0 to b3, c0 to c3. Just switch to one. The method of setting the color correction coefficient for photographic paper is described in Japanese Patent Application Laid-Open No. 6-197218 previously proposed by the present applicant.

【0043】[0043]

【発明の効果】以上、説明したように、請求項1記載の
発明によれば、原稿が誤差拡散方式による出力原稿(そ
の多くはインクジェットプリンタで出力される)である
場合に、その原稿用の空間フィルタを選択して、フィル
タリング処理を行うために、印刷原稿用に用いられるモ
アレ除去用のフィルタ処理を施す必要がないので、高解
像度な再現が可能になる。
As described above, according to the invention described in claim 1, when the original is an output original by the error diffusion method (most of them are output by an ink jet printer), the original is used. In order to select the spatial filter and perform the filtering process, it is not necessary to perform the moiré removing filter process used for the print document, and thus high resolution reproduction is possible.

【0044】請求項2記載の発明によれば、原稿が誤差
拡散方式による出力原稿(その多くはインクジェットプ
リンタで出力される)である場合に、その原稿用のディ
ザ処理を行うので(少なくともドット集中型ディザ処理
を行わない)、高解像度な画像再現が可能になる。
According to the second aspect of the invention, when the original is an output original by the error diffusion method (most of them are output by an ink jet printer), the dither processing for the original is performed (at least dot concentration). Type dithering is not performed), and high-resolution image reproduction becomes possible.

【0045】請求項3記載の発明によれば、原稿が誤差
拡散方式による出力原稿(その多くはインクジェットプ
リンタで出力される)である場合に、誤差拡散法によっ
てディザ処理を行うので、誤差拡散原稿特有のテクスチ
ャを保存した画像再生が可能になる。
According to the third aspect of the present invention, when the original is an output original by the error diffusion method (most of which is output by an ink jet printer), the dither processing is performed by the error diffusion method. It is possible to play back an image that stores a unique texture.

【0046】請求項4記載の発明によれば、原稿の周期
性と起伏度を検出しているので、入力原稿が誤差拡散原
稿であるか否かを高精度に判定することができる。
According to the fourth aspect of the invention, since the periodicity and the undulation degree of the document are detected, it can be highly accurately determined whether the input document is the error diffusion document.

【0047】請求項5記載の発明によれば、誤差拡散原
稿を高精度に判定することができる。
According to the fifth aspect of the invention, the error diffusion document can be determined with high accuracy.

【0048】請求項6記載の発明によれば、印画紙原稿
を高精度に判定することができる。
According to the sixth aspect of the present invention, the photographic printing paper original can be determined with high accuracy.

【0049】請求項7記載の発明によれば、特に誤差拡
散原稿を認識する際に、誤認識の可能性の高い文字領域
を除外することができる。
According to the seventh aspect of the present invention, when recognizing an error diffusion document, it is possible to exclude a character area having a high possibility of being erroneously recognized.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の原稿判定装置の構成を示す。FIG. 1 shows a configuration of a document determination device of the present invention.

【図2】周期性検出回路の構成を示す。FIG. 2 shows a configuration of a periodicity detection circuit.

【図3】平均DCT係数算出部の処理フローチャートで
ある。
FIG. 3 is a processing flowchart of an average DCT coefficient calculation unit.

【図4】各DCT係数の平均化の様子を示す図である。FIG. 4 is a diagram showing a state of averaging DCT coefficients.

【図5】周期パラメータ算出を説明する図である。FIG. 5 is a diagram illustrating calculation of a period parameter.

【図6】起伏度検出回路の処理フローチャートである。FIG. 6 is a processing flowchart of an undulation degree detection circuit.

【図7】原稿判定装置を組み込んだカラー画像処理装置
の構成を示す。
FIG. 7 shows a configuration of a color image processing apparatus incorporating a document determination apparatus.

【図8】デフォルト用と誤差拡散原稿用のフィルタ係数
を示す。
FIG. 8 shows filter coefficients for default and error diffusion originals.

【符号の説明】[Explanation of symbols]

1 画像入力装置 2 周期性検出回路 3 起伏度検出回路 4、5 比較器 6 総合判定部 7 Log変換回路 8 フィルタ回路 9 色補正回路 10 UCR回路 11 ディザ回路 12 画像出力装置 DESCRIPTION OF SYMBOLS 1 image input device 2 periodicity detection circuit 3 undulation degree detection circuit 4, 5 comparator 6 comprehensive judgment part 7 Log conversion circuit 8 filter circuit 9 color correction circuit 10 UCR circuit 11 dither circuit 12 image output device

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 原稿をデジタル的に読み出し、原稿種に
対応したフィルタリング処理を施す複数の空間フィルタ
手段を備えたカラー画像処理装置において、前記読み出
した原稿が誤差拡散方式による出力画像であるか否かを
判定する手段と、誤差拡散方式による出力画像であると
判定されたとき、該誤差拡散方式による出力画像に適し
たフィルタリング処理を施す空間フィルタ手段とを備え
たことを特徴とするカラー画像処理装置。
1. A color image processing apparatus comprising a plurality of spatial filter means for digitally reading an original and performing filtering processing corresponding to the original type, and whether the read original is an output image by an error diffusion method. Color image processing including means for determining whether the output image is based on the error diffusion method, and spatial filter means for performing filtering processing suitable for the output image based on the error diffusion method when the output image based on the error diffusion method is determined. apparatus.
【請求項2】 原稿をデジタル的に読み出し、原稿種に
対応したディザ処理を施す複数のディザ処理手段を備え
たカラー画像処理装置において、前記読み出した原稿が
誤差拡散方式による出力画像であるか否かを判定する手
段と、誤差拡散方式による出力画像であると判定された
とき、該誤差拡散方式による出力画像に適したディザ処
理を施すディザ処理手段とを備えたことを特徴とするカ
ラー画像処理装置。
2. A color image processing apparatus comprising a plurality of dither processing means for digitally reading a document and performing dither processing corresponding to the document type, and whether or not the read document is an output image by an error diffusion method. Color image processing comprising means for determining whether or not the image is output by the error diffusion method, and dither processing means for performing dither processing suitable for the output image by the error diffusion method. apparatus.
【請求項3】 前記ディザ処理手段は誤差拡散法により
ディザを施すことを特徴とする請求項2記載のカラー画
像処理装置。
3. The color image processing apparatus according to claim 2, wherein the dither processing means performs dither by an error diffusion method.
【請求項4】 原稿をデジタル的に読み出し、該原稿の
種類を判定する原稿判定装置において、前記原稿の周期
性を検出する第1の手段と、局所的な信号の変化の度合
い(以下、起伏度)を検出する第2の手段と、該第1、
第2の手段の検出結果を基に、前記原稿が誤差拡散方式
による原稿であるか否かを判定する手段とを備えたこと
を特徴とする原稿判定装置。
4. An original determination device for digitally reading out an original and determining the type of the original, the first means for detecting the periodicity of the original, and the degree of local signal change (hereinafter referred to as undulation). Second) for detecting the
An original document determining apparatus comprising: a unit that determines whether the original document is an error diffusion original document based on a detection result of the second unit.
【請求項5】 前記周期性が所定値よりも小さく、か
つ、前記起伏度の大きい領域が多いとき、前記原稿は誤
差拡散方式による原稿であると判定することを特徴とす
る請求項4記載の原稿判定装置。
5. The document according to claim 4, wherein when the periodicity is smaller than a predetermined value and there are many regions with large undulations, the document is determined to be a document by an error diffusion method. Document determination device.
【請求項6】 前記周期性が所定値よりも小さく、か
つ、前記起伏度の大きい領域が少ないとき、前記原稿は
印画紙原稿であると判定することを特徴とする請求項4
記載の原稿判定装置。
6. The document is determined to be a photographic paper document when the periodicity is smaller than a predetermined value and there are few regions having a large undulation degree.
Document determination device described in the above.
【請求項7】 前記起伏度は所定サイズの画素ブロック
から算出し、注目ブロックとその周囲ブロックの起伏度
を基に、該注目ブロックの起伏度の判定を補正すること
を特徴とする請求項4記載の原稿判定装置。
7. The undulation is calculated from a pixel block of a predetermined size, and the determination of the undulation of the target block is corrected based on the undulations of the target block and its surrounding blocks. The document determination device described.
JP8064538A 1996-03-21 1996-03-21 Color image processor and original judging device Pending JPH09261461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8064538A JPH09261461A (en) 1996-03-21 1996-03-21 Color image processor and original judging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8064538A JPH09261461A (en) 1996-03-21 1996-03-21 Color image processor and original judging device

Publications (1)

Publication Number Publication Date
JPH09261461A true JPH09261461A (en) 1997-10-03

Family

ID=13261112

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8064538A Pending JPH09261461A (en) 1996-03-21 1996-03-21 Color image processor and original judging device

Country Status (1)

Country Link
JP (1) JPH09261461A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006040260A (en) * 2004-06-04 2006-02-09 Xerox Corp System for automatically classifying printed image
US7397471B2 (en) 2003-10-07 2008-07-08 Matsushita Electric Industrial Co., Ltd. Liquid crystal display device, power supply circuit, and method for controlling liquid crystal display device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7397471B2 (en) 2003-10-07 2008-07-08 Matsushita Electric Industrial Co., Ltd. Liquid crystal display device, power supply circuit, and method for controlling liquid crystal display device
JP2006040260A (en) * 2004-06-04 2006-02-09 Xerox Corp System for automatically classifying printed image
JP4667123B2 (en) * 2004-06-04 2011-04-06 ゼロックス コーポレイション System for automatically classifying printed images

Similar Documents

Publication Publication Date Title
JP3436828B2 (en) Image processing device
US5341226A (en) Automatic image segmentation for color documents
JP4137890B2 (en) Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium
JP4170353B2 (en) Image processing method, image processing apparatus, image reading apparatus, image forming apparatus, program, and recording medium
US20080137159A1 (en) Image forming apparatus and image quality improving method thereof
JP4988624B2 (en) Image processing apparatus, image processing method, and recording medium
JP4115999B2 (en) Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium
JP2000278523A (en) Image processor, image reader and image formation device loading the same, image processing method and computer readable storage medium storing image processing procedures
JP4105539B2 (en) Image processing apparatus, image forming apparatus including the same, image processing method, image processing program, and recording medium
JPH09261461A (en) Color image processor and original judging device
JP3847565B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JP2002010094A (en) Image forming equipment
JP4149368B2 (en) Image processing method, image processing apparatus and image forming apparatus, computer program, and computer-readable recording medium
JPH07298074A (en) Image processing unit
JP3615308B2 (en) Image processing apparatus and method
JP3581756B2 (en) Image processing device
JP3316077B2 (en) Background density level detector
JP3587740B2 (en) Image processing device
JP3797448B2 (en) Image processing device
JP2003219178A (en) Image processing method, device thereof and image forming device
JP3064896B2 (en) Image processing device
JPH10243221A (en) Original discriminating device
JP3894409B2 (en) Image processing apparatus and image processing method
JP3434374B2 (en) Image forming device
EP1936952A2 (en) Image forming apparatus and image quality improving method thereof

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040420

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040621

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040810