JP3615308B2 - Image processing apparatus and method - Google Patents

Image processing apparatus and method Download PDF

Info

Publication number
JP3615308B2
JP3615308B2 JP15653096A JP15653096A JP3615308B2 JP 3615308 B2 JP3615308 B2 JP 3615308B2 JP 15653096 A JP15653096 A JP 15653096A JP 15653096 A JP15653096 A JP 15653096A JP 3615308 B2 JP3615308 B2 JP 3615308B2
Authority
JP
Japan
Prior art keywords
block
calculating
average
primary color
dct
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.)
Expired - Fee Related
Application number
JP15653096A
Other languages
Japanese (ja)
Other versions
JPH104497A (en
Inventor
敏 大内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP15653096A priority Critical patent/JP3615308B2/en
Publication of JPH104497A publication Critical patent/JPH104497A/en
Application granted granted Critical
Publication of JP3615308B2 publication Critical patent/JP3615308B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、画像の網点周期を判定する機能を備えた画像処理装置および方法に関する。
【0002】
【従来の技術】
従来から、原稿、特に網点の周期を検出して、フィルタリングなどの処理を切り替える装置が種々提案されている。例えば、特開平1−133470号公報に記載された技術は、パターンマッチングで網点周期を検出し、フィルタ係数を切り替える画像処理方法の例である。また、特開平3−62355号公報に記載された方法は、網点周期検出の特徴量としてペアレングス情報(隣接して連続的に展開する白ビット長と黒ビット長の対の数)を利用して周期を検出するものである。
【0003】
また、本出願人は先に、誤差拡散方式による出力画像に適したフィルタリング処理を施すカラー画像処理装置(特願平8−64538号)を提案し、さらに、原稿の周期に応じて像域分離の判定基準を変更する画像処理方法(特願平8−84185号)を提案したが、これらは何れもDCT(離散コサイン変換)を利用して周期性の検出を行うものである。
【0004】
【発明が解決しようとする課題】
上記した技術はいずれも網点の中間調部分の特徴を利用しているが、以下のような問題がある。すなわち、
(1)ハイライト部、ダーク部を誤判定;
上記した何れの特徴量を用いても、ハイライト部やダーク部では網点の周期が正しく検出されない。これは、ハイライト部の場合では、網点ドットがところどころ抜けていることにより、所望の階調画像を作っているためである。つまり、パターンマッチングによって周期を検出する例では、ハイライト部を多く含む画像に対し、準備するパターンによっては、より粗い線数すなわち低線数側に判定される可能性が生じる。
【0005】
(2)二次色以上の網点ドット部を誤判定;
判定を行う信号は、モノクロ再生機であれば、輝度信号などが一般的であり、またカラー再生機であれば、グリーン信号や、イエロー網点を積極的に検出する意味でmin(R,G,B)[最高濃度が0の場合]などを使っている。網点は、4色のドットの重ね合わせで画像を作るものであり、例えば、シアンとマゼンタの二次色でできている部分をグリーン信号を使って、パターンマッチングした場合、正確にマッチングしなかったり、より密の線数すなわち高線数側に判定される可能性が生じる。これはグリーン信号の特性は、シアンとマゼンタともにレスポンスがあるからであり、逆に言えばマゼンタのみをセレクトできるフィルタではないからである。
【0006】
本発明は上記した事情を考慮してなされたもので、
本発明の目的は、網点周期が正確に検出できない領域を周期検出の対象外にすることによって、画像の網点周期をより正確に判定する画像処理装置および方法を提供することにある。
【0007】
【課題を解決するための手段】
前記目的を達成するために、請求項1記載の発明では、原稿を画像データとして読み取る手段と、
前記画像データを複数のブロックに分割し、該ブロックの画素値の平均値を算出する平均値算出手段と、
前記ブロックの画素値の平均値が所定の範囲にある場合に、当該ブロックを一次色領域と判定する一次色領域検出手段と、
一次色領域と判定されたブロックのDCT係数を算出し、各ブロックの同じ位置にあるDCT係数を加算した値を一次色領域数で除算することで、平均DCT係数を算出する平均DCT算出手段と、
前記平均DCT係数に対して所定の演算を行うことで、前記ブロックにおけるピーク位置を検出する周期算出手段と、
該周期算出手段の算出結果に応じたフィルタ係数を用いてフィルタ処理を行うフィルタ制御手段とを有することを特徴としている。
請求項2記載の発明では、原稿を画像データとして読み取るステップと、
前記画像データを複数のブロックに分割し、該ブロックの画素値の平均値を算出する平均値算出ステップと、
前記ブロックの画素値の平均値が所定の範囲にある場合に、当該ブロックを一次色領域と判定する一次色領域検出ステップと、
一次色領域と判定されたブロックのDCT係数を算出し、各ブロックの同じ位置にあるDCT係数を加算した値を一次色領域数で除算することで、平均DCT係数を算出する平均DCT算出ステップと、
前記平均DCT係数に対して所定の演算を行うことで、前記ブロックにおけるピーク位置を検出する周期算出ステップと、
該周期算出ステップの算出結果に応じたフィルタ係数を用いてフィルタ処理を行うフィルタ制御ステップとを有することを特徴としている。
【0008】
【発明の実施の形態】
以下、本発明の一実施例を図面を用いて具体的に説明する。
〈実施例1〉
図1は、本発明の実施例1の構成を示す。図において、1はスキャナなどの画像入力装置、2は反射率リニアな信号を濃度リニアな信号に変換するLog変換回路、3は平滑化フィルタ、エッジ強調フィルタからなるフィルタ回路、4はcmy信号を補色のYMCに変換する色補正回路、5はK信号分だけ各色材の信号から減じる処理を行うUCR回路、6は文字用、絵柄用のディザを用いて中間調を表現するディザ回路、7はプリンタなどの画像出力装置である。
【0009】
8はプレスキャン時に作動する周期性判定回路であり、周期性検出回路9と中間領域検出回路10からなる。11は、周期性判定回路の判定結果に応じてフィルタ係数を切り替える係数切り替え回路である。
【0010】
まず、図1の概要を説明する。スキャナなどの画像入力装置1(解像度は400dpi)から概ね反射率に対しリニアなrgbデータ(各8ビット)が出力される。次に、後段の色補正を行う前処理としてLog変換回路2において対数変換を行い、濃度リニアなcmyデータを生成する。
【0011】
フィルタ回路3は、図2に示すような平滑化フィルタとエッジ強調フィルタが直列に接続された回路で構成され、後述する周期性判定回路8からの判定結果に応じて、平滑化フィルタの係数を切り替える。
【0012】
色補正回路4は、画像入力装置1と画像出力装置7の特性を考慮し、cmy信号を補色のYMC信号に変換する。色補正方法には線形近似いわゆるマスキング法や四面体補間法、三角柱補間法などが提案されていて、これらの方法を利用して色補正を行う。このとき同時にK信号は、min(C,M,Y)から算出する。
【0013】
UCR回路5は、次式に基づきCMY信号を減算する。
K’=0.6×K
C’(M’,Y’)=C(M,Y)−K’
そして、ディザ回路6では、ディザテーブル(ディザマトリックス)を利用してデータ変換を行い、画像出力装置7にデータを送る。
【0014】
図3は、周期性検出回路の構成を示す。ここではDCT(離散コサイン変換)を利用して周期性の検出を行うものであり、平均DCT係数算出部21と、周期算出部22から構成される。なお、DCTの詳細は、例えば特開平4−21265号公報などに記載されている。
【0015】
DCTは8画素×8画素のブロック単位で行い、例えば一般的なA4サイズを400dpiで読み込んだ場合の画素数4752×3360画素であれば、594×420ブロック分の処理を行うことになる。原稿の周期性が現われるのは、主に中間部であるため、中間領域検出回路10ではブロック内画素値の平均がある範囲(th1,th2)にある場合にのみ有効ブロックとし、該有効ブロックについて、周期性検出回路9はDCT係数を加算し、最終的にその平均を求める。すなわち、前述した理由から画像のハイライト部、ダーク部は周期検出の対象としない。
【0016】
図4は、平均DCT係数算出部の処理フローチャートである。また、図5は、各DCT係数の平均化の様子を示す図である。
8ライン分の画像データをセットし(ステップ101)、ブロック内の画素値の平均値Aveを算出する(ステップ102)。すなわち、原稿の周期性が現われるのは、主に中間部(つまり、ブロック内が全て黒画素または白画素でない)であるため、ブロック内の画素値の平均がある範囲(th1,th2)にある場合にのみ有効ブロックとし(ステップ103)、2次元DCT係数を算出する
(ステップ104)。各係数毎に加算する(ステップ105)。例えば、図5に示すように、各ブロックの同じ位置にあるDCT係数A00、B00、C00を加算する。
【0017】
主走査方向について上記処理を行い(ステップ107)、主走査方向の処理が終了すると(ステップ106)、副走査方向について同様の処理を行い(ステップ109)、副走査方向の処理が終了すると(ステップ108)、平均DCTを算出する(ステップ110)。図5の例では、3ブロックについての平均DCT、F00=(A00+B00+C00)/3、...、F77を求める。
【0018】
周期算出部22では、原稿に特定の周期がある場合にはDCT係数にピークが現われるため、これを3×3のマスクを利用してそのピーク位置を検出する。具体的には図6に示すようなマスクを8×8の平均DCT係数全体にかけて、図6に示す式に従って、8×8の各位置でMを算出する。そして、最大のM値を持つピーク位置から注目原稿の周期を判定する。ここでは、該ピーク位置が存在する位置によって、概ね50線、概ね100線、概ね150線、概ね200線の4段階に判定する。図7は、このような線数決定を説明する図である。また、ピークが検出されないか、あるいは最大Mが所定値より小さい場合には、周期性なしと判定する。
【0019】
以上、DCTを利用した周期性検出を説明したが、本発明はこれに限定されるものではなく、前掲した特開平1−133470号公報に記載されているように、例えばパターンマッチングによって、局所的に周期を持つ箇所を検出する手段を備え、検出された複数の周期の内で、最も相関のあるものをその原稿の周期と判定するように構成しても良い。ただし、この場合でも、例えばブロック単位でマッチングを行うとき、注目ブロック(例えば8×8のマスク)の平均を算出し、その平均値がある範囲〔thp1,thp2〕にある場合のみ、注目ブロックを周期検出の有効エリアとする必要がある。
【0020】
以下、実施例1の動作を説明する。
(プレスキャン時)
図1の実施例1の構成において、プレスキャン時に作動する処理部(周期性判定回路)が点線で囲まれている。ここでいうプレスキャンとは、実際にカラースキャナが原稿を走査する場合はもちろんであるが、入力画像をメモリに記憶しておき、それを複数回利用する場合のファースト利用時も含まれる。プレスキャンが終了し、本スキャンに入る前には、原稿が、周期性なし/50線網点/100線網点/150線網点/200線網点の何れであるかが判明している。
【0021】
(本スキャン時)
1ドラムタイプのカラー複写機はCMYKの各版毎に計4回のスキャンを行い、4ドラムタイプのそれは1回のスキャンを行ってカラー画像を再生する。ただし、前述したように、全画像をメモリに記憶しておき、それを複数回利用する場合は、スキャナの動作はない。
【0022】
さて、上記したプレスキャンで、原稿の周期性が判明している。その判定結果が係数切り替え回路11に入力され、係数切り替え回路11は周期に応じた係数をフィルタ回路3に設定する。係数の切り替えは、例えば前掲した特開平1−133470号公報の図7に記載されているように行う(基本的には、線数が高い程、平滑度が大きいフィルタ係数を用い、網点画像のモアレを除去する)。
【0023】
なお、本実施例の周期性判定結果を、先の出願(特願平8−84185号)の像域分離のパラメータ制御に適用することも可能である。また、他の情報と組み合わせ、例えば画像の有彩/無彩判定を用いて、低線数かつ無彩と判定されたとき、白黒新聞原稿と推定し、積極的に地肌を除去するような処理を行うことも可能である。
【0024】
〈実施例2〉
図8は、本発明の実施例2の構成を示す。画像再生系(つまり、画像入力装置から画像出力装置まで)については実施例1と同様であるので、その説明を省略する。本実施例2の周期性判定回路は、一次色領域検出回路12と周期性検出回路9からなる。
【0025】
本実施例2の周期性判定回路では、グリーン信号にDCT処理を施し周期を判定する場合を例にして説明する。一般に網点原稿は、イエロー、マゼンタ、シアン、ブラックの4色インクから構成されるが、2つ以上の色が重なった領域では、求めたい原稿本来の周期が検出できない可能性がある。これはグリーンフィルタの帯域が広く、レスポンスがマゼンタのみに止まらず、他の色まで取り込んでしまうためである。このような問題は、特開平1−133470号公報に記載のような例えばパターンマッチングによって周期検出を行っても同様に起こる可能性がある。
【0026】
そこで、周期性判定回路中に、原稿中から一次色領域(イエロー、マゼンタ、シアンのみのインクからなる領域)を検出する一次色領域回路12を設け、注目ブロツクが一次色領域のときのみ有効ブロックとし、DCT係数を加算し、最終的にその平均を求める。すなわち、前述した理由から画像の二次色以上の領域は周期検出の対象としない。その条件は、例えばブロック内においてRGBそれぞれの平均値〔最高濃度が0の場合〕に対して、以下のような色が成立した場合となる。
【0027】
イエローブロック;
Rave>TH YR & Gave>TH YG & Bave<TH YB
マゼンタブロック;
Rave>TH YR & Gave<TH YG & Bave>TH YB
シアンブロック;
Rave<TH YR & Gave>TH YG & Bave>TH YB
図9は、実施例2に係る、平均DCT係数算出部の処理フローチャートである。図9において、ステップ202ではブロック内でのR,G,Bの平均値Rave,Gave,Baveを求める。ステップ203では、一次色ブロックであるか否か(つまり、上記した条件が成立しないブロック)を判定する。以下の処理は実施例1と同様であるので、その説明を省略する。
【0028】
【発明の効果】
以上、説明したように、本発明によれば、簡単な回路を付加するだけで周期情報が曖昧な色領域を検出し、該領域を周期検出領域から除外しているので、網点原稿の周期を正確に検出することが可能となる。
【0029】
本発明によれば、簡単な回路で、周期情報が曖昧であるハイライト領域ないしダーク領域を検出し、該領域を周期検出領域から除外しているので、網点原稿の周期を正確に検出することが可能となる。
【0030】
本発明によれば、簡単な回路で、周期情報が曖昧な網点ドットの重なる二次色以上の領域を検出し、該領域を周期検出領域から除外しているので、網点原稿の周期を正確に検出することが可能となる。
【図面の簡単な説明】
【図1】本発明の実施例1の構成を示す。
【図2】フィルタ回路の具体例を示す。
【図3】周期性検出回路の構成を示す。
【図4】実施例1の平均DCT係数算出部の処理フローチャートである。
【図5】各DCT係数の平均化の様子を示す図である。
【図6】周期パラメータ算出を説明する図である。
【図7】線数決定を説明する図である。
【図8】本発明の実施例2の構成を示す。
【図9】実施例2の平均DCT係数算出部の処理フローチャートである。
【符号の説明】
1 画像入力装置
2 Log変換回路
3 フィルタ回路
4 色補正回路
5 UCR回路
6 ディザ回路
7 画像出力装置
8 周期性判定回路
9 周期性検出回路
10 中間領域検出回路
11 係数切り替え回路
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus and method having a function of determining a halftone period of an image.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, various apparatuses for switching processing such as filtering by detecting a period of a document, particularly a halftone dot, have been proposed. For example, the technique described in Japanese Patent Application Laid-Open No. 1-133470 is an example of an image processing method for detecting a halftone dot period by pattern matching and switching filter coefficients. In addition, the method described in Japanese Patent Laid-Open No. 3-62355 uses pair length information (the number of pairs of white bit length and black bit length that are continuously developed adjacent to each other) as a feature value of halftone dot period detection. Thus, the period is detected.
[0003]
The present applicant has previously proposed a color image processing apparatus (Japanese Patent Application No. 8-64538) that performs filtering suitable for an output image by an error diffusion method, and further, image area separation according to the period of the document. Have proposed an image processing method (Japanese Patent Application No. 8-84185) for changing the determination criteria of the above, all of which detect periodicity using DCT (Discrete Cosine Transform).
[0004]
[Problems to be solved by the invention]
All of the above techniques use the characteristics of the halftone part of the halftone dot, but have the following problems. That is,
(1) Misidentified highlight and dark areas;
Regardless of which feature amount is used, the period of the halftone dot is not correctly detected in the highlight portion and the dark portion. This is because in the case of the highlight portion, a halftone dot is missing and a desired gradation image is created. That is, in the example in which the period is detected by pattern matching, there is a possibility that an image including many highlight portions may be determined to have a coarser line number, that is, a lower line number side, depending on the pattern to be prepared.
[0005]
(2) Misidentification of halftone dot portion of secondary color or higher;
The signal to be determined is generally a luminance signal for a monochrome reproduction machine, and min (R, G for the purpose of positively detecting a green signal or a yellow halftone dot for a color reproduction machine. , B) [when the maximum density is 0] or the like is used. A halftone dot is an image created by superimposing four color dots. For example, if a green signal is used to pattern match a portion made up of cyan and magenta secondary colors, it will not match exactly. In other words, there is a possibility that the denser number of lines, that is, the higher number of lines is determined. This is because the characteristic of the green signal is that both cyan and magenta have a response, and conversely, it is not a filter that can select only magenta.
[0006]
The present invention has been made in consideration of the above circumstances,
An object of the present invention is to provide an image processing apparatus and method for determining the halftone dot period of an image more accurately by excluding an area where the halftone dot period cannot be accurately detected from the period detection target.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, according to the first aspect of the present invention, means for reading a document as image data;
An average value calculating means for dividing the image data into a plurality of blocks and calculating an average value of pixel values of the blocks;
Primary color area detection means for determining the block as a primary color area when the average pixel value of the block is within a predetermined range;
Average DCT calculating means for calculating an average DCT coefficient by calculating a DCT coefficient of a block determined to be a primary color area and dividing a value obtained by adding the DCT coefficients at the same position in each block by the number of primary color areas ,
A period calculation means for detecting a peak position in the block by performing a predetermined calculation on the average DCT coefficient;
And a filter control means for performing a filter process using a filter coefficient corresponding to the calculation result of the period calculation means .
In the invention of claim 2 , the step of reading the document as image data;
An average value calculating step of dividing the image data into a plurality of blocks and calculating an average value of pixel values of the blocks;
A primary color region detection step of determining the block as a primary color region when the average value of the pixel values of the block is within a predetermined range;
An average DCT calculating step of calculating an average DCT coefficient by calculating a DCT coefficient of a block determined to be a primary color area and dividing a value obtained by adding the DCT coefficients at the same position of each block by the number of primary color areas; ,
A period calculation step of detecting a peak position in the block by performing a predetermined calculation on the average DCT coefficient;
And a filter control step of performing a filter process using a filter coefficient corresponding to the calculation result of the period calculation step .
[0008]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
<Example 1>
FIG. 1 shows the configuration of Embodiment 1 of the present invention. In the figure, 1 is an image input device such as a scanner, 2 is a log conversion circuit that converts a linear signal of reflectance into a linear signal of density, 3 is a filter circuit comprising a smoothing filter, an edge enhancement filter, and 4 is a cmy signal. Color correction circuit for converting to complementary color YMC, 5 is a UCR circuit that performs a process of subtracting K color signals from the signal of each color material, 6 is a dither circuit that expresses halftones using text and picture dithers, and 7 is An image output device such as a printer.
[0009]
Reference numeral 8 denotes a periodicity determination circuit that operates during pre-scanning, and includes a periodicity detection circuit 9 and an intermediate region detection circuit 10. Reference numeral 11 denotes a coefficient switching circuit that switches filter coefficients according to the determination result of the periodicity determination circuit.
[0010]
First, the outline of FIG. 1 will be described. Rgb data (8 bits each) that is substantially linear with respect to the reflectance is output from the image input device 1 (resolution is 400 dpi) such as a scanner. Next, log conversion is performed in the Log conversion circuit 2 as preprocessing for color correction in the subsequent stage, and density linear cmy data is generated.
[0011]
The filter circuit 3 is configured by a circuit in which a smoothing filter and an edge enhancement filter as shown in FIG. 2 are connected in series, and the coefficient of the smoothing filter is determined according to the determination result from the periodicity determination circuit 8 described later. Switch.
[0012]
The color correction circuit 4 considers the characteristics of the image input device 1 and the image output device 7 and converts the cmy signal into a complementary color YMC signal. As a color correction method, a linear approximation so-called masking method, tetrahedral interpolation method, triangular prism interpolation method, and the like have been proposed, and color correction is performed using these methods. At the same time, the K signal is calculated from min (C, M, Y).
[0013]
The UCR circuit 5 subtracts the CMY signal based on the following equation.
K ′ = 0.6 × K
C ′ (M ′, Y ′) = C (M, Y) −K ′
The dither circuit 6 performs data conversion using a dither table (dither matrix) and sends the data to the image output device 7.
[0014]
FIG. 3 shows the configuration of the periodicity detection circuit. Here, periodicity is detected using DCT (Discrete Cosine Transform), and it is composed of an average DCT coefficient calculator 21 and a period calculator 22. Details of DCT are described in, for example, Japanese Patent Laid-Open No. 4-21265.
[0015]
The DCT is performed in units of blocks of 8 pixels × 8 pixels. For example, if the number of pixels is 4752 × 3360 pixels when a general A4 size is read at 400 dpi, processing for 594 × 420 blocks is performed. Since the periodicity of the original appears mainly in the intermediate portion, the intermediate area detection circuit 10 determines that the effective block is only when the average pixel value in the block is within a certain range (th1, th2). The periodicity detection circuit 9 adds the DCT coefficients and finally obtains the average. That is, for the reasons described above, the highlight portion and dark portion of the image are not subject to period detection.
[0016]
FIG. 4 is a process flowchart of the average DCT coefficient calculation unit. FIG. 5 is a diagram showing how the DCT coefficients are averaged.
Image data for 8 lines is set (step 101), and an average value Ave of pixel values in the block is calculated (step 102). That is, the periodicity of the document appears mainly in the intermediate portion (that is, all the pixels in the block are not black pixels or white pixels), and therefore the average of the pixel values in the block is within a certain range (th1, th2). Only in this case, the effective block is determined (step 103), and a two-dimensional DCT coefficient is calculated (step 104). Addition is performed for each coefficient (step 105). For example, as shown in FIG. 5, DCT coefficients A00, B00, C00 at the same position in each block are added.
[0017]
The above processing is performed in the main scanning direction (step 107), and when 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 (step 107). 108) The average DCT is calculated (step 110). In the example of FIG. 5, the average DCT for three blocks, F00 = (A00 + B00 + C00) / 3,. . . , F77 is obtained.
[0018]
The period calculation unit 22 detects a peak position using a 3 × 3 mask because a peak appears in the DCT coefficient when the document has a specific period. Specifically, a mask as shown in FIG. 6 is applied to the entire average DCT coefficient of 8 × 8, and M is calculated at each position of 8 × 8 according to the equation shown in FIG. Then, the period of the document of interest is determined from the peak position having the maximum M value. Here, the determination is made into four stages of approximately 50 lines, approximately 100 lines, approximately 150 lines, and approximately 200 lines depending on the position where the peak position exists. FIG. 7 is a diagram for explaining such determination of the number of lines. If no peak is detected or the maximum M is smaller than a predetermined value, it is determined that there is no periodicity.
[0019]
As described above, periodicity detection using DCT has been described. However, the present invention is not limited to this, and as described in Japanese Patent Laid-Open No. 1-133470 described above, for example, locality is detected by pattern matching. It is also possible to provide a means for detecting a portion having a period, and to determine the most correlated one among the detected periods as the period of the document. However, even in this case, for example, when matching is performed in units of blocks, the average of the target block (for example, an 8 × 8 mask) is calculated, and only when the average value is within a certain range [thp1, thp2] It is necessary to make it an effective area for period detection.
[0020]
Hereinafter, the operation of the first embodiment will be described.
(During prescan)
In the configuration of the first embodiment illustrated in FIG. 1, a processing unit (periodicity determination circuit) that operates during pre-scanning is surrounded by a dotted line. The pre-scan here means not only when the color scanner actually scans the document, but also includes the first use when the input image is stored in the memory and used multiple times. Before the pre-scan is completed and before the main scan is started, it is known whether the original is non-periodic / 50-line halftone dot / 100-line halftone dot / 150-line halftone dot / 200-line halftone dot. .
[0021]
(During main scan)
A one-drum type color copying machine performs a total of four scans for each plate of CMYK, and a four-drum type reproduces a color image by performing one scan. However, as described above, when all images are stored in the memory and used multiple times, there is no operation of the scanner.
[0022]
Now, the periodicity of the document has been found by the pre-scan described above. The determination result is input to the coefficient switching circuit 11, and the coefficient switching circuit 11 sets a coefficient corresponding to the cycle in the filter circuit 3. For example, the coefficient is switched as described in FIG. 7 of the above-mentioned Japanese Patent Application Laid-Open No. 1-133470 (basically, the higher the number of lines, the higher the smoothness, the larger the smoothness, and the halftone dot image. To remove moire).
[0023]
It should be noted that the periodicity determination result of this embodiment can also be applied to the image area separation parameter control of the previous application (Japanese Patent Application No. 8-84185). In addition, when it is determined that the number of lines is low and achromatic using, for example, chromatic / achromatic determination of an image in combination with other information, a process that presumes a black-and-white newspaper manuscript and actively removes the background. It is also possible to perform.
[0024]
<Example 2>
FIG. 8 shows a configuration of the second embodiment of the present invention. Since the image reproduction system (that is, from the image input device to the image output device) is the same as that of the first embodiment, the description thereof is omitted. The periodicity determination circuit according to the second embodiment includes a primary color region detection circuit 12 and a periodicity detection circuit 9.
[0025]
In the periodicity determination circuit according to the second embodiment, a case where the cycle is determined by performing DCT processing on the green signal will be described as an example. Generally, a halftone original is composed of four color inks of yellow, magenta, cyan, and black. However, in an area where two or more colors overlap, there is a possibility that the original period of the original to be obtained cannot be detected. This is because the band of the green filter is wide and the response is not limited to magenta, but other colors are taken in. Such a problem may occur in the same manner even if period detection is performed by, for example, pattern matching as described in JP-A-1-133470.
[0026]
In view of this, a primary color area circuit 12 for detecting a primary color area (area consisting only of yellow, magenta, and cyan ink) from the original is provided in the periodicity determination circuit, and an effective block only when the target block is the primary color area. And DCT coefficients are added, and finally the average is obtained. That is, for the reason described above, the region of the secondary color or more of the image is not set as a period detection target. The condition is when, for example, the following color is established for the average value of RGB (when the maximum density is 0) in the block.
[0027]
Yellow block;
Rave> TH YR &Gave> TH YG & Bave <TH YB
Magenta block;
Rave> TH YR & Gave <TH YG &Bave> TH YB
Cyan block;
Rave <TH YR &Gave> TH YG &Bave> TH YB
FIG. 9 is a process flowchart of the average DCT coefficient calculation unit according to the second embodiment. In FIG. 9, in step 202, average values Rave, Gave, and Bave of R, G, and B in the block are obtained. In step 203, it is determined whether or not the block is a primary color block (that is, a block in which the above condition is not satisfied). Since the following process is the same as that of Example 1, the description is abbreviate | omitted.
[0028]
【The invention's effect】
As described above, according to the present invention , a color area with ambiguous period information is detected by adding a simple circuit, and the area is excluded from the period detection area. Can be accurately detected.
[0029]
According to the present invention , a simple circuit detects a highlight area or a dark area where period information is ambiguous, and excludes the area from the period detection area, so that the period of a halftone document is accurately detected. It becomes possible.
[0030]
According to the present invention , a simple circuit detects a region of a secondary color or more in which halftone dots with ambiguous period information overlap and excludes the area from the period detection region. It becomes possible to detect accurately.
[Brief description of the drawings]
FIG. 1 shows a configuration of Embodiment 1 of the present invention.
FIG. 2 shows a specific example of a filter circuit.
FIG. 3 shows a configuration of a periodicity detection circuit.
FIG. 4 is a process flowchart of an average DCT coefficient calculation unit according to the first embodiment.
FIG. 5 is a diagram showing how DCT coefficients are averaged.
FIG. 6 is a diagram illustrating calculation of a periodic parameter.
FIG. 7 is a diagram illustrating line number determination.
FIG. 8 shows a configuration of Embodiment 2 of the present invention.
FIG. 9 is a process flowchart of an average DCT coefficient calculation unit according to the second embodiment.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Image input device 2 Log conversion circuit 3 Filter circuit 4 Color correction circuit 5 UCR circuit 6 Dither circuit 7 Image output device 8 Periodicity determination circuit 9 Periodicity detection circuit 10 Intermediate area detection circuit 11 Coefficient switching circuit

Claims (2)

原稿を画像データとして読み取る手段と、Means for reading a document as image data;
前記画像データを複数のブロックに分割し、該ブロックの画素値の平均値を算出する平均値算出手段と、An average value calculating means for dividing the image data into a plurality of blocks and calculating an average value of pixel values of the blocks;
前記ブロックの画素値の平均値が所定の範囲にある場合に、当該ブロックを一次色領域と判定する一次色領域検出手段と、Primary color area detection means for determining the block as a primary color area when an average value of pixel values of the block is within a predetermined range;
一次色領域と判定されたブロックのDCT係数を算出し、各ブロックの同じ位置にあるDCT係数を加算した値を一次色領域数で除算することで、平均DCT係数を算出する平均DCT算出手段と、Average DCT calculating means for calculating an average DCT coefficient by calculating a DCT coefficient of a block determined to be a primary color area and dividing a value obtained by adding the DCT coefficients at the same position in each block by the number of primary color areas; ,
前記平均DCT係数に対して所定の演算を行うことで、前記ブロックにおけるピーク位置を検出する周期算出手段と、A period calculation means for detecting a peak position in the block by performing a predetermined calculation on the average DCT coefficient;
該周期算出手段の算出結果に応じたフィルタ係数を用いてフィルタ処理を行うフィルタ制御手段とを有することを特徴とする画像処理装置。An image processing apparatus comprising: a filter control unit that performs a filter process using a filter coefficient corresponding to a calculation result of the cycle calculation unit.
原稿を画像データとして読み取るステップと、Reading the document as image data;
前記画像データを複数のブロックに分割し、該ブロックの画素値の平均値を算出する平均値算出ステップと、An average value calculating step of dividing the image data into a plurality of blocks and calculating an average value of pixel values of the blocks;
前記ブロックの画素値の平均値が所定の範囲にある場合に、当該ブロックを一次色領域と判定する一次色領域検出ステップと、A primary color region detection step of determining the block as a primary color region when an average value of pixel values of the block is within a predetermined range;
一次色領域と判定されたブロックのDCT係数を算出し、各ブロックの同じ位置にあるDCT係数を加算した値を一次色領域数で除算することで、平均DCT係数を算出する平均DCT算出ステップと、An average DCT calculating step of calculating an average DCT coefficient by calculating a DCT coefficient of a block determined to be a primary color area and dividing a value obtained by adding the DCT coefficients at the same position of each block by the number of primary color areas; ,
前記平均DCT係数に対して所定の演算を行うことで、前記ブロックにおけるピーク位置を検出する周期算出ステップと、A period calculation step of detecting a peak position in the block by performing a predetermined calculation on the average DCT coefficient;
該周期算出ステップの算出結果に応じたフィルタ係数を用いてフィルタ処理を行うフィルタ制御ステップとを有することを特徴とする画像処理方法。And a filter control step for performing a filter process using a filter coefficient corresponding to the calculation result of the period calculation step.
JP15653096A 1996-06-18 1996-06-18 Image processing apparatus and method Expired - Fee Related JP3615308B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15653096A JP3615308B2 (en) 1996-06-18 1996-06-18 Image processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15653096A JP3615308B2 (en) 1996-06-18 1996-06-18 Image processing apparatus and method

Publications (2)

Publication Number Publication Date
JPH104497A JPH104497A (en) 1998-01-06
JP3615308B2 true JP3615308B2 (en) 2005-02-02

Family

ID=15629813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15653096A Expired - Fee Related JP3615308B2 (en) 1996-06-18 1996-06-18 Image processing apparatus and method

Country Status (1)

Country Link
JP (1) JP3615308B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030112863A1 (en) 2001-07-12 2003-06-19 Demos Gary A. Method and system for improving compressed image chroma information
JP4118886B2 (en) 2005-01-21 2008-07-16 シャープ株式会社 Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium

Also Published As

Publication number Publication date
JPH104497A (en) 1998-01-06

Similar Documents

Publication Publication Date Title
JP3436828B2 (en) Image processing device
US7148997B2 (en) Image processing apparatus and method
US7376268B2 (en) Image processing apparatus for transmitting image data to an external device
JP3784649B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
US20040165081A1 (en) Image processing apparatus, image processing system, and image processing method
US7356160B2 (en) Method of and apparatus for image processing
JP3964297B2 (en) Image processing apparatus, image processing method, and program executed by computer
EP0695079B1 (en) Image processing apparatus with image content judgement
JP4217536B2 (en) Image processing apparatus, image processing method, and image forming apparatus
JP4155634B2 (en) Image forming apparatus, image forming system, and computer-readable recording medium
JP2002165101A (en) Color image forming device
JP3615308B2 (en) Image processing apparatus and method
JP2006238024A (en) Image processor, image processing method and program, and recording medium
JP3581756B2 (en) Image processing device
JP2002218271A (en) Image processor, image formation device and image, processing method
JP3767210B2 (en) Document type determination device and image processing device
JP2002010094A (en) Image forming equipment
JP3988970B2 (en) Image processing apparatus, image processing method, and storage medium
JPH06152945A (en) Image processor
JP3581395B2 (en) Image processing apparatus and image processing method
JP4958626B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP3797448B2 (en) Image processing device
JP4176053B2 (en) Image processing method, image processing apparatus, image forming apparatus, and computer program
JP3492460B2 (en) Background processing method for color image forming apparatus
JP3854414B2 (en) Image processing apparatus and image forming apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040309

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040510

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040720

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041026

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041029

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

Free format text: PAYMENT UNTIL: 20071112

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20081112

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081112

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091112

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101112

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees