JPH04299668A - Pseudo half-tone picture processing device - Google Patents

Pseudo half-tone picture processing device

Info

Publication number
JPH04299668A
JPH04299668A JP3064198A JP6419891A JPH04299668A JP H04299668 A JPH04299668 A JP H04299668A JP 3064198 A JP3064198 A JP 3064198A JP 6419891 A JP6419891 A JP 6419891A JP H04299668 A JPH04299668 A JP H04299668A
Authority
JP
Japan
Prior art keywords
threshold
value
dither matrix
pixel
given
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
JP3064198A
Other languages
Japanese (ja)
Inventor
Hironori Takashima
洋典 高島
Katsuya Shibazaki
勝也 柴崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3064198A priority Critical patent/JPH04299668A/en
Publication of JPH04299668A publication Critical patent/JPH04299668A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To generate a binary picture without degrading picture qualities of both of a pseudo half-tone picture or a continuous gradation picture and a binary picture of characters or the like by coping with both of these pictures. CONSTITUTION:A threshold generated by a dither matrix is given from a terminal 104, and a fixed threshold is given from a terminal 105, and one of them is selected by a parameter given from a terminal 103 by a user to perform threshold correction. An input picture signal is subjected to such correction that it is added to the weighted sum of error generated in peripheral picture elements of a noticed picture element by an adder 16, and this input picture signal is given to a binarizing circuit 14 and is compared with the correction threshold, and the result is outputted from a terminal 102. The difference between the corrected input picture signal and the signal obtained by converting an output binary picture signal to a level corresponding to the input picture signal is stored in a memory 11 as error of the noticed picture element by an error calculating circuit 15, and the weighted sum of error in peripheral picture elements of the noticed picture element is calculated by a weighted sum circuit 12 and is used for binarization of the next input picture signal.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は写真、網点写真と文字な
どの線画像の混在した画像信号を2値化する疑似中間調
画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pseudo-halftone image processing apparatus for binarizing an image signal containing a mixture of photographs, halftone photographs, and line images such as characters.

【0002】0002

【従来の技術】従来の疑似中間調画像処理装置において
、連続階調を含んだ画像を疑似的に表現する手段として
、誤差拡散方式(Error  Diffusion)
がエム・アール・シュローダー(M.R.Shroed
er)によって提唱され、この方式が「イメージズ・フ
ロム・コンピューターズ、アイ・イー・イー・イー・ス
ペクトラム、1969年第6巻」(“Images  
from  Computers”,IEEE  Su
pectrum,vol.6,1969)に詳述されて
いる。 この方式は、注目画素の周囲画素を2値化するときの誤
差を保存しておき、注目画素を2値化するとこにその誤
差を反映し、入出力画像間の平均輝度レベルを一致させ
て疑似中間調画像を表現しようというものである。
2. Description of the Related Art In a conventional pseudo-halftone image processing device, an error diffusion method is used as a means for pseudo-expressing an image containing continuous gradations.
M.R. Shroed
This method was proposed by ``Images from Computers, IE Spectrum, Volume 6, 1969'' (``Images
from Computers”, IEEE Su
pectrum, vol. 6, 1969). This method saves the error when binarizing the surrounding pixels of the pixel of interest, reflects that error when binarizing the pixel of interest, and matches the average brightness level between the input and output images. The idea is to express a pseudo-halftone image.

【0003】誤差拡散方式は網点写真を入力してもモワ
レを発生することが少なく、また、通常のディザ法のよ
うな偽輪郭の発生も見られないという、すぐれた疑似中
間調画像を出力することができる。しかし、生成される
パターンがほとんどランダムであるため標準的なファク
シミリなどで用いられるデータ圧縮方式では効率的なデ
ータ圧縮ができないという欠点を有していた。
[0003] The error diffusion method outputs an excellent pseudo-halftone image that does not cause moiré even when inputting a halftone photograph, and does not generate false contours as is the case with ordinary dithering methods. can do. However, since the generated patterns are almost random, data compression methods used in standard facsimile systems have the disadvantage that efficient data compression cannot be achieved.

【0004】この欠点に対して、通常の誤差拡散方式に
おいては2値化のスレッショルドが固定であるが、空間
的に周期性を持つスレッショルド、例えば4×4画素の
周期で変動するスレッショルド、すなわちディザ方式で
用いられるスレッショルドを適用する方式も考えられる
。ここではこの方式を周期的誤差拡散方式と呼ぶことに
する。この周期的誤差拡散方式は、誤差拡散方式の特徴
であるモワレの発生が少なく、優れた階調表現特性を持
ちながら、しかも4画素の周期性を持った疑似中間調画
像を得ることが出来るので、予測変換や畳み込み変換な
どの方式を用いることにより、容易に通常のファクシミ
リで用いられるランレングス符号化方式でデータ圧縮を
行なうことが出来る。
[0004] To deal with this drawback, in the normal error diffusion method, the threshold for binarization is fixed, but a threshold that has spatial periodicity, for example, a threshold that fluctuates at a period of 4×4 pixels, that is, a dither threshold, is used. A method may also be considered that applies the threshold used in the method. Here, this method will be referred to as a periodic error diffusion method. This periodic error diffusion method reduces the occurrence of moiré, which is a characteristic of error diffusion methods, and has excellent gradation expression characteristics, while also being able to obtain pseudo-halftone images with 4-pixel periodicity. By using methods such as predictive conversion and convolutional conversion, data compression can be easily performed using the run-length encoding method used in normal facsimile.

【0005】[0005]

【発明が解決しようとする課題】上述した従来の疑似中
間調画像処理装置において、周期的誤差拡散方式は誤差
拡散方式とディザ方式との中間的な性質を持った画像信
号を生成するため、特に文字の部分ではディザ方式の欠
点である解像度の劣化が顕著にみとめられ、文字の線の
一部が切れたり、エッジがぼやけるという欠点を有して
いた。
[Problems to be Solved by the Invention] In the above-mentioned conventional pseudo-halftone image processing device, the periodic error diffusion method generates an image signal with properties intermediate between the error diffusion method and the dither method, so In the text area, the deterioration in resolution, which is a drawback of the dither method, was noticeable, and the text had the disadvantage that some of the lines of the text were cut off and the edges were blurred.

【0006】本発明の目的は、文字などの2値画像を入
力しても線の切れがなく、エッジ部分がぼやけることの
ない疑似中間調画像処理装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a pseudo-halftone image processing apparatus in which lines are not broken and edges are not blurred even when a binary image such as a character is input.

【0007】[0007]

【課題を解決するための手段】本発明の疑似中間調処理
装置は、多値の画像信号を2値化し2値画像信号として
出力する疑似中間調画像処理装置において、既に2値化
された複数の周囲画素における入力画素値と前記入力画
素値に対応する2値出力画素値との差に基づく誤差の加
重和をとる手段と、前記誤差の加重和を用いて前記画像
信号の注目画素値を修正する手段と、外部から与えられ
る周期的スレッショルドを修正する手段と、前記修正さ
れたスレッショルドにより前記修正された注目画素値を
2値化し前記2値画像信号を出力する手段と、前記画像
信号と前記2値画像信号との前記注目画素値の誤差を計
算する手段と、前記計算された誤差を前記加重和を取る
手段に帰還する手段とを備える。
[Means for Solving the Problems] The pseudo halftone processing device of the present invention is a pseudo halftone image processing device that binarizes a multivalued image signal and outputs it as a binary image signal. means for calculating a weighted sum of errors based on the difference between an input pixel value in surrounding pixels and a binary output pixel value corresponding to the input pixel value; and a means for calculating a pixel value of interest of the image signal using the weighted sum of the errors. means for modifying a periodic threshold given from the outside; means for binarizing the modified target pixel value using the modified threshold and outputting the binary image signal; The image forming apparatus includes means for calculating an error between the pixel value of interest and the binary image signal, and means for feeding back the calculated error to the means for calculating the weighted sum.

【0008】[0008]

【作用】従来の疑似中間調画像処理装置の周期的誤差拡
散方式においては、ディザマトリクスとして与えられる
スレッショルドを用いて2値化していた。そのため、文
字などの2値画像を入力した場合には、線が切れたり、
エッジがぼやけたりする不都合がみられた。そこで、入
力画像中の文字部分ではディザマトリクスで与えられる
周期的に変動するスレッショルドを固定にしてやれば、
上記不都合は起きない。
[Operation] In the periodic error diffusion method of the conventional pseudo-halftone image processing apparatus, binarization is performed using a threshold given as a dither matrix. Therefore, when inputting binary images such as characters, lines may be cut off or
Inconveniences such as edges becoming blurred were observed. Therefore, if we fix the periodically fluctuating threshold given by the dither matrix for the character part of the input image,
The above inconvenience will not occur.

【0009】第1の本発明は、既に2値化された複数の
周囲画素における入力画素値とこの入力画素値に対応す
る2値出力画素値との差に基づく誤差の加重和をとる手
段と、誤差加重和を用いて入力の画像信号の注目画素値
を修正する手段と、外部から与えられる周期的スレッシ
ョルドを修正する手段と、修正されたスレッショルドに
より修正された注目画素値を2値化し前記2値画像信号
を出力する手段と、出力の2値画像信号と入力の注目画
素値の誤差を計算する手段と、計算された誤差を加重和
を取る手段に帰還する手段とを備える。
The first aspect of the present invention includes means for calculating a weighted sum of errors based on the difference between an input pixel value of a plurality of surrounding pixels that have already been binarized and a binary output pixel value corresponding to this input pixel value. , means for modifying the pixel value of interest of the input image signal using the error weighted sum; means for modifying a periodic threshold given from the outside; and means for binarizing the pixel value of interest modified by the modified threshold. The apparatus includes means for outputting a binary image signal, means for calculating an error between the output binary image signal and the input pixel value of interest, and means for feeding back the calculated error to the means for calculating a weighted sum.

【0010】第2の本発明は、入力画像毎に利用者が文
字を再生するか、中間調を再生するかを設定し、文字を
再生する場合には、ディザマトリクスに0を乗算して、
実質的にスレッショルドを固定にし、切れやぼやけのな
い2値化を行なう。中間調を再生する場合には、ディザ
マトリクスに1を乗算して従来の誤差拡散方式による2
値化を行なう。
[0010] In the second aspect of the present invention, the user sets whether to reproduce characters or halftones for each input image, and when reproducing characters, multiplies the dither matrix by 0,
The threshold is substantially fixed, and binarization is performed without cutting or blurring. When reproducing halftones, the dither matrix is multiplied by 1 and the conventional error diffusion method is used to reproduce the 2
Perform valorization.

【0011】第3の本発明は、画像入力に先立ち、利用
者が入力画像中の文字の領域を指定し、指定された文字
領域ではディザマトリクスに0を乗算して、実質的にス
レッショルドを固定にし、切れやぼやけのない2値化を
行なう。文字領域以外ではディザマトリクスに1を乗算
して従来の誤差拡散方式による2値化を行なう。
[0011] In the third aspect of the present invention, before inputting an image, the user specifies a character area in the input image, and in the specified character area, the dither matrix is multiplied by 0 to substantially fix the threshold. to perform binarization without cutting or blurring. In areas other than character areas, the dither matrix is multiplied by 1 to perform binarization using the conventional error diffusion method.

【0012】第4の本発明は、文字などの2値画像では
エッジの部分で輝度レベルが大きく変化することを利用
して自動的に外部から与えられるディザマトリクスの振
幅を制御し、ノッチの発生しない2値化を行なう。すな
わち、注目画素とその周囲の画素の輝度レベルの変化を
測定し、輝度レベルの変化が予め設定された値よりも大
きいときには文字などのエッジ部分であると判断し、デ
ィザマトリクスに0を乗算して実質的に固定のスレッシ
ョルドで2値化されるようにして線の切れやエッジのぼ
やけの少ない2値化を行ない、そうでないときにはディ
ザマトリクスに1を乗算して従来の周期的誤差拡散方式
による2値化を行なう。
The fourth aspect of the present invention utilizes the fact that the brightness level changes greatly at the edges of binary images such as characters, and automatically controls the amplitude of an externally applied dither matrix to prevent the occurrence of notches. Perform binarization without In other words, the change in brightness level of the pixel of interest and its surrounding pixels is measured, and if the change in brightness level is larger than a preset value, it is determined that it is an edge part of a character, etc., and the dither matrix is multiplied by 0. The dither matrix is multiplied by 1 and the conventional periodic error diffusion method is used to perform binarization with a virtually fixed threshold to reduce line breakage and edge blurring. Perform binarization.

【0013】第5の本発明は、文字などの2値画像では
エッジ部分で輝度レベルが大きく変化することを利用し
て自動的に外部から与えられるディザマトリクスの振幅
を制御し、ノッチの発生しない2値化を行なう。すなわ
ち、注目画素とその周囲の画素の輝度レベルの変化を測
定し、輝度レベルの変化値の逆数を0から1に正規化し
、その正規化さた値を誤差のディザマトリクスに乗算す
る。こうすることにより、輝度レベル変化の大きい所、
つまり文字等のエッジの部分では0に近い値がディザマ
トリクスに乗算されることになり、線の切れやエッジの
ぼやけの少ない2値化が行なわれる。また、輝度レベル
変化の少ない所、つまり写真などの連続階調画像の部分
では1に近い値がディザマトリクスに乗算されることに
なり、従来の周期的誤差拡散方式による2値化が行なわ
れる。
The fifth aspect of the present invention utilizes the fact that in binary images such as characters, the brightness level changes greatly at the edge portions, and automatically controls the amplitude of the externally applied dither matrix, thereby preventing the occurrence of notches. Perform binarization. That is, the change in brightness level of the pixel of interest and its surrounding pixels is measured, the reciprocal of the change in brightness level is normalized from 0 to 1, and the error dither matrix is multiplied by the normalized value. By doing this, places with large changes in brightness level,
In other words, the dither matrix is multiplied by a value close to 0 in edge portions of characters, etc., and binarization is performed with less line breakage and edge blurring. Furthermore, in areas where the luminance level changes are small, that is, parts of continuous tone images such as photographs, the dither matrix is multiplied by a value close to 1, and binarization is performed using the conventional periodic error diffusion method.

【0014】第6の本発明は、網点写真では白から黒、
黒から白への反転回数が多いことを利用して自動的に外
部から与えられるディザマトリクスの振幅を制御し、ノ
ッチの発生しない2値化を行なう。すなわち、注目画素
を含む領域を設定し、その領域内での出力2値画像の白
黒の反転回数を計測し、その反転回数が予め設定された
値よりも大きいときには網点写真領域であると判断し、
ディザマトリクスに1を乗算して従来の周期的誤差拡散
方式による2値化を行なう。そうでないときには文字な
どのエッジ部分であると判断し、ディザマトリクスに0
を乗算して実質的に固定のスレッショルドで2値化され
るようにして線の切れやエッジのぼやけの少ない2値化
を行なう。
The sixth aspect of the present invention is that in halftone photographs, from white to black,
Taking advantage of the large number of inversions from black to white, the amplitude of the externally applied dither matrix is automatically controlled to perform binarization without the occurrence of notches. That is, a region containing the pixel of interest is set, the number of times the output binary image is inverted in black and white within that region is measured, and if the number of inversions is greater than a preset value, it is determined that it is a halftone photographic region. death,
The dither matrix is multiplied by 1 to perform binarization using the conventional periodic error diffusion method. If not, it is determined that it is an edge part of a character, etc., and the dither matrix is set to 0.
is multiplied so as to perform binarization with a substantially fixed threshold, thereby performing binarization with fewer line breaks and less blurred edges.

【0015】第7の本発明は、網点写真では白から黒、
黒から白への反転回数が多いことを利用して自動的に外
部から与えられるディザマトリクスの振幅を制御し、ノ
ッチの発生しない2値化を行なう。すなわち、注目画素
を含む領域を設定し、その領域内での出力2値画像の白
黒の反転回数を計測し、その反転回数を0から1に正規
化し、この正規化された値をディザマトリクスに乗算す
る。こうすることにより、反転回数の多い所、つまり網
点写真領域では1に近い値がディザマトリクスに乗算さ
れることになり、従来の周期的誤差拡散方式による2値
化が行なわれる。また、反転回数の少ない所、つまり文
字等のエッジ部分では0に近い値がディザマトリクスに
乗算されることになり、線の切れやエッジのぼやけの少
ない2値化が行なわれる。
The seventh aspect of the present invention is that in halftone photographs, from white to black,
Taking advantage of the large number of inversions from black to white, the amplitude of the externally applied dither matrix is automatically controlled to perform binarization without the occurrence of notches. In other words, a region containing the pixel of interest is set, the number of black and white inversions of the output binary image within that region is measured, the number of inversions is normalized from 0 to 1, and this normalized value is applied to the dither matrix. Multiply. By doing this, the dither matrix is multiplied by a value close to 1 in areas where the number of inversions is large, that is, in halftone photographic areas, and binarization is performed using the conventional periodic error diffusion method. Further, in areas where the number of inversions is small, that is, edge portions of characters, etc., the dither matrix is multiplied by a value close to 0, and binarization is performed with less line breakage and edge blurring.

【0016】第8の本発明は、網点写真では白から黒、
黒から白への反転回数が主走査方向、副走査方向共に多
いことを利用して自動的に外部から与えられるディザマ
トリクスの振幅を制御し、線の切れやエッジのぼやけの
発生しない2値化を行なう。すなわち、注目画素を含む
領域を設定し、その領域内での出力2値画像の白黒の反
転回数を主走査方向と副走査方向それぞれに計測し、両
者の積が予め設定された値よりも大きいときには網点写
真の部分であると判断し、ディザマトリクスに1を乗算
して従来の周期的誤差拡散方式による2値化を行なう。 そうでないときには文字などの線画部分であると判断し
、ディザマトリクスに0を乗算して実質的に固定のスレ
ッショルドで2値化されるようにして線の切れやエッジ
のぼやけの少ない2値化を行なう。
[0016] In the eighth aspect of the present invention, in halftone photographs, from white to black,
Taking advantage of the large number of inversions from black to white in both the main and sub-scanning directions, the amplitude of the externally applied dither matrix is automatically controlled, resulting in binarization without line breaks or edge blurring. Do the following. In other words, a region including the pixel of interest is set, and the number of black and white inversions of the output binary image within that region is measured in the main scanning direction and the sub-scanning direction, and the product of both is greater than a preset value. Sometimes, it is determined that it is a halftone photograph, the dither matrix is multiplied by 1, and binarization is performed using the conventional periodic error diffusion method. If this is not the case, it is determined that it is a line drawing part such as a character, and the dither matrix is multiplied by 0 so that the dither matrix is essentially binarized using a fixed threshold, resulting in binarization with fewer line breaks and edge blurring. Let's do it.

【0017】第9の本発明は、網点写真では白から黒、
黒から白への反転回数が主走査方向、副走査方向共に多
いことを利用して自動的に外部から与えられるディザマ
トリクスの振幅を制御し、線の切れやエッジのぼやけの
発生しない2値化を行なう。すなわち、注目画素を含む
領域を設定し、その領域内での出力2値画像の白黒の反
転回数を主走査方向と副走査方向それぞれに計測し、両
者の積を0から1に正規化し、この正規化された値をデ
ィザマトリクスに乗算する。こうすることにより、反転
回数の多い所、つまり網点写真領域では1に近い値がデ
ィザマトリクスに乗算されることになり、従来の周期的
誤差拡散方式による2値化が行なわれる。また、反転回
数の少ない所、つまり文字等の線画の部分では0に近い
値がディザマトリクスに乗算されることになり、線の切
れやエッジのぼやけの少ない2値化が行なわれる。
The ninth aspect of the present invention is that in halftone photographs, from white to black,
Taking advantage of the large number of inversions from black to white in both the main and sub-scanning directions, the amplitude of the externally applied dither matrix is automatically controlled, resulting in binarization without line breaks or edge blurring. Do the following. That is, a region including the pixel of interest is set, the number of black and white inversions of the output binary image within that region is measured in the main scanning direction and the sub-scanning direction, and the product of both is normalized from 0 to 1. Multiply the dither matrix by the normalized value. By doing this, the dither matrix is multiplied by a value close to 1 in areas where the number of inversions is large, that is, in halftone photographic areas, and binarization is performed using the conventional periodic error diffusion method. Further, in areas where the number of inversions is small, that is, in line drawings such as characters, the dither matrix is multiplied by a value close to 0, and binarization is performed with fewer line breaks and less blurred edges.

【0018】[0018]

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

【0019】図1は本発明の第1の実施例を示すブロッ
ク図であり、入力の画像信号は端子101から入力され
る。入力の画像信号は加算器16において、注目画素の
周辺画素で発生した誤差の加重和との和をとるという修
正が施され、2値化回路14に供給される。ディザマト
リクスが発生するスレッショルドは端子104から与え
られ、固定のスレッショルドは端子105からスレッシ
ョルド修正回路13に与えられ、端子103から利用者
が与えるパラメータに応じてスレッショルドが修正され
る。加算器16において得られる修正された注目画素値
との和と、修正されたスレッショルドとが2値化回路1
4において比較され、その結果である2値画像信号が端
子102から出力される。端子101から入力される画
像信号は多値であり、例えば8bitであるとすれば、
0〜255の値を取り得る。端子102から出力される
2値化画像信号は2値であるので通常は0または1の値
をとる。ただし、この0または1の値は入力の画像信号
に換算すると白と黒を表すので255と0に対応すると
考えられる。そこで、誤差計算回路15においては、修
正された入力の画像信号と、出力の2値化画像信号とを
入力の画像信号に対応するレベルに変換したものとの差
分をとって注目画素の誤差として出力する。誤差計算回
路15で計算された誤差は、誤差格納メモリー11に格
納され、注目画素の周辺画素での誤差の加重和が加重和
回路12において計算され、続く入力の画像信号の2値
化に使われる。
FIG. 1 is a block diagram showing a first embodiment of the present invention, in which an input image signal is input from a terminal 101. In FIG. The input image signal is corrected in an adder 16 by adding it to a weighted sum of errors occurring in surrounding pixels of the pixel of interest, and then supplied to the binarization circuit 14 . A threshold for generating a dither matrix is given from a terminal 104, a fixed threshold is given from a terminal 105 to a threshold modification circuit 13, and the threshold is modified according to a parameter given by the user from a terminal 103. The sum of the corrected pixel value of interest obtained in the adder 16 and the corrected threshold are added to the binarization circuit 1.
4, and the resulting binary image signal is output from the terminal 102. If the image signal input from the terminal 101 is multivalued, for example 8 bits,
It can take values from 0 to 255. Since the binary image signal outputted from the terminal 102 is binary, it usually takes a value of 0 or 1. However, since this value of 0 or 1 represents white and black when converted into an input image signal, it is considered that it corresponds to 255 and 0. Therefore, in the error calculation circuit 15, the difference between the corrected input image signal and the output binarized image signal converted to a level corresponding to the input image signal is calculated as the error of the pixel of interest. Output. The error calculated by the error calculation circuit 15 is stored in the error storage memory 11, and a weighted sum of errors in surrounding pixels of the pixel of interest is calculated in the weighted sum circuit 12 and used for binarizing the subsequent input image signal. be exposed.

【0020】図2は本発明のスレッショルド修正回路の
第2の実施例のブロック図であり、端子204には図1
の端子103から利用者が設定するパラメータが入力さ
れ、レジスタ21に蓄えられる。このパラメータは、文
字などの2値画像が入力される時には0、網点写真など
が入力されるときには1であるとする。ディザマトリク
スとして端子104経由で端子201に供給されるスレ
ッショルドの一例を図13に示す。これは4×4画素を
周期とした中央集中型のディザマトリクスである。ここ
では、入力の画像信号を8bit、つまり0から255
の値をとるとして、その範囲を16等分し、0が中心に
なるようにシフトしたスレッショルドを発生するように
している。この他にもBayer型のディザマトリクス
なども考えられる。このスレッショルドは乗算器22に
おいて利用者の設定した係数との積がとられる。ここで
、利用者が文字などの2値画像であると設定した場合に
は係数が0であるので、乗算器22の出力は常に0とな
る。また、網点写真などの場合は係数が1であるので、
乗算器22からは端子201に供給されるディザマトリ
クスのスレッショルドがそのまま出力される。加算器2
3においては端子203経由で図1の端子105から供
給される固定スレッショルドと乗算器22で修正された
ディザマトリクスのスレッショルドとの和がとられ、端
子202から出力される。ここで固定のスレッショルド
を128とし、端子202からの出力である修正のスレ
ッショルドが0から255の範囲になるようにする。
FIG. 2 is a block diagram of a second embodiment of the threshold correction circuit of the present invention, with terminal 204 shown in FIG.
Parameters set by the user are inputted from the terminal 103 of the computer and stored in the register 21. This parameter is assumed to be 0 when a binary image such as a character is input, and 1 when a halftone photograph or the like is input. FIG. 13 shows an example of a threshold supplied to the terminal 201 via the terminal 104 as a dither matrix. This is a centralized dither matrix with a period of 4×4 pixels. Here, the input image signal is 8 bits, that is, 0 to 255 bits.
, the range is divided into 16 equal parts, and thresholds shifted so that 0 is the center are generated. In addition to this, a Bayer type dither matrix can also be considered. This threshold is multiplied by a coefficient set by the user in the multiplier 22. Here, if the user sets the image to be a binary image such as a character, the coefficient is 0, so the output of the multiplier 22 is always 0. Also, in the case of halftone photographs, etc., the coefficient is 1, so
The multiplier 22 outputs the threshold of the dither matrix supplied to the terminal 201 as is. Adder 2
3, the fixed threshold supplied from the terminal 105 in FIG. Here, the fixed threshold is set to 128, and the modified threshold, which is the output from terminal 202, is set to range from 0 to 255.

【0021】図3は本発明のスレッショルド修正回路の
第3の実施例のブロック図であり、端子208には図1
の端子103から利用者が設定する領域を表すアドレス
が入力され、レジスタ24に蓄えられる。端子209を
経由して図示していないクロック発生器からクロックが
供給され、アドレスカウンタ27は注目画素のアドレス
を計数する。比較器28は注目画素のアドレスと利用者
が指定したアドレスとを比較して、係数を出力する。こ
の係数は、文字などの2値画像の領域では0、網点写真
などの領域では1である様に設定しておく。また、ここ
では簡単のため比較器28を一つしか描いていないが、
複数のレジスタ及び比較器を設けて複数の領域に対して
上記の係数を発生させることは簡単に実現できる。また
、主走査方向と副走査方向をそれぞれ独立に設定し、二
次元の領域を設定することも容易に実現できる。図13
に示すディザマトリクスにより端子104経由で端子2
05に供給されるスレッショルドは乗算器25において
利用者の設定した係数との積がとられる。ここで、文字
などの2値画像の領域では係数が0であるので、乗算器
25の出力は常に0となる。また、網点写真などの場合
は係数が1であるので、乗算器25からは端子205に
供給されるディザマトリクスのスレッショルドがそのま
ま出力される。加算器26においては端子207経由で
図1の端子105から供給される固定スレッショルドと
乗算器25で修正されたディザマトリクスのスレッショ
ルドとの和がとられ、端子206から出力される。
FIG. 3 is a block diagram of a third embodiment of the threshold correction circuit of the present invention, with terminal 208 shown in FIG.
An address representing an area set by the user is input from the terminal 103 of the controller 20 and stored in the register 24. A clock is supplied from a clock generator (not shown) via a terminal 209, and the address counter 27 counts the address of the pixel of interest. The comparator 28 compares the address of the pixel of interest with the address specified by the user and outputs a coefficient. This coefficient is set to 0 in areas of binary images such as characters, and 1 in areas such as halftone photographs. Also, although only one comparator 28 is drawn here for simplicity,
It is easy to provide multiple registers and comparators to generate the above coefficients for multiple areas. Furthermore, it is also possible to easily set the main scanning direction and the sub-scanning direction independently to set a two-dimensional area. Figure 13
Terminal 2 via terminal 104 by the dither matrix shown in
05 is multiplied by a coefficient set by the user in a multiplier 25. Here, since the coefficient is 0 in a binary image area such as a character, the output of the multiplier 25 is always 0. Further, in the case of a halftone photograph, etc., the coefficient is 1, so the multiplier 25 outputs the threshold of the dither matrix supplied to the terminal 205 as is. In the adder 26, the fixed threshold supplied from the terminal 105 in FIG.

【0022】図4は本発明の第4の実施例のブロック図
である。図4(a)において、入力の画像信号は端子1
01から入力される。入力の画像信号は加算器16にお
いて、注目画素の周辺画素で発生した誤差の加重和との
和をとるという修正が施され、2値化回路14に供給さ
れる。入力の画像信号はスレッショルド修正回路13a
にも与られ、注目画素とその周辺画素とのレベル差に基
づいてスレッショルドが修正される。加算器16におい
て得られる修正された注目画素値との和と、修正された
スレッショルドとが2値化回路14において比較され、
その結果である2値画像信号が端子102から出力され
る。端子101から入力される画像信号は多値であり、
例えば8bitであるとすれば、0〜255の値を取り
得る。端子102から出力される2値化画像信号は2値
であるので通常は0または1の値をとる。ただし、この
0または1の値は入力の画像信号に換算すると白と黒を
表すので255と0に対応すると考えられる。そこで、
誤差計算回路15においては、修正された入力の画像信
号と、出力の2値化画像信号とを入力の画像信号に対応
するレベルに変換したものとの差分をとって注目画素の
誤差として出力する。誤差計算回路15で計算された誤
差は、誤差格納メモリー11に格納され、注目画素の周
辺画素での誤差の加重和が加重和回路12において計算
され、続く入力の画像信号の2値化に使われる。
FIG. 4 is a block diagram of a fourth embodiment of the present invention. In FIG. 4(a), the input image signal is at terminal 1.
It is input from 01. The input image signal is corrected in an adder 16 by adding it to a weighted sum of errors occurring in surrounding pixels of the pixel of interest, and then supplied to the binarization circuit 14 . The input image signal is sent to the threshold correction circuit 13a.
is also given, and the threshold is modified based on the level difference between the pixel of interest and its surrounding pixels. The sum of the corrected pixel value of interest obtained in the adder 16 and the corrected threshold are compared in the binarization circuit 14,
The resulting binary image signal is output from terminal 102. The image signal input from the terminal 101 is multivalued,
For example, if it is 8 bits, it can take values from 0 to 255. Since the binary image signal outputted from the terminal 102 is binary, it usually takes a value of 0 or 1. However, since this value of 0 or 1 represents white and black when converted into an input image signal, it is considered that it corresponds to 255 and 0. Therefore,
The error calculation circuit 15 calculates the difference between the corrected input image signal and the output binary image signal converted to a level corresponding to the input image signal, and outputs the difference as an error of the pixel of interest. . The error calculated by the error calculation circuit 15 is stored in the error storage memory 11, and a weighted sum of errors in surrounding pixels of the pixel of interest is calculated in the weighted sum circuit 12 and used for binarizing the subsequent input image signal. be exposed.

【0023】図4(b)は本発明のスレッショルド修正
回路の第4の実施例のブロック図であり、端子203に
は画像信号が入力される。1画素遅延素子24aを経由
した画素の輝度レベル値と現注目画素との輝度レベル値
の差分が減算器26aでとられる。この減算器26aは
差分の絶対値を出力する。また、1ライン遅延素子25
aを経由した画素の輝度レベル値と現注目画素の輝度レ
ベル値との差分も減算器27aで計算される。この減算
器27aも減算貴26aと同様に差分の絶対値を出力す
る。減算器26aおよび27aの出力は加算器28aで
加算される。現注目画素と周辺画素のレベル差をとるこ
とにより、現注目画素が文字などの2値画像のエッジ部
分であるかどうかが判断できる。加算器28aの出力は
、比較器21aにおいて端子204経由で外部から供給
されるスレッショルドと比較される。このスレッショル
ドよりも加算器28aの出力が大きな値をとれば現注目
画素はエッジの部分にあるとして、比較器21aでは0
を出力する。そうでない場合には比較器21aは1を出
力する。端子201から供給されるディザマトリクスは
、乗算器22において比較器21aの出力との積がとら
れる。ここで、周辺画素と注目画素とのレベル差の大小
から文字などの2値画像のエッジであると判断された場
合には比較器21aの出力が0であるので、乗算器22
aの出力は常に0となる。また、文字などの2値画像の
エッジではないと判断された場合は係数が1であるので
、乗算器22aからは端子201から供給されるディザ
マトリクスがそのまま出力される。加算器23aにおい
ては端子205経由で外部から供給される固定スレッシ
ョルドと、乗算器22aの出力である比較器21aの出
力とディザマトリクスとの積の和がとられ、端子202
から出力され、図4(a)の2値化回路14に供給され
る。
FIG. 4(b) is a block diagram of a fourth embodiment of the threshold correction circuit of the present invention, in which an image signal is input to a terminal 203. A subtracter 26a calculates the difference between the luminance level value of the pixel that has passed through the one-pixel delay element 24a and the luminance level value of the current pixel of interest. This subtracter 26a outputs the absolute value of the difference. In addition, the 1-line delay element 25
The subtractor 27a also calculates the difference between the brightness level value of the pixel that has passed through a and the brightness level value of the current pixel of interest. This subtracter 27a also outputs the absolute value of the difference similarly to the subtractor 26a. The outputs of subtracters 26a and 27a are added by adder 28a. By determining the level difference between the current pixel of interest and surrounding pixels, it can be determined whether the current pixel of interest is an edge portion of a binary image such as a character. The output of adder 28a is compared with a threshold supplied externally via terminal 204 in comparator 21a. If the output of the adder 28a takes a value larger than this threshold, it is assumed that the current pixel of interest is on the edge, and the comparator 21a outputs 0.
Output. Otherwise, comparator 21a outputs 1. A multiplier 22 multiplies the dither matrix supplied from the terminal 201 with the output of the comparator 21a. Here, if it is determined that it is an edge of a binary image such as a character based on the magnitude of the level difference between the surrounding pixels and the pixel of interest, the output of the comparator 21a is 0, so the multiplier 22
The output of a is always 0. Furthermore, if it is determined that the edge is not an edge of a binary image such as a character, the coefficient is 1, so the multiplier 22a outputs the dither matrix supplied from the terminal 201 as is. In the adder 23a, the product of the fixed threshold supplied from the outside via the terminal 205, the output of the comparator 21a, which is the output of the multiplier 22a, and the dither matrix is summed.
The signal is output from the digitizer and supplied to the binarization circuit 14 in FIG. 4(a).

【0024】ディザマトリクスとして端子201に供給
されるスレッショルドの一例を図13に示す。これは4
×4画素を周期とした中央集中型のディザマトリクスで
ある。ここでは、入力の画像信号を8bit、つまり0
から255の値をとるとして、その範囲を16等分し、
0が中心になるようにシフトしたスレッショルドを発生
するようにしている。この他にもBayer型のディザ
マトリクスなども考えられる。このスレッショルドは乗
算器22aで修正され、加算器23aにおいては端子2
05から供給される固定スレッショルドとの和がとられ
、端子202から出力される。ここで固定のスレッショ
ルドを128とし、端子202からの出力で修正された
スレッショルドが0から255の範囲になるようにする
An example of a threshold supplied to terminal 201 as a dither matrix is shown in FIG. This is 4
This is a centralized dither matrix with a period of ×4 pixels. Here, the input image signal is 8 bits, that is, 0
Assuming that we take a value of 255 from , divide the range into 16 equal parts,
A shifted threshold is generated so that 0 is the center. In addition to this, a Bayer type dither matrix can also be considered. This threshold is modified in multiplier 22a, and in adder 23a, terminal 2
The sum with the fixed threshold supplied from 05 is taken and output from terminal 202. Here, the fixed threshold is set to 128, and the threshold modified by the output from the terminal 202 is set to be in the range of 0 to 255.

【0025】図5は本発明のスレッショルド修正回路の
第5の実施例のブロック図であり、入力の画像信号は端
子209から供給される。1画素遅延素子214を経由
した画素の輝度レベル値と現注目画素の輝度レベル値と
の差分が減算器216でとられる。この減算器216は
差分の絶対値を出力する。また、1ライン遅延素子21
5を経由した画素の輝度レベル値と現注目画素の輝度レ
ベル値との差分も減算器217で計算される。この減算
器217も減算器216と同様に差分の絶対値を出力す
る。減算器216および217の出力は加算器218で
加算される。文字などの2値画像のエッジの部分では、
現注目画素と周辺画素のレベル差が大きくなる。そこで
、このレベル差により、現注目画素がどの程度2値画像
らしいかが判断できる。加算器218の出力は、入力の
画像信号が8bitであるとすると、0から510の値
をとり得る。正規化回路211は、この0から510の
値を1から0という範囲の値に変換して出力する。変換
の方法は、逆数をとってからシフトする、線形内挿を行
なうなど種々考えられる。いずれにしてもROM(読み
出し専用メモリー)で実現できる。図13に一例を示す
ディザマトリクスは端子208から供給され、乗算器2
12において正規化回路211の出力との積がとられる
。加算器213においては端子206から供給される固
定スレッショルドと乗算器212で修正されたディザマ
トリクスとの和がとられ、端子207から出力され、図
4(a)の2値化回路14に供給される。
FIG. 5 is a block diagram of a fifth embodiment of the threshold correction circuit of the present invention, in which the input image signal is supplied from terminal 209. A subtracter 216 calculates the difference between the brightness level value of the pixel that has passed through the one-pixel delay element 214 and the brightness level value of the current pixel of interest. This subtracter 216 outputs the absolute value of the difference. In addition, the 1-line delay element 21
The subtractor 217 also calculates the difference between the brightness level value of the pixel that has passed through the pixel 5 and the brightness level value of the current pixel of interest. This subtracter 217 also outputs the absolute value of the difference, similar to the subtracter 216. The outputs of subtracters 216 and 217 are added by adder 218. At the edges of binary images such as characters,
The level difference between the current pixel of interest and surrounding pixels increases. Therefore, based on this level difference, it can be determined to what extent the current pixel of interest is likely to be a binary image. The output of the adder 218 can take a value from 0 to 510, assuming that the input image signal is 8 bits. The normalization circuit 211 converts this value from 0 to 510 into a value in the range from 1 to 0 and outputs it. Various methods of conversion can be considered, such as taking the reciprocal and then shifting, or performing linear interpolation. In any case, it can be realized using ROM (read-only memory). A dither matrix, an example of which is shown in FIG.
12, the product with the output of the normalization circuit 211 is taken. In the adder 213, the fixed threshold supplied from the terminal 206 and the dither matrix modified by the multiplier 212 are summed, outputted from the terminal 207, and supplied to the binarization circuit 14 in FIG. 4(a). Ru.

【0026】図6は本発明のスレッショルド修正回路の
第6の実施例のブロック図であり、端子205には2値
画像信号が入力される。変化点検出器24bは2値画像
信号が白から黒へ、また黒から白への変化を検出する。 変化した場合には加算器27bにおいて、レジスタ29
bの内容に1を加える。変化が検出されなかった場合に
は何も加算しない。変化点を計数する範囲をN画素(N
は1以上の整数)として、N画素遅延素子26bで遅延
された画素が変化点検出器25bに入力される。変化が
検出されると、減算器28bにおいて加算器27bの出
力から1が減算される。変化が検出されない場合には何
も減算しない。減算器28bの出力は比較器21bに入
力されると同時にレジスタ29bに蓄えられる。レジス
タ29bは走査線の最初で0にリセットされるので、レ
ジスタ29bには走査線上のN画素の範囲内の変化点の
数が蓄えられることになる。比較器21bではこの変化
点数と端子204から入力されるスレッショルドとの比
較が行なわれる。外部から与えられるスレッショルドよ
りも変化点数の方が多ければ、網点写真領域であると判
断されるので、比較器21bは値1を出力する。また、
そうでない時には値0を出力する。端子201から供給
されるディザマトリクスは、乗算器22bにおいて比較
器21bの出力との積がとられる。ここで、文字などの
2値画像であると判断された場合には比較器21bの出
力が0であるので、乗算器22bの出力は常に0となる
。また、網点写真領域であると判断された場合は係数が
1であるので、乗算器22bでは端子201から供給さ
れるディザマトリクスをそのまま出力する。加算器23
bにおいては端子203から供給される固定スレッショ
ルドと、乗算器22bの出力である比較器21bの出力
とディザマトリクスとの積の和がとられ、端子202か
ら出力され、図4(a)の2値化回路14に供給される
FIG. 6 is a block diagram of a sixth embodiment of the threshold correction circuit of the present invention, in which a binary image signal is input to a terminal 205. The change point detector 24b detects a change in the binary image signal from white to black or from black to white. If the change has occurred, the register 29 is changed in the adder 27b.
Add 1 to the contents of b. If no change is detected, nothing is added. The range for counting change points is N pixels (N
is an integer greater than or equal to 1), the pixels delayed by the N pixel delay element 26b are input to the change point detector 25b. When a change is detected, the subtracter 28b subtracts 1 from the output of the adder 27b. If no change is detected, nothing is subtracted. The output of the subtracter 28b is input to the comparator 21b and simultaneously stored in the register 29b. Since the register 29b is reset to 0 at the beginning of the scanning line, the number of change points within the range of N pixels on the scanning line is stored in the register 29b. The comparator 21b compares this number of change points with a threshold input from the terminal 204. If the number of change points is greater than the threshold given from the outside, it is determined that the area is a halftone photographic area, so the comparator 21b outputs a value of 1. Also,
Otherwise, it outputs the value 0. The dither matrix supplied from the terminal 201 is multiplied by the output of the comparator 21b in the multiplier 22b. Here, if it is determined that the image is a binary image such as a character, the output of the comparator 21b is 0, so the output of the multiplier 22b is always 0. Furthermore, if it is determined that the area is a halftone photographic area, the coefficient is 1, so the multiplier 22b outputs the dither matrix supplied from the terminal 201 as is. Adder 23
At b, the product of the fixed threshold supplied from the terminal 203, the output of the comparator 21b, which is the output of the multiplier 22b, and the dither matrix is summed, and the product is output from the terminal 202. The signal is supplied to the value conversion circuit 14.

【0027】ディザマトリクスから端子201に供給さ
れるスレッショルドの一例を図6に示す。これは4×4
画素を周期とした中央集中型のディザマトリクスである
。ここでは、入力の画像信号を8bit、つまり0から
255の値をとるとして、その範囲を16等分し、0が
中心になるようにシフトしたスレッショルドを発生する
ようにしている。この他にもBayer型のディザマト
リクスなども考えられる。このスレッショルドは乗算器
22bで修正され、加算器23bにおいては端子203
から供給される固定スレッショルドとの和がとられ、端
子202から出力される。ここで固定のスレッショルド
を128とし、端子202からの出力である修正された
スレッショルドが0から255の範囲になるようにする
FIG. 6 shows an example of the threshold supplied to the terminal 201 from the dither matrix. This is 4×4
This is a centralized dither matrix with a period of pixels. Here, assuming that the input image signal is 8 bits, that is, takes values from 0 to 255, the range is divided into 16 equal parts, and thresholds shifted so that 0 is the center are generated. In addition to this, a Bayer type dither matrix can also be considered. This threshold is modified in multiplier 22b, and in adder 23b, terminal 203
is summed with a fixed threshold supplied from the terminal 202 and output from the terminal 202. Here, the fixed threshold is 128, and the modified threshold output from terminal 202 is in the range 0 to 255.

【0028】図7は本発明のスレッショルド修正回路の
第7の実施例のブロック図であり、端子209には2値
画像信号が入力される。変化点検出器214bは2値画
像信号が白から黒へ、また黒から白への変化を検出する
。変化した場合には加算器217bにおいて、レジスタ
219bの内容に1を加える。変化が検出されなかった
場合には何も加算しない。変化点を計数する範囲をN画
素(Nは1以上の整数)として、N画素遅延素子216
bで遅延された画素が変化点検出器215bに入力され
る。変化が検出されると、減算器218bにおいて加算
器217bの出力から1が減算される。変化が検出され
ない場合には何も減算しない。減算器218bの出力は
正規化回路211bに入力されると同時にレジスタ21
9bに蓄えられる。レジスタ219bは走査線の最初で
0にリセットされるので、レジスタ219bには走査線
上のN画素の範囲内の変化点の数が蓄えられることにな
る。正規化回路211bではこの変化点数を0から1に
正規化する。変化点数を計数する範囲がNであるので、
変化点数は最大でN−1であり、最小で0である。 従って、変化点数をN−1で除算すれば0から1に正規
化された値が得られる。また、非線形な特性を持たせて
もよい。いずれにしても、ROM(読みだし専用メモリ
ー)で実現できる。図13に一例を示すディザマトリク
スは端子206から供給され、乗算器212bにおいて
正規化回路211bの出力との積がとられる。加算器2
13bにおいては端子208から供給される固定スレッ
ショルドと乗算器212bで修正されたディザマトリク
スとの和がとられ、端子207から出力され、図4(a
)の2値化回路14に供給される。
FIG. 7 is a block diagram of a seventh embodiment of the threshold correction circuit of the present invention, in which a binary image signal is input to a terminal 209. The change point detector 214b detects a change in the binary image signal from white to black or from black to white. If the value has changed, the adder 217b adds 1 to the contents of the register 219b. If no change is detected, nothing is added. Assuming that the range for counting change points is N pixels (N is an integer greater than or equal to 1), the N pixel delay element 216
The pixel delayed by b is input to the change point detector 215b. When a change is detected, 1 is subtracted from the output of adder 217b in subtracter 218b. If no change is detected, nothing is subtracted. The output of the subtracter 218b is input to the normalization circuit 211b, and at the same time, the output is input to the register 21.
Stored in 9b. Since the register 219b is reset to 0 at the beginning of the scanning line, the number of change points within the range of N pixels on the scanning line is stored in the register 219b. The normalization circuit 211b normalizes this number of change points from 0 to 1. Since the range for counting the number of change points is N,
The maximum number of change points is N-1 and the minimum is 0. Therefore, by dividing the number of change points by N-1, a value normalized from 0 to 1 can be obtained. Furthermore, it may have nonlinear characteristics. In any case, it can be realized using ROM (read-only memory). The dither matrix, an example of which is shown in FIG. 13, is supplied from the terminal 206 and multiplied by the output of the normalization circuit 211b in the multiplier 212b. Adder 2
13b, the fixed threshold supplied from the terminal 208 and the dither matrix modified by the multiplier 212b are summed and output from the terminal 207, as shown in FIG.
) is supplied to the binarization circuit 14.

【0029】図8は本発明のスレッショルド修正回路の
第8の実施例のブロック図であり、端子204には2値
画像信号が入力される。変化点検出器214Aは2値画
像信号が白から黒へ、また黒から白への変化を検出する
。変化した場合には加算器219Aにおいて、レジスタ
218Aの内容に1を加える。変化が検出されなかった
場合には何も加算されない。変化点を計数する範囲をN
画素(Nは1以上の整数)として、1画素遅延素子を2
9A、29B…と(N−1)個ならべ、N画素遅延され
た出力を変化点検出器214Nに入力する。変化点検出
器214Nで変化が検出されると、減算器220Aにお
いて加算器219Aの出力から1が減算される。変化が
検出されない場合には何も減算しない。減算器220A
の出力は加算器25Bに入力されると同時にレジスタ2
18Aに蓄えられる。レジスタ218Aは走査線の最初
で0にリセットされるので、レジスタ218Aには走査
線上のN画素の範囲内の変化点の数が蓄えられることに
なる。N画素遅延された画素は1ラインよりN画素少な
い遅延素子211Aによって合計1ライン分の遅延を受
け、N画素遅延素子212に入力される。ここでも同様
に変化点検出器215Aと215Bによって変化点が検
出され、レジスタ218B、加算器219B、減算器2
20Bによって1ライン前のN画素の範囲内の変化点の
数がレジスタ218Bに蓄えられる。これはNライン分
繰り返される。その結果、レジスタ218Aから218
NにはNライン分の変化点数が蓄えられる。それぞれの
変化点数は加算器25Bにおいてその合計が計算される
FIG. 8 is a block diagram of an eighth embodiment of the threshold correction circuit of the present invention, in which a binary image signal is input to a terminal 204. The change point detector 214A detects a change in the binary image signal from white to black or from black to white. If the value has changed, adder 219A adds 1 to the contents of register 218A. If no change is detected, nothing is added. The range for counting change points is N
As a pixel (N is an integer greater than or equal to 1), one pixel delay element is
9A, 29B, . . . (N-1) are arranged, and the outputs delayed by N pixels are input to the change point detector 214N. When a change is detected by the change point detector 214N, a subtracter 220A subtracts 1 from the output of the adder 219A. If no change is detected, nothing is subtracted. Subtractor 220A
The output of register 2 is input to adder 25B at the same time.
It is stored in 18A. Since register 218A is reset to 0 at the beginning of a scan line, register 218A stores the number of change points within a range of N pixels on the scan line. The pixels delayed by N pixels are delayed by a total of one line by the delay element 211A, which is N pixels less than one line, and are input to the N pixel delay element 212. Similarly, the change point is detected by the change point detectors 215A and 215B, and the change point is detected by the register 218B, the adder 219B, and the subtracter 2.
20B, the number of change points within the range of N pixels one line before is stored in the register 218B. This is repeated for N lines. As a result, registers 218A to 218
N stores the number of change points for N lines. The sum of the respective change points is calculated in the adder 25B.

【0030】同様の計算が副走査方向にも行なわれる。 変化点検出器214Aと217A、レジスタ28A、加
算器27A、減算器26Aによって注目画素を含む副走
査方向にNライン分の範囲内での変化点数がレジスタ2
8Aに蓄えられる。注目画素の1画素前の画素を含むN
ライン分の範囲内の変化点数はレジスタ28Bに蓄えら
れ、以下同様にレジスタ28Nまでに注目画素の(N−
1)画素前までの副走査方向の変化点数が蓄えられる。 これらの変化点数の合計が加算器25Aで計算される。
Similar calculations are also performed in the sub-scanning direction. Change point detectors 214A and 217A, register 28A, adder 27A, and subtracter 26A calculate the number of change points within a range of N lines in the sub-scanning direction including the pixel of interest in register 2.
It is stored at 8A. N including the pixel 1 pixel before the pixel of interest
The number of change points within the range of the line is stored in the register 28B, and similarly, the number of change points within the range of the line is stored in the register 28N.
1) The number of change points in the sub-scanning direction up to the previous pixel is stored. The sum of these change points is calculated by adder 25A.

【0031】副走査方向の変化点数の合計と主走査方向
の変化点数の合計は乗算器23Aでその積がとられる。 乗算器23Aの出力は比較器24Aにおいて、端子20
5から与えられるスレッショルドと比較される。外部か
ら与えられるスレッショルドよりも変化点数の方が多け
れば、網点写真領域であると判断し、比較器24Aは値
1を出力する。また、そうでない時には値0を出力する
。端子201から供給されるディザマトリクスは、乗算
器21Aにおいて比較器24Aの出力との積がとられる
。ここで、文字などの2値画像であると判断された場合
には比較器21Aの出力が0であるので、乗算器21A
の出力は常に0となる。また、網点写真領域であると判
断された場合は係数が1であるので、乗算器21Aから
は端子201から供給されるディザマトリクスがそのま
ま出力される。加算器22Aにおいては端子203から
供給される固定スレッショルドと、乗算器21Aの出力
である比較器24Aの出力とディザマトリクスとの積の
和がとられ、端子202から出力され、図4(a)の2
値化回路14に供給される。
A multiplier 23A calculates the product of the total number of change points in the sub-scanning direction and the total number of change points in the main scan direction. The output of the multiplier 23A is sent to the terminal 20 in the comparator 24A.
It is compared with the threshold given by 5. If the number of change points is greater than the threshold given from the outside, it is determined that the area is a halftone photographic area, and the comparator 24A outputs a value of 1. Also, if this is not the case, a value of 0 is output. The dither matrix supplied from terminal 201 is multiplied by the output of comparator 24A in multiplier 21A. Here, if it is determined that the image is a binary image such as a character, the output of the comparator 21A is 0, so the multiplier 21A
The output of is always 0. Furthermore, if it is determined that the area is a halftone photographic area, the coefficient is 1, so the multiplier 21A outputs the dither matrix supplied from the terminal 201 as is. In the adder 22A, the product of the fixed threshold supplied from the terminal 203, the output of the comparator 24A which is the output of the multiplier 21A, and the dither matrix is summed, and the sum is output from the terminal 202, as shown in FIG. 4(a). 2
The signal is supplied to the value conversion circuit 14.

【0032】ディザマトリクスから端子201に供給さ
れるスレッショルドの一例を図13に示す。これは4×
4画素を周期とした中央集中型のディザマトリクスであ
る。ここでは、入力の画像信号を8bit、つまり0か
ら255の値をとるとして、その範囲を16等分し、0
が中心になるようにシフトしたスレッショルドを発生す
るようにしている。この他にもBayer型のディザマ
トリクスなども考えられる。このスレッショルドは乗算
器21Aで修正され、加算器22Aにおいては端子20
3から供給される固定スレッショルドとの和がとられ、
端子202から出力される。ここで固定のスレッショル
ドを128とし、端子202からの出力で修正されたス
レッショルドが0から255の範囲になるようにする。
FIG. 13 shows an example of the threshold supplied to the terminal 201 from the dither matrix. This is 4x
This is a centralized dither matrix with a period of 4 pixels. Here, assuming that the input image signal is 8 bits, that is, takes values from 0 to 255, the range is divided into 16 equal parts, and 0
A threshold is generated that is shifted so that it is centered. In addition to this, a Bayer type dither matrix can also be considered. This threshold is modified in multiplier 21A and in adder 22A at terminal 20.
is summed with a fixed threshold provided by 3,
It is output from the terminal 202. Here, the fixed threshold is set to 128, and the threshold modified by the output from the terminal 202 is set to be in the range of 0 to 255.

【0033】図9は本発明のスレッショルド修正回路の
第9の実施例のブロック図であり、端子209には2値
画像信号が入力される。変化点検出器231Aは出力2
値画像信号が白から黒へ、また黒から白への変化を検出
する。変化した場合には加算器238Aにおいて、レジ
スタ237Aの内容に1を加える。変化が検出されなか
った場合には何も加算されない。変化点を計数する範囲
をN画素(Nは1以上の整数)として、1画素遅延素子
を229A、229B…と(N−1)個ならべ、N画素
遅延された出力を変化点検出器231Nに入力する。変
化点検出器231Nで変化が検出されると、減算器23
9Aにおいて加算器238Aの出力から1が減算される
。変化が検出されない場合には何も減算しない。減算器
239Aの出力は加算器225Bに入力されると同時に
レジスタ237Aに蓄えられる。レジスタ237Aは走
査線の最初で0にリセットされるので、レジスタ237
Aには走査線上のN画素の範囲内の変化点の数が蓄えら
れることになる。N画素遅延された画素は1ラインより
N画素少ない遅延素子230によって合計1ライン分の
遅延を受け、N画素遅延素子232に入力される。ここ
でも同様に変化点検出器234Aと234Bによって変
化点が検出され、レジスタ237B、加算器238B、
減算器239Bによって1ライン前のN画素の範囲内の
変化点の数がレジスタ237Bに蓄えられる。これはN
ライン分繰り返される。その結果、レジスタ237Aか
ら237NにはNライン分の変化点数が蓄えられる。そ
れぞれの変化点数は加算器225Bにおいてその合計が
計算される。
FIG. 9 is a block diagram of a ninth embodiment of the threshold correction circuit of the present invention, in which a binary image signal is input to a terminal 209. The change point detector 231A has output 2
Changes in the value image signal from white to black and from black to white are detected. If the value has changed, adder 238A adds 1 to the contents of register 237A. If no change is detected, nothing is added. Assuming that the range for counting change points is N pixels (N is an integer of 1 or more), (N-1) 1-pixel delay elements are arranged as 229A, 229B, etc., and the N-pixel delayed output is sent to the change point detector 231N. input. When a change is detected by the change point detector 231N, the subtracter 23
At 9A, 1 is subtracted from the output of adder 238A. If no change is detected, nothing is subtracted. The output of the subtracter 239A is input to the adder 225B and simultaneously stored in the register 237A. Since register 237A is reset to 0 at the beginning of the scan line, register 237A
The number of change points within the range of N pixels on the scanning line is stored in A. The pixels delayed by N pixels are delayed by a total of one line by delay elements 230 that are N pixels less than one line, and are input to an N pixel delay element 232 . Similarly, the change point is detected by change point detectors 234A and 234B, register 237B, adder 238B,
The number of change points within the range of N pixels one line before is stored in the register 237B by the subtracter 239B. This is N
Repeated for the line. As a result, the number of change points for N lines is stored in registers 237A to 237N. The sum of each number of change points is calculated by an adder 225B.

【0034】同様の計算が副走査方向にも行なわれる。 変化点検出器231Aと236A、レジスタ228A、
加算器227A、減算器226Aによって注目画素を含
む副走査方向にNライン分の範囲内での変化点数がレジ
スタ228Aに蓄えられる。注目画素の1画素前の画素
を含むNライン分の範囲内の変化点数はレジスタ228
Bに蓄えられ、以下同様にレジスタ228Nまでに注目
画素の(N−1)画素前までの副走査方向の変化点数が
蓄えられる。これらの変化点数の合計が加算器225A
で計算される。
Similar calculations are also performed in the sub-scanning direction. Change point detectors 231A and 236A, register 228A,
The number of change points within a range of N lines in the sub-scanning direction including the pixel of interest is stored in a register 228A by an adder 227A and a subtracter 226A. The number of change points within the range of N lines including the pixel before the pixel of interest is stored in the register 228.
Similarly, the number of change points in the sub-scanning direction up to (N-1) pixels before the pixel of interest is stored in the register 228N. The sum of these change points is added to the adder 225A.
is calculated.

【0035】副走査方向の変化点数の合計と主走査方向
の変化点数の合計は乗算器223でその積がとられる。
A multiplier 223 calculates the product of the total number of change points in the sub-scanning direction and the total number of change points in the main scan direction.

【0036】正規化回路224ではこの主走査方向の変
化点数と副走査方向の変化点数の積を0から1に正規化
する。変化点数を計数する範囲がN×Nであるので、変
化点数は最大で2N(N−1)であり、最小で0である
。従って、変化点数を2N(N−1)で除算すれば0か
ら1に正規化された値が得られる。また、非線形な特性
を持たせてもよい。いずれにしても、ROM(読みだし
専用メモリー)で実現できる。
The normalization circuit 224 normalizes the product of the number of change points in the main scanning direction and the number of change points in the sub-scan direction from 0 to 1. Since the range for counting the number of change points is N×N, the maximum number of change points is 2N(N-1) and the minimum is 0. Therefore, by dividing the number of change points by 2N (N-1), a value normalized from 0 to 1 can be obtained. Furthermore, it may have nonlinear characteristics. In any case, it can be realized using ROM (read-only memory).

【0037】図13に一例を示すディザマトリクスは端
子206から供給され、乗算器212において正規化回
路224の出力との積がとられる。加算器222におい
ては端子208から供給される固定スレッショルドと乗
算器221で修正されたディザマトリクスとの和がとら
れ、端子207から出力され、図4(a)の2値化回路
14に供給される。
A dither matrix, an example of which is shown in FIG. 13, is supplied from a terminal 206 and multiplied by the output of a normalization circuit 224 in a multiplier 212. In the adder 222, the fixed threshold supplied from the terminal 208 and the dither matrix modified by the multiplier 221 are summed, outputted from the terminal 207, and supplied to the binarization circuit 14 in FIG. 4(a). Ru.

【0038】図10は誤差格納メモリー11の詳細ブロ
ック図である。誤差計算回路15で計算された注目画素
における誤差は端子301から供給され、図に示すよう
に1ラインより2画素少ない遅延素子32Aおよび32
Bと1画素遅延素子31A〜31Jからなるメモリによ
って遅延され、端子302〜313に出力される。これ
らの端子に出力される誤差は図12に示す斜線の注目画
素の周囲に、端子番号をつけて図示した位置関係になっ
ている。
FIG. 10 is a detailed block diagram of the error storage memory 11. The error in the pixel of interest calculated by the error calculation circuit 15 is supplied from the terminal 301, and as shown in the figure, the error in the pixel of interest calculated by the error calculation circuit 15 is supplied to the delay elements 32A and 32, which are two pixels smaller than one line.
B and a memory including one-pixel delay elements 31A to 31J, and output to terminals 302 to 313. The errors output to these terminals have the positional relationship shown in FIG. 12 with terminal numbers attached around the diagonally shaded pixel of interest.

【0039】図11は加重和回路12の詳細ブロック図
である。誤差格納メモリー11から出力される周囲画素
における誤差は端子302から313を介して入力され
る。それぞれの位置に対応する計数s1からs12が乗
算器41Aから41Lで乗算され、加算器42Aから4
2Kで総和がとられ端子401に出力される。ここで用
いる係数には、例えば、s1=0.10,s2=0.1
5,s3=0.06,s4=0.10,s5=0.15
,s6=0.10,s7=0.06,s8=0.03,
s9=0.06,s10=0.10,s11=0.06
,s12=0.03などを用いる。なお、これらの係数
は経験的に求めるものである。
FIG. 11 is a detailed block diagram of the weighted sum circuit 12. Errors in surrounding pixels outputted from the error storage memory 11 are inputted via terminals 302 to 313. Counts s1 to s12 corresponding to each position are multiplied by multipliers 41A to 41L, and adders 42A to 4
A total sum of 2K is taken and outputted to the terminal 401. The coefficients used here include, for example, s1=0.10, s2=0.1
5, s3=0.06, s4=0.10, s5=0.15
, s6=0.10, s7=0.06, s8=0.03,
s9=0.06, s10=0.10, s11=0.06
, s12=0.03, etc. are used. Note that these coefficients are obtained empirically.

【0040】[0040]

【発明の効果】以上説明したように本発明は、外部から
与えられるスレッショルドにより入力の画像信号が修正
された注目画素値を2値化し2値画像信号を出力する手
段と、画像信号と2値画像信号との注目画素値の誤差を
計算する手段と、計算された誤差を加重和を取る手段に
帰還する手段とを有することにより、網点写真のような
疑似中間調画像や写真のような連続階調画像と文字など
の2値画像の両方に対処することが出来、双方の画質を
損なうことなく、2値画像信号を生成することが出来る
As explained above, the present invention provides a means for outputting a binary image signal by binarizing a pixel value of interest whose input image signal is corrected by a threshold applied from the outside, and a means for outputting a binary image signal. By having a means for calculating the error of the pixel value of interest with the image signal, and a means for feeding back the calculated error to the means for calculating the weighted sum, it is possible to create a pseudo halftone image such as a halftone photograph or a photograph. It can handle both continuous tone images and binary images such as characters, and can generate binary image signals without impairing the image quality of both.

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

【図1】本発明の第1の実施例のブロック図である。FIG. 1 is a block diagram of a first embodiment of the invention.

【図2】本発明の第2の実施例のスレッショルド修正回
路のブロック図である。
FIG. 2 is a block diagram of a threshold correction circuit according to a second embodiment of the present invention.

【図3】本発明の第3の実施例のスレッショルド修正回
路のブロック図である。
FIG. 3 is a block diagram of a threshold correction circuit according to a third embodiment of the present invention.

【図4】本発明の第4の実施例のブロック図である。FIG. 4 is a block diagram of a fourth embodiment of the present invention.

【図5】本発明の第5の実施例のスレッショルド修正回
路のブロック図である。
FIG. 5 is a block diagram of a threshold correction circuit according to a fifth embodiment of the present invention.

【図6】本発明の第6の実施例のスレッショルド修正回
路のブロック図である。
FIG. 6 is a block diagram of a threshold correction circuit according to a sixth embodiment of the present invention.

【図7】本発明の第7の実施例のスレッショルド修正回
路のブロック図である。
FIG. 7 is a block diagram of a threshold correction circuit according to a seventh embodiment of the present invention.

【図8】本発明の第8の実施例のスレッショルド修正回
路のブロック図である。
FIG. 8 is a block diagram of a threshold correction circuit according to an eighth embodiment of the present invention.

【図9】本発明の第9の実施例のスレッショルド修正回
路のブロック図である。
FIG. 9 is a block diagram of a threshold correction circuit according to a ninth embodiment of the present invention.

【図10】本実施例の誤差格納メモリーの詳細ブロック
図である。
FIG. 10 is a detailed block diagram of the error storage memory of this embodiment.

【図11】本実施例の加重和回路の詳細ブロック図であ
る。
FIG. 11 is a detailed block diagram of the weighted sum circuit of this embodiment.

【図12】本実施例の誤差格納メモリーにおける注目画
素と周辺画素とを示す図である。
FIG. 12 is a diagram showing a pixel of interest and peripheral pixels in the error storage memory of this embodiment.

【図13】ディザマトリクスの一例を示す図である。FIG. 13 is a diagram showing an example of a dither matrix.

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

11    誤差格納メモリー 12    加重和回路 13    加重和修正回路 14    2値化回路 15    誤差計算回路 11 Error storage memory 12 Weighted sum circuit 13 Weighted sum correction circuit 14 Binarization circuit 15 Error calculation circuit

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】  多値の画像信号を2値化し2値画像信
号として出力する疑似中間調画像処理装置において、既
に2値化された複数の周囲画素における入力画素値と前
記入力画素値に対応する2値出力画素値との差に基づく
誤差の加重和をとる手段と、前記誤差の加重和を用いて
前記画像信号の注目画素値を修正する手段と、外部から
与えられる周期的スレッショルドを修正する手段と、前
記修正されたスレッショルドにより前記修正された注目
画素値を2値化し前記2値画像信号を出力する手段と、
前記画像信号と前記2値画像信号との前記注目画素値の
誤差を計算する手段と、前記計算された誤差を前記加重
和を取る手段に帰還する手段とを備えることを特徴とす
る疑似中間調画像処理装置。
Claim: 1. A pseudo-halftone image processing device that binarizes a multivalued image signal and outputs it as a binary image signal, wherein the input pixel value corresponds to the input pixel value of a plurality of surrounding pixels that have already been binarized. means for calculating a weighted sum of errors based on a difference from a binary output pixel value, means for correcting a pixel value of interest of the image signal using the weighted sum of the errors, and correcting a periodic threshold given from the outside. means for binarizing the corrected pixel value of interest using the corrected threshold and outputting the binary image signal;
A pseudo halftone characterized by comprising means for calculating an error in the pixel value of interest between the image signal and the binary image signal, and means for feeding back the calculated error to the means for calculating the weighted sum. Image processing device.
【請求項2】  前記スレッショルドを修正する手段に
おいて、入力画像毎に文字などの2値画像では零であり
、写真などの連続階調画像では1であり、網点写真など
の疑似中間調画像では1である係数を利用者が設定し、
前記設定値を外部より与えられる周期的ディザマトリク
ス値に乗じ、前記ディザマトリクス値と外部より与えら
れる固定スレッショルドとの和をとることにより2値化
のスレッショルドを修正することを特徴とする請求項1
記載の疑似中間調画像処理装置。
2. In the means for modifying the threshold, for each input image, the threshold is zero for binary images such as characters, 1 for continuous tone images such as photographs, and 1 for pseudo halftone images such as halftone photographs. The user sets a coefficient that is 1,
Claim 1, wherein the threshold for binarization is modified by multiplying the set value by a periodic dither matrix value given from the outside and calculating the sum of the dither matrix value and a fixed threshold given from the outside.
The pseudo-halftone image processing device described above.
【請求項3】  前記スレッショルドを修正する手段に
おいて、操作入力により与えられた入力画像中の位置に
より、文字などの2値画像領域では零であり、写真など
の連続階調画像領域では1であり、網点写真などの疑似
中間調画像領域では1である係数を外部から与えられる
周期的ディザマトリクス値に乗じ、前記ディザマトリク
ス値と外部から与えられる固定スレッショルドとの和を
とることにより2値化のスレッショルドを修正すること
を特徴とする請求項1記載の疑似中間調画像処理装置。
3. In the means for modifying the threshold, the threshold is zero in a binary image area such as a character, and is 1 in a continuous tone image area such as a photograph, depending on a position in the input image given by an operation input. In pseudo-halftone image areas such as halftone photographs, a periodic dither matrix value given from the outside is multiplied by a coefficient of 1, and the dither matrix value is summed with a fixed threshold given from the outside for binarization. 2. The pseudo-halftone image processing apparatus according to claim 1, wherein a threshold of the pseudo halftone image processing apparatus is modified.
【請求項4】  前記スレッショルドを修正する手段に
おいて、前記注目画素値と前記注目画素の周辺画素値と
の差分値を計算し、前記差分値が予め設定された値より
大きければ零、そうでなければ1を外部より与えられる
周期的ディザマトリクスに乗じ、前記ディザマトリクス
値と外部より与えられる固定スレッショルドとの和をと
ることにより2値化のスレッショルドを修正することを
特徴とする請求項1記載の疑似中間調画像処理装置。
4. The means for modifying the threshold calculates a difference value between the pixel value of interest and surrounding pixel values of the pixel of interest, and if the difference value is larger than a preset value, the difference value is zero; otherwise, the difference value is zero. 2. The binarization threshold is modified by multiplying a periodic dither matrix given from the outside by 1, and calculating the sum of the dither matrix value and a fixed threshold given from the outside. Pseudo halftone image processing device.
【請求項5】  前記スレッショルドを修正する手段に
おいて、前記注目画素値と前記注目画素の周辺画素値と
の差分値を計算し、前記差分値の逆数を0から1に正規
化した値を外部より与えられる周期的ディザマトリクス
値に乗じ、前記ディザマトリクス値と外部より与えられ
る固定スレッショルドとの和をとることにより2値化の
スレッショルドを修正することを特徴とする請求項1記
載の疑似中間調画像処理装置。
5. The means for correcting the threshold calculates a difference value between the pixel value of interest and peripheral pixel values of the pixel of interest, and normalizes the reciprocal of the difference value from 0 to 1, and calculates a value obtained by normalizing the reciprocal of the difference value from 0 to 1. 2. The pseudo halftone image according to claim 1, wherein the threshold for binarization is modified by multiplying a given periodic dither matrix value and calculating the sum of the dither matrix value and a fixed threshold given from the outside. Processing equipment.
【請求項6】  前記スレッショルドを修正する手段に
おいて、前記入力の画像信号の注目画素に対応する出力
画素を含む出力の2値化画像信号中の予め設定された領
域における白から黒および黒から白への変化点数を計数
し、前記計数値が予め設定された値よりも大きければ1
、そうでなければ0を外部から与えられが周期的ディザ
マトリクスに乗じ、前記ディザマトリクス値と外部より
与えられる固定スレッショルドとの和をとることにより
2値化のスレッショルドを修正することを特徴とする請
求項1記載の疑似中間調画像処理装置。
6. In the means for correcting the threshold, the threshold is adjusted from white to black and from black to white in a preset region in the output binary image signal including the output pixel corresponding to the pixel of interest of the input image signal. Count the number of change points, and if the counted value is greater than a preset value, 1
, otherwise, the binarization threshold is modified by multiplying a periodic dither matrix given from the outside by 0, and calculating the sum of the dither matrix value and a fixed threshold given from the outside. A pseudo halftone image processing apparatus according to claim 1.
【請求項7】  前記スレッショルドを修正する手段に
おいて、前記入力の画像信号の注目画素に対応する出力
画素を含む出力の2値化画像信号中の予め設定された領
域における白から黒および黒から白への変化点数を計数
し、前記計数値を0から1に正規化した値を外部より与
えられる周期的ディザマトリクス値に乗じ、前記ディザ
マトリクス値と外部より与えられる固定スレッショルド
との和をとることにより2値化のスレッショルドを修正
することを特徴とする請求項1記載の疑似中間調画像処
理装置。
7. In the means for correcting the threshold, the threshold is adjusted from white to black and from black to white in a preset region in the output binary image signal including the output pixel corresponding to the pixel of interest of the input image signal. counting the number of change points to , normalizing the counted value from 0 to 1, multiplying it by a periodic dither matrix value given from the outside, and calculating the sum of the dither matrix value and a fixed threshold given from the outside. 2. The pseudo-halftone image processing apparatus according to claim 1, wherein the threshold for binarization is modified by:.
【請求項8】  前記スレッショルドを修正する手段に
おいて、前記入力の画像信号の注目画素に対応する出力
画素を含む出力画像信号中の予め設定された領域におけ
る白から黒および黒から白への変化点数を主走査方向お
よび副走査方向に独立に計数し、前記主走査方向変化点
数と前記副走査方向変化点数の積をとり、前記変化点数
の積が予め設定された値よりも大きければ1、そうでな
ければ0を外部から与えられる周期的ディザマトリクス
に乗じ、前記ディザマトリクス値と外部より与えられる
固定スレッショルドとの和をとることにより2値化のス
レッショルドを修正することを特徴とする請求項1記載
の疑似中間調画像処理装置。
8. In the means for modifying the threshold, the number of change points from white to black and from black to white in a preset region in the output image signal including the output pixel corresponding to the pixel of interest of the input image signal. is counted independently in the main scanning direction and the sub-scanning direction, and the product of the number of change points in the main scanning direction and the number of change points in the sub-scanning direction is calculated, and if the product of the number of change points is larger than a preset value, then 1; If not, the threshold for binarization is modified by multiplying a periodic dither matrix given from the outside by 0 and calculating the sum of the dither matrix value and a fixed threshold given from the outside. The pseudo-halftone image processing device described above.
【請求項9】  前記スレッショルドを修正する手段に
おいて、前記入力の画像信号の注目画素に対応する出力
画素を含む出力画像信号中の予め設定された領域におけ
る白から黒および黒から白への変化点数を主走査方向お
よび副走査方向に独立に計数し、前記主走査方向変化点
数と前記副走査方向変化点数の積をとり、前記変化点数
の積を0から1に正規化した値を外部より与えられる周
期的ディザマトリクスに乗じ、前記ディザマトリクス値
と外部より与えられる固定スレッショルドとの和をとる
ことにより2値化のスレッショルドを修正することを特
徴とする請求項1記載の疑似中間調画像処理装置。
9. In the means for modifying the threshold, the number of change points from white to black and from black to white in a preset region in the output image signal including the output pixel corresponding to the pixel of interest of the input image signal. is counted independently in the main scanning direction and the sub-scanning direction, the product of the number of change points in the main scanning direction and the number of change points in the sub-scanning direction is calculated, and a value obtained by normalizing the product of the number of change points from 0 to 1 is given from the outside. 2. The pseudo-halftone image processing apparatus according to claim 1, wherein the threshold for binarization is corrected by multiplying the periodic dither matrix by a periodic dither matrix and calculating the sum of the dither matrix value and a fixed threshold given from the outside. .
JP3064198A 1991-03-28 1991-03-28 Pseudo half-tone picture processing device Pending JPH04299668A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3064198A JPH04299668A (en) 1991-03-28 1991-03-28 Pseudo half-tone picture processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3064198A JPH04299668A (en) 1991-03-28 1991-03-28 Pseudo half-tone picture processing device

Publications (1)

Publication Number Publication Date
JPH04299668A true JPH04299668A (en) 1992-10-22

Family

ID=13251133

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3064198A Pending JPH04299668A (en) 1991-03-28 1991-03-28 Pseudo half-tone picture processing device

Country Status (1)

Country Link
JP (1) JPH04299668A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7636179B2 (en) 1999-10-29 2009-12-22 Ricoh Company, Ltd. Image quantization processing with error diffusion using oscillating quantization threshold to develop dots that spiral outward

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7636179B2 (en) 1999-10-29 2009-12-22 Ricoh Company, Ltd. Image quantization processing with error diffusion using oscillating quantization threshold to develop dots that spiral outward

Similar Documents

Publication Publication Date Title
US5870503A (en) Image processing apparatus using error diffusion technique
JPH07288689A (en) Device and method for binarization processing of image signal
JP5534787B2 (en) Image processing apparatus and image processing method
JPH07307866A (en) Processing unit and method for binarizing image signal
JPS60173974A (en) Adaptive pseudo intermediate tone circuit
JP4107108B2 (en) Image processing method and apparatus
JPH04299668A (en) Pseudo half-tone picture processing device
JPH04299667A (en) Pseudo half-tone picture processing device
JP2570890B2 (en) Image processing device
JP2860039B2 (en) Pseudo halftone image reduction device
JPH11146203A (en) Image processor and storage medium storing program about device
JP2857906B2 (en) Halftone binarization processor
JP3011464B2 (en) Image processing method
JPH09107472A (en) Method and device for image data conversion
JPH06121154A (en) Picture reducing device
JPH06253133A (en) Picture processing device
JPH089152A (en) Image signal binarizing processor and method therefor
JPH1032713A (en) Picture processor
JPH0364256A (en) Pseudo half tone image processor
JPH0822017B2 (en) Image signal processor
JPH11136510A (en) Image processor
JPH0329466A (en) Facsimile equipment
JPH07184050A (en) Image processor
JPH06326864A (en) Picture processing method
JPH07273990A (en) Image processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000606