JPH0334679A - Picture processing device - Google Patents

Picture processing device

Info

Publication number
JPH0334679A
JPH0334679A JP1167081A JP16708189A JPH0334679A JP H0334679 A JPH0334679 A JP H0334679A JP 1167081 A JP1167081 A JP 1167081A JP 16708189 A JP16708189 A JP 16708189A JP H0334679 A JPH0334679 A JP H0334679A
Authority
JP
Japan
Prior art keywords
window
correction
signal
pattern
image processing
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
JP1167081A
Other languages
Japanese (ja)
Inventor
Nobutaka Miyake
信孝 三宅
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1167081A priority Critical patent/JPH0334679A/en
Publication of JPH0334679A publication Critical patent/JPH0334679A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To eliminate dots in a low-density part, a link of void in a high-density part, and a chain texture in middle and low-density parts by providing an already binarized window in the periphery of a weighted picture element, and changing and correcting the arrangement of a dot pattern in the window based on this dot pattern. CONSTITUTION:A binarized signal correcting circuit 7 provides a 3X3 window for an already binarized signal and identifies whether it is adapted to the pattern. That is, an already generated texture is recognized to check whether it is necessary that the arrangement of the binarized signal is broken to correct the regular texture or not. If it is recognized that the texture to be corrected is generated, a correction pattern is selected and the binarized signal in the window is corrected in accordance with this correction pattern. Thus, dots and a link of void in the error diffusion method and an uncomfortable texture in middle and low-density parts are eliminated.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は多値画像情報を該多値画像情報より少ない多値
画像情報、或は2値画像情報に変換する画像処理装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing device that converts multi-value image information into multi-value image information having a smaller amount than the multi-value image information, or into binary image information.

[従来の技術〕 従来より、1色、あるいは複数色の着色材を有したり、
又、ドツト径を変調したりする手段により、2値あるい
は3〜4値程度での印刷出力が可能なプリンタがある。
[Prior art] Conventionally, there have been methods that have one or more coloring materials,
Furthermore, there are printers that can print out in binary or 3-4 values by means of modulating the dot diameter.

これに対して、例えばイメージスキャナ等の画像入力装
置から入力される画像情報は、一般にこのプリンタより
出力可能な画像情報の値数より多い。
On the other hand, the number of image information input from an image input device such as an image scanner is generally greater than the number of values of image information that can be output from this printer.

このため、従来は、この入力装置よりの多値画像情報を
プリンタ等で出力可能な値数の情報に変換しなければな
らない。即ち、入力装置よりの入力多値画像情報(例え
ば1色、1画素あたり数ピットル数十ビット程度)を、
プリンタで出力可能な、2値あるいは3〜4値程度の画
像情報に変換しなければならない。
For this reason, conventionally, multivalued image information from this input device must be converted into information with a number of values that can be output by a printer or the like. That is, input multivalued image information from an input device (for example, one color, several pits per pixel, about several tens of bits),
It must be converted into binary or 3-4 value image information that can be output by a printer.

従来このようなプリンタよりプリントアウトさせるため
の画像情報の一般的な変換方法として、例えば、中間調
の表現手段には、一般的にデイザ法、濃度パターン法、
誤差拡散法等の変換方法が採用されたいた。
Conventionally, as a general method of converting image information for printing out from such a printer, for example, the means of expressing halftones generally include a dither method, a density pattern method,
A conversion method such as the error diffusion method was adopted.

[発明が解決しようとしている課題] しかし、従来の変換方法においては、以下の問題点を有
している。
[Problems to be Solved by the Invention] However, the conventional conversion method has the following problems.

即ち、デイザ法においては、解像度と階調性が背反条件
となり高い階調性を得ようとすれば、より大きなデイザ
マトリクスを組まなければならない。
That is, in the dither method, resolution and gradation are contradictory conditions, and if high gradation is to be obtained, a larger dither matrix must be constructed.

また、濃度パターン法においても原情報の1画素を複数
の画素に振り分けるため、解像度の低下を生じてしまう
Furthermore, in the density pattern method, one pixel of original information is divided into a plurality of pixels, resulting in a decrease in resolution.

そこで解像度、階調性の両方ともある程度満足する2値
化手法として、誤差拡散法が提案されている。しかし、
この手法の欠点として、ドツト及び白抜けのつながりや
、規則的に現われる鎖状の不快なテクスチャがあり、画
像品位を著しく劣化させているという問題点があった。
Therefore, an error diffusion method has been proposed as a binarization method that satisfies both resolution and gradation to some extent. but,
The disadvantages of this method include the connection of dots and white spots, and the unpleasant chain-like texture that appears regularly, which significantly deteriorates the image quality.

また、例えばインクジェット記録装置等で1色あたり濃
インク、淡インクと2種の着色材を保持し、即ち1色あ
たり3値出力が可能な出力機器を考えた場合、インクの
色味等の相違より、従来の3値誤差拡散法では、ある濃
度変動の領域でトーンジャンプを起こして結果とじて疑
似輪郭を生じたりするという問題点があった。
For example, when considering an output device such as an inkjet recording device that holds two types of coloring materials, a dark ink and a light ink, for each color, that is, can output three values per color, differences in ink color, etc. Therefore, the conventional three-level error diffusion method has a problem in that a tone jump occurs in a certain density variation area, resulting in a false contour.

[課題を解決するための手段] 本発明は上述の課題を解決することを目的として威され
たもので、上述の課題を解決する一手段として以下の構
成を備える。
[Means for Solving the Problems] The present invention was developed for the purpose of solving the above-mentioned problems, and includes the following configuration as a means for solving the above-mentioned problems.

即ち、多値画像情報を誤差拡散法を用いて2値信号へ変
換する画像処理装置において、注目画素周辺に既に2値
化したウィンドウを設け1.該ウィンドウ内のドツトパ
ターンを検知し検知パターンに基づいて、ウィンドウ内
のドツトパターンの配列を変更、補正する変更補正手段
を備える。
That is, in an image processing apparatus that converts multivalued image information into a binary signal using an error diffusion method, a window that has already been converted into a binary value is provided around a pixel of interest, and 1. A change correction means is provided for detecting the dot pattern within the window and changing and correcting the arrangement of the dot pattern within the window based on the detected pattern.

また、既に少ない画素信号へ変換した、変換信号の注目
画素近傍にウィンドウを設け該ウィンドウ内のドツトパ
ターンを検知し検知ドツトパターンに基づいてウィンド
ウ内のドツトパターンの配列を変更、補正する変更補正
手段を備える。
Further, a change correction means provides a window in the vicinity of the pixel of interest of the converted signal, which has already been converted into a small number of pixel signals, detects the dot pattern within the window, and changes and corrects the arrangement of the dot pattern within the window based on the detected dot pattern. Equipped with.

[作用] 以上の構成において、多値画像情報を誤差拡散法により
、2値化した後の2値信号にウィンドウを設け、ウィン
ドウ内のドツトのつながりを検知して、かつ、注目画素
の現信号の濃度レベルを判定することにより、ウィンド
ウ内のテクスチャを乱したり、誤差拡散法によるドツト
のズレを補正することにより、従来から非常に問題とな
っていた誤差拡散法におけるドツト及び白抜けのつなが
りや、中・低濃度部での不快な鎖上のテクスチャを安価
に、かつ簡便な構成で消滅することができる。
[Operation] In the above configuration, a window is provided in the binary signal after the multilevel image information is binarized by the error diffusion method, and the connection of dots within the window is detected, and the current signal of the pixel of interest is detected. By determining the density level of the image, the texture in the window is disturbed, and by correcting the misalignment of dots caused by the error diffusion method, the connection between dots and white spots in the error diffusion method, which has traditionally been a problem, can be corrected. In addition, unpleasant chain textures in medium and low density areas can be eliminated at low cost and with a simple configuration.

また、誤差拡散法により乱された細線等も忠実に再現す
ることができて、解像度は著しく向上する。
Furthermore, thin lines etc. that are disturbed by the error diffusion method can be faithfully reproduced, and the resolution is significantly improved.

また、ドツトのつながりをテクスチャか、又はもともと
の画像の原信号なのかを検知することにより、元の画像
情報を失わずに良好かつ適正な2値化が行なえる。
Furthermore, by detecting whether the dot connections are textures or original signals of the original image, good and appropriate binarization can be performed without losing the original image information.

更に、また、多値画像情報(数ビット〜lO数ビット/
画素)を、多値誤差拡散法により1画素あたり例えば3
値及び4値程度に変換する中間調表現手段において、変
換後の信号にウィンドウを設け、ウィンドウ内のドツト
のつながりを検知して、発生しているテクスチャを認識
し、ウィンドウ内の変換後の信号の配列を入れ換えるこ
とにより、従来から非常に問題となっていた多値誤差拡
散法におけるドツト、及び白抜けのつながりや、かつ簡
単な方法で消滅することができる。
Furthermore, multivalued image information (several bits to lO several bits/
pixel), for example, 3 pixels per pixel using the multilevel error diffusion method.
In the halftone expression means for converting into values and about 4 values, a window is provided for the converted signal, the connection of dots within the window is detected, the generated texture is recognized, and the converted signal within the window is detected. By changing the arrangement of the dots and white spots in the multilevel error diffusion method, which have been a problem in the past, it is possible to eliminate them in a simple manner.

また、ウィンドウ内の等レベルのドツトの集合体の切り
換え部を検知、認識し、同様にウィンドウ内配列を入れ
換えることによって3値、4値程度の出力が可能な、い
わゆる多値プリンタ等の出力で着色材の切り換え等によ
り、問題となる疑似輪郭も減少させることができる。
In addition, it is possible to detect and recognize the switching part of a collection of equal-level dots in a window, and similarly switch the arrangement in the window to output 3- or 4-value output, such as a multilevel printer. Problematic false contours can also be reduced by switching the coloring material or the like.

また、ウィンドウ内テクスチャを原信号なのか、中間調
処理によって発生したものなのかを判別することにより
、元の画像情報を失わずに、良好で最適な中間調処理が
実現できる。
Furthermore, by determining whether the in-window texture is an original signal or one generated by halftone processing, good and optimal halftone processing can be achieved without losing the original image information.

【実施例] 以下、図面を参照して本発明に係る一実施例を詳細に説
明する。
[Embodiment] Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

【第1実施例] 第1図は本発明に係る一実施例のブロック構成を示す図
であり、本実施例の画像処理装置は多値画像信号を2値
画像信号に変換して出力する画像処理装置である。
[First Embodiment] FIG. 1 is a diagram showing a block configuration of an embodiment according to the present invention. The image processing device of this embodiment converts a multi-valued image signal into a binary image signal and outputs an image. It is a processing device.

この画像処理装置は、あらゆる画像処理手段の2値化制
御機能部分のみを示したものであり、他の必要構成は図
より省略している。この画像処理装置部分を、例えばポ
ストコンピュータ部(ハードウェアもしくはソフトウェ
アとして)やプリンタなどの出力機器内部や、イメージ
スキャナなどの入力機器内部に組み込むことも可能であ
る。
In this image processing apparatus, only the binarization control functional portion of all image processing means is shown, and other necessary components are omitted from the figure. It is also possible to incorporate this image processing device part, for example, into a post-computer section (as hardware or software), an output device such as a printer, or an input device such as an image scanner.

第1図において、lはROM4に格納された例えば第2
図に示す制御手順に従い本実施例装置全体の制御を司ど
る中央演算処理装置(CPU)、2は接続された多値画
像信号を出力等する外部機器8とのインタフェースを司
るIloである。このl102により外部機器8よりの
多値画像信号を入力する。3は例えば誤差拡散法におけ
る誤差分、及び入力多値画像のラインバッファとして用
いられRAM、4は上述したプログラムのほか、誤差拡
散法の拡散マトリクスが記憶、格納されているROM、
5は所定の閾値に従い、誤差拡散法による2値化処理を
行なう誤差拡散回路、6は乱数を発生させて、補正パタ
ーンを選ぶための乱数発生器、7は本実施例に特有の乱
数発生器6の発生する乱数に従い誤差拡散回路5で特定
した2値信号の補正を行なう2値信号補正回路、8は多
値画像信号等を出力する外部機器である。
In FIG. 1, l is stored in the ROM4, for example, the second
A central processing unit (CPU) 2 controls the entire apparatus of this embodiment according to the control procedure shown in the figure, and Ilo 2 controls an interface with a connected external device 8 that outputs a multivalued image signal. A multivalued image signal from the external device 8 is input through this l102. 3 is a RAM which is used as a line buffer for errors in the error diffusion method and input multivalued images, and 4 is a ROM in which, in addition to the above-mentioned programs, the diffusion matrix of the error diffusion method is stored.
5 is an error diffusion circuit that performs binarization processing using the error diffusion method according to a predetermined threshold; 6 is a random number generator for generating random numbers and selecting a correction pattern; 7 is a random number generator specific to this embodiment. 6 is a binary signal correction circuit that corrects the binary signal specified by the error diffusion circuit 5 according to the generated random number, and 8 is an external device that outputs a multi-value image signal and the like.

以下、以上の構成を備える本実施例の画像処理を、第2
図のフローチャートを参照して説明する。
Hereinafter, the image processing of this embodiment having the above configuration will be explained as follows.
This will be explained with reference to the flowchart shown in the figure.

まずステップS1で外部機器8より2値化すべき多値画
像信号を入力し、RAMB中の所定ラインバッファ内に
格納する。そして続くステップS2で誤差拡散回路5は
通常の誤差拡散法と同様に、注目画素は隣接周囲画素の
誤差分を加算してRAMB内の所定ラインバッファ内に
格納する。
First, in step S1, a multivalued image signal to be binarized is input from the external device 8 and stored in a predetermined line buffer in the RAMB. Then, in the subsequent step S2, the error diffusion circuit 5 adds the errors of adjacent surrounding pixels to the pixel of interest and stores the result in a predetermined line buffer in the RAMB, similarly to the normal error diffusion method.

そしてステップS3において、この誤差分及びROMJ
中の誤差拡散法の拡散マトリクスを用いて得誤差拡散法
による2値化処理を行なう。この誤差拡散法の処理は公
知のものであり、詳しい説明は省略する。
Then, in step S3, this error and ROMJ
Binarization processing using the error diffusion method is performed using the diffusion matrix of the error diffusion method. The processing of this error diffusion method is well known, and detailed explanation will be omitted.

次にステップS4において、誤差拡散法により2値化さ
れた信号にウィンドウをかけていく。このウィンドウ処
理は、注目画素を必要とせず、誤差拡散法とは全くの独
立であるため、誤差拡散法&;よる2値化のすぐ後から
ウィンドウの走査を行なっても、また、ページメモリ等
を有している場合には、既に1ペ一ジ分の2値化処理の
終了した画像データに対して行なってもよい。但し、メ
モリ容量の点から考えると、前者の方がはるかに効率的
である。
Next, in step S4, a window is applied to the binarized signal using the error diffusion method. This window processing does not require a pixel of interest and is completely independent from the error diffusion method, so even if the window is scanned immediately after binarization using the error diffusion method In the case where the image data has already been binarized for one page, the image data may be subjected to binarization processing for one page. However, in terms of memory capacity, the former is much more efficient.

一般的に誤差拡散法による2値化では、ハイライト部で
のドツトのつながり、及び高濃度部での白抜けのつなが
りは斜め方向に発生することが多く、中、低濃度部での
鎖上の不快なテクスチャも斜め方向にドツトが並ぶこと
によって規則的なパターンを作り出している。
In general, in binarization using the error diffusion method, the connections between dots in highlight areas and the connections between white spots in high density areas often occur diagonally; The unpleasant texture is also created by dots lined up diagonally to create a regular pattern.

そこで本実施例では、第3図に示す様な3×3の9個の
マトリクスによるウィンドウパターン構成を採用してい
る。しかし、このウィンドウパターンは以上の例に限定
されるものではない。
Therefore, in this embodiment, a window pattern configuration of nine 3×3 matrices as shown in FIG. 3 is adopted. However, this window pattern is not limited to the above example.

第3図(a)は右下がりの斜め方向にドツトがつながっ
た例、(1・・・黒、0・・・白とする)。第3図(b
)は左下がりの斜め方向にドツトがつながった例、第3
図(C)は右下がりの斜め方向に白抜けがつながった例
、第3図(d)は左下がりの斜め方向に白向けがつなが
った例を示す。
FIG. 3(a) is an example in which dots are connected diagonally downward to the right (1: black, 0: white). Figure 3 (b
) is an example of dots connected diagonally downward to the left, the third
FIG. 3(C) shows an example in which white spots are connected in a diagonal direction downward to the right, and FIG. 3(d) shows an example in which white spots are connected in a diagonal direction downward to the left.

そして続くステップS5で2値信号補正回路7は既に2
値化した信号に対して3×3のウインドウを設け、第3
図に示したパターンに適合しているかどうかを識別する
。つまり、既に発生しているテクスチャを認識して、2
値化信号の配列を崩して、規則的なテクスチャを補正す
る必要があるか否かを調べる。もしウィンドウのパター
ンが適合していなければ補正をしないで3×3のマトリ
クスウィンドウを走査していく。このため直ちにステッ
プS8に進む。
Then, in the following step S5, the binary signal correction circuit 7 has already
A 3×3 window is provided for the converted signal, and the third
Identify whether the pattern shown in the diagram is met. In other words, it recognizes the texture that has already occurred, and
Check whether it is necessary to correct the regular texture by disrupting the arrangement of the valued signals. If the window pattern does not match, the 3×3 matrix window is scanned without correction. Therefore, the process immediately advances to step S8.

一方、ステップS5において、補正が必要なテクスチャ
が発生していると認識すると、ステップS6に進み、2
値信号補正回路7は乱数発生器6により乱数を発生させ
て、補正パターンを選び、ステップS7でこの補正パタ
ーンに従いウィンドウ内の2値信号を補正する。
On the other hand, if it is recognized in step S5 that a texture that requires correction has occurred, the process proceeds to step S6, and
The value signal correction circuit 7 generates random numbers using the random number generator 6, selects a correction pattern, and corrects the binary signal within the window according to this correction pattern in step S7.

例えば、第4図(a)に示した様にウィンドウ内の信号
が第3図に示したパターンと適合したとする。このマト
リクスウィンドウ内の等偏曲な濃度(黒rLJの数)を
変化させることなく、このデータの並び換えを乱数を用
いて実行する。これは、9個のデータから3個の黒デー
タの順列を考えて、*C5=84通りであり、その中か
ら、同一列、及び同一行に3個黒データが並ぶ6パター
ンを除いて(ecs−6)=78通りから乱数により第
4図(b)の様にパターンの選択を行なう。
For example, suppose that the signal within the window matches the pattern shown in FIG. 3, as shown in FIG. 4(a). The data is rearranged using random numbers without changing the uniform density (the number of black rLJ) in the matrix window. Considering the permutations of 3 black data out of 9 data, there are *C5=84 ways, excluding 6 patterns in which 3 black data are arranged in the same column and row ( A pattern is selected from ecs-6)=78 patterns using random numbers as shown in FIG. 4(b).

そしてステップS8にて、全信号ウィンドウ補正処理が
終了したか否か判断し、もし、未終了ならステップS1
に戻り2値化、補正処理を続行する。
Then, in step S8, it is determined whether or not all signal window correction processing has been completed, and if it has not been completed, step S1
Return to and continue binarization and correction processing.

以上説明したウィンドウ補正処理を実行して、テクスチ
ャを軽減した処理例を第5図に示す。
FIG. 5 shows an example of processing in which texture is reduced by executing the window correction processing described above.

第5図(a)で発生していた鎖状のテクスチャは、上述
の制御に従い3×3のウィンドウマトリクスを順次、補
正走査していくことにより、第5図(b)に示す様に鎖
をバラバラにした良好な画像と成る。この場合、1(黒
)の数は保存され、濃度が大幅に変化することはない。
By sequentially correcting and scanning the 3x3 window matrix according to the control described above, the chain-like texture that occurred in Fig. 5(a) can be removed as shown in Fig. 5(b). This results in a good image broken up into pieces. In this case, the number of 1 (black) is preserved and the density does not change significantly.

以上説明した処理において、斜め方向にドツトがつなが
るパターンが原信号によるものか、それとも2値化によ
るテクスチャの鎖なのかを見極めることも必要である。
In the processing described above, it is also necessary to determine whether the pattern in which dots are connected diagonally is the original signal or a chain of textures resulting from binarization.

その場合には、まず誤差分を加算していない現信号の多
値データが高濃度レベルか否かを判断して、誤差拡散法
による2値化信号と共に、−時格納する様にすれば良い
In that case, it is best to first determine whether the multi-level data of the current signal to which the error has not been added is at a high concentration level, and then store it together with the binary signal obtained by the error diffusion method. .

この場合に、例えば8ビツト多値画像信号の「0」を白
レベル、r255Jを黒レベルとするとき、r200J
を閾値とし、r200J以上を「1」、r200J以上
でないならrOJとして高濃度か否かを判断すれば良い
。この処理を行なうことにより、ウィンドウ処理する際
に、斜め方向にドツトがつながった場合でも、そのドツ
トが現信号が高濃度部であるか否かを判断し、高濃度部
でない時のみテクスチャが発生したと判断して補正処理
をかければ良い。
In this case, for example, when "0" of the 8-bit multivalued image signal is the white level and r255J is the black level, r200J
It is sufficient to judge whether or not the concentration is high by using the threshold value as "1" if r200J or more, and rOJ if it is not r200J or more. By performing this processing, even if dots are connected diagonally during window processing, the dots will determine whether the current signal is in a high-density area or not, and texture will be generated only if it is not a high-density area. All you have to do is judge that this is the case and apply correction processing.

また、第2図のフローチャートで示した動作r順は、誤
差拡散法と補正処理をシリアルに行なっているが、前述
した様に、この2つの処理は全く独立なため、2値化が
終了しないと補正はできないが、並列処理が可能であれ
ば、パラレルに動作させる方がより効率的である。
Also, in the r order of operations shown in the flowchart in Figure 2, the error diffusion method and correction processing are performed serially, but as mentioned above, these two processes are completely independent, so binarization does not finish. However, if parallel processing is possible, it is more efficient to operate in parallel.

〔第2実施例〕 第6図に本発明に係る第2実施例におけるウィンドウマ
トリクスの構成図を示す。
[Second Embodiment] FIG. 6 shows a configuration diagram of a window matrix in a second embodiment according to the present invention.

図中、(a)は補正前のマトリクスパターン、(b)〜
(e)は補正後のパターンの例を示す。
In the figure, (a) is the matrix pattern before correction, (b) ~
(e) shows an example of the pattern after correction.

第4図に示した第1実施例における補正におI/)ては
、補正後パターンは乱数により配置してし)た。
In the correction in the first embodiment shown in FIG. 4, the corrected patterns were arranged using random numbers.

しかし、乱数は度がきついと、逆に全く規則性のないラ
ンダムノイズとなってしまい、視覚的にあまり好ましく
ない。そこで本実施例においては、第6図(b)〜(e
)の如く、なるべくドツトカニ近接しない様な代表的な
パターンを挙げて、これらのパターンのみで、補正をま
かなってしまうものである。
However, if the random number is too strong, it becomes random noise with no regularity, which is visually undesirable. Therefore, in this embodiment, FIGS. 6(b) to (e)
), which are typical patterns that do not cause dots and crabs to approach each other as much as possible, and these patterns alone cover the correction.

すなわち、第6図(a)のパターンがウィンドウ内デー
タと適合した時に、(b)、(c)(d)、(e)を順
番に配置していくことによって補正していくものである
。このように順番に配置したとしても、同一パターンの
補正がまわってくるのは4回に1度であり、それが極近
傍に配置されるのは稀であるので、新たなテクスチャが
発生する可能性は少ない。当然、この4個のパターンを
乱数によって抽出しても良いことは勿論である。
That is, when the pattern in FIG. 6(a) matches the data within the window, correction is performed by sequentially arranging (b), (c), (d), and (e). Even if they are placed in this order, the same pattern will be corrected only once in four times, and it is rare that they will be placed very close together, so new textures may occur. There is little sex. Of course, these four patterns may be extracted using random numbers.

以上説明した様に本実施例によれば、このように、幾つ
かのパターンを順番に配置していくことによってランダ
ムノイズを押え、高速に処理することができる。
As explained above, according to this embodiment, by sequentially arranging several patterns in this manner, random noise can be suppressed and processing can be performed at high speed.

[第3実施例] 第7図に本発明に係る第3実施例を示す。[Third example] FIG. 7 shows a third embodiment of the present invention.

この第3実施例は、前述した実施例の発展系であり、ウ
ィンドウ処理により、細線の再現を確実に補正しようと
する発明である。
This third embodiment is a development of the above-described embodiment, and is an invention that attempts to reliably correct the reproduction of thin lines through window processing.

誤差拡散法による2値化は、例えば8ビツト多値画像信
号のrOJを白レベル、r255Jを黒レベルとする時
、細線の濃度レベルがr255Jであり、白地がrOJ
レベルであれば問題は無い。しかし、CG(コンピュー
タグラフィック)等の画像を除き、一般的にイメージス
キャナ等で入力した画像では、細線濃度はr255Jよ
りも下回ってしまう。このために、誤差分を生じ、細線
を忠実に再現することは困難となってしまう。
In binarization using the error diffusion method, for example, when rOJ of an 8-bit multilevel image signal is the white level and r255J is the black level, the density level of the thin line is r255J, and the white background is rOJ.
There is no problem if you are at the level. However, except for images such as CG (computer graphics), images input using an image scanner or the like generally have a fine line density lower than r255J. This causes errors and makes it difficult to faithfully reproduce thin lines.

そこで、本実施例では1例えば4×4のマトリクスウィ
ンドウを用意する。そして、既に2値化したデータをウ
ィンドウにかけ、第7図(a)に示したようなパターン
に適合したとする。
Therefore, in this embodiment, a 4×4 matrix window, for example, is prepared. It is assumed that the already binarized data is applied to a window and that it matches the pattern shown in FIG. 7(a).

この時、前述した実施例と同様、固定閾値(例えばr2
00J)で2値化した高濃度レベルか否かを判断する信
号が、第7図(b)に示す様になっていた時、第7図(
a)のドツトのズレは、現信号からズしていたわけでは
なく、誤差拡散法による2値化の誤差分の加算のために
ズしたことが判明する。
At this time, as in the embodiment described above, a fixed threshold value (for example, r2
When the signal for determining whether or not it is a high concentration level binarized with 00J) was as shown in Figure 7(b),
It turns out that the deviation of the dots in a) is not due to the deviation from the current signal, but is due to the addition of the error of binarization by the error diffusion method.

そこで、本実施例では(a)、(b)両データを元に、
(C)に示す様に補正して、誤差拡散法の欠点を補う様
制御するものである。
Therefore, in this example, based on both data (a) and (b),
The correction is performed as shown in (C), and control is performed to compensate for the drawbacks of the error diffusion method.

以上の様な補正処理をすることにより、誤差拡散法でも
解像度を十分に向上させることが可能となる。
By performing the above-described correction processing, it is possible to sufficiently improve the resolution even with the error diffusion method.

以上説明した様に以上の実施例によれば、誤差拡散法に
おいて、従来から非常に問題となっていた低濃度部のド
ツト、及び高濃度部での白抜けのつながりや、中、低濃
度部での不快な鎖状のテクスチャを安価に、簡便な構成
で、消滅させることができる。
As explained above, according to the above embodiments, in the error diffusion method, problems such as dots in low-density areas, connections between white spots in high-density areas, and medium and low-density areas, which have traditionally been very problematic, can be solved. The unpleasant chain-like texture can be eliminated at low cost and with a simple configuration.

また、補正処理を誤差拡散法とパラレルに並列処理を施
せば、余分なタイムロスはなく、高速に補正できる。
Further, if the correction processing is performed in parallel with the error diffusion method, there is no extra time loss and correction can be performed at high speed.

更に、誤差拡散法により乱された細線等も同様に、忠実
に再現することができて、解像度は著しく向上する。
Furthermore, thin lines etc. that are disturbed by the error diffusion method can also be faithfully reproduced, and the resolution is significantly improved.

更にまた、ドツトのつながりを、テクスチャによるもの
か、又はもともとの画像の現信号なのかを検知すること
により、元の画像情報を失わずに、良好かつ適正な2値
化が行なえる。
Furthermore, by detecting whether the dot connections are due to texture or the current signal of the original image, good and appropriate binarization can be performed without losing the original image information.

[第4実施例] 以上の第1実施例より第3実施例においては、多値画像
情報を2値画像情報に変換する処理について説明したが
、本発明は以上の例に限定されるものではなく、多値画
像情報を該入力値以下の多値画像情報に変換する処理に
応用可能なことは勿論である。
[Fourth Embodiment] In the first to third embodiments described above, processing for converting multivalued image information into binary image information has been described, but the present invention is not limited to the above examples. Needless to say, the present invention can be applied to processing for converting multivalued image information into multivalued image information having a value equal to or less than the input value.

以下、本発明を入力画像信号を、入力多値数以下の多値
数の画像情報に変換する例を説明する。
Hereinafter, an example will be described in which the present invention is used to convert an input image signal into image information having a multi-value number equal to or less than the input multi-value number.

以下の各実施例も、例えば上述した第1図に不すハード
ウェア構成の画像処理装置で実現することができる。
Each of the following embodiments can also be realized, for example, by the image processing apparatus having the hardware configuration not shown in FIG. 1 described above.

以下の説明は、上述したブロック構成による画像処理を
模式的に示した結線図等を基に説明する。
The following description will be made based on a wiring diagram etc. that schematically show image processing using the above-described block configuration.

第8図に本実施例の画像処理装置の要部ブロック結線図
を示す。
FIG. 8 shows a block diagram of main parts of the image processing apparatus of this embodiment.

本実施例の画像処理装置は、あらゆる画像処理手段の中
間調表現制御機能部分を示したちのであり、他の構成は
図より省略している。この部分を、例えばホストコンピ
ュータ部(ハードウェア、もしくはソフトウェアとして
)やプリンタ等の出力機器の内部に、またはイメージス
キャナーなどの入力機器の内部に組み込むことが可能で
ある。
In the image processing apparatus of this embodiment, only the halftone expression control function part of all the image processing means is shown, and other components are omitted from the figure. This part can be incorporated, for example, into a host computer unit (as hardware or software), an output device such as a printer, or an input device such as an image scanner.

本実施例では中間調表現として、入力多値信号を3値化
する例について説明する。
In this embodiment, an example in which an input multilevel signal is ternarized will be described as halftone expression.

第8図は従来の多値誤差拡散法に同期してウィンドウ内
の配列変換を施している例を示しており、第8図の具体
的制御手順を示している第9図のフローチャートち参照
して、以下、本実施例の構成、及び制御を以下に説明す
る。
Figure 8 shows an example of performing array conversion within a window in synchronization with the conventional multilevel error diffusion method, and please refer to the flowchart in Figure 9 which shows the specific control procedure of Figure 8. The configuration and control of this embodiment will be explained below.

まず第9図ステップSllの如く多値画像信号(数ビッ
ト〜lO数ビット程度)■oを入力する。この入力信号
工□は、入力補正手段101に送られる。このため、入
力補正手段101はステップS12で通常の誤差拡散法
と同様の処理で注目画素は周辺隣接画素による誤差分を
加算して入力補正を行ない、補正信号工′。を多値化手
段103及び誤差配分演算手段105に出力する。
First, as shown in step Sll in FIG. 9, a multivalued image signal (several bits to lO several bits) is input. This input signal signal □ is sent to the input correction means 101. For this reason, the input correction means 101 performs input correction in step S12 by adding the errors caused by surrounding neighboring pixels to the pixel of interest in a process similar to the normal error diffusion method, and performs a correction signal processing. is output to the multivalue conversion means 103 and the error distribution calculation means 105.

この補正信号I  xyを受は取った多値化手段103
は、ステップS13の如く入力信号I′。
Multi-value conversion means 103 receives this correction signal Ixy.
is the input signal I' as in step S13.

と多値化の閾値102(T、、)との比較を行ない、入
力多値信号を3値信号(または4値信号等)に変換し、
P )Mlとして出力し閾値決定手段109及び誤差配
分演算手段105に出力する。
is compared with the multi-value threshold 102 (T, , ), and converts the input multi-value signal into a 3-value signal (or 4-value signal, etc.),
P) is output as Ml and is output to the threshold value determination means 109 and the error distribution calculation means 105.

これは接続出力機器が、各色に対して2値ではなく、例
えば濃淡インクを用いたり、ドツト系変調等により各色
に対して3値或は4値程度迄出力可能なプリンタの場合
に等においても、対応して中間調表現可能に構成したも
のである。
This is true even when the connected output device is a printer that can output up to 3 or 4 values for each color using, for example, dark and light ink, or dot modulation, instead of 2 values for each color. , correspondingly, it is configured to be able to express halftones.

例えば、3値出力を行う場合、多値化手段103では入
力信号と閾値との比較を行い、(1,局、0)の3種の
信号(P 、、)に変換しく実際の信号は(2,l、0
)となる)、中間調を表現する。
For example, when performing three-value output, the multi-value conversion means 103 compares the input signal with a threshold value and converts it into three types of signals (P, , ) of (1, station, 0), and the actual signal is ( 2, l, 0
), which expresses intermediate tones.

また、同時に、差分演算手段104はこの3値信号(ま
たは4値信号等)P8.と入力信号I’xyとの差分を
演算し、誤差信号E Xyとして誤差配分演算手段10
5に出力する。誤差配分演算手段105は、第8図に符
号106に示した周辺隣接画素への拡散マトリクスによ
り、誤差信号E llyの重み付は配分を行ない、次の
注目画素への配分誤差は入力補正手段101へと送られ
る。
At the same time, the difference calculation means 104 outputs this three-value signal (or four-value signal, etc.) P8. The difference between the input signal I'xy and the error distribution calculation means 10 is calculated as an error signal E
Output to 5. The error distribution calculating means 105 distributes the weighting of the error signal Elly using the diffusion matrix shown at reference numeral 106 in FIG. sent to.

前述した多値誤差拡散法の処理は公知のものであるため
、詳細説明は省略する。
Since the processing of the multilevel error diffusion method described above is well known, detailed explanation will be omitted.

続いてステップS14でステップS13の誤差拡散法に
より3値化された信号に、107に示すウィンドウをか
けていく。このウィンドウ処理は特に注目画素を必要と
せず、多値誤差拡散法とは全く独立である為、本実施例
の様に多値誤差拡散法による3値化のすぐ後からウィン
ドウの走査を行なうことができる。また、メモリ容量が
大きい場合には、既に1ペ一ジ分の3値化処理の終了し
た画像データに対してウィンドウの走査を行なっても良
い。但し、処理速度、メモリ容量の効率の点から考える
と、前者の方が有効である。
Subsequently, in step S14, a window shown at 107 is applied to the signal ternarized by the error diffusion method in step S13. This window processing does not particularly require a pixel of interest and is completely independent from the multilevel error diffusion method, so window scanning can be performed immediately after ternarization using the multilevel error diffusion method as in this embodiment. I can do it. Furthermore, if the memory capacity is large, the window may be scanned for one page of image data that has already been ternarized. However, in terms of processing speed and memory capacity efficiency, the former is more effective.

本実施例においては、このウィンドウの構成は例えば第
8図107に示す様な4×4の16個のマトリックスで
構成されている。
In this embodiment, this window is composed of 16 4×4 matrices as shown in FIG. 8 107, for example.

一般的に、誤差拡散法による3値化においても程度の差
こそあれ2値化と同様の問題点を有している。
In general, ternarization using the error diffusion method has the same problems as binarization, although there are differences in degree.

そこで本実施例では係る問題点を解消するために、第1
O図に示す様なウィンドウのパターンを考える。第10
図(a−1) 、  (a−2)は右下がりの斜め方向
にドツトがつながった例を示し。
Therefore, in this embodiment, in order to solve this problem, the first
Consider a window pattern as shown in figure O. 10th
Figures (a-1) and (a-2) show examples in which dots are connected diagonally downward to the right.

(「l」・・・黒、rOJ・・・白、「%」・・・灰と
する)第10図(b−1)、(b−2)は左下がりの斜
め方向にドツトがつながった例を示し、第10図(c−
1) 、  (c−2)は右下がりの斜め方向に白抜け
(灰も含む)がつながった例、第10図(d−1)、(
d−2)は左下がりの斜め方向に白抜け(灰も含む)が
つながった例を示す。
("l"...black, rOJ...white, "%"...gray) In Figure 10 (b-1) and (b-2), dots are connected diagonally downward to the left. An example is shown in Figure 10 (c-
1), (c-2) are examples of white spots (including gray) connected diagonally downward to the right, and Figure 10 (d-1), (
d-2) shows an example in which white spots (including gray) are connected diagonally downward to the left.

この様に本実施例では、既に3値化した信号に対して4
×4のウィンドウを設け、ステップS15でLUT (
ルックアップテーブル)によって第10図に示したパタ
ーンに適合しているかどうかを識別する。つまり、既に
発生しているテクスチャを認識して3価値前号の配列を
くずして規則的なテクスチャを補正するか否かを判断す
る。もしウィンドウのパターンが適合していなければ補
正をしないでステップS18に進み、4×4のマトリッ
クスウィンドウを走査していく。
In this way, in this embodiment, the signal that has already been ternarized is
x4 windows are provided, and in step S15 LUT (
A look-up table) is used to identify whether the pattern shown in FIG. 10 is met. That is, it is determined whether or not to correct the regular texture by recognizing the texture that has already been generated and destroying the three-value previous arrangement. If the window pattern does not match, the process proceeds to step S18 without making any correction, and the 4×4 matrix window is scanned.

一方、ウィンドウのパターンが適合しており、補正が必
要なテクスチャが発生していると認識すると、ステップ
S16、ステップS17に進み、ウィンドウ内多値信号
の補正処理を行なう。
On the other hand, if it is recognized that the window pattern is suitable and a texture that requires correction has occurred, the process proceeds to steps S16 and S17, and a correction process for the multi-level signal within the window is performed.

まずステップS16で乱数発生器109により乱数を発
生させて、補正パターンを選ぶ。そしてステップS17
でウィンドウ内の3億個号を補正する。例えば、第11
図(a)に示した様にウィンドウ内の信号が第10図に
示したパターンと適合したとする。このマトリクスのウ
ィンドウ内の等偏曲な濃度(1(黒)の数、%(灰)の
数)を変化させることなく、このデータのウィンドウ内
での並び換えを乱数を用いて実行する。
First, in step S16, random numbers are generated by the random number generator 109 and a correction pattern is selected. And step S17
Correct the 300 million issues in the window. For example, the 11th
Assume that the signal within the window as shown in Figure (a) matches the pattern shown in Figure 10. This data is rearranged within the window using random numbers without changing the equidiscretion density (number of 1 (black), number of % (gray)) within the window of this matrix.

例えば、ウィンドウが第10図の例では、16個のデー
タから4個の1(黒)データの組合わせを考えてl@C
4= 1820通り、その中から同一列、及び同一行に
4個1(黒)データが並ぶ8パターンを除いて(18C
4−s ) = 1s 12通りから乱数により第4図
Cb)の様にパターンの選択を行なう。この結果、第8
図107のウィンドウは、ウィンドウ配列変換手段10
8により各要素の配列が変換され、第8図110に示し
たウィンドウになる。
For example, in the example of the window shown in Figure 10, considering a combination of 4 1 (black) data from 16 data, l@C
4 = 1820 patterns, excluding 8 patterns in which 4 1 (black) data are arranged in the same column and row (18C
4-s) = 1s A pattern is selected from 12 random numbers as shown in Fig. 4Cb). As a result, the 8th
The window in FIG. 107 is
8, the array of each element is converted, resulting in the window shown in FIG. 8 110.

そして、ステップS18で全信号ウィンドウ補正処理が
少量したか否かを判断し、もし未終了ならSllに戻る
Then, in step S18, it is determined whether the entire signal window correction process has been completed by a small amount, and if it has not been completed, the process returns to Sll.

第9図のフローチャートで示した動作手順は、誤差拡散
法と補正処理をシリアルに行なっているが、前述した様
に、この2つの処理は全く独立であるため(3値化処理
が終了しないと補正は出来ないが)、並列処理が可能で
あれば、パラレルに動作させる方が、より効率的である
The operating procedure shown in the flowchart in Figure 9 serially performs the error diffusion method and the correction process, but as mentioned above, these two processes are completely independent (unless the ternarization process is completed). However, if parallel processing is possible, it is more efficient to operate in parallel.

[第5実施例] 第11図に示した第4実施例に係る補正においては、補
正後パターンは乱数により配置していた。
[Fifth Example] In the correction according to the fourth example shown in FIG. 11, the corrected patterns were arranged using random numbers.

しかし、乱数は度がきついと逆に全く規則性の無いラン
ダムノイズとなって発生して視覚的にあまり好ましくな
い。
However, if the random number is too strong, it will generate random noise with no regularity, which is visually undesirable.

この点を改良するためには、なるべくドラ下が近接しな
い様な幾つかの代表的なパターンを挙げて、これらのパ
ターンのみで、補正を行なうよう制御するのが望ましい
In order to improve this point, it is desirable to list some representative patterns in which the bottom of the drive is as close as possible and to control the correction using only these patterns.

このように制御する本発明に係る第5実施例を以下説明
する。
A fifth embodiment of the present invention that controls in this manner will be described below.

第12図は本発明に係る第5実施例におけるウィンドウ
マトリクスの構成図である。
FIG. 12 is a configuration diagram of a window matrix in a fifth embodiment according to the present invention.

図中、(a)は補正前のマトリクスパターン、(b)〜
(e)は補正後のパターンの例を示す。
In the figure, (a) is the matrix pattern before correction, (b) ~
(e) shows an example of the pattern after correction.

本実施例では、第12図(b)〜(e)の例の如く、な
るべくドツトが近接しない様な幾つかの代表的なパター
ンを挙げて、これらのパターンのみで、補正をまかなっ
てしまう。
In this embodiment, several representative patterns are used in which the dots do not come close to each other as much as possible, such as the examples shown in FIGS. 12(b) to 12(e), and these patterns alone cover the correction.

すなわち、第12図(a)のパターンがウィンドウ内デ
ータと適合した時に、1種類のパターンに配置するので
はなく、順次、第12図(b)。
That is, when the pattern in FIG. 12(a) matches the data within the window, the patterns are not arranged in one type of pattern, but in sequence as shown in FIG. 12(b).

(c)、(d)、(e)の様に順番に配置していくこと
によって補正していく。
Correction is performed by sequentially arranging them as shown in (c), (d), and (e).

このように、順番に配置したとしても、同一パターンの
補正が回ってくるのは、この例では4回に1度であり、
それがごく近傍に配置されるのは稀であるので、新たな
テクスチャが発生しまう可能性は少ない。
In this way, even if they are arranged in order, the same pattern will be corrected only once in four times in this example.
Since they are rarely placed in close proximity, there is little possibility that new textures will be generated.

当然、この4個のパターンを乱数によって抽出しても良
いことは勿論である。
Of course, these four patterns may be extracted using random numbers.

以上説明した様に、このように幾つかのパターンを順番
に配置していくことにより、ランダムノイズを抑え、高
速に処理することができろ。
As explained above, by sequentially arranging several patterns in this way, random noise can be suppressed and processing can be performed at high speed.

[第6実施例] 第13図は本発明に係る第6実施例の要部ブロック結線
図であり、第8図に示した第5実施例と同様構成には同
一番号を付し詳細説明を省略する。
[Sixth Embodiment] FIG. 13 is a block diagram of main parts of a sixth embodiment according to the present invention. Components similar to those of the fifth embodiment shown in FIG. 8 are given the same numbers and detailed explanations will be given. Omitted.

第13図に示す第6実施例は、第8図で用いた第5実施
例に比し、ウィンドウ内で斜め方向にドツトがつながっ
ている場合でも、原画素信号がもともと斜め線の画像情
報なのか、それとも誤差拡散法の3値化によるたまたま
斜め方向にドツトがつながったテクスチャの表われなの
かを見極める処理を付加している。
The sixth embodiment shown in FIG. 13 differs from the fifth embodiment used in FIG. 8 in that even when dots are connected diagonally within the window, the original pixel signal is originally image information of diagonal lines. A process is added to determine whether it is a texture in which dots are connected diagonally by chance due to ternarization using the error diffusion method.

すなわち、多値化手段Illが付加されておリ、多値化
手段111では、まず誤差分を加算していない原人力信
号Zoo(1,、)を固定閾値群(T’工、)と比較す
る。この固定閾値群は、例えば入力信号I。が8ビツト
多値の場合には、00H(白レベル)〜FF、(黒レベ
ル)の信号の中で、高濃度領域と低濃度領域が明確に分
割できるように設定する。
That is, the multi-value conversion means Ill is added, and the multi-value conversion means 111 first compares the original human power signal Zoo (1,,) to which the error has not been added with the fixed threshold value group (T'). do. This fixed threshold value group is, for example, input signal I. When is an 8-bit multi-value signal, settings are made so that high-density areas and low-density areas can be clearly divided among the signals from 00H (white level) to FF and (black level).

例えばT ′m、=dcH及びT′、、=lE、の2つ
の閾値を用意する。
For example, two threshold values are prepared: T'm,=dcH and T', ,=lE.

そして、dc工≦IX、≦FF、の場合には、P”、、
=1(信号としては10)とする。
Then, in the case of dc engineering≦IX,≦FF, P”,,
=1 (10 as a signal).

一方、1E□≦工□くdcHである場合には、p ’ 
、、=%(信号としては01)とする。
On the other hand, if 1E□≦E□dcH, p'
,,=% (01 as a signal).

更に、O≦Ixy<IEsでは、P”、、=O(信号と
しては00)とする。
Furthermore, if O≦Ixy<IEs, P”, , =O (00 as a signal).

そして、この多値化回路111よりの出力多値化信号で
あるP′oの信号を更に、ドツトシフトし、加算器によ
りP。の信号にっけ加え、3値信号2種による4ビット
/画素の情報としてメモリに格納し、ウィンドウ処理を
施す。
Then, the signal P'o, which is the output multi-value signal from the multi-value conversion circuit 111, is further dot-shifted and converted into P by an adder. In addition to the above signal, it is stored in memory as 4-bit/pixel information based on two types of ternary signals, and window processing is performed.

すなわち、本実施例ではこのp ’、、信号とP、y信
号の2種をウィンドウ処理することになる。このため、
例えP、y信号が斜め方向にドツトがつながるテクスチ
ャを形成している場合でも、P″8゜信号により、その
斜め方向のドツトのつながりが、原信号によるものが、
もしくは3値化によるテクスチャの現われなのかが判別
することが可能である。
That is, in this embodiment, two types, the p', signal and the P,y signal, are subjected to window processing. For this reason,
Even if the P and y signals form a texture in which dots are connected in a diagonal direction, the P″8° signal will change the connection of dots in the diagonal direction from that of the original signal.
Alternatively, it is possible to determine whether the texture appears due to ternarization.

本実施例では、もし原信号によるものと判別されると、
ウィンドウ内の配列は変換しないことは当然である。
In this embodiment, if it is determined that it is due to the original signal,
Naturally, the array inside the window is not converted.

他の処理は第5実施例と同様であるため、他の処理につ
いての説明は省略する。
Since the other processes are the same as those in the fifth embodiment, explanations of the other processes will be omitted.

以上説明した本実施例の処理をつけ加えることによって
、必要なメモリ容量は若干増加するが、誤まって原信号
の直線等を乱す様なことがなくなる。
By adding the processing of this embodiment described above, the required memory capacity increases slightly, but it prevents the straight line of the original signal from being erroneously disturbed.

[第7実施例] 第14図に本発明に係る第7実施例による補正すべきウ
ィンドウの構成図の1例を示す。
[Seventh Embodiment] FIG. 14 shows an example of a configuration diagram of a window to be corrected according to a seventh embodiment of the present invention.

第7実施例は、ウィンドウ内のテクスチャの認識ばかり
ではなく、ウィンドウ内の疑似輪郭をもパターンとして
認識して、配列を変換させるものである。
In the seventh embodiment, not only the texture within the window is recognized, but also the pseudo contour within the window is recognized as a pattern, and the arrangement is converted.

例えば、ウィンドウ処理において、第14図中(a)〜
(C)の様なパターンが発生した場合を考える。この様
な場合に、多値プリンタを接続し、該プリンタに出力す
る場合、疑似輪郭は同色の場合でも着色材等の切り換え
時にトーンジャンプとして発生することが多い。
For example, in window processing, (a) to
Consider a case where a pattern like (C) occurs. In such a case, when a multilevel printer is connected and the output is output to the printer, false contours often occur as tone jumps when changing coloring materials, etc. even when the colors are the same.

そこで本実施例においては、第14図(a)〜(C)に
挙げたパターン(等レベルのドツトが固まりをなして、
切り換えにあたる部分)を、前述した実施例と同様、L
UTに保存しておき(実際には第14図(a)〜(c)
以外にもっと多種のパターンを格納しているが、説明の
簡略化のため、図示の例に限定して以下の説明を行なう
)、ウィンド内のパターンの適合を確かめる。
Therefore, in this example, the patterns shown in FIGS. 14(a) to (C) (dots of equal level form a cluster,
Similar to the above-mentioned embodiment, the L
Save it in UT (actually, it is shown in Figures 14 (a) to (c)).
Although there are many other types of patterns stored in the window, in order to simplify the explanation, the following explanation will be limited to the illustrated example).

ここでもし、ウィンド内のパターンと適合した場合には
、第8図における第4実施例、及び第12図における第
5実施例の様に、乱数、及び定められた補正パターンに
より配列を変換し、ウィンドウ内の疑似輪郭(トーンジ
ャンプ)の発生を壊す。
Here, if it matches the pattern within the window, the array is converted using random numbers and a predetermined correction pattern, as in the fourth embodiment in Fig. 8 and the fifth embodiment in Fig. 12. , breaking the occurrence of false contours (tone jumps) in the window.

そして、本実施例の場合も第12図に示した実施例と同
様、固定閾値による単純3値化の信号も格納し、ウィン
ドウ処理することによって原信号がエツジ部か否かを判
定し、誤まって原信号の直線等を乱すことを防ぐように
する。
In this embodiment, as in the embodiment shown in FIG. 12, a simple ternary signal using a fixed threshold value is also stored, and window processing is performed to determine whether or not the original signal is an edge portion. This is to prevent the straight line of the original signal from being disturbed.

以上説明した様に、上述した実施例によれば、多値誤差
拡散法において、従来から非常に問題となっていた低濃
度部のドツト、及び高濃度部での白抜けのつながりや、
中、低濃度部での不快な鎖状のテクスチャを安価に、簡
便な構成で消滅させることができる。
As explained above, according to the above-described embodiment, the connection between dots in low-density areas and white spots in high-density areas, which has traditionally been a serious problem in the multilevel error diffusion method, can be solved.
It is possible to eliminate unpleasant chain-like textures in medium and low density areas at low cost and with a simple configuration.

また、補正処理を誤差拡散法とパラレルに並列処理を施
せば、余分なタイムロスは無く、高速に補正できる。
Further, if the correction processing is performed in parallel with the error diffusion method, there is no extra time loss and correction can be performed at high speed.

また、ドツトのつながりをテクスチャが、又はもともと
の画像の原信号なのかを検知することにより、元の画像
情報を失わずに、良好かつ適正な多値化(3値化、4値
化等)処理が行なえる。
In addition, by detecting whether the dot connections are a texture or the original signal of the original image, it is possible to perform good and appropriate multilevel conversion (ternarization, quaternization, etc.) without losing the original image information. Can be processed.

[発明の効果] 以上説明した様に本発明によれば、誤差拡散法における
低濃度部のドツト及び高濃度部での白抜けのつながりや
、中、低濃度部での不快な鎖状のテクスチャを安価に、
簡単な構成で消滅させることができる。
[Effects of the Invention] As explained above, according to the present invention, connections between dots in low-density areas and white spots in high-density areas in the error diffusion method, and unpleasant chain-like textures in medium and low-density areas can be eliminated. cheaply,
It can be eliminated with a simple configuration.

またドツトのつながりを、テクスチャか、もともとの画
像の原信号なのかを検知することにより、元の画像情報
を失なわずに良好かつ適正な2値化またはそれ以上の多
値化が行なえる。
Furthermore, by detecting whether the dot connections are textures or original signals of the original image, good and appropriate binarization or higher multivalue conversion can be performed without losing the original image information.

また、多値誤差拡散法により発生しゃすい疑似輪郭も同
様に減少することができる。
Furthermore, false contours that tend to occur can be similarly reduced by the multilevel error diffusion method.

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

第1図は本発明に係る一実施例のブロック構成図、 第2図は本実施例の画像処理制御を示すフローチャート
、 第3図は本実施例のウィンドウの補正の必要なパターン
の例を示す図、 第4図は本実施例の乱数を用いた補正の例を示す図、 第5図は本実施例の2値信号のテクスチャを補正により
取り除いた実行例を示す図、 第6図は本発明に係る第2実施例のウィンドウ補正パタ
ーンの例を示す図、 第7図は本発明に係る第3実施例の補正処理を示す図、 第8図は本発明に係る第4実施例のブロック構成図、 第9図は本発明に係る第4実施例の画像処理手順を示す
フローチャート、 第10図は第4実施例のウィンドウ補正の必要なパター
ン例を示す図、 第11図は第4実施例の乱数を用いた補正の例を示す図
、 第12図は本発明に係る第5実施例のウィンドウ補正パ
ターンの例を示す図、 第13図は本発明に係る第6実施例のブロック構成図、 第14図は本発明に係る第7実施例によるウィンドウ補
正の必要なパターン例を示す図である。 図中、1・・・中央演算処理装置(CPU) 、2・・
・Ilo、3・・・RAM、4・・・ROM、5・・・
誤差拡散回路、6・・・乱数発生器、7・・・2値信号
補正回路、8・・・外部機器、lOl・・・入力補正手
段、103゜111・・・多値化(3値化)手段、10
4・・・差分演算手段、105・・・誤差配分演算手段
、106・・・周辺隣接画素への拡散マトリクス、10
7.110・・・ウィンドウ、108・・・ウィンドウ
配列変換手段、109・・・乱数発生器である。 第 図 (a) (b) 第3 第 図 図 (c) (b) (d ) 0001000 1000100 00001 0001 0001 0 10000100010001 00101 000100010 00010001000100 000 10000 10001 0 00000101 000001 10001 000 100001 00100100100100 000100010000 10 第 図 (C) (a−1) (b−1) ψ−2) (b−2) (c−1) (cl−1) 第10図 Q::i I 1図 (b) (C) CG) 第12図 第14図 (C) 手 続 補 正 書 ( 自発) 平成1年lO月17日 特 許 庁 長 官 殿 11件の表示 特願平l− ■ 号 2、発明の名称 画像処理装置 キャノン株式会社 明細書の特許請求の範囲の欄及び発明の詳細な説明の欄
ρ゛) 6、補正の内容 (1)明細書第5頁第2行目の「数十ビット」をrlO
数ビット」と補正する。 (2)明細書第5頁第9行目の「採用されたいた」をr
採用されていた」と補正する。 (2)明細書第9頁第3行目の「数ビット」を64.あ
たり、数ビットjと補正する。 ′−゛明細書第9頁第4行目の「1画素」を111色1
と補正する。 明細書第13頁第2行目の「得誤差」を!jと補正する
。 明細書第14頁第14行目の「白向け」をr白抜け」と
補正する。 (7)明細書第16頁第4行目の「順列」を「組み合わ
せ1と補正する。 (8)明細書第17頁第10行目、第21頁第14行目
〜第15行目、第23頁第5行目の「現信号」をr原信
号」と補正する。 (9)明細書第25頁第15行目の「誤差配分演算手段
105」をj差分演算手段104jと補正する。 (10)明細書第26頁第4行目〜第5行目の「出力し
閾値決定手段109及び誤差配分演算手段105」をj
出力し、P xyは同時に差分演算手段104Jと補正
する。 (11)明細書第26頁第12行目の「入力信号と閾値
」をr入力信号をレベル分けして、各レベルの閾値」と
補正する。 (12)明細書第29頁第11行目の「3価値前号」を
r3値信号1と補正する。 (13)明細書第31頁第2行目の「第4図」をr第1
1図1と補正する。 (14)明細書第31頁第3行目の「この結果」をrす
なわちjと補正する。 (15)明細書第31頁第8行目の「少量」を「終了1
と補正する。 (16)明細書第36頁第1行目の「ドツト」をrビッ
ト1と補正する。 (17)特許請求の範囲については別紙の通り。 特願平1−167081号 の特許請求の範囲の補正 (1)多値画像情報を誤差拡散法を用いて2値信号へ変
換する画像処理装置において、 注目画素周辺に既に2値化したウィンドウを設け、該ウ
ィンドウ内のドツトパターンを検知し検知パターンに基
づいて、ウィンドウ内のドツトパターンの配列を変更、
補正する変更補正手段を有することを特徴とする画像処
理装置。 (2)変更補正手段はウィンドウ内検知ドツトパターン
に加え、所定の固定閾値により2値化した信号をも付加
することを特徴とする請求項第1項記載の画像処理装置
。 (3)変更補正手段はウィンドウ内ドツトパターンの配
列変更を乱数を用いて行なうことを特徴とする請求項第
1項記載の画像処理装置。 (4)変更補正手段はウィンドウ内ドツトパターンの配
列変更を補正パターンを数種用意し、前記補正パターン
を順に用いて行なうことを特徴とする請求項第1項記載
の画像処理装置。 (5)多値画像情報な該多値画像情報より少ない多値画
像情報に変換する誤差拡散法による画像処理炭装置にお
いて、 既に少ない画素信号へ変換した、変換信号の注目画素近
傍にウィンドウを設け該ウィンドウ内のドツトパターン
を検知し検知ドツトパターンに基づいてウィンドウ内の
ドツトパターンの配列を変更、補正する変更補正手段を
有することを特徴とする画像処理変装置。 (6)変更補正手段はウィンドウ内ドツトパターンの配
列変換条件を多値誤差拡散法により変換したドツトパタ
ーン検知に加え、所定固定閾値により単純多値化した画
素信号におけるウィンドウを配列変換条件に含むことを
特徴とする請求項第5項に記載の画像処理装置。 (7)変更補正手段はウィンドウ内ドツトパターンの配
列変換を発生乱数を用いて行なうことを特徴とする請求
項第5項記載の画像処理装置。 (8)変更補正手段はウィンドウ内ドツトパターンの配
列変換を予め具備した複数種の補正パターンを順に選択
し、該選択補正パターンに従い行なうことを特徴とする
請求項第5項記載の画像処理装置。
FIG. 1 is a block diagram of an embodiment according to the present invention. FIG. 2 is a flowchart showing image processing control in this embodiment. FIG. 3 is an example of a pattern that requires window correction in this embodiment. Figure 4 is a diagram showing an example of correction using random numbers in this embodiment, Figure 5 is a diagram showing an example of execution in which the texture of a binary signal in this embodiment is removed by correction, and Figure 6 is a diagram showing an example of correction using random numbers in this embodiment. FIG. 7 is a diagram showing an example of the window correction pattern of the second embodiment of the invention, FIG. 7 is a diagram showing the correction process of the third embodiment of the invention, and FIG. 8 is a block diagram of the fourth embodiment of the invention. 9 is a flow chart showing the image processing procedure of the fourth embodiment according to the present invention. FIG. 10 is a diagram showing an example of a pattern requiring window correction in the fourth embodiment. FIG. 12 is a diagram showing an example of the window correction pattern of the fifth embodiment according to the present invention. FIG. 13 is the block configuration of the sixth embodiment according to the present invention. FIG. 14 is a diagram showing an example of a pattern requiring window correction according to a seventh embodiment of the present invention. In the figure, 1... central processing unit (CPU), 2...
・Ilo, 3...RAM, 4...ROM, 5...
Error diffusion circuit, 6... Random number generator, 7... Binary signal correction circuit, 8... External equipment, lOl... Input correction means, 103° 111... Multi-value conversion (ternary conversion) ) means, 10
4... Difference calculation means, 105... Error allocation calculation means, 106... Diffusion matrix to peripheral adjacent pixels, 10
7.110...Window, 108...Window array conversion means, 109...Random number generator. Figure (a) (b) 3 Figure (c) (b) (d) 0001000 1000100 00001 0001 0001 0 10000100010001 00101 000100010 00010001000100 000 10000 10001 0 00000101 000001 10001 000 100001 00100100100100 000100010000 10 Figure (C) ( a-1) (b-1) ψ-2) (b-2) (c-1) (cl-1) Figure 10 Q::i I Figure 1 (b) (C) CG) Figure 12 Figure 14 (C) Procedural amendment (spontaneous) 17th January 1999, Commissioner of the Japan Patent Office, 11 indicated patent applications No. 2, Title of the invention Image processing device Canon Co., Ltd. Specification of patent claims Scope column and Detailed description of the invention column ρ゛) 6. Contents of amendment (1) “Several tens of bits” in the second line of page 5 of the specification was changed to rlO
"Several bits". (2) Replace “employed” on page 5, line 9 of the specification with r.
"It was adopted," he corrected. (2) "Several bits" on page 9, line 3 of the specification is 64. Correct by a few bits j. ′-゛“1 pixel” in the 4th line of page 9 of the specification is 111 colors 1
and correct it. “Gain error” on page 13, line 2 of the specification! Correct it as j. "For white" on page 14, line 14 of the specification is corrected to "r white spot". (7) "Permutation" on page 16, line 4 of the specification is corrected to "combination 1." (8) Specification, page 17, line 10, page 21, lines 14 to 15, The "current signal" on the 5th line of page 23 is corrected to "r original signal". (9) Correct "error distribution calculation means 105" on page 25, line 15 of the specification to be j difference calculation means 104j. (10) "Output threshold value determination means 109 and error distribution calculation means 105" on page 26, line 4 to line 5 of the specification
At the same time, P xy is corrected by the difference calculation means 104J. (11) ``Input signal and threshold value'' on page 26, line 12 of the specification is corrected to ``r input signal divided into levels and threshold value for each level''. (12) Correct "3-value previous issue" on page 29, line 11 of the specification to r3-value signal 1. (13) "Figure 4" on page 31, line 2 of the specification
1 Correct as shown in Figure 1. (14) "This result" on page 31, line 3 of the specification is corrected to r, that is, j. (15) Change “small amount” in line 8 of page 31 of the specification to “end 1”
and correct it. (16) Correct the "dot" in the first line of page 36 of the specification to r bit 1. (17) The scope of claims is as attached. Correction of the scope of claims of Japanese Patent Application No. 1-167081 (1) In an image processing device that converts multilevel image information into a binary signal using an error diffusion method, a window that has already been binarized around a pixel of interest is detecting the dot pattern in the window and changing the arrangement of the dot pattern in the window based on the detected pattern;
An image processing apparatus characterized by having a change correction means for correcting. (2) The image processing apparatus according to claim 1, wherein the change correction means adds, in addition to the in-window detected dot pattern, a signal that has been binarized using a predetermined fixed threshold. (3) The image processing apparatus according to claim 1, wherein the change correction means changes the arrangement of the dot patterns within the window using random numbers. (4) The image processing apparatus according to claim 1, wherein the change/correction means changes the arrangement of the dot patterns within the window by preparing several types of correction patterns and sequentially using the correction patterns. (5) In an image processing device using an error diffusion method that converts multi-value image information into multi-value image information that is smaller than the multi-value image information, a window is provided near the pixel of interest of the converted signal that has already been converted into a smaller number of pixel signals. An image processing modification device characterized by comprising a change correction means for detecting a dot pattern within the window and changing and correcting the arrangement of the dot pattern within the window based on the detected dot pattern. (6) In addition to detecting a dot pattern obtained by converting the array conversion condition of the dot pattern within the window using a multilevel error diffusion method, the change correction means includes a window in the pixel signal that is simply multileveled using a predetermined fixed threshold value in the array conversion condition. The image processing device according to claim 5, characterized in that: (7) The image processing apparatus according to claim 5, wherein the change correction means converts the arrangement of the dot patterns within the window using generated random numbers. (8) The image processing apparatus according to claim 5, wherein the change/correction means sequentially selects a plurality of types of correction patterns provided in advance with arrangement conversion of dot patterns in the window, and performs the processing according to the selected correction pattern.

Claims (8)

【特許請求の範囲】[Claims] (1)多値画像情報を誤差拡散法を用いて2値信号へ変
換する画像処理装置において、 注目画素周辺に既に2値化したウインドウを設け、該ウ
ィンドウ内のドットパターンを検知し検知パターンに基
づいて、ウィンドウ内のドットパターンの配列を変更、
補正する変更補正手段を有することを特徴とする画像処
理装置。
(1) In an image processing device that converts multivalued image information into a binary signal using the error diffusion method, a window that has already been binarized is provided around the pixel of interest, and the dot pattern within the window is detected and converted into a detection pattern. Change the arrangement of dot patterns in the window based on,
An image processing apparatus characterized by having a change correction means for correcting.
(2)変更補正手段はウィンドウ内検知ドットパターン
に加え、所定の固定閾値により2値化した信号をも付加
することを特徴とする請求項第1項記載の画像処理装置
2. The image processing apparatus according to claim 1, wherein the change correction means adds, in addition to the in-window detected dot pattern, a signal binarized using a predetermined fixed threshold.
(3)変更補正手段はウィンドウ内ドットパターンの配
列変更を乱数を用いて行なうことを特徴とする請求項第
1項記載の画像処理装置。
(3) The image processing apparatus according to claim 1, wherein the change correction means changes the arrangement of the dot patterns within the window using random numbers.
(4)変更補正手段はウィンドウ内ドットパターンの配
列変更を補正パターンを数種用意し、前記補正パターン
を順に用いて行なうことを特徴とする請求項第1項記載
の画像処理装置。
(4) The image processing apparatus according to claim 1, wherein the change/correction means prepares several types of correction patterns and sequentially uses the correction patterns to change the arrangement of the dot patterns within the window.
(5)多値画像情報を該多値画像情報より該多値画像情
報より少ない多値画像情報に変換する誤差拡散法による
画像処理変装置において、 既に少ない画素信号へ変換した、変換信号の注目画素近
傍にウィンドウを設け該ウィンドウ内のドットパターン
を検知し検知ドットパターンに基づいてウィンドウ内の
ドットパターンの配列を変更、補正する変更補正手段を
有することを特徴とする画素処理装置。
(5) In an image processing conversion device using an error diffusion method that converts multi-value image information into multi-value image information that is less than the multi-value image information, attention is paid to the converted signal that has already been converted into fewer pixel signals. 1. A pixel processing device comprising: a window provided near a pixel; and change/correction means for detecting a dot pattern within the window and changing and correcting the arrangement of the dot pattern within the window based on the detected dot pattern.
(6)変更補正手段はウィンドウ内ドットパターンの配
列変換条件を多値誤差拡散法により変換したドットパタ
ーン検知に加え、所定固定閾値により単純多値化した画
素信号におけるウィンドウを配列変換条件に含むことを
特徴とする請求項第5項に記載の画像処理装置。
(6) In addition to detecting a dot pattern obtained by converting the arrangement conversion condition of a dot pattern within a window using a multilevel error diffusion method, the change correction means includes a window in a pixel signal that is simply multileveled using a predetermined fixed threshold value in the arrangement conversion condition. The image processing device according to claim 5, characterized in that:
(7)変更補正手段はウィンドウ内ドットパターンの配
列変換を発生乱数を用いて行なうことを特徴とする請求
項第5項記載の画像処理装置。
(7) The image processing apparatus according to claim 5, wherein the change correction means performs arrangement conversion of the dot pattern within the window using generated random numbers.
(8)変更補正手段はウィンドウ内ドットパターンの配
列変換を予め具備した複数種の補正パターンを順に選択
し、該選択補正パターンに従い行なうことを特徴とする
請求項第5項記載の画像処理装置。
(8) The image processing apparatus according to claim 5, wherein the change/correction means sequentially selects a plurality of types of correction patterns provided in advance with arrangement conversion of the dot patterns within the window, and performs the processing according to the selected correction pattern.
JP1167081A 1989-06-30 1989-06-30 Picture processing device Pending JPH0334679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1167081A JPH0334679A (en) 1989-06-30 1989-06-30 Picture processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1167081A JPH0334679A (en) 1989-06-30 1989-06-30 Picture processing device

Publications (1)

Publication Number Publication Date
JPH0334679A true JPH0334679A (en) 1991-02-14

Family

ID=15843052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1167081A Pending JPH0334679A (en) 1989-06-30 1989-06-30 Picture processing device

Country Status (1)

Country Link
JP (1) JPH0334679A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140139109A (en) 2012-03-29 2014-12-04 제이엑스 닛코 닛세키 킨조쿠 가부시키가이샤 Surface-treated copper foil
KR20140142341A (en) 2012-03-29 2014-12-11 제이엑스 닛코 닛세키 킨조쿠 가부시키가이샤 Surface-treated copper foil

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140139109A (en) 2012-03-29 2014-12-04 제이엑스 닛코 닛세키 킨조쿠 가부시키가이샤 Surface-treated copper foil
KR20140142341A (en) 2012-03-29 2014-12-11 제이엑스 닛코 닛세키 킨조쿠 가부시키가이샤 Surface-treated copper foil
KR20160075865A (en) 2012-03-29 2016-06-29 제이엑스금속주식회사 Surface-treated copper foil
KR20160078512A (en) 2012-03-29 2016-07-04 제이엑스금속주식회사 Surface-treated copper foil
US10070521B2 (en) 2012-03-29 2018-09-04 Jx Nippon Mining & Metals Corporation Surface-treated copper foil

Similar Documents

Publication Publication Date Title
US4876610A (en) Image processing apparatus with binarization-error dispersal
US5488673A (en) Image processing with fixed or variable threshold
US5325448A (en) Image treatment method and apparatus with error dispersion and controllable quantization
EP0715451B1 (en) Error diffusion pattern shifting reduction through programmable threshold perturbation
US5014124A (en) Digital image processing apparatus
JP3313399B2 (en) Image processing device
US6813043B1 (en) Image processing device, image forming device incorporating the same, and storage medium for storing program used thereby
JPH077619A (en) Document processing system
JPH03193472A (en) Highly definite image generating system of image processor
US5157741A (en) Image processing method and apparatus for out-putting dot-processed data with suppression of false contours and other noise
US5177795A (en) Image processing apparatus
US5818971A (en) Method and image reproduction device for reproducing grey values using a combination of error diffusion and cluster dithering for enhanced resolution and tone
US7623268B2 (en) Replacement halftoning
JP2815157B2 (en) Image processing device
JPH0334679A (en) Picture processing device
US8339673B2 (en) Method and apparatus for improving edge sharpness with error diffusion
JP2621865B2 (en) Image processing device
JP2756308B2 (en) Image processing device
US6842267B1 (en) Image processing method
JP4343157B2 (en) Image processing apparatus and image processing method
JPH06296235A (en) Facsimile equipment
JP2738865B2 (en) Image processing device
JPH0644800B2 (en) Image processing device
US6614943B1 (en) Method of image binary coding and image binary coding apparatus
JP3501533B2 (en) Color image forming equipment