JPH10271340A - Image-processing method and device therefor - Google Patents

Image-processing method and device therefor

Info

Publication number
JPH10271340A
JPH10271340A JP9075269A JP7526997A JPH10271340A JP H10271340 A JPH10271340 A JP H10271340A JP 9075269 A JP9075269 A JP 9075269A JP 7526997 A JP7526997 A JP 7526997A JP H10271340 A JPH10271340 A JP H10271340A
Authority
JP
Japan
Prior art keywords
pixel
signal
image
contrast
interest
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
JP9075269A
Other languages
Japanese (ja)
Inventor
Itaru Furukawa
至 古川
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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing 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 Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP9075269A priority Critical patent/JPH10271340A/en
Priority to US09/045,046 priority patent/US6178268B1/en
Publication of JPH10271340A publication Critical patent/JPH10271340A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)
  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To satisfactorily suppress deterioration in image quality and to remove moires, without deteriorating edges of an image. SOLUTION: A main signal S regarding a pixel under consideration is guided to a smoothing processing part 10, an integrator 51 and a filter operation part 40. An arithmetic operation is performed based on an image filter, size of which is larger than a dot size and a filtered signal S' is generated in the filter operation part 40. An average density value of neighboring pixels of a pixel under consideration is extracted in a region larger than the dot size in the smoothing processing part 10. A contrast C of the pixel under consideration is guided, based on the average density value of the neighboring pixels of the pixel under consideration in a contrast extracting part 20. A mixing rate M, (1-M) is guided according to the contrast C in a table reference part 30. A signal Sa is generated in the integrator 51, and a signal Sb is generated in an integrator 52. Then an output signal S" is generated by mixing the signal Sa and the signal Sb in an integrator 53.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、スキャナ,ディ
ジタルカメラ,又はその他の装置から得られるディジタ
ル画像の画像処理方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and an apparatus for processing digital images obtained from a scanner, a digital camera, or another device.

【0002】[0002]

【従来の技術】従来より、印刷物を生成する際には、網
点による印刷が行われている。このような、網点によっ
て印刷された印刷物は、例えば65dpi〜200dp
i程度の解像度を有している。
2. Description of the Related Art Conventionally, when a printed matter is generated, printing using halftone dots has been performed. Such a printed matter printed by halftone dots is, for example, 65 dpi to 200 dpi.
It has a resolution of about i.

【0003】そして、このような網点で記録された印刷
物を、スキャナ等の画像入力部で読み取る場合を図8に
示す。図8は、網点と読み取りを行う画素との位置関係
を示す図であり、原画像である網点画像は50%の濃度
を示している。すなわち、図に示す斜線領域は、網点に
よる記録が行われている部分である。このような原画像
を点線枠で示す大きさの画素P1〜P8で読み取る場合
について説明する。
FIG. 8 shows a case where a printed matter recorded with such halftone dots is read by an image input unit such as a scanner. FIG. 8 is a diagram showing a positional relationship between a halftone dot and a pixel to be read, and a halftone image as an original image has a density of 50%. That is, the hatched area shown in the figure is the part where the recording is performed by the halftone dots. A case where such an original image is read by pixels P1 to P8 having a size indicated by a dotted frame will be described.

【0004】図8に示す1個の画素サイズは、1個の網
点サイズの約87.5%となっている。このような場
合、画素P4とP5において測定される濃度は50%と
なり、原画像の示す濃度と等しいため整合性は保たれて
いるが、画素P1,P8において測定される濃度は、そ
の画素領域に網点の黒化領域を多く含むため50%より
も大きくなる。実際には、画素P1とP8の濃度は約6
2%となっている。また、画素P2,P3,P6,P7
において測定される濃度についても、50%よりも大き
くなっている。このように画素P1,…,P8において
測定される濃度は50%〜約62%の間で周期的に変動
する。これは、原画像が50%の濃度であることについ
て考えれば、画質が劣化していることになる。
The size of one pixel shown in FIG. 8 is about 87.5% of the size of one halftone dot. In such a case, the density measured at the pixels P4 and P5 is 50%, which is equal to the density shown in the original image, so that the consistency is maintained, but the density measured at the pixels P1 and P8 is the pixel area. Contains a large number of blackened areas of halftone dots, so that it is larger than 50%. In practice, the density of pixels P1 and P8 is about 6
It is 2%. Pixels P2, P3, P6, P7
Are also greater than 50%. Thus, the density measured at the pixels P1,..., P8 periodically fluctuates between 50% and about 62%. This means that the image quality is degraded considering that the original image has a density of 50%.

【0005】この原因は、原画像の網点サイズと読み取
る画素サイズとが異なるために、干渉が起こっているか
らである。従って、画素サイズが網点サイズに比べて小
さくなるに従って、原画像の濃度を読み取るというより
はむしろ網点の濃度を読み取ることになり、画素間での
濃度の変動は大きくなる。また、画素サイズが網点サイ
ズに近い場合等には、変動する周期が長くなり、モアレ
として視覚的に目立つようになる。
This is because interference occurs because the halftone dot size of the original image and the pixel size to be read are different. Therefore, as the pixel size becomes smaller than the halftone dot size, the density of the halftone dot is read rather than the density of the original image, and the fluctuation of the density between pixels becomes larger. Further, when the pixel size is close to the halftone dot size, for example, the period of the change becomes long and becomes visually noticeable as moire.

【0006】以上のような現象は、網点以外の方法で表
現されている一般原画像における模様や被写体の模様等
と画素サイズとの関係が上記と同様な状態となる場合に
も発生する。すなわち、透過原稿や反射原稿をスキャナ
で読み取った画像やディジタルカメラで得られた画像に
ついてもモアレが発生する場合がある。
The above phenomenon also occurs when the relationship between the pixel size and the pattern in the general original image or the pattern of the subject expressed by a method other than the halftone dot is the same as described above. That is, moire may occur in an image obtained by reading a transparent original or a reflective original with a scanner or an image obtained by a digital camera.

【0007】そして従来より、このようなモアレを除去
し、画質の劣化を防止するために、画像フィルタを使用
した画像処理が行われている。
[0007] Conventionally, image processing using an image filter has been performed in order to remove such moiré and prevent deterioration in image quality.

【0008】図9は、従来の画像処理装置の概略構成図
である。処理対象の画素(以下、「注目画素」という)
についての主信号Sは、入力するとフィルタ演算部40
1と主信号調整部402に送られる。フィルタ演算部4
01において主信号Sは2次元的な画像フィルタによる
演算が行われてフィルタ済信号S’が生成される。そし
て、主信号調整部402においては、予め設定されてい
る主信号Sの混合率Mに基づいて、主信号SがM倍され
た信号Sa(=M・S)が生成される。ただし、Mは
「0≦M<1」を満たす数値である。一方、フィルタ演
算部401により生成されたフィルタ済信号S’は、フ
ィルタ済信号調整部403において予め設定されている
フィルタ済信号S’の混合率(1−M)によりフィルタ
済信号S’が(1−M)倍された信号Sb(=(1−
M)・S’)となる。そして、主信号調整部402から
の信号Saとフィルタ済信号調整部403からの信号S
bとを加算器404で混合(加算)することにより出力
信号S''を生成する。
FIG. 9 is a schematic configuration diagram of a conventional image processing apparatus. The pixel to be processed (hereinafter referred to as “target pixel”)
When the main signal S is input, the filter operation unit 40
1 and sent to the main signal adjustment unit 402. Filter operation unit 4
At 01, the main signal S is subjected to a calculation by a two-dimensional image filter to generate a filtered signal S '. Then, the main signal adjustment unit 402 generates a signal Sa (= M · S) obtained by multiplying the main signal S by M based on a preset mixing ratio M of the main signal S. Here, M is a numerical value satisfying “0 ≦ M <1”. On the other hand, the filtered signal S ′ generated by the filter operation unit 401 has the filtered signal S ′ according to the mixing ratio (1−M) of the filtered signal S ′ preset in the filtered signal adjustment unit 403 ( 1-M) times the signal Sb (= (1-
M) · S ′). Then, the signal Sa from the main signal adjustment unit 402 and the signal S from the filtered signal adjustment unit 403
The output signal S ″ is generated by mixing (adding) b with the adder 404.

【0009】このような従来の画像処理装置において、
モアレを除去し、画質の劣化を防止するために、フィル
タ演算部401では、所定のサイズの画像フィルタによ
ってフィルタ演算処理が行われる。このとき、使用され
る画像フィルタの一例を図10に示す。このような従来
の画像処理装置では、画像フィルタのサイズは、1個の
網点の約2倍以上のサイズとなるように設定されてい
る。従って、例えば、図10の画像フィルタの例の場合
であると、1個の画素サイズは網点サイズの約「2/
5」以上の大きさとなっている。そして、従来の画像処
理装置では、フィルタ演算部401において画像フィル
タの中心を注目画素に位置させ、注目画素とその近傍画
素に割り当てられた重み付け係数を基に各濃度値の加重
平均を行いフィルタ済信号S’として出力している。す
なわち、網点サイズよりも大きい領域で加重平均を算出
するために、フィルタ済信号S’は、網点パターンの有
する周波数成分が除去されており、網点による影響が取
り除かれた濃度値となる。従って、フィルタ済信号S’
は、モアレや画質劣化の要因が除去されている。
In such a conventional image processing apparatus,
In order to remove moiré and prevent image quality from deteriorating, the filter operation unit 401 performs a filter operation using an image filter of a predetermined size. FIG. 10 shows an example of an image filter used at this time. In such a conventional image processing apparatus, the size of the image filter is set to be about twice or more the size of one halftone dot. Therefore, for example, in the case of the example of the image filter of FIG. 10, one pixel size is approximately “2 /
5 "or more. In the conventional image processing apparatus, the filter operation unit 401 positions the center of the image filter at the pixel of interest, performs weighted averaging of each density value based on the weighting coefficient assigned to the pixel of interest and its neighboring pixels, and performs filtering. The signal is output as a signal S '. That is, in order to calculate the weighted average in an area larger than the dot size, the filtered signal S ′ is a density value in which the frequency component of the dot pattern has been removed and the influence of the dot has been removed. . Therefore, the filtered signal S ′
In the, the causes of moiré and image quality deterioration are removed.

【0010】そして、主信号Sとフィルタ済信号S’と
が混合比「M:(1−M)」で混合されるため、混合率
Mの値が小さい程、フィルタ済信号S’の混合率(1−
M)が大きくなり、出力信号S''にフィルタ済信号S’
が反映される割合が高くなる。換言すれば、画像フィル
タを使用した画像処理の効果は、予め設定されている混
合率Mに依存していることになる。
Since the main signal S and the filtered signal S 'are mixed at a mixing ratio "M: (1-M)", the smaller the value of the mixing ratio M, the higher the mixing ratio of the filtered signal S'. (1-
M) increases, and the output signal S ″ becomes the filtered signal S ′.
Is reflected at a higher rate. In other words, the effect of the image processing using the image filter depends on the preset mixing ratio M.

【0011】なお、この混合率Mの値は、画像処理を開
始する前にオペレータが設定することが可能であるが、
原画像に対する処理が開始されてから処理が終了するま
で固定の値である。
The value of the mixing ratio M can be set by an operator before the image processing is started.
It is a fixed value from the start of processing on the original image to the end of processing.

【0012】[0012]

【発明が解決しようとする課題】ところで、一般に網点
で記録された印刷物の画像のエッジ部分は、網点サイズ
よりも高い解像度で再現されている。図11は、従来か
らの1個の網点を生成する方法を示す説明図である。図
11(a)に示すように1個の網点サイズを示す領域が
4個のブロックB1,…,B4に分割されており、各ブ
ロックはさらに黒化領域ごとに細分されている。そし
て、各黒化領域には、図11(a)に示すように対応す
る閾値が設定されている。一方、原画像を読み取って得
られた濃度値が、図11(b)に示すようにブロックB
1,B4に対応する位置が「20」であり、ブロックB
2,B3に対応する位置が「10」である場合には、図
11(a)に示す閾値と比較して網点の中心から順次に
黒化されていく。そして、図11(c)に示すような網
点が記録される。
Generally, an edge portion of a printed image recorded with halftone dots is reproduced at a resolution higher than the halftone dot size. FIG. 11 is an explanatory diagram showing a conventional method for generating one halftone dot. As shown in FIG. 11A, an area indicating one dot size is divided into four blocks B1,..., B4, and each block is further subdivided for each blackened area. Then, a corresponding threshold value is set for each blackened area as shown in FIG. On the other hand, as shown in FIG.
1, the position corresponding to B4 is "20", and the block B
When the position corresponding to B2 and B3 is "10", blackening is performed sequentially from the center of the halftone dot in comparison with the threshold value shown in FIG. Then, a halftone dot as shown in FIG. 11C is recorded.

【0013】このような記録方法によって画像のエッジ
部分を記録した場合を図12に示す。図12は、網点画
像のエッジ部分を示す図であり、図の点線が画像のエッ
ジである。そして、点線よりも右側が濃度50%を示し
ており、左側が濃度0%を示している。また、格子によ
って区切られている四角形の各領域は、個々の網点領域
を示している。図12に示すように、網点画像のエッジ
部分では4分割された各ブロックに対応する濃度値に応
じて網点が記録されているため、高い解像度で再現が行
われている。
FIG. 12 shows a case where an edge portion of an image is recorded by such a recording method. FIG. 12 is a diagram illustrating an edge portion of the halftone dot image, and a dotted line in the diagram indicates an edge of the image. The right side of the dotted line indicates 50% density, and the left side indicates 0% density. Each square area divided by the grid indicates an individual halftone dot area. As shown in FIG. 12, since the halftone dot is recorded in the edge portion of the halftone dot image according to the density value corresponding to each of the four divided blocks, the reproduction is performed at a high resolution.

【0014】しかし、従来の画像処理装置において、モ
アレや画質の劣化の対策として図10に示すような画像
フィルタを使用して平滑化しても、出力信号S''を生成
する際の、主信号Sとフィルタ済信号S’との混合比
「M:(1−M)」は、1個の画像について常に一定で
あるため、上記のような高い解像度で再現されている画
像のエッジ部分も平滑化され、暈けてしまうという問題
がある。
However, in the conventional image processing apparatus, even if the image signal is smoothed using an image filter as shown in FIG. Since the mixture ratio “M: (1−M)” of S and the filtered signal S ′ is always constant for one image, the edge portion of the image reproduced at a high resolution as described above is also smoothed. There is a problem that it is blurred.

【0015】そこで、この発明は、上記課題に鑑みてな
されたものであって、画像のエッジを劣化させることな
く、良好に画質の劣化を抑え、またモアレを除去する画
像処理方法および装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned problems, and provides an image processing method and apparatus capable of satisfactorily suppressing image quality deterioration and removing moire without deteriorating image edges. The purpose is to do.

【0016】[0016]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載の発明は、原画像に対して画素ごと
に所定の処理を施す方法であって、(a)処理対象である
注目画素の主信号に対して所定のサイズの画像フィルタ
を適用してフィルタ済信号を生成する工程と、(b)注目
画素の近傍に位置する複数の近傍画素のそれぞれに対し
て、当該近傍画素の周辺の所定の領域で平滑化処理を施
すことにより、複数の近傍画素のそれぞれについて平均
濃度値を求める工程と、(c)複数の近傍画素から得られ
た複数の平均濃度値に基づいて注目画素についてのコン
トラストを求める工程と、(d)コントラストに応じて主
信号とフィルタ済信号との混合比を導く工程と、(e)混
合比に基づいて主信号とフィルタ済信号とを混合するこ
とにより出力信号を生成する工程とを有している。
According to an aspect of the present invention, there is provided a method for performing a predetermined process for each pixel on an original image. Generating a filtered signal by applying an image filter of a predetermined size to a main signal of a certain pixel of interest; and (b) for each of a plurality of neighboring pixels located in the vicinity of the pixel of interest, By performing a smoothing process in a predetermined area around the pixel, a step of obtaining an average density value for each of the plurality of neighboring pixels, and (c) based on a plurality of average density values obtained from the plurality of neighboring pixels Calculating the contrast of the pixel of interest; (d) deriving a mixing ratio between the main signal and the filtered signal according to the contrast; and (e) mixing the main signal and the filtered signal based on the mixing ratio. Generate an output signal And a degree.

【0017】請求項2に記載の発明は、請求項1に記載
の方法において、混合比は、コントラストが小さくなる
に従ってフィルタ済信号に対応する割合が大きくなり、
コントラストが大きくなるに従って主信号に対応する割
合が大きくなるように決定される。
According to a second aspect of the present invention, in the method according to the first aspect, a ratio corresponding to the filtered signal increases as the contrast decreases.
The ratio corresponding to the main signal is determined to increase as the contrast increases.

【0018】請求項3に記載の発明は、原画像に対して
画素ごとに所定の処理を施す方法であって、(a)注目画
素および注目画素の近傍に位置する複数の近傍画素に対
して所定のサイズの画像フィルタを適用してフィルタ済
信号を生成する工程と、(b)注目画素の近傍に位置する
複数の近傍画素についてのフィルタ済信号に基づいて注
目画素についてのコントラストを求める工程と、(c)コ
ントラストに応じて注目画素についての主信号とフィル
タ済信号との混合比を導く工程と、(d)混合比に基づい
て注目画素についての主信号とフィルタ済信号とを混合
することにより注目画素についての出力信号を生成する
工程とを有している。
According to a third aspect of the present invention, there is provided a method of performing predetermined processing on an original image for each pixel, comprising the steps of: (a) applying a process to a target pixel and a plurality of neighboring pixels located in the vicinity of the target pixel Generating a filtered signal by applying an image filter of a predetermined size; and (b) obtaining a contrast for the pixel of interest based on the filtered signals for a plurality of neighboring pixels located near the pixel of interest. (C) deriving a mixing ratio between the main signal and the filtered signal for the pixel of interest according to the contrast, and (d) mixing the main signal and the filtered signal for the pixel of interest based on the mixing ratio. And generating an output signal for the pixel of interest.

【0019】請求項4に記載の発明は、請求項3に記載
の方法において、混合比は、コントラストが小さくなる
に従ってフィルタ済信号に対応する割合が大きくなり、
コントラストが大きくなるに従って主信号に対応する割
合が大きくなるように決定される。
According to a fourth aspect of the present invention, in the method according to the third aspect, the ratio corresponding to the filtered signal increases as the contrast decreases, and
The ratio corresponding to the main signal is determined to increase as the contrast increases.

【0020】請求項5に記載の発明は、原画像に対して
画素ごとに所定の処理を施す装置であって、(a)処理対
象である注目画素の主信号に対して所定のサイズの画像
フィルタを適用してフィルタ済信号を生成する手段と、
(b)注目画素の近傍に位置する複数の近傍画素のそれぞ
れに対して、当該近傍画素の周辺の所定の領域で平滑化
処理を施すことにより、複数の近傍画素のそれぞれにつ
いて平均濃度値を求める手段と、(c)複数の近傍画素か
ら得られた複数の平均濃度値に基づいて注目画素につい
てのコントラストを求める手段と、(d)コントラストに
応じて主信号とフィルタ済信号との混合比を導く手段
と、(e)混合比に基づいて主信号とフィルタ済信号とを
混合することにより出力信号を生成する手段とを備えて
いる。
According to a fifth aspect of the present invention, there is provided an apparatus for performing a predetermined process for each pixel on an original image, comprising: (a) an image having a predetermined size for a main signal of a pixel of interest to be processed; Means for applying a filter to generate a filtered signal;
(b) For each of the plurality of neighboring pixels located in the vicinity of the pixel of interest, a smoothing process is performed in a predetermined area around the neighboring pixel to obtain an average density value for each of the plurality of neighboring pixels Means, (c) means for obtaining a contrast for the pixel of interest based on a plurality of average density values obtained from a plurality of neighboring pixels, and (d) a mixing ratio of the main signal and the filtered signal according to the contrast. And (e) means for generating an output signal by mixing the main signal and the filtered signal based on the mixing ratio.

【0021】請求項6に記載の発明は、請求項5に記載
の装置において、混合比は、コントラストが小さくなる
に従ってフィルタ済信号に対応する割合が大きくなり、
コントラストが大きくなるに従って主信号に対応する割
合が大きくなるように設定されている。
According to a sixth aspect of the present invention, in the device according to the fifth aspect, the ratio corresponding to the filtered signal increases as the contrast decreases, and
The ratio corresponding to the main signal is set to increase as the contrast increases.

【0022】請求項7に記載の発明は、原画像に対して
画素ごとに所定の処理を施す装置であって、(a)注目画
素および注目画素の近傍に位置する複数の近傍画素に対
して所定のサイズの画像フィルタを適用してフィルタ済
信号を生成する手段と、(b)注目画素の近傍に位置する
複数の近傍画素についてのフィルタ済信号に基づいて注
目画素についてのコントラストを求める手段と、(c)コ
ントラストに応じて注目画素についての主信号とフィル
タ済信号との混合比を導く手段と、(d)混合比に基づい
て注目画素についての主信号とフィルタ済信号とを混合
することにより注目画素についての出力信号を生成する
手段とを備えている。
According to a seventh aspect of the present invention, there is provided an apparatus for performing a predetermined process for each pixel on an original image, comprising the steps of: (a) applying a process to a target pixel and a plurality of neighboring pixels located near the target pixel; Means for generating a filtered signal by applying an image filter of a predetermined size; and (b) means for obtaining a contrast for the pixel of interest based on the filtered signals for a plurality of neighboring pixels located in the vicinity of the pixel of interest. (C) means for deriving a mixing ratio between the main signal and the filtered signal for the pixel of interest according to the contrast, and (d) mixing the main signal and the filtered signal for the pixel of interest based on the mixing ratio. Means for generating an output signal for the pixel of interest.

【0023】請求項8に記載の発明は、請求項7に記載
の装置において、混合比は、コントラストが小さくなる
に従ってフィルタ済信号に対応する割合が大きくなり、
コントラストが大きくなるに従って主信号に対応する割
合が大きくなるように設定されている。
According to an eighth aspect of the present invention, in the apparatus according to the seventh aspect, the ratio corresponding to the filtered signal increases as the contrast decreases, and
The ratio corresponding to the main signal is set to increase as the contrast increases.

【0024】[0024]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

<1.装置の全体構成>まず、この発明の実施の形態が
適用される装置の全体構成の一例について説明する。図
1は、この発明の実施の形態が適用される装置の全体構
成の一例を示す概略図である。画像入力部100は、入
力スキャナなどのように原稿を光学的に読み取り、画素
ごとに多値の濃度値を示す原画像データを生成する。そ
して生成された原画像データは画像処理部200に転送
される。この画像処理部200は、この発明の実施の形
態である画像処理装置が適用される処理部である。画像
処理部200において、この発明の実施の形態である画
像フィルタを使用した画像処理の他にも原画像データに
対して所定の処理が施された後に、出力スキャナ等のよ
うな画像出力部300に出力される。そして画像出力部
300においては、フィルムなどの記録媒体に対して記
録される。なお、画像入力部100,画像処理部20
0,および画像出力部300に対してオペレータの所望
の動作を行わせるために、キーボードやマウス等の操作
入力部201とディスプレイ表示器等の情報表示部20
2とが設けられている。
<1. Overall Configuration of Apparatus> First, an example of the overall configuration of an apparatus to which an embodiment of the present invention is applied will be described. FIG. 1 is a schematic diagram showing an example of an overall configuration of a device to which an embodiment of the present invention is applied. The image input unit 100 optically reads a document, such as an input scanner, and generates original image data indicating a multi-value density value for each pixel. Then, the generated original image data is transferred to the image processing unit 200. The image processing unit 200 is a processing unit to which the image processing device according to the embodiment of the present invention is applied. In the image processing unit 200, in addition to the image processing using the image filter according to the embodiment of the present invention, after performing predetermined processing on the original image data, the image output unit 300 such as an output scanner or the like is used. Is output to In the image output unit 300, the image is recorded on a recording medium such as a film. The image input unit 100 and the image processing unit 20
0, and an operation input unit 201 such as a keyboard and a mouse, and an information display unit 20 such as a display unit in order to cause the image output unit 300 to perform an operator's desired operation.
2 are provided.

【0025】<2.画像処理の概要>次に、この発明の
実施の形態である画像処理装置における処理形態につい
て説明する。この発明の実施の形態である画像処理装置
においては、モアレや画質の劣化を防止するために画像
フィルタを使用した画像処理が行われる。すなわち、M
×N(M,Nは3以上の奇数)のマトリクス状の画像フ
ィルタを画像平面内に走査させることによって画像の平
滑化等の処理を行う。
<2. Outline of Image Processing> Next, a processing mode in an image processing apparatus according to an embodiment of the present invention will be described. In the image processing apparatus according to the embodiment of the present invention, image processing using an image filter is performed in order to prevent moire and deterioration of image quality. That is, M
A process such as smoothing an image is performed by scanning a matrix of image filters of N (M and N are odd numbers of 3 or more) in the image plane.

【0026】図2は、この発明の実施の形態における画
像処理の概要を示す説明図である。図2(a)に示す画
像Iに対してX方向(横方向)を主走査方向とし、Y方
向(縦方向)を副走査方向として1画素ごとに注目画素
OPを走査しながら順次に処理を行っていく。画像フィ
ルタによる処理の際は、図2(b)に示すように注目画
素OPを画像フィルタFの中心に位置させる。図2
(b)の例では、5×5(M=N=5)のマトリクス状
の画像フィルタFが使用されている。そして画像フィル
タFの各成分に割り当てられた重み付け係数に基づいて
注目画素OPの濃度値とその近傍画素の濃度値との加重
平均を演算により導き、得られた値を注目画素OPのフ
ィルタ済信号とする。
FIG. 2 is an explanatory diagram showing an outline of image processing in the embodiment of the present invention. The image I shown in FIG. 2A is sequentially processed while scanning the target pixel OP pixel by pixel with the X direction (horizontal direction) as the main scanning direction and the Y direction (vertical direction) as the sub-scanning direction. I will go. At the time of processing by the image filter, the target pixel OP is positioned at the center of the image filter F as shown in FIG. FIG.
In the example of (b), a 5 × 5 (M = N = 5) matrix image filter F is used. Then, a weighted average of the density value of the target pixel OP and the density values of neighboring pixels is derived by calculation based on the weighting coefficient assigned to each component of the image filter F, and the obtained value is a filtered signal of the target pixel OP. And

【0027】すなわち、画像フィルタFが図3に示すよ
うな(2m+1)×(2n+1)のサイズのマトリクス
状であり、各成分にはk-m-n〜kmnの重み付け係数が割
り当てられているとする。この画像フィルタFを用いて
画像平面上の座標(x,y)に位置する注目画素OPに
対するフィルタ演算を行って得られるフィルタ済信号
S'xyは、
That is, it is assumed that the image filter F is in the form of a matrix having a size of (2m + 1) × (2n + 1) as shown in FIG. 3, and each component is assigned a weighting coefficient of k- mn to kmn. . A filtered signal S ′ xy obtained by performing a filter operation on the pixel of interest OP located at the coordinates (x, y) on the image plane using the image filter F is

【0028】[0028]

【数1】 (Equation 1)

【0029】となる。ここで、Sxyは原画像の画像平面
上の座標(x,y)に位置する画素の濃度値である。
## EQU1 ## Here, S xy is the density value of the pixel located at the coordinates (x, y) on the image plane of the original image.

【0030】なお、図3に示す画像フィルタにおいて、
注目画素およびその近傍画素に対応する重み付け係数が
全て正数である場合は、画像の平滑化を行うための画像
フィルタであり、重み付け係数の有する周波数特性が画
像フィルタの特性となる。
In the image filter shown in FIG.
When all the weighting coefficients corresponding to the target pixel and its neighboring pixels are positive numbers, it is an image filter for performing image smoothing, and the frequency characteristic of the weighting coefficient is the characteristic of the image filter.

【0031】<3.第1の実施の形態>次に、この発明
の第1の実施の形態である画像処理装置について説明す
る。図4は、第1の実施の形態である画像処理装置を示
す概略構成図である。注目画素についての濃度値である
主信号Sは、平滑化処理部10,積算器51,およびフ
ィルタ演算部40に導かれる。
<3. First Embodiment> Next, an image processing apparatus according to a first embodiment of the present invention will be described. FIG. 4 is a schematic configuration diagram illustrating the image processing apparatus according to the first embodiment. The main signal S, which is the density value of the pixel of interest, is guided to the smoothing processing unit 10, the integrator 51, and the filter operation unit 40.

【0032】平滑化処理部10においては、注目画素に
ついての主信号Sを入力すると、注目画素の近傍画素に
ついての平滑化処理を行って平均濃度値を求める。平均
濃度値を求める注目画素の近傍画素については、例え
ば、上近傍画素,下近傍画素,左近傍画素,右近傍画素
というように4個の近傍画素とすることができる。そし
て、これら注目画素の近傍画素として、図5(a)に示
すように注目画素の上隣,右隣,下隣,左隣に位置する
画素P1,P2,P3,P4をそれぞれ上近傍画素,右
近傍画素,下近傍画素,左近傍画素としても良いが、図
5(b)に示すように注目画素の上側,右側,下側,左
側のそれぞれについて数画素離れた位置にある画素P
5,P6,P7,P8をそれぞれ上近傍画素,右近傍画
素,下近傍画素,左近傍画素としても良い。
When the main signal S for the pixel of interest is input to the smoothing processing unit 10, the smoothing process is performed for pixels near the pixel of interest to obtain an average density value. The neighboring pixels of the target pixel for which the average density value is to be obtained can be, for example, four neighboring pixels such as an upper neighboring pixel, a lower neighboring pixel, a left neighboring pixel, and a right neighboring pixel. Then, as shown in FIG. 5A, pixels P1, P2, P3, and P4 located on the upper, right, lower, and left sides of the target pixel are upper neighboring pixels, respectively. The pixel P may be a right neighboring pixel, a lower neighboring pixel, or a left neighboring pixel. However, as shown in FIG.
5, P6, P7, and P8 may be upper neighboring pixels, right neighboring pixels, lower neighboring pixels, and left neighboring pixels, respectively.

【0033】そして、これら上近傍画素,右近傍画素,
下近傍画素,左近傍画素のそれぞれについて、各近傍画
素を中心とする原画像の個々の網点サイズよりも大きい
領域(平滑化領域)で平滑化処理を行う。平滑化領域を
網点サイズよりも大きい領域とするのは、網点形状を検
出しないようにし、網点の中心位置に近い画素とそうで
ない画素とで、濃度値が大きく異なることを防止し、本
来の原画像の示す濃度値を得るためである。
Then, these upper neighboring pixels, right neighboring pixels,
For each of the lower neighboring pixel and the left neighboring pixel, a smoothing process is performed in an area (smoothing area) larger than the individual dot size of the original image centered on each neighboring pixel. The smoothing area is set to be an area larger than the halftone dot size, so that the halftone dot shape is not detected, and the pixels close to the center position of the halftone dot and the pixels that are not so prevent the density value from being largely different, This is for obtaining the density value indicated by the original original image.

【0034】そして、ここで行われる平滑化処理は、平
滑化領域内に位置する画素の濃度値を単純平均したり、
又は加重平均することにより行われる。このようにして
得られた上近傍画素についての平均濃度値をYU,下近
傍画素についての平均濃度値をYL,左近傍画素につい
ての平均濃度値をXL,右近傍画素についての平均濃度
値をXRとする。そして、平滑化処理部10は、上近傍
画素,下近傍画素,左近傍画素,右近傍画素についての
平均濃度値YU,YL,XL,XRをコントラスト抽出部2
0に送る。
In the smoothing process performed here, the density values of the pixels located in the smoothed area are simply averaged,
Alternatively, it is performed by weighted averaging. The average density value of the upper neighboring pixels thus obtained is YU, the average density value of the lower neighboring pixels is YL, the average density value of the left neighboring pixels is XL, and the average density value of the right neighboring pixels is XR. And Then, the smoothing processing unit 10 converts the average density values YU, YL, XL, and XR of the upper neighboring pixel, the lower neighboring pixel, the left neighboring pixel, and the right neighboring pixel into the contrast extracting unit 2.
Send to 0.

【0035】コントラスト抽出部20では、平均濃度値
YU,YL,XL,XRに基づいて、画像の注目画素付近に
おけるコントラストCを抽出する。すなわち、
The contrast extracting section 20 extracts a contrast C near the target pixel of the image based on the average density values YU, YL, XL and XR. That is,

【0036】[0036]

【数2】 (Equation 2)

【0037】によりコントラストCを求める。数2は、
注目画素についての縦方向のコントラストと横方向のコ
ントラストとを平均化するものである。そして、得られ
たコントラストCは、テーブル参照部30に送られる。
Thus, the contrast C is obtained. Equation 2 is
This averages the vertical contrast and the horizontal contrast of the pixel of interest. Then, the obtained contrast C is sent to the table reference unit 30.

【0038】一般的に、コントラストが大きいというこ
とは、画像のエッジ部分を示し、逆にコントラストが小
さいということは、画像の濃度変化の少ない平坦な部分
を示す。従って、上記のように注目画素付近におけるコ
ントラストを求めることによって注目画素が画像のどの
ような部分であるかを判定することができる。また、平
滑化処理部10において平滑化処理が施されているた
め、網点自体のエッジを検出することもない。
In general, a high contrast indicates an edge portion of an image, and a low contrast indicates a flat portion with a small change in density of the image. Therefore, by determining the contrast in the vicinity of the target pixel as described above, it is possible to determine what part of the image the target pixel is. Further, since the smoothing processing is performed in the smoothing processing unit 10, the edge of the halftone dot itself is not detected.

【0039】テーブル参照部30では、入力するコント
ラストCに応じて混合率Mが導かれる。ここでコントラ
ストCと混合率Mの関係を図6に示す。図6に示すよう
に、混合率Mがとり得る値は、「0≦M<1」である。
そしてコントラストCが大きくなるに従って、混合率M
の値は大きくなり、逆にコントラストCが小さくなるに
従って、混合率Mの値は小さくなる。換言すれば、注目
画素が画像のエッジ部分である場合には、混合率Mの値
が大きくなり、画像の濃度変化の少ない平坦な部分であ
る場合には、混合率Mの値が小さくなる。
In the table reference section 30, the mixing ratio M is derived in accordance with the input contrast C. Here, the relationship between the contrast C and the mixing ratio M is shown in FIG. As shown in FIG. 6, a possible value of the mixing ratio M is “0 ≦ M <1”.
Then, as the contrast C increases, the mixing ratio M
Increases, and conversely, as the contrast C decreases, the value of the mixing ratio M decreases. In other words, if the pixel of interest is an edge portion of the image, the value of the mixture ratio M is large, and if the pixel of interest is a flat portion where the density of the image is small, the value of the mixture ratio M is small.

【0040】そしてテーブル参照部30では、図6の関
係を対応付けたテーブルをメモり等の記憶部材に記憶し
ておき、コントラストCを入力するとそのテーブルを参
照することによって対応する混合率Mを獲得する。この
混合率Mは、出力信号に対する主信号Sの混合割合を示
すものであるため、テーブル参照部30においては、こ
の混合率Mを基に、フィルタ済信号の混合率(1−M)
を導く。従って、混合率(1−M)のとり得る値は、
「0<(1−M)≦1」となる。そして混合率Mは積算
器51に送られ、混合率(1−M)は積算器52に送ら
れる。
The table reference unit 30 stores a table in which the relations shown in FIG. 6 are associated with each other in a storage member such as a memory, and when the contrast C is input, refers to the table to determine the corresponding mixing ratio M. To win. Since the mixing ratio M indicates the mixing ratio of the main signal S to the output signal, the table reference unit 30 uses the mixing ratio M to calculate the mixing ratio (1-M) of the filtered signal.
Lead. Therefore, the possible value of the mixing ratio (1-M) is
“0 <(1−M) ≦ 1”. The mixing ratio M is sent to the integrator 51, and the mixing ratio (1-M) is sent to the integrator 52.

【0041】そして、積算器51においては、主信号S
と混合率Mとの積算が行われ、信号Sa(=M・S)が
生成される。この信号Saは、加算器53に送られる。
Then, in the integrator 51, the main signal S
Is integrated with the mixing ratio M to generate a signal Sa (= M · S). This signal Sa is sent to the adder 53.

【0042】一方、フィルタ演算部40では、所定のサ
イズの画像フィルタによって注目画素に対するフィルタ
演算処理が行われる。このとき、使用される画像フィル
タは、例えば、従来の画像処理装置と同様の図10に示
すような画像フィルタである。この実施の形態の画像処
理装置においても、フィルタ演算部40で適用される画
像フィルタのサイズは、1個の網点の約2倍以上のサイ
ズとなるように設定されることが好ましい。例えば、図
10の画像フィルタの例の場合であると、1個の画素サ
イズは網点サイズの約「2/5」以上の大きさとなって
いる。そして、このフィルタ演算部40では、画像フィ
ルタの中心を注目画素に位置させ、注目画素とその近傍
画素に割り当てられた重み付け係数を基に数1に示した
演算を行って加重平均を行いフィルタ済信号S’として
出力している。そして、網点サイズよりも大きい領域で
加重平均を算出するために、フィルタ済信号S’は、網
点パターンの有する周波数成分が除去されており、網点
による影響が取り除かれた濃度値となっている。従っ
て、フィルタ済信号S’は、モアレや画質劣化の要因が
除去されている。このようにして得られたフィルタ済信
号S’は、積算器52に送られる。
On the other hand, the filter calculation section 40 performs a filter calculation process on the pixel of interest using an image filter of a predetermined size. The image filter used at this time is, for example, an image filter as shown in FIG. 10 similar to a conventional image processing apparatus. Also in the image processing apparatus of this embodiment, it is preferable that the size of the image filter applied by the filter operation unit 40 is set to be about twice or more the size of one halftone dot. For example, in the case of the example of the image filter of FIG. 10, the size of one pixel is equal to or larger than about "2/5" of the halftone dot size. Then, in the filter operation unit 40, the center of the image filter is located at the target pixel, and the weighted coefficient assigned to the target pixel and its neighboring pixels is used to perform the arithmetic operation shown in Equation 1 to perform a weighted average to perform the filtering. The signal is output as a signal S '. Then, in order to calculate the weighted average in an area larger than the dot size, the filtered signal S ′ has a density value in which the frequency component of the dot pattern has been removed and the influence of the dot has been removed. ing. Therefore, in the filtered signal S ′, moiré and the cause of image quality deterioration are removed. The filtered signal S ′ thus obtained is sent to the integrator 52.

【0043】そして、積算器52においては、フィルタ
済信号S’と混合率(1−M)との積算が行われ、信号
Sb(=(1−M)・S’)が生成される。そして、得
られた信号Sbは、加算器53に送られる。
Then, in the integrator 52, the filtered signal S 'is multiplied by the mixing ratio (1-M) to generate a signal Sb (= (1-M) .S'). Then, the obtained signal Sb is sent to the adder 53.

【0044】加算器53では、信号Saと信号Sbとが
混合(加算)されて出力信号S''が生成される。この出
力信号S''は、この実施の形態の画像処理装置の出力信
号である。
In the adder 53, the signal Sa and the signal Sb are mixed (added) to generate an output signal S ″. This output signal S ″ is an output signal of the image processing device of the present embodiment.

【0045】この実施の形態の画像処置装置では、主信
号Sとフィルタ済信号S’とが混合比「M:(1−
M)」で混合される。そして、その混合比は、注目画素
付近のコントラストCに応じて決定される。これによ
り、原画像のコントラストCに応じて混合比を変更する
ことが可能となるため、画像フィルタを使用した画像処
理の効果を、原画像のコントラストCに応じて変更する
ことが可能となる。
In the image processing apparatus according to this embodiment, the main signal S and the filtered signal S ′ are mixed at a mixing ratio “M: (1-
M) ”. Then, the mixture ratio is determined according to the contrast C near the target pixel. This makes it possible to change the mixing ratio according to the contrast C of the original image, so that the effect of the image processing using the image filter can be changed according to the contrast C of the original image.

【0046】そして、この実施の形態の画像処理装置
は、注目画素が画像のエッジ部分である場合には、主信
号Sの混合される割合を大きく設定しているため、出力
される出力信号S''には主信号Sの成分が比較多く含ま
れ、画像のエッジ部分を劣化させることがない。また、
画像の濃度変化の少ない平坦な部分である場合には、フ
ィルタ済信号S’の混合される割合を大きく設定してい
るため、出力される出力信号S''にはフィルタ済信号
S’の成分が比較多く含まれ、モアレの発生や画質の劣
化を防ぐことができる。
In the image processing apparatus according to this embodiment, when the pixel of interest is an edge portion of the image, the ratio of the main signal S to be mixed is set to be large. '' Includes many components of the main signal S in comparison, and does not degrade the edge portion of the image. Also,
In the case of a flat portion where the density change of the image is small, the mixing ratio of the filtered signal S ′ is set to be large, so that the output signal S ″ to be output includes the component of the filtered signal S ′. Are included in comparison, and the occurrence of moire and the deterioration of image quality can be prevented.

【0047】なお、図6において、コントラストCが十
分に大きい場合に、混合率Mが「1」となっていない理
由は、エッジの劣化をさせることのない程度に、網点の
影響を除去するために、フィルタ済信号S’を出力信号
S''に含ませるようにしているためである。これによっ
て、視覚的に目立つ程ではないが、実際に存在している
モアレを除去することができる。
In FIG. 6, when the contrast C is sufficiently large, the reason why the mixing ratio M is not "1" is that the influence of the halftone dots is removed to such an extent that the edge is not deteriorated. For this reason, the filtered signal S ′ is included in the output signal S ″. This makes it possible to remove moiré that is not visually noticeable but actually exists.

【0048】<4.第2の実施の形態>次に、この発明
の第2の実施の形態である画像処理装置について説明す
る。図7は、第2の実施の形態である画像処理装置を示
す概略構成図である。注目画素についての濃度値である
主信号Sは、フィルタ演算部40と積算器51に導かれ
る。
<4. Second Embodiment> Next, an image processing apparatus according to a second embodiment of the present invention will be described. FIG. 7 is a schematic configuration diagram illustrating an image processing apparatus according to the second embodiment. The main signal S, which is the density value of the pixel of interest, is guided to the filter operation unit 40 and the integrator 51.

【0049】フィルタ演算部40では、第1の実施の形
態と同様に、所定のサイズの画像フィルタによってフィ
ルタ演算処理が行われる。このとき、使用される画像フ
ィルタは、例えば、従来の画像処理装置と同様の図10
に示すような画像フィルタである。この実施の形態の画
像処理装置においても、フィルタ演算部40で適用され
る画像フィルタのサイズは、1個の網点の約2倍以上の
サイズとなるように設定されることが好ましい。そし
て、このフィルタ演算部40では、注目画素とその近傍
画素に割り当てられた重み付け係数を基に数1に示した
演算を行って加重平均を行いフィルタ済信号として出力
している。そして、網点サイズよりも大きい領域で加重
平均を算出するために、フィルタ済信号S’は、網点パ
ターンの有する周波数成分が除去されており、網点によ
る影響が取り除かれた濃度値となっている。従って、フ
ィルタ済信号は、モアレや画質劣化の要因が除去されて
いる。
In the filter operation section 40, as in the first embodiment, the filter operation is performed by an image filter having a predetermined size. At this time, the image filter used is, for example, as shown in FIG.
Is an image filter as shown in FIG. Also in the image processing apparatus of this embodiment, it is preferable that the size of the image filter applied by the filter operation unit 40 is set to be about twice or more the size of one halftone dot. Then, the filter operation unit 40 performs the operation shown in Expression 1 based on the weighting coefficients assigned to the target pixel and its neighboring pixels, performs weighted averaging, and outputs the signal as a filtered signal. Then, in order to calculate the weighted average in an area larger than the dot size, the filtered signal S ′ has a density value in which the frequency component of the dot pattern has been removed and the influence of the dot has been removed. ing. Therefore, the filtered signal is free from moiré and image quality degradation factors.

【0050】ところで、この実施の形態に示す画像処理
装置のフィルタ演算部40では、注目画素以外に、注目
画素の近傍画素についてのフィルタ済信号も生成する。
注目画素の近傍画素については、例えば、第1の実施の
形態で説明したような上近傍画素,下近傍画素,左近傍
画素,右近傍画素というような4個の近傍画素とするこ
とができる。そして、上近傍画素,下近傍画素,左近傍
画素,右近傍画素のそれぞれについてのフィルタ済信号
を生成する。そして、得られた上近傍画素,下近傍画
素,左近傍画素,右近傍画素のそれぞれについてのフィ
ルタ済信号をコントラスト抽出部20に送られる。ま
た、注目画素についてのフィルタ済信号S’は積算器5
2に送られる。
By the way, the filter operation unit 40 of the image processing apparatus according to this embodiment also generates a filtered signal for a pixel adjacent to the target pixel in addition to the target pixel.
The neighboring pixels of the target pixel can be, for example, four neighboring pixels such as an upper neighboring pixel, a lower neighboring pixel, a left neighboring pixel, and a right neighboring pixel as described in the first embodiment. Then, a filtered signal is generated for each of the upper neighboring pixel, the lower neighboring pixel, the left neighboring pixel, and the right neighboring pixel. Then, the obtained filtered signals of the upper neighboring pixel, the lower neighboring pixel, the left neighboring pixel, and the right neighboring pixel are sent to the contrast extracting unit 20. The filtered signal S ′ for the pixel of interest is calculated by the integrator 5
Sent to 2.

【0051】コントラスト抽出部20では、上近傍画
素,下近傍画素,左近傍画素,右近傍画素のそれぞれに
ついてのフィルタ済信号に基づいて、画像の注目画素付
近におけるコントラストCを抽出する。ここで、コント
ラストCを求める方法は、第1の実施の形態で説明した
内容と同様で良い。そして、得られたコントラストC
は、テーブル参照部30に送られる。
The contrast extracting section 20 extracts the contrast C near the target pixel of the image based on the filtered signals of the upper neighboring pixel, the lower neighboring pixel, the left neighboring pixel, and the right neighboring pixel. Here, the method of obtaining the contrast C may be the same as that described in the first embodiment. Then, the obtained contrast C
Is sent to the table reference unit 30.

【0052】テーブル参照部30では、入力するコント
ラストCに応じて混合率Mが導かれる。このテーブル参
照部30の詳細についても第1の実施の形態で説明した
内容と同様である。混合率Mは、出力信号に対する主信
号Sの混合割合を示すものであるため、テーブル参照部
30においては、この混合率Mを基に、フィルタ済信号
S’の混合率(1−M)を導く。そして混合率Mは積算
器51に送られ、混合率(1−M)は積算器52に送ら
れる。
In the table reference section 30, the mixing ratio M is derived in accordance with the input contrast C. The details of the table reference unit 30 are the same as those described in the first embodiment. Since the mixing ratio M indicates the mixing ratio of the main signal S to the output signal, the table reference unit 30 calculates the mixing ratio (1-M) of the filtered signal S ′ based on the mixing ratio M. Lead. The mixing ratio M is sent to the integrator 51, and the mixing ratio (1-M) is sent to the integrator 52.

【0053】そして、積算器51においては、主信号S
と混合率Mとの積算が行われ、信号Sa(=M・S)が
生成されて、加算器53に送られる。また、積算器52
においては、フィルタ済信号S’と混合率(1−M)と
の積算が行われ、信号Sb(=(1−M)・S’)が生
成され、得られた信号Sbは、加算器53に送られる。
Then, in the integrator 51, the main signal S
Is integrated with the mixing ratio M to generate a signal Sa (= M · S), which is sent to the adder 53. The integrator 52
, The filtered signal S ′ is multiplied by the mixing ratio (1−M) to generate a signal Sb (= (1−M) · S ′), and the obtained signal Sb is added to the adder 53. Sent to

【0054】加算器53では、信号Saと信号Sbとが
混合されて出力信号S''が生成される。この出力信号
S''は、この実施の形態の画像処理装置の出力信号とな
る。
In the adder 53, the signal Sa and the signal Sb are mixed to generate an output signal S ″. This output signal S ″ is an output signal of the image processing device of the present embodiment.

【0055】この実施の形態の画像処理装置において
は、注目画素の近傍画素についてのフィルタ済信号をコ
ントラスト抽出部20に導いてコントラストを求め、そ
して得られたコントラストに応じて混合率M,(1−
M)を生成している。注目画素の近傍画素についてのフ
ィルタ済信号は、図10に示すような画像フィルタに基
づいて数1に示すように加重平均が行われた信号であ
る。従って、この加重平均されたフィルタ済信号を、第
1の実施の形態で示した平均濃度値に代えて使用して
も、出力信号S''に得られる効果は同じである。また、
この実施の形態のように、フィルタ済信号をコントラス
ト抽出部20に入力した方が、第1の実施の形態で示し
た平滑化処理部10(図4参照)を設ける必要がなく、
効率的な構成となる点で有益である。
In the image processing apparatus of this embodiment, a filtered signal for a pixel in the vicinity of the pixel of interest is guided to the contrast extracting unit 20 to obtain a contrast, and the mixing ratio M, (1) is determined according to the obtained contrast. −
M). The filtered signal for the pixel in the vicinity of the target pixel is a signal on which weighted averaging is performed as shown in Expression 1 based on an image filter as shown in FIG. Therefore, even if this weighted averaged filtered signal is used instead of the average density value shown in the first embodiment, the effect obtained for the output signal S ″ is the same. Also,
As in this embodiment, when the filtered signal is input to the contrast extraction unit 20, there is no need to provide the smoothing processing unit 10 (see FIG. 4) shown in the first embodiment.
This is advantageous in that the configuration is efficient.

【0056】このように、この実施の形態の画像処置装
置においても、注目画素についての主信号Sとフィルタ
済信号S’とが混合比「M:(1−M)」で混合され、
出力信号S''が生成される。そして、その混合比は、コ
ントラストに応じて決定される。これにより、網点の影
響を受けていない原画像のコントラストに応じて混合比
を変更することが可能となるため、画像フィルタを使用
した画像処理の効果を、原画像のコントラストに応じて
変更することが可能となる。
As described above, also in the image processing apparatus of this embodiment, the main signal S and the filtered signal S ′ for the target pixel are mixed at the mixing ratio “M: (1−M)”.
An output signal S '' is generated. Then, the mixture ratio is determined according to the contrast. This makes it possible to change the mixture ratio in accordance with the contrast of the original image which is not affected by the halftone dots, and thus changes the effect of the image processing using the image filter in accordance with the contrast of the original image. It becomes possible.

【0057】そして、この実施の形態の画像処理装置
は、注目画素が画像のエッジ部分である場合には、主信
号Sの混合される割合を大きく設定しているため、出力
される出力信号S''には主信号Sの成分が比較多く含ま
れ、画像のエッジ部分を劣化させることがない。また、
画像の濃度変化の少ない平坦な部分である場合には、注
目画素についてのフィルタ済信号S’の混合される割合
を大きく設定しているため、出力される出力信号S''に
はフィルタ済信号S’の成分が比較多く含まれ、モアレ
の発生や画質の劣化を防ぐことができる。
In the image processing apparatus according to this embodiment, when the pixel of interest is an edge portion of the image, the ratio of the main signal S to be mixed is set to be large. '' Includes many components of the main signal S in comparison, and does not degrade the edge portion of the image. Also,
In the case of a flat portion where the density change of the image is small, since the mixing ratio of the filtered signal S ′ for the pixel of interest is set to be large, the output signal S ″ to be output is the filtered signal The component of S ′ is included in a comparatively large amount, so that occurrence of moiré and deterioration of image quality can be prevented.

【0058】<5.変形例>第1および第2の実施の形
態に示した画像処理装置のフィルタ演算部40で適用さ
れる画像フィルタのサイズは、網点サイズよりも大きい
ことは説明したが、この網点サイズは原画像によって異
なる場合がある。そこで、原画像の網点サイズが変更に
なった場合に、画像フィルタのサイズを適切なサイズに
変更することが必要となる。
<5. Modifications> Although it has been described that the size of the image filter applied by the filter operation unit 40 of the image processing apparatus shown in the first and second embodiments is larger than the halftone dot size, It may be different depending on the original image. Therefore, when the halftone dot size of the original image is changed, it is necessary to change the size of the image filter to an appropriate size.

【0059】画像入力部100が原画像を読み取った際
に網点サイズを測定して検出したり、オペレータが原画
像を画像入力部100にセットした際に、オペレータ自
身が操作入力部201より網点サイズを設定入力するこ
とにより、網点サイズについての網点情報を獲得する。
そして、このようにして得られた網点情報を画像処理装
置に送るように構成する。そして、画像処理装置におい
て、入力された網点情報に基づいて、フィルタ演算部は
適用する画像フィルタのサイズを変更するようにすれ
ば、原画像の網点サイズが変更になっても、直ちに変更
された網点サイズに対応することが可能となる。
When the image input unit 100 reads the original image and measures and detects the halftone dot size, or when the operator sets the original image in the image input unit 100, the operator himself / herself uses the operation input unit 201 to change the halftone dot size. By setting and inputting the dot size, dot information on the dot size is obtained.
Then, the halftone information obtained in this way is configured to be sent to the image processing apparatus. Then, in the image processing apparatus, if the filter calculation unit changes the size of the image filter to be applied based on the input dot information, even if the dot size of the original image is changed, the filter operation unit immediately changes the size. It is possible to correspond to the specified dot size.

【0060】また、実施の形態では、一例として、図6
に示すようにコントラストCが大きくなると混合率Mの
値は大きくなり、コントラストCが小さくなると混合率
Mの値が小さくなる場合を説明したが、このような関係
とすることに限定するものではなく、結果的に、コント
ラストCが大きいときに注目画素についてのフィルタ済
信号S’の混合される割合を大きくし、コントラストC
が小さいときに注目画素についての主信号Sの混合され
る割合を大きくするように設定すれば良い。
In the embodiment, as an example, FIG.
As described above, the case where the value of the mixing ratio M increases as the contrast C increases, and the value of the mixing ratio M decreases as the contrast C decreases, is not limited to such a relationship. As a result, when the contrast C is large, the mixing ratio of the filtered signal S ′ for the target pixel is increased, and the contrast C is increased.
May be set to increase the mixing ratio of the main signal S for the target pixel when is small.

【0061】次に、実施の形態で説明したコントラスト
の抽出は、縦方向と横方向との2方向について行った
が、さらに、斜め方向のコントラストについても抽出す
ればなお好ましい。例えば、コントラストの抽出の際
に、注目画素について右上がり斜め方向と左上がり斜め
方向の近傍画素についても参照するようにすれば、コン
トラスト抽出の精度が上昇する。従って、良好にエッジ
を保存することが可能となる。
Next, the contrast extraction described in the embodiment is performed in two directions, that is, the vertical direction and the horizontal direction. However, it is more preferable to extract the contrast in the oblique direction. For example, when the contrast is extracted, the accuracy of the contrast extraction is increased by referring to the neighboring pixels in the diagonally right-upward and leftward diagonal directions for the target pixel. Therefore, it is possible to satisfactorily preserve edges.

【0062】また、縦,横,斜め以外の方向についてコ
ントラストを求めても良い。すなわち、一般的には注目
画素と中心とする2次元的な広がりをもつ互いに異なる
方向であれば良い。
Further, the contrast may be obtained in directions other than the vertical, horizontal and oblique directions. That is, in general, it is sufficient if the directions are different from each other and have a two-dimensional spread centered on the target pixel.

【0063】以上説明した画像処理装置で適用される画
像フィルタは、一般的に表現すると、M×N(M,Nは
3以上の奇数)の画像フィルタであって、注目画素が当
該画像フィルタの中央部に位置するような構成となる。
The image filter applied in the image processing apparatus described above is, in general terms, an M × N (M, N is an odd number of 3 or more) image filter, and the pixel of interest is the image filter of the image filter. It is configured to be located at the center.

【0064】そして、上記説明した内容は、原画像が網
点によって記録された網点原稿である場合に限らず、そ
の他の画像においてモアレ等が生じている場合には、同
様の処理を施せば、画像のエッジを劣化させることな
く、良好に画質の劣化を抑え、またモアレを除去するこ
とが可能となる。例えば、ディジタルカメラで得られた
画像等の画像処理にも適用可能である。
The contents described above are not limited to the case where the original image is a halftone original recorded with halftone dots, and the same processing may be performed if moire or the like occurs in other images. Therefore, it is possible to satisfactorily suppress deterioration of image quality and remove moiré without deteriorating image edges. For example, the present invention can be applied to image processing of an image or the like obtained by a digital camera.

【0065】[0065]

【発明の効果】以上説明したように、請求項1に記載の
発明によれば、処理対象である注目画素の主信号に対し
て所定のサイズの画像フィルタを適用してフィルタ済信
号を生成し、注目画素の近傍に位置する複数の近傍画素
のそれぞれに対して、当該近傍画素の周辺の所定の領域
で平滑化処理を施すことにより、複数の近傍画素のそれ
ぞれについて平均濃度値を求め、得られた複数の平均濃
度値に基づいて注目画素についてのコントラストを求
め、このコントラストに応じて主信号とフィルタ済信号
との混合比を導き、その混合比に基づいて主信号とフィ
ルタ済信号とを混合することにより出力信号を生成する
ため、出力信号には、原画像のコントラストに応じた画
像フィルタによる処理効果が得られ、画像のエッジ部分
を劣化させることなく、モアレの発生や画質の劣化を良
好に防ぐことができる。
As described above, according to the first aspect of the present invention, a filtered signal is generated by applying an image filter of a predetermined size to a main signal of a target pixel to be processed. By performing a smoothing process on each of a plurality of neighboring pixels located in the vicinity of the pixel of interest in a predetermined area around the neighboring pixel, an average density value is obtained for each of the plurality of neighboring pixels. The contrast of the pixel of interest is obtained based on the obtained plurality of average density values, a mixing ratio between the main signal and the filtered signal is derived according to the contrast, and the main signal and the filtered signal are calculated based on the mixing ratio. Since the output signal is generated by mixing, the output signal has the processing effect of the image filter corresponding to the contrast of the original image, and does not deteriorate the edge portion of the image. , It is possible to prevent well the deterioration of moire generation and image quality.

【0066】請求項2に記載の発明によれば、混合比
は、コントラストが小さくなるに従ってフィルタ済信号
に対応する割合が大きくなり、コントラストが大きくな
るに従って主信号に対応する割合が大きくなるように決
定されるため、画像の濃度変化の少ない平坦な部分につ
いては、フィルタ済信号に対応する割合が大きくなり、
モアレの発生や画質の劣化を良好に防ぐことができる。
また、画像のエッジ部分については、主信号に対応する
割合が大きくなり、画像のエッジ部分を劣化させること
がない。
According to the second aspect of the present invention, the mixing ratio is such that the proportion corresponding to the filtered signal increases as the contrast decreases, and the proportion corresponding to the main signal increases as the contrast increases. Therefore, the ratio corresponding to the filtered signal becomes large for a flat portion where the density change of the image is small,
The occurrence of moiré and the deterioration of image quality can be prevented well.
In addition, as for the edge portion of the image, the ratio corresponding to the main signal increases, and the edge portion of the image does not deteriorate.

【0067】請求項3に記載の発明によれば、注目画素
および注目画素の近傍に位置する複数の近傍画素に対し
て所定のサイズの画像フィルタを適用してフィルタ済信
号を生成し、複数の近傍画素についてのフィルタ済信号
に基づいて注目画素についてのコントラストを求め、得
られたコントラストに応じて注目画素についての主信号
とフィルタ済信号との混合比を導き、その混合比に基づ
いて注目画素についての主信号とフィルタ済信号とを混
合することにより注目画素についての出力信号を生成す
るため、出力信号には、原画像のコントラストに応じた
画像フィルタによる処理効果が得られ、画像のエッジ部
分を劣化させることなく、モアレの発生や画質の劣化を
良好に防ぐことができるとともに、効率的な処理が可能
となる。
According to the third aspect of the present invention, a filtered signal is generated by applying an image filter of a predetermined size to a target pixel and a plurality of neighboring pixels located in the vicinity of the target pixel. The contrast of the pixel of interest is obtained based on the filtered signal of the neighboring pixel, the mixture ratio of the main signal and the filtered signal of the pixel of interest is derived according to the obtained contrast, and the pixel of interest is obtained based on the mixture ratio. The output signal for the pixel of interest is generated by mixing the main signal and the filtered signal for the pixel of interest, so that the output signal has the processing effect of the image filter corresponding to the contrast of the original image, and the edge portion of the image Without deteriorating the image quality, the occurrence of moire and the deterioration of the image quality can be satisfactorily prevented, and efficient processing becomes possible.

【0068】請求項4に記載の発明によれば、混合比
は、コントラストが小さくなるに従ってフィルタ済信号
に対応する割合が大きくなり、コントラストが大きくな
るに従って主信号に対応する割合が大きくなるように決
定されるため、画像の濃度変化の少ない平坦な部分につ
いては、フィルタ済信号に対応する割合が大きくなり、
モアレの発生や画質の劣化を良好に防ぐことができる。
また、画像のエッジ部分については、主信号に対応する
割合が大きくなり、画像のエッジ部分を劣化させること
がない。
According to the fourth aspect of the present invention, the mixing ratio is such that the proportion corresponding to the filtered signal increases as the contrast decreases, and the proportion corresponding to the main signal increases as the contrast increases. Therefore, the ratio corresponding to the filtered signal becomes large for a flat portion where the density change of the image is small,
The occurrence of moiré and the deterioration of image quality can be prevented well.
In addition, as for the edge portion of the image, the ratio corresponding to the main signal increases, and the edge portion of the image does not deteriorate.

【0069】請求項5に記載の発明によれば、処理対象
である注目画素の主信号に対して所定のサイズの画像フ
ィルタを適用してフィルタ済信号を生成し、注目画素の
近傍に位置する複数の近傍画素のそれぞれに対して、当
該近傍画素の周辺の所定の領域で平滑化処理を施すこと
により、複数の近傍画素のそれぞれについて平均濃度値
を求め、得られた複数の平均濃度値に基づいて注目画素
についてのコントラストを求め、このコントラストに応
じて主信号とフィルタ済信号との混合比を導き、その混
合比に基づいて主信号とフィルタ済信号とを混合するこ
とにより出力信号を生成するため、出力信号には、原画
像のコントラストに応じた画像フィルタによる処理効果
が得られ、画像のエッジ部分を劣化させることなく、モ
アレの発生や画質の劣化を良好に防ぐことができる。
According to the fifth aspect of the present invention, a filtered signal is generated by applying an image filter of a predetermined size to the main signal of the target pixel to be processed, and is located near the target pixel. By performing a smoothing process on each of the plurality of neighboring pixels in a predetermined area around the neighboring pixel, an average density value is obtained for each of the plurality of neighboring pixels. The contrast of the pixel of interest is determined based on the contrast, a mixing ratio of the main signal and the filtered signal is derived according to the contrast, and an output signal is generated by mixing the main signal and the filtered signal based on the mixing ratio. As a result, the output signal has a processing effect by an image filter corresponding to the contrast of the original image, and the generation of moiré and image quality can be achieved without deteriorating the edge portion of the image. It is possible to prevent the deterioration good.

【0070】請求項6に記載の発明によれば、混合比
は、コントラストが小さくなるに従ってフィルタ済信号
に対応する割合が大きくなり、コントラストが大きくな
るに従って主信号に対応する割合が大きくなるように設
定されているため、画像の濃度変化の少ない平坦な部分
については、フィルタ済信号に対応する割合が大きくな
り、モアレの発生や画質の劣化を良好に防ぐことができ
る。また、画像のエッジ部分については、主信号に対応
する割合が大きくなり、画像のエッジ部分を劣化させる
ことがない。
According to the sixth aspect of the invention, the mixing ratio is such that the proportion corresponding to the filtered signal increases as the contrast decreases, and the proportion corresponding to the main signal increases as the contrast increases. Since the setting is made, the ratio corresponding to the filtered signal becomes large in a flat portion where the density change of the image is small, and the occurrence of moire and the deterioration of the image quality can be prevented well. In addition, as for the edge portion of the image, the ratio corresponding to the main signal increases, and the edge portion of the image does not deteriorate.

【0071】請求項7に記載の発明によれば、注目画素
および注目画素の近傍に位置する複数の近傍画素に対し
て所定のサイズの画像フィルタを適用してフィルタ済信
号を生成し、複数の近傍画素についてのフィルタ済信号
に基づいて注目画素についてのコントラストを求め、得
られたコントラストに応じて注目画素についての主信号
とフィルタ済信号との混合比を導き、その混合比に基づ
いて注目画素についての主信号とフィルタ済信号とを混
合することにより注目画素についての出力信号を生成す
るため、出力信号には、原画像のコントラストに応じた
画像フィルタによる処理効果が得られ、画像のエッジ部
分を劣化させることなく、モアレの発生や画質の劣化を
良好に防ぐことができるとともに、効率的な装置構成と
することができる。
According to the seventh aspect of the present invention, a filtered signal is generated by applying an image filter of a predetermined size to a target pixel and a plurality of neighboring pixels located in the vicinity of the target pixel. The contrast of the pixel of interest is obtained based on the filtered signal of the neighboring pixel, the mixture ratio of the main signal and the filtered signal of the pixel of interest is derived according to the obtained contrast, and the pixel of interest is obtained based on the mixture ratio. The output signal for the pixel of interest is generated by mixing the main signal and the filtered signal for the pixel of interest, so that the output signal has the processing effect of the image filter corresponding to the contrast of the original image, and the edge portion of the image is obtained. , The occurrence of moiré and the deterioration of the image quality can be satisfactorily prevented, and an efficient device configuration can be achieved.

【0072】請求項8に記載の発明によれば、混合比
は、コントラストが小さくなるに従ってフィルタ済信号
に対応する割合が大きくなり、コントラストが大きくな
るに従って主信号に対応する割合が大きくなるように設
定されているため、画像の濃度変化の少ない平坦な部分
については、フィルタ済信号に対応する割合が大きくな
り、モアレの発生や画質の劣化を良好に防ぐことができ
る。また、画像のエッジ部分については、主信号に対応
する割合が大きくなり、画像のエッジ部分を劣化させる
ことがない。
According to the eighth aspect of the present invention, the mixing ratio is such that the proportion corresponding to the filtered signal increases as the contrast decreases, and the proportion corresponding to the main signal increases as the contrast increases. Since the setting is made, the ratio corresponding to the filtered signal becomes large in a flat portion where the density change of the image is small, and the occurrence of moire and the deterioration of the image quality can be prevented well. In addition, as for the edge portion of the image, the ratio corresponding to the main signal increases, and the edge portion of the image does not deteriorate.

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

【図1】この発明の実施の形態が適用される装置の全体
構成の一例を示す概略図である。
FIG. 1 is a schematic diagram showing an example of an overall configuration of a device to which an embodiment of the present invention is applied.

【図2】この発明の実施の形態における画像処理の概要
を示す説明図である。
FIG. 2 is an explanatory diagram illustrating an outline of image processing according to the embodiment of the present invention;

【図3】画像フィルタの各成分の重み付け係数を示す図
である。
FIG. 3 is a diagram illustrating weighting coefficients of respective components of an image filter.

【図4】この発明の第1の実施の形態である画像処理装
置を示す概略構成図である。
FIG. 4 is a schematic configuration diagram illustrating an image processing apparatus according to the first embodiment of the present invention.

【図5】上近傍画素等を説明するための説明図である。FIG. 5 is an explanatory diagram for explaining an upper neighboring pixel and the like.

【図6】この発明の実施の形態におけるコントラストC
と混合率Mの関係を示す図である。
FIG. 6 shows a contrast C according to the embodiment of the present invention.
FIG. 6 is a diagram showing a relationship between the mixing ratio M and the mixing ratio M.

【図7】この発明の第2の実施の形態である画像処理装
置を示す概略構成図である。
FIG. 7 is a schematic configuration diagram illustrating an image processing apparatus according to a second embodiment of the present invention.

【図8】網点と読み取りを行う画素との位置関係を示す
図である。
FIG. 8 is a diagram showing a positional relationship between halftone dots and pixels to be read.

【図9】従来の画像処理装置を示す概略構成図である。FIG. 9 is a schematic configuration diagram showing a conventional image processing apparatus.

【図10】従来の画像フィルタの一例を示す図である。FIG. 10 is a diagram illustrating an example of a conventional image filter.

【図11】従来からの1個の網点を生成する方法を示す
説明図である。
FIG. 11 is an explanatory diagram showing a conventional method for generating one halftone dot.

【図12】網点画像のエッジ部分を示す図である。FIG. 12 is a diagram showing an edge portion of a halftone dot image.

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

10 平滑化処理部 20 コントラスト抽出部 30 テーブル参照部 40 フィルタ演算部 51,52 積算器 53 加算器 100 画像入力部 200 画像処理部 201 操作入力部 202 情報表示部 300 画像出力部 S 主信号 S’ フィルタ済信号 S'' 出力信号 M,(1−M) 混合率 C コントラスト DESCRIPTION OF SYMBOLS 10 Smoothing processing part 20 Contrast extraction part 30 Table reference part 40 Filter calculation part 51,52 Integrator 53 Adder 100 Image input part 200 Image processing part 201 Operation input part 202 Information display part 300 Image output part S Main signal S ' Filtered signal S '' Output signal M, (1-M) Mixing ratio C Contrast

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 原画像に対して画素ごとに所定の処理を
施す方法であって、 (a) 処理対象である注目画素の主信号に対して所定のサ
イズの画像フィルタを適用してフィルタ済信号を生成す
る工程と、 (b) 前記注目画素の近傍に位置する複数の近傍画素のそ
れぞれに対して、当該近傍画素の周辺の所定の領域で平
滑化処理を施すことにより、前記複数の近傍画素のそれ
ぞれについて平均濃度値を求める工程と、 (c) 前記複数の近傍画素から得られた複数の前記平均濃
度値に基づいて前記注目画素についてのコントラストを
求める工程と、 (d) 前記コントラストに応じて前記主信号と前記フィル
タ済信号との混合比を導く工程と、 (e) 前記混合比に基づいて前記主信号と前記フィルタ済
信号とを混合することにより出力信号を生成する工程
と、を有することを特徴とする画像処理方法。
1. A method for performing a predetermined process for each pixel on an original image, comprising: (a) applying a predetermined size image filter to a main signal of a pixel of interest to be processed; Generating a signal; (b) for each of the plurality of neighboring pixels located in the vicinity of the pixel of interest, performing a smoothing process in a predetermined area around the neighboring pixel, thereby obtaining the plurality of neighboring pixels. Obtaining an average density value for each of the pixels; (c) obtaining a contrast for the pixel of interest based on the plurality of average density values obtained from the plurality of neighboring pixels; and (d) obtaining the contrast. Deriving a mixing ratio between the main signal and the filtered signal accordingly; and (e) generating an output signal by mixing the main signal and the filtered signal based on the mixing ratio, Have Image processing method, characterized in that.
【請求項2】 請求項1に記載の方法において、 前記混合比は、前記コントラストが小さくなるに従って
前記フィルタ済信号に対応する割合が大きくなり、前記
コントラストが大きくなるに従って前記主信号に対応す
る割合が大きくなるように決定されることを特徴とする
画像処理方法。
2. The method according to claim 1, wherein the mixing ratio is such that a ratio corresponding to the filtered signal increases as the contrast decreases, and a ratio corresponding to the main signal increases as the contrast increases. Is determined to be larger.
【請求項3】 原画像に対して画素ごとに所定の処理を
施す方法であって、 (a) 注目画素および注目画素の近傍に位置する複数の近
傍画素に対して所定のサイズの画像フィルタを適用して
フィルタ済信号を生成する工程と、 (b) 前記注目画素の近傍に位置する複数の近傍画素につ
いてのフィルタ済信号に基づいて前記注目画素について
のコントラストを求める工程と、 (c) 前記コントラストに応じて前記注目画素についての
主信号とフィルタ済信号との混合比を導く工程と、 (d) 前記混合比に基づいて前記注目画素についての主信
号とフィルタ済信号とを混合することにより前記注目画
素についての出力信号を生成する工程と、を有すること
を特徴とする画像処理方法。
3. A method for performing a predetermined process for each pixel on an original image, comprising: (a) applying an image filter of a predetermined size to a target pixel and a plurality of neighboring pixels located in the vicinity of the target pixel; Generating a filtered signal by applying; (b) obtaining a contrast for the pixel of interest based on a filtered signal for a plurality of neighboring pixels located near the pixel of interest; (c) Deriving a mixing ratio between the main signal and the filtered signal for the pixel of interest according to the contrast; (d) mixing the main signal and the filtered signal for the pixel of interest based on the mixing ratio. Generating an output signal for the pixel of interest.
【請求項4】 請求項3に記載の方法において、 前記混合比は、前記コントラストが小さくなるに従って
前記フィルタ済信号に対応する割合が大きくなり、前記
コントラストが大きくなるに従って前記主信号に対応す
る割合が大きくなるように決定されることを特徴とする
画像処理方法。
4. The method according to claim 3, wherein the mixing ratio is such that a ratio corresponding to the filtered signal increases as the contrast decreases, and a ratio corresponding to the main signal increases as the contrast increases. Is determined to be larger.
【請求項5】 原画像に対して画素ごとに所定の処理を
施す装置であって、 (a) 処理対象である注目画素の主信号に対して所定のサ
イズの画像フィルタを適用してフィルタ済信号を生成す
る手段と、 (b) 前記注目画素の近傍に位置する複数の近傍画素のそ
れぞれに対して、当該近傍画素の周辺の所定の領域で平
滑化処理を施すことにより、前記複数の近傍画素のそれ
ぞれについて平均濃度値を求める手段と、 (c) 前記複数の近傍画素から得られた複数の前記平均濃
度値に基づいて前記注目画素についてのコントラストを
求める手段と、 (d) 前記コントラストに応じて前記主信号と前記フィル
タ済信号との混合比を導く手段と、 (e) 前記混合比に基づいて前記主信号と前記フィルタ済
信号とを混合することにより出力信号を生成する手段
と、を備えることを特徴とする画像処理装置。
5. An apparatus for performing a predetermined process for each pixel on an original image, comprising: (a) applying an image filter of a predetermined size to a main signal of a pixel of interest to be processed; Means for generating a signal, (b) for each of a plurality of neighboring pixels located in the vicinity of the pixel of interest, by performing a smoothing process in a predetermined area around the neighboring pixel, the plurality of neighboring pixels Means for obtaining an average density value for each of the pixels; (c) means for obtaining a contrast for the pixel of interest based on the plurality of average density values obtained from the plurality of neighboring pixels; Means for guiding a mixing ratio between the main signal and the filtered signal in response thereto; (e) means for generating an output signal by mixing the main signal and the filtered signal based on the mixing ratio, Equipped The image processing apparatus characterized by.
【請求項6】 請求項5に記載の装置において、 前記混合比は、前記コントラストが小さくなるに従って
前記フィルタ済信号に対応する割合が大きくなり、前記
コントラストが大きくなるに従って前記主信号に対応す
る割合が大きくなるように設定されていることを特徴と
する画像処理装置。
6. The apparatus according to claim 5, wherein the mixing ratio is such that a ratio corresponding to the filtered signal increases as the contrast decreases, and a ratio corresponding to the main signal increases as the contrast increases. Is set to be large.
【請求項7】 原画像に対して画素ごとに所定の処理を
施す装置であって、 (a) 注目画素および注目画素の近傍に位置する複数の近
傍画素に対して所定のサイズの画像フィルタを適用して
フィルタ済信号を生成する手段と、 (b) 前記注目画素の近傍に位置する複数の近傍画素につ
いてのフィルタ済信号に基づいて前記注目画素について
のコントラストを求める手段と、 (c) 前記コントラストに応じて前記注目画素についての
主信号とフィルタ済信号との混合比を導く手段と、 (d) 前記混合比に基づいて前記注目画素についての主信
号とフィルタ済信号とを混合することにより前記注目画
素についての出力信号を生成する手段と、を備えること
を特徴とする画像処理装置。
7. An apparatus for performing a predetermined process for each pixel on an original image, comprising: (a) applying an image filter of a predetermined size to a target pixel and a plurality of neighboring pixels located near the target pixel; Means for applying to generate a filtered signal; (b) means for obtaining a contrast for the pixel of interest based on a filtered signal for a plurality of neighboring pixels located in the vicinity of the pixel of interest; (c) Means for deriving a mixing ratio between the main signal and the filtered signal for the pixel of interest according to the contrast; (d) mixing the main signal and the filtered signal for the pixel of interest based on the mixing ratio Means for generating an output signal for the pixel of interest.
【請求項8】 請求項7に記載の装置において、 前記混合比は、前記コントラストが小さくなるに従って
前記フィルタ済信号に対応する割合が大きくなり、前記
コントラストが大きくなるに従って前記主信号に対応す
る割合が大きくなるように設定されていることを特徴と
する画像処理装置。
8. The apparatus according to claim 7, wherein the mixing ratio is such that a ratio corresponding to the filtered signal increases as the contrast decreases, and a ratio corresponding to the main signal increases as the contrast increases. Is set to be large.
JP9075269A 1997-03-27 1997-03-27 Image-processing method and device therefor Pending JPH10271340A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP9075269A JPH10271340A (en) 1997-03-27 1997-03-27 Image-processing method and device therefor
US09/045,046 US6178268B1 (en) 1997-03-27 1998-03-20 Method of and apparatus for processing image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9075269A JPH10271340A (en) 1997-03-27 1997-03-27 Image-processing method and device therefor

Publications (1)

Publication Number Publication Date
JPH10271340A true JPH10271340A (en) 1998-10-09

Family

ID=13571348

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9075269A Pending JPH10271340A (en) 1997-03-27 1997-03-27 Image-processing method and device therefor

Country Status (1)

Country Link
JP (1) JPH10271340A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999016239A2 (en) * 1997-09-19 1999-04-01 Koninklijke Philips Electronics N.V. Moire suppression
KR20010100723A (en) * 2000-05-06 2001-11-14 임쌍근 How to remove the reference grid from moiré patterns
US8428386B2 (en) 2007-11-08 2013-04-23 Sharp Kabushiki Kaisha Using separate coefficients to weight and add separate images together from a spatial filter process

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999016239A2 (en) * 1997-09-19 1999-04-01 Koninklijke Philips Electronics N.V. Moire suppression
US6201582B1 (en) 1997-09-19 2001-03-13 Philips Electronics North America Corporation Circuit for moiré suppression
KR20010100723A (en) * 2000-05-06 2001-11-14 임쌍근 How to remove the reference grid from moiré patterns
US8428386B2 (en) 2007-11-08 2013-04-23 Sharp Kabushiki Kaisha Using separate coefficients to weight and add separate images together from a spatial filter process

Similar Documents

Publication Publication Date Title
JP3925588B2 (en) Image processing apparatus, image processing method, and medium on which image processing control program is recorded
JPS63266982A (en) Interpolating method for picture signal and picture signal processor executing it
JP2007065916A (en) Image processing method, image processor, image forming apparatus, computer program and recording medium
US6272260B1 (en) Method of and apparatus for processing an image filter
US6301395B1 (en) Image processing apparatus that can appropriately enhance contour of an image
JP4366634B2 (en) Noise pixel map creation method, apparatus and program for implementing the method, and photo print apparatus
JPH06309452A (en) Resolution converting processor
JPH10271340A (en) Image-processing method and device therefor
JP2000253238A (en) Picture processor and picture processing method
US6178268B1 (en) Method of and apparatus for processing image
JP4138126B2 (en) Image processing device
JPH10276332A (en) Image processing method and its unit
JP3137702B2 (en) Image processing device
JP3361355B2 (en) Image processing device
JP4053362B2 (en) Interpolation processing method, interpolation processing program, recording medium recording the same, image processing apparatus, and image forming apparatus provided with the same
JP3476649B2 (en) Image processing method and apparatus
JP4067538B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP4084719B2 (en) Image processing apparatus, image forming apparatus including the image processing apparatus, image processing method, image processing program, and computer-readable recording medium
JP3117331B2 (en) Image data processing device
JP4063971B2 (en) Image processing method and apparatus
JPH10276331A (en) Image processing unit and its method
JPH10210298A (en) Image processing method and device therefor
JP3222570B2 (en) Image area identification device
JP2003102027A5 (en)
JPH0662230A (en) Image forming device