JPS60244160A - Image signal encoding device - Google Patents
Image signal encoding deviceInfo
- Publication number
- JPS60244160A JPS60244160A JP10120584A JP10120584A JPS60244160A JP S60244160 A JPS60244160 A JP S60244160A JP 10120584 A JP10120584 A JP 10120584A JP 10120584 A JP10120584 A JP 10120584A JP S60244160 A JPS60244160 A JP S60244160A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- prediction
- image
- image signal
- pixel
- 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.)
- Granted
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)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
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 encodes and compresses mixed image signals.
従来ファクシミリ等は、主として2値画像を対勤に1−
介誌着づλへ膚り、との梯に鉢着に網点前像を入力する
と、画像信号の持つ統計的性質が、一般に2値画像と大
きく異なり、符号化の効率が極端に悪くなってしまう。Conventional facsimile machines mainly send binary images to
When inputting a pre-halftone image on the basis of a transition to λ, the statistical properties of the image signal are generally very different from those of a binary image, and the efficiency of encoding becomes extremely low. I end up.
このため、網点画像用の符号化装置も一部考えられてい
るが、この装置は、線類や傾き等を特定のスクリーンを
用いて表示する網点写真を対象としておシ、種々の網点
写真が対象となる装置には使用できない。−
以下、図を用いて従来の画像信号の符号化装置について
説明する。第1図は従来の画像信号の符号化装置におい
て、予測符号化に用いられる参照画素位置の一例を示す
図である。図において、Xは符号化し様としている当該
画素である符号化画素、A、Iは符号化画素Xと同一ラ
インの画素、B、C,Dは符号化画素Xの直前ラインの
画素である。また、R,は主走査方向、R1は副走査方
向である。予測符号化においては、符号化画素信号は、
先行する近接画素信号により予測され、その予測値と実
際の信号とp差信号(予測誤差信号)が符号化される。For this reason, some encoding devices for halftone images have been considered, but this device is intended for halftone photographs that display lines, slopes, etc. using a specific screen. It cannot be used for devices that target point photographs. - 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, X is a coding pixel that 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, is the main scanning direction, and R1 is the sub-scanning direction. In predictive encoding, the encoded pixel signal is
It is predicted based on the preceding neighboring pixel signal, and the predicted value, the actual signal, and the p difference signal (prediction error signal) are encoded.
第2図は、第1図の画像信号の符号化装置において、予
測方法の一例を表で示す図である。この例における参照
画素としては、第1図に示す様に1符号化画素Xと同一
ラインで、かっ゛直前の画素人と、符号化画素Xの直前
ラインの3画素B、C,Dとが用いられている。第3図
は、第1図の画像信号の符号化装置において、予測誤差
信号を符舟化す不透の符号例を示す図である。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 are the pixel immediately preceding one encoded pixel X on the same line, and the three pixels B, C, and D on the line immediately before encoded pixel X. It is used. FIG. 3 is a diagram showing an example of an opaque code for encoding a prediction error signal in the image signal encoding apparatus of FIG. 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図に示す符号例に基づき符号化を行う符号器である
。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 a 2-bit binary representation of m. FIG. 4 is a block diagram showing a conventional image signal encoding device, and FIG. 5 is a diagram showing examples of codes for explaining the operation of the image signal encoding device shown in FIG. In each figure, 1 takes as input an image signal indicating a coded pixel This is a predictor that creates the number X. 2 is an exclusive OR (EX-OR) circuit that creates a prediction error signal Y based on the image signal and the prediction signal X; 3 is a sequence of the prediction error signal Y;
This is an encoder that performs encoding based on the code example shown in FIG.
次に、上記第4図に示す従来の画像信号の符号化装置の
動作について説明する。第5図に示すa−1及びaoは
それぞれn−1ライン(符号化ラインの直前のライン)
及びnライン(符号化ライン)の画像信号である。1ラ
インは24画素とし、疋査順に411〜#24と番号を
付けている。aoの符号化ラインを走査すると、各位置
において、第1図に示す各参照画素A、B、C,Dは、
それぞれ第5図に示すCの様になる。ここでは、各参照
画素人。Next, the operation of the conventional image signal encoding apparatus shown in FIG. 4 will be explained. a-1 and ao shown in FIG. 5 are respectively n-1 lines (line immediately before the encoding line)
and an image signal of n lines (encoded lines). One line has 24 pixels, and they are numbered 411 to #24 in the order of scanning. When scanning the encoded line of ao, at each position, each reference pixel A, B, C, D shown in FIG.
Each of them looks like C shown in FIG. Here, each reference pixel.
B、C,Dが有効画面範囲よりはずれる場合は0となし
、第5図ではこれを括弧で囲って示しである。第4図に
示す予測器1は、第2図に示す予測方法の表にしたがっ
て、第5図Kdで示す予測値△
号Xを作成する。排他的論理和回路2では、この△
予測信号Xと実際の画像信号(第5図のa。)によシ、
第5図にeで示す予測誤差信号Yを得る。符号器3では
、この予測誤差信号Yをもとに、第3図に示す符号例に
したがって符号化が行われ、結局、第5図にfで示す符
号化系列を得ることとな弧で囲んだ信号は、ライン終端
を示すために仮想的に付加されたものであり、符号化系
列fにはこの信号に対する符号も加えられている。第5
図に示す様な画像信号の場合、符号化ラインa0の4#
11以降に4画素間隔のほぼ周期的信号がある(水平方
向の網点周期が4画素間隔の網点画像では、この様な信
号が多く生起する)ため、1ラインの総符号ビットが3
1となって逆にデータ量が増大してしまっている。これ
は、網点画像部分についても、第2図に示す様な通常の
2値画像用の予測を行っているために、予測一致率が低
下しているからである。If B, C, and D are outside the effective screen range, they are set to 0, and are shown enclosed in parentheses in FIG. The predictor 1 shown in FIG. 4 creates a predicted value ΔX shown by Kd in FIG. 5 in accordance with the prediction method table shown in FIG. The exclusive OR circuit 2 uses this △ prediction signal X and the actual image signal (a in FIG. 5) to calculate
A prediction error signal Y shown as e in FIG. 5 is obtained. In the encoder 3, encoding is performed based on this prediction error signal Y according to the code example shown in FIG. 3, resulting in the encoded sequence shown by f in FIG. This signal is virtually added to indicate the end of the line, and the code for this signal is also added to the encoded sequence f. Fifth
In the case of an image signal as shown in the figure, 4# of encoding line a0
Since there is an approximately periodic signal with a 4-pixel interval after 11 (such signals often occur in a halftone image with a horizontal halftone period of 4 pixels), the total code bits of one line are 3.
1, 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 the prediction matching rate is reduced.
上述した様に1従来の画像信号の符号化装置では、通常
の2値画像及び網点画像が混合する場合にも、通常の2
値画像用の符号化を行っていたため、効率的なデータ圧
縮が不可能であった。また、網点画像を読′み取った画
像信号を単純に2値化した信号に符号化していたため、
網点の周期と画素間隔が近い場合には、モアレを発生し
、画質が極〔発明の概要〕
この発明は、上記の様な従来のものの欠点を改善する目
的でなされたもので、2値画像及び網点画像が混在する
画像信号に対し、当該画素の近傍のあらかじめ定められ
た領域の平均値処理を行う低域通過形フィルタと、前記
領域内圧おける低域通過形フィルタの出力の最大値と最
小値の差を検出比較する比較回路を用いて2値画像と網
点画像を分離し、網点画*に対しては低域通過形フィル
タの出力をディザ化回路にょクディザ化処理し、2値画
像用及びディザ化画像用の各予測器を用いて、先行する
所定個数内の符号化画素の予測−数本により、前記各予
測器を選択的に使用して、符号化画素を予測変換、符号
化することにより、高い効率でのデータ圧縮ができると
共に1種々のスクリーンを用いた網点写真に対しても、
モアレのない、良好な画質の画像を再生できる画像信号
の符号化装置を提供するものである。As mentioned above, in the conventional image signal encoding device, even when a normal binary image and a halftone image are mixed,
Since encoding was performed for value images, efficient data compression was not possible. Also, since the image signal obtained by reading the halftone image was simply encoded into a binary signal,
When the period of halftone dots and the pixel interval are close, moiré occurs and the image quality becomes extremely low. A low-pass filter that performs average value processing in a predetermined area near the pixel for an image signal containing a mixture of images and halftone images, and a maximum value of the output of the low-pass filter at the pressure within the area. The binary image and the halftone image are separated using a comparison circuit that detects and compares the difference between Prediction of a predetermined number of preceding coded pixels using each of the predictors for value images and dithered images - predictive conversion of coded pixels by selectively using each of the predictors By encoding, it is possible to compress data with high efficiency, and also for halftone photographs using various screens.
An object of the present invention is to provide an image signal encoding device capable of reproducing images of good quality without moiré.
以下、この発明の実施例を図について説明する。 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図に示す3X3画素内の平均値
処理を行う低域通過形フィルタ、5は、低域通過形フィ
ルタ4の出力する画像信号から、第7図に示す領域内の
最大値と最小値の差を計数し、その値が279以上が否
かを判定する領域内最大最小差計数・比較回路、6は、
低域通過形フィルタ4の出力する画像信号を、第8図に
示す2X2のディザ閾値マ) IJソックス用いて組織
的にディザ化処理するディザ化回路、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は予測誤差信号選択器lOよシ
選択された予測誤差信号(被符号化予測誤差信号)を符
号化する符号器である。FIG. 6 is a block configuration diagram showing an image signal encoding device which is 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 a low-pass filter that performs average value processing within 3×3 pixels shown in FIG. An area maximum/minimum difference counting/comparing circuit 6 counts the difference between the maximum value and the minimum value within the area shown in FIG. 7, and determines whether the value is 279 or more.
A dither circuit 7 systematically dithers the image signal output from the low-pass filter 4 using a 2×2 dither threshold shown in FIG. a binary signal switching device that selects either the output signal of the dithering circuit 6 or the binary input image signal according to the image signal selection signal that is the output signal of the circuit 5;
1a and 1b are used for binary images (according to the prediction method shown in FIG. 2) and for dithered images (according to the prediction method shown in FIG. 9), which predict the output signal of the binary signal switcher 7, respectively. ), each of the predictors 2a and 2b performs an exclusive operation between the binary and dither prediction signals, which are the outputs of the binary image predictor 1a and the dithered image predictor 1b, respectively, and the encoded image signal. The exclusive OR circuits 8a and 8b for binary images and dithered images that take logical sums are respectively the exclusive OR circuit 2a for binary images and the exclusive OR circuit 2b for dithered images. Based on the binary and dithered prediction error signals that are each output, count the number of prediction errors within the three pixels preceding the encoded pixel X. Each prediction for binary images and dithered images - count The circuit 9 is the output of each prediction-number counting circuit 8a and 8b for binary images and dithered images.
10 is the output of the prediction-several comparison circuit 9, which compares the dithered prediction error number signal and the dithered prediction error number signal to determine whether the dithered prediction error number signal is larger than the binary prediction error number signal; A prediction error signal selector 3 selects either a binary prediction error signal or a dither prediction error signal based on a prediction error signal selection signal 3, which is a prediction error signal selected by the prediction error signal selector lO. This is an encoder that encodes a coded prediction error signal).
次に、上記第6図に示すこの発明の一実施例である画像
信号の符号化装置の動作について説明する。第10図及
び第11図に示すa+g+h、1+J + k+ A!
については、当該符号化ライン(nライン目)をOとし
たライン番号を添字を付けて区別している。また、d、
e、oについては、2値用の方にF、ディザ用の方にD
の添字を付加している。さらに、iあるいはpにおいて
D及びFは、それぞれディザ用及び2値用の画像信号あ
るいは予測誤差信号を選択することを表わしている。第
10図に示す画像信号aの#11よシ右側の部分に、水
平方向の網点周期で4画素間隔の網点画像が含まれてい
る。ここで、al及びaoは、上記第5図に示す従来例
の装置の動作説明において用いたものと同一である。同
図の画像信号の各画素信号忙対し、第7図に示す9画素
の平均値は低域通過形フィルタ4によシその出力gの様
にめられる。ここで、平均値をめるべき画素が有効画面
範囲を出る場合は、その画素値を0とした。次いで、低
域通過形フィルタ4の出力gK対し、第7図に示す領域
内の最大値と最小値の差をめると、ブロック内差信号り
が得られる。領域内最大最小差計数・比較回路5では、
ブロック内差信号りを・もとに画像信号選択信号iを得
る(hき%でディザ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, 1+J+k+A! shown in FIGS. 10 and 11.
are distinguished by adding a subscript to the line number, with O being the encoded line (n-th line). Also, d,
For e and o, set F for binary and D for dither.
A subscript is added. Further, in i or p, D and F represent selection of dither and binary image signals or prediction error signals, respectively. The right side 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, al and ao are the same as those used in the explanation of the operation of the conventional apparatus shown in FIG. 5 above. Regarding each pixel signal of the image signal in the figure, the average value of the nine pixels shown in FIG. 7 is obtained by the low-pass filter 4 as its output g. Here, if a pixel for which the average value should be calculated is outside the effective screen range, the pixel value was set to 0. Next, by subtracting the difference between the maximum value and the minimum value within the region shown in FIG. 7 for the output gK of the low-pass filter 4, an intra-block difference signal is obtained. In the area maximum/minimum difference counting/comparison circuit 5,
Obtain the image signal selection signal i based on the intra-block difference signal (dither D at h%, binary F at h < 2/9)
.
一方、低域通過形フィルタ4の出力gは、第8図に示す
ディザ閾値マトリックスを用いてディザ化回路6でディ
ザ化されたディザ化信号kを得る(gきjならばkを1
に、それ以外は0とする)。On the other hand, the output g of the low-pass filter 4 is dithered by the dither circuit 6 using the dither threshold matrix shown in FIG.
and 0 otherwise).
ここで、ディザ閾値はnライン目の#1の画素に1/8
が対応するものとしている。低域通過形フイk I 4
(D 出力g K対応するディザ閾値ヲ、第10図K
jで示す。2値信号切り替え器7では、画像信号選択信
号iをもとに人力画像信号aとディザ化信号kを適゛宜
に選択し、被符号化画像信号lを得る。ここで、第1図
に示す参照画素に対応する画像信号は、第11図Cに示
す様になシ、2値画像用予測器1aにおいて、第2図の
予測方法にしたがい、第11図にdFで示す2値予測信
号が得られ、2値画像用排他的論理和回路2aで2値予
測誤差信号eFが得られる。また、ディザ化画像用予測
器1bでは、被符号化画像信号lをもとに1第9図の予
測方法にしたがって、第11図KdDで示すディザ予測
信号を作成する。第9図の予測方法においては、参照画
素信号のみでなく当該画素のディザ閾値(当該画素が2
X2のマトリックス内のどの位置にあるかという情報と
等価である)情報も考慮に入れられている。これは、デ
ィザ化画像においては、当該画素の閾値によって0にな
シやすいか1になシやすいか等の性質が大きく異なるこ
とから、閾値を考慮に入れた方が予測−数本を向上でき
るからである。また、参照画素として1が加えられてい
るのは、その閾値が符号化画素Xと等しく、相関が各画
素BやCより強くなるためである。ディザ予測信号dD
Fiディザ化画像用排他的論理利回路2bで2値画像と
同様圧してディザ予測誤差信号eDが得られる。上記し
た2種類の2値及びディザ予測誤差信号ep及びeDは
、それぞれ2値及びディザ化画像用予測−数本計数回路
8a及び8bにおいて、当該符号化画素XK先行する3
画素中の2値及びディザ予測誤差数。、及びODが計数
される。予測−数本比較回路9にて、上記2値及びディ
ザ予測誤差数。、及び。。を比較することにより、予測
誤差信号選択信号pを得る(ここで、OF>oDならば
pをディザDに、それ以外では2値Fとする)。予測誤
差信号選択器10では、この予測誤差信号選択信号pを
もとに2値及びディザ予測誤差信号ep及びeDを選択
し、被符号化予測誤差信号eを得る。最後に1符号器3
により、第3図に示す符号例にしたがって符号化が行わ
れて符号化系列fが得られる。また、復号化装置におい
ては、符号化系列fを、第3図の符号例にしたがって復
号し、被符号化予測誤差信号eを得る。その後、符号化
装置と同時に、予測器と排他的論理和回路と予測−数本
計数回路を各2組用意することにより、2種類の(当該
復号化画素に先行する3画素分の)予測誤差信号を作成
する。さらに1符号化装置と同時に、予測−数本比較回
路により2一種の(当該復号化画素の)予測信号の内の
どちらが符号化装置で用いられたかを判定し、それに基
づいて選択された予測値と上記復号された被符号化予測
誤差信号eとの排他的論理和により、被符号化画像信号
10を得る。Here, the dither threshold is 1/8 for the #1 pixel of the n-th line.
shall correspond. Low-pass type filter I 4
(D Output g K Corresponding dither threshold wo, Fig. 10 K
Indicated by j. The binary signal switch 7 appropriately selects the human 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 is processed by the binary image predictor 1a as shown in FIG. A binary prediction signal indicated by dF is obtained, and a binary prediction error signal eF is obtained by the binary image exclusive OR circuit 2a. Further, the dithered image predictor 1b creates a dithered prediction signal shown as KdD 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 of the pixel
The information (equivalent to the location in the matrix of X2) is also taken into account. This is because in a dithered image, the properties of the pixel vary greatly, such as whether it is easy to change to 0 or easy to change to 1, depending on the threshold value of the pixel, so taking the threshold value into account can improve predictions. It is from. Furthermore, 1 is added as the reference pixel because its threshold is equal to the encoded pixel X and the correlation is stronger than that of each pixel B or C. Dither prediction signal dD
A dither prediction error signal eD is obtained by the exclusive logic circuit 2b for Fi dithered images in the same way as for binary images. The two types of binary and dithered prediction error signals ep and eD described above are applied to the corresponding encoded pixel
Number of binary and dither prediction errors in a pixel. , and OD are counted. The prediction-number comparison circuit 9 calculates the number of binary and dither prediction errors. ,as well as. . By comparing , a prediction error signal selection signal p is obtained (here, p is set to dither D if OF>oD, and set to binary F otherwise). The prediction error signal selector 10 selects binary and dithered prediction error signals ep and eD based on this prediction error signal selection signal p to obtain a coded prediction error signal e. Finally 1 encoder 3
Thus, encoding is performed according to the code example shown in FIG. 3, and a coded sequence f is obtained. 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-multiple counting circuit at the same time as the encoding device, two types of prediction errors (for the three pixels preceding the decoding pixel) are calculated. Create a signal. Furthermore, at the same time as the first encoding device, a prediction-multiple 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 10 is obtained by exclusive ORing the decoded coded prediction error signal e.
なお、上記実施例では、入力画像信号aとしてはさらに
2値化されたものを使用した場合について説明したが、
多階調信号(あるいはアナログ信号)を用い、2値信号
切り替え器7の2種の入力の内、一方(2値画像用)入
力の直前に2値化回路を設けても良い。Note that in the above embodiment, a case was explained in which a further binarized input image signal a was used.
A multi-gradation signal (or analog signal) may be used, and a binarization circuit may be provided immediately before one of the two inputs of the binary signal switch 7 (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 multiple sequences using reference pixels or dither threshold information, and a code suitable for the statistical properties of each sequence is assigned. It is also possible to adapt to an encoding method based on the so-called Marco model.
この発明は以上説明した様に、°画像信号の符号化装置
において、2値画像及び網点画像が混在する画像信号に
対し、当該画素の近傍のあらかじめ定められた領域の平
均値処理を行う低域通過形フィルタと、前記領域内にお
ける低域通過形フィルタの出力の最大値と最小値の差を
検出比較する比較回路を用いて2値画像と網点画像を分
離し、網点画像に対しては低域通過形フィルタの出力を
ディザ化回路によ)ディザ化処理し、2値画像用及びデ
ィザ化画像用の各予測器を用いて、先行する所定個数内
の符号化画素の予測−数本により、前記各予測器を通釈
的に使用して、符号化画素を予測変換、符号化する様に
構成したので一各画素に適応した符号化が容易にでき、
全体として高い効率でのデータ圧縮が可能になると共に
、種々のスクリーンを用いた網点写真に対しても、モア
レのない、極めて階調再現性の良い良好な画質の画像を
再生することができるという優れた効果を奏するもので
ある。As explained above, the present invention is an image signal encoding device that performs average value processing on 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 comparator circuit that detects and compares the difference between the maximum and minimum values of the outputs of the pass filter and the low pass filter within the area, and Then, the output of the low-pass filter is dithered (by a dithering circuit), and a predetermined number of preceding encoded pixels are predicted using predictors for binary images and dithered images. By using several predictors, each of the predictors is used interchangeably to predictively transform and encode the encoded pixel, making it easy to perform encoding adapted to each pixel.
In addition to making it possible to compress data with high overall efficiency, it is also possible to reproduce high-quality images with no moiré and extremely good gradation reproducibility even for halftone photographs using various screens. This has an excellent effect.
第1図は従来の画像信号の符号化装置において、予測符
号化に用いられる参照画素位置の一例を示す図、第2図
は、第1図の画像信号の符号化装置にといて、予測方法
の一例を表で示す図1.第3図は、第1図の画像信号の
符号化装置において、予測誤差信号を符号化する際の符
号例を示す図、第4図は従来の画像信号の符号化装置を
示すブロック構成図、第5図は、第4図の画像信号の符
号化装置の動作を説明するための各符号例を示す図、第
6図はこの発明の一実施例である画像信号の符号化装置
を示すブロック構成図、第7図は、第6図の画像信号の
符号化装置において、平均値処理を行う画素位置を示す
図、第8図は、第6図の画像信号の符号化装置において
、ディザ閾値マトリックスを示す図、第9図は、第6図
の画像信号の符号化装置において、ディザ化画像用の予
測方法を表で示す図、第10図及び第11図は、それぞ
れ第6図の画像信号の符号化装置の動作を説明するため
の各符号例を示す図である。
図において、1・・・予測器、1a・・・2値画像用予
測器、1b・・・ディザ化画像用予測器、2・・・排他
的論理和回路、2a・・・2値画像用排他的論理利回路
、2b・・・ディザ化画像用排他的論理和回路、3・・
・符号器、4・−・低域通過形フィルタ、5・・・領域
内最大最小差計数・比較回路、6・・・ディザ化回路、
7・・・2値信号切り替え器、8a・・・2値画像用予
測一致率計数回路、8b・・・ディザ化画像用予測−数
本計数回路、9・・・予測−数本比較回路、10・・・
予測誤差信号選択器である。
なお、各図中、同一符号は同一、又は相当部分を示す。
代理人 大岩増雄
第1図
1
第2図
第3図
第4図
0
RJfOLJ t) Ql h
第8図
第9図
手続補正書(自発)
1.事件の表示 特願昭 59−101205号2、発
明の名称 画像信号の符号化装置3、補正をする者
事件との関係 特許出願人
住 所 東京都千代田区丸の画工丁目2番3号名 称
(601)三菱電機株式会社
代表者片山仁八部
4、代理人
住 所 東京都千代田区丸の画工丁目2番3号5、補正
の対象 明細書の「発明の詳細な説明」の欄。
6、補正の内容
(1)明細書の第3頁第12行目の「し様」を、[しよ
うJと補正する。
(2)同書第12頁第20行目の「1がJを、「Iが、
ノと補正する。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 a diagram showing an example of a prediction method used in the image signal encoding device of FIG. Figure 1 shows an example of the table. FIG. 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 block 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. 6 is a block diagram showing the image signal encoding device which is an embodiment of the present invention. 7 is a diagram showing the 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 dither threshold value in the image signal encoding device of FIG. 6. 9 is a table showing a prediction method for dithered images in the image signal encoding device of FIG. 6, and FIGS. 10 and 11 are diagrams showing the image of FIG. 6. FIG. 3 is a diagram showing examples of codes for explaining the operation of the signal encoding device. In the figure, 1...Predictor, 1a...Predictor for binary images, 1b...Predictor for dithered images, 2...Exclusive OR circuit, 2a...For binary images Exclusive OR circuit, 2b... Exclusive OR circuit for dithered image, 3...
- Encoder, 4 - Low-pass filter, 5... Area maximum/minimum difference counting/comparison circuit, 6... Dithering circuit,
7... Binary signal switcher, 8a... Prediction matching rate counting circuit for binary images, 8b... Prediction-number line counting circuit for dithered images, 9... Prediction-number line comparison circuit, 10...
This is a prediction error signal selector. In each figure, the same reference numerals indicate the same or equivalent parts. Agent Masuo Oiwa Figure 1 Figure 2 Figure 3 Figure 4 0 RJfOLJ t) Ql h Figure 8 Figure 9 Procedural amendment (voluntary) 1. Indication of the case: Japanese Patent Application No. 59-101205 2, title of the invention Image signal encoding device 3, person making the amendment Relationship to the case Patent applicant address: 2-3, Maruno Gakko-chome, Chiyoda-ku, Tokyo Name:
(601) Mitsubishi Electric Corporation Representative Hitoshi Katayama 4, Agent address 2-3-5 Maruno Gakko-chome, Chiyoda-ku, Tokyo, Subject of amendment: ``Detailed Description of the Invention'' column of the specification. 6. Contents of the amendment (1) "Shi-sama" in the 12th line of page 3 of the specification is amended to [sho-J]. (2) In the same book, page 12, line 20, “1 is J,” “I is
Correct it with ノ.
Claims (1)
画像信号を、先行する近接画素の値によ“り当該画素信
号を予測して、その予測誤差信号を符号化する予測符号
化装置において、当該画素の近傍のあらかじめ定められ
た領域の平均値処理を行う低域通過形フィルタと、この
低域通過形フィルタからの出力信号を可変閾値によシデ
イザ化処理によυ2値化するディザ化回路と、前記当該
画素の近傍のあらかじめ定められた領域内の画素に対応
する前記低域通過形フィルタの出力の最大値と最小値を
検出し、その差があらかじめ定められた値を超えるか否
かを判定する比較回路と、この比較回路の出力信号によ
シ、固定あるいは可変閾値による2値信号と前記ディザ
化回路の出力のいずれかを選択する2値信号切り替え器
と、この2れ前記2値画像用及びディザ化処理された画
像信号用の予測を行う第1及び第2の予測器と、この
、各@1及び第2の予測器からの出力信号をもとに、あ
らかじめ定められた個数の先行画素中の予測一致率を計
数する第1及び第2の予測一致率計数回路と、この6第
1及び第2の予測一致率計数回路の出力信号をもとに、
2種の前記予測誤差信号のいずれか一方を選択する予測
誤差信号選択器とを備えていることを特徴とする画像信
号の符号化装置。A predictive encoding device that predicts an image signal in which a binary image consisting of characters, line drawings, etc. and a halftone image are mixed, based on the values of preceding adjacent pixels, and encodes the prediction error signal. , a low-pass filter performs average value processing in a predetermined region near the pixel, and a dither converts the output signal from the low-pass filter into υ binarization 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 whether the difference therebetween exceeds a predetermined value. a comparison circuit that determines whether the first and second predictors that perform prediction for the binary image and for the dithered image signal;
, first and second prediction coincidence rate counting circuits that count prediction coincidence rates in a predetermined number of preceding pixels based on output signals from each @1 and second predictor; Based on the output signals of the first and second prediction matching rate counting circuits,
An image signal encoding device comprising: a prediction error signal selector that selects 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 | Image signal encoding device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10120584A JPS60244160A (en) | 1984-05-17 | 1984-05-17 | Image signal encoding device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60244160A true JPS60244160A (en) | 1985-12-04 |
| JPH0241232B2 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 | Image signal encoding device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60244160A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4947259A (en) * | 1987-07-22 | 1990-08-07 | Sharp Kabushiki Kaisha | Image signal compressing 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
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4947259A (en) * | 1987-07-22 | 1990-08-07 | Sharp Kabushiki Kaisha | Image signal compressing device |
| US5166987A (en) * | 1990-04-04 | 1992-11-24 | Sony Corporation | Encoding apparatus with two stages of data compression |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0241232B2 (en) | 1990-09-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0186444B1 (en) | Highly efficient coding apparatus for digital video signal | |
| JPS62145988A (en) | Transmission system for picture applied with adoptive scanning-line conversion | |
| EP0095560A2 (en) | Method for processing image data | |
| EP0613290B1 (en) | Method and apparatus for binary image data compression | |
| JPS587109B2 (en) | Fukushima Shingo no Jiyouhou Hen Kagaso Address Fugoukahoushiki | |
| EP0890921B1 (en) | Interpolation method for binary image | |
| EP0884693A2 (en) | Interpolation method for binary image | |
| JPS60244160A (en) | Image signal encoding device | |
| JPH04270564A (en) | Serial picture data compression system having color information | |
| US5095366A (en) | Video signal coding device and decoding device utilizing plural quantization/inverse quantization | |
| US5185820A (en) | System for compressing image data having blank lines | |
| JP2861380B2 (en) | Image signal encoding apparatus and method, image signal decoding apparatus and method | |
| JPH0686247A (en) | Receiver/reproducer for digital picture signal | |
| JP2785823B2 (en) | High-efficiency television signal encoding apparatus and method, and decoding apparatus and method | |
| JP3189068B2 (en) | Image data encoding | |
| JP2929591B2 (en) | Image coding device | |
| JPH047871B2 (en) | ||
| JPS63220672A (en) | Compression-encoding method for half tone picture signal | |
| JPH036066Y2 (en) | ||
| JPS614371A (en) | Picture image converting circuit | |
| JPS6374269A (en) | Pseudo halftone image signal decoding device | |
| JPH02205173A (en) | Orthogonal transformation coding method for picture data | |
| JPH03292062A (en) | Image encoding and decoding device | |
| JPH0322691A (en) | Prediction coding method and prediction coding device | |
| JPS63197172A (en) | Predictive coding device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |