JP3476649B2 - Image processing method and apparatus - Google Patents

Image processing method and apparatus

Info

Publication number
JP3476649B2
JP3476649B2 JP07357097A JP7357097A JP3476649B2 JP 3476649 B2 JP3476649 B2 JP 3476649B2 JP 07357097 A JP07357097 A JP 07357097A JP 7357097 A JP7357097 A JP 7357097A JP 3476649 B2 JP3476649 B2 JP 3476649B2
Authority
JP
Japan
Prior art keywords
image
pixel
halftone dot
contrast
filter
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
JP07357097A
Other languages
Japanese (ja)
Other versions
JPH10271339A (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.)
Screen Holdings Co Ltd
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Screen Holdings Co Ltd
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 Screen Holdings Co Ltd, Dainippon Screen Manufacturing Co Ltd filed Critical Screen Holdings Co Ltd
Priority to JP07357097A priority Critical patent/JP3476649B2/en
Priority to US09/040,303 priority patent/US6272260B1/en
Publication of JPH10271339A publication Critical patent/JPH10271339A/en
Application granted granted Critical
Publication of JP3476649B2 publication Critical patent/JP3476649B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、網点原稿を読み
取ることによって得られたディジタル画像の画像処理方
法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention reads halftone originals.
The present invention relates to an image processing method and apparatus for a digital image obtained by taking the image.

【0002】[0002]

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

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

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

【0005】この原因は、原画像の網点サイズと読み取
る画素サイズとが異なるために、干渉が起こっているか
らである。従って、画素サイズが網点サイズに比べて小
さくなるに従って、原画像の濃度を読み取るというより
はむしろ網点の濃度を読み取ることになり、画素間での
濃度の変動は大きくなる。また、画素サイズが網点サイ
ズに近い場合等には、変動する周期が長くなり、モアレ
として視覚的に目立つようになる。
This is because interference occurs because the 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 reading the density of the original image, and the variation in the density between pixels becomes large. Further, when the pixel size is close to the halftone dot size, the fluctuating period becomes long, and it 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 represented by a method other than the halftone dot and the pattern of the object is in the same state as described above. That is, moire may occur in an image obtained by scanning a transparent original or a reflective original with a scanner or an image obtained with a digital camera.

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

【0008】図10は、従来の画像処理装置の概略構成
図である。処理対象の画素(以下、「注目画素」とい
う)についての主信号Sは、フィルタ演算部400で予
め設定されている所定のサイズの画像フィルタによって
フィルタ演算処理が行われ、フィルタ済信号S’が生成
される。このとき、使用される画像フィルタの一例を図
11に示す。このような従来の画像処理装置では、画像
フィルタの横サイズおよび縦サイズは、個々の網点の約
2倍以上となるように設定されている。従って、例え
ば、図11の画像フィルタの例の場合であると、1個の
画素サイズは網点サイズの約「2/5」以上の大きさと
なっている。そして、従来の画像処理装置では、フィル
タ演算部400において画像フィルタの中心を注目画素
に位置させ、注目画素とその近傍画素に割り当てられた
重み付け係数を基に各濃度値の加重平均を行いフィルタ
済信号S’として出力している。
FIG. 10 is a schematic block diagram of a conventional image processing apparatus. The main signal S for the pixel to be processed (hereinafter referred to as “target pixel”) is subjected to a filter calculation process by an image filter of a predetermined size preset in the filter calculation unit 400, and a filtered signal S ′ is obtained. Is generated. FIG. 11 shows an example of the image filter used at this time. In such a conventional image processing apparatus, the horizontal size and the vertical size of the image filter are set to be about twice or more the size of each halftone dot. Therefore, for example, in the case of the example of the image filter of FIG. 11, one pixel size is about “2/5” or more of the halftone dot size. Then, in the conventional image processing apparatus, the center of the image filter is located at the pixel of interest in the filter calculation unit 400, and the weighted average of the respective density values is performed based on the weighting coefficient assigned to the pixel of interest and its neighboring pixels, and then filtered. It is output as a signal S '.

【0009】このように、従来の画像処理装置では、図
11で示すような画像フィルタを用いて処理することに
より、網点サイズよりも大きい領域(約2倍程度)で濃
度の加重平均を行って平滑化処理しているので、網点パ
ターンの有する周波数成分を除去することができ、網点
サイズが与える影響を除去することができる。従って、
フィルタ処理が施された画像には、モアレの発生や画質
の劣化が生じない。
As described above, in the conventional image processing apparatus, by performing processing using the image filter as shown in FIG. 11, the weighted average of the densities is performed in the area (about 2 times) larger than the halftone dot size. Since the smoothing process is performed by the above, the frequency component of the halftone dot pattern can be removed, and the influence of the halftone dot size can be removed. Therefore,
No moiré or deterioration of image quality occurs in the filtered image.

【0010】[0010]

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

【0011】このような記録方法によって画像のエッジ
部分を記録した場合を図13に示す。図13は、網点画
像のエッジ部分を示す図であり、図の点線が画像のエッ
ジである。そして、点線よりも右側が濃度50%を示し
ており、左側が濃度0%を示している。図13に示すよ
うに、網点画像のエッジ部分では4分割された各ブロッ
クに対応する濃度値に応じて網点が記録されているた
め、高い解像度で再現が行われている。
FIG. 13 shows a case where an edge portion of an image is recorded by such a recording method. FIG. 13 is a diagram showing an edge portion of a halftone dot image, and a dotted line in the figure is an edge of the image. The density on the right side of the dotted line is 50%, and the density on the left side is 0%. As shown in FIG. 13, halftone dots are recorded in the edge portion of the halftone image according to the density value corresponding to each of the four divided blocks, so that reproduction is performed at high resolution.

【0012】しかし、従来の画像処理装置において、モ
アレや画質の劣化の対策として図11に示すような画像
フィルタを使用して平滑化すると、上記のような高い解
像度で再現されている画像のエッジ部分も平滑化され、
暈けてしまうという問題がある。
However, in the conventional image processing apparatus, when smoothing is performed using an image filter as shown in FIG. 11 as a measure against moire and deterioration of image quality, the edge of the image reproduced at the high resolution as described above. The part is also smoothed,
There is a problem of being blurred.

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

【0014】[0014]

【0015】[0015]

【課題を解決するための手段】上記目的を達成するため
に、請求項1 に記載の発明は、網点原稿を読み取ること
によって得られた原画像に対して画素ごとに所定の処理
を施す方法であって、(a)処理対象である注目画素の
近傍に位置する複数の近傍画素のそれぞれに対して、当
該近傍画素の周辺の前記網点原稿を構成している個々の
網点サイズよりも大きい所定の領域で平滑化処理を施す
ことにより、複数の近傍画素のそれぞれについて平均濃
度値を求める工程と、(b)複数の近傍画素から得られ
た複数の平均濃度値に基づいて注目画素についてのコン
トラストを求める工程と、(c)コントラストに応じ
て、画像フィルタの各成分に割り当てられる重み付け係
数を決定する工程と、(d)重み付け係数が適用された
画像フィルタを用いて注目画素の主信号に対してフィル
タ演算を施し、出力信号を生成する工程とを有してお
り、工程(d)で適用される画像フィルタのサイズは、
網点原稿を構成している個々の網点サイズよりも大きい
ことを特徴としている。
[Means for Solving the Problems] To achieve the above object
The invention according to claim 1 is a method of subjecting an original image obtained by reading a halftone dot original document to a predetermined process for each pixel, and (a) the vicinity of a target pixel to be processed. By performing smoothing processing on each of a plurality of neighboring pixels located in the area in a predetermined area larger than each halftone dot size that constitutes the halftone dot original document around the neighboring pixel, The step of obtaining an average density value for each of the neighboring pixels; (b) the step of obtaining the contrast for the pixel of interest based on the plurality of average density values obtained from the plurality of neighboring pixels; and (c) the contrast A step of determining a weighting coefficient assigned to each component of the image filter, and (d) applying a filter operation to the main signal of the pixel of interest using the image filter to which the weighting coefficient is applied, and outputting Has a step of generating the issue, the size of the image filter applied in step (d),
It is characterized in that it is larger than the size of each halftone dot forming the halftone dot original.

【0016】 請求項2に記載の発明は、請求項1に
載の方法において、工程(b)は、複数の近傍画素から
得られた複数の平均濃度値に基づいて互いに異なる複数
の方向についてのコントラストを求める工程を含み、工
程(c)は、複数の方向についてのコントラストに応じ
て、複数の方向についての有効な重み付け係数の分布を
それぞれ変更する工程を含むことを特徴としている。
The invention according to claim 2 is the method according to claim 1, wherein the step (b) is different from each other based on a plurality of average density values obtained from a plurality of neighboring pixels. It is characterized in that the method includes a step of obtaining contrasts in a plurality of directions, and the step (c) includes a step of changing respective distributions of effective weighting coefficients in a plurality of directions according to the contrasts in the plurality of directions. There is.

【0017】[0017]

【0018】 請求項3に記載の発明は、網点原稿を読
み取ることによって得られた原画像に対して画素ごとに
所定の処理を施す装置であって、(a)処理対象である
注目画素の近傍に位置する複数の近傍画素のそれぞれに
対して、当該近傍画素の周辺の前記網点原稿を構成して
いる個々の網点サイズよりも大きい所定の領域で平滑化
処理を施すことにより、複数の近傍画素のそれぞれにつ
いて平均濃度値を求める手段と、(b)複数の近傍画素
から得られた複数の平均濃度値に基づいて注目画素につ
いてのコントラストを求める手段と、(c)コントラス
トに応じて、画像フィルタの各成分に割り当てられる重
み付け係数を決定する手段と、(d)重み付け係数が適
用された画像フィルタを用いて注目画素の主信号に対し
てフィルタ演算を施し、出力信号を生成する手段とを備
えており、手段(d)で適用される画像フィルタのサイ
ズは、網点原稿を構成している個々の網点サイズよりも
大きいことを特徴としている。
According to a third aspect of the present invention, there is provided an apparatus for subjecting an original image obtained by reading a halftone dot original document to a predetermined process for each pixel, wherein (a) a target pixel to be processed. By performing smoothing processing on each of a plurality of neighboring pixels located in the vicinity in a predetermined area larger than each halftone dot size of the halftone dot original document surrounding the neighboring pixel, Means for obtaining the average density value for each of the neighboring pixels, (b) means for obtaining the contrast for the pixel of interest based on the plurality of average density values obtained from the plurality of neighboring pixels, and (c) according to the contrast. , A means for determining a weighting coefficient assigned to each component of the image filter, and (d) an image filter to which the weighting coefficient is applied, for performing a filter operation on the main signal of the pixel of interest. Comprises a means for generating an output signal, the size of the image filter applied by means (d) it is it is characterized in greater than the individual dot size constituting the dot document.

【0019】 請求項4に記載の発明は、請求項3に記
載の装置において、手段(b)は、複数の近傍画素から
得られた複数の平均濃度値に基づいて互いに異なる複数
の方向についてのコントラストを求める手段を含み、手
段(c)は、複数の方向についてのコントラストに応じ
て、複数の方向についての有効な重み付け係数の分布を
それぞれ変更する手段を含むことを特徴としている。
According to a fourth aspect of the present invention, in the apparatus according to the third aspect , the means (b) is provided for a plurality of directions different from each other based on a plurality of average density values obtained from a plurality of neighboring pixels. The means (c) includes means for obtaining contrast, and means (c) includes means for changing respective distributions of effective weighting coefficients in a plurality of directions according to contrasts in a plurality of directions.

【0020】[0020]

【発明の実施の形態】DETAILED DESCRIPTION OF THE INVENTION

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

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

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

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

【0024】[0024]

【数1】 [Equation 1]

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

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

【0027】<3.画像処理装置>次に、この発明の実
施の形態である画像処理装置について説明する。図4
は、この発明の実施の形態である画像処理装置を示す概
略構成図である。注目画素についての濃度値である主信
号Sは、平滑化処理部10とフィルタ演算部50に導か
れる。
<3. Image Processing Device> Next, an image processing device according to an embodiment of the present invention will be described. Figure 4
FIG. 1 is a schematic configuration diagram showing an image processing device according to an embodiment of the present invention. The main signal S, which is the density value of the pixel of interest, is guided to the smoothing processing unit 10 and the filter calculation unit 50.

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

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

【0030】そして、ここで行われる平滑化処理は、平
滑化領域内に位置する画素の濃度値を単純平均したり、
又は加重平均することにより行われる。このようにして
得られた上近傍画素についての平均濃度値をYU,下近
傍画素についての平均濃度値をYL,左近傍画素につい
ての平均濃度値をXL,右近傍画素についての平均濃度
値をXRとする。そして、平滑化処理部10は、上近傍
画素と下近傍画素についての平均濃度値YU,YLを縦方
向コントラスト抽出部21に送り、左近傍画素と右近傍
画素についての平均濃度値XL,XRを横方向コントラス
ト抽出部22に送る。
The smoothing processing performed here is to perform a simple average of the density values of the pixels located in the smoothed area,
Alternatively, it is performed by weighted averaging. The average density value for the upper neighbor pixel thus obtained is YU, the average density value for the lower neighbor pixel is YL, the average density value for the left neighbor pixel is XL, and the average density value for the right neighbor pixel is XR. And Then, the smoothing processing unit 10 sends the average density values YU, YL for the upper and lower neighboring pixels to the vertical direction contrast extraction unit 21, and calculates the average density values XL, XR for the left and right neighboring pixels. It is sent to the lateral direction contrast extraction unit 22.

【0031】縦方向コントラスト抽出部21では、画像
の注目画素付近における副走査方向である縦方向(Y方
向)のコントラストを抽出する。すなわち、入力する上
近傍画素と下近傍画素についての平均濃度値YU,YLを
用いて、
The vertical direction contrast extraction unit 21 extracts the contrast in the vertical direction (Y direction) which is the sub-scanning direction near the pixel of interest in the image. That is, using the average density values YU and YL for the input upper and lower neighboring pixels,

【0032】[0032]

【数2】 [Equation 2]

【0033】により縦方向コントラストCyを求める。
そして、得られた縦方向コントラストCyは、縦方向テ
ーブル参照部31に送られる。
The vertical direction contrast Cy is obtained by the following.
Then, the obtained vertical contrast Cy is sent to the vertical table reference unit 31.

【0034】同様に、横方向コントラスト抽出部22で
は、画像の注目画素付近における主走査方向である横方
向(X方向)のコントラストを抽出する。すなわち、入
力する左近傍画素と右近傍画素についての平均濃度値X
L,XRを用いて、
Similarly, the horizontal direction contrast extraction section 22 extracts the contrast in the horizontal direction (X direction) which is the main scanning direction in the vicinity of the pixel of interest of the image. That is, the average density value X for the input left neighboring pixel and right neighboring pixel X
Using L and XR,

【0035】[0035]

【数3】 [Equation 3]

【0036】により横方向コントラストCxを求める。
そして、得られた横方向コントラストCxは、横方向テ
ーブル参照部32に送られる。
Then, the lateral contrast Cx is obtained.
Then, the obtained lateral contrast Cx is sent to the lateral table reference unit 32.

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

【0038】そして、縦方向テーブル参照部31は、内
部にメモリなどの記憶媒体を備えており、そこに予め記
憶されているテーブルを参照することにより、入力であ
る縦方向コントラストCyに対応する参照値IDyを出力
する。
The vertical table reference unit 31 is internally provided with a storage medium such as a memory. By referring to a table stored in advance, a reference corresponding to the input vertical contrast Cy is made. Output the value IDy.

【0039】同様に、横方向テーブル参照部32につい
ても、内部にメモリなどの記憶媒体を備えており、そこ
に予め記憶されているテーブルを参照することにより、
入力である横方向コントラストCxに対応する参照値I
Dxを出力する。
Similarly, the lateral table reference unit 32 also has a storage medium such as a memory inside and by referring to a table stored in advance,
Reference value I corresponding to the input lateral contrast Cx
Output Dx.

【0040】図6(a)は縦方向テーブル参照部31に
おける入力である縦方向コントラストCyと出力である
参照値IDyの関係を示す図であり、同図(b)は横方
向テーブル参照部32における入力である横方向コント
ラストCxと出力である参照値IDxの関係を示す図であ
る。このような入力と出力の関係をテーブルとしてメモ
リなどに記憶している。図6(a),(b)に示すよう
に縦方向についても横方向についてもコントラストC
y,Cxが小さいほど出力されるIDy,IDxの値は小さ
く、コントラストが大きくなるほどIDy,IDxの値は
大きくなる。言い換えれば、注目画素が画像のエッジ部
分である場合にはIDy,IDxの値は大きくなり、画像
の平坦な部分である場合には、IDy,IDxの値は小さ
くなる。そして縦方向テーブル参照部31及び横方向テ
ーブル参照部32で得られたIDy,IDxは重み付け係数
セット選択部40に送られる。
FIG. 6A is a diagram showing the relationship between the input vertical contrast Cy and the output reference value IDy in the vertical table reference unit 31, and FIG. 6B is the horizontal table reference unit 32. 6 is a diagram showing a relationship between a lateral contrast Cx that is an input and an output reference value IDx in FIG. The relationship between such input and output is stored in a memory or the like as a table. As shown in FIGS. 6A and 6B, the contrast C in both the vertical direction and the horizontal direction is
The smaller y and Cx, the smaller the output values of IDy and IDx, and the larger the contrast, the larger the values of IDy and IDx. In other words, when the pixel of interest is the edge part of the image, the values of IDy and IDx are large, and when it is the flat part of the image, the values of IDy and IDx are small. The IDy and IDx obtained by the vertical table reference unit 31 and the horizontal table reference unit 32 are sent to the weighting coefficient set selection unit 40.

【0041】また、図6(a)に示すように縦方向の参
照値IDyと縦方向コントラストCyとの関係は、コント
ラストCyがほぼ一定の増加を示すごとに参照値IDyの
値が1ずつ大きくなっているのに対して、図6(b)に
示す横方向の参照値IDxは、「1」の値がコントラス
トの中間値付近まで伸びており、さらに、「2」の値が
コントラストの高い領域にまで伸びている。すなわち横
方向と縦方向のコントラストが同じであっても、横方向
の参照値IDxは、縦方向の参照値IDyよりも小さくな
る場合がある。これは、画像入力部100の入力スキャ
ナが、原稿を光学的に読み取ると、主走査方向(横方
向)と副走査方向(縦方向)とでノイズの性質が異なる
ことを考慮したものである。例えば、入力スキャナの原
稿の主走査方向の読み取りが複数の画素が直線上に配列
されたCCDラインセンサで行われ、副走査方向の読み
取りがモータなどの駆動機構によって当該CCDライン
センサや原稿を一定速度で移動させることにより行われ
る装置について説明する。このような装置においては、
副走査方向にはノイズは1画素ごとに出現するが、主走
査方向には電気的に変倍することが可能であり、このよ
うなときには1画素に含まれていたノイズが主走査方向
に伸び縮みする。そしてノイズが主走査方向に伸びてい
る場合には主走査方向には大きいサイズの平滑化フィル
タにより平滑化処理を行うことが望ましいため、図6
(b)のように主走査方向には小さな参照値IDxを出
力するようにすれば良い。
As shown in FIG. 6A, the relationship between the vertical reference value IDy and the vertical contrast Cy is that the reference value IDy is increased by one each time the contrast Cy shows a substantially constant increase. On the other hand, in the horizontal reference value IDx shown in FIG. 6B, the value “1” extends to the vicinity of the intermediate value of the contrast, and the value “2” has a high contrast. It extends to the area. That is, even if the horizontal and vertical contrasts are the same, the horizontal reference value IDx may be smaller than the vertical reference value IDy. This is because, when the input scanner of the image input unit 100 optically reads a document, the nature of noise differs between the main scanning direction (horizontal direction) and the sub-scanning direction (vertical direction). For example, the reading of the original by the input scanner in the main scanning direction is performed by a CCD line sensor in which a plurality of pixels are arranged in a straight line, and the reading in the sub-scanning direction is made constant by the driving mechanism such as a motor. An apparatus that is performed by moving at a speed will be described. In such a device,
Although noise appears in each pixel in the sub-scanning direction, it is possible to electrically scale in the main scanning direction. In such a case, noise included in one pixel extends in the main scanning direction. Shrink. If the noise extends in the main scanning direction, it is desirable to perform the smoothing process with a smoothing filter having a large size in the main scanning direction.
As shown in (b), a small reference value IDx may be output in the main scanning direction.

【0042】しかし、主走査方向にノイズの伸び縮みが
ない場合には、図6(a)の縦方向の参照値IDyと同
様に、横方向の参照値IDxについてもコントラストCx
がほぼ一定の増加を示すごとに参照値IDxの値が1ず
つ大きくなるようにすれば良い。
However, when there is no expansion or contraction of noise in the main scanning direction, the contrast Cx is applied to the horizontal reference value IDx as in the vertical reference value IDy of FIG. 6A.
The value of the reference value IDx may be increased by 1 every time when indicates a substantially constant increase.

【0043】次に、重み付け係数セット選択部40にお
いては、各テーブル参照部から送られてくる参照値ID
y,IDxに対応する画像フィルタの重み付け係数k-m-n
〜kmnを選択決定する。この重み付け係数セット選択部
40の内部にはメモリなどの記憶部が設けられており、
その記憶部には入力となる参照値IDy,IDxに対応す
る各重み付け係数が記憶されている。そしてその記憶部
を参照することによって選択決定された各重み付け係数
は、フィルタ演算部50に送られる。
Next, in the weighting coefficient set selection unit 40, the reference value ID sent from each table reference unit.
The image filter weighting coefficient k -mn corresponding to y and IDx
~ Select and determine k mn . A storage unit such as a memory is provided inside the weighting coefficient set selection unit 40.
The storage unit stores the weighting coefficients corresponding to the input reference values IDy and IDx. Then, each weighting coefficient selected and determined by referring to the storage unit is sent to the filter calculation unit 50.

【0044】図7は、重み付け係数セット選択部40に
おいて得られる画像フィルタの一例を示す図である。縦
方向についての参照値IDyの値が大きくなると、画像
フィルタの中心から縦方向に離れる重み付け係数は小さ
くなる。すなわち縦方向にはコントラストが高いため、
画像のエッジ部分であると判断されるので平滑化される
領域又は度合いが小さくなる。同様に参照値IDxの値
が大きくなると、画像フィルタの中心から横方向に離れ
る重み付け係数は小さくなる。横方向にコントラストが
高い画像のエッジ部分は、その横方向に平滑化される領
域又は度合いが小さくなる。なお、画像フィルタの割り
当てられた重み付け係数が「0」の成分は、画像フィル
タによる処理に関しては有効な係数でないことは数1か
らも明らかである。
FIG. 7 is a diagram showing an example of an image filter obtained in the weighting coefficient set selection unit 40. As the value of the reference value IDy in the vertical direction increases, the weighting coefficient that deviates from the center of the image filter in the vertical direction decreases. That is, since the contrast is high in the vertical direction,
Since it is determined to be the edge portion of the image, the area or degree to be smoothed becomes small. Similarly, when the value of the reference value IDx becomes large, the weighting coefficient that deviates from the center of the image filter in the lateral direction becomes small. An edge portion of an image having a high contrast in the horizontal direction has a smaller area or degree of smoothing in the horizontal direction. Note that it is clear from Equation 1 that the component whose weighting coefficient assigned to the image filter is “0” is not an effective coefficient for processing by the image filter.

【0045】例えば、縦方向テーブル参照部31で得ら
れた参照値IDyが「3」であり、横方向テーブル参照
部32で得られた参照値IDxが「1」である場合に
は、図7に示す画像フィルタF13が選択される。この
画像フィルタF13は、横方向には平滑化される領域は
大きいが縦方向には平滑化される領域が小さくなってい
る。これは、縦方向のコントラストが大きく、横方向の
コントラストが小さいことに起因している。また、縦横
の双方ともコントラストが大きい場合(IDy=3,I
Dx=3の場合)は、図7に示す画像フィルタF33が
適用され、平滑化される領域が最も小さくなる。これに
よって、画像のエッジ部分の劣化を最小限に抑えること
ができる。また、縦横の双方ともコントラストが小さい
場合(IDy=1,IDx=1の場合)は、図7に示す画
像フィルタF11が適用されて、5×5の全領域につい
て平滑化が行われる。
For example, in the case where the reference value IDy obtained by the vertical table reference unit 31 is "3" and the reference value IDx obtained by the horizontal table reference unit 32 is "1", FIG. The image filter F13 shown in is selected. The image filter F13 has a large smoothed area in the horizontal direction but a small smoothed area in the vertical direction. This is because the contrast in the vertical direction is large and the contrast in the horizontal direction is small. When the contrast is high in both the vertical and horizontal directions (IDy = 3, I
In the case of Dx = 3), the image filter F33 shown in FIG. 7 is applied, and the smoothed region becomes the smallest. This makes it possible to minimize the deterioration of the edge portion of the image. When the contrast is small in both the vertical and horizontal directions (when IDy = 1 and IDx = 1), the image filter F11 shown in FIG. 7 is applied and smoothing is performed on the entire 5 × 5 region.

【0046】なお、図7に示す画像フィルタは、一例と
して画像フィルタのサイズが5×5の場合を示している
が、これに限定するものではない。しかし、網点の影響
による画質の劣化やモアレの発生を良好に除去するため
に、画像フィルタのサイズは、原画像の個々の網点サイ
ズよりも大きいことが必要であり、網点サイズの2倍程
度以上の大きさであることが好ましい。
The image filter shown in FIG. 7 shows an example in which the size of the image filter is 5 × 5, but the size is not limited to this. However, the size of the image filter needs to be larger than the size of each halftone dot of the original image in order to satisfactorily remove the deterioration of image quality and the occurrence of moire due to the effect of halftone dots. It is preferable that the size is about twice or more.

【0047】そしてフィルタ演算部50では、重み付け
係数セット選択部40から送られてくる各重み付け係数
に基づいて数1に示した演算処理を行ってフィルタ済信
号S’を生成する。このフィルタ済信号S’は、この実
施の形態の画像処理装置の出力信号となる。このように
してフィルタ済信号S’が得られると注目画素について
の処理が終了したことになる。そして、次の走査順序に
沿った次の処理対象の画素を注目画素として、同様の処
理を行う。これを繰り返すことによって画像全体に対し
て処理が終了する。
Then, the filter calculation section 50 performs the calculation processing shown in the equation 1 on the basis of each weighting coefficient sent from the weighting coefficient set selection section 40 to generate a filtered signal S '. This filtered signal S'becomes an output signal of the image processing apparatus of this embodiment. When the filtered signal S ′ is obtained in this way, the processing for the pixel of interest is completed. Then, the same process is performed with the pixel to be processed next in the next scanning order as the pixel of interest. By repeating this, the process is completed for the entire image.

【0048】ここで、重み付け係数セット選択部40か
らフィルタ演算部50に出力されるデータは、各成分の
重み付け係数であっても良いが、これに限定するもので
はない。
Here, the data output from the weighting coefficient set selecting section 40 to the filter calculating section 50 may be the weighting coefficient of each component, but is not limited to this.

【0049】また、フィルタ演算部50で予め複数の重
み付け係数をRAM等の記憶部材に記憶させておくと、
重み付け係数セット選択部40を除くことが可能であ
る。すなわち、縦方向テーブル参照部31と横方向テー
ブル参照部32は、それぞれの方向のコントラストC
y,Cxに応じてフィルタ演算部50のRAMにアクセス
するアドレスのオフセット値を参照値IDy,IDxとし
て出力すれば、フィルタ演算部50は、その参照値ID
y,IDxの示すオフセット値に基づいてRAMにアクセ
スすれば、直接的に縦方向および横方向のコントラスト
に応じた各重み付け係数を獲得することができる。
If a plurality of weighting factors are stored in advance in the storage unit such as RAM in the filter calculation unit 50,
The weighting coefficient set selection unit 40 can be omitted. That is, the vertical table reference unit 31 and the horizontal table reference unit 32 have the contrast C in each direction.
If the offset value of the address for accessing the RAM of the filter calculation unit 50 is output as the reference values IDy and IDx according to y and Cx, the filter calculation unit 50 will output the reference value ID.
By accessing the RAM based on the offset values indicated by y and IDx, it is possible to directly obtain each weighting coefficient corresponding to the contrast in the vertical direction and the contrast in the horizontal direction.

【0050】このように、この実施の形態の画像処理装
置は、原画像のエッジ部分についてはそのエッジを劣化
させることのないの画像フィルタが適用され、画像の平
坦な部分についてはより大きなサイズの画像フィルタが
適用されるので、画像のエッジを劣化させることなく、
良好に画質の劣化を抑え、またモアレを除去することが
可能となる。
As described above, in the image processing apparatus of this embodiment, the image filter that does not deteriorate the edge is applied to the edge portion of the original image, and a larger size is applied to the flat portion of the image. An image filter is applied, so without degrading the edges of the image,
It is possible to satisfactorily suppress the deterioration of image quality and remove moire.

【0051】また、縦方向と横方向とのコントラストに
基づいて適用する画像フィルタの各重み付け係数を選択
決定するため、原画像のエッジの方向性を検出すること
ができ、そのエッジを保存するような画像フィルタを得
ることができる。従って、エッジを保存し、かつ、モア
レや画質の劣化を抑制する画像フィルタを適用すること
ができる。
Further, since each weighting coefficient of the image filter to be applied is selected and determined based on the contrast in the vertical direction and the horizontal direction, it is possible to detect the directionality of the edge of the original image and save the edge. Image filters can be obtained. Therefore, it is possible to apply an image filter that preserves edges and suppresses moire and image quality deterioration.

【0052】<4.変形例>図4に示すフィルタ演算部
50で適用される画像フィルタのサイズは、モアレの発
生や画質の劣化を良好に除去するために、原画像の網点
サイズよりも大きいことが必要であることは既に説明し
た。従って、原画像の網点サイズが変更されれば、フィ
ルタ演算部50で適用される画像フィルタのサイズも変
更する必要が生じる場合がある。このような場合でも、
適切に処理を行うために、次のような処理を行えば良
い。
<4. Modification> The size of the image filter applied by the filter calculation unit 50 shown in FIG. 4 needs to be larger than the halftone dot size of the original image in order to satisfactorily remove the occurrence of moire and the deterioration of image quality. That was already explained. Therefore, if the halftone dot size of the original image is changed, it may be necessary to change the size of the image filter applied by the filter calculation unit 50. Even in this case,
In order to properly perform the processing, the following processing may be performed.

【0053】すなわち、画像入力部100(図1参照)
が原画像を読み込んだ際に、網点サイズを検出すること
ができる場合は、その検出した網点サイズをこの画像処
理装置に入力させる。そして、画像処理装置において重
み付け係数セット選択部40が、重み付け係数を選択す
る際に画像フィルタのサイズも適切なサイズに変更する
ようにすれば良い。また、網点サイズが変更になった際
に、オペレータが操作入力部201より網点サイズを設
定入力し、その設定入力された網点サイズをこの画像処
理装置に入力させても良い。このような構成にすると、
任意の網点サイズに応じて常に適切なサイズの画像フィ
ルタが適用され、画像処理装置は、どのような原画像で
あっても画像のエッジを劣化させることなく、良好に画
質の劣化を抑えることができ、またモアレを除去するこ
とが可能となる。
That is, the image input section 100 (see FIG. 1)
If the halftone dot size can be detected when the original image is read in, the detected halftone dot size is input to this image processing apparatus. Then, in the image processing apparatus, the weighting coefficient set selection unit 40 may change the size of the image filter to an appropriate size when selecting the weighting coefficient. Further, when the halftone dot size is changed, the operator may set and input the halftone dot size from the operation input unit 201 and input the set and input halftone dot size to the image processing apparatus. With this configuration,
An image filter of an appropriate size is always applied according to an arbitrary halftone dot size, and the image processing apparatus can suppress the deterioration of the image quality satisfactorily without degrading the edge of the image regardless of the original image. And it is possible to remove moire.

【0054】次に、実施の形態で説明したコントラスト
の抽出は、縦方向と横方向との2方向について行った
が、さらに、斜め方向のコントラストについても抽出す
ればなお好ましい。例えば、注目画素について右上がり
斜め方向と左上がり斜め方向についてコントラストを抽
出し、それぞれの方向についてコントラストが大きいと
きはその方向についてのエッジを保存するように画像フ
ィルタを適用すると良い。
Next, the contrast extraction described in the embodiment is performed in two directions, the vertical direction and the horizontal direction, but it is more preferable to extract the contrast in the diagonal direction. For example, it is preferable to apply the image filter so that the contrast is extracted in the diagonal direction to the right and diagonal direction to the left of the pixel of interest, and when the contrast is high in each direction, the edge in that direction is saved.

【0055】また、縦,横,斜め以外の方向についてコ
ントラストを求めても良い。すなわち、一般的には2次
元的な広がりをもつ画像フィルタでの互いに異なる方向
であれば良い。
Further, the contrast may be obtained in directions other than the vertical, horizontal and diagonal directions. That is, in general, the directions may be different from each other in the image filter having a two-dimensional spread.

【0056】次に、上記の説明においては縦方向テーブ
ル参照部31と横方向テーブル参照部32で得られるそ
れぞれの参照値IDy,IDxは、図6(a),(b)に
示すように「1」,「2」,「3」の3値であったが、
これを図8(a),(b)に示すように3値以上の多段
階の値をとり得るようにし、図7に示すような9個の画
像フィルタをもとに演算を行って必要な画像フィルタを
導出しても良い。このような処理を行う場合には、画像
処理の精度が上昇する。
Next, in the above description, the respective reference values IDy and IDx obtained by the vertical table reference unit 31 and the horizontal table reference unit 32 are as shown in FIGS. 6 (a) and 6 (b). There were three values of "1", "2", "3",
As shown in FIGS. 8 (a) and 8 (b), it is possible to take a multi-level value of three or more values, and calculation is performed based on nine image filters as shown in FIG. The image filter may be derived. When such processing is performed, the accuracy of image processing is increased.

【0057】[0057]

【0058】[0058]

【発明の効果】以上説明したように、請求項1に記載の
発明によれば、処理対象である注目画素の近傍に位置す
る複数の近傍画素のそれぞれに対して、当該近傍画素の
周辺の網点原稿を構成している個々の網点サイズよりも
大きい所定の領域で平滑化処理を施すことにより、複数
の近傍画素のそれぞれについて平均濃度値を求め、得ら
れた複数の平均濃度値に基づいて注目画素についてのコ
ントラストを求める。そして、そのコントラストに応じ
て、画像フィルタの各成分に割り当てられる重み付け係
数を決定し、その重み付け係数が適用された画像フィル
タを用いて注目画素の主信号に対してフィルタ演算を施
し、出力信号を生成するが、このフィルタ演算において
適用される画像フィルタのサイズもまた、網点原稿を構
成している個々の網点サイズよりも大きくされている。
このため、画像のエッジを劣化させることなく、良好に
画質の劣化を抑え、またモアレを除去することが可能と
なる。
As described above, according to the first aspect of the present invention, for each of a plurality of neighboring pixels located in the vicinity of the target pixel to be processed, a network around the neighboring pixel is provided. Rather than the individual dot sizes that make up the dot manuscript
By performing the smoothing process in a large predetermined area, the average density value is obtained for each of the plurality of neighboring pixels, and the contrast for the target pixel is obtained based on the obtained plurality of average density values. Then, according to the contrast, the weighting coefficient assigned to each component of the image filter is determined, and the image signal to which the weighting coefficient is applied is subjected to a filter operation on the main signal of the pixel of interest to output the output signal. Is generated, but in this filter operation
The size of the applied image filter also depends on the halftone original.
It is larger than the size of each halftone dot.
Therefore, it is possible to favorably suppress the deterioration of the image quality and remove the moire without deteriorating the edge of the image.

【0059】[0059]

【0060】 請求項2に記載の発明によれば、注目画
素についてのコントラストを求める際に、複数の近傍画
素から得られた複数の平均濃度値に基づいて互いに異な
る複数の方向についてのコントラストを求め、画像フィ
ルタの各成分に割り当てられる重み付け係数を決定する
際に、複数の方向についてのコントラストに応じて、複
数の方向についての有効な重み付け係数の分布をそれぞ
れ変更する工程を含むため、原画像のエッジの方向性に
応じた画像フィルタを得ることができる。従って、エッ
ジを保存し、かつ、モアレや画質の劣化を良好に抑制す
る画像フィルタを適用することができる。
According to the second aspect of the present invention, when obtaining the contrast for the pixel of interest, the contrast is obtained for a plurality of different directions based on a plurality of average density values obtained from a plurality of neighboring pixels. , The step of changing the distribution of effective weighting factors in a plurality of directions according to the contrasts in a plurality of directions when determining the weighting factors assigned to the respective components of the image filter. It is possible to obtain an image filter according to the directionality of the edge. Therefore, it is possible to apply an image filter that preserves edges and well suppresses moire and image quality deterioration.

【0061】 請求項3に記載の発明によれば、処理対
象である注目画素の近傍に位置する複数の近傍画素のそ
れぞれに対して、当該近傍画素の周辺の所定の網点原稿
を構成している個々の網点サイズよりも大きい領域で平
滑化処理を施すことにより、複数の近傍画素のそれぞれ
について平均濃度値を求め、得られた複数の平均濃度値
に基づいて注目画素についてのコントラストを求める。
そして、そのコントラストに応じて、画像フィルタの各
成分に割り当てられる重み付け係数を決定し、その重み
付け係数が適用された画像フィルタを用いて注目画素の
主信号に対してフィルタ演算を施し、出力信号を生成す
が、このフィルタ演算において適用される画像フィル
タのサイズもまた、網点原稿を構成している個々の網点
サイズよりも大きくされている。このため、画像のエッ
ジを劣化させることなく、良好に画質の劣化を抑え、ま
たモアレを除去することが可能となる。
According to the third aspect of the invention, for each of the plurality of neighboring pixels located in the vicinity of the target pixel to be processed, a predetermined halftone dot original document around the neighboring pixel is provided.
By performing a smoothing process in an area larger than the individual halftone dot sizes that form the , the average density value is obtained for each of a plurality of neighboring pixels, and for the pixel of interest based on the obtained plurality of average density values. Find the contrast of.
Then, according to the contrast, the weighting coefficient assigned to each component of the image filter is determined, and the image signal to which the weighting coefficient is applied is subjected to a filter operation on the main signal of the pixel of interest to output the output signal. The image file to generate but apply in this filter operation
The size of the data also depends on the individual halftone dots that make up the halftone dot original.
It is larger than the size. Therefore, it is possible to favorably suppress the deterioration of the image quality and remove the moire without deteriorating the edge of the image.

【0062】[0062]

【0063】 請求項4に記載の発明によれば、注目画
素についてのコントラストを求める際に、複数の近傍画
素から得られた複数の平均濃度値に基づいて互いに異な
る複数の方向についてのコントラストを求め、画像フィ
ルタの各成分に割り当てられる重み付け係数を決定する
際に、複数の方向についてのコントラストに応じて、複
数の方向についての有効な重み付け係数の分布をそれぞ
れ変更する工程を含むため、原画像のエッジの方向性に
応じた画像フィルタを得ることができる。従って、エッ
ジを保存し、かつ、モアレや画質の劣化を良好に抑制す
る画像フィルタを適用することができる。
According to the fourth aspect of the present invention, when obtaining the contrast for the pixel of interest, the contrast for different directions is obtained based on the average density values obtained from the neighboring pixels. , The step of changing the distribution of effective weighting factors in a plurality of directions according to the contrasts in a plurality of directions when determining the weighting factors assigned to the respective components of the image filter. It is possible to obtain an image filter according to the directionality of the edge. Therefore, it is possible to apply an image filter that preserves edges and well suppresses moire and image quality deterioration.

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

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

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

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

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

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

【図6】縦方向テーブル参照部と横方向テーブル参照部
における入力と出力の関係を示す図である。
FIG. 6 is a diagram showing a relationship between inputs and outputs in a vertical table reference unit and a horizontal table reference unit.

【図7】重み付け係数セット選択部において得られる画
像フィルタの一例を示す図である。
FIG. 7 is a diagram showing an example of an image filter obtained by a weighting coefficient set selection unit.

【図8】縦方向テーブル参照部と横方向テーブル参照部
における入力と出力の関係を示す図である。
FIG. 8 is a diagram showing a relationship between inputs and outputs in a vertical table reference unit and a horizontal table reference unit.

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

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

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

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

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

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

10 平滑化処理部 21 縦方向コントラスト抽出部 22 横方向コントラスト抽出部 31 縦方向テーブル参照部 32 横方向テーブル参照部 40 重み付け係数セット選択部 50 フィルタ演算部 100 画像入力部 200 画像処理部 201 操作入力部 202 情報表示部 300 画像出力部 S 主信号 S’ フィルタ済信号 10 Smoothing processing unit 21 Vertical direction contrast extraction unit 22 Horizontal contrast extraction unit 31 Vertical table reference section 32 Horizontal table reference section 40 Weighting coefficient set selection unit 50 Filter calculator 100 image input section 200 Image processing unit 201 Operation input section 202 Information display section 300 image output section S main signal S'filtered signal

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 1/40 - 1/409 ─────────────────────────────────────────────────── ─── Continuation of front page (58) Fields investigated (Int.Cl. 7 , DB name) H04N 1/40-1/409

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 網点原稿を読み取ることによって得られ
た原画像に対して画素ごとに所定の処理を施す方法であ
って、 (a)処理対象である注目画素の近傍に位置する複数の
近傍画素のそれぞれに対して、当該近傍画素の周辺の前
記網点原稿を構成している個々の網点サイズよりも大き
い所定の領域で平滑化処理を施すことにより、前記複数
の近傍画素のそれぞれについて平均濃度値を求める工程
と、 (b)前記複数の近傍画素から得られた複数の前記平均
濃度値に基づいて注目画素についてのコントラストを求
める工程と、 (c)前記コントラストに応じて、画像フィルタの各成
分に割り当てられる重み付け係数を決定する工程と、 (d)前記重み付け係数が適用された画像フィルタを用
いて前記注目画素の主信号に対してフィルタ演算を施
し、出力信号を生成する工程と、 を有し、 前記工程(d)で適用される前記画像フィルタのサイズ
は、前記網点原稿を構成している個々の網点サイズより
も大きいことを特徴とする画像処理方法。
1. Obtained by scanning a halftone dot original
It is a method to perform a predetermined process for each pixel on the original image.
Therefore , (a) a plurality of pixels located in the vicinity of the target pixel to be processed
For each of the neighboring pixels, before the neighborhood of the neighboring pixel
Larger than the size of each halftone dot in the halftone dot original
By performing smoothing processing in a predetermined area,
The average density value for each of the neighboring pixels of
And (b) the plurality of averages obtained from the plurality of neighboring pixels
Obtain the contrast for the pixel of interest based on the density value
And (c) each of the image filter components depending on the contrast.
Determining the weighting factors assigned to the minutes, and (d) using an image filter to which the weighting factors are applied.
Filter operation is performed on the main signal of the pixel of interest.
And, and a step of generating an output signal, the size of the image filter applied in the step (d)
Is the size of each halftone dot that composes the halftone dot original.
An image processing method characterized by being large.
【請求項2】 請求項1に記載の方法において、 前記工程(b)は、前記複数の近傍画素から得られた複
数の前記平均濃度値に基づいて互いに異なる複数の方向
についてのコントラストを求める工程を含み、 前記工程(c)は、前記複数の方向についてのコントラ
ストに応じて、前記複数の方向についての有効な重み付
け係数の分布をそれぞれ変更する工程を含むことを特徴
とする画像処理方法。
2. The method according to claim 1, wherein the step (b) is performed by using a plurality of pixels obtained from the plurality of neighboring pixels.
A plurality of directions different from each other based on the average density value of the number
For the contrast in the plurality of directions.
Effective weighting for the multiple directions depending on the strike
It is characterized by including the step of changing the distribution of each coefficient
Image processing method.
【請求項3】 網点原稿を読み取ることによって得られ
た原画像に対して画素ごとに所定の処理を施す装置であ
って、 (a)処理対象である注目画素の近傍に位置する複数の
近傍画素のそれぞれに対して、当該近傍画素の周辺の前
記網点原稿を構成している個々の網点サイズよりも大き
い所定の領域で平滑化処理を施すことにより、前記複数
の近傍画素のそれぞれについて平均濃度値を求める手段
と、 (b)前記複数の近傍画素から得られた複数の前記平均
濃度値に基づいて注目画素についてのコントラストを求
める手段と、 (c)前記コントラストに応じて、画像フィルタの各成
分に割り当てられる重み付け係数を決定する手段と、 (d)前記重み付け係数が適用された画像フィルタを用
いて前記注目画素の主信号に対してフィルタ演算を施
し、出力信号を生成する手段と、 を備え、 前記手段(d)で適用される前記画像フィルタのサイズ
は、前記網点原稿を構成している個々の網点サイズより
も大きいことを特徴とする画像処理装置。
3. Obtained by scanning a halftone dot original
A device that performs predetermined processing for each pixel on the original image
Therefore , (a) a plurality of pixels located in the vicinity of the target pixel to be processed
For each of the neighboring pixels, before the neighborhood of the neighboring pixel
Larger than the size of each halftone dot in the halftone dot original
By performing smoothing processing in a predetermined area,
Means for obtaining the average density value for each of the neighboring pixels of
And (b) the plurality of averages obtained from the plurality of neighboring pixels
Obtain the contrast for the pixel of interest based on the density value
And (c) each component of the image filter according to the contrast.
A means for determining a weighting factor assigned to a minute, and (d) using an image filter to which the weighting factor is applied.
Filter operation is performed on the main signal of the pixel of interest.
And, and means for generating an output signal, the size of the image filter applied by said means (d)
Is the size of each halftone dot that composes the halftone dot original.
An image processing device that is also large.
【請求項4】 請求項3に記載の装置において、 前記手段(b)は、前記複数の近傍画素から得られた複
数の前記平均濃度値に基づいて互いに異なる複数の方向
についてのコントラストを求める手段を含み、 前記手段(c)は、前記複数の方向についてのコントラ
ストに応じて、前記複数の方向についての有効な重み付
け係数の分布をそれぞれ変更する手段を含むことを特徴
とする画像処理装置。
4. The apparatus according to claim 3, wherein the means (b) is a plurality of pixels obtained from the plurality of neighboring pixels.
A plurality of directions different from each other based on the average density value of the number
And a means for obtaining a contrast for the plurality of directions.
Effective weighting for the multiple directions depending on the strike
Characterized by including means for changing each distribution of the coefficient
Image processing device.
JP07357097A 1997-03-26 1997-03-26 Image processing method and apparatus Expired - Fee Related JP3476649B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP07357097A JP3476649B2 (en) 1997-03-26 1997-03-26 Image processing method and apparatus
US09/040,303 US6272260B1 (en) 1997-03-26 1998-03-18 Method of and apparatus for processing an image filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07357097A JP3476649B2 (en) 1997-03-26 1997-03-26 Image processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH10271339A JPH10271339A (en) 1998-10-09
JP3476649B2 true JP3476649B2 (en) 2003-12-10

Family

ID=13522078

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07357097A Expired - Fee Related JP3476649B2 (en) 1997-03-26 1997-03-26 Image processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3476649B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03250975A (en) * 1990-02-28 1991-11-08 Canon Inc Picture processor
JPH04188283A (en) * 1990-11-22 1992-07-06 Canon Inc Method and device for processing picture
JP3464006B2 (en) * 1992-10-19 2003-11-05 株式会社リコー Digital color image reproduction device
JPH10191064A (en) * 1996-12-25 1998-07-21 Dainippon Screen Mfg Co Ltd Image filtering method and device

Also Published As

Publication number Publication date
JPH10271339A (en) 1998-10-09

Similar Documents

Publication Publication Date Title
JP2577748B2 (en) Image signal interpolation method and image signal processing apparatus for implementing the method
JPH1056569A (en) Image processing method and device therefor
US6272260B1 (en) Method of and apparatus for processing an image filter
US6438270B1 (en) Methods and systems for image sharpening
JPH02127782A (en) Picture contour emphasizing method
US6301395B1 (en) Image processing apparatus that can appropriately enhance contour of an image
JP3604910B2 (en) Image reduction device and recording medium recording image reduction program
JPS61242466A (en) Image variable power system
JP2784278B2 (en) Image scaling processor
JP3476649B2 (en) Image processing method and apparatus
JP4138126B2 (en) Image processing device
US6178268B1 (en) Method of and apparatus for processing image
JPH10271340A (en) Image-processing method and device therefor
JPH10276331A (en) Image processing unit and its method
JPS63246076A (en) Filter processing unit
JP3222570B2 (en) Image area identification device
JP2000030050A (en) Picture processor, its method, and recording medium having recorded picture processing program thereon
JPH01133470A (en) Digital picture processing method
JPH0550187B2 (en)
JPH0662230A (en) Image forming device
JP4063971B2 (en) Image processing method and apparatus
JPH10276332A (en) Image processing method and its unit
JP2777476B2 (en) Image processing device
JPH0546749B2 (en)
JP2003102027A5 (en)

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080926

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees