JPH02192284A - Quantization circuit for picture data - Google Patents

Quantization circuit for picture data

Info

Publication number
JPH02192284A
JPH02192284A JP1010894A JP1089489A JPH02192284A JP H02192284 A JPH02192284 A JP H02192284A JP 1010894 A JP1010894 A JP 1010894A JP 1089489 A JP1089489 A JP 1089489A JP H02192284 A JPH02192284 A JP H02192284A
Authority
JP
Japan
Prior art keywords
circuit
quantization
pixel
data
change
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
Application number
JP1010894A
Other languages
Japanese (ja)
Other versions
JP2832972B2 (en
Inventor
Tetsujiro Kondo
哲二郎 近藤
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP1089489A priority Critical patent/JP2832972B2/en
Publication of JPH02192284A publication Critical patent/JPH02192284A/en
Application granted granted Critical
Publication of JP2832972B2 publication Critical patent/JP2832972B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To prevent visual deterioration in a picture quality of a decoded picture by applying quantization so that a decoded picture signal has a quantity change closest to a spatial change quantity of an original picture data. CONSTITUTION:A difference between a true value x1 of a noted picture element and a true value x0 of a surrounding picture element such as a preceding picture element (change in horizontal direction) DELTAr(=x1-x0) is detected. A decoding level X0 of the picture element x0 is generated by a local decoder 52 and 4 decoding representative levels (I0+MIN, I1+MIN, I2+MIN, I3+MIN) are generated by local decoders 48-51. Then subtraction circuits 40-43 calculate a difference between the decoding representative levels and the decoding level X0 (predicted change) DELTA0, DELTA1, DELTA2, DELTA3 are calculated. Moreover, a change quantity closest to a change DELTAr of the original picture data is detected among the 4 differences and a quantization code in response to the detection is selected by a code selection circuit 39. Thus, the deterioration distinct visually is prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、画像データを圧縮符号化するのに適用され
る画像データの量子化回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image data quantization circuit that is applied to compress and encode image data.

〔発明の概要〕[Summary of the invention]

この発明では、nビットで量子化されたディジタルデー
タをmビット(n>m)のデータに圧縮する画像データ
の量子化回路において、nビットのディジタルデータの
上位mビットのコードが空間的に隣接する2サンプルデ
ータ間又は空間的に対応し、時間的に連続する2サンプ
ルデータ間で異なり、且つこれらの2サンプルデータが
共に上記mビットのコードの変化点の近傍のレベルを採
ることを検出する検出回路と、注目画素の真値と、注目
画素の周辺の参照画素の真値との間の空間的な変化量又
は注目画素の真値と、注目画素に対して時間的に先行し
、且つ空間的に対応する参照画素の真値との間の時間的
な変化量を検出し、量子化コードの復号値に対する参照
画素の空間的又は時間的な変化量が検出された空間的又
は時間的な変化量と最も近接した復号代表値を求め、復
号代表値に対応する量子化コードを選択するようにした
量子化回路と、nビットのディジタルデータから形成さ
れたmビットのディジタルデータと、量子化回路の出力
とを検出回路の出力信号に応じて選択的に出力する選択
回路とを設けることにより、 復元画像において視覚的に目立つノイズの発生が防止さ
れると共に、原データとレベルが良く対応した出力デー
タが得られる。
In this invention, in an image data quantization circuit that compresses digital data quantized with n bits into data with m bits (n>m), codes of upper m bits of digital data of n bits are spatially adjacent to each other. or between two sample data that correspond spatially and are consecutive in time, and detect that both of these two sample data take a level near the change point of the m-bit code. A detection circuit, the amount of spatial change between the true value of the pixel of interest and the true value of reference pixels surrounding the pixel of interest, or the true value of the pixel of interest, and the amount of change in space between the true value of the pixel of interest and the true value of reference pixels surrounding the pixel of interest, and Detecting the amount of temporal change between the true value of the spatially corresponding reference pixel, and detecting the amount of spatial or temporal change of the reference pixel with respect to the decoded value of the quantization code. A quantization circuit that calculates a decoded representative value closest to the amount of change and selects a quantization code corresponding to the decoded representative value, m-bit digital data formed from n-bit digital data, and a quantum By providing a selection circuit that selectively outputs the output of the conversion circuit and the output signal of the detection circuit according to the output signal of the detection circuit, visually noticeable noise is prevented from occurring in the restored image, and the level corresponds well with the original data. output data is obtained.

゛〔従来の技術〕 ディジタル化された画像データの各画素(サンプル)の
ビット数を画像信号の相関を利用して低減する符号化方
式が種々提案されている。本願出願人は、特願昭59−
266407号明細書に記載されているように、2次元
ブロック内に含まれる複数画素の最大値及び最小値の差
であるダイナミックレンジを求め、このダイナミックレ
ンジに適応した符号化を行う高能率符号化装置を提案し
ている。また、特願昭60−232789号明細書に記
載されているように、複数フレームに各々属する複数の
領域の画素から形成された3次元ブロックに関してダイ
ナミックレンジに適応した符号化を行う高能率符号化装
置が提案されている。
[Prior Art] Various encoding methods have been proposed in which the number of bits of each pixel (sample) of digitized image data is reduced by using the correlation of image signals. The applicant of this application is
As described in the specification of No. 266407, a high-efficiency encoding method calculates a dynamic range, which is the difference between the maximum value and minimum value of multiple pixels included in a two-dimensional block, and performs encoding adapted to this dynamic range. We are proposing a device. In addition, as described in Japanese Patent Application No. 60-232789, high-efficiency encoding is performed that performs encoding adapted to the dynamic range of a three-dimensional block formed from pixels of multiple regions each belonging to multiple frames. A device has been proposed.

更に、特願昭60−268817号明細書に記載されて
いるように、量子化を行った時に生じる最大歪みが一定
となるように、ダイナミックレンジに応じてビット数が
変化する可変長符号化方法が提案されている。
Furthermore, as described in Japanese Patent Application No. 60-268817, there is a variable length encoding method in which the number of bits changes depending on the dynamic range so that the maximum distortion caused when quantization is constant. is proposed.

これらのダイナミックレンジに適応した符号化(以下、
ADRCと略す、)は、1画面を分割した小領域(ブロ
ック)では、画像が強い相関を有していることを利用し
て1画素当たりのビット数を低減する高能率符号化方法
である。即ち、ブロック内の最小値又は最大値と各画素
のレベルとの差が元のレベルより小さくなり、この差を
元のビット数(例えば8ビツト)より少ないビット数(
例えば4ビツト)で量子化することが可能となる。
Coding adapted to these dynamic ranges (hereinafter referred to as
(abbreviated as ADRC) is a high-efficiency encoding method that reduces the number of bits per pixel by utilizing the fact that images have strong correlation in small areas (blocks) into which one screen is divided. In other words, the difference between the minimum or maximum value in the block and the level of each pixel is smaller than the original level, and this difference is reduced to a number of bits (e.g. 8 bits) smaller than the original number of bits (e.g. 8 bits).
For example, 4 bits) can be used for quantization.

この発明は、上述のADRCにおける最大値又は最小値
で正規化されたレベルの量子化或いはADRCで得られ
たnビットのコードをmビット(n > m )に圧縮
するのに適用できるものである。
This invention can be applied to the above-mentioned quantization of the level normalized by the maximum value or minimum value in ADRC, or to compressing an n-bit code obtained by ADRC to m bits (n > m). .

但し、この発明は、ADRCに限定されるものでなく、
nビットのディジタル画像信号をmビットに圧縮する量
子化回路に対して適用できる。
However, this invention is not limited to ADRC,
The present invention can be applied to a quantization circuit that compresses an n-bit digital image signal into m-bits.

−例として、2ビツトの量子化を行うADRCでは、最
大値MAX及び最小値MINの差であるブロックのダイ
ナミックレンジDRが4個のレベル範囲に均等に分割さ
れ、最小値MINが除去された後の画素の値がレベル範
囲と夫々対応する2ビツトの量子化コードで表現される
。復号側では、ダイナミックレンジDRと量子化コード
から各レベル範囲の中央の復号代表レベル10−13の
一つが復号され、復号された値に最小値MINが加算さ
れることで、ブロック内の画素データが復元される。
- For example, in ADRC that performs 2-bit quantization, the dynamic range DR of the block, which is the difference between the maximum value MAX and the minimum value MIN, is divided equally into four level ranges, and after the minimum value MIN is removed, The pixel values of are expressed by 2-bit quantization codes corresponding to the level ranges. On the decoding side, one of the central decoding representative levels 10-13 of each level range is decoded from the dynamic range DR and the quantization code, and the minimum value MIN is added to the decoded value to determine the pixel data in the block. is restored.

第6図は、ADRCにおける量子化の一例を示す、第6
図は、水平方向に連続する6個の画素で1ブロツクが構
成される1次元ADRCの例を示し、白いドツトで示す
データがブロック内の画素の4ビツト、8ビツト等の真
価であり、実線101で示される水平方向の変化を有し
ている。上述の2ビツトのADRCで符号化された場合
では、復号側で×で示す復元レベルが得られ、復元画像
にお−いて、破線102で示す信号の変化が生じる。
FIG. 6 shows an example of quantization in ADRC.
The figure shows an example of one-dimensional ADRC in which one block consists of six pixels consecutive in the horizontal direction. The data shown by white dots is the true value of 4 bits, 8 bits, etc. of the pixels in the block, and the solid line shows the real value of the pixels in the block. It has a horizontal change indicated by 101. In the case of encoding with the above-mentioned 2-bit ADRC, a restoration level indicated by x is obtained on the decoding side, and a change in the signal indicated by a broken line 102 occurs in the restored image.

第7図は、ADRCにおける量子化の他の例を示す。第
7図は、時間方向に連続する6フレームの夫々に属し、
且つ空間的に対応する位置の画素の時間変化を示してい
る0wi単のため、これらの6個の画素が含まれる各ブ
ロックが互いに等しい最大値MAX及び最小値MENを
有しているものとしている。白いドツトで示すデータが
画素の真値であり、実線103で示される時間方向の変
化を有している。上述の2ビツトのADRCで符号化さ
れた場合では、復号側で×で示す復元レベルが得られ、
復元画像において、破線104で示す信号の変化が生じ
る。
FIG. 7 shows another example of quantization in ADRC. FIG. 7 belongs to each of six consecutive frames in the time direction,
In addition, since 0wi indicates the time change of pixels at spatially corresponding positions, it is assumed that each block including these six pixels has the same maximum value MAX and minimum value MEN. . The data indicated by white dots is the true value of the pixel, and has a change in the time direction indicated by a solid line 103. In the case of encoding with the above-mentioned 2-bit ADRC, a restoration level indicated by × is obtained on the decoding side,
In the restored image, a signal change indicated by a broken line 104 occurs.

[発明が解決しようとする課B] 従来の量子化では、量子化誤差を小さくし、S/Nを良
好とするために、元の画素のレベルが最も近い復号代表
レベルに置換されている。しかしながら、定量的に良好
であっても、視覚的に目立つ劣化が復元画像に生じるこ
とがある。第6図に示す例では、元のなだらかな水平方
向の変化101が復元後には、激しい変化102となり
、復元画像において、視覚的に目立つノイズ(劣化)が
発生する。このノイズは、弱電界時のテレビジラン受信
画像に発生するスノーノイズを細かくしたようなもので
、シロシロしたノイズである。このような問題が発生す
るのは、人間が画像を認識する時に、画像の微分特性に
敏感なことに基づいている。
[Problem B to be Solved by the Invention] In conventional quantization, the original pixel level is replaced with the closest decoded representative level in order to reduce the quantization error and improve the S/N ratio. However, even if it is quantitatively good, visually noticeable deterioration may occur in the restored image. In the example shown in FIG. 6, the original gentle horizontal change 101 becomes a severe change 102 after restoration, and visually noticeable noise (deterioration) occurs in the restored image. This noise is like a finer version of the snow noise that occurs in images received by television broadcasts during weak electric fields, and is a shrill noise. This problem occurs because humans are sensitive to differential characteristics of images when recognizing them.

空間的な変化と同様に、第7図に示す例では、元のなだ
らかな時間方向の変化103が復元後には、激しい変化
104となり、復元画像において、上述と同様のノイズ
が発生する。
Similar to the spatial change, in the example shown in FIG. 7, the original gradual change 103 in the time direction becomes a severe change 104 after restoration, and the same noise as described above occurs in the restored image.

第6図及び第7図から分るように、上述のノイズは、原
ディジタルデータの空間的に隣接し、又は空間的に対応
し、時間的に連続する2サンプルのデータが異なり、そ
の一方と他方とが異なる2ビツトのコードに量子化され
ることに起因している。つまり、この2サンプルのデ・
−夕が隣接する二つのレベル領域の境界の上下に夫々含
まれる場合に、ノイズが発生する。
As can be seen from FIGS. 6 and 7, the above-mentioned noise occurs when the data of two spatially adjacent or spatially corresponding but temporally consecutive samples of the original digital data are different, and one of them is different from the other. This is due to the fact that one bit is quantized into a 2-bit code different from the other. In other words, these two samples
- Noise occurs when the noise is included above and below the boundary of two adjacent level regions, respectively.

従って、この発明の目的は、定量的な誤差が増えるとし
ても、元の画像信号の空間的な変化を保存することがで
き、復元画像の画質を視覚的に良好とできる画像データ
の量子化回路を提供することにある。
Therefore, an object of the present invention is to provide an image data quantization circuit that can preserve the spatial variation of the original image signal and improve the visual quality of the restored image even if quantitative errors increase. Our goal is to provide the following.

この発明の他の目的は、ノイズが発生するおそれがある
時のみに、視覚特性を考慮した量子化がされることによ
り、原データとレベルが良く対応した出力データが得ら
れる画像データの量子化回路を提供することにある。
Another object of the present invention is to quantize image data so that output data that closely corresponds in level to the original data can be obtained by performing quantization that takes visual characteristics into consideration only when there is a risk of noise occurring. The purpose is to provide circuits.

〔課題を解決するための手段〕[Means to solve the problem]

この発明では、nビットで量子化されたディジタルデー
タをmビット(n>m)のデータに圧縮する画像データ
の量子化回路において、nビットのディジタルデータの
上位mビットのコードが空間的に隣接する2サンプルデ
ータ間又は空間的に対応し、時間的に連続する2サンプ
ルデータ間で異なり、且つこれらの2サンプルデータが
共にmビットのコードの変化点の近傍のレベルを採るこ
とを検出する検出回路19と、注目画素の真値と、注目
画素の周辺の参照画素の真値との間の空間的な変化量Δ
r、又は注目画素の真値と、注目画素に対して時間的に
先行し、且つ空間的に対応する参照画素の真値との間の
時間的な変化量を検出し、量子化コードの復号値に対す
る参照画素の空間的又は時間的な変化量Δ0〜Δ3が検
出された空間的又は時間的な変化量Δrと最も近接した
復号代表値を求め、復号代表値に対応する量子化コード
を選択するようにした量子化回路21と、 nビットのディジタルデータから形成されたmビットの
ディジタルデータと、量子化回路21の出力とを検出回
路19の出力信号に応じて選択的に出力する回路13と
が備えられている。
In this invention, in an image data quantization circuit that compresses digital data quantized with n bits into data with m bits (n>m), codes of upper m bits of digital data of n bits are spatially adjacent to each other. Detection that detects that there is a difference between two sample data, or two spatially corresponding and temporally continuous sample data, and that both of these two sample data take a level near the changing point of the m-bit code. The circuit 19 and the spatial variation amount Δ between the true value of the pixel of interest and the true values of reference pixels surrounding the pixel of interest.
r, or the amount of temporal change between the true value of the pixel of interest and the true value of a reference pixel that temporally precedes and spatially corresponds to the pixel of interest, and decodes the quantization code. Find the decoded representative value where the spatial or temporal change amount Δ0 to Δ3 of the reference pixel with respect to the value is closest to the detected spatial or temporal change amount Δr, and select the quantization code corresponding to the decoded representative value. A circuit 13 that selectively outputs m-bit digital data formed from n-bit digital data and the output of the quantization circuit 21 according to the output signal of the detection circuit 19. are provided.

【作用〕[Effect]

ADRCの符号化で発生した4ビツトの量子化コードD
Tをより圧縮するために、量子化コードDTの上位2ビ
ツトが選択される。この上位2ビツトと視覚特性を考慮
した量子化回路21からの2ビツトとがスイッチ回路1
3で選択される。スイッチ回路13は、検出回路19の
出力信号で制御される。検出回路19は、空間的に隣接
する2サンプルデータ又は空間的に対応し、時間的に連
続する2サンプルデータが異なり、2ビツトの量子化の
場合の異なるレベル領域に夫々含まれることを検出する
。この検出時には、量子化回路21の出力信°号が選択
的に出力される。
4-bit quantization code D generated during ADRC encoding
In order to further compress T, the upper two bits of the quantization code DT are selected. These upper 2 bits and 2 bits from the quantization circuit 21 that takes visual characteristics into account are used in the switch circuit 1.
3 is selected. The switch circuit 13 is controlled by the output signal of the detection circuit 19. The detection circuit 19 detects that two spatially adjacent sample data or two spatially corresponding and temporally continuous sample data are different and included in different level regions in the case of 2-bit quantization. . At the time of this detection, the output signal of the quantization circuit 21 is selectively output.

量子化回路21が原データと同様の空間的な変化を有す
る出力データを形成する場合について説明する。注目画
素の真値x1と周辺画素例えば前の画素の真値XOとの
差(水平方向の変化量)Δr(−xi−xO)が検出さ
れる0画素XOの復号レベルxOがローカルデコーダに
より生成される。また、4個の復号代表レベル(10+
MIN。
A case will be described in which the quantization circuit 21 forms output data having the same spatial variation as the original data. The decoding level xO of the 0 pixel XO, where the difference (horizontal change amount) Δr (-xi-xO) between the true value x1 of the pixel of interest and the true value XO of a surrounding pixel, for example, the previous pixel, is detected is generated by the local decoder. be done. In addition, 4 decoding representative levels (10+
MIN.

11+MIN、12+MIN、13+MIN)がローカ
ルデコーダで生成される。減算回路40〜43において
、復号代表レベルと復号レベルXOとの差(予測変化1
1)ΔO1Δ1、Δ2、Δ3が演算される。即ち、 Ao−(I O+MIN)−XO AI−(11+MIN)−XO Δ2− (12+MIN)−XO Δ3− (13十MIN)−XO これらの4個の差の中で、元の画像データが有していた
変化量Δrと最も近接した変化量が検出される。このた
め、減算回路34〜37において、(β0−Δr−ΔO
)(β1−Δr−Δ1)(β2−Δr−Δ2)(β3−
Δr−Δ3)の減算処理がされ、最小の減算出力が検出
され、この検出に応じた量子化コードがコード選択回路
39で選択される。つまり、ΔOとの差分が最小の場合
には、(00)の量子化コードが選択され、以下、同様
にして(01)(10)(11)の量子化コードが選択
される。
11+MIN, 12+MIN, 13+MIN) are generated by the local decoder. In the subtraction circuits 40 to 43, the difference between the decoding representative level and the decoding level XO (predicted change 1
1) ΔO1Δ1, Δ2, and Δ3 are calculated. That is, Ao-(IO+MIN)-XO AI-(11+MIN)-XO Δ2- (12+MIN)-XO Δ3- (130 MIN)-XO Among these four differences, the original image data has The amount of change that is closest to the amount of change Δr that was previously detected is detected. Therefore, in the subtraction circuits 34 to 37, (β0−Δr−ΔO
)(β1−Δr−Δ1)(β2−Δr−Δ2)(β3−
A subtraction process of Δr−Δ3) is performed, the minimum subtraction output is detected, and a quantization code corresponding to this detection is selected by the code selection circuit 39. That is, when the difference with ΔO is the smallest, the quantization code of (00) is selected, and thereafter the quantization codes of (01), (10), and (11) are selected in the same manner.

上述のように、元の画像データの持つ空間的な変化量と
最も近い変化量を復元された画像信号が持つように、量
子化を行うので、復元画像の画質の視覚的な劣化を防ぐ
ことができる。また、復元画像に視覚的に目立つノイズ
が発生するおそれが無い時には、定量的な量子化がされ
るので、原データとレベル的に忠実な出力データを得る
ことができる。
As mentioned above, quantization is performed so that the restored image signal has the spatial variation that is closest to the spatial variation of the original image data, thereby preventing visual deterioration of the image quality of the restored image. Can be done. Further, when there is no risk of visually noticeable noise occurring in the restored image, quantitative quantization is performed, so output data that is faithful in level to the original data can be obtained.

〔実施例〕〔Example〕

以下、この発明の一実施例について、図面を参照して説
明する。この説明は、下記の順序に従ってなされる。
An embodiment of the present invention will be described below with reference to the drawings. This description is given in the following order.

a、一実施例の全体の構成及び動作 す、視覚特性を考慮した量子化回路 C1変形例 a、一実施例の全体の構成及び動作 第1図において、lで示す入力端子には、例えば1画素
(1サンプル)が8ビツトに量子化されたディジタルビ
デオ信号が供給される。ブロック化回路2により、入力
ディジタルビデオ信号のデータの順序が走査順序からブ
ロックの順序に変換される0例えば1フレームの画面が
細分化され、第2図に示すように、(4X4−166画
素のブロックが構成される。第2図において、N−1は
、前のブロックを示し、Nが符号化しようとする注目ブ
ロックを示している。ブロック内では、図面に向かって
見て左端の一番上の画素のデータが最初に伝送され、次
に、水平方向に並ぶ3個の画素のデータが伝送され、更
に、2番目のラインにおいて、同様にデータが伝送され
、最後に右端の一番下の画素のデータが伝送される。
a. Overall configuration and operation of one embodiment, quantization circuit C1 modification example a. Overall configuration and operation of one embodiment In FIG. A digital video signal in which each pixel (one sample) is quantized to 8 bits is supplied. The blocking circuit 2 converts the data order of the input digital video signal from the scanning order to the block order. For example, one frame of screen is subdivided into (4X4-166 pixels) Blocks are constructed. In Fig. 2, N-1 indicates the previous block, and N indicates the block of interest to be encoded. The data for the top pixel is transmitted first, then the data for the three pixels lined up in the horizontal direction are transmitted, the data is transmitted in the same way for the second line, and finally the bottom pixel on the right side is transmitted. pixel data is transmitted.

ブロック化回路2の出力信号が最大値及び最小値検出回
路3に供給され、各ブロックに含まれる画素の最大植皮
MAX及び最小値MINが夫々検出される。最大値MA
X及び最小値MINか減算回路6に供給され、両者の差
であるダイナミックレンジDRが算出される。ダイナミ
ックレンジDR及び最小値MINが夫々遅延回路8.9
を介して出力端子10.11に取り出される。出力端子
10.11,16には、図示せずも、フレーム化回路が
接続され、フレーム化回路では、ダイナミックレンジD
R,最小値MIN及び後述する2ビツトに圧縮されたコ
ード信号がフレーム構成の信号形態に変換され、また、
必要に応じてエラー訂正符号化の処理がなされる。フレ
ーム化回路から送信データが得られる。
The output signal of the blocking circuit 2 is supplied to the maximum value and minimum value detection circuit 3, and the maximum skin grafting MAX and minimum value MIN of the pixels included in each block are respectively detected. Maximum value MA
X and the minimum value MIN are supplied to a subtraction circuit 6, and a dynamic range DR, which is the difference between the two, is calculated. Dynamic range DR and minimum value MIN are each delay circuit 8.9
It is taken out to the output terminal 10.11 via. A framing circuit (not shown) is connected to the output terminals 10, 11, and 16, and the framing circuit has a dynamic range D.
R, the minimum value MIN, and a code signal compressed to 2 bits, which will be described later, are converted into a signal form having a frame structure, and
Error correction encoding processing is performed as necessary. Transmission data is obtained from the framing circuit.

ブロック化回路2の出力信号が遅延回路4を介して減算
回路5に供給される。遅延回路4は、最大値MAX及び
最小値MINを検出するのに必要な晴間、ブロック化回
路2の出力信号を遅延させる。減算回路5には、最小値
MINが供給され、減算回路5から最小値除去後のデー
タが得られる。
The output signal of the blocking circuit 2 is supplied to a subtraction circuit 5 via a delay circuit 4. The delay circuit 4 delays the output signal of the blocking circuit 2 by the time necessary to detect the maximum value MAX and the minimum value MIN. The minimum value MIN is supplied to the subtraction circuit 5, and data after the minimum value is removed is obtained from the subtraction circuit 5.

この最小値除去処理で正規化されたデータが量子化回路
7に供給される。量子化回路7には、ダイナミックレン
ジDRが供給され、量子化回路7から例えば4ビツトの
量子化コードDTが取り出される。
The data normalized by this minimum value removal process is supplied to the quantization circuit 7. The dynamic range DR is supplied to the quantization circuit 7, and a 4-bit quantization code DT, for example, is taken out from the quantization circuit 7.

量子化回路7では、ダイナミックレンジDRを(2’−
16)等分した値である量子化ステップで減算回路5の
出力データの値が除算され、得られた商に対して切り捨
て処理が施されて整数(!子化コードDT)が形成され
る。量子化回路7は、ROM或いは割算回路により実現
できる。
In the quantization circuit 7, the dynamic range DR is (2'-
16) The value of the output data of the subtraction circuit 5 is divided by the quantization step, which is an equal divided value, and the obtained quotient is rounded down to form an integer (!child code DT). The quantization circuit 7 can be realized by a ROM or a division circuit.

量子化回路7からの4ビツトのデータDTが上位の2ビ
ツトを選択する2ビツト選択回路12及びサンプル遅延
回路17に供給される。2ビツト選択回路12で選択さ
れた上位の2ビットがスイッチ回路13の一方の入力端
子14に供給される。
The 4-bit data DT from the quantization circuit 7 is supplied to a 2-bit selection circuit 12 that selects the upper 2 bits and a sample delay circuit 17. The upper two bits selected by the two-bit selection circuit 12 are supplied to one input terminal 14 of the switch circuit 13.

スイッチ回路13の他方の入力端子15には、視覚特性
を考慮した量子化回路21(後に詳述する)の2ビツト
の出力信号が供給される。量子化回路21の入力端子2
2には、ブロック化回路2の出力信号が供給され、また
、端子23及び24から、ダイナミックレンジDR及び
最小値MfNが量子化回路21に供給され、更に、出力
端子25から量子化出力が発生する。スイッチ回路13
の出力端子16に2ビツトの出力信号が得られる。
The other input terminal 15 of the switch circuit 13 is supplied with a 2-bit output signal from a quantization circuit 21 (described in detail later) that takes visual characteristics into consideration. Input terminal 2 of quantization circuit 21
2 is supplied with the output signal of the blocking circuit 2, the dynamic range DR and the minimum value MfN are supplied from the terminals 23 and 24 to the quantization circuit 21, and the quantization output is generated from the output terminal 25. do. Switch circuit 13
A 2-bit output signal is obtained at the output terminal 16 of.

この実施例では、元の8ビツトの画像データがADRC
により4ビツトのデータに圧縮され、更に、2ビツトの
データに圧縮される。
In this example, the original 8-bit image data is
The data is compressed into 4-bit data, and further compressed into 2-bit data.

スイッチ回路13は、−数構出回路19の出力信号で制
JTjされる。−数構出回路19は、水平方向に連続す
る2個のサンプルデータが異なり、且つこれらのサンプ
ルデータが2ビツトのコードの変化点の近傍のレベルを
採る時に、”1″(ハイレベル)となる一致信号を発生
する。上記以外では、“0′″ (ローレベル)となる
信号を発生する。−数構出回路19の出力信号は、サン
プルデータ毎に発生する。−敗信号(“1”)が発生す
る時には、スイッチ回路13の入力端子15が選択され
、従って、視覚特性を考慮した量子化回路21の出力信
号が出力される。一致信号が“0”、即ち、不一致の信
号でスイッチ回路13の入力端子14が選択され、従っ
て、2ビツト選択回路12がらの上位2ビツトのコード
信号が出力される。
The switch circuit 13 is controlled by the output signal of the negative number output circuit 19. - The number output circuit 19 outputs "1" (high level) when two consecutive sample data in the horizontal direction are different and these sample data take a level near the changing point of the 2-bit code. A match signal is generated. In cases other than the above, a signal of "0'" (low level) is generated. - The output signal of the number output circuit 19 is generated for each sample data. - When a failure signal ("1") is generated, the input terminal 15 of the switch circuit 13 is selected, and therefore, the output signal of the quantization circuit 21 that takes visual characteristics into consideration is output. When the coincidence signal is "0", that is, a mismatch signal, the input terminal 14 of the switch circuit 13 is selected, and therefore, the code signal of the upper 2 bits from the 2-bit selection circuit 12 is output.

ADRCの量子化回路7の出力信号が供給されるサンプ
ル遅延回路17に対して、サンプル遅延回路18が接続
される。サンプル遅延回路17及び18からの水平方向
に連続する2個のサンプルデータが一致検出回路19に
供給される。−数構出回路19には、ROM20からの
基準データが供給される。
A sample delay circuit 18 is connected to a sample delay circuit 17 to which the output signal of the ADRC quantization circuit 7 is supplied. Two horizontally consecutive sample data from sample delay circuits 17 and 18 are supplied to a coincidence detection circuit 19. - The number output circuit 19 is supplied with reference data from the ROM 20.

第3図に示すように、ブロックの最小値MENと対応す
る4ビツトの量子化コードDT(0000)から最大値
MAXと対応する4ビツトの量子化コードDT (11
11)がADRCで形成される。この4ビツトのコード
の上位2ビツト(MSB及び2番目のMSB)が2ビツ
ト選択回路12で選択される。従って、(00)(01
)(10)(11)の2ビツトのコード信号が形成され
る。第3図において、本が付された4ビツトのコードは
、2ビツトのコードの変化点の上下の値を有するもので
ある。水平方向に連続した2サンプルのコードが変化点
の上下の一方及び他方のコードである場合には、冒頭に
述べたように、なだらかなレベル変化が激しい変化に化
ける劣化が生じる。従って、この場合には、元の画像デ
ータとレベル変化が近くなるような量子化を行う量子化
回路21の出力コードが選択される。
As shown in FIG. 3, from the 4-bit quantization code DT (0000) corresponding to the minimum value MEN of the block to the 4-bit quantization code DT (11) corresponding to the maximum value MAX of the block.
11) is formed by ADRC. The upper two bits (MSB and second MSB) of this 4-bit code are selected by the 2-bit selection circuit 12. Therefore, (00)(01
)(10)(11) 2-bit code signals are formed. In FIG. 3, the 4-bit code marked with a book has values above and below the changing point of the 2-bit code. If the codes of two consecutive samples in the horizontal direction are the codes above and below the change point, deterioration occurs in which a gentle level change turns into a drastic change, as described at the beginning. Therefore, in this case, the output code of the quantization circuit 21 that performs quantization such that the level change is close to that of the original image data is selected.

ROM20は、変化点の上下の*が付されたコードから
なる8ビツトの基準データを発生する。
The ROM 20 generates 8-bit reference data consisting of codes marked with * above and below the change point.

この基準データは、下記のものである。This standard data is as follows.

−数構出回路19では、サンプル遅延回路17及び18
からの2サンプルのデータ(8ビツト)と上述の6個の
基準データとが比較される。この比較は、並列的に一度
でなされるか、又は時分割でシリアルになされる。
- In the number output circuit 19, the sample delay circuits 17 and 18
Two samples of data (8 bits) from the above are compared with the six reference data mentioned above. This comparison can be done all at once in parallel, or serially in a time-sharing manner.

b、視覚特性を考慮した量子化回路 第4図は、視覚特性を考慮した量子化回路21の一例を
示す、入力端子22からのブロック化回路2の出力信号
が遅延回路27.28及び29を介してセレクタ30の
一方の入力端子に供給される。遅延回路27の遅延量D
LLは、最大値及び最小値が検出されるのに必要な時間
と対応している。遅延回路28の遅延量DL2は、画素
の水平方向の間隔、即ち、1サンプル周期と対応してい
る。
b. Quantization circuit that takes into account visual characteristics FIG. 4 shows an example of a quantization circuit 21 that takes into account visual characteristics. The signal is supplied to one input terminal of the selector 30 via the signal. Delay amount D of delay circuit 27
LL corresponds to the time required for the maximum and minimum values to be detected. The delay amount DL2 of the delay circuit 28 corresponds to the horizontal interval between pixels, that is, one sample period.

遅延回路28の出力信号がセレクタ30の他方の入力端
子に供給される。遅延回路27の出力信号とセレクタ3
0の出力信号とが減算回路31に供給され、元の画素デ
ータ(真価)の水平方向の差分Δrが算出される。注目
画素の真値をxlとし、1サンプリング周期前の画素の
真値をxQとすると、(Δr−xi−xo)と表される
The output signal of delay circuit 28 is supplied to the other input terminal of selector 30. Output signal of delay circuit 27 and selector 3
The output signal of 0 is supplied to the subtraction circuit 31, and a horizontal difference Δr of the original pixel data (true value) is calculated. When the true value of the pixel of interest is xl and the true value of the pixel one sampling period before is xQ, it is expressed as (Δr-xi-xo).

但し、ブロックの左端の列の画素の場合、ブロック内に
前の画素のデータが存在しないので、前のブロックN−
1の右端の画素のデータを使用して差分を形成する必要
がある。セレクタ30は、ブロック内の左端の画素が減
算回路31に供給される時に、遅延回路29からの前の
ブロックの右端の画素のデータを選択する。遅延回路2
9の遅tlDL3fi<(1ブロック周期−3サンプル
周期)に設定されている。セレクタ30は、セレクト信
号発生回路32からのセレクト信号で制御される。セレ
クト信号発生回路32には、端子33からのクロック信
号(サンプリングクロック及びブロッククロック)が供
給され、上述のように、セレクタ30を制御するセレク
ト信号が形成される。
However, in the case of a pixel in the leftmost column of a block, there is no data for the previous pixel in the block, so the previous block N-
It is necessary to form the difference using the data of the rightmost pixel of 1. The selector 30 selects the data of the rightmost pixel of the previous block from the delay circuit 29 when the leftmost pixel in the block is supplied to the subtraction circuit 31 . Delay circuit 2
The delay tlDL3fi of 9 is set to <(1 block period - 3 sample periods). The selector 30 is controlled by a select signal from a select signal generating circuit 32. The select signal generation circuit 32 is supplied with clock signals (sampling clock and block clock) from the terminal 33, and forms a select signal for controlling the selector 30 as described above.

減算回路31からの画像データの真価の差分Δrが減算
回路34.35.36.37に供給される。これらの減
算回路34〜37の出力信号β0、β1、β2、β3が
最小値検出回路38に供給され、最小の出力信号が検出
される。最小値検出回路38の検出信号がコード選択回
路39に供給され、2ビツトのコード信号がコード選択
回路39から発生する。コード信号は、出力端子25に
取り出される。コード選択回路39では、復号代表レベ
ルl0111、I2、I3の夫々対応する2ビツトのコ
ード信号(00)(01)(10)(11)の一つが選
択される。
The true value difference Δr of the image data from the subtraction circuit 31 is supplied to subtraction circuits 34, 35, 36, and 37. The output signals β0, β1, β2, and β3 of these subtraction circuits 34 to 37 are supplied to a minimum value detection circuit 38, and the minimum output signal is detected. The detection signal of the minimum value detection circuit 38 is supplied to the code selection circuit 39, and a 2-bit code signal is generated from the code selection circuit 39. The code signal is taken out to the output terminal 25. The code selection circuit 39 selects one of the 2-bit code signals (00) (01) (10) (11) corresponding to the decoding representative levels 10111, I2, and I3, respectively.

コード選択回路39の選択動作は、下記のものである。The selection operation of the code selection circuit 39 is as follows.

β0が最小の場合、(00)が選択される。If β0 is the minimum, (00) is selected.

β1が最小の場合、(01)が選択される。If β1 is the minimum, (01) is selected.

β2が最小の場合、(10)が選択される。If β2 is the minimum, (10) is selected.

β3が最小の場合、(11)が選択される。If β3 is the minimum, (11) is selected.

減算回路34〜37に対して、減算回路40.41.4
2.43から信号Δ0、Δ1、Δ2、Δ3が供給される
。これらの信号Δ0〜Δ3は、注目画素の前の画素の復
号レベル(XO)と4個の復号代表レベルとの夫々の差
であり、予測変化量である。減算回路34〜37及び最
小値検出回路38は、信号Δ0〜Δ3の中で、画像デー
タの真価の水平方間の差分Δrと最も近いものを検出し
ている。即ち、元の画像信号の水平方間の信号変化と最
も近い変化を生じさせる復号代表レベルと対応するコー
ド信号が注目画素に関して選択される。
For subtraction circuits 34 to 37, subtraction circuits 40.41.4
Signals Δ0, Δ1, Δ2, Δ3 are supplied from 2.43. These signals Δ0 to Δ3 are the differences between the decoding level (XO) of the pixel before the pixel of interest and the four representative decoding levels, and are predicted changes. The subtraction circuits 34 to 37 and the minimum value detection circuit 38 detect the one closest to the horizontal difference Δr of the true value of the image data among the signals Δ0 to Δ3. That is, the code signal corresponding to the decoding representative level that causes the change closest to the horizontal signal change of the original image signal is selected for the pixel of interest.

減算回路40〜43には、ローカルデコーダ48.49
.50.51で形成された復号代表レベル(MIN+1
0)(MIN+11)(MIN+12)(MIN+I3
)が供給される。これらの復号代表レベルを発生させる
ために、ローカルデコーダ48〜51に、ダイナミック
レンジDR及び最小値MINが供給され、また、端子4
4.45.46.47から2ビツトのコード信号(00
)(01)(10)(11)が夫々供給される。
The subtraction circuits 40 to 43 include local decoders 48 and 49.
.. The decoding representative level formed by 50.51 (MIN+1
0)(MIN+11)(MIN+12)(MIN+I3
) is supplied. In order to generate these decoding representative levels, the dynamic range DR and the minimum value MIN are supplied to the local decoders 48 to 51, and the terminal 4 is supplied with the dynamic range DR and the minimum value MIN.
4.45.46.47 to 2-bit code signal (00
)(01)(10)(11) are supplied, respectively.

ローカルデコーダ48〜51及び52は、ダイナミック
レンジDR及び量子化コードDTがアドレスとして供給
されるROMで構成され、ROMから読み出されたデー
タに対して最小値MINが加算される。
The local decoders 48 to 51 and 52 are each configured with a ROM to which the dynamic range DR and the quantization code DT are supplied as addresses, and a minimum value MIN is added to the data read from the ROM.

注目画素の前の画素の復号レベルXOがローカルデコー
ダ52と遅延回路53.54.55とセレクタ55とに
より形成される。ローカルデコーダ52には、コード選
択回路39からのコード信号が供給され、ローカルデコ
ーダ52から注目画素の復号レベルが発生する。この復
号レベルが1サンプリング周期の遅延量DL2を持つ遅
延回路53を介してセレクタ55の一方の入力端子に供
給される。遅延回路53の出力信号が(1ブロック周期
−3サンプリング周期)の遅延量DL3を持つ遅延回路
54を介してセレクタ55の他方の入力端子に供給され
る。セレクタ55は、前述のセレクタ30と同様に、セ
レクト信号発生回路32からのセレクト信号で制御され
る。
The decoding level XO of the pixel before the pixel of interest is formed by the local decoder 52, delay circuits 53, 54, 55, and selector 55. The local decoder 52 is supplied with a code signal from the code selection circuit 39, and the local decoder 52 generates a decoding level of the pixel of interest. This decoded level is supplied to one input terminal of the selector 55 via a delay circuit 53 having a delay amount DL2 of one sampling period. The output signal of the delay circuit 53 is supplied to the other input terminal of the selector 55 via the delay circuit 54 having a delay amount DL3 of (1 block period - 3 sampling periods). The selector 55 is controlled by a select signal from the select signal generation circuit 32, similar to the selector 30 described above.

遅延回路53.54及びセレクタ55は、前述の遅延回
路28.29及びセレクタ30と同様にして、注目画素
x1の前の画素XOの復号レベルxOを発生する。この
復号レベルが減算回路40〜43に供給される。従って
、減算回路40〜43から夫々発生する信号ΔO〜Δ3
は、下記のように、4個の復号代表レベルと前の画素の
復号レベルXOとの予測された差分である。
The delay circuits 53 and 54 and the selector 55 generate the decoding level xO of the pixel XO before the pixel of interest x1 in the same manner as the delay circuits 28 and 29 and the selector 30 described above. This decoding level is supplied to subtraction circuits 40-43. Therefore, the signals ΔO to Δ3 generated from the subtraction circuits 40 to 43, respectively.
is the predicted difference between the four decoded representative levels and the previous pixel's decoded level XO, as follows:

Δ0= (IO+MIN)−XO Δ1= (11+MIN) −XO Δ2− (12+MIN) −XO Δ3− (13十MIN) −XO 減算回路34〜37では、 β0−Δr−ΔO β1−Δr−Δl β2−Δr−Δ2 β3−Δr−Δ3 の出力信号が形成される。最小値検出回路38により、
βO〜β3の中で最小のものが検出されるので、予測変
化量が真値の変化量Δrに最も近い2ビツトのコードが
コード選択回路39により選択される。
Δ0= (IO+MIN)-XO Δ1= (11+MIN) -XO Δ2- (12+MIN) -XO Δ3- (130 MIN) -XO In the subtraction circuits 34 to 37, β0-Δr-ΔO β1-Δr-Δl β2-Δr An output signal of −Δ2 β3−Δr−Δ3 is formed. By the minimum value detection circuit 38,
Since the smallest one among βO to β3 is detected, the code selection circuit 39 selects the 2-bit code whose predicted change amount is closest to the true change amount Δr.

上述の実施例における水平方向の差分に限らず、水平方
向、垂直方向及び斜め方向等の2次元的変化を忠実に表
現するように、量子化を行うことも、効果的である。例
えば第5図に示すように、注目画素のレベルがXであり
、その上、左及び斜め上の周辺画素のレベルが夫々a、
b、cである場合に、注目画素の真価の変化量Δr及び
予測変化量Δi  (i−0,1,2,3)が周辺画素
のレベルの平均値と注目画素のレベルとの差分として求
められる。即ち、 Δr −(3x−a−b−c) Δt −(31i −A−B−C) (但し、A、B及びCは、a、b、cに関して得られた
量子化コードを夫々復号したレベルである。
It is also effective to perform quantization so as to faithfully represent not only the horizontal difference in the above embodiment but also two-dimensional changes in the horizontal direction, vertical direction, diagonal direction, and the like. For example, as shown in FIG. 5, the level of the pixel of interest is X, and the levels of surrounding pixels above, to the left, and diagonally above are a, respectively.
b, c, the amount of change Δr and the predicted amount of change Δi (i-0, 1, 2, 3) in the true value of the pixel of interest are calculated as the difference between the average level of the surrounding pixels and the level of the pixel of interest. It will be done. That is, Δr - (3x-a-b-c) Δt - (31i -A-B-C) (However, A, B, and C are decoded quantization codes obtained for a, b, and c, respectively. level.

Δrに最も近いΔlを生じさせる量子化コード信号が選
択される。
The quantization code signal that yields Δl closest to Δr is selected.

空間内の変化量を求めるためには、平均値に限らす、空
間的な予測で求められた予測値を使用しても良い、即ち
、予測値をX′とすると、x”mb+%(c−a) Δr−x−x  −x−b−’74 (c−a)Δim
 I t−B−% (C−A) そして、上述と同様に、Δrに最も近いΔlを生じさせ
る量子化コード信号が選択される。
In order to obtain the amount of change in space, the predicted value obtained by spatial prediction may be used instead of the average value. In other words, if the predicted value is X', then x''mb+%(c -a) Δr-x-x -x-b-'74 (c-a) Δim
I t-B-% (C-A) Then, similarly to the above, the quantization code signal that yields Δl closest to Δr is selected.

C0変形例 上述の実施例では、空間的な変化が復号後において、元
の画像データと近くなるように、量子化回路21が量子
化を行っている。しかし、空間的に対応する位置で、時
間的に連続する2個のサンプルデータ例えば1フレ一ム
間の時間差を有する2個のサンプルデータ間の変化が真
価の変化と近くなるように量子化する量子化回路を使用
しても良い。
C0 Modification In the above-described embodiment, the quantization circuit 21 performs quantization so that the spatial changes become close to the original image data after decoding. However, two temporally consecutive sample data at spatially corresponding positions, for example two sample data with a time difference of one frame, are quantized so that the change between them is close to the change in the true value. A quantization circuit may also be used.

また、この発明は、可変長のADRC,3次元ブロック
のADRC等の他の高能率符号における量子化回路に対
して適用できる。
Further, the present invention can be applied to quantization circuits for other high efficiency codes such as variable length ADRC and three-dimensional block ADRC.

〔発明の効果] この発明によれば、元の画像データのなだらかな変化が
復号後に、激しい変化に化けるような視覚的に目立つ劣
化を防止することができる。また、この発明では、上述
の劣化が生じる危険がある場合にだけ、元の画像信号の
変化を保存する量子化を行い、他の場合では、レベルに
基づく量子化ので、元の画像信号とレベル的に対応が良
い量子化を行うことができる。
[Effects of the Invention] According to the present invention, it is possible to prevent visually noticeable deterioration in which a gentle change in original image data turns into a violent change after decoding. Moreover, in this invention, quantization is performed to preserve changes in the original image signal only when there is a risk of the above-mentioned degradation occurring; in other cases, quantization is performed based on level, so that the original image signal and level quantization with good correspondence can be performed.

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

第1図はこの発明の一実施例の全体のブロック図、第2
図はブロックの一例の路線図、第3図は4ビツトのコー
ドを2ビツトに圧縮する処理の説明に用いる路線図、第
4図は視覚特性を考慮した量子化回路の一例のブロック
図、第5図は空間的変化の検出の他の例の説明に用いる
路線図、第6図及び第7図は従来の量子化の説明に用い
る路線図である。 19F−数構出回路、 31;真値の変化量を発生する減算回路、388最小値
検出回路、 39:コード選択回路、 40.41.42.438予測変化量を発生する減算回
路、 48.49.50.51,52:ローカルデコーダ。 代理人 弁理士 杉 浦 正 知 図面における主要な符号の説明 1:ディジタルビデオ信号の入力端子、7:ADRCの
量子化回路、 12:上位2ビツトを選択する回路、 13:スイッチ回路、 16:出力端子、 −実!帆例 第1図 1 +ノ乙 第3図
FIG. 1 is an overall block diagram of one embodiment of the present invention, and FIG.
The figure is a route map of an example of a block, Figure 3 is a route map used to explain the process of compressing a 4-bit code to 2 bits, Figure 4 is a block diagram of an example of a quantization circuit that takes visual characteristics into consideration, FIG. 5 is a route map used to explain another example of spatial change detection, and FIGS. 6 and 7 are route maps used to explain conventional quantization. 19F-number construction circuit, 31; subtraction circuit that generates true value variation, 388 minimum value detection circuit, 39: code selection circuit, 40.41.42.438 subtraction circuit that generates predicted variation, 48. 49.50.51,52: Local decoder. Agent Patent Attorney Masato Sugiura Explanation of main symbols in the drawing 1: Digital video signal input terminal, 7: ADRC quantization circuit, 12: Circuit for selecting upper 2 bits, 13: Switch circuit, 16: Output Terminal, −Real! Sail example Figure 1 Figure 1 + Nootsu Figure 3

Claims (1)

【特許請求の範囲】 nビットで量子化されたディジタルデータをmビット(
n>m)のデータに圧縮する画像データの量子化回路に
おいて、 上記nビットのディジタルデータの上位mビットのコー
ドが空間的に隣接する2サンプルデータ間又は空間的に
対応し、時間的に連続する2サンプルデータ間で異なり
、且つこれらの2サンプルデータが共に上記mビットの
コードの変化点の近傍のレベルを採ることを検出する検
出回路と、注目画素の真値と、上記注目画素の周辺の参
照画素の真値との間の空間的な変化量又は上記注目画素
の真値と、上記注目画素に対して時間的に先行し、且つ
空間的に対応する参照画素の真値との間の時間的な変化
量を検出し、量子化コードの復号値に対する上記参照画
素の空間的又は時間的な変化量が上記検出された空間的
又は時間的な変化量と最も近接した復号代表値を求め、
上記復号代表値に対応する量子化コードを選択するよう
にした量子化回路と、 上記nビットのディジタルデータから形成されたmビッ
トのディジタルデータと、上記量子化回路の出力とを上
記検出回路の出力信号に応じて選択的に出力する選択回
路と を備えたことを特徴とする画像データの量子化回路。
[Claims] Digital data quantized with n bits is converted into m bits (
In a quantization circuit for image data that is compressed into data (n>m), the codes of the upper m bits of the above n-bit digital data are arranged between two spatially adjacent sample data or spatially correspond to each other and are temporally continuous. A detection circuit detects that there is a difference between the two sample data and that both of these two sample data take a level near the changing point of the m-bit code, the true value of the pixel of interest, and the true value of the pixel of interest and the surroundings of the pixel of interest. or between the true value of the pixel of interest and the true value of a reference pixel that temporally precedes and spatially corresponds to the pixel of interest; Detect the amount of temporal change in the decoded value of the quantization code, and determine the decoded representative value for which the amount of spatial or temporal change in the reference pixel with respect to the decoded value of the quantization code is closest to the detected amount of spatial or temporal change. seek,
a quantization circuit configured to select a quantization code corresponding to the decoded representative value; and m-bit digital data formed from the n-bit digital data and the output of the quantization circuit to the detection circuit. 1. A quantization circuit for image data, comprising a selection circuit that selectively outputs an output signal according to an output signal.
JP1089489A 1989-01-19 1989-01-19 Image data quantization circuit Expired - Lifetime JP2832972B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1089489A JP2832972B2 (en) 1989-01-19 1989-01-19 Image data quantization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1089489A JP2832972B2 (en) 1989-01-19 1989-01-19 Image data quantization circuit

Publications (2)

Publication Number Publication Date
JPH02192284A true JPH02192284A (en) 1990-07-30
JP2832972B2 JP2832972B2 (en) 1998-12-09

Family

ID=11763019

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1089489A Expired - Lifetime JP2832972B2 (en) 1989-01-19 1989-01-19 Image data quantization circuit

Country Status (1)

Country Link
JP (1) JP2832972B2 (en)

Also Published As

Publication number Publication date
JP2832972B2 (en) 1998-12-09

Similar Documents

Publication Publication Date Title
US4953023A (en) Coding apparatus for encoding and compressing video data
JPS61147689A (en) Highly efficient tv signal encoding device
US20080198918A1 (en) Compression and Decompression Using Corrections of Predicted Values
KR100504415B1 (en) Image encoding apparatus, image encoding method, image decoding apparatus, image decoding method and recording medium
KR100289590B1 (en) Analog / digital converter
JP2841362B2 (en) High efficiency coding device
US4905002A (en) Delta modulation encoder/decoder method and system
JPH02192284A (en) Quantization circuit for picture data
JP3642158B2 (en) Image encoding device, image encoding method, image decoding device, image decoding method, and transmission method
JP2606319B2 (en) Image data quantization circuit
JP2701274B2 (en) High efficiency coding device
JP2621422B2 (en) Image data quantization circuit
JPH02288695A (en) Picture coding and decoding device
JP3225667B2 (en) Digital signal quantizer
JP2621421B2 (en) Image data quantization circuit
JP2832971B2 (en) Image data quantization circuit
JPS62123834A (en) Coding transmission system
JP2501027B2 (en) Image transmission system
JP2832959B2 (en) High-efficiency coding device for image signals
JPS61147691A (en) Highly efficiency tv signal encoding device
JPS6313486A (en) High efficiency encoder
JPH01140878A (en) Picture signal coding device
JPH02202285A (en) Adaptive encoding device
JPH02214388A (en) Decoder
JPS6313485A (en) High effeciency encoder

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091002

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091002

Year of fee payment: 11