JPH0241232B2 - - Google Patents
Info
- Publication number
- JPH0241232B2 JPH0241232B2 JP10120584A JP10120584A JPH0241232B2 JP H0241232 B2 JPH0241232 B2 JP H0241232B2 JP 10120584 A JP10120584 A JP 10120584A JP 10120584 A JP10120584 A JP 10120584A JP H0241232 B2 JPH0241232 B2 JP H0241232B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- binary
- image
- pixel
- prediction error
- 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.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T9/00—Image coding
- G06T9/004—Predictors, e.g. intraframe, interframe coding
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
Description
【発明の詳細な説明】
〔発明の技術分野〕
この発明は、フアクシミリ等の画像伝送装置
や、画像データベースの様な画像蓄積装置等にお
いて、文字や線画等から成る2値画像及び網点画
像が混在する画像信号符号化によりデータ圧縮す
る符号化装置に関するものである。[Detailed Description of the Invention] [Technical Field of the Invention] The present invention provides an image transmission device such as a facsimile, an image storage device such as an image database, etc., in which binary images and halftone images consisting of characters, line drawings, etc. The present invention relates to an encoding device that compresses data by encoding mixed image signals.
従来フアクシミリ等は、主として2値画像を対
象にした装置から成り、この様な装置に網点画像
を入力すると、画像信号の持つ統計的性質が、一
般に2値画像と大きく異なり、符号化の効率が極
端に悪くなつてしまう。このため、網点画像用の
符号化装置も一部考えられているが、この装置
は、線類や傾き等を特定のスクリーンを用いて表
示する網点写真を対象としており、種々の網点写
真が対象となる装置には使用できない。
Conventional facsimile machines and the like mainly consist of devices that handle binary images, and when a halftone image is input into such a device, the statistical properties of the image signal are generally very different from those of a binary image, and the efficiency of encoding is reduced. becomes extremely bad. For this reason, some encoding devices for halftone dot images have been considered, but this device is intended for halftone photographs that display lines, slopes, etc. using a specific screen, and is designed to encode various halftone dot images. It cannot be used for devices that take photographs.
以下、図を用いて従来の画像信号の符号化装置
について説明する。第1図は従来の画像信号の符
号化装置において、予測符号化に用いられる参照
画素位置の一例を示す図である。図において、X
は符号化しようとしている当該画素である符号化
画素、A,Iは符号化画素Xと同一ラインの画
素、B,C,Dは符号化画素Xの直前ラインの画
素である。また、R1は主走査方向、R2は副走査
方向である。予測符号化においては、符号化画素
信号は、先行する近接画素信号により予測され、
その予測値と実際の信号との差信号(予測誤差信
号)が符号化される。第2図は、第1図の画像信
号の符号化装置において、予測方法の一例を表で
示す図である。この例における参照画素として
は、第1図に示す様に、符号化画素Xと同一ライ
ンで、かつ直前の画素Aと、符号化画素Xの直前
ラインの3画素B,C,Dとが用いられている。
第3図は、第1図の画像信号の符号化装置におい
て、予測誤差信号を符号化する際の符号例を示す
図である。図において、mは0以上3以下の整
数、nは0以上の整数であり、xxはmを2ビツ
トで2進表示したものである。第4図は従来の画
像信号の符号化装置を示すブロツク構成図、第5
図は、第4図の画像信号の符号化装置の動作を説
明するための各符号例を示す図である。各図にお
いて、1は、符号化画素Xを示す画像信号を入力
とし、所定の画素周期だけ遅延させて参照画素信
号を作成し、第2図に示す予測方法を示す表に基
づいて予測信号X^を作成する予測器である。2は
画像信号と予測信号X^をもとに予測誤差信号Yを
作成する排他的論理和(EX−OR)回路、3は
予測誤差信号Yの系列を、第3図に示す符号例に
基づき符号化を行う符号器である。 A conventional image signal encoding device will be described below with reference to the drawings. FIG. 1 is a diagram showing an example of reference pixel positions used for predictive encoding in a conventional image signal encoding device. In the figure,
is a coding pixel which is the pixel to be coded, A and I are pixels on the same line as the coding pixel X, and B, C and D are pixels on the line immediately before the coding pixel X. Further, R 1 is the main scanning direction, and R 2 is the sub-scanning direction. In predictive encoding, the encoded pixel signal is predicted by the preceding neighboring pixel signal,
A difference signal (prediction error signal) between the predicted value and the actual signal is encoded. FIG. 2 is a table showing an example of a prediction method in the image signal encoding device of FIG. 1. As shown in FIG. 1, the reference pixels in this example include pixel A on the same line as the encoded pixel X and immediately preceding it, and three pixels B, C, and D on the line immediately before the encoded pixel X. It is being
FIG. 3 is a diagram showing an example of a code when a prediction error signal is encoded in the image signal encoding apparatus of FIG. 1. In the figure, m is an integer of 0 or more and 3 or less, n is an integer of 0 or more, and xx is m expressed in 2-bit binary. Fig. 4 is a block diagram showing a conventional image signal encoding device;
FIG. 4 is a diagram showing examples of codes for explaining the operation of the image signal coding device shown in FIG. 4. In each figure, 1 receives an image signal indicating a coded pixel It is a predictor that creates ^. 2 is an exclusive OR (EX-OR) circuit that creates a prediction error signal Y based on the image signal and the prediction signal This is an encoder that performs encoding.
次に、上記第4図に示す従来の画像信号の符号
化装置の動作について説明する。第5図に示す
a-1及びa0はそれぞれn−1ライン(符号化ライ
ンの直前のライン)及びnライン(符号化ライ
ン)の画像信号である。1ラインは24画素とし、
走査順に#1〜#24と番号を付けている。a0の符
号化ラインを走査すると、各位置において、第1
図に示す各参照画素A,B,C,Dは、それぞれ
第5図に示すcの様になる。ここでは、各参照画
素A,B,C,Dが有効画面範囲よりはずれる場
合は0となし、第5図ではこれを括弧で囲つて示
してある。第4図に示す予測器1は、第2図に示
す予測方法の表にしたがつて、第5図にdで示す
予測信号X^を作成する。排他的論理和回路2で
は、この予測信号X^と実際の画像信号(第5図の
a0)により、第5図にeで示す予測誤差信号Yを
得る。符号器3では、この予測誤差信号Yをもと
に、第3図に示す符号例にしたがつて符号化が行
われ、結局、第5図にfで示す符号化系列を得る
こととなる。なおここで、予測誤差信号Yの最後
にある括弧で囲んだ信号は、ライン終端を示すた
めに仮想的に付加されたものであり、符号化系列
fにはこの信号に対する符号も加えられている。
第5図に示す様な画像信号の場合、符号化ライン
a0の#11以降に4画素間隔のほぼ周期的信号があ
る。(水平方向の網点周期が4画素間隔の網点画
像では、この様な信号が多く生起する)ため、1
ラインの総符号ビツトが31となつて逆にデータ量
が増大してしまつている。これは、網点画像部分
についても、第2図に示す様な通常の2値画像用
の予測を行つているために、予測一致率が低下し
ているからである。 Next, the operation of the conventional image signal encoding apparatus shown in FIG. 4 will be explained. Shown in Figure 5
a -1 and a 0 are image signals of n-1 line (line immediately before the encoded line) and n line (encoded line), respectively. One line has 24 pixels,
They are numbered #1 to #24 in scanning order. When scanning the encoded line of a 0 , at each position, the first
Each of the reference pixels A, B, C, and D shown in the figure looks like c shown in FIG. 5, respectively. Here, if each reference pixel A, B, C, D is outside the effective screen range, it is set to 0, and in FIG. 5, this is shown enclosed in parentheses. The predictor 1 shown in FIG. 4 creates a prediction signal X^ shown as d in FIG. 5 in accordance with the prediction method table shown in FIG. In the exclusive OR circuit 2, this predicted signal X^ and the actual image signal (see Fig. 5)
a 0 ), a prediction error signal Y shown as e in FIG. 5 is obtained. The encoder 3 performs encoding according to the code example shown in FIG. 3 based on this prediction error signal Y, and eventually obtains the encoded sequence shown by f in FIG. 5. Note that the signal enclosed in parentheses at the end of the prediction error signal Y is virtually added to indicate the end of the line, and the code for this signal is also added to the encoded sequence f. .
In the case of an image signal as shown in Figure 5, the encoding line
After #11 of a 0 , there is a substantially periodic signal at 4-pixel intervals. (In a halftone image where the horizontal halftone period is 4 pixels apart, many such signals occur.) Therefore, 1
The total code bits of the line are now 31, and the amount of data has increased. This is because prediction for a normal binary image as shown in FIG. 2 is also performed for the halftone image portion, so that the prediction matching rate decreases.
上述した様に、従来の画像信号の符号化装置で
は、通常の2値画像及び網点画像が混合する場合
にも、通常の2値画像用の符号化を行つていたた
め、効率的なデータ圧縮が不可能であつた。ま
た、網点画像を読み取つた画像信号を単純に2値
化した信号に付号化していたため、網点の周期と
画素間隔が近い場合には、モアレを発生し、画質
が極めて劣化してしまうなどの欠点があつた。 As mentioned above, in conventional image signal encoding devices, even when a normal binary image and a halftone image are mixed, encoding is performed for the normal binary image, so that efficient data processing is possible. Compression was impossible. In addition, since the image signal obtained by reading the halftone dot image was simply encoded into a binary signal, if the halftone dot period and the pixel interval were close, moiré would occur and the image quality would deteriorate significantly. There were drawbacks such as:
この発明は、上記の様な従来のものの欠点を改
善する目的でなされたもので、2値画像及び網点
画像が混在する画像信号に対し、当該画素の近傍
のあらかじめ定められた領域の平均値処理を行う
低域通過形フイルタと、前記領域内における低域
通過形フイルタの出力の最大値と最小値の差を検
出比較する比較回路を用いて2値画像と網点画像
を分離し、網点画像に対しては低域通過形フイル
タの出力をデイザ化回路によりデイザ化処理し、
2値画像用及びデイザ化画像用の各予測器を用い
て、先行する所定個数内の符号化画素の予測一致
率により、前記各予測器を選択的に使用して、符
号化画素を予測変換、符号化することにより、高
い効率でのデータ圧縮ができると共に、種々のス
クリーンを用いた網点写真に対しても、モアレの
ない、良好な画質の画像を再生できる画像信号の
符号化装置を提供するものである。
This invention was made with the aim of improving the drawbacks of the conventional ones as described above, and it is possible to calculate the average value of a predetermined area near the pixel for an image signal containing a mixture of binary images and halftone images. The binary image and the halftone image are separated using a low-pass filter that performs processing and a comparison circuit that detects and compares the difference between the maximum and minimum values of the output of the low-pass filter within the area. For point images, the output of the low-pass filter is dithered by a dithering circuit,
Using each predictor for a binary image and a dithered image, each predictor is selectively used to perform predictive conversion on encoded pixels according to the prediction matching rate of a predetermined number of preceding encoded pixels. , an image signal encoding device that can compress data with high efficiency and reproduce moiré-free and high-quality images even for halftone photographs using various screens. This is what we provide.
以下、この発明の実施例を図について説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.
第6図はこの発明の一実施例である画像信号の
符号化装置を示すブロツク構成図、第7図は、第
6図の画像信号の符号化装置において、平均値処
理を行う画素位置を示す図、第8図は、第6図の
画像信号の符号化装置において、デイザ閾値マト
リクスを示す図、第9図は、第6図の画像信号の
符号化装置において、デイザ化画像用の予測方法
を表で示す図、第10図及び第11図は、それぞ
れ第6図の画像信号の符号化装置の動作を説明す
るための各符号例を示す図である。第6図におい
て、4は、入力画像信号に対し、第7図に示す3
×3画素内の平均値処理を行う低域通過形フイル
タ、5は、低域通過形フイルタ4の出力する画像
信号から、第7図に示す領域内の最大値と最小値
の差を計数し、その値が2/9以上か否かを判定す
る領域内最大最小差計数・比較回路、6は、低域
通過形フイルタ4の出力する画像信号を、第8図
に示す2×2のデイザ閾値マトリツクスを用いて
組織的にデイザ化処理するデイザ回路、7は、領
域内最大最小差計数・比較回路5の出力信号であ
る画像信号選択信号により、デイザ化回路6の出
力信号と2値の入力画像信号のいずれか一方を選
択する2値信号切り替え器、1a及び1bは、そ
れぞれ2値信号切り替え器7の出力信号に対して
予測を行う、2値画像用(第2図の予測方法によ
る)及びデイザ化画像用(第9図の予測方法によ
る)の各予測器、2a及び2bは、それぞれ2値
画像用予測器1a及びデイザ化画像用予測器1b
の各出力である2値及びデイザ予測信号と、被符
号化画像信号との排他的論理和を取る2値画像用
及びデイザ化画像用の各排他的論理和回路、8a
及び8bは、それぞれ2値画像用排他的論理和回
路2a及びデイザ化画像用排他的論理和回路2b
の各出力である2値及びデイザ予測誤差信号をも
とに、符号化画素Xに先行する3画素内での予測
誤差数を計数する2値画像用及びデイザ化画像用
の各予測一致率計数回路、9は、2値画像用及び
デイザ化画像用の各予測一致率計数回路8a及び
8bの各出力である2値及びデイザ予測誤差数信
号を比較して、デイザ予測誤差数信号が2値予測
誤差数信号より大きいかどうかを判定する予測一
致率比較回路、10は、予測一致率比較回路9の
出力である予測誤差信号選択信号をもとに、2値
あるいはデイザ予測誤差信号のいずれか一方を選
択する予測誤差信号選択器、3は予測誤差信号選
択器10より選択された予測誤差信号(被符号化
予測誤差信号)を符号化する符号器である。 FIG. 6 is a block diagram showing an image signal encoding device according to an embodiment of the present invention, and FIG. 7 shows pixel positions where average value processing is performed in the image signal encoding device of FIG. 6. 8 is a diagram showing a dither threshold matrix in the image signal encoding device of FIG. 6, and FIG. 9 is a diagram showing a prediction method for dithered images in the image signal encoding device of FIG. 6. FIGS. 10 and 11 are diagrams each showing examples of codes for explaining the operation of the image signal encoding device shown in FIG. 6. In FIG. 6, 4 is 3 shown in FIG. 7 for the input image signal.
A low-pass filter 5 that performs average value processing within ×3 pixels counts the difference between the maximum value and minimum value within the area shown in FIG. 7 from the image signal output from the low-pass filter 4. , an area maximum/minimum difference counting/comparison circuit 6 for determining whether the value is 2/9 or more; A dither circuit 7 that performs systematic dithering processing using a threshold matrix performs a binary conversion between the output signal of the dither circuit 6 and the image signal selection signal that is the output signal of the area maximum/minimum difference counting/comparison circuit 5. Binary signal switchers 1a and 1b that select one of the input image signals are for binary images (according to the prediction method shown in FIG. ) and dithered images (based on the prediction method shown in FIG. 9), the predictors 2a and 2b are a binary image predictor 1a and a dithered image predictor 1b, respectively.
8a Exclusive OR circuits for binary images and dithered images that take exclusive ORs of the binary and dithered predicted signals output from the encoded image signal;
and 8b are an exclusive OR circuit 2a for binary images and an exclusive OR circuit 2b for dithered images, respectively.
Prediction matching rate coefficients for binary images and dithered images that count the number of prediction errors within three pixels preceding the encoded pixel X based on the binary and dithered prediction error signals output from A circuit 9 compares the binary and dithered prediction error number signals which are the respective outputs of the prediction matching rate counting circuits 8a and 8b for binary images and dithered images, and calculates the dithered prediction error number signal as a binary image. A prediction matching rate comparison circuit 10 that determines whether the prediction error number signal is larger than the prediction error number signal selects either a binary prediction error signal or a dither prediction error signal based on the prediction error signal selection signal that is the output of the prediction matching rate comparison circuit 9. A prediction error signal selector 3 selects one of the prediction error signals, and 3 is an encoder that encodes the prediction error signal (prediction error signal to be encoded) selected by the prediction error signal selector 10.
次に、上記第6図に示すこの発明の一実施例で
ある画像信号の符号化装置の動作について説明す
る。第10図及び第11図に示すa,g,h,
i,j,k,lについては、当該符号化ライン
(nライン目)を0としたライン番号を添字を付
けて区別している。また、d,e,oについて
は、2値用の方にF、デイザ用の方にDの添字を
付加している。さらに、iあるいはpにおいてD
及びFは、それぞれデイザ用及び2値用の画像信
号あるいは予測誤差信号を選択することを表わし
ている。第10図に示す画像信号aの#11より右
側の部分に、水平方向の網点周期で4画素間隔の
網点画像が含まれている。ここで、a-1及びa0は、
上記第5図に示す従来例の装置の動作説明におい
て用いたものと同一である。同図の画像信号の各
画素信号に対し、第7図に示す9画素の平均値は
低域通過形フイルタ4によりその出力gの様に求
められる。ここで、平均値を求めるべき画素が有
効画面範囲を出る場合は、その画素値を0とし
た。次いで、低域通過形フイルタ4の出力gに対
し、第7図に示す領域内の最大値と最小値の差を
求めると、ブロツク内差信号hが得られる。領域
内最大最小差計数・比較回路5では、ブロツク内
差信号hをもとに画像信号選択信号iを得る(h
2/9でデイザD,h<2/9で2値F)。 Next, the operation of the image signal encoding apparatus shown in FIG. 6, which is an embodiment of the present invention, will be described. a, g, h shown in Figures 10 and 11,
Regarding i, j, k, and l, line numbers are added with subscripts to distinguish them, with the encoded line (n-th line) being 0. Further, regarding d, e, and o, the subscript F is added to the binary one, and the subscript D is added to the dither one. Furthermore, D at i or p
and F represent selection of a dither image signal or a binary image signal or a prediction error signal, respectively. The portion to the right of #11 of the image signal a shown in FIG. 10 includes a halftone dot image with a horizontal halftone dot period and an interval of four pixels. Here, a -1 and a 0 are
This is the same as that used in the explanation of the operation of the conventional device shown in FIG. 5 above. For each pixel signal of the image signal shown in the figure, the average value of the nine pixels shown in FIG. 7 is determined by the low-pass filter 4 as its output g. Here, when the pixel for which the average value is to be calculated is outside the effective screen range, the pixel value is set to 0. Next, when the difference between the maximum value and the minimum value within the region shown in FIG. 7 is determined for the output g of the low-pass filter 4, an intra-block difference signal h is obtained. The intra-area maximum-minimum difference counting/comparison circuit 5 obtains an image signal selection signal i based on the intra-block difference signal h (h
dither D when 2/9, binary F when h<2/9).
一方、低域通過形フイルタ4の出力gは、第8
図に示すデイザ閾値マトリツクスを用いてデイザ
化回路6でデイザ化されたデイザ化信号kを得る
(gjならばkを1に、それ以外は0とする)。
ここで、デイザ閾値はnライン目の#1の画素に
1/8が対応するものとしている。低域通過形フイ
ルタ4の出力gに対応するデイザ閾値を、第10
図にjで示す。2値信号切り替え器7では、画像
信号選択信号iをもとに入力画像信号aとデイザ
化信号kを適宜に選択し、被符号化画像信号lを
得る。ここで、第1図に示す参照画素に対応する
画像信号は、第11図cに示す様になり、2値画
像用予測器1aにおいて、第2図の予測方法にし
たがい、第11図にdFで示す2値予測信号が得ら
れ、2値画像用排他的論理和回路2aで2値予測
誤差信号eFが得られる。また、デイザ化画像用予
測器1bでは、被符号化画像信号lをもとに、第
9図の予測方法にしたがつて、第11図にdDで示
すデイザ予測信号を作成する。第9図の予測方法
においては、参照画素信号のみでなく当該画素の
デイザ閾値(当該画素が2×2のマトリツクス内
のどの位置にあるかという情報と等価である)情
報も考慮に入れられている。これは、デイザ化画
像においては、当該画素の閾値によつて0になり
やすいか1になりやすいか等の性質が大きく異な
ることから、閾値を考慮に入れた方が予測一致率
を向上できるからである。また、参照画素として
Iが加えられているには、その閾値が符号化画素
Xと等しく、相関が各画素BやCより強くなるた
めである。デイザ予測信号dDはデイザ化画像用排
他的論理和回路2bで2値画像と同様にしてデイ
ザ予測誤差信号YeDが得られる。上記した2種類
の2値及びデイザ予測誤差信号eF及びeDは、それ
ぞれ2値及びデイザ化画像用予測一致率計数回路
8a及び8bにおいて、当該符号化画素Xに先行
する3画素中の2値及びデイザ予測誤差数oF及び
oDが計数される。予測一致率比較回路9にて、上
記2値及びデイザ予測誤差数oF及びoDを比較する
ことにより、予測誤差信号選択信号pを得る(こ
こで、oF>oDならばpをデイザDに、それ以外で
は2値Fとする)。予測誤差信号選択器10では、
この予測誤差信号選択信号pをもとに2値及びデ
イザ予測誤差信号eF及びeDを選択し、被符号化予
測誤差信号eを得る。最後に、符号器3により、
第3図に示す符号列にしたがつて符号化が行われ
て符号化系列fが得られる。また、復号化装置に
おいては、符号化系列fを、第3図の符号例にし
たがつて復号し、被符号化予測誤差信号eを得
る。その後、符号化装置と同時に、予測器と排他
的論理和回路と予測一致率計数回路を各2組用意
することにより、2種類の(当該復号化画素に先
行する3画素分)の予測誤差信号を作成する。さ
らに、符号化装置と同時に、予測一致率比較回路
により2種の(当該復号化画素の)の予測信号の
内のどちらが符号化装置で用いられたかを判定
し、それに基づいて選択された予測値と上記復号
された被符号化予測誤差信号eとの排他的論理和
により、被符号化画像信号l0を得る。 On the other hand, the output g of the low-pass filter 4 is
Using the dither threshold matrix shown in the figure, a dithered signal k is obtained which is dithered by the dithering circuit 6 (if gj, k is set to 1, otherwise set to 0).
Here, it is assumed that the dither threshold corresponds to 1/8 of the #1 pixel of the n-th line. The dither threshold corresponding to the output g of the low-pass filter 4 is set to the 10th
Indicated by j in the figure. The binary signal switch 7 appropriately selects the input image signal a and the dithered signal k based on the image signal selection signal i to obtain an encoded image signal l. Here, the image signal corresponding to the reference pixel shown in FIG. 1 becomes as shown in FIG. 11c, and in the binary image predictor 1a, according to the prediction method shown in FIG. A binary prediction signal indicated by F is obtained, and a binary prediction error signal e F is obtained by the binary image exclusive OR circuit 2a. Further, the dithered image predictor 1b creates a dithered prediction signal shown as dD in FIG. 11 based on the encoded image signal l according to the prediction method shown in FIG. In the prediction method shown in Fig. 9, not only the reference pixel signal but also the dither threshold value information of the pixel (equivalent to information about the position of the pixel in a 2 x 2 matrix) is taken into account. There is. This is because the properties of dithered images vary greatly depending on the threshold of the pixel, such as whether it tends to be 0 or 1, so taking the threshold into account can improve the prediction matching rate. It is. Further, I is added as a reference pixel because its threshold value is equal to the encoded pixel X, and the correlation is stronger than that of each pixel B or C. The dithered prediction signal dD is used in the dithered image exclusive OR circuit 2b to obtain the dithered prediction error signal YeD in the same way as for binary images. The two types of binary and dithered prediction error signals e F and e D described above are input to two of the three pixels preceding the encoded pixel value and number of dither prediction errors o F and
o D is counted. The prediction error signal selection signal p is obtained by comparing the binary values and the numbers of dither prediction errors o F and o D in the prediction matching rate comparison circuit 9 (Here, if o F > o D , p is D, otherwise binary F). In the prediction error signal selector 10,
Based on this prediction error signal selection signal p, binary and dither prediction error signals e F and e D are selected to obtain a coded prediction error signal e. Finally, encoder 3 gives
Encoding is performed according to the code string shown in FIG. 3 to obtain a coded sequence f. Further, the decoding device decodes the coded sequence f according to the code example shown in FIG. 3 to obtain a coded prediction error signal e. Thereafter, by preparing two sets each of a predictor, an exclusive OR circuit, and a prediction matching rate counting circuit at the same time as the encoding device, two types of prediction error signals (for the three pixels preceding the decoded pixel) are generated. Create. Furthermore, at the same time as the encoding device, a prediction matching rate comparison circuit determines which of the two types of prediction signals (of the decoded pixel) was used in the encoding device, and a predicted value is selected based on that. The coded image signal l 0 is obtained by exclusive ORing the decoded coded prediction error signal e.
なお、上記実施例では、入力画像信号aとして
はさらに2値化されたものを使用した場合につい
て説明したが、多階調信号(あるいはアナログ信
号)を用い、2値信号切り替え器7の2種の入力
の内、一方(2値画像用)入力の直直前に2値化
回路を設けても良い。 In the above embodiment, the input image signal a is further binarized, but a multi-tone signal (or analog signal) is used, and two types of binary signal switch A binarization circuit may be provided immediately before one of the inputs (for a binary image).
また、上記実施例では、いわゆる予測符号化方
式に対する場合について説明したが、参照画素あ
るいはデイザ閾値情報により予測誤差信号系列を
複数の系列に分け、各系列の統計的性質に適した
符号を用いて符号化する、いわゆるマルコ・モデ
ルに基づく符号化方式にも適応することができ
る。 In addition, in the above embodiment, a case was explained for a so-called predictive coding method, but a prediction error signal sequence is divided into a plurality of sequences based on reference pixel or dither threshold information, and a code suitable for the statistical properties of each sequence is used. The present invention can also be applied to an encoding method based on the so-called Marco model.
この発明は以上説明した様に、画像信号の符号
化装置において、2値画像及び網点画像が混在す
る画像信号に対し、当該画素の近傍のあらかじめ
定められた領域の平均値処理を行う低域通過形フ
イルタと、前記領域内における低域通過形フイル
タの出力の最大値と最小値の差を検出比較する比
較回路を用いて2値画像と網点画像を分離し、網
点画像に対しては低域通過形フイルタの出力をデ
イザ化回路によりデイザ化処理し、2値画像用及
びデイザ化画像用の各予測器を用いて、先行する
所定個数内の符号化画素の予測一致率により、前
記各予測器を選択的に使用して、符号化画素を予
測変換、符号化する様に構成したので、各画素に
適応した符号化が容易にでき、全体として高い効
率でのデータ圧縮が可能になると共に、種々のス
クリーンを用いた網点写真に対しても、モアレの
ない、極めて階調再現性の良い良好な画質の画像
を再生することができるという優れた効果を奏す
るものである。
As explained above, the present invention uses a low-frequency image signal encoding device that performs average value processing of a predetermined area near a pixel on an image signal containing a mixture of binary images and halftone images. The binary image and the halftone image are separated using a pass-through filter and a comparison circuit that detects and compares the difference between the maximum and minimum values of the output of the low-pass filter within the area, and The output of the low-pass filter is dithered by a dithering circuit, and using each predictor for binary images and dithered images, the prediction matching rate of the preceding predetermined number of encoded pixels is calculated as follows. Since each of the predictors is selectively used to predictively transform and encode encoded pixels, encoding adapted to each pixel can be easily performed, and data can be compressed with high overall efficiency. In addition, it has the excellent effect of being able to reproduce moiré-free, high-quality images with extremely good gradation reproducibility even for halftone photographs using various screens.
第1図は従来の画像信号の符号化装置におい
て、予測符号化に用いられる参照画素位置の一例
を示す図、第2図は、第1図の画像信号の符号化
装置において、予測方法の一例を表で示す図、第
3図は、第1図の画像信号の符号化装置におい
て、予測誤差信号を符号化する際の符号例を示す
図、第4図は従来の画像信号の符号化装置を示す
ブロツク構成図、第5図は、第4図の画像信号の
符号化装置の動作を説明するための各符号例を示
す図、第6図はこの発明の一実施例である画像信
号の符号化装置を示すブロツク構成図、第7図
は、第6図の画像信号の符号化装置において、平
均値処理を行う画素位置を示す図、第8図は、第
6図の画像信号の符号化装置において、デイザ閾
値マトリツクスを示す図、第9図は、第6図の画
像信号の符号化装置において、デイザ化画像用の
予測方法を表で示す図、第10図及び第11図
は、それぞれ第6図の画像信号の符号化装置の動
作を説明するための各符号例を示す図である。
図において、1……予測器、1a……2値画像
用予測器、1b……デイザ化画像用予測器、2…
…排他的論理和回路、2a……2値画像用排他的
論理和回路、2d……デイザ化画像用排他的論理
和回路、3……符号器、4……低域通過形フイル
タ、5……領域内最大最小差計数・比較回路、6
……デイザ化回路、7……2値信号切り替え器、
8a……2値画像用予測一致率計数回路、8b…
…デイザ化画像用予測一致率計数回路、9……予
測一致率比較回路、10……予測誤差信号選択器
である。なお、各図中、同一符号は同一、又は相
当部分を示す。
FIG. 1 is a diagram showing an example of reference pixel positions used for predictive encoding in a conventional image signal encoding device, and FIG. 2 is an example of a prediction method in the image signal encoding device of FIG. 1. 3 is a diagram showing a code example when encoding a prediction error signal in the image signal encoding device of FIG. 1, and FIG. 4 is a diagram showing a conventional image signal encoding device. FIG. 5 is a diagram showing each code example for explaining the operation of the image signal encoding device shown in FIG. 4, and FIG. 7 is a block diagram showing the encoding device; FIG. 7 is a diagram showing pixel positions where average value processing is performed in the image signal encoding device of FIG. 6; and FIG. 8 is a diagram showing the code of the image signal of FIG. 6. FIG. 9 is a diagram showing a dither threshold matrix in the image signal encoding device of FIG. 6, and FIGS. FIG. 7 is a diagram showing each code example for explaining the operation of the image signal coding device shown in FIG. 6; In the figure, 1...predictor, 1a...predictor for binary images, 1b...predictor for dithered images, 2...
...Exclusive OR circuit, 2a...Exclusive OR circuit for binary images, 2d...Exclusive OR circuit for dithered images, 3...Encoder, 4...Low pass filter, 5... ...Maximum/minimum difference counting/comparison circuit within area, 6
...Dither circuit, 7...Binary signal switch,
8a...Binary image prediction matching rate counting circuit, 8b...
. . . Prediction matching rate counting circuit for dithered images, 9 . . . Predicting matching rate comparison circuit, 10 . . . Prediction error signal selector. In each figure, the same reference numerals indicate the same or equivalent parts.
Claims (1)
が混在する画像信号を、先行する近接画素の値に
より当該画素信号を予測して、その予測誤差信号
を符号化する予測符号化装置において、 当該画素の近傍のあらかじめ定められた領域の
平均値処理を行う低域通過形フイルタと、 この低域通過形フイルタからの出力信号を可変
閾値によりデイザ化処理により2値化するデイザ
化回路と、 前記当該画素の近傍のあらかじめ定められた領
域内の画素に対応する前記低域通過形フイルタの
出力の最大値と最小値を検出し、その差があらか
じめ定められた値を超えるか否かを判定する比較
回路と、 この比較回路の出力信号により、2値信号と前
記デイザ化回路の出力のいずれかを選択する2値
信号切り替え器と、 この2値信号切り替え器の出力信号を入力と
し、それぞれ前記2値画像用及びデイザ化処理さ
れた画像信号用の予測を行う第1及び第2の予測
器と、 この各第1及び第2の予測器からの出力信号を
もとに、あらかじめ定められた個数の先行画素中
の予測一致率を計数する第1及び第2の予測一致
率計数回路と、 この各第1及び第2の予測一致率計数回路の出
力信号をもとに、2種の前記予測誤差信号のいず
れか一方を選択する予測誤差信号選択器とを備え
ていることを特徴とする画像信号の符号化装置。[Claims] 1. For an image signal in which a binary image consisting of characters, line drawings, etc. and a halftone image are mixed, the pixel signal is predicted based on the values of preceding adjacent pixels, and the prediction error signal is encoded. The predictive coding device includes a low-pass filter that performs average value processing in a predetermined area near the pixel, and the output signal from the low-pass filter is binarized by dithering processing using a variable threshold. detecting the maximum and minimum values of the outputs of the low-pass filter corresponding to pixels in a predetermined area in the vicinity of the pixel, and calculating the difference between them as a predetermined value. a comparison circuit that determines whether or not it exceeds the limit; a binary signal switch that selects either the binary signal or the output of the dithering circuit based on the output signal of the comparison circuit; and the output of the binary signal switch. first and second predictors that receive signals as input and perform predictions for the binary image and the dithered image signal, respectively; and output signals from the first and second predictors, respectively. and first and second predicted matching rate counting circuits that count predicted matching rates in a predetermined number of preceding pixels, and output signals of the first and second predicted matching rate counting circuits. and a prediction error signal selector for selecting one of the two types of prediction error signals.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10120584A JPS60244160A (en) | 1984-05-17 | 1984-05-17 | Picture signal coder |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10120584A JPS60244160A (en) | 1984-05-17 | 1984-05-17 | Picture signal coder |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60244160A JPS60244160A (en) | 1985-12-04 |
| JPH0241232B2 true JPH0241232B2 (en) | 1990-09-17 |
Family
ID=14294423
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10120584A Granted JPS60244160A (en) | 1984-05-17 | 1984-05-17 | Picture signal coder |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60244160A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6427369A (en) * | 1987-07-22 | 1989-01-30 | Sharp Kk | Picture signal compression device |
| US5166987A (en) * | 1990-04-04 | 1992-11-24 | Sony Corporation | Encoding apparatus with two stages of data compression |
-
1984
- 1984-05-17 JP JP10120584A patent/JPS60244160A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60244160A (en) | 1985-12-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0392701B1 (en) | Image reduction apparatus | |
| US4217609A (en) | Adaptive predictive coding system for television signals | |
| US5461681A (en) | Image data processing apparatus | |
| EP0253326B1 (en) | Method and apparatus for encoding and decoding dither signals for reproduction of the halftone of a picture | |
| EP0613290B1 (en) | Method and apparatus for binary image data compression | |
| US6912318B2 (en) | Method and system for compressing motion image information | |
| JPS62145988A (en) | Transmission system for picture applied with adoptive scanning-line conversion | |
| JPH02177766A (en) | Hierarchical encoding system for binary image | |
| JPH0137065B2 (en) | ||
| US5243446A (en) | Adaptive clumped dithering with clump plane separation | |
| US6631161B1 (en) | Method and system for compressing motion image information | |
| JPH0241232B2 (en) | ||
| JP3491274B2 (en) | Remote scan line coding method | |
| JP2634793B2 (en) | Color image signal encoding device | |
| JP3189068B2 (en) | Image data encoding | |
| JPH02288695A (en) | Image encoding and decoding device | |
| JP2929591B2 (en) | Image coding device | |
| JPH0993440A (en) | Multi-valued image processing device | |
| JPS6374269A (en) | Pseudo halftone image signal decoding device | |
| JPH09135357A (en) | Decoder for color image signal | |
| JPS6174455A (en) | Coding control system of binary picture signal | |
| JPH047871B2 (en) | ||
| JPS6055790A (en) | Inter-frame coding device of vector quantization type | |
| JPH03171875A (en) | Method and device for encoding/decoding picture signal | |
| JPH0113673B2 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |