JPH07115539A - Image processor - Google Patents

Image processor

Info

Publication number
JPH07115539A
JPH07115539A JP26097693A JP26097693A JPH07115539A JP H07115539 A JPH07115539 A JP H07115539A JP 26097693 A JP26097693 A JP 26097693A JP 26097693 A JP26097693 A JP 26097693A JP H07115539 A JPH07115539 A JP H07115539A
Authority
JP
Japan
Prior art keywords
circuit
pixel
dither
valued image
output
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.)
Granted
Application number
JP26097693A
Other languages
Japanese (ja)
Other versions
JP2601156B2 (en
Inventor
Toshiaki Kumakawa
俊明 熊川
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

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To reduce deterioration in a shape of a dither pattern after binarization when a multi-valued image signal is subject to dither binarization processing. CONSTITUTION:The processor has a dither binarization circuit 7 and line memories 1A-1C arranging the same picture elements as those of a dither pattern size, 1-picture element delay registers 2A-2P, an averaging circuit 3, a selection circuit 4, a subtractor circuit 5 and a comparator circuit 6 are provided in the pre-stage of the circuit 7. The subtractor circuit 5 is used to obtain a difference between a picture element of interest and a mean value of surrounding picture elements and allows the selection circuit 4 to select the notice picture element or the mean value of the surrounding picture elements depending on the difference to reduce deterioration in a dither pattern shape after binarization. Furthermore, a threshold level is set depending on the image pattern to optimize the image after the binarization.

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 in which a multi-valued image signal is input and compared with a dither pattern threshold value to be binarized,
Particularly, when the threshold pattern is a centralized type such as the halftone dot pattern shown in FIG. 2A, it is preferable to sufficiently reduce the noise component of the input multi-valued image signal and then binarize it. This is a general configuration. Conventionally, a low pass filter is used to reduce this noise component. If the noise component is not reduced by this low-pass filter, FIG.
This is because it causes deterioration of the dot shape as shown in.

【0003】[0003]

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

【0004】[0004]

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

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

【0006】[0006]

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

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

【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はディザパターン
サイズの各画素の信号を抽出する抽出手段を構成する。
Multivalued image signal ID input from the terminal T1
Consists of 8-bit parallel digital data representing 256 gradations per pixel. The multi-valued image signal ID input from the terminal T1 is the line memories 1A, 1 that are serial to each other.
The multi-valued image signal ID, which is sequentially input to B and 1C and does not pass through the line memory, is added to the 1-pixel delay registers 2A, 2B,
2C, 2D, the output of the line memory 1A to the 1-pixel delay registers 2E, 2F, 2G, 2H, and the output of the line memory 1B for the 1-pixel delay registers 2I, 2J, 2K,
2L, and the output of the line memory 1C is supplied to the 1-pixel delay registers 2M, 2N, 2O, 2P. Each line memory and 1-pixel delay register have 8-bit parallel input / output terminals, and other circuits are also processed in 8-bit units. With the above configuration, the multi-valued image signal ID is expanded into 4 pixels in the main scanning × 4 pixels in the sub scanning, and the output of each 1-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 the signal of each pixel having the dither pattern size.

【0009】平均化回路3にはあらかじめ端子T4から
平均化係数Nが供給される。平均化回路3は、各1画素
遅延レジスタから供給される4×4=16画素の多値画
像信号の加算平均を行う。
The averaging circuit 3 is previously supplied with the averaging coefficient N from the terminal T4. The averaging circuit 3 averages the multi-valued image signals of 4 × 4 = 16 pixels supplied from each 1-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 the selecting circuit 4 and the subtracting 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 in the dither pattern in the dither binarization circuit 7, that is, a pixel at a position for binarization 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 the 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 the threshold value T.
When the comparison result of being 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 pixel of interest is selected. Selection circuit 4
Is binarized by the dither binarization circuit 7 and output as an output image signal OD from the terminal T2. 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-scan is set to 4 and is made to match the pixel array input to the averaging circuit 3.

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

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

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

【0017】[0017]

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

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

【図1】本発明の一実施例のブロック図FIG. 1 is a block diagram of an 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 memory 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)

【特許請求の範囲】[Claims] 【請求項1】 多値画像信号から主走査および副走査方
向に所定の画素数を有するディザパターンサイズの各画
素の信号を抽出する抽出手段と、前記抽出手段によって
抽出された多値画像信号から注目画素の周辺の画素に対
応する多値画像信号の平均値を出力する平均化手段と、
前記注目画素に対応する多値画像信号と前記平均値との
差を算出する減算手段と、前記差の大きさに応じて前記
注目画素に対応する多値画像信号と前記平均値の一方を
選択する選択手段と、前記選択手段の出力を前記ディザ
パターンサイズのディザマトリクスを使用してディザ法
により2値化するディザ2値化手段とを含む画像処理装
置。
1. 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 the multi-valued image signal, and from the multi-valued image signal extracted by the extraction means. Averaging means for outputting an average value of multi-valued image signals corresponding to pixels around the pixel of interest,
Subtracting means for calculating the difference between the multi-valued image signal corresponding to the target pixel and the average value, and selecting one of the multi-valued image signal corresponding to the target pixel and the average value according to the magnitude of the difference. And a dither binarization unit that binarizes the output of the selection unit by a dither method using a dither matrix of the dither pattern size.
【請求項2】 前記抽出手段は、副走査方向の抽出する
画素数に応じて配置されたラインメモリと前記多値画像
信号と前記ラインメモリの出力を主走査方向に抽出する
画素数に応じて1画ずつ遅延する1画素遅延手段とを有
する請求項1に記載された画像処理装置。
2. The extracting means according to the number of pixels for extracting the line memory arranged according to the number of pixels to be extracted in the sub-scanning direction, the multi-valued image signal and the output of the line memory in the main scanning direction. The image processing apparatus according to claim 1, further comprising a one-pixel delay unit that delays one image at a time.
【請求項3】 前記平均化手段は前記注目画素の周辺の
画素に対する多値画像信号の総和を外部から設定される
平均化係数で割った平均値を出力することを特徴とする
請求項1に記載された画像処理装置。
3. The averaging means outputs an average value obtained by dividing a total sum of multi-valued image signals with respect to pixels around the target pixel by an averaging coefficient set from the outside. The described image processing device.
【請求項4】 前記選択手段は、前記差の大きさを外部
から設定されるしきい値と比較する比較回路と、前記比
較回路の出力に応じ前記注目画素に対応する多値画像信
号と前記平均値の一方を選択する選択回路とを有する請
求項1に記載された画像処理装置。
4. The selection means compares the magnitude of the difference with a threshold value set from the outside, a multi-valued image signal corresponding to the pixel of interest according to the output of the comparison circuit, and the comparison circuit. 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 having a dither pattern size having a predetermined number of pixels in the main scanning and sub-scanning directions from the multi-valued image signal, and the same dither pattern size as the output from the extraction means. An averaging circuit that calculates the average value of the multi-valued image signal of the pixel array with an averaging coefficient set from the outside, and one input of the multi-valued image signal corresponding to the pixel of interest having the same pixel array as the dither pattern size. A selection circuit and a subtraction circuit that use the output of the averaging circuit as the other input, a comparison circuit that compares the output of the subtraction circuit with a threshold value set from the outside, and the output of the selection circuit based on the dither method. And a dither binarization circuit for binarizing the image data, 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 true JPH07115539A (en) 1995-05-02
JP2601156B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005190468A (en) * 2003-12-24 2005-07-14 Sharp Corp Method of enhancing image quality of quantized and decoded image

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005190468A (en) * 2003-12-24 2005-07-14 Sharp Corp Method of enhancing image quality of quantized and decoded image
JP4544974B2 (en) * 2003-12-24 2010-09-15 シャープ株式会社 How to enhance the quality of quantized and decoded images

Also Published As

Publication number Publication date
JP2601156B2 (en) 1997-04-16

Similar Documents

Publication Publication Date Title
JP2871127B2 (en) Image processing apparatus and method
JPH05227425A (en) Improvement in automatic image segmentation
JPS62172867A (en) Picture processor
JP3088010B2 (en) Line drawing separation method and apparatus
JPH06276392A (en) Picture processing unit
JP2601156B2 (en) Image processing device
JPH0721313A (en) Image processor
JPS63288565A (en) Image processor
JP2851724B2 (en) Image processing device
JP2898321B2 (en) Halftone estimation method for dither image
JPS60136478A (en) Picture processor
JPS6180964A (en) Picture signal processing method
JPH08116454A (en) Image processing unit
JPH06150059A (en) Image area separator
JP2608404B2 (en) Image processing device
JPH09200499A (en) Image processor
JPH06152947A (en) Image processor
JP2757868B2 (en) Image information binarization processing circuit
JPH04270561A (en) Picture processor
JPH08265569A (en) Pseudo halftone processor
JP3146516B2 (en) Image processing device
JPH03244276A (en) Image processor
JPH09247450A (en) Image processing unit
JPH04192879A (en) Image processor
JPH04344770A (en) Picture processor

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