JPH0241936B2 - - Google Patents
Info
- Publication number
- JPH0241936B2 JPH0241936B2 JP56157328A JP15732881A JPH0241936B2 JP H0241936 B2 JPH0241936 B2 JP H0241936B2 JP 56157328 A JP56157328 A JP 56157328A JP 15732881 A JP15732881 A JP 15732881A JP H0241936 B2 JPH0241936 B2 JP H0241936B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- circuit
- control
- decoding
- image signal
- 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 - Lifetime
Links
- 230000006835 compression Effects 0.000 claims description 91
- 238000007906 compression Methods 0.000 claims description 91
- 230000015654 memory Effects 0.000 claims description 45
- 238000007781 pre-processing Methods 0.000 claims description 44
- 238000006243 chemical reaction Methods 0.000 claims description 38
- 238000000034 method Methods 0.000 claims description 19
- 238000009499 grossing Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 6
- 230000002441 reversible effect Effects 0.000 claims description 6
- 238000012544 monitoring process Methods 0.000 claims description 5
- 238000013139 quantization Methods 0.000 description 85
- 230000006870 function Effects 0.000 description 26
- 238000010586 diagram Methods 0.000 description 20
- 230000005540 biological transmission Effects 0.000 description 10
- 230000006866 deterioration Effects 0.000 description 8
- 238000005070 sampling Methods 0.000 description 6
- 230000003111 delayed effect Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000002542 deteriorative effect Effects 0.000 description 1
- 238000011423 initialization method Methods 0.000 description 1
- 230000002250 progressing effect Effects 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Television Signal Processing For Recording (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
- Reduction Or Emphasis Of Bandwidth Of Signals (AREA)
Description
【発明の詳細な説明】
本発明はTV(Television)信号等の画像信号
を予測変換して求めた予測誤差信号を不等長符号
化する符号化復号化装置に関する。TV信号用機
器のデイジタル化が進められておりVTR(Video
Tape Recoder)もデイジタルVTRが開発され
つつある。従来のアナログVTRではダビングを
くり返すとそのたびにS/Nが劣化し、多くの回
数のダビングは行なえないという欠点があつた。
一方デイジタルVTRを用いて画像信号をPCM
(Pulse Code Modulation)信号等のデイジタル
信号に変換してデイジタルVTRに記録するよう
にすればデイジタル信号ベースでダビングをくり
返してもダビングによる劣化は生じない。しかし
アナログの画像信号をPCM信号に変換する場合、
例えばNTSCカラーTV信号では標本化周波数は
10MHz以上で量子化は8ビツト程度の精度は必要
と言われており、PCM信号をそのままデイジタ
ルVTRに記録すると記録速度が高速でかつ記録
容量が大きくなつてしまう。そこでデイジタルの
画像信号を圧縮符号化してデイジタルVTRに記
録するようにすれば記録容量を減少させることが
できる。例えば1画素当り4ビツトに圧縮すれば
記録容量を半分にできる。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an encoding/decoding apparatus that performs unequal length encoding on a prediction error signal obtained by predictively converting an image signal such as a TV (Television) signal. Digitalization of TV signal equipment is progressing, and VTR (Video
Digital VTRs (Tape Recorders) are also being developed. Conventional analog VTRs had the disadvantage that the S/N deteriorated each time dubbing was repeated, making it impossible to dub many times.
On the other hand, digital VTR is used to convert image signals into PCM
If the data is converted into a digital signal such as a (Pulse Code Modulation) signal and recorded on a digital VTR, no deterioration will occur due to dubbing even if dubbing is repeated based on the digital signal. However, when converting analog image signals to PCM signals,
For example, for an NTSC color TV signal, the sampling frequency is
It is said that quantization accuracy of about 8 bits is required at frequencies above 10 MHz, and if a PCM signal is recorded directly onto a digital VTR, the recording speed will be high and the recording capacity will be large. Therefore, if the digital image signal is compressed and encoded and recorded on a digital VTR, the recording capacity can be reduced. For example, if the data is compressed to 4 bits per pixel, the recording capacity can be halved.
画像信号を圧縮符号化する方法の中で代表的な
ものとしてDPCM(Differential Pulse Code
Modulation)が良く知られている。通常DPCM
方式は入力信号から予測信号を減算して予測誤差
信号を求め、予測誤差信号を視覚特性を利用して
定めた非均一な量子化特性を有する量子化器で量
子化した後、量子化した予測誤差信号を符号化し
て伝送する方法である。このため復号されたデイ
ジタルの(局部)復号信号は量子化器による量子
化雑音を含んだ信号となりDPCM符号器へ入力
されたデイジタルの画像信号とは一致しない。し
たがつてこの圧縮符号化を用いた場合ダビングを
くり返すと、いいかえるとデイジタルベースで
DPCM符号化復号化くり返すと、量子化器によ
つて生ずる量子化雑音が復号信号に重畳されてい
き、しだいに画質は悪くなつていく。このように
従来の量子化器を有した圧縮符号化方式では復号
化して再生した信号は入力信号と一致せず符号化
復号化によつて画質劣化が増大していくという欠
点があつた。 DPCM (Differential Pulse Code) is a typical method for compressing and encoding image signals.
Modulation) is well known. Normal DPCM
The method subtracts the prediction signal from the input signal to obtain a prediction error signal, quantizes the prediction error signal with a quantizer with non-uniform quantization characteristics determined using visual characteristics, and then generates the quantized prediction. This is a method of encoding and transmitting an error signal. Therefore, the decoded digital (local) signal becomes a signal containing quantization noise caused by the quantizer and does not match the digital image signal input to the DPCM encoder. Therefore, if this compression encoding is used and dubbing is repeated, in other words, the digital base
When DPCM encoding and decoding are repeated, quantization noise generated by the quantizer is superimposed on the decoded signal, and the image quality gradually deteriorates. As described above, the conventional compression encoding system using a quantizer has the drawback that the decoded and reproduced signal does not match the input signal, and the deterioration of image quality increases as the encoding and decoding process progresses.
本発明の目的は符号化復号化をくり返しても再
出画像の画質劣化を増大させない符号化復号化装
置を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide an encoding/decoding device that does not increase deterioration in image quality of a re-output image even if encoding/decoding is repeated.
本発明の符号化復号化装置は画像信号を圧縮符
号化し、これを復号再生する符号化復号化装置に
おいて、制御手段からの制御信号(前処理特性を
表わすモード信号M)に応じて情報量の制御を行
なう前処理の手段と、前処理を受けたデイジタル
の画像信号Vを可逆な論理により予測誤差信号に
変換する予測変換の手段と、前記予測誤差信号を
前処理特性を表わすモード信号Mの制御のもとに
不等長符号に変換する手段と、前記不等長符号お
よび復号化に必要な同期およびモード信号Mをバ
ツフアーメモリーに一旦蓄え平滑化した圧縮デー
タCとして送り出す手段と、前記バツフアーメモ
リーに蓄えられる符号化情報の発生量を監視する
ことによつて前処理の手段の制御を行ない発生す
る情報量の平滑化制御を行なう制御手段とから構
成される第1の圧縮符号化装置と、圧縮データC
を復号化し前記デイジタルの画像信号Vと前記処
理特性を示すモード信号Mとを再生する第1の復
号化装置と、前記再生されたデイジタルの画像信
号Vを再び圧縮符号化復号化するに際し前記画像
信号Vを予測誤差信号に変換し予測誤差信号を前
記モード信号Mの制御のもとに不等長符号化しバ
ツフアーメモリーで平滑化することにより再び前
記圧縮データCを得る第2の圧縮符号化装置と、
圧縮データCから画像信号Vを再生する第2の復
号化装置とから構成される。第1の圧縮符号化装
置の前処理の手段から出力される前処理を受けた
デイジタルの画像信号Vは可逆的にいいかえると
情報保存符号化されるため、圧縮符号化信号を復
号化して再生した信号は前処理を受けたデイジタ
ルの画像信号Vと等しい。したがつて再生された
デイジタルの画像信号Vを再び符号化する場合、
前処理の手段を加えないで第1圧縮符号化装置と
同じ符号化特性で予測変換および不等長符号化を
行なえば第1の圧縮符号化装置から出力される圧
縮データと同じ信号が出力されるためこの信号を
復号化すれば前処理を受けたデイジタルの画像信
号Vを再生できる。すなわち本発明の符号化復号
化装置によれば圧縮符号化復号化して再生された
デイジタルの画像信号Vを第2の圧縮符号化装置
で再び符号化するに際し、前処理特性を表わすモ
ード信号Mを用いて、第1の圧縮符号化装置を符
号化したと同じ符号化特性で画像信号Vを予測変
換および不等長符号化するように制御を行なうた
め符号化復号化をくり返しても画質劣化は増大し
ないようにできる。 The encoding/decoding apparatus of the present invention compresses and encodes an image signal and decodes and reproduces the image signal. a preprocessing means for controlling; a prediction conversion means for converting the preprocessed digital image signal V into a prediction error signal using reversible logic; and a mode signal M representing the preprocessing characteristic of the prediction error signal. means for converting into an unequal length code under control; means for temporarily storing the unequal length code and synchronization and mode signals M necessary for decoding in a buffer memory and sending it out as smoothed compressed data C; and a control means for controlling the preprocessing means and smoothing the amount of generated information by monitoring the amount of generated encoded information stored in the buffer memory. Device and compressed data C
a first decoding device that decodes the digital image signal V and reproduces the mode signal M indicating the processing characteristic; second compression encoding to obtain the compressed data C again by converting the signal V into a prediction error signal, unequal length encoding the prediction error signal under the control of the mode signal M, and smoothing it in a buffer memory; a device;
and a second decoding device that reproduces an image signal V from compressed data C. The preprocessed digital image signal V output from the preprocessing means of the first compression encoding device is reversibly encoded to preserve information, so the compression encoded signal is decoded and reproduced. The signal is equal to the preprocessed digital image signal V. Therefore, when re-encoding the reproduced digital image signal V,
If predictive conversion and unequal length encoding are performed with the same encoding characteristics as the first compression encoding device without adding any preprocessing means, the same signal as the compressed data output from the first compression encoding device will be output. Therefore, by decoding this signal, the preprocessed digital image signal V can be reproduced. That is, according to the encoding/decoding apparatus of the present invention, when the digital image signal V that has been compressed, encoded, decoded, and reproduced is encoded again by the second compression/encoder, the mode signal M representing the preprocessing characteristics is transmitted. Since the image signal V is controlled to be predictively transformed and unequal-length encoded using the same encoding characteristics as the first compression encoding device, there is no deterioration in image quality even if encoding and decoding are repeated. It can be prevented from increasing.
前処理の方法としては均一量子化や間引き処理
またはフイルター処理やこれらを組み合せたもの
がある。第1の圧縮符号化装置の前処理として均
一量子化を用いた場合例えば8ビツトまたは7ビ
ツトの均一量子化の前処理を行なつて符号化復号
化して再生した画像信号Vを第2の圧縮符号化装
置で再び符号化する場合、モード信号Mを用いて
8ビツトの均一量子化特性で処理された所は8ビ
ツト用の、7ビツトで処理された所は7ビツト用
の符号変換特性で不等長符号化するように指示す
れば第1の圧縮符号化装置と同じ符号化が行なえ
る。前処理として間引き処理を受けて再生された
画像を再び符号化する場合はモード信号を用いて
間引き処理されない所だけを不等長符号化する。 Preprocessing methods include uniform quantization, thinning processing, filter processing, and a combination of these. When uniform quantization is used as preprocessing for the first compression encoding device, for example, the image signal V that is encoded, decoded, and reproduced by performing 8-bit or 7-bit uniform quantization preprocessing is used for the second compression encoding device. When re-encoding with the encoding device, the parts processed using the 8-bit uniform quantization characteristic using the mode signal M are used for 8 bits, and the parts processed using 7 bits are used for the 7-bit code conversion characteristic. If unequal length encoding is instructed, the same encoding as the first compression encoding device can be performed. When re-encoding an image that has been reproduced after being thinned out as preprocessing, a mode signal is used to perform unequal length encoding on only the parts that are not thinned out.
以下本発明について図面を用いて詳細に説明す
る。 The present invention will be described in detail below with reference to the drawings.
第1図は本発明の第1の実施例の構成を示すブ
ロツク図である。入力端子101へ入力されたア
ナログの画像信号はA/D変換器102でデイジ
タルの画像信号、例えばPCM信号、に変換され
て第1の圧縮符号化装置103へ供給される。第
1の圧縮符号化装置103は制御手段からの制市
信号に応じて情報量の制御を行なう前処理の手段
と、前処理を受けたデイジタルの画像信号Vを可
逆な論理により予測誤差信号に変換する予測変換
の手段と、前記予測誤差信号を前記前処理の手段
の特性を示すモード信号Mの制御のもとに不等長
符号に変換する手段と、前記不等長符号および復
号化に必要な同期およびモード信号Mをバツフア
ーメモリーに一旦蓄え平滑化した圧縮データCと
して送り出す手段と、前記バツフアーメモリーに
蓄えられる符号化情報の発生量を監視することに
よつて前処理の制御を行ない発生する情報量の平
滑化制御を行なう制御手段とから構成され、入力
画像信号を与えられたデーターレートに等しくな
るように圧縮符号化して出力する圧縮符号化信号
のデータレートは一定の値に定められる場合や外
から制御を受けてある範囲内で時間的に変動する
場合もある。圧縮データCは伝送路またはデイジ
タルVTR等の記憶装置104を経て第1の復号
化装置105へ供給される。第1の復号化装置1
05では圧縮符号化信号を復号化し、第1の圧縮
符号化装置103の前処理の手段で得られたデイ
ジタルの画像信号Vと前処理特性を示すモード信
号Mとを再生する。再生されたデイジタルの画像
信号Vとモード信号Mは第2の圧縮符号化装置1
06へ供給され再び圧縮符号化される。第2の圧
縮符号化装置106では再生されたデイジタルの
画像信号Vを予測変換によつて予測誤差信号に変
換し、予測誤差信号を再生されたモード信号Mの
制御のもとに不等長符号化しバツフアーメモリー
で平滑化することにより再び圧縮データCを得
る。バツフアーメモリーに蓄えられる符号化情報
の発生量を監視して制御を行なわなくてもモード
信号Mの制御のもとに符号化を行なえば第1の圧
縮符号化装置103と同じ符号化ができ、圧縮デ
ーターは第1の圧縮符号化装置103から出力さ
れるものと等しくなる。予測変換は可逆的である
ので再生されたデイジタルの画像信号Vは情報保
存されて符号化される。 FIG. 1 is a block diagram showing the configuration of a first embodiment of the present invention. An analog image signal input to the input terminal 101 is converted into a digital image signal, such as a PCM signal, by an A/D converter 102 and supplied to a first compression encoding device 103. The first compression encoding device 103 includes preprocessing means for controlling the amount of information according to the city control signal from the control means, and converts the preprocessed digital image signal V into a prediction error signal using reversible logic. means for predictive conversion, means for converting the prediction error signal into an unequal length code under the control of a mode signal M indicating characteristics of the preprocessing means, and a means for converting the prediction error signal into an unequal length code, The preprocessing is controlled by means for temporarily storing necessary synchronization and mode signals M in a buffer memory and sending them out as smoothed compressed data C, and by monitoring the amount of encoded information stored in the buffer memory. and a control means for smoothing control of the amount of information generated by the input image signal, and the data rate of the compressed encoded signal outputted by compressing and encoding the input image signal so as to be equal to the given data rate is kept at a constant value. In some cases, it is determined, and in other cases, it is controlled from outside and varies over time within a certain range. Compressed data C is supplied to a first decoding device 105 via a transmission line or a storage device 104 such as a digital VTR. First decoding device 1
05, the compression encoded signal is decoded, and the digital image signal V obtained by the preprocessing means of the first compression encoding device 103 and the mode signal M indicating the preprocessing characteristics are reproduced. The reproduced digital image signal V and mode signal M are sent to the second compression encoding device 1.
06 and is compressed and encoded again. The second compression encoding device 106 converts the reproduced digital image signal V into a prediction error signal by predictive conversion, and converts the prediction error signal into an unequal length code under the control of the reproduced mode signal M. The compressed data C is obtained again by smoothing with a buffer memory. Even without monitoring and controlling the amount of encoded information stored in the buffer memory, the same encoding as in the first compression encoding device 103 can be achieved by performing encoding under the control of the mode signal M. , the compressed data is equal to that output from the first compression encoding device 103. Since the predictive conversion is reversible, the reproduced digital image signal V is encoded with information preserved.
第2の圧縮符号化装置106より出力された圧
縮データは伝送路またはデイジタルVTR等の記
憶装置107を経て第2の復号化装置108へ供
給される。第2の復号化装置108では圧縮復号
化信号いいかえると圧縮データを復号化して第1
復号化装置105で復号したと同じデイジタルの
画像信号Vを再生する。再生されたデイジタルの
画像信号VはD/A変換器109へ供給されアナ
ログ信号に変換されたのち出力端子110より出
力される。すなわち符号化復号化をくり返しても
くり返したことによる画質劣化は何にも生じな
い。 The compressed data output from the second compression encoding device 106 is supplied to the second decoding device 108 via a transmission path or a storage device 107 such as a digital VTR. In other words, the second decoding device 108 decodes the compressed data and decodes the compressed data.
The same digital image signal V that was decoded by the decoding device 105 is reproduced. The reproduced digital image signal V is supplied to the D/A converter 109, converted into an analog signal, and then outputted from the output terminal 110. That is, even if encoding and decoding are repeated, no image quality deterioration occurs due to the repetition.
また第2の圧縮符号化装置106から出力され
る圧縮データをデイジタルVTRの記憶装置10
7に一旦記録したのち読み出して第1の復号化装
置105へ供給するようにした場合、第1の復号
化装置で圧縮データを復号化して再生したデイジ
タルの画像信号Vと前処理特性を示すモード信号
Mとを第2の圧縮符号化装置106に供給し再び
符号化してもモード信号Mによつて同じ符号化が
行なえるため画質劣化は生じない。すなわち符号
化復号化を何回くり返しても画質劣化は生じな
い。 Further, the compressed data output from the second compression encoding device 106 is stored in the storage device 10 of the digital VTR.
7 and then read out and supplied to the first decoding device 105, the digital image signal V decoded and reproduced from the compressed data by the first decoding device and the mode showing the preprocessing characteristics. Even if the signal M is supplied to the second compression encoding device 106 and encoded again, the same encoding can be performed using the mode signal M, so no deterioration in image quality occurs. In other words, no matter how many times encoding and decoding are repeated, image quality does not deteriorate.
デイジタルVTRの記憶装置104と第1の復
号化装置105とをもう1組用意していずれかの
第1の復号化装置105から再生されて出力され
る画像信号Vとモード信号Mを選択して第2の圧
縮符号化装置106に供給し再び符号化し、圧縮
データCをデイジタルVTの記憶装置107に記
録するようにすればデイジタルVTRによる編集
が画質劣化なしに行なえる。 Another set of a digital VTR storage device 104 and a first decoding device 105 is prepared, and an image signal V and a mode signal M to be reproduced and output from one of the first decoding devices 105 are selected. By supplying the compressed data C to the second compression encoding device 106, encoding it again, and recording the compressed data C in the storage device 107 of the digital VT, editing using the digital VTR can be performed without deteriorating the image quality.
第1の圧縮符号化装置103と第2の圧縮符号
化装置106の違いは第1の圧縮符号化装置10
3は前処理の手段を有しバツフアーメモリーに蓄
えられる符号化情報の発生量と監視して前処理の
手段の制御を行ない前処理に応動させて予測誤差
信号を不等長符号化を行なうが、一方の圧縮符号
化装置106は前処理の手段を有せず前処理特性
を表わすモード信号Mの制御のもとに予測誤差信
号を不等長符号化を行なう点が異なる。第1の復
号化装置105と第2の復号化装置108の違い
は前処理特性を表わすモード信号Mを出力するか
しないかの違いである。したがつて第1の圧縮符
号化装置に第2の圧縮符号化を行なう制御モード
を付け加えれば、モード切換情報に従がつて第1
の圧縮符号化モードと第2の圧縮符号化を切換て
符号化すれば両方の機能を有した符号化装置が構
成される。 The difference between the first compression encoding device 103 and the second compression encoding device 106 is that the first compression encoding device 10
3 has a preprocessing means, and controls the preprocessing means by monitoring the generated amount of encoded information stored in the buffer memory, and performs unequal length encoding of the prediction error signal in response to the preprocessing. However, the difference is that the compression encoding device 106 does not have a preprocessing means and performs unequal length encoding of the prediction error signal under the control of a mode signal M representing preprocessing characteristics. The difference between the first decoding device 105 and the second decoding device 108 is whether or not they output a mode signal M representing the preprocessing characteristics. Therefore, if a control mode for performing the second compression encoding is added to the first compression encoding device, the first compression encoding will be performed according to the mode switching information.
By switching between the first compression encoding mode and the second compression encoding mode, an encoding device having both functions can be constructed.
第1の圧縮符号化モードと第2の圧縮符号化モ
ードを有した符号化装置を第2の圧縮符号化装置
106のかわりに用いれば、再生画像信号を符号
化するデーターレート、すなわち圧縮データのデ
ータレート、が以前に符号化されたデータレート
に一致する場合は第2の圧縮符号化モードで符号
化し、不足する場合は第1の圧縮符号化モードで
符号化を行なうようにすることができる。符号化
モードの切換はモード切換信号によつて行なうほ
か、モード信号の中にデーターレートを示す情報
を付け加えておき、この情報を用いて切換判定を
行なう方法もある。 If an encoding device having a first compression encoding mode and a second compression encoding mode is used instead of the second compression encoding device 106, the data rate at which the reproduced image signal is encoded, that is, the compressed data If the data rate matches the previously encoded data rate, encoding is performed in the second compression encoding mode, and if the data rate is insufficient, encoding is performed in the first compression encoding mode. . In addition to switching the encoding mode using a mode switching signal, there is also a method of adding information indicating a data rate to the mode signal and using this information to make a switching decision.
次にバツフアーメモリーの初期化について説明
する。 Next, initialization of the buffer memory will be explained.
第2の圧縮符号化装置106は第1の圧縮符号
化装置103と同じ符号化を行なつて同じ圧縮デ
ータを出力するが、いいかえると同じ符号化情報
量を出力するが、符号化を始める時のバツフアー
メモリーの情報蓄積量の初期値は何らかの方法で
定めてやらないと不定であり、第1の圧縮符号化
装置103の初期値と一致しない。したがつて第
2の圧縮符号化装置106ではバツフアーメモリ
ーの情報蓄積量の初期値の制御または画像信号の
適当な部分での情報蓄積量が一致するような制御
を行なわないと2つ圧縮符号化装置間で情報蓄積
量は一致しては変動せずオーバーフローあるいは
アンダーフローを生ずることがある。これをふせ
ぐためにバツフアーメモリーの情報蓄積量の初期
化を行なう方法として符号化の始めあるいは適当
な期間ごとに情報窒積量のリセツトを行なう方法
の他に間接的な方法としてバツフアーメモリー容
量を大きくする方法や、第2の圧縮符号化装置1
06に前処理をもうけバツフアーメモリーがオー
バーフローを生じそうな場合はモード信号Mにし
たがつて符号化するのをやめ、前処理の手段で情
報量の制御を行ない発生する情報量の平滑化制御
を行なつてオーバーフローが生じないようにする
方法等がある。アンダーフローが生じそうな場合
はダミーの情報を付け加えるようにする。情報蓄
積量のリセツトの方法としては強制的にある値に
リセツトするか、情報蓄積量の値を伝えてリセツ
トするか、モード信号Mにより情報蓄積量を推定
してリセツトするか、あるいは符号化装置へ入力
する再生画像信号を制限して符号化情報量をおさ
えてバツフアーメモリーの情報蓄積量の初期化を
行なう方法がある。モード信号Mを用いる初期化
の方法について述べる、第1の圧縮符号化装置1
03ではバツフアーメモリーの情報蓄積量を用い
て前処理特性を定めていることにより情報蓄積量
とモード信号Mとはある対応関係にある。したが
つて第2の圧縮符号化装置106ではモード信号
Mから推定される情報蓄積量とバツフアーメモリ
ーの情報蓄積量との違がある範囲を越えた場合
は、ダミー信号を発生させるかあるいは符号化情
報の発生を停止するかして情報蓄積量が一致する
よう制御する。第2図aおよびbは本発明の第1
の実施例の第1の圧縮符号化装置103と第1の
符号化装置105と第2の圧縮符号化装置106
と第2の復号化装置の構成の一例を示すブロツク
図である。本実施例は前処理の手段として均一量
子化を行なう量子化回路をもうけ、バツフアーメ
モリーの初期化はモード信号Mを用いて行なう場
合について示してある。 The second compression encoding device 106 performs the same encoding as the first compression encoding device 103 and outputs the same compressed data. In other words, it outputs the same amount of encoded information, but when starting encoding The initial value of the amount of information stored in the buffer memory is indefinite unless determined by some method, and does not match the initial value of the first compression encoding device 103. Therefore, in the second compression encoding device 106, unless the initial value of the amount of information stored in the buffer memory is controlled or the amount of information stored in an appropriate portion of the image signal matches, two compression codes will be generated. The amount of information stored between the converting devices may not change even if they match, resulting in overflow or underflow. In order to prevent this, there is a method to initialize the amount of information stored in the buffer memory, in which the amount of information stored in the buffer memory is reset at the beginning of encoding or at every appropriate period, and an indirect method is to reset the amount of information stored in the buffer memory. method for increasing the second compression encoding device 1
06, if the buffer memory is likely to overflow, stop encoding according to the mode signal M, control the amount of information using preprocessing means, and smooth the amount of information generated. There are methods to prevent overflow from occurring. If underflow is likely to occur, add dummy information. The amount of information stored can be reset by forcibly resetting it to a certain value, by transmitting the value of the amount of information stored, by estimating the amount of information stored using the mode signal M, or by using the encoding device. There is a method of initializing the amount of information stored in the buffer memory by limiting the amount of encoded information by limiting the reproduced image signal input to the buffer memory. First compression encoding device 1 describing an initialization method using mode signal M
In No. 03, the preprocessing characteristics are determined using the amount of information stored in the buffer memory, so that there is a certain correspondence between the amount of information stored and the mode signal M. Therefore, in the second compression encoding device 106, if the difference between the amount of information accumulated from the mode signal M and the amount of information accumulated in the buffer memory exceeds a certain range, a dummy signal is generated or the code is The amount of stored information is controlled to match by stopping the generation of information. Figures 2a and b are the first embodiment of the present invention.
The first compression encoding device 103, the first encoding device 105, and the second compression encoding device 106 of the embodiment
FIG. 3 is a block diagram showing an example of the configuration of a second decoding device. In this embodiment, a quantization circuit for uniform quantization is provided as a preprocessing means, and a mode signal M is used to initialize the buffer memory.
A/D変換器102でデイジタルの信号に変換
された画像信号X、例えば−128〜127のレベル値
をとる8ビツトのPCM信号、は第1の圧縮符号
化装置103の入力端子4を経て前処理の手段の
量子化回路7へ供給される。量子化回路7はあら
かじめ定められた何種類かの均一量子化特性、す
なわち前処理特性、を有し、制御回路13からの
制御信号によつて選択された量子化特性に従がつ
て画像信号Xを量子化して前処理を受けたデイジ
タルの画像信号Vを出力しノンリカーシブタイプ
の予測付号器64の減算器10と予測器8へ供給
する。予測器8ではあらかじめ定められた予測特
性に従がつて予測信号を出力し減算器10へ供給
する。減算器10では量子化回路7から出力され
た画像信号Vから予測信号を減算して予測誤差信
号を得、不等長符号化回路11へ供給する。不等
長符号化回路11は予測符号器64へ入力する画
像信号Vが有する量子化の精度に対応した、した
がつて前処理の量子化特性に対応した、何種類か
の符号変換特性を有し、制御信号によつて量子化
特性に対応した符号変換特性を選択し選択された
符号変換特性に従がつて予測誤差信号を不等長符
号に変換し、不等長符号および復号化に必要な同
期および前処理特性、したがつて量子化特性を、
表わすモード信号Mとからなる圧縮符号化信号を
バツフアーメモリー12へ供給する。バツフアー
メモリー12へ送られてくる圧縮符号化信号の情
報量は第1の圧縮符号化装置103へ入力される
画像信号に依存して時々刻々変化する。従がつて
バツフアーメモリー12では不等長符号化回路1
1から送られてくる時々刻々変化する圧縮符号化
信号を一旦記憶し、伝送路の伝送速度に合うよう
に平滑した後圧縮データCとして出力端子14よ
り伝送路に送り出す。伝送路としては実際の伝送
路やデイジタルVTR等の記憶装置に書込むこと
も含まれる。バツフアーメモリー12ではバツフ
アーメモリーに貯えられている情報蓄積量を監視
しており情報蓄積量は制御回路13へ供給され
る。 The image signal X converted into a digital signal by the A/D converter 102, for example, an 8-bit PCM signal having a level value of -128 to 127, is sent to the front via the input terminal 4 of the first compression encoding device 103. The signal is supplied to the quantization circuit 7 of the processing means. The quantization circuit 7 has several predetermined uniform quantization characteristics, that is, preprocessing characteristics, and converts the image signal X according to the quantization characteristics selected by the control signal from the control circuit 13. A digital image signal V which has been quantized and preprocessed is output and supplied to the subtracter 10 and the predictor 8 of the non-recursive type predictive encoder 64. The predictor 8 outputs a prediction signal according to predetermined prediction characteristics and supplies it to the subtracter 10. The subtracter 10 subtracts the prediction signal from the image signal V output from the quantization circuit 7 to obtain a prediction error signal, which is supplied to the unequal length encoding circuit 11 . The unequal length encoding circuit 11 has several types of code conversion characteristics that correspond to the quantization precision of the image signal V input to the predictive encoder 64, and therefore correspond to the quantization characteristics of preprocessing. Then, a code conversion characteristic corresponding to the quantization characteristic is selected by the control signal, and the prediction error signal is converted into an unequal length code according to the selected code conversion characteristic, and the code required for decoding is converted into an unequal length code. synchronization and preprocessing properties, and hence quantization properties,
A compressed encoded signal consisting of a mode signal M representing the mode signal M is supplied to the buffer memory 12. The amount of information in the compressed encoded signal sent to the buffer memory 12 changes from moment to moment depending on the image signal input to the first compression encoded device 103. Therefore, in the buffer memory 12, the unequal length encoding circuit 1
The compressed encoded signal sent from 1 is temporarily stored, smoothed to match the transmission speed of the transmission line, and then sent out as compressed data C from the output terminal 14 to the transmission line. The transmission path includes an actual transmission path and writing to a storage device such as a digital VTR. The buffer memory 12 monitors the amount of information stored in the buffer memory, and the amount of information stored is supplied to the control circuit 13.
制御回路13はバツフアーメモリー12から供
給される情報蓄積量を用いて適当な周期ごとに前
処理特性の切換制御を行なう。情報蓄積量が少な
い場合は発生する情報量が多くなつてもかまわな
いのでより細かい量子化特性を選択するように判
定し情報蓄積量が多い場合は発生する情報量を減
少するためより粗い量子化特性を選択するよう判
定する。判定結果にもとずいて前処理特性すなわ
ち量子化特性を選択切換する制御信号を量子化回
路7へ、選択した量子化特性に対応した符号変換
特性を選択する制御信号を不等長符号化回路11
へ供給する。以上が第1の圧縮符号化装置103
の動作説明である。 The control circuit 13 uses the amount of accumulated information supplied from the buffer memory 12 to control switching of preprocessing characteristics at appropriate intervals. If the amount of information stored is small, it does not matter if the amount of generated information increases, so a decision is made to select a finer quantization characteristic, and if the amount of information stored is large, coarser quantization is selected to reduce the amount of generated information. Determine to select a characteristic. Based on the determination result, a control signal for selecting and switching a preprocessing characteristic, that is, a quantization characteristic, is sent to the quantization circuit 7, and a control signal for selecting a code conversion characteristic corresponding to the selected quantization characteristic is sent to the unequal length encoding circuit. 11
supply to The above is the first compression encoding device 103
This is an explanation of the operation.
第1の復号化装置105においては第1の圧縮
符号化装置103から伝送路を経て送られて来た
圧縮データCが入力端子15からバツフアーメモ
リー7へ供給されて一旦記憶される。バツフアー
メモリー17ではバツフアーメモリーに貯えられ
ている情報蓄積量を監視しており情報蓄積量は制
御回路19へ供給される。一旦記憶された圧縮符
号化信号のデータは不等長復号化回路18からの
要求にしたがつて読み出され不等長復号化回路1
8へ供給される。不等長復号化回路18では圧縮
符号化信号の中の同期やモード信号M等の制御情
報を制御回路19へ供給し、不等長符号の情報は
不等長復号化回路18で復号化する。制御回路1
9はバツフアーメモリー17から供給される情報
蓄積量と不等長復号化回路18より供給される制
御情報を用いて符号化情報の読み出しの制御と量
子化特性に対応した符号逆変換特性を選択する制
御信号を不等長復号化回路18へ供給し、量子化
特性を切換える制御信号を量子化回路21へ供給
し、出力端子23より出力される再生されたデイ
ジタル画像信号Vに対応した量子化特性を表わす
モード信号Mを出力端子24の供給する。 In the first decoding device 105, the compressed data C sent from the first compression encoding device 103 via the transmission line is supplied from the input terminal 15 to the buffer memory 7 and is temporarily stored therein. The buffer memory 17 monitors the amount of information stored in the buffer memory, and the amount of information stored is supplied to the control circuit 19. The data of the compressed encoded signal once stored is read out in accordance with a request from the unequal length decoding circuit 18.
8. The unequal length decoding circuit 18 supplies control information such as synchronization and mode signal M in the compressed encoded signal to the control circuit 19, and the unequal length code information is decoded by the unequal length decoding circuit 18. . Control circuit 1
9 uses the information storage amount supplied from the buffer memory 17 and the control information supplied from the unequal length decoding circuit 18 to control readout of encoded information and select code inverse conversion characteristics corresponding to the quantization characteristics. A control signal for switching the quantization characteristic is supplied to the unequal length decoding circuit 18, a control signal for switching the quantization characteristic is supplied to the quantization circuit 21, and the quantization corresponding to the reproduced digital image signal V output from the output terminal 23 is performed. A mode signal M representing the characteristic is supplied at the output terminal 24.
不等長復号化回路18は第1の圧縮符号化装置
103の不等長符号化回路11の有する符号変換
特性に対応した符号逆変換特性を有し、制御回路
19からの制御信号で選択された符号変換特性に
従がつて不等長符号の情報を符号逆変換し、第1
の圧縮符号化装置103の予測符号器64から不
等長符号化回路11へ供給した予測誤差信号を予
測符号器64へ入力した画像信号を有する量子化
の精度に、したがつてモード信号Mが表わす量子
化特性で、量子化した信号に等しい予測誤差信
号、いいかえると量子化された予測誤差信号eQ、
を再生する。再生された予測誤差信号eQは予測復
号器65の加算器20へ供給される。量子化回路
21からは再生された予測誤差信号と等しい精度
に量子化された予測信号が加算器20へ供給さ
れ、加算器20では予測信号と予測誤差信号とを
加算して、加算器20出力に復号した画像信号を
出力する。再生された画像信号は第1の圧縮符号
化装置103の予測符号器64へ供給された画像
信号と等しい精度を有する信号すなわち予測符号
器64へ供給された画像信号Vに一致する信号と
なる。再生されたデイジタルの画像信号Vは出力
端子23と予測器22へ供給される。予測器22
は第1の圧縮符号化装置103の予測器8と同じ
機能を有し予測特性に従がつて再生された画像信
号Vより次の予測信号を得て出力し量子化回路2
1へ供給する。量子化回路21は第1の圧縮符号
化装置103の前処理用の量子化回路7と同じ機
能を有し、制御信号によつて選択された量子化特
性に従がつて予測信号を量子化し、不等長復号化
回路18より出力される予測誤差信号と等しい精
度に量子化された予測信号を出力して加算器へ供
給する。 The unequal length decoding circuit 18 has code inverse conversion characteristics corresponding to the code conversion characteristics of the unequal length encoding circuit 11 of the first compression encoding device 103, and is selected by a control signal from the control circuit 19. The information of the unequal-length code is inversely converted according to the code conversion characteristics, and the first
The prediction error signal supplied from the predictive encoder 64 of the compression encoding device 103 to the unequal length encoding circuit 11 is adjusted to the accuracy of quantization with the image signal input to the predictive encoder 64, so that the mode signal M is A prediction error signal equal to the quantized signal, in other words, a quantized prediction error signal e Q with the quantization characteristic expressed,
Play. The reproduced prediction error signal e Q is supplied to the adder 20 of the prediction decoder 65. From the quantization circuit 21, a prediction signal quantized to the same precision as the reproduced prediction error signal is supplied to the adder 20, and the adder 20 adds the prediction signal and the prediction error signal, and outputs the output of the adder 20. The decoded image signal is output. The reproduced image signal becomes a signal having the same precision as the image signal supplied to the predictive encoder 64 of the first compression encoding device 103, that is, a signal that matches the image signal V supplied to the predictive encoder 64. The reproduced digital image signal V is supplied to an output terminal 23 and a predictor 22. Predictor 22
has the same function as the predictor 8 of the first compression encoding device 103, and obtains and outputs the next prediction signal from the image signal V reproduced according to the prediction characteristics.The quantization circuit 2
Supply to 1. The quantization circuit 21 has the same function as the preprocessing quantization circuit 7 of the first compression encoding device 103, and quantizes the predicted signal according to the quantization characteristic selected by the control signal. A prediction signal quantized to the same precision as the prediction error signal output from the unequal length decoding circuit 18 is output and supplied to the adder.
以上が第1の復号化装置105の動作説明であ
る。 The above is an explanation of the operation of the first decoding device 105.
第2図bの第2圧縮符号化装置106は第2図
aの第1の圧縮符号化装置103と比べて前処理
用の量子化回路を持たなくモード信号Mを用いて
制御を行なう点が異なる。第2図bの第2の復号
化108は第2図aの第1の復号化装置105と
まつたく同じでただモード信号を出力する端子を
もたない点が異なる。 The second compression encoding device 106 in FIG. 2b is different from the first compression encoding device 103 in FIG. 2a in that it does not have a quantization circuit for preprocessing and performs control using the mode signal M. different. The second decoding device 108 in FIG. 2b is exactly the same as the first decoding device 105 in FIG. 2a, except that it does not have a terminal for outputting a mode signal.
第2図bの参照数字4,8,10,64,1
1,12,14,15,17,18,19,2
0,21,22,23および65は第2図aの各
参照数字の部分と同じ機能を有し同様の動作を行
なう。第1の復号化装置105より送られてきた
再生された画像信号Vは第2の圧縮符号化装置1
06の入力端子4に、モード信号Mは入力端子5
に供給される。入力端子4へ供給された画像信号
Vは第1の圧縮符号化装置103の量子化回路7
による前処理を受けた画像信号Vと等しく、第1
の圧縮符号化装置103と同じように予測符号器
64へ供給して予測変換を行なつて予測誤差信号
を出力し不等長符号化回路11へ供給する。 Reference numbers 4, 8, 10, 64, 1 in Figure 2b
1, 12, 14, 15, 17, 18, 19, 2
0, 21, 22, 23 and 65 have the same functions as the reference numerals in FIG. 2a and perform similar operations. The reproduced image signal V sent from the first decoding device 105 is transmitted to the second compression encoding device 1.
06 input terminal 4, mode signal M is input terminal 5
is supplied to The image signal V supplied to the input terminal 4 is sent to the quantization circuit 7 of the first compression encoding device 103.
equal to the image signal V preprocessed by
Similarly to the compression encoding device 103, the signal is supplied to the predictive encoder 64, which performs predictive conversion, outputs a prediction error signal, and supplies it to the unequal length encoding circuit 11.
入力端子5へ供給されたモード信号Mは制御回
路13へ供給される。制御回路13は、バツフア
ーメモリー12から供給される情報蓄積量とモー
ド信号Mを用いて不等長符号化回路11の制御を
行なう。通常の場合はモード信号Mに従がつてモ
ード信号Mが表わす量子化特性に対応した符号変
換特性を選択して不等長符号化を行なうよう制御
する。この場合不等長符号化回路11では第1の
圧縮符号化装置103で符号化されたと同じ符号
化が行なわれる。情報蓄積量がモード信号Mから
推定される推定情報蓄積量と比較してある範囲よ
り大きく異なる場合はバツフアーメモリーの初期
化を行なう制御をする。情報蓄積量が少ない場合
はダミー情報を発生するように不等長符号化回路
11に制御信号を送り、情報蓄積量が多い場合は
圧縮符号化情報の発生を停止するよう制御信号を
送る。一度初期化が行なわれたのちは伝送路エラ
ー等で情報蓄積量がずれないかぎり初期化は行な
われず、モード信号Mに従がつて通常の制御がな
される。 The mode signal M supplied to the input terminal 5 is supplied to the control circuit 13. The control circuit 13 controls the unequal length encoding circuit 11 using the information storage amount and the mode signal M supplied from the buffer memory 12. In a normal case, control is performed to perform unequal length encoding by selecting a code conversion characteristic corresponding to the quantization characteristic represented by the mode signal M in accordance with the mode signal M. In this case, the unequal length encoding circuit 11 performs the same encoding as that performed by the first compression encoding device 103. If the information storage amount differs from the estimated information storage amount estimated from the mode signal M by more than a certain range, control is performed to initialize the buffer memory. If the amount of stored information is small, a control signal is sent to the unequal length encoding circuit 11 to generate dummy information, and if the amount of stored information is large, a control signal is sent to stop generating compression encoded information. Once the initialization has been performed, the initialization will not be performed unless the amount of stored information deviates due to a transmission path error or the like, and normal control will be performed according to the mode signal M.
不等長符号化回路11では制御回路13からの
制御信号に従がつて予測誤差信号を不等長符号化
し、圧縮符号化信号を出力してバツフアーメモリ
ー12に供給する。バツフアーメモリー12は圧
縮符号化信号を一旦蓄え平滑化した圧縮データC
として出力し、出力端子14へ供給するとともに
バツフアーメモリー12の情報蓄積量を制御回路
13へ供給する。第2の圧縮符号化装置106よ
り出力される圧縮データCは第1の圧縮符号化装
置103から出力されるものと等しい。以上が第
2の圧縮符号化装置106の動作説明である。 The unequal length encoding circuit 11 encodes the prediction error signal in unequal length according to the control signal from the control circuit 13, outputs a compressed encoded signal, and supplies the compressed encoded signal to the buffer memory 12. The buffer memory 12 temporarily stores the compressed encoded signal and smoothes the compressed data C.
The information stored in the buffer memory 12 is output to the output terminal 14 and the amount of information stored in the buffer memory 12 is supplied to the control circuit 13. Compressed data C output from the second compression encoding device 106 is equal to that output from the first compression encoding device 103. The above is an explanation of the operation of the second compression encoding device 106.
第2の復号化装置108は第1の復号化装置1
05と同様の動作を行なうので説明ははぶく。第
2の復号化装置108はモード信号Mを出力しな
いので制御回路19からモード信号が出力されな
い。 The second decoding device 108 is the first decoding device 1
Since it performs the same operation as 05, the explanation is omitted. Since the second decoding device 108 does not output the mode signal M, the control circuit 19 does not output the mode signal.
第3図は本発明の第1の実施例における第1の
圧縮符号化装置103の量子化回路7の具体的な
回路例を示す図である。この回路例は2の補数で
表わされた8ビツトの画像信号X(LSB(Least
Significant Bit)はx1でその大きさは1であ
る。)が量子化の制御信号に従がつて6〜8ビツ
トの画像信号Vの切り捨てによつて量子化されて
出力される場合について示してある。量子化回路
7に入力された8ビツトの画像信号Xは入力端子
x3〜x8までの上位の6ビツトはそのまま出力端子
y3〜y8へ供給され、x1およびx2のビツトは各々論
理積回路29または28へ供給される。制御回路
13から供給される量子化の制御信号QCは2ビ
ツトの信号で符号逆変換器27へ供給されて逆変
換が行なわれQS1とQS2で示される2ビツトの量
子化選択信号を出力する。制御信号QCが1の時
は量子化選択信号QS1が「0」でQS2が「1」と
なり、制御信号QCが2の時は量子化選択信号
QS2が「0」でQS1が「1」となり、制御信号
QCが0の時は量子化選択信号QS1およびQS2は
ともに「1」となる。量子化選択信号QS1は論理
積回路29へ供給され量子化選択信号QS2は論理
積回路28および29へ供給される。論理積回路
28および29は各々の入力信号の論理積をとつ
た信号を出力し、出力端子y2とy1への供給する。
したがつて量子化回路21の出力には量子化制御
信号QCが0の時には8ビツトの精度に、QCが1
の時には7ビツトの精度にQCが2の時には6ビ
ツトの精度に均一量子化された画像信号Yが出力
される。 FIG. 3 is a diagram showing a specific circuit example of the quantization circuit 7 of the first compression encoding device 103 in the first embodiment of the present invention. This circuit example uses an 8-bit image signal X (LSB (Least
Significant Bit) is x 1 and its size is 1. ) is quantized and output by truncating the 6- to 8-bit image signal V according to the quantization control signal. The 8-bit image signal X input to the quantization circuit 7 is an input terminal.
The upper 6 bits from x 3 to x 8 are used as output terminals.
The bits of x1 and x2 are supplied to AND circuits 29 or 28 , respectively. The quantization control signal QC supplied from the control circuit 13 is a 2-bit signal and is supplied to the code inverter 27, where it is inversely transformed and outputs 2-bit quantization selection signals indicated by QS1 and QS2. When the control signal QC is 1, the quantization selection signal QS1 is "0" and QS2 is "1", and when the control signal QC is 2, the quantization selection signal
When QS2 is “0”, QS1 is “1”, and the control signal
When QC is 0, both quantization selection signals QS1 and QS2 are "1". Quantization selection signal QS1 is supplied to AND circuit 29, and quantization selection signal QS2 is supplied to AND circuits 28 and 29. AND circuits 28 and 29 output a signal obtained by ANDing the respective input signals, and supply the signal to output terminals y 2 and y 1 .
Therefore, the output of the quantization circuit 21 has an accuracy of 8 bits when the quantization control signal QC is 0, and an accuracy of 8 bits when the quantization control signal QC is 0.
When QC is 2, the image signal Y is uniformly quantized with 7-bit accuracy and when QC is 2, 6-bit accuracy is output.
第1の復号化装置105および第2の復号化装
置108の量子化回路21も同様に構成される。 The quantization circuits 21 of the first decoding device 105 and the second decoding device 108 are similarly configured.
第4図は本発明の第1の実施例における第1の
圧縮符号化装置103の予測器8の具体的な回路
例を示す図である。本回路例においては標本化周
波数sがサブキヤリアscの3倍である時に
NTSCカラーTV信号を能率よく予測できる予測
関数として2つの予測関数を定め、2つの予測関
数を適応的に切換選択して予測信号を求めるよう
に構成されている。 FIG. 4 is a diagram showing a specific circuit example of the predictor 8 of the first compression encoding device 103 in the first embodiment of the present invention. In this circuit example, when the sampling frequency s is three times the subcarrier sc,
Two prediction functions are defined as prediction functions that can efficiently predict an NTSC color TV signal, and the two prediction functions are adaptively switched and selected to obtain a prediction signal.
第1の予測関数P1(Z)は1次元の関数で次式
のZ関数(Z=e-j2〓/ s)で示される。 The first prediction function P 1 (Z) is a one-dimensional function and is expressed by the following Z function (Z=e −j2 〓 / s ).
P1(Z)=0.5Z-1+Z-3−0.5Z-4 (1)
第2の予測関数P2(Z)は2ライン前から予測
する関数で次式のZ関数で示される。 P 1 (Z)=0.5Z -1 +Z -3 -0.5Z -4 (1) The second prediction function P 2 (Z) is a function that predicts from two lines in advance and is expressed by the Z function of the following equation.
P2(Z)=Z-2H (2)
但しHは1水平走査周期のサンプル数を示しs
=3scの時H=682.5である。 P 2 (Z) = Z -2H (2) However, H indicates the number of samples in one horizontal scanning period s
When =3sc, H=682.5.
選択の方法は2つの予測関数による予測信号と
局部復号信号いいかえると予測器8への入力画像
信号(本実施例ではノンリカーシブタイプ予測符
号器を用いて情報保存符号化が行なわれているた
め局部復号信号に相当するものは予測符号器64
への入力画像信号に一致する。)を比較し入力画
像信号に近い予測信号を出力した予測関数を次の
予測に用いるものである。 The selection method is based on a prediction signal using two prediction functions and a locally decoded signal. The one corresponding to the decoded signal is the predictive encoder 64
matches the input image signal to. ), and the prediction function that outputs a prediction signal close to the input image signal is used for the next prediction.
予測器8へ供給れた画像信号は(1)式の予測関数
の特性を有する第1の予測回路30と(2)式の予測
関数の特性を有する第2の予測回路31と判定回
路32へ送られる。第1の予測回路30から出力
される第1の予測信号は切換回路34の端子aお
よび判定回路32へ、第2の予測回路31から出
力される第2の予測信号は切換回路34の端子b
および判定回路32へ送られる。判定回路32で
は画像信号に対してどちらの予測信号が近かを判
定し、第1の予測信号に近い場合は「0」の選択
信号を出力し、第2の予測信号が近い場合は
「1」の選択信号を出力する。選択信号はレジス
ター33で1標本化クロツクの周期遅延されたの
ち切換回路34へ送られ、切換回路34では選択
信号が「0」の場合は端子aの第1の予測信号が
選択され、選択信号が「1」の場合は端子bの第
2の予測信号が選択されて出力され予測信号が得
られる。第2の予測回路31は入力信号を1365の
標本化クロツク周期だけ遅延して出力する遅延回
路で構成される。 The image signal supplied to the predictor 8 is sent to a first prediction circuit 30 having the characteristics of the prediction function of equation (1), a second prediction circuit 31 having the characteristics of the prediction function of equation (2), and a determination circuit 32. Sent. The first prediction signal outputted from the first prediction circuit 30 is sent to the terminal a of the switching circuit 34 and the determination circuit 32, and the second prediction signal outputted from the second prediction circuit 31 is sent to the terminal b of the switching circuit 34.
and is sent to the determination circuit 32. The determination circuit 32 determines which predicted signal is closer to the image signal, and outputs a selection signal of "0" if it is close to the first predicted signal, and outputs a selection signal of "1" if the second predicted signal is close. ” outputs a selection signal. The selection signal is delayed by one sampling clock cycle in the register 33 and then sent to the switching circuit 34. In the switching circuit 34, when the selection signal is "0", the first predicted signal at terminal a is selected, and the selection signal is When is "1", the second predicted signal at terminal b is selected and output to obtain a predicted signal. The second prediction circuit 31 is composed of a delay circuit that delays the input signal by 1365 sampling clock periods and outputs the delayed signal.
第5図は第4図の第1の予測回路30の具体的
な回路例を示す図である。第1の予測回路30は
(1)式の関数で示される予測特性を有し、0.5の係
数を有する乗算器35および40と入力信号を1
標本化周期遅延させて出力するレジスター36,
38,39および42と減算器37と加算器41
とから構成されるノンリカーシブタイプのデイジ
タルフイルターである。 FIG. 5 is a diagram showing a specific circuit example of the first prediction circuit 30 in FIG. 4. The first prediction circuit 30
Multipliers 35 and 40 with a coefficient of 0.5 and an input signal having a prediction characteristic expressed by the function of equation (1)
a register 36 for outputting with a delayed sampling period;
38, 39 and 42, subtractor 37 and adder 41
This is a non-recursive type digital filter consisting of.
第1の復号化装置105と第2の圧縮符号化装
置106および第2の復号化装置108の予測器
8または22も同様に構成される。 The predictors 8 or 22 of the first decoding device 105, the second compression encoding device 106, and the second decoding device 108 are similarly configured.
次に第2図aの不等長符号化回路11の符号変
換と不等長復号化回路8の符号逆変換について説
明する。予測符号器64へ入力される量子化の前
処理を受けた画像信号をVQ(Qは量子化特性の種
類を表わす)、予測器8および22から出力され
る予測信号をP、量子化回路21でVQと同じ精
度に量子化された予測信号をPQとすると、量子
化回路21で生じる量子化雑音qはq=P−PQ
(量子化回路21は第3図に示すように切り捨て
による量子化となつているのでqはQで表わされ
る量子化特性の量子化の精度により小さい正の値
をとる。)となる。予測符号器64の減算器10
では量子化された画像信号VQから予測信号Pを
減算して予測誤差信号e=VQ−Pを出力して不
等長符号化回路11へ供給する。q=P−PQを
用いると予測誤差信号はe=VQ−PQ−qで表わ
される。 Next, code conversion by the unequal length encoding circuit 11 and code inverse conversion by the unequal length decoding circuit 8 shown in FIG. 2a will be explained. The image signal that has undergone quantization preprocessing that is input to the predictive encoder 64 is input to V Q (Q represents the type of quantization characteristic), the predicted signal output from the predictors 8 and 22 is input to P, and the quantization circuit If the predicted signal quantized to the same precision as V Q in 21 is P Q , the quantization noise q generated in the quantization circuit 21 is q = P - P Q
(Since the quantization circuit 21 performs quantization by rounding down as shown in FIG. 3, q takes a smaller positive value depending on the quantization precision of the quantization characteristic represented by Q.). Subtractor 10 of predictive encoder 64
Then, the prediction signal P is subtracted from the quantized image signal V Q to output a prediction error signal e=V Q -P, which is supplied to the unequal length encoding circuit 11. Using q=P-P Q , the prediction error signal is expressed as e=V Q -P Q -q.
したがつて符号変換を行なうにはまず予測誤差
信号e(=VQ−PQ−q)を量子化された画像信号
VQの精度と等しくなるように量子化を行ない量
子化された予測誤差信号eQ=VQ−PQを得てから
符号変換を行ない、一方予測復号器65では符号
逆変換によつて再生された予測誤差信号eQと量子
化された予測信号PQを加算して(eQ+PQ=VQ)
予測符号器64へ入力された画像信号VQと等し
い画像信号を再生する。予測誤差信号eから−q
を除く量子化は切上げによる量子化となる。すな
わち不等長符号化回路11は予測誤差信号eを画
像信号VQの量子化の精度と等しくなるように切
上げによる量子化を行なつたのち量子化された予
測誤差信号eQを不等長符号の符号変換する機能か
らなる。なお予測符号器64では量子化器を用い
ていないため予測符号器64の減算器10および
予測復号器65の加算器20では桁上げを無視し
てモジユロー演算を行なつても可逆な符号化が行
なえ、予測符号器64へ入力される量子化された
画像信号と予測復号器65で復号される画像信号
は一致する。したがつて予測誤差信号に対しても
モジユロー演算が行なえる。画像信号VQが8ビ
ツトの誤長とした場合の量子化された予測誤差信
号eQを不等長符号に符号変換する符号変換特性の
作成の仕方の一例を示す。8ビツトの精度に量子
化した予測誤差信号eQの分布の統計量より256個
の不等長の符号語からなる不等長符号を1種類定
め、予測誤差信号eQの量子化の精度、すなわち前
処理の手段の量子化回路7の量子化特性、に対応
した種類だけ各々の予測誤差信号を前記不等長符
号に変換する変換特性をそなえておき、選択され
た符号変換特性で予測誤差信号を不等長符号に変
換する。すなわち量子化の精度が8ビツトの時は
−128〜127までの整数の予測誤差信号eQに対して
256個の符号語を割り当て、7ビツトの時は−128
〜126までの偶数の予測誤差信号eQに対して符号
長が短かい方から128個の符号語を割当て、同様
に6ビツトの時には−128〜124までの4の倍数の
予測差信号eQに対して64個の符号語を割当てるよ
うに符号変換特性を定める。 Therefore, to perform code conversion, first convert the prediction error signal e (=V Q −P Q −q) into a quantized image signal.
Quantization is performed to make the accuracy equal to the precision of V Q to obtain a quantized prediction error signal e Q =V Q −P Q , and then code conversion is performed, while the predictive decoder 65 reproduces it by inverse code conversion. Adding the predicted error signal e Q and the quantized prediction signal P Q (e Q + P Q = V Q )
An image signal equal to the image signal V Q input to the predictive encoder 64 is reproduced. Prediction error signal e to -q
Quantization excluding the above results in quantization by rounding up. That is, the unequal length encoding circuit 11 quantizes the prediction error signal e by rounding up to be equal to the quantization precision of the image signal V Q , and then converts the quantized prediction error signal e Q to unequal length. It consists of a function to convert the code. Note that since the predictive encoder 64 does not use a quantizer, reversible encoding can be performed even if the subtracter 10 of the predictive encoder 64 and the adder 20 of the predictive decoder 65 perform modulo calculations while ignoring carry. Therefore, the quantized image signal input to the predictive encoder 64 and the image signal decoded by the predictive decoder 65 match. Therefore, modulo calculation can also be performed on the prediction error signal. An example of how to create a code conversion characteristic for converting a quantized prediction error signal e Q into an unequal length code when the image signal V Q has an 8-bit error length will be described. One type of unequal-length code consisting of 256 code words of unequal length is determined from the statistics of the distribution of the prediction error signal e Q quantized to 8-bit accuracy, and the accuracy of quantization of the prediction error signal e Q is determined. That is, the quantization characteristic of the quantization circuit 7 of the preprocessing means is provided with conversion characteristics for converting each prediction error signal into the unequal length code, and the prediction error is calculated by the selected code conversion characteristics. Convert the signal to an unequal length code. In other words, when the quantization precision is 8 bits, for a prediction error signal e Q of an integer between -128 and 127,
Allocate 256 codewords, -128 when 7 bits
128 codewords are assigned from the shortest code length to even prediction error signals e Q up to 126, and similarly when the code length is 6 bits, prediction difference signals e Q that are multiples of 4 from -128 to 124 are assigned. The code conversion characteristics are determined so that 64 code words are assigned to .
他の例としては量子化特性に従がつてあらかじ
め予測誤差信号eQを8ビツトの時は1で、7ビツ
トの時は2で、6ビツトの時は4で割算してから
8ビツト用の符号変換特性で不等長符号に変換
し、復号側では8ビツト用の符号逆変換特性の出
力を量子化特性に従がつて1又は2又は4倍にし
て予測誤差信号eQを出力する。また他の例として
は8ビツト、7ビツト、6ビツトの量子化特性の
種類に対応して各々256個、128個、64個の各符号
語からなる3種類の不等長符号を用いて不等長符
号化復号化を行なう。 Another example is to divide the prediction error signal eQ by 1 for 8 bits, 2 for 7 bits, and 4 for 6 bits according to the quantization characteristics, and then divide it by 4 for 8 bits. is converted into an unequal-length code using the code conversion characteristics, and on the decoding side, the output of the code inverse conversion characteristics for 8 bits is multiplied by 1, 2, or 4 according to the quantization characteristics, and a prediction error signal e Q is output. . Another example is to use three types of unequal length codes consisting of 256, 128, and 64 code words corresponding to the types of quantization characteristics of 8 bits, 7 bits, and 6 bits. Performs equal length encoding and decoding.
第6図aは本発明の第1の実施例の第1の圧縮
符号化装置103の構成の他の例を示すブロツク
図である。本実施例は第2図aの第1の圧縮符号
化装置103の不等長符号化回路11で仕上げに
よる量子化と符号変換の2つの機能の中、切上げ
による量子化の機能を予測符号器64へ含めた構
成としている。 FIG. 6a is a block diagram showing another example of the configuration of the first compression encoding device 103 according to the first embodiment of the present invention. In this embodiment, among the two functions of finishing quantization and code conversion, the unequal length encoding circuit 11 of the first compression encoding device 103 shown in FIG. 64.
参照数字4,7,8,10,64,12,13
および14は第2図aあるいはbの各参照数字の
部分と同じ機能を有し同様の動作を行なう。量子
化回路9は量子化回路7と同じ機能を有し制御回
路13からの制御信号によつて量子化回路7と同
じ量子化特性を選択して予測器8からの予測信号
を量子化して出力し減算器10へ供給する。減算
器10は量子化された画像信号VQから量子化さ
れた予測信号PQを減算して量子化された予測信
号eQを求めて不等長符号化回路11へ供給する。
不等長符号化回路11は量子化特性に対応した符
号変換特性をいく種類か有し、制御回路13から
の制御信号に従がい量子化回路7で選択された量
子化特性に対応した符号変換特性を選択して予測
誤差信号eQを不等長符号に変換する。第2の圧縮
符号化装置も同じような構成にできる。 Reference numbers 4, 7, 8, 10, 64, 12, 13
and 14 have the same functions as the parts indicated by the respective reference numerals in FIG. 2a or b, and perform similar operations. The quantization circuit 9 has the same function as the quantization circuit 7, and selects the same quantization characteristic as the quantization circuit 7 according to the control signal from the control circuit 13, and quantizes and outputs the predicted signal from the predictor 8. and is supplied to the subtracter 10. The subtracter 10 subtracts the quantized prediction signal P Q from the quantized image signal V Q to obtain a quantized prediction signal e Q and supplies it to the unequal length encoding circuit 11 .
The unequal length encoding circuit 11 has several types of code conversion characteristics corresponding to the quantization characteristics, and performs code conversion corresponding to the quantization characteristics selected by the quantization circuit 7 in accordance with a control signal from the control circuit 13. Select the characteristics and convert the prediction error signal e Q into an unequal length code. The second compression encoding device can also have a similar configuration.
第6図bは本発明の第1の実施例第1の復号化
装置105の構成の他の例を示すブロツク図であ
る。本実施例は第2図aの第1の復号化装置10
5の量子化回路21の位置を等価的に変えた構成
となつている。 FIG. 6b is a block diagram showing another example of the configuration of the first decoding device 105 according to the first embodiment of the present invention. In this embodiment, the first decoding device 10 shown in FIG.
The configuration is such that the position of the quantization circuit 21 of No. 5 is equivalently changed.
参照数字15,16,17,18,19,2
0,21,22,23,24および65は第2図
aの各参照数字の部分と同じ機能を有し同様の動
作を行なう。 Reference numbers 15, 16, 17, 18, 19, 2
0, 21, 22, 23, 24 and 65 have the same functions as the reference numerals in FIG. 2a and perform similar operations.
第7図は本発明の第1の実施例において前処理
の手段として間引き処理を用いた場合の第1の圧
縮符号化装置103と第1の復号化装置105の
構成の一例を示すブロツク図である。間引き処理
は等価的に行なわれればよく始めに間引きを行な
つてサンプル数を減少させて予測変換するか、ま
たは間引きする画素だけを定めておくだけでその
まま予測変換を行ない不等長符号化回路11で実
際に間引きを行なつて符号変換を行なう方法があ
る。本実施例では後者の構成としている。 FIG. 7 is a block diagram showing an example of the configuration of the first compression encoding device 103 and the first decoding device 105 when thinning processing is used as a preprocessing means in the first embodiment of the present invention. be. The thinning process can be performed as long as it is performed equivalently. Either perform thinning first to reduce the number of samples and perform predictive conversion, or simply determine the pixels to be thinned and then perform predictive conversion as is. There is a method in which code conversion is performed by actually thinning out data in step 11. In this embodiment, the latter configuration is adopted.
参照数字4,8,10,12,13,14,1
5,16,17,19,20,22,23,2
4,64および65は第2図aの各参照数字の部
分と同び機能を有し同様の動作を行なう。 Reference numbers 4, 8, 10, 12, 13, 14, 1
5, 16, 17, 19, 20, 22, 23, 2
4, 64 and 65 have the same functions as the reference numerals in FIG. 2a and perform similar operations.
A/D変換器102より第1の圧縮符号化装置
103の入力端子4へ供給された画像信号は間引
き補処理回路43へ供給される。間引き補間処理
回路43はあらかじめ定められた何種類かの間引
き特性を有し、制御回路13からの制御信号によ
つて選択された間引き特性にしたがつて間引きさ
れない画素と間引きされる画素を定める。なお次
の予測符号器64の予測器8は間引かれる画素を
含んだ近傍の画素を用いて予測を行なう回路例と
なつているため間引きされる画素の信号はまわり
の間引きされない画素の信号を用いてあらかじめ
補間される。間引き補間処理回路43で補間処理
を受けた画像信号は予測符号器64へ供給され、
予測符号器64では予測誤差信号が求められ不等
長符号化回路11へ供給される。不等長符号化回
路11はあらかじめ定められた符号変換特性、例
えば第2の実施例の不等長符号化回路11を有す
る8ビツトの量子化特性用の符号変換特性と同じ
もの、を有し間引き補間処理回路43で選択され
た間引き特性に応動して間引きされない画素に対
応した予測誤差信号のみを符号変換特性にしたが
つて不等長符号に変換し、不等長符号と復号に必
要な同期および間引き特性を表わすモード信号M
からなる圧縮符号化信号をバツフアーメモリー1
2へ送る。バツフアーメモリー12では符号化情
報を平滑化して圧縮データCとして出力端子14
より出力するとともに情報蓄積量を制御回路13
へ供給する。制御回路13はバツフアーメモリー
12から供給される情報蓄積量を用いて間引き処
理の前処理特性の切換制御を行ない発生する情報
量の平滑化制御を行なう。 The image signal supplied from the A/D converter 102 to the input terminal 4 of the first compression encoding device 103 is supplied to the thinning compensation processing circuit 43. The thinning and interpolation processing circuit 43 has several types of predetermined thinning characteristics, and determines which pixels will not be thinned out and which pixels will be thinned out according to the thinning characteristics selected by the control signal from the control circuit 13. Note that the predictor 8 of the next predictive encoder 64 is an example of a circuit that performs prediction using pixels in the vicinity of the pixel to be thinned out, so the signal of the pixel to be thinned out is based on the signal of the surrounding pixels that are not thinned out. Interpolated in advance using The image signal subjected to interpolation processing by the thinning interpolation processing circuit 43 is supplied to a predictive encoder 64,
The predictive encoder 64 obtains a predictive error signal and supplies it to the unequal length encoding circuit 11 . The unequal length encoding circuit 11 has a predetermined code conversion characteristic, for example, the same code conversion characteristic for the 8-bit quantization characteristic having the unequal length encoding circuit 11 of the second embodiment. In response to the thinning characteristics selected by the thinning interpolation processing circuit 43, only the prediction error signals corresponding to pixels that are not thinned out are converted into unequal length codes according to the code conversion characteristics, and the unequal length codes and the unequal length codes necessary for decoding are Mode signal M representing synchronization and thinning characteristics
Buffer memory 1 stores the compressed encoded signal consisting of
Send to 2. The buffer memory 12 smoothes the encoded information and outputs it as compressed data C to the output terminal 14.
A control circuit 13 outputs information and controls the amount of information accumulated.
supply to The control circuit 13 uses the amount of accumulated information supplied from the buffer memory 12 to control switching of the preprocessing characteristics of the thinning process, and performs smoothing control of the amount of information generated.
制御回路13から出力される制御信号は間引き
補間処理回路43および不等長符号化回路11へ
供給される。以上が第1の圧縮符号化装置103
の動作説明である。 A control signal output from the control circuit 13 is supplied to the thinning-out interpolation processing circuit 43 and the unequal length encoding circuit 11. The above is the first compression encoding device 103
This is an explanation of the operation.
第1の復号化装置16においては圧縮符号化装
置103から与えられたデーターレートで送られ
てくる圧縮データCが入力端子15へ供給され
る。入力端子15へ供給された圧縮データCはバ
ツフアーメモリー17に一旦蓄えられたのち不等
長復号化回路18で符号逆変換特性にしたがつて
逆変換が行なわれて予測誤差信号を出力し加算器
20へ供給する。間引きが行なわれた画素に対し
ては適当な値、例えば0の値の予測誤差信号を出
力する。加算器20では予測器22より送られて
くる予測信号と予測誤差信号を加算して加算器2
0の出力に復号信号を出力し補間処理回路44へ
供給する。補間処理回路44は間引き補間処理回
路43と同様の機能を有し制御信号によつて選択
された間引き特性に従がつて間引きされた画素を
まわりの間引きされていない画素の復号信号を用
いて補間を行ない補間処理を行なつた復号画像信
号を出力する。補間処理を受けた復号信号は出力
端子23および予測器22へ供給される。 In the first decoding device 16, compressed data C sent from the compression encoding device 103 at a given data rate is supplied to the input terminal 15. The compressed data C supplied to the input terminal 15 is temporarily stored in the buffer memory 17, and then inversely transformed in the unequal length decoding circuit 18 according to the code inverse transform characteristic, and a prediction error signal is output and added. Supplied to the container 20. For pixels that have been thinned out, a prediction error signal having an appropriate value, for example, a value of 0, is output. The adder 20 adds the prediction signal sent from the predictor 22 and the prediction error signal.
A decoded signal is output to the output of 0 and supplied to the interpolation processing circuit 44. The interpolation processing circuit 44 has the same function as the decimation interpolation processing circuit 43, and interpolates the decimated pixels according to the decimation characteristics selected by the control signal using the decoded signals of the surrounding non-thinned pixels. A decoded image signal that has been subjected to interpolation processing is output. The decoded signal subjected to the interpolation process is supplied to the output terminal 23 and the predictor 22.
制御回路19はバツフアーメモリー17から供
給される情報蓄積量と不等長復号化回路18より
供給される制御情態とを用いて、符号化情報読み
出しの制御と間引き特性に対応させて符号逆変換
を行なう制御信号を不等長復号化回路18へ供給
し、間引き特性に対応した補間処理を行なう制御
信号を補間処理回路44へ供給し、前処理の特性
したがつて間引き特性を示すモード信号Mを出力
端子24へ供給する。以上が第1の復号化装置1
05の動作説明である。 The control circuit 19 uses the information storage amount supplied from the buffer memory 17 and the control information supplied from the unequal length decoding circuit 18 to control the readout of encoded information and perform code inverse conversion in accordance with the thinning characteristics. A control signal for performing interpolation processing corresponding to the thinning characteristics is supplied to the unequal length decoding circuit 18, a control signal for performing interpolation processing corresponding to the thinning characteristics is supplied to the interpolation processing circuit 44, and a mode signal M indicating the thinning characteristics according to the preprocessing characteristics is supplied. is supplied to the output terminal 24. The above is the first decoding device 1
This is an explanation of the operation of 05.
第2の圧縮符号化装置106および第2の復号
化装置も同じ様に構成できる。 The second compression encoding device 106 and the second decoding device can be similarly configured.
第8図a〜cは第7図の第1の圧縮符号化装置
の補間処理回路43での間引き特性を表わすため
の標本化された画素の配置を示す図である。標本
化周波数をs=3scとした時の1フイールドの第
(l−3)ラインから第lラインまでの画面の一
部の画素配置、間引きなしの特性、を示すと第8
図aで示す〇印の様になる。第8図bは第1の間
引き特性を示す図である。×印の画素が間引かれ
る画素を示し、水平方向には3サンプルごとに、
垂直方向には1ラインおきに間引きが行なわれ有
効なサンプル数は5/6に減少される。 8a to 8c are diagrams showing the arrangement of sampled pixels for expressing the thinning characteristics in the interpolation processing circuit 43 of the first compression encoding device of FIG. 7. The pixel arrangement of a part of the screen from the (l-3) line to the l-th line of the 1st field when the sampling frequency is s = 3sc, and the characteristics without thinning are as follows.
It will look like the circle shown in figure a. FIG. 8b is a diagram showing the first thinning characteristic. Pixels marked with × indicate pixels to be thinned out, and in the horizontal direction, every 3 samples.
In the vertical direction, thinning is performed every other line, and the number of effective samples is reduced to 5/6.
第8図cは第2の間引き特性を示す図である。
全ラインに対して水平方向に3サンプルごとに間
引きが行なわれ有効なサンプル数は2/3に減少す
る。間引きが行なわれる画素Yの信号の補間は第
8図cに示すように間引かれない画素A〜Eを用
いて行なう。画素Yの信号は次式で補間する。 FIG. 8c is a diagram showing the second thinning characteristic.
All lines are thinned out every 3 samples in the horizontal direction, and the number of effective samples is reduced to 2/3. Interpolation of the signal of pixel Y, which is to be thinned out, is performed using pixels A to E which are not thinned out, as shown in FIG. 8c. The signal of pixel Y is interpolated using the following equation.
Y=0.5A+0.25B−0.5C+0.5D+0.25E (3)
Z関数の補間フイルターHy(Z)で示せば次式
のようになる。 Y = 0.5A + 0.25B - 0.5C + 0.5D + 0.25E (3) If expressed by the interpolation filter Hy (Z) of the Z function, the following equation is obtained.
Hy(Z)=0.5Z-1+0.5Z-681−0.5Z-682
+0.5Z-684+0.25-1365 (4)
第9図は第7図の第1の圧縮符号化装置103
の間引き補間処理回路43の具体的な回路例を示
す図である。間引き補間処理回路43の入力端子
51へ供給された画像信号は切換回路53の端子
aと補間フイルター回路52へ供給される。補間
フイルター回路52は(4)式で示される補間フイル
ターの特性を有するノンリカーシブタイプのデイ
ジタルフイルターで構成されており補間フイルタ
ー回路52の出力に補間信号を出力し切換回路5
3の端子bへ供給する。入力信号54には第8図
a〜cに示す間引き特性の中から選択された間引
き特性に従がつて間引き処理を行なうために制御
信号が制御回路13より供給される。間引きが行
なわれない画素に対しては端子aの信号が選択さ
れ、間引きが行なわれる画素に対しては端子bの
信号が選択されて出力端子55より出力される。
なお間引きされる画素に対する画像信号を予測器
8で必要としない場合は補間を行なう必要はな
い。補間処理回路44は間引き補間処理回路43
と同じに構成される。Hy(Z)=0.5Z -1 +0.5Z -681 -0.5Z -682 +0.5Z -684 +0.25 -1365 (4) Figure 9 shows the first compression encoding device 103 in Figure 7.
3 is a diagram showing a specific circuit example of a thinning-out interpolation processing circuit 43; FIG. The image signal supplied to the input terminal 51 of the thinning-out interpolation processing circuit 43 is supplied to the terminal a of the switching circuit 53 and the interpolation filter circuit 52. The interpolation filter circuit 52 is composed of a non-recursive type digital filter having the characteristics of an interpolation filter shown by equation (4), and outputs an interpolation signal to the output of the interpolation filter circuit 52, and the switching circuit 5
3 to terminal b. A control signal is supplied from the control circuit 13 to the input signal 54 in order to perform thinning processing according to the thinning characteristics selected from among the thinning characteristics shown in FIGS. 8a to 8c. For pixels that are not thinned out, the signal at terminal a is selected, and for pixels that are thinned out, the signal at terminal b is selected and output from the output terminal 55.
Note that if the predictor 8 does not need the image signal for the pixel to be thinned out, there is no need to perform interpolation. The interpolation processing circuit 44 is the thinning interpolation processing circuit 43
is configured the same as.
以上の説明から明らかなように前処理と可逆的
な予測変換と不等長符号化の各手段からなる第1
の圧縮符号化装置を用いて符号化された圧縮デー
ターを復号化して再生したデイジタルの画像信号
Vは前処理の手段の出力信号と同じである。した
がつて再生画像信号Vを再び符号化するのに第2
の圧縮符号装置106では前処理は行なわず、前
処理特性を表わすモード信号Mを用いて第1の圧
縮符号化装置と同じ符号化特性で符号化を行なつ
て同じ圧縮データを出力するため、第2の復号化
装置108では再び画像信号Vを復号でき符号化
をくり返したことによる画質劣化は何にも生じな
い。したがつて本発明の符号化復号化装置を用い
ればくり返して符号化が行なえるため本発明の符
号化復号化装置で符号化して出力した圧縮データ
CをデイジタルVTRに記録するようにすればダ
ビングを何回行なつても画質劣化が増大していか
ないようにすることができる。 As is clear from the above explanation, the first method consists of preprocessing, reversible predictive transformation, and unequal length encoding.
The digital image signal V that is reproduced by decoding the compressed data encoded using the compression encoding device is the same as the output signal of the preprocessing means. Therefore, in order to encode the reproduced image signal V again, the second
The compression encoding device 106 does not perform preprocessing, but performs encoding with the same encoding characteristics as the first compression encoding device using the mode signal M representing the preprocessing characteristics, and outputs the same compressed data. The second decoding device 108 can decode the image signal V again, and no image quality deterioration occurs due to repeated encoding. Therefore, if the encoding/decoding device of the present invention is used, encoding can be performed repeatedly, and if the compressed data C encoded and output by the encoding/decoding device of the present invention is recorded on a digital VTR, dubbing can be performed. It is possible to prevent image quality deterioration from increasing no matter how many times the process is performed.
第1図は本発明の第1の実施例の構成を示すブ
ロツク図、第2図aおよびbは本発明の第1の実
施例の第1の圧縮符号化装置103と第1の復号
化装置105と第2の圧縮符号化装置106およ
び第2の復号化装置108の構成の一例を示すブ
ロツク図、第3図は量子化回路7の具体的な構成
の一例を示す図、第4図は予測器8の具体的な構
成の一例を示す図、第5図は第1の予測回路30
の具体的な構成の一例を示す図、第6図aおよび
bは第1の圧縮符号化装置103と第1の復号化
装置105の構成の他の一例を示すブロツク図、
第7図は本発明の第1の実施例の第1の圧縮符号
化装置103および第1の復号化装置105の構
成の別な例を示すブロツク図、第8図は間引き特
性を示す図、第9図は間引き補間処理回路43の
具体的な構成の一例を示す図である。
101,4,5,15,51および54は入力
端子、110,14,23,24および55は出
力端子、102はA/D変換器、103は第1の
圧縮符号化装置、104および108は記憶装置
または伝送路、105は第1の復号化装置、10
6は第2の圧縮符号化装置、108は第2の復号
化装置、109はD/A変換器、7,9および2
1は量子化回路、64は予測符号器、8および2
2は予測器、10は減算器、11は不等長符号化
回路、12および17はバツフアーメモリー、1
3および19は制御回路、18は不等長復号化回
路、65は予測復号器、20は加算器、27は符
号逆変換器、28および29は論理積回路、30
は第1の予測回路、31は第2の予測回路、32
は判定回路、33はレジスター、34は切換回
路、35および40は乗算器、36,38,39
および42はレジスター、37は減算器、41は
加算器、43は間引き補間処理回路、44は補間
処理回路、52は補間フイルター回路、53は切
換回路である。
FIG. 1 is a block diagram showing the configuration of a first embodiment of the present invention, and FIG. 2 a and b are a first compression encoding device 103 and a first decoding device of the first embodiment of the present invention. 105, a block diagram showing an example of the configuration of the second compression encoding device 106, and the second decoding device 108, FIG. 3 is a diagram showing an example of a specific configuration of the quantization circuit 7, and FIG. A diagram showing an example of a specific configuration of the predictor 8, FIG. 5 shows the first prediction circuit 30.
FIGS. 6a and 6b are block diagrams showing other examples of the configurations of the first compression encoding device 103 and the first decoding device 105,
FIG. 7 is a block diagram showing another example of the configuration of the first compression encoding device 103 and the first decoding device 105 of the first embodiment of the present invention, FIG. 8 is a diagram showing thinning characteristics, FIG. 9 is a diagram showing an example of a specific configuration of the thinning-out interpolation processing circuit 43. 101, 4, 5, 15, 51 and 54 are input terminals, 110, 14, 23, 24 and 55 are output terminals, 102 is an A/D converter, 103 is a first compression encoding device, 104 and 108 are storage device or transmission line; 105 is a first decoding device; 10
6 is a second compression encoding device, 108 is a second decoding device, 109 is a D/A converter, 7, 9 and 2
1 is a quantization circuit, 64 is a predictive encoder, 8 and 2
2 is a predictor, 10 is a subtracter, 11 is an unequal length encoding circuit, 12 and 17 are buffer memories, 1
3 and 19 are control circuits, 18 is an unequal length decoding circuit, 65 is a predictive decoder, 20 is an adder, 27 is a code inverse converter, 28 and 29 are AND circuits, 30
is the first prediction circuit, 31 is the second prediction circuit, 32
33 is a register, 34 is a switching circuit, 35 and 40 are multipliers, 36, 38, 39
42 is a register, 37 is a subtracter, 41 is an adder, 43 is a thinning-out interpolation processing circuit, 44 is an interpolation processing circuit, 52 is an interpolation filter circuit, and 53 is a switching circuit.
Claims (1)
る符号化復号化装置において、制御手段からの制
御信号に応じて情報量の制御を行なう前処理の手
段と、前処理を受けたデイジタルの画像信号を可
逆な論理により予測誤差信号に変換する予測変換
の手段と、前記制御信号の制御のもとに不等長符
号に変換する手段と、前記不等長符号および復号
化に必要な同期および制御信号をバツフアーメモ
リーに一旦蓄え平滑化した圧縮データとして送り
出す手段と、前記バツフアーメモリーに蓄えられ
る符号化情報の発生量を監視することによつて前
処理の手段の制御を行ない発生する情報量の平滑
化制御を行なう制御手段とから構成される第1の
圧縮符号化装置と、前記圧縮データを復号化し前
記デイジタルの画像信号と前記制御信号とを再生
する第1の復号化装置と、前記再生されたデイジ
タルの画像信号を再び圧縮符号化復号化するに際
し前記画像信号を予測誤差信号に変換し予測誤差
信号を前記制御信号の制御のもとに不等長符号化
しバツフアーメモリーで平滑化することにより再
び前記圧縮データを得る第2の圧縮符号化装置
と、前記圧縮データから前記画像信号を再生する
第2の復号化装置を用い、符号化復号化を繰返す
過程で元の情報が保存されるように構成したこと
を特徴とする符号化復号化装置。1. In an encoding/decoding device that compresses and encodes an image signal and decodes and reproduces it, a preprocessing means for controlling the amount of information according to a control signal from a control means, and a digital image signal subjected to the preprocessing. a prediction conversion means for converting into a prediction error signal using reversible logic; a means for converting into an unequal length code under the control of the control signal; and synchronization and control necessary for the unequal length code and decoding. The amount of information generated by controlling the preprocessing means by monitoring the generation amount of coded information stored in the buffer memory, and the amount of encoded information stored in the buffer memory. a first compression encoding device comprising a control means for performing smoothing control; a first decoding device for decoding the compressed data and reproducing the digital image signal and the control signal; When compressing and decoding the reproduced digital image signal again, the image signal is converted into a prediction error signal, and the prediction error signal is unequal length encoded under the control of the control signal and smoothed by a buffer memory. The original information is preserved in the process of repeating encoding and decoding by using a second compression encoding device that obtains the compressed data again by doing so, and a second decoding device that reproduces the image signal from the compressed data. An encoding/decoding device characterized in that it is configured to perform.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56157328A JPS5859640A (en) | 1981-10-02 | 1981-10-02 | Encoding-decoding device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56157328A JPS5859640A (en) | 1981-10-02 | 1981-10-02 | Encoding-decoding device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5859640A JPS5859640A (en) | 1983-04-08 |
| JPH0241936B2 true JPH0241936B2 (en) | 1990-09-20 |
Family
ID=15647286
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56157328A Granted JPS5859640A (en) | 1981-10-02 | 1981-10-02 | Encoding-decoding device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5859640A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62181576A (en) * | 1986-02-05 | 1987-08-08 | Fuji Photo Film Co Ltd | Radiograph information compressing method |
| JP2830792B2 (en) * | 1995-09-11 | 1998-12-02 | 株式会社日立製作所 | Image playback device |
-
1981
- 1981-10-02 JP JP56157328A patent/JPS5859640A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5859640A (en) | 1983-04-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5418658A (en) | Digital video signal recording/reproducing apparatus for longer playing time | |
| EP0715469B1 (en) | Video signal coding/decoding method and apparatus | |
| JP3271108B2 (en) | Apparatus and method for processing digital image signal | |
| US4677479A (en) | System for re-quantization of coded picture signals | |
| US4942476A (en) | Recording system for recording on a ROM image signal information which has been subjected to efficient redundancy coding | |
| US5585931A (en) | Video signal recording data overflow allocation apparatus and method | |
| EP0385317A2 (en) | Signal processing device | |
| CA2070550A1 (en) | High efficiency data compressed image encoding | |
| JPH11262018A (en) | Motion compensation coder, motion compensation coding method and motion compensation recording medium therefor | |
| EP0626789A2 (en) | Image encoding apparatus and recording medium | |
| JP3348612B2 (en) | Inter-block prediction coding device, inter-block prediction decoding device, inter-block prediction coding method, inter-block prediction decoding method, and inter-block prediction coding / decoding device | |
| JPS6342988B2 (en) | ||
| KR100256859B1 (en) | Apparatus and method for coding / encoding moving images and storage media for storing moving images | |
| US6580758B1 (en) | Method of coding images at very low data rate and coding/decoding device implementing this method | |
| JPH0241936B2 (en) | ||
| JPH07203456A (en) | Encoding device, decoding device, and video recording device | |
| JPS6343024B2 (en) | ||
| JPH08307835A (en) | Class classification adaptive processing apparatus and method | |
| JPS5915438B2 (en) | Interframe encoding processing method | |
| JPH036185A (en) | Video signal digital transmission device | |
| JPH06133287A (en) | High efficiency encoder | |
| JP3385696B2 (en) | Digital image signal quantizer | |
| JPS6332291B2 (en) | ||
| JP2508483B2 (en) | Digital image signal buffering device | |
| JPH0614314A (en) | High efficiency encoder |