JPH0795413A - Pseudo halftone binarization device - Google Patents

Pseudo halftone binarization device

Info

Publication number
JPH0795413A
JPH0795413A JP5237745A JP23774593A JPH0795413A JP H0795413 A JPH0795413 A JP H0795413A JP 5237745 A JP5237745 A JP 5237745A JP 23774593 A JP23774593 A JP 23774593A JP H0795413 A JPH0795413 A JP H0795413A
Authority
JP
Japan
Prior art keywords
image
pixel
interest
image signal
binarization
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
JP5237745A
Other languages
Japanese (ja)
Inventor
Takaaki Hayashi
隆昭 林
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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP5237745A priority Critical patent/JPH0795413A/en
Publication of JPH0795413A publication Critical patent/JPH0795413A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Color Television Systems (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

(57)【要約】 【目的】圧縮符号化によるブロック歪みの影響を低減し
つつ多値画像を2値化できる擬似中間調2値化装置を提
供する。 【構成】画像伸長復号化手段とアドレス生成手段とアド
レス生成手段のアドレスに基ずいて誤差信号の値を変更
できる可変手段を持つ2値化手段を有する擬似中間調2
値化装置を構成した。 【効果】ブロック歪み低減のためにポストフィルタ処理
を施さず回路規模を縮小できる。
(57) [Abstract] [PROBLEMS] To provide a pseudo halftone binarization device capable of binarizing a multi-valued image while reducing the influence of block distortion due to compression encoding. A pseudo halftone 2 having image decompression / decoding means, address generation means, and binarization means having variable means for changing the value of an error signal based on the address of the address generation means.
The digitizer was constructed. [Effect] The circuit scale can be reduced without performing post-filter processing to reduce block distortion.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、多値階調を持つ濃淡画
像を2値または限られた階調の多値によるドットの面密
度により画像の濃淡を表現する擬似中間調画像に変換す
る擬似中間調2値装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention converts a grayscale image having multi-value gradation into a pseudo-halftone image which expresses the light and shade of the image by the areal density of dots in binary or limited multi-valued gradation. It relates to a pseudo halftone binary device.

【0002】特に、画像を小領域の符号化ブロックに分
割することにより圧縮がなされた画像に対する擬似中間
調2値化装置に関するものである。
In particular, the present invention relates to a pseudo halftone binarization device for an image compressed by dividing the image into coding blocks of a small area.

【0003】[0003]

【従来の技術】プリンタ、ファクシミリ等印刷に用いら
れる静止画像は、例えばA4用紙1枚当たり数メガバイ
トか数十メガバイトの情報量が必要である。
2. Description of the Related Art A still image used for printing such as a printer or a facsimile requires an information amount of, for example, several megabytes or several tens of megabytes per A4 sheet.

【0004】一般にこのような大容量の情報を伝送・蓄
積するために要する時間やコストを削減するために、従
来から種々の画像情報圧縮符号化方法が提案されてい
る。中でも画像を小領域のブロックに分割して、各ブロ
ック毎に圧縮符号化を行う方式が現在幅広く実施されて
いる。
Generally, various image information compression encoding methods have been proposed in order to reduce the time and cost required for transmitting / accumulating such a large amount of information. Above all, a method of dividing an image into blocks of a small area and performing compression coding for each block is currently widely used.

【0005】また、上述の印刷に用いられる静止画像で
は、電子写真方式やインクジェット方式等の多くの印刷
方式が本質的に1画素の階調をドットの有無(1ビッ
ト)でしか表現できないため、多値画像を表現する場合
は複数ドットの集合による面密度を変化させることによ
り画像の濃淡を知覚させる擬似中間調表現が用いられる
(特開平3ー253175)。
Further, in the still image used for the above-mentioned printing, many printing methods such as the electrophotographic method and the ink jet method can essentially express the gradation of one pixel only by the presence or absence of a dot (1 bit). In the case of expressing a multi-valued image, pseudo halftone expression is used in which the density of an image is perceived by changing the areal density of a set of a plurality of dots (Japanese Patent Laid-Open No. 3-253175).

【0006】擬似中間調表現の手法のなかで広く普及し
ているものとして誤差拡散法がある。誤差拡散法は2値
化した際に生じる誤差を原画像に繰入れることにより、
原画と結果との間の濃度誤差を最小にする方法である。
誤差拡散法は生成された擬似中間調画像の階調性及び解
像度がともに優れるという利点もある。
The error diffusion method is widely used as a pseudo halftone expression method. The error diffusion method introduces the error generated when binarizing into the original image,
This is a method of minimizing the density error between the original image and the result.
The error diffusion method also has an advantage that the generated pseudo-halftone image has excellent gradation and resolution.

【0007】[0007]

【従来技術の問題点】上述したブロック分割に基ずく圧
縮符号化方式では、分割されたブロックの領域境界にお
いてブロック歪みといわれるパターン状の劣化が生じ
る。
2. Description of the Related Art In the compression coding method based on the above-described block division, pattern-like deterioration called block distortion occurs at the area boundaries of the divided blocks.

【0008】通常ブロック歪みが問題となる場合は、復
号化処理を施した後の伸長画像に対してブロック境界に
おいてブロック歪みを平滑化するためのポストフィルタ
処理をかけることが行われる。(特開平3ー17489
1)すなわち、図7に示すように、従来の印刷出力を行
うために擬似中間調画像を生成するための画像処理装置
において、上述した伸長画像の処理をするためには画像
復合化器701より出力された伸長画像をフィルタ処理
部702で平滑化を行った後に2値化処理部703で誤
差拡散の処理を実行して所望の擬似中間調画像を得てい
た。
When the block distortion is usually a problem, post-filter processing for smoothing the block distortion at the block boundary is performed on the decompressed image after the decoding processing. (JP-A-3-17489
1) That is, as shown in FIG. 7, in a conventional image processing apparatus for generating a pseudo-halftone image for printout, in order to process the above-described decompressed image, an image decoding unit 701 is used. After the output decompressed image is smoothed by the filter processing unit 702, the binarization processing unit 703 executes error diffusion processing to obtain a desired pseudo halftone image.

【0009】ここで、ポストフイルタ702による平滑
処理の目的は、ブロック分割によって生じたパターン状
の歪みを周辺の画素に拡散させることによって視覚的に
目立たなくさせることである。一方、画像の擬似中間化
における誤差拡散法の目的も2値化による誤差を拡散さ
せることなので、ポストフィルタの機能と重複してい
る。すなわち、従来の擬似中間調2値化装置の構成には
無駄が存在することになる。
Here, the purpose of the smoothing process by the post filter 702 is to diffuse the pattern-like distortion caused by the block division to peripheral pixels to make it visually inconspicuous. On the other hand, the purpose of the error diffusion method in the pseudo intermediateization of the image is to diffuse the error due to the binarization, and thus overlaps with the function of the post filter. That is, there is waste in the configuration of the conventional pseudo halftone binarization device.

【0010】[0010]

【課題を解決するための手段】本発明は、上記問題点を
解決するために、画像符号化手段により出力された伸長
画像に対して誤差拡散処理を行うときに参照する誤差デ
ータの範囲を符号化ブロックの境界との相対的位置にし
たがって可変とする誤差拡散範囲設定手段を設けるよう
にしたものである。また、本発明では、誤差データの伸
長画像への繰り込みを行うときの各誤差データへの重み
係数を符号化ブロックの境界との相対的位置にしたがっ
て可変とする重み係数設定手段を設けるようにした。
In order to solve the above problems, the present invention encodes a range of error data to be referred to when performing error diffusion processing on a decompressed image output by an image encoding means. An error diffusion range setting means is provided which is variable according to the relative position with the boundary of the digitized block. Further, according to the present invention, a weighting factor setting means is provided for varying the weighting factor for each error data when the error data is renormalized into the expanded image, according to the relative position with the boundary of the coding block. .

【0011】[0011]

【作用】上記のように誤差拡散範囲設定手段あるいは重
み係数設定手段を設けることにより、符号化ブロックの
境界近傍では、境界より離れた地点に対して、相対的に
誤差を遠くの画素まで拡散させることが可能になるの
で、ブロック境界上に発生するパターン歪みを効果的に
低減することができる。
By providing the error diffusion range setting means or the weight coefficient setting means as described above, in the vicinity of the boundary of the coding block, the error is diffused to pixels far from the point far from the boundary. As a result, it is possible to effectively reduce the pattern distortion generated on the block boundary.

【0012】[0012]

【実施例】以下に図面を用いて本発明の好適な実施例に
ついて例示的に詳しく説明する。ただし、この実施例に
記載されている構成部品の寸法、材質、形状、その他相
対配置等、特に特定的な記載がない限り、この発明の範
囲をそれのみに限定する主旨ではなく、単なる説明例に
過ぎないものである。なお、以降の本実施例では符号化
におけるブロックの大きさは水平方向8画素、垂直方向
8画素とし、1画素あたりの階調は0レベルから255
レベルまでの256階調とする。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be illustratively described in detail below with reference to the drawings. However, unless otherwise specified, the dimensions, materials, shapes, other relative arrangements, etc. of the components described in this embodiment are not intended to limit the scope of the present invention thereto, but merely illustrative examples. It is nothing more than a thing. In the following embodiments, the block size in encoding is 8 pixels in the horizontal direction and 8 pixels in the vertical direction, and the gradation per pixel is from level 0 to 255.
256 levels up to the level.

【0013】本発明の第1の実施例の構成を図1に示
す。
The configuration of the first embodiment of the present invention is shown in FIG.

【0014】本実施例の擬似中間調2値化装置は、図1
には図示されていないが、対応する符号化器によりブロ
ック分割に基ずく符号化を施された圧縮画像を復号化し
伸長画像信号として再生する復号化器101、誤差拡散
処理により擬似中間調化された2値画像を生成する2値
化処理部102、画像中の注目画素の水平及び垂直方向
の位置を指定するアドレス発生回路103より構成され
ている。
The pseudo halftone binarization apparatus of this embodiment is shown in FIG.
Although not shown in the figure, a decoder 101 which decodes a compressed image coded based on block division by a corresponding encoder and reproduces it as a decompressed image signal, and pseudo-halftone conversion by error diffusion processing It is composed of a binarization processing unit 102 for generating a binary image and an address generation circuit 103 for designating the horizontal and vertical positions of the pixel of interest in the image.

【0015】復号化器101により復号化された伸長画
像信号はラスタ状の信号として2値化処理部102に入
力される。2値化処理部102に入力された信号は、加
算器104により後述する誤差信号と加算され、伸長画
像信号に誤差が繰り込まれた補正画像信号となる。補正
画像信号は、比較器105により例えば128レベルの
ような予め定められたしきい値レベルと比較されて、し
きい値以上の値ならば255レベルの信号が出力され、
しきい値未満の値ならば0レベルの信号が出力され、こ
の2値画像信号が擬似中間調画像として出力される。こ
こで、補正画像信号と2値画像信号は、誤差信号の導出
に利用される。補正画像信号と2値画像信号は、減算器
106に入力され、補正画像信号から2値画像信号の差
分がとられ、差分信号が出力される。その差分信号は、
誤差拡散範囲設定部107に入力される。誤差拡散範囲
設定部107では、符号化ブロックの境界に対する注目
画素の相対的な位置に基ずいて誤差拡散処理に利用する
差分信号の範囲を設定する。
The decompressed image signal decoded by the decoder 101 is input to the binarization processing unit 102 as a raster signal. The signal input to the binarization processing unit 102 is added to an error signal described later by the adder 104, and becomes a corrected image signal in which an error is incorporated in the expanded image signal. The corrected image signal is compared with a predetermined threshold level such as 128 level by the comparator 105, and if the value is equal to or higher than the threshold value, a 255 level signal is output.
If the value is less than the threshold value, a 0 level signal is output, and this binary image signal is output as a pseudo halftone image. Here, the corrected image signal and the binary image signal are used to derive an error signal. The corrected image signal and the binary image signal are input to the subtractor 106, the difference between the corrected image signal and the binary image signal is calculated, and the difference signal is output. The difference signal is
It is input to the error diffusion range setting unit 107. The error diffusion range setting unit 107 sets the range of the difference signal used for the error diffusion processing based on the relative position of the pixel of interest with respect to the boundary of the coding block.

【0016】誤差拡散範囲設定部107に入力された差
分信号は遅延素子によって構成されるバッファメモリ1
08に記憶され、注目画素から相対的に一定の範囲を持
つ領域の差分信号を抽出され出力される。本実施例では
上記の領域の1実施例として図2(a)のようなA0か
らA8の差分信号で構成される領域を設定する。バッフ
ァメモリ108から出力されたA0からA8の差分信号
のうち、A0からA3直接演算回路113への入力信号
となるが、A4からA5及びA6からA8はそれぞれセ
レクタ109及びセレクタ110により1つの差分信号
が選択されて演算回路113へ入力される。
The differential signal input to the error diffusion range setting unit 107 is a buffer memory 1 composed of delay elements.
08, the differential signal of a region having a relatively constant range is extracted from the pixel of interest and output. In this embodiment, as one embodiment of the above-mentioned area, an area constituted by the differential signals A0 to A8 as shown in FIG. 2A is set. Of the differential signals A0 to A8 output from the buffer memory 108, the differential signals A0 to A3 are input signals to the direct arithmetic operation circuit 113. Is selected and input to the arithmetic circuit 113.

【0017】セレクタ109とセレクタ110は、符号
化ブロックの境界に対する注目画素の相対的な位置によ
り差分信号を選択する。差分信号の選択は、注目画素の
属する符号化ブロックの外部にある差分信号ができるだ
け選択されるように行われる。本実施例では、上記のよ
うな選択として、セレクタ109によりA4、A5の中
から注目画素がブロックの上側境界近傍(図3のa、
b、cの範囲)にある場合はA5を選択し、それ以外
(図3のd、e、fの範囲)にある場合はA4を選択す
る。また、A6、A7、A8の中から注目画素がブロッ
クの左側境界近傍(図3のa、dの範囲)にある場合は
A6を選択し、注目画素がブロックの右側境界近傍(図
3のc、fの範囲)にある場合はA8を選択し、それ以
外(図3のb、eの範囲)にある場合はA7を選択す
る。
The selectors 109 and 110 select the difference signal according to the relative position of the pixel of interest with respect to the boundary of the coding block. The difference signal is selected so that the difference signal outside the coding block to which the pixel of interest belongs is selected as much as possible. In the present embodiment, as the selection described above, the selector 109 selects the target pixel from A4 and A5 in the vicinity of the upper boundary of the block (a in FIG. 3A,
If it is in the range (b, c), A5 is selected, and if it is in the other range (range of d, e, f in FIG. 3), A4 is selected. If the pixel of interest is in the vicinity of the left boundary of the block (range of a and d in FIG. 3) among A6, A7 and A8, A6 is selected and the pixel of interest is in the vicinity of the right boundary of the block (c of FIG. 3). , F range), A8 is selected, and otherwise (range b and e in FIG. 3) A7 is selected.

【0018】以下にカウンタ111及び112によるセ
レクタ109及び110への制御の動作と差分信号の選
択について詳しく説明する。
The operation of controlling the selectors 109 and 110 by the counters 111 and 112 and the selection of the difference signal will be described in detail below.

【0019】アドレス発生回路103により生成された
注目画素の画像中の水平及び垂直方向の位置アドレスが
誤差拡散範囲設定部107の垂直カウンタ111及び水
平カウンタ112に与えられる。
The horizontal and vertical position addresses in the image of the pixel of interest generated by the address generation circuit 103 are given to the vertical counter 111 and the horizontal counter 112 of the error diffusion range setting unit 107.

【0020】垂直カウンタ111及び水平カウンタ11
2、はモジュロ8のカウンタとなっていて、図3に示す
符号化ブロックにおいて、左上隅で垂直アドレス0、水
平アドレス0となり、右下隅で垂直アドレス7、水平ア
ドレス7となる。これらのカウンタ111及びカウンタ
112の出力値がセレクタ109及びセレクタ110へ
の制御信号となる。垂直カウンタ111の出力値が2か
ら7となり、かつ水平カウンタ112の出力値が2から
5のとき注目画素は、図3においてaが付された領域内
にある。このときは、注目画素が符号化ブロックの中央
付近にあるとみなし、セレクタ109は差分信号A4を
選択し、セレクタ110は差分信号A7を選択すること
により図2(b)で示す市街区距離2の領域の差分信号
が誤差拡散範囲として設定される。ここで、垂直カウン
タ111の出力値に注目する。垂直カウンタ111の出
力値が0または1のとき、注目画素は図3においてdが
付された領域内にある。このときは、注目画素が符号化
ブロックの上側境界近傍にあるので、ブロック歪みの影
響を低減するために注目画素が属する符号化ブロックの
上側に隣接する符号化ブロック内の差分信号を利用して
誤差を拡散することにより、ブロック歪みの影響を低減
できると考えられる。そこで、上側に隣接する符号化ブ
ロックの差分信号を参照するためにセレクタ109は差
分信号A5を選択する。また、同様に、セレクタ110
は水平カウンタ112の出力値が0または1のとき、注
目画素は符号化ブロックの左側境界近傍にあるので、左
側に隣接する符号化ブロックの差分信号を参照するため
に差分信号A6を選択し、水平カウンタ112の出力値
が6または7のとき注目画素は符号化ブロックの右側境
界近傍にあるので、右側に隣接する符号化ブロックの差
分信号を参照するために差分信号A8を選択する。
Vertical counter 111 and horizontal counter 11
2 is a modulo 8 counter, which has vertical address 0 and horizontal address 0 at the upper left corner and vertical address 7 and horizontal address 7 at the lower right corner in the coding block shown in FIG. The output values of the counter 111 and the counter 112 serve as control signals to the selector 109 and the selector 110. When the output value of the vertical counter 111 is from 2 to 7 and the output value of the horizontal counter 112 is from 2 to 5, the pixel of interest is within the area marked with a in FIG. At this time, it is considered that the pixel of interest is near the center of the coding block, the selector 109 selects the difference signal A4, and the selector 110 selects the difference signal A7, whereby the city block distance 2 shown in FIG. The differential signal in the area of is set as the error diffusion range. Here, pay attention to the output value of the vertical counter 111. When the output value of the vertical counter 111 is 0 or 1, the pixel of interest is within the area labeled d in FIG. At this time, since the target pixel is near the upper boundary of the coding block, the difference signal in the coding block adjacent to the upper side of the coding block to which the target pixel belongs is used to reduce the effect of block distortion. It is considered that the influence of block distortion can be reduced by diffusing the error. Therefore, the selector 109 selects the difference signal A5 to refer to the difference signal of the coding block adjacent to the upper side. Similarly, the selector 110
When the output value of the horizontal counter 112 is 0 or 1, the pixel of interest is near the left boundary of the coding block, so the difference signal A6 is selected to refer to the difference signal of the coding block adjacent to the left side, When the output value of the horizontal counter 112 is 6 or 7, the pixel of interest is near the right boundary of the coding block, so the difference signal A8 is selected to refer to the difference signal of the coding block adjacent to the right side.

【0021】以上のように差分信号誤差拡散範囲を選択
的に可変とすることにより、符号化ブロック境界近傍に
注目画素がある場合は、符号化ブロック外部の差分信号
がより大きく誤差拡散処理に貢献するので、ブロック歪
みの影響が低減可能となる。バッファメモリ108から
出力された差分信号A0からA3と、セレクタ109及
びセレクタ110により選択された差分信号は、演算回
路113に入力される。演算回路113では、上記の6
個の差分信号を予め各々の差分信号に対して定めてある
重み係数にしたがって積和演算を行い、その結果を誤差
信号として出力する。この誤差信号は再びつぎの伸長画
像信号と加算器104で加算され、逐次2値化処理が行
われる。
By selectively varying the difference signal error diffusion range as described above, when the pixel of interest is near the boundary of the coding block, the difference signal outside the coding block contributes to the error diffusion processing to a greater extent. Therefore, the influence of block distortion can be reduced. The differential signals A0 to A3 output from the buffer memory 108 and the differential signals selected by the selector 109 and the selector 110 are input to the arithmetic circuit 113. In the arithmetic circuit 113, the above 6
The individual difference signals are subjected to a product-sum operation in accordance with a weighting coefficient that is determined in advance for each difference signal, and the result is output as an error signal. This error signal is again added to the next expanded image signal by the adder 104, and the binary processing is sequentially performed.

【0022】次に本発明による擬似中間調2値化装置の
第2の実施例を詳細に説明する。
Next, a second embodiment of the pseudo halftone binarization apparatus according to the present invention will be described in detail.

【0023】第2の実施例の構成を図4に示す。なお、
図4において、図1と同じ番号のふられている部分は同
等の機能を有するものであり、重複した説明は省略す
る。
The structure of the second embodiment is shown in FIG. In addition,
In FIG. 4, the parts having the same numbers as those in FIG. 1 have the same functions, and the duplicate description will be omitted.

【0024】加算器106より出力される差分信号は、
バッファメモリ401に入力され、実施例1と同様に注
目画素から相対的に一定の範囲を持つ領域の差分信号を
抽出され出力される。本実施例では、上記の領域の1実
施例として図5のようなA0からA11の差分信号で構
成される領域を設定する。バッファメモリ401から出
力されたA0からA11の差分信号は、演算回路402
へ入力される。演算回路402は、上記の12個の差分
信号を予め各々の差分信号に対して定めてある重み係数
にしたがって積和演算を行い、その結果を誤差信号とし
て出力する。このとき、重み係数を注目画素の符号化ブ
ロックの境界との相対的な位置にしたがって可変となる
ように重み係数設定部403により制御する。以下に、
重み係数設定部403による重み係数の設定動作につい
て説明する。アドレス発生回路103により生成された
注目画素の画像中の水平及び垂直方向の位置アドレスが
重み係数設定部403の垂直カウンタ111及び水平カ
ウンタ112に与えられると、実施例1と同様に垂直カ
ウンタ111及び水平カウンタ112は符号化ブロック
中の注目画素の位置アドレスを出力する。ROM405
には差分信号A0からA11の積和演算を行うために、
差分信号A0からA11のそれぞれに対応する重み係数
が複数組記憶されていて、注目画素の符号化ブロック内
の位置アドレスにしたがって1組の重み係数が選択され
る。すなわち、カウンタ111及びカウンタ112から
出力された位置アドレスはアドレス変換回路404によ
り、その位置アドレスに対応する重み係数の組が記憶さ
れているROM405のアドレスに変換され、アドレス
変換回路404が指定したアドレス上にある1組の重み
係数がROM405から出力され、演算回路402の内
部にある乗算器406aから406lにそれぞれセット
される。
The difference signal output from the adder 106 is
It is input to the buffer memory 401, and as in the first embodiment, a difference signal of a region having a relatively constant range is extracted and output from the pixel of interest. In this embodiment, as one embodiment of the above-mentioned area, an area constituted by the differential signals A0 to A11 as shown in FIG. 5 is set. The difference signal from A0 to A11 output from the buffer memory 401 is calculated by the arithmetic circuit 402.
Is input to. The arithmetic circuit 402 performs the sum-of-products operation on the above-mentioned twelve difference signals in accordance with the weighting coefficient determined in advance for each difference signal, and outputs the result as an error signal. At this time, the weighting factor setting unit 403 controls the weighting factor to be variable according to the position of the pixel of interest relative to the boundary of the coding block. less than,
The weighting factor setting operation by the weighting factor setting unit 403 will be described. When the horizontal and vertical position addresses in the image of the pixel of interest generated by the address generation circuit 103 are given to the vertical counter 111 and the horizontal counter 112 of the weighting coefficient setting unit 403, the vertical counter 111 and The horizontal counter 112 outputs the position address of the pixel of interest in the encoded block. ROM405
In order to perform the sum of products operation of the difference signals A0 to A11,
A plurality of sets of weighting factors corresponding to each of the differential signals A0 to A11 are stored, and one set of weighting factors is selected according to the position address in the coding block of the pixel of interest. That is, the position address output from the counter 111 and the counter 112 is converted by the address conversion circuit 404 into the address of the ROM 405 in which the set of weighting factors corresponding to the position address is stored, and the address specified by the address conversion circuit 404. The above set of weighting factors are output from the ROM 405 and set in the multipliers 406a to 406l inside the arithmetic circuit 402, respectively.

【0025】ここで、注目画素の符号化ブロック内の位
置アドレスと重み係数の関係について説明する。
Here, the relationship between the position address in the coding block of the pixel of interest and the weighting factor will be described.

【0026】本発明の目的は、注目画素が符号化ブロッ
ク境界近傍にあるとき、符号化ブロックの外部にある画
素の差分信号を効果的に誤差信号に繰り込むことである
から、注目画素が符号化ブロックの中央付近にあるとき
は注目画素の近傍にある差分信号の影響を大きく受ける
ように注目画素の近傍にある差分信号の重み係数を大き
い値にし、注目画素が符号化ブロック境界近傍にあると
きは符号化ブロック外部の差分信号の影響も相対的に大
きく残すように注目画素から遠い位置にある差分信号の
重み係数を大きい値にする。例えば、図3のeの範囲に
注目画素がある場合(水平アドレスが2以上5以下かつ
垂直アドレスが2以上にある場合)は、注目画素が符号
化ブロックの中央付近にあるとして、差分信号A0から
A11の位置に対応する重み係数の値を図6(a)のよ
うに注目画素の近傍については大きく(例えば1/8)
とり、注目画素から遠いものについては小さく(例えば
1/16)とり、また、図3の他の部分に注目画素があ
る場合は、重み係数の値を図6(b)のように全領域に
ついて一様(1/12)にとることにより符号化ブロッ
ク外部の差分信号の影響が大きくなるようにする。
The object of the present invention is to effectively incorporate the difference signal of the pixels outside the coding block into the error signal when the pixel of interest is near the boundary of the coding block. When the pixel is in the vicinity of the center of the encoding block, the weighting coefficient of the difference signal in the vicinity of the pixel of interest is set to a large value so that the difference signal in the vicinity of the pixel of interest is greatly affected, and the pixel of interest is in the vicinity of the coding block boundary At this time, the weighting coefficient of the differential signal located far from the pixel of interest is set to a large value so that the influence of the differential signal outside the coding block remains relatively large. For example, if the pixel of interest exists in the range of e in FIG. 3 (when the horizontal address is 2 or more and 5 or less and the vertical address is 2 or more), it is determined that the pixel of interest is near the center of the encoded block, and the difference signal A0 To A11, the value of the weighting coefficient corresponding to the position of A11 is increased in the vicinity of the pixel of interest as shown in FIG.
If the pixel far from the pixel of interest is small (for example, 1/16), and if the pixel of interest exists in another part of FIG. 3, the value of the weighting coefficient is set for all areas as shown in FIG. 6B. By making it uniform (1/12), the influence of the differential signal outside the coding block is increased.

【0027】このように設定された重み信号と差分信号
を乗算器406aから406lで乗算を行い、乗算によ
り重みのかけられた差分信号の総和を加算器407によ
って演算することによって、誤差信号が求められ演算回
路402より出力される。
The weight signal and the difference signal set in this way are multiplied by the multipliers 406a to 406l, and the sum of the difference signals weighted by the multiplication is calculated by the adder 407 to obtain the error signal. And output from the arithmetic circuit 402.

【0028】この誤差信号は実施例1と同様に再び次の
伸長画像信号と加算器104で加算され、逐次2値化処
理が行われる。
Similar to the first embodiment, this error signal is again added to the next expanded image signal by the adder 104, and the binarization process is sequentially performed.

【0029】[0029]

【発明の効果】以上説明したように本発明の構成によれ
ば、誤差拡散範囲設定手段または重み係数設定手段によ
り注目画素の符号化ブロック境界との相対的な位置にし
たがって誤差信号を注目画素へ繰り込む際の影響を符号
化ブロック境界近傍では符号化ブロック外の画像信号の
影響を相対的に大きくすることが可能となるので、従来
のように圧縮符号化時のブロック歪みを低減するために
ポストフィルタ処理を施す必要がなくなり、擬似中間調
2値化装置の回路規模を縮小することが可能となる。
As described above, according to the configuration of the present invention, the error signal is sent to the target pixel according to the relative position of the target pixel to the coding block boundary by the error diffusion range setting means or the weighting coefficient setting means. Since the influence of the image signal outside the coding block can be made relatively large in the vicinity of the coding block boundary, it is possible to reduce the block distortion during compression coding as in the conventional case. It is not necessary to perform post-filter processing, and the circuit scale of the pseudo halftone binarization device can be reduced.

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

【図1】本発明の第1の実施例の構成図FIG. 1 is a configuration diagram of a first embodiment of the present invention.

【図2】第1の実施例において利用する差分信号の領域
を示した図
FIG. 2 is a diagram showing a region of a differential signal used in the first embodiment.

【図3】第1の実施例において符号化ブロック内での注
目画素の位置と誤差拡散範囲の関係を説明するための図
FIG. 3 is a diagram for explaining a relationship between a position of a pixel of interest in an encoding block and an error diffusion range in the first embodiment.

【図4】本発明の第2の実施例の構成図FIG. 4 is a configuration diagram of a second embodiment of the present invention.

【図5】第2の実施例において利用する差分信号の領域
を示した図
FIG. 5 is a diagram showing a region of a differential signal used in the second embodiment.

【図6】第2の実施例において符号化ブロック内での注
目画素の位置と誤差拡散範囲の関係を説明するための図
FIG. 6 is a diagram for explaining a relationship between a position of a pixel of interest in an encoding block and an error diffusion range in the second embodiment.

【図7】従来の圧縮画像に対する擬似中間調2値化装置
の構成図
FIG. 7 is a block diagram of a conventional pseudo-halftone binarization device for compressed images.

【符号の説明】 101 復号化器 102 2値化処理部 103 アドレス発生回路 113 演算回路[Description of Codes] 101 Decoder 102 Binarization Processing Unit 103 Address Generation Circuit 113 Operation Circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 11/04 A 7337−5C ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location H04N 11/04 A 7337-5C

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】多値画像信号を小領域の符号化ブロックに
分割して、各符号化ブロック毎に符号化された圧縮画像
信号を復号化し伸長画像信号を得るための画像復号化手
段と、前記伸長画像信号を多値画像から2値画像へと変
換する2値化処理手段と、2値化処理を行う際の注目画
素の画像内での水平及び垂直方向のアドレスを与えるア
ドレス発生手段を備えた擬似中間調2値化装置におい
て、前記2値化処理手段が多値画像の濃度差の大きさに
基ずいて2値化画像信号を出力する比較手段と、2値化
による誤差信号を算出する演算手段と、誤差信号を伸長
画像信号に繰り込むための加算手段と、前記アドレス発
生手段によリ与えられた注目画素のアドレスに基ずいて
誤差信号の値を可変とする可変手段とを設けたことを特
徴とする擬似中間調2値化装置。
1. An image decoding means for dividing a multi-valued image signal into coding blocks of a small area and decoding a compressed image signal coded for each coding block to obtain a decompressed image signal, Binarization processing means for converting the decompressed image signal from a multi-valued image to a binary image, and address generation means for giving horizontal and vertical addresses in the image of the pixel of interest when performing the binarization processing. In the pseudo-halftone binarizing device provided, the binarization processing unit outputs the binarized image signal based on the magnitude of the density difference of the multivalued image, and the error signal generated by the binarization. Calculating means for calculating, adding means for incorporating the error signal into the expanded image signal, and varying means for varying the value of the error signal based on the address of the pixel of interest given by the address generating means. Pseudo halftone characterized by the provision of Binary system.
【請求項2】前記可変手段が前記演算手段において参照
する画像信号の領域を注目画素の符号化ブロック境界に
対する相対的な位置にしたがって可変とする誤差拡散範
囲設定手段を有することを特徴とする請求項1記載の擬
似中間調2値化装置。
2. The variable means has an error diffusion range setting means for changing the area of the image signal referred to by the arithmetic means according to the relative position of the pixel of interest to the coding block boundary. Item 1. The pseudo halftone binarization device according to Item 1.
【請求項3】前記可変手段が前記演算手段において参照
する画像信号に対する重み係数を注目画素の符号化ブロ
ック化境界に対する相対的な位置にしたがって可変とす
る重み係数設定手段を有することを特徴とする請求項1
記載の擬似中間調2値化装置。
3. The variable means comprises weighting coefficient setting means for changing the weighting coefficient for the image signal referred to by the computing means in accordance with the position of the pixel of interest relative to the coding blocking boundary. Claim 1
The pseudo halftone binarization apparatus described.
JP5237745A 1993-09-24 1993-09-24 Pseudo halftone binarization device Pending JPH0795413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5237745A JPH0795413A (en) 1993-09-24 1993-09-24 Pseudo halftone binarization device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5237745A JPH0795413A (en) 1993-09-24 1993-09-24 Pseudo halftone binarization device

Publications (1)

Publication Number Publication Date
JPH0795413A true JPH0795413A (en) 1995-04-07

Family

ID=17019847

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5237745A Pending JPH0795413A (en) 1993-09-24 1993-09-24 Pseudo halftone binarization device

Country Status (1)

Country Link
JP (1) JPH0795413A (en)

Similar Documents

Publication Publication Date Title
US5363213A (en) Unquantized resolution conversion of bitmap images using error diffusion
CA2133558C (en) Method and apparatus for halftoning and inverse halftoning and the transmission of such images
EP0320755B1 (en) Image processing system and method employing combined black and white and gray scale image data
US5729663A (en) Method and apparatus for gray screening
JP3304029B2 (en) Method and apparatus for minimizing warm in an image generated by halftoning by an error diffusion method
US5491564A (en) Data compression method and apparatus for binary image using Markov model encoding
JPS60153264A (en) Halftone image transmission method
JP2001504312A (en) High speed halftone processing
GB1599148A (en) Apparatus and method for encoding halftone and line copy data
US5461682A (en) Image filing apparatus providing image data suitable for several input/output devices
US5424854A (en) Image processing apparatus for half-tone processing and reproducing high speed images of different resolutions
US6002493A (en) Method for reproducing an image
US6628427B1 (en) Method and apparatus for image processing which improves performance of gray scale image transformation
JP3223046B2 (en) Error diffusion coding apparatus for binary image
JPH0795413A (en) Pseudo halftone binarization device
US6798542B1 (en) Image encoding apparatus
JP3320282B2 (en) Multi-value image processing device
JP3361355B2 (en) Image processing device
JP2002010084A (en) Encoding device, decoding device, encoding method, decoding method, encoding method, computer-readable recording medium recording a program for causing a computer to execute the decoding method
JPS6349428B2 (en)
JP2941843B2 (en) Apparatus and method for reducing image signal
JP3249647B2 (en) Image processing device
JP4057610B2 (en) Encoding / decoding system and encoding / decoding method
JPS61169086A (en) Encoding system of half tone image
JP3136650B2 (en) Image processing device