JP2601156B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2601156B2
JP2601156B2 JP26097693A JP26097693A JP2601156B2 JP 2601156 B2 JP2601156 B2 JP 2601156B2 JP 26097693 A JP26097693 A JP 26097693A JP 26097693 A JP26097693 A JP 26097693A JP 2601156 B2 JP2601156 B2 JP 2601156B2
Authority
JP
Japan
Prior art keywords
pixel
circuit
output
image signal
dither
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 - Lifetime
Application number
JP26097693A
Other languages
Japanese (ja)
Other versions
JPH07115539A (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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP26097693A priority Critical patent/JP2601156B2/en
Publication of JPH07115539A publication Critical patent/JPH07115539A/en
Application granted granted Critical
Publication of JP2601156B2 publication Critical patent/JP2601156B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は画像処理装置に関し、特
にディザ2値化処理を行う画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus for performing dither binarization processing.

【0002】[0002]

【従来の技術】従来、多値画像信号を入力しディザパタ
ーンしきい値と比較して2値化する画像処理において、
特にしきい値のパターンが図2(a)に示す網点パター
ンのような中央集中型の場合には、入力される多値画像
信号のノイズ成分を充分低減させてから2値化するのが
一般的構成である。従来は、このノイズ成分低減のた
め、ローパスフィルタを使用している。このローパスフ
ィルタによる雑音成分の低減を行わないと、図2(b)
に示すような網点形状の劣化を引き起こすからである。
2. Description of the Related Art Conventionally, in image processing for inputting a multi-level image signal and comparing it with a dither pattern threshold value to binarize,
In particular, when the threshold pattern is a centralized type such as a halftone dot pattern shown in FIG. 2A, binarization is performed after sufficiently reducing the noise component of the input multilevel image signal. This is a general configuration. Conventionally, a low-pass filter has been used to reduce this noise component. If the noise component is not reduced by this low-pass filter, FIG.
This causes the dot shape to deteriorate as shown in FIG.

【0003】[0003]

【発明が解決しようとする課題】この従来の構成におい
ては、ローパスフィルタ出力をディザ2値化するため、
ノイズ成分はおしなべて低減されるが、ディザ2値化後
の画像の鮮明度が低下してしまう問題点があった。
In this conventional configuration, the output of the low-pass filter is binarized by dithering.
Although the noise component is generally reduced, there is a problem that the sharpness of the image after dither binarization is reduced.

【0004】[0004]

【課題を解決するための手段】本発明によれば、多値画
像信号から主走査および副走査方向に所定の画素数を有
するディザパターンサイズの各画素の信号を抽出する抽
出手段と、抽出手段によって抽出された多値画像信号か
ら注目画素の周辺の画素に対応する多値画像信号の平均
値を出力する平均化手段と、注目画素に対応する多値画
像信号と平均値との差を算出する減算手段と、その差の
大きさに応じて注目画素に対応する多値画像信号と平均
値の一方を選択する選択手段と、選択手段の出力を上記
ディザパターンサイズのディザマトリクスを使用してデ
ィザ法により2値化するディザ2値化手段とを含む画像
処理装置が得られる。
According to the present invention, extracting means for extracting a signal of each pixel of a dither pattern size having a predetermined number of pixels in the main scanning and sub-scanning directions from a multi-valued image signal, and an extracting means Averaging means for outputting an average value of a multi-valued image signal corresponding to a pixel around the pixel of interest from the multi-valued image signal extracted by the above, and calculating a difference between the multi-valued image signal corresponding to the pixel of interest and the average value Subtracting means, selecting means for selecting one of the multi-valued image signal and the average value corresponding to the pixel of interest according to the magnitude of the difference, and outputting the output of the selecting means using the dither matrix of the dither pattern size. An image processing apparatus including dither binarizing means for binarizing by the dither method is obtained.

【0005】また、本発明によれば、多値画像信号から
主走査および副走査方向に所定の画素数を有するディザ
パターンサイズの各画素の信号を抽出する抽出手段と、
抽出手段の出力からディザパターンサイズと同じ画素配
列の多値画像信号の平均値を外部から設定される平均化
係数で算出する平均化回路と、ディザパターンサイズと
同じ画素配列の注目画素に対応する多値画像信号の一方
の入力とし平均化回路の出力を他方の入力とする選択回
路および減算回路と、減算回路の出力と外部から設定さ
れるしきい値を比較する比較回路と、選択回路の出力を
ディザ法に基づいて2値化するディザ2値化回路とを含
み、比較回路出力を選択回路の選択信号として接続構成
することを特徴とする画像処理装置が得られる。
According to the present invention, there is provided an extracting means for extracting a signal of each pixel of a dither pattern size having a predetermined number of pixels in the main scanning and sub-scanning directions from a multi-valued image signal,
An averaging circuit for calculating an average value of a multi-valued image signal having the same pixel array as the dither pattern size from an output of the extracting means by an averaging coefficient set from the outside, A selection circuit and a subtraction circuit having one input of the multi-level image signal and the output of the averaging circuit as the other input, a comparison circuit for comparing the output of the subtraction circuit with a threshold value set from the outside, And a dither binarizing circuit for binarizing the output based on a dither method, wherein an output of the comparison circuit is connected and configured as a selection signal of a selection circuit.

【0006】[0006]

【実施例】次に本発明の実施例について図面を参照して
説明する。
Next, an embodiment of the present invention will be described with reference to the drawings.

【0007】図1は本発明の一実施例を示すブロック図
である。本実施例では、ディザパターンサイズを主走査
4画素×副走査4画素としている。
FIG. 1 is a block diagram showing one embodiment of the present invention. In this embodiment, the dither pattern size is 4 pixels in the main scan × 4 pixels in the sub-scan.

【0008】端子T1から入力される多値画像信号ID
は、1画素当り256階調を表わす8ビットパラレルデ
ィジタルデータから成る。端子T1から入力される多値
画像信号IDは、互いに直列なラインメモリ1A,1
B,1Cへ順次入力され、さらにラインメモリを介さな
い多値画像信号IDが1画素遅延レジスタ2A,2B,
2C,2Dへ供給され、ラインメモリ1Aの出力が1画
素遅延レジスタ2E,2F,2G,2Hへ、ラインメモ
リ1Bの出力が1画素遅延レジスタ2I,2J,2K,
2Lへ、またラインメモリ1Cの出力が1画素遅延レジ
スタ2M,2N,2O,2Pへ供給される。各ラインメ
モリと1画素遅延レジスタは8ビット並列入力・出力端
子を有し、他の回路も8ビット単位で処理するものとす
る。以上の構成により多値画像信号IDは主走査4画素
×副走査4画素に展開され、各1画素遅延レジスタの出
力が平均化回路3に供給される。したがって、ラインメ
モリ1A〜1Cとレジスタ2A〜2Pはディザパターン
サイズの各画素の信号を抽出する抽出手段を構成する。
[0008] Multi-level image signal ID input from terminal T1
Consists of 8-bit parallel digital data representing 256 gradations per pixel. The multilevel image signal ID input from the terminal T1 is connected to the line memories 1A and 1
B, 1C, and the multi-valued image signal ID that does not pass through the line memory is further input to the one-pixel delay registers 2A, 2B,
2C, 2D, the output of the line memory 1A is sent to the one-pixel delay registers 2E, 2F, 2G, 2H, and the output of the line memory 1B is sent to the one-pixel delay registers 2I, 2J, 2K,
2L and the output of the line memory 1C are supplied to one-pixel delay registers 2M, 2N, 2O, and 2P. Each line memory and one-pixel delay register has an 8-bit parallel input / output terminal, and other circuits also process in 8-bit units. With the above configuration, the multi-valued image signal ID is expanded into 4 pixels in main scanning and 4 pixels in sub-scanning, and the output of each one-pixel delay register is supplied to the averaging circuit 3. Therefore, the line memories 1A to 1C and the registers 2A to 2P constitute extraction means for extracting a signal of each pixel having a dither pattern size.

【0009】平均化回路3にはあらかじめ端子T4から
平均化係数Nが供給される。平均化回路3は、各1画素
遅延レジスタから供給される4×4=16画素の多値画
像信号の加算平均を行う。
The averaging circuit 3 is supplied with an averaging coefficient N from a terminal T4 in advance. The averaging circuit 3 performs the averaging of the multivalued image signals of 4 × 4 = 16 pixels supplied from each one-pixel delay register.

【0010】 [0010]

【0011】なお、平均化する画素には注目画素が含ま
れても含まれていなくてもよい。この時、平均化係数N
により出力値の大小が制御される。平均化回路3の出力
は、選択回路4と減算回路5に供給される。
The pixel to be averaged may or may not include the target pixel. At this time, the averaging coefficient N
Controls the magnitude of the output value. The output of the averaging circuit 3 is supplied to a selection circuit 4 and a subtraction circuit 5.

【0012】一画素遅延レジスタ2Jの出力は、選択回
路4と減算回路5のそれぞれ他方の入力端子に接続され
ている。一画素遅延レジスタ2Jは、ディザ2値化回路
7におけるディザパターンの注目画素すなわち、2値化
出力する位置の画素である。
The output of the one-pixel delay register 2J is connected to the other input terminals of the selection circuit 4 and the subtraction circuit 5, respectively. The one-pixel delay register 2J is a pixel of interest of the dither pattern in the dither binarization circuit 7, that is, a pixel at a position where binarization is output.

【0013】減算回路5は平均化回路3の出力と注目画
素の差を算出し、算出された差と端子T3から入力され
ているしきい値THとの比較が比較回路6で行われる。
比較結果は選択回路4の選択制御信号となる。ここでし
きい値THに対して減算回路5の出力が大きい場合、即
ち注目画素の値と周辺画素の平均値との差がしきい値T
Hよりも大きいという比較結果が発生した場合は、選択
回路4は周辺画素の平均値を選択するように制御され
る。逆の場合は注目画素の値が選択される。選択回路4
の出力はディザ2値化回路7により2値化され、出力画
像信号ODとして端子T2から出力される。ディザ2値
化回路7のディザパターン画素配列は、主走査4画素×
副走査4画素とし平均化回路3に入力される画素配列と
一致させておく。
The subtraction circuit 5 calculates the difference between the output of the averaging circuit 3 and the pixel of interest, and the comparison circuit 6 compares the calculated difference with the threshold value TH input from the terminal T3.
The comparison result becomes a selection control signal of the selection circuit 4. Here, when the output of the subtraction circuit 5 is larger than the threshold value TH, that is, the difference between the value of the target pixel and the average value of the peripheral pixels is equal to the threshold value T.
If a comparison result that is larger than H occurs, the selection circuit 4 is controlled to select the average value of the peripheral pixels. In the opposite case, the value of the target pixel is selected. Selection circuit 4
Is binarized by a dither binarization circuit 7 and output from a terminal T2 as an output image signal OD. The dither pattern pixel array of the dither binarization circuit 7 is 4 pixels in the main scan ×
The number of pixels in the sub-scanning direction is 4 pixels, and is made to match the pixel arrangement input to the averaging circuit 3.

【0014】以上のように構成することにより、ディザ
2値化する前処理として、注目画素周辺の画素の値と注
目画素の値に差がある場合には周辺の画素信号の平均値
を注目画素の値として置換して、ディザ2値化処理する
動作を行う。
With the above-described configuration, as a pre-process for dither binarization, when there is a difference between the value of the pixel around the target pixel and the value of the target pixel, the average value of the peripheral pixel signals is used as the target pixel. And performs an operation of performing dither binarization processing.

【0015】注目画素とその周辺の画素の値の平均値と
の置換は、端子T3から入力されるしきい値THの値に
より制御される。また、周辺の画素の値の平均値は端子
T4から入力される平均化係数Nにより制御される。し
きい値THおよび平均化係数Nは入力される多値画像の
“絵がら”により決定される。しきい値THは入力され
る多値画像の階調数と同じレンジを有する。本実施例で
は主走査4画素、副走査4画素の16画素配列を対象と
しているため、平均化係数Nは16を基準とする。平均
化係数Nを16より大きく設定すれば、周辺画素の平均
値をより小さく得ることが可能となる。また平均化係数
Nを16より小さく設定すれば、周辺画素の平均値をよ
り大きく得ることが可能となる。
The replacement of the pixel of interest with the average value of the pixels around it is controlled by the value of the threshold value TH input from the terminal T3. The average of the values of the peripheral pixels is controlled by the averaging coefficient N input from the terminal T4. The threshold value TH and the averaging coefficient N are determined by the "picture" of the input multivalued image. The threshold value TH has the same range as the number of gradations of the input multi-valued image. In this embodiment, since the 16-pixel array of 4 pixels in the main scanning and 4 pixels in the sub-scanning is targeted, the averaging coefficient N is set to 16 as a reference. If the averaging coefficient N is set to be larger than 16, it becomes possible to obtain a smaller average value of the peripheral pixels. If the averaging coefficient N is set smaller than 16, it is possible to obtain a larger average value of the peripheral pixels.

【0016】入力多値画像の“絵がら”がなだらかな階
調変化もしくは均一な階調の場合は、しきい値THを
“1”(“0000001”の8ビットデータ)に近く
設定しておく。即ち注目画素の値が周辺画素の値の平均
値に対して少しでも突出した場合には、周辺画素の平均
値に置換する。また逆に、“絵がら”が16画素配列の
中で急な階調変化を有する場合はしきい値THを“1”
に遠く設定しておき、周辺画素の平均値への置換を少な
くし、細かな階調変化を優先する。
If the "picture" of the input multivalued image has a gradual gradation change or uniform gradation, the threshold value TH is set close to "1" (8-bit data of "0000001"). . That is, when the value of the target pixel is slightly protruded from the average value of the peripheral pixels, the value is replaced with the average value of the peripheral pixels. Conversely, if “picture” has a sharp gradation change in the 16-pixel array, the threshold value TH is set to “1”.
, The replacement of the peripheral pixels with the average value is reduced, and a fine gradation change is prioritized.

【0017】[0017]

【発明の効果】以上説明したように、本発明は、ディザ
2値化回路の前段に注目画素とその周辺画素の平均値と
の差分に応じて、そのいずれかをディザ2値化回路に入
力する構成とした上かつ、その差分の度合いを制御する
しきい値を設定できるため、“絵がら”に対応してディ
ザ2値化後のノイズ画像を低減させることが可能にな
る。
As described above, according to the present invention, any one of them is input to the dither binarization circuit at the preceding stage of the dither binarization circuit in accordance with the difference between the average value of the pixel of interest and its surrounding pixels. In addition, since a threshold value for controlling the degree of the difference can be set, it is possible to reduce the noise image after dither binarization corresponding to "picture".

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

【図1】本発明の一実施例のブロック図FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】ディザパターン例を示す平面図FIG. 2 is a plan view showing an example of a dither pattern.

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

1A,1B,1C ラインメモリ 2A,2B,2C,2D,2E,2F,2G,2H,2
I,2J,2K,2L,2M,2N,2O,2P 1
画素遅延レジスタ 3 平均化回路 4 選択回路 5 減算回路 6 比較回路 7 ディザ2値化回路
1A, 1B, 1C Line memories 2A, 2B, 2C, 2D, 2E, 2F, 2G, 2H, 2
I, 2J, 2K, 2L, 2M, 2N, 2O, 2P 1
Pixel delay register 3 Averaging circuit 4 Selection circuit 5 Subtraction circuit 6 Comparison circuit 7 Dither binarization circuit

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 多値画像信号から主走査および副走査方
向に所定の画素数を有するディザパターンサイズの各画
素の信号を抽出する抽出手段と、前記抽出手段によって
抽出された多値画像信号から注目画素の周辺の画素に対
応する多値画像信号の平均値を出力する平均化手段と、
前記注目画素に対応する多値画像信号と前記平均値との
差を算出する減算手段と、前記差の大きさに応じて前記
注目画素に対応する多値画像信号と前記平均値の一方を
選択する選択手段と、前記選択手段の出力を前記ディザ
パターンサイズのディザマトリクスを使用してディザ法
により2値化するディザ2値化手段とを含む画像処理装
置。
An extracting means for extracting a signal of each pixel of a dither pattern size having a predetermined number of pixels in a main scanning direction and a sub-scanning direction from a multi-valued image signal; and a multi-valued image signal extracted by the extracting means. Averaging means for outputting an average value of a multi-level image signal corresponding to pixels around the pixel of interest;
Subtraction means for calculating a difference between the multi-valued image signal corresponding to the pixel of interest and the average value, and selecting one of the multi-valued image signal corresponding to the pixel of interest and the average value according to the magnitude of the difference An image processing apparatus comprising: a selection unit that performs binarization; and a dither binarization unit that binarizes an output of the selection unit by a dither method using a dither matrix having the dither pattern size.
【請求項2】 前記抽出手段は、副走査方向の抽出する
画素数に応じて配置されたラインメモリと前記多値画像
信号と前記ラインメモリの出力を主走査方向に抽出する
画素数に応じて1画ずつ遅延する1画素遅延手段とを有
する請求項1に記載された画像処理装置。
2. The image processing apparatus according to claim 1, wherein the extracting unit is configured to extract a line memory arranged in accordance with a number of pixels to be extracted in a sub-scanning direction, the multi-level image signal, and an output of the line memory in a main scanning direction. 2. The image processing apparatus according to claim 1, further comprising one-pixel delay means for delaying one picture at a time.
【請求項3】 前記平均化手段は前記注目画素の周辺の
画素に対する多値画像信号の総和を外部から設定される
平均化係数で割った平均値を出力することを特徴とする
請求項1に記載された画像処理装置。
3. The apparatus according to claim 1, wherein the averaging means outputs an average value obtained by dividing a sum of multi-valued image signals for pixels around the pixel of interest by an averaging coefficient set from outside. The described image processing device.
【請求項4】 前記選択手段は、前記差の大きさを外部
から設定されるしきい値と比較する比較回路と、前記比
較回路の出力に応じ前記注目画素に対応する多値画像信
号と前記平均値の一方を選択する選択回路とを有する請
求項1に記載された画像処理装置。
4. A comparison circuit for comparing the magnitude of the difference with an externally set threshold value, and a multi-valued image signal corresponding to the pixel of interest according to an output of the comparison circuit. 2. The image processing apparatus according to claim 1, further comprising a selection circuit that selects one of the average values.
【請求項5】 多値画像信号から主走査および副走査方
向に所定の画素数を有するディザパターンサイズの各画
素の信号を抽出する抽出手段と、前記抽出手段の出力か
ら前記ディザパターンサイズと同じ画素配列の多値画像
信号の平均値を外部から設定される平均化係数で算出す
る平均化回路と、前記ディザパターンサイズと同じ画素
配列の注目画素に対応する多値画像信号の一方の入力と
し前記平均化回路の出力を他方の入力とする選択回路お
よび減算回路と、前記減算回路の出力と外部から設定さ
れるしきい値を比較する比較回路と、前記選択回路の出
力をディザ法に基づいて2値化するディザ2値化回路と
を含み、前記比較回路出力を前記選択回路の選択信号と
して接続構成することを特徴とする画像処理装置。
5. Extraction means for extracting a signal of each pixel of a dither pattern size having a predetermined number of pixels in the main scanning and sub-scanning directions from a multi-valued image signal, and extracting from the output of the extraction means the same as the dither pattern size. An averaging circuit that calculates the average value of the multi-valued image signal of the pixel array by an averaging coefficient set from the outside, and one of the multi-valued image signals corresponding to the target pixel of the pixel array having the same dither pattern size as the input. A selection circuit and a subtraction circuit having the output of the averaging circuit as the other input, a comparison circuit for comparing the output of the subtraction circuit with an externally set threshold value, and an output of the selection circuit based on a dither method. An image processing apparatus comprising: a dither binarization circuit for performing binarization by means of a comparator; and connecting the output of the comparison circuit as a selection signal of the selection circuit.
JP26097693A 1993-10-19 1993-10-19 Image processing device Expired - Lifetime JP2601156B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26097693A JP2601156B2 (en) 1993-10-19 1993-10-19 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26097693A JP2601156B2 (en) 1993-10-19 1993-10-19 Image processing device

Publications (2)

Publication Number Publication Date
JPH07115539A JPH07115539A (en) 1995-05-02
JP2601156B2 true JP2601156B2 (en) 1997-04-16

Family

ID=17355362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26097693A Expired - Lifetime JP2601156B2 (en) 1993-10-19 1993-10-19 Image processing device

Country Status (1)

Country Link
JP (1) JP2601156B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7424168B2 (en) * 2003-12-24 2008-09-09 Sharp Laboratories Of America, Inc. Enhancing the quality of decoded quantized images

Also Published As

Publication number Publication date
JPH07115539A (en) 1995-05-02

Similar Documents

Publication Publication Date Title
US6686922B2 (en) Adaptive thresholding using loose gray scale template matching
US5832132A (en) Image processing using neural network
JPH04356869A (en) Image processor
JPH04354470A (en) Picture processing method, scanning/printing system for executing said method and picture selector for said scanning/printing system
US5452107A (en) Image processing apparatus providing a bilevel image signal by changing binarization threshold value based on densities of original image areas incuding target pixel and less than all surrounding pixels
US4996602A (en) Image-processing apparatus
US5905816A (en) Method of and apparatus for binarizing image signals
JP2601156B2 (en) Image processing device
JP3669081B2 (en) Image processing device
JP2003110852A (en) Halftone processing method and processor
JP2851724B2 (en) Image processing device
JP3468966B2 (en) Image processing device
JP2898321B2 (en) Halftone estimation method for dither image
JPH08116454A (en) Image processing unit
JPS60136478A (en) Picture processor
JP2900907B2 (en) Image processing device
JP2757868B2 (en) Image information binarization processing circuit
JP2692838B2 (en) Image processing device
JPH05176168A (en) Adaptive halftone processing system
JPH08265569A (en) Pseudo halftone processor
JP2618894B2 (en) Image signal processing device
JPH04270561A (en) Picture processor
JPS6180964A (en) Picture signal processing method
JP3291101B2 (en) Image processing device
JPS6080365A (en) Processor of pseudo medium gradation picture

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19961126