JPH07295527A - Processor for image signal binarization processing and method therefor - Google Patents

Processor for image signal binarization processing and method therefor

Info

Publication number
JPH07295527A
JPH07295527A JP6091247A JP9124794A JPH07295527A JP H07295527 A JPH07295527 A JP H07295527A JP 6091247 A JP6091247 A JP 6091247A JP 9124794 A JP9124794 A JP 9124794A JP H07295527 A JPH07295527 A JP H07295527A
Authority
JP
Japan
Prior art keywords
image signal
resolution
valued image
valued
gradations
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6091247A
Other languages
Japanese (ja)
Inventor
Osamu Shimazaki
治 島崎
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP6091247A priority Critical patent/JPH07295527A/en
Publication of JPH07295527A publication Critical patent/JPH07295527A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To provide a processor and method for image signal binarization processing which can process a multilevel image signal fast and obtain a binary image signal consisting of sufficient gradations. CONSTITUTION:A multi-valuing circuit 10 converts a 1st multi-level image signal I (x, y) with resolution R1 and N1 gradations into a 2nd multi-level image signal E (x, y) with resolution R2 and N2 gradations and then a 2nd multi-level circuit 12 converts the 2nd multi-level image signal E (x, y) into a binary image signal B (x, y) with resolution R3 and N3 gradations. Here, R1, R2, and R3 are so set that R1<=R2<R3; and N1, N2, and N3 are so set that N1>N2>N3=2.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、誤差拡散法と、濃度パ
ターン法あるいは組織的ディザ法とを用いて、解像度お
よび階調数を2段階に分けて画像信号の処理を行い、2
値画像信号を得る画像信号2値化処理装置および方法に
関する。
BACKGROUND OF THE INVENTION The present invention uses an error diffusion method and a density pattern method or a systematic dither method to process an image signal by dividing the resolution and the number of gradations into two steps.
The present invention relates to an image signal binarization processing apparatus and method for obtaining a value image signal.

【0002】[0002]

【従来の技術】2値表示のみ可能な表示装置やプリンタ
装置を用いて階調画像を再現する際、多値画像信号であ
る階調画像信号を“0”および“1”の信号からなる2
値画像信号に変換する処理が行われる。この場合、2値
化処理方法として、従来より種々の方法が提案されてい
る。
2. Description of the Related Art When a gradation image is reproduced by using a display device or a printer device capable of only binary display, a gradation image signal which is a multi-valued image signal is composed of "0" and "1" signals.
A process of converting into a value image signal is performed. In this case, various methods have been conventionally proposed as a binarization processing method.

【0003】例えば、多値画像信号をその階調に応じた
M×NドットのON/OFF信号からなるサブマトリッ
クスに対応させ、前記各多値画像信号を前記サブマトリ
ックスのONとなるドットの面積率で再現する濃度パタ
ーン法、M×N画素を階調再現の1単位とし、前記M×
N画素に対応するM×Nドットの複数の閾値信号からな
るディザマトリックスを作り、前記ディザマトリックス
と前記M×N画素とを比較することで2値化する組織的
ディザ法、多値画像信号を固定された閾値信号と比較し
て2値画像信号を得る際、2値化により生じた誤差を近
傍画素の多値画像信号に分配加算することで2値化を行
う誤差拡散法等がある。
For example, a multi-valued image signal is made to correspond to a sub-matrix composed of ON / OFF signals of M × N dots according to its gradation, and each multi-valued image signal has an area of dots which are ON in the sub-matrix. The density pattern method that reproduces at a rate, M × N pixels as one unit for gradation reproduction,
A systematic dither method for binarizing a dither matrix composed of a plurality of threshold signals of M × N dots corresponding to N pixels and comparing the dither matrix with the M × N pixels to obtain a multi-valued image signal When obtaining a binary image signal by comparing with a fixed threshold value signal, there is an error diffusion method or the like in which an error caused by binarization is distributed and added to a multi-valued image signal of neighboring pixels to perform binarization.

【0004】[0004]

【発明が解決しようとする課題】ところで、階調画像を
2値画像信号を用いて高階調に再現するためには、前記
2値画像信号の解像度を大きく設定しておく必要があ
る。
By the way, in order to reproduce a gradation image with a high gradation using a binary image signal, it is necessary to set the resolution of the binary image signal to a large value.

【0005】この場合、2値化に際して濃度パターン法
または組織的ディザ法を用いると、高速処理が可能とな
るが、多値画像信号に含まれる周期性成分とサブマトリ
ックスあるいはディザマトリックスとの間で干渉が生じ
易い。この結果、2値画像においてモアレやロゼッタパ
ターンが発生する不具合がある。
In this case, if the density pattern method or the systematic dither method is used for binarization, high speed processing is possible, but between the periodic component contained in the multi-valued image signal and the sub-matrix or dither matrix. Interference easily occurs. As a result, there is a problem that moire and rosette patterns are generated in the binary image.

【0006】一方、2値化に際して誤差拡散法を用い、
これをRIP(Raster Image Processor)上のソフトウ
エアで実現しようとすると、演算処理に相当な時間を要
してしまう。なお、この場合の演算時間は、2値画像の
解像度の2乗に依存して長くなってしまう。また、ハー
ドウエア(画像処理回路)で実現しようとすると、バッ
ファメモリ量が解像度に依存することから回路規模が大
きくなってしまう。
On the other hand, the error diffusion method is used for binarization.
If this is to be realized by software on a RIP (Raster Image Processor), it will take a considerable amount of time for calculation processing. Note that the calculation time in this case becomes long depending on the square of the resolution of the binary image. Further, if the hardware (image processing circuit) is used, the circuit size becomes large because the amount of buffer memory depends on the resolution.

【0007】本発明は、前記の不具合を解消し、多値画
像信号を高速に処理し、充分な階調からなる2値画像信
号を得ることのできる画像信号2値化処理装置および方
法を提供することを目的とする。
The present invention provides an image signal binarization processing apparatus and method capable of solving the above-mentioned problems, processing a multi-valued image signal at high speed, and obtaining a binary image signal having sufficient gradation. The purpose is to do.

【0008】[0008]

【課題を解決するための手段】前記の目的を達成するた
めに、本発明は、誤差拡散法に基づく処理回路から構成
され、解像度R1 、階調数N1 の第1多値画像信号を、
解像度R2 、階調数N 2 (R2 ≧R1 、2<N2
1 )の第2多値画像信号に変換する第1変換手段と、
濃度パターン法に基づく処理回路から構成され、前記第
2多値画像信号を、解像度R3 、階調数N3 (R3 >R
2 、N3 =2)の2値画像信号に変換する第2変換手段
と、を備えることを特徴とする。
[Means for Solving the Problems]
Therefore, the present invention comprises a processing circuit based on the error diffusion method.
And resolution R1, Number of gradations N1The first multi-valued image signal of
Resolution R2, Number of gradations N 2(R2≧ R12 <N2<
N1) First conversion means for converting into a second multi-valued image signal,
The processing circuit based on the density pattern method,
2 Multi-valued image signal3, Number of gradations N3(R3> R
2, N3= 2) second conversion means for converting into a binary image signal
And are provided.

【0009】また、本発明は、誤差拡散法に基づく処理
回路から構成され、解像度R1 、階調数N1 の第1多値
画像信号を、解像度R2 、階調数N2 (R2 ≧R1 、2
<N 2 <N1 )の第2多値画像信号に変換する第1変換
手段と、組織的ディザ法に基づく処理回路から構成さ
れ、前記第2多値画像信号を、解像度R3 、階調数N3
(R3 >R2 、N3 =2)の2値画像信号に変換する第
2変換手段と、を備えることを特徴とする。
The present invention is also based on an error diffusion method.
Composed of a circuit, resolution R1, Number of gradations N1First multi-value of
Image signal with resolution R2, Number of gradations N2(R2≧ R1Two
<N 2<N1) First conversion for converting into a second multi-valued image signal
And a processing circuit based on the ordered dither method.
The second multi-valued image signal is converted into a resolution R3, Number of gradations N3
(R3> R2, N3= 2) conversion into a binary image signal
And 2 conversion means.

【0010】また、本発明は、誤差拡散法に基づき、解
像度R1 、階調数N1 の第1多値画像信号を、解像度R
2 、階調数N2 (R2 ≧R1 、2<N2 <N1 )の第2
多値画像信号に変換する第1ステップと、濃度パターン
法に基づき、前記第2多値画像信号を、解像度R3 、階
調数N3(R3 >R2 、N3 =2)の2値画像信号に変
換する第2ステップと、からなることを特徴とする。
According to the present invention, the first multi-valued image signal having a resolution R 1 and a gradation number N 1 is converted into a resolution R based on the error diffusion method.
2 , second number of gradations N 2 (R 2 ≧ R 1 , 2 <N 2 <N 1 )
Based on the first step of converting into a multi-valued image signal and the density pattern method, the second multi-valued image signal is converted into 2 with resolution R 3 and gradation number N 3 (R 3 > R 2 , N 3 = 2). And a second step of converting into a value image signal.

【0011】さらに、本発明は、誤差拡散法に基づき、
解像度R1 、階調数N1 の第1多値画像信号を、解像度
2 、階調数N2 (R2 ≧R1 、2<N2 <N1 )の第
2多値画像信号に変換する第1ステップと、組織的ディ
ザ法に基づき、前記第2多値画像信号を、解像度R3
階調数N3(R3 >R2 、N3 =2)の2値画像信号に
変換する第2ステップと、からなることを特徴とする。
Further, the present invention is based on the error diffusion method,
The first multi-valued image signal having the resolution R 1 and the gradation number N 1 is converted into the second multi-valued image signal having the resolution R 2 and the gradation number N 2 (R 2 ≧ R 1 , 2 <N 2 <N 1 ). Based on the first step of converting and the systematic dither method, the second multi-valued image signal is converted into a resolution R 3 ,
The second step of converting into a binary image signal having the number of gradations N 3 (R 3 > R 2 , N 3 = 2).

【0012】[0012]

【作用】本発明の画像信号2値化処理装置および方法で
は、誤差拡散法に基づき、中間の解像度および中間の階
調数を有する多値画像信号を生成し、次いで、濃度パタ
ーン法あるいは組織的ディザ法に基づき、前記多値画像
信号から所望の階調を表現できる2値画像信号を生成す
る。この場合、中間で生成される前記多値画像信号の解
像度を小さく設定することで、誤差拡散法による演算処
理の高速化が達成され、また、前記多値画像信号と前記
2値画像信号と間の解像度の差が小さくなることで、濃
度パターン法あるいは組織的ディザ法によるモアレやロ
ゼッタパターンの発生が回避される。
According to the image signal binarization processing apparatus and method of the present invention, a multi-valued image signal having an intermediate resolution and an intermediate gradation number is generated based on the error diffusion method, and then the density pattern method or the systematic method is used. Based on the dither method, a binary image signal capable of expressing a desired gradation is generated from the multi-valued image signal. In this case, the resolution of the multi-valued image signal generated in the middle is set to be small, so that the calculation processing by the error diffusion method can be speeded up, and the multi-valued image signal and the binary image signal can be separated from each other. By reducing the difference in the resolutions between the two, it is possible to avoid the generation of moire and rosette patterns by the density pattern method or the systematic dither method.

【0013】[0013]

【実施例】図1は、本発明に係る画像信号2値化処理装
置および方法の概略を示す。
1 shows the outline of an image signal binarizing apparatus and method according to the present invention.

【0014】この場合、解像度R1 、階調数N1 からな
る第1多値画像信号I(x,y) は、多値化回路10(第1
変換手段)によって解像度R2 、階調数N2 からなる第
2多値画像信号E(x,y) に変換され、次いで、前記第2
多値画像信号E(x,y) は、2値化回路12(第2変換手
段)によって解像度R3 、階調数N3 からなる2値画像
信号B(x,y) に変換される。なお、解像度R1 、R2
3 は、R1 ≦R2 <R3 の関係に設定されており、階
調数N1 、N2 、N3 は、N1 >N2 >N3 =2の関係
に設定されている。また、(x,y) は、各画像信号により
構成される画素の配列を表す。
In this case, the first multi-valued image signal I (x, y) having the resolution R 1 and the number of gradations N 1 is converted into the multi-valued circuit 10 (first
By a conversion means) to a second multi-valued image signal E (x, y) having a resolution R 2 and a gradation number N 2, and then the second multi-valued image signal E (x, y)
The multi-valued image signal E (x, y) is converted into a binary image signal B (x, y) having a resolution R 3 and a gradation number N 3 by the binarization circuit 12 (second conversion means). Note that the resolutions R 1 , R 2 ,
R 3 is set in a relationship of R 1 ≦ R 2 <R 3 , and the number of gradations N 1 , N 2 , N 3 is set in a relationship of N 1 > N 2 > N 3 = 2. . Further, (x, y) represents an array of pixels configured by each image signal.

【0015】多値化回路10は、図2に示すように、解
像度R1 、階調数N1 からなる第1多値画像信号I(x,
y) を補間処理することで倍率の変換を行い、解像度R
2 (R 1 ≦R2 )、階調数N1 からなる第1多値画像信
号I’(x,y) を生成する倍率変換回路13と、解像度R
2 、階調数N1 からなる前記第1多値画像信号I’(x,
y) を解像度R2 、階調数N2 (N1 >N2 )からなる
第2多値画像信号E(x,y)に変換する誤差拡散処理回路
14とから構成される。なお、前記倍率変換回路13に
おいて倍率を1に設定した場合、R1 =R2 となる。
As shown in FIG. 2, the multi-value quantization circuit 10 has a solution.
Image R1, Number of gradations N1The first multi-valued image signal I (x,
y) is interpolated to convert the magnification and the resolution R
2(R 1≤ R2), Number of gradations N1First multi-valued image signal consisting of
A magnification conversion circuit 13 for generating a signal I '(x, y) and a resolution R
2, Number of gradations N1The first multi-valued image signal I '(x,
y) is the resolution R2, Number of gradations N2(N1> N2) Consists of
Error diffusion processing circuit for converting into a second multi-valued image signal E (x, y)
14 and. In addition, the magnification conversion circuit 13
If the magnification is set to 1, then R1= R2Becomes

【0016】誤差拡散処理回路14は、図3に示すよう
に、解像度R2 、階調数N1 からなる第1多値画像信号
I’(x,y) を記憶する第1多値画像メモリ16と、前記
第1多値画像信号I’(x,y) を解像度R2 、階調数N2
からなる第2多値画像信号E(x,y) に変換する多値化関
数発生器18と、前記第1多値画像信号I’(x,y) と第
2多値画像信号E(x,y) との差を誤差信号Err(x,y)
として記憶する誤差メモリ20と、誤差信号Err(x-
k,y-l) に乗算される誤差拡散係数W(k,l) を記憶する
誤差拡散係数メモリ22と、前記誤差拡散係数W(k,l)
を前記誤差信号Err(x-k,y-l) に対してランダムに切
り換えて乗算させるための乱数を発生する乱数発生器2
4とを備える。この場合、(x-k,y-l) は、(x,y) の周囲
画素を表す。また、誤差信号Err(x,y) は、減算器2
6により第1多値画像信号I’(x,y) と第2多値画像信
号E(x,y) との差信号として求められる。さらに、誤差
信号Err(x-k,y-l) と誤差拡散係数W(k,l) とは、乗
算器28において乗算され、加算器30において第1多
値画像信号I’(x,y) に加算される。
The error diffusion processing circuit 14 is, as shown in FIG. 3, a first multi-valued image memory for storing a first multi-valued image signal I '(x, y) having a resolution R 2 and a gradation number N 1. 16 and the first multi-valued image signal I ′ (x, y) with resolution R 2 and gradation number N 2
A multi-valued function generator 18 for converting into a second multi-valued image signal E (x, y), the first multi-valued image signal I ′ (x, y) and the second multi-valued image signal E (x error signal Err (x, y)
Error memory 20 that stores the error signal Err (x-
error diffusion coefficient memory 22 for storing error diffusion coefficient W (k, l) multiplied by k, yl), and said error diffusion coefficient W (k, l)
Random number generator 2 for generating a random number for randomly switching and multiplying the error signal Err (xk, yl)
4 and. In this case, (xk, yl) represents the surrounding pixels of (x, y). Further, the error signal Err (x, y) is calculated by the subtracter 2
6 is obtained as a difference signal between the first multi-valued image signal I ′ (x, y) and the second multi-valued image signal E (x, y). Further, the error signal Err (xk, yl) and the error diffusion coefficient W (k, l) are multiplied in the multiplier 28 and added to the first multi-valued image signal I ′ (x, y) in the adder 30. It

【0017】2値化回路12は、図4に示す濃度パター
ン処理回路32により構成される。この濃度パターン処
理回路32は、前記誤差拡散処理回路14において生成
された解像度R2 、階調数N2 からなる第2多値画像信
号E(x,y) を記憶する第2多値画像メモリ34と、M×
NドットのON/OFF信号からなるサブマトリックス
を濃度パターンとして記憶し、前記第2多値画像信号E
(x,y) を解像度R3 、階調数N3 (=2)からなる2値
画像信号B(x,y) に変換する濃度パターンメモリ36
と、前記濃度パターンメモリ36に対して乱数を付与す
る乱数発生器38とを備える。
The binarization circuit 12 is composed of a density pattern processing circuit 32 shown in FIG. The density pattern processing circuit 32 stores a second multi-valued image signal E (x, y) having a resolution R 2 and gradation number N 2 generated in the error diffusion processing circuit 14 in a second multi-valued image memory. 34 and M ×
A sub-matrix composed of ON / OFF signals of N dots is stored as a density pattern, and the second multi-valued image signal E is stored.
A density pattern memory 36 for converting (x, y) into a binary image signal B (x, y) having a resolution R 3 and a gradation number N 3 (= 2).
And a random number generator 38 for giving a random number to the density pattern memory 36.

【0018】次に、前記の構成からなる画像信号2値化
処理装置の動作について説明する。
Next, the operation of the image signal binarization processing apparatus having the above configuration will be described.

【0019】先ず、図2に示す倍率変換回路13におい
て、解像度R1 の第1多値画像信号I(x,y) が補間処理
され、解像度R2 (R1 ≦R2 )の第1多値画像信号
I’(x,y) が生成される。次いで、図3に示す誤差拡散
処理回路14において、階調数N1 の前記第1多値画像
信号I’(x,y) が階調数N2 (N2 <N1 )の第2多値
画像信号I(x,y) に変換される。
First, in the magnification conversion circuit 13 shown in FIG. 2, the first multi-valued image signal I (x, y) of resolution R 1 is interpolated to obtain the first multi-valued image signal of resolution R 2 (R 1 ≤R 2 ). A value image signal I '(x, y) is generated. Next, in the error diffusion processing circuit 14 shown in FIG. 3, the first multi-valued image signal I ′ (x, y) having the gradation number N 1 is converted into the second multi-value image signal having the gradation number N 2 (N 2 <N 1 ). It is converted into a value image signal I (x, y).

【0020】すなわち、第1多値画像信号I’(x,y)
は、一旦、第1多値画像メモリ16に記憶された後、多
値化関数発生器18において、階調数N2 からなる第2
多値画像信号E(x,y) に変換される。この場合、多値化
関数発生器18は、図5に示すように、 E(x,y) =f(I’(x,y) ) ……(1) となる階調数N2 の段階からなる多値化関数fにより構
成されている。なお、図5は、N1 =256の第1多値
画像信号I’(x,y) をN2 =9の第2多値画像信号E
(x,y) に変換する多値化関数fを示す。
That is, the first multi-valued image signal I '(x, y)
Is first stored in the first multi-valued image memory 16 and then, in the multi-valued function generator 18, a second number of gradation levels N 2
It is converted into a multi-valued image signal E (x, y). In this case, as shown in FIG. 5, the multi-valued function generator 18 outputs the gradation number N 2 at which E (x, y) = f (I ′ (x, y)) (1) It is composed of a multi-valued function f. Note that in FIG. 5, the first multi-valued image signal I ′ (x, y) of N 1 = 256 is replaced by the second multi-valued image signal E of N 2 = 9.
The multi-valued function f converted into (x, y) is shown.

【0021】多値化関数発生器18より出力された前記
第2多値画像信号E(x,y) は、減算器26に供給され、 Err(x,y) =I’(x,y) −E(x,y) ……(2) となる誤差信号Err(x,y) が求められ、誤差メモリ2
0に記憶される。
The second multi-valued image signal E (x, y) output from the multi-valued function generator 18 is supplied to a subtractor 26, where Err (x, y) = I '(x, y). The error signal Err (x, y) that becomes −E (x, y) (2) is obtained, and the error memory 2
Stored in 0.

【0022】次に、前記誤差メモリ20に記憶された誤
差信号Err(x-k,y-l) に対して、誤差拡散係数メモリ
22に記憶された誤差拡散係数W(k,l) を乗算器28に
おいて乗算することにより、次の(3)式で示す拡散誤
差信号ΔE(x,y) が得られる。なお、(k,l) は、(x,y)
で特定される画素の周囲画素の範囲を表す。
Next, the error signal Err (xk, yl) stored in the error memory 20 is multiplied by the error diffusion coefficient W (k, l) stored in the error diffusion coefficient memory 22 in the multiplier 28. By doing so, the diffusion error signal ΔE (x, y) shown in the following equation (3) is obtained. Note that (k, l) is (x, y)
Represents the range of pixels surrounding the pixel specified by.

【0023】[0023]

【数1】 [Equation 1]

【0024】前記のようにして求められた拡散誤差信号
ΔE(x,y) は、加算器30において、第1多値画像信号
I’(x,y) と加算され、次の(4)式に示す修正された
第1多値画像信号I’(x,y) が得られる。
The diffusion error signal ΔE (x, y) obtained as described above is added to the first multi-valued image signal I '(x, y) in the adder 30 to obtain the following equation (4). A modified first multi-valued image signal I '(x, y) shown in is obtained.

【0025】 I’(x,y) =I’(x,y) +ΔE(x,y) ……(4) 修正された前記多値画像信号I’(x,y) は、再び多値化
関数発生器18に導入される。このようにして、第1多
値画像信号I’(x,y) を階調数の少ない第2多値画像信
号E(x,y) に変換した際に生じる誤差が周囲の画像信号
に対して拡散される。なお、誤差拡散係数メモリ22に
記憶される誤差拡散係数W(k,l) は、誤差信号Err(x
-k,y-l) に対して、乱数発生器24からの乱数によりラ
ンダムに切り換えられて乗算されるため、第2多値画像
信号E(x,y) に誤差拡散による周期性が生じることはな
い。
I ′ (x, y) = I ′ (x, y) + ΔE (x, y) (4) The corrected multi-valued image signal I ′ (x, y) is again multi-valued. It is introduced into the function generator 18. In this way, the error that occurs when the first multi-valued image signal I ′ (x, y) is converted into the second multi-valued image signal E (x, y) with a small number of gradations is Be spread. Note that the error diffusion coefficient W (k, l) stored in the error diffusion coefficient memory 22 is equal to the error signal Err (x
-k, yl) is randomly switched by a random number from the random number generator 24 and multiplied, so that the second multi-valued image signal E (x, y) does not have periodicity due to error diffusion. .

【0026】以上の処理を繰り返すことにより、階調数
2 からなる第2多値画像信号E(x,y) が生成される。
この場合、解像度R2 を低く抑えることにより、誤差拡
散処理を高速に行うことができる。
By repeating the above processing, the second multi-valued image signal E (x, y) having the gradation number N 2 is generated.
In this case, the error diffusion process can be performed at high speed by keeping the resolution R 2 low.

【0027】次に、解像度R2 、階調数N2 の前記第2
多値画像信号E(x,y) は、図4に示す濃度パターン処理
回路32において、解像度R3 (R3 >R2 )、階調数
3(N3 =2)からなる2値画像信号B(x,y) に変換
される。
Next, the resolution R 2, the second number of gradations N 2
The multi-valued image signal E (x, y) is a binary image having a resolution R 3 (R 3 > R 2 ) and a gradation number N 3 (N 3 = 2) in the density pattern processing circuit 32 shown in FIG. It is converted to the signal B (x, y).

【0028】すなわち、誤差拡散処理回路14において
生成された第2多値画像信号E(x,y) は、一旦、第2多
値画像メモリ34に記憶された後、濃度パターンメモリ
36に供給される。この場合、前記濃度パターンメモリ
36には、複数組のM×NドットのON/OFF信号か
らなるルックアップテーブルが記憶されている。そこ
で、濃度パターンメモリ36に対して第2多値画像信号
E(x,y) 、乱数信号RN、位置信号ΔX、ΔYが導入さ
れると、これらの信号により指定された所定のアドレス
のON/OFF信号が前記ルックアップテーブルより選
択され、2値画像信号B(x,y) として出力される。
That is, the second multi-valued image signal E (x, y) generated in the error diffusion processing circuit 14 is once stored in the second multi-valued image memory 34 and then supplied to the density pattern memory 36. It In this case, the density pattern memory 36 stores a look-up table composed of a plurality of sets of ON / OFF signals of M × N dots. Therefore, when the second multi-valued image signal E (x, y), the random number signal RN, and the position signals ΔX and ΔY are introduced into the density pattern memory 36, the predetermined address designated by these signals is turned on / off. An OFF signal is selected from the look-up table and output as a binary image signal B (x, y).

【0029】ここで、第2多値画像信号E(x,y) の階調
数をN2 =9、2値画像信号B(x,y) の解像度をR3
2R2 とし、前記濃度パターン処理回路32における処
理を具体的に説明する。この場合、濃度パターンメモリ
36には、図6に示すように、2×2ドットのON/O
FF信号からなる5組のルックアップテーブルが設定さ
れている。
Here, the number of gradations of the second multi-valued image signal E (x, y) is N 2 = 9, and the resolution of the binary image signal B (x, y) is R 3 =
2R 2 , the processing in the density pattern processing circuit 32 will be specifically described. In this case, as shown in FIG. 6, the density pattern memory 36 stores ON / O of 2 × 2 dots.
Five sets of lookup tables composed of FF signals are set.

【0030】そこで、E(x,y) =0の場合、4ドットの
全てがOFF信号からなるルックアップテーブルのみ
(100%)が選択され、(ΔX,ΔY)=(0,
0)、(1,0)、(0,1)、(1,1)の全ての位
置に対して0となる2値画像信号B(x,y) が生成され
る。また、E(x,y) =1の場合には、0または1が50
%の確率で生成される乱数信号RNに従って、4ドット
の全てがOFF信号からなるルックアップテーブルと、
3ドットがOFF信号となるルックアップテーブルとが
50%ずつ選択され、それに基づいて2値画像信号B
(x,y) が生成される。E(x,y) =2〜8の場合も同様に
して2値画像信号B(x,y) が生成される。
Therefore, when E (x, y) = 0, only the lookup table (100%) in which all of the four dots are OFF signals is selected, and (ΔX, ΔY) = (0,
A binary image signal B (x, y) that becomes 0 for all positions of 0), (1,0), (0,1), and (1,1) is generated. When E (x, y) = 1, 0 or 1 is 50
A lookup table in which all four dots are OFF signals according to the random number signal RN generated with a probability of%,
A lookup table in which 3 dots are OFF signals is selected by 50%, and based on that, the binary image signal B is selected.
(x, y) is generated. In the case of E (x, y) = 2 to 8, the binary image signal B (x, y) is similarly generated.

【0031】なお、上述した濃度パターン処理回路32
では、乱数発生器38を用いて5組のルックアップテー
ブルを確率的に発生させることにより第2多値画像信号
E(x,y) の階調数N2 に対応した2値画像信号B(x,y)
を生成するようにしているが、例えば、ルックアップテ
ーブルを3×3ドットのON/OFF信号からなる9組
のルックアップテーブルとして設定すれば、乱数発生器
38を用いることなく所望の階調を表現することができ
る。
The density pattern processing circuit 32 described above is used.
Then, the random number generator 38 is used to stochastically generate five sets of look-up tables, so that the binary image signal B (corresponding to the gradation number N 2 of the second multi-valued image signal E (x, y) is generated. x, y)
However, if the look-up table is set as nine sets of look-up tables consisting of ON / OFF signals of 3 × 3 dots, a desired gradation can be obtained without using the random number generator 38. Can be expressed.

【0032】以上のようにして、第2多値画像信号E
(x,y) から2値画像信号B(x,y) を生成した場合、解像
度の変化が少ないため、モアレやロゼッタパターンの発
生が好適に抑制されることになる。この結果、誤差拡散
処理回路14により高速に中間の解像度R2 、階調数N
2 を有する第2多値画像信号E(x,y) を生成し、次い
で、前記第2多値画像信号E(x,y) からモアレやロゼッ
タパターンのない2値画像信号B(x,y) を生成すること
ができる。
As described above, the second multi-valued image signal E
When the binary image signal B (x, y) is generated from (x, y), the change in resolution is small, so that the generation of moire and rosette patterns can be suppressed appropriately. As a result, the error diffusion processing circuit 14 rapidly performs the intermediate resolution R 2 and the gradation number N.
Second multivalued image signal E having a 2 (x, y) to generate, then the second multivalued image signal E (x, y) 2 binary image signal without moire and rosette patterns from B (x, y ) Can be generated.

【0033】他の実施例として、濃度パターン処理回路
32による濃度パターン法を用いる代わりに、図7に示
す組織的ディザ処理回路40による組織的ディザ法を用
いて2値画像信号B(x,y) を生成することもできる。こ
の場合、第2多値画像メモリ34に記憶された第2多値
画像信号E(x,y) は、比較器42において、ディザマト
リックスメモリ44に設定されたM×Nドットの複数の
閾値信号と比較され、その比較結果が2値画像信号B
(x,y) として出力される。なお、階調数N2 =5の第2
多値画像信号E(x,y) に対して、ディザマトリックス
(M=N=2)は、例えば、図8に示すように設定され
る。そして、この場合においても、前記濃度パターン法
の場合と同様に、モアレやロゼッタパターンのない2値
画像信号B(x,y) を高速に生成することができる。
As another embodiment, instead of using the density pattern method by the density pattern processing circuit 32, a binary image signal B (x, y) is used by using the systematic dither method by the systematic dither processing circuit 40 shown in FIG. ) Can also be generated. In this case, the second multi-valued image signal E (x, y) stored in the second multi-valued image memory 34 is the threshold signals of M × N dots set in the dither matrix memory 44 in the comparator 42. And the comparison result is the binary image signal B
Output as (x, y). The second number of gradations N 2 = 5
For the multi-valued image signal E (x, y), the dither matrix (M = N = 2) is set, for example, as shown in FIG. Also in this case, as in the case of the density pattern method, the binary image signal B (x, y) having no moire or rosette pattern can be generated at high speed.

【0034】以上、本発明における画像信号2値化処理
方法をハードウエアである画像処理回路によって実現す
る例を説明したが、同様の処理をRIP(Raster Image
Processor)等におけるソフトウエアにより実現できる
ことはいうまでもない。
The example in which the image signal binarization processing method of the present invention is realized by an image processing circuit which is hardware has been described above, but the same processing is performed by RIP (Raster Image).
Needless to say, it can be realized by software such as Processor).

【0035】[0035]

【発明の効果】以上のように、本発明の画像信号2値化
処理方法および装置では、充分な階調を表現することが
できるとともに、モアレやロゼッタパターンのない2値
画像信号を高速に生成することができる。
As described above, according to the image signal binarization processing method and apparatus of the present invention, a sufficient gradation can be expressed and a binary image signal free of moire and rosette patterns can be generated at high speed. can do.

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

【図1】本発明に係る画像信号2値化処理方法および装
置の概略構成説明図である。
FIG. 1 is a schematic configuration explanatory diagram of an image signal binarization processing method and apparatus according to the present invention.

【図2】図1に示す多値化回路の構成説明図である。FIG. 2 is a diagram illustrating the configuration of the multi-value quantization circuit shown in FIG.

【図3】図2に示す誤差拡散処理回路の構成ブロック図
である。
3 is a configuration block diagram of an error diffusion processing circuit shown in FIG.

【図4】濃度パターン処理回路の構成ブロック図であ
る。
FIG. 4 is a configuration block diagram of a density pattern processing circuit.

【図5】多値化関数の説明図である。FIG. 5 is an explanatory diagram of a multi-value quantization function.

【図6】図4に示す濃度パターン処理回路の処理説明図
である。
6 is a process explanatory diagram of the density pattern processing circuit shown in FIG. 4;

【図7】組織的ディザ処理回路の構成ブロック図であ
る。
FIG. 7 is a configuration block diagram of a systematic dither processing circuit.

【図8】図7に示すディザマトリックスメモリに格納さ
れるディザマトリックスの説明図である。
8 is an explanatory diagram of a dither matrix stored in a dither matrix memory shown in FIG.

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

10…多値化回路 12…2値化回
路 13…倍率変換回路 14…誤差拡散
処理回路 16…第1多値画像メモリ 18…多値化関
数発生器 20…誤差メモリ 22…誤差拡散
係数メモリ 24、38…乱数発生器 32…濃度パタ
ーン処理回路 34…第2多値画像メモリ 36…濃度パタ
ーンメモリ 40…組織的ディザ処理回路 42…比較器 44…ディザマトリックスメモリ
10 ... Multivalued circuit 12 ... Binary circuit 13 ... Magnification conversion circuit 14 ... Error diffusion processing circuit 16 ... First multivalued image memory 18 ... Multivalued function generator 20 ... Error memory 22 ... Error diffusion coefficient memory 24 , 38 ... Random number generator 32 ... Density pattern processing circuit 34 ... Second multi-valued image memory 36 ... Density pattern memory 40 ... Systematic dither processing circuit 42 ... Comparator 44 ... Dither matrix memory

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/387 101 1/405 1/40 H04N 1/40 103 B ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification number Internal reference number FI Technical indication H04N 1/387 101 1/405 1/40 H04N 1/40 103 B

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】誤差拡散法に基づく処理回路から構成さ
れ、解像度R1 、階調数N1 の第1多値画像信号を、解
像度R2 、階調数N2 (R2 ≧R1 、2<N2 <N1
の第2多値画像信号に変換する第1変換手段と、 濃度パターン法に基づく処理回路から構成され、前記第
2多値画像信号を、解像度R3 、階調数N3 (R3 >R
2 、N3 =2)の2値画像信号に変換する第2変換手段
と、 を備えることを特徴とする画像信号2値化処理装置。
1. A first multi-valued image signal having a resolution R 1 and a gradation number N 1 is composed of a processing circuit based on an error diffusion method, and a resolution R 2 and a gradation number N 2 (R 2 ≧ R 1 , 2 <N 2 <N 1 )
And a processing circuit based on the density pattern method. The second multi-valued image signal is converted into a resolution R 3 and a gradation number N 3 (R 3 > R).
2 , N 3 = 2) second conversion means for converting into a binary image signal, and an image signal binarization processing device, comprising:
【請求項2】誤差拡散法に基づく処理回路から構成さ
れ、解像度R1 、階調数N1 の第1多値画像信号を、解
像度R2 、階調数N2 (R2 ≧R1 、2<N2 <N1
の第2多値画像信号に変換する第1変換手段と、 組織的ディザ法に基づく処理回路から構成され、前記第
2多値画像信号を、解像度R3 、階調数N3 (R3 >R
2 、N3 =2)の2値画像信号に変換する第2変換手段
と、 を備えることを特徴とする画像信号2値化処理装置。
2. A first multi-valued image signal having a resolution R 1 and a gradation number N 1 which is composed of a processing circuit based on the error diffusion method and which has a resolution R 2 and a gradation number N 2 (R 2 ≧ R 1 , 2 <N 2 <N 1 )
Of the second multi-valued image signal and a processing circuit based on the systematic dither method. The second multi-valued image signal is converted into the resolution R 3 and the number of gradations N 3 (R 3 >). R
2 , N 3 = 2) second conversion means for converting into a binary image signal, and an image signal binarization processing device, comprising:
【請求項3】誤差拡散法に基づき、解像度R1 、階調数
1 の第1多値画像信号を、解像度R2 、階調数N
2 (R2 ≧R1 、2<N2 <N1 )の第2多値画像信号
に変換する第1ステップと、 濃度パターン法に基づき、前記第2多値画像信号を、解
像度R3 、階調数N3(R3 >R2 、N3 =2)の2値
画像信号に変換する第2ステップと、 からなることを特徴とする画像信号2値化処理方法。
3. A first multi-valued image signal having a resolution R 1 and a gradation number N 1 is converted into a resolution R 2 and a gradation number N based on an error diffusion method.
2 (R 2 ≧ R 1 , 2 <N 2 <N 1 ), a first step of converting into a second multi-valued image signal, and the second multi-valued image signal with a resolution R 3 , based on a density pattern method. A second step of converting into a binary image signal having the number of gradations N 3 (R 3 > R 2 , N 3 = 2), and a method for binarizing an image signal.
【請求項4】誤差拡散法に基づき、解像度R1 、階調数
1 の第1多値画像信号を、解像度R2 、階調数N
2 (R2 ≧R1 、2<N2 <N1 )の第2多値画像信号
に変換する第1ステップと、 組織的ディザ法に基づき、前記第2多値画像信号を、解
像度R3 、階調数N3(R3 >R2 、N3 =2)の2値
画像信号に変換する第2ステップと、 からなることを特徴とする画像信号2値化処理方法。
4. A first multi-valued image signal having a resolution R 1 and a gradation number N 1 is converted into a resolution R 2 and a gradation number N based on an error diffusion method.
2 (R 2 ≧ R 1 , 2 <N 2 <N 1 ), and a second step of converting the second multi-valued image signal into a resolution R 3 based on a systematic dither method. And a second step of converting into a binary image signal having a gradation number N 3 (R 3 > R 2 , N 3 = 2), and an image signal binarizing method.
JP6091247A 1994-04-28 1994-04-28 Processor for image signal binarization processing and method therefor Pending JPH07295527A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6091247A JPH07295527A (en) 1994-04-28 1994-04-28 Processor for image signal binarization processing and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6091247A JPH07295527A (en) 1994-04-28 1994-04-28 Processor for image signal binarization processing and method therefor

Publications (1)

Publication Number Publication Date
JPH07295527A true JPH07295527A (en) 1995-11-10

Family

ID=14021100

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6091247A Pending JPH07295527A (en) 1994-04-28 1994-04-28 Processor for image signal binarization processing and method therefor

Country Status (1)

Country Link
JP (1) JPH07295527A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7251060B2 (en) 2000-12-12 2007-07-31 Ricoh Company, Ltd. Image-processing device using quantization threshold values produced according to a dither threshold matrix and arranging dot-on pixels in a plural-pixel field according to the dither threshold matrix
US7253926B2 (en) 2002-01-23 2007-08-07 Konica Corporation Image-processing apparatus, method and program for outputting an image to a plurality of functions

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7251060B2 (en) 2000-12-12 2007-07-31 Ricoh Company, Ltd. Image-processing device using quantization threshold values produced according to a dither threshold matrix and arranging dot-on pixels in a plural-pixel field according to the dither threshold matrix
US7253926B2 (en) 2002-01-23 2007-08-07 Konica Corporation Image-processing apparatus, method and program for outputting an image to a plurality of functions

Similar Documents

Publication Publication Date Title
US5729663A (en) Method and apparatus for gray screening
JP3603906B2 (en) Image signal binarization processing apparatus and method
EP0734153B1 (en) Image processing apparatus for performing random mask process
US5835687A (en) Methods and apparatus for providing digital halftone images with random error diffusion dithering
JP4121631B2 (en) Image data processing system and image data processing method
JPH11187264A (en) Method and device for processing image
JPH04286465A (en) Picture processor
JP4068181B2 (en) Multilevel gradation pixel value level reduction method and system
JPH07295527A (en) Processor for image signal binarization processing and method therefor
JP2003069819A (en) Image processor and image processing method
JP2003046793A (en) Method and device for image processing
JPH1127528A (en) Pseudo-medium gradation processing method, device and record medium therefor
JP2882531B2 (en) Image processing device
JP5312158B2 (en) Image processing apparatus and image processing method
JP3225099B2 (en) Image processing device
KR100440944B1 (en) Binary image resolution reducing method and device simplifying resolution reduction algorithm
JP2003198843A (en) Reduced-buffer error diffusion
JPH1188693A (en) Pseudo-gradation processing unit
JP2848567B2 (en) Image processing device
JPH06113125A (en) Picture processor
JPH0350960A (en) Picture signal processing unit
JPH089152A (en) Image signal binarizing processor and method therefor
JPH11239273A (en) Method and device for processing image
JP2880561B2 (en) Image processing device
JP2002010080A (en) Apparatus and method for pseudo gray scale conversion