JPS6212214A - Nonlinear quantized mode switching device in variable length coding system - Google Patents

Nonlinear quantized mode switching device in variable length coding system

Info

Publication number
JPS6212214A
JPS6212214A JP60150165A JP15016585A JPS6212214A JP S6212214 A JPS6212214 A JP S6212214A JP 60150165 A JP60150165 A JP 60150165A JP 15016585 A JP15016585 A JP 15016585A JP S6212214 A JPS6212214 A JP S6212214A
Authority
JP
Japan
Prior art keywords
circuit
buffer memory
nonlinear quantization
length coding
storage quantity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60150165A
Other languages
Japanese (ja)
Inventor
Masaaki Takizawa
正明 滝沢
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60150165A priority Critical patent/JPS6212214A/en
Publication of JPS6212214A publication Critical patent/JPS6212214A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • H04N19/152Data rate or code amount at the encoder output by measuring the fullness of the transmission buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding

Abstract

PURPOSE:To obtain a device changing smoothly the picture quality according to the storage quantity of a buffer memory while avoiding the large sized device by using the result of comparison between a forecast error of an adjacent picture element and a predetermined threshold value in addition to the storage quantity of the buffer memory so as to control the circuit. CONSTITUTION:A picture signal read from a camera 1 is converted into a digital signal by an analog/digital converter 2 and the difference with a forecast value is calculated by a subtraction circuit 3. Quantization and coding are applied to the forecast error by a nonlinear quantization circuit 4 and one of them is selected by a switch 5. The selected code word is given to a transmission line 7 via a buffer memory 6. A representing value of adjacent picture elements, e.g., just before is retarded by one picture element by a delay circuit 15, an optional conversion is applied by a conversion circuit 16 and the result is compared with the storage quantity in place of a constant input to a comparator circuit 12.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、画像信号等を短い時間で伝送するための高能
率符号化方式の1つである可変長符号化方式に係り、特
に非線形量子化モードの切替えを円滑化することにより
画質を改善するのに好適な切替装置に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a variable length coding method, which is one of high efficiency coding methods for transmitting image signals etc. in a short time, and particularly relates to a variable length coding method, which is one of high efficiency coding methods for transmitting image signals etc. in a short time. The present invention relates to a switching device suitable for improving image quality by facilitating mode switching.

〔発明の背景〕[Background of the invention]

周知のように可変長符号化とは、画像等の信号を予測し
、その予測誤差を非線形量子化した信号の発生頻度に偏
りがあることを活用し、頻度の高い信号には短かい符号
語を、低い信号には長い符号語を割当てるものである。
As is well-known, variable-length coding is a method of predicting signals such as images and non-linearly quantizing the prediction error. It takes advantage of the fact that there is a bias in the frequency of occurrence of signals, and uses short code words for frequently occurring signals. , a long codeword is assigned to a low signal.

この結果、頻度によらず一定の長さの符号語を割当てる
固定長符号化と比較すると平均して短い符号語により同
一の非線形量子化信号を伝送できるので、伝送時間を短
縮化できる長所がある。
As a result, compared to fixed-length coding, which assigns codewords of a constant length regardless of frequency, the same nonlinear quantized signal can be transmitted using codewords that are shorter on average, which has the advantage of shortening transmission time. .

これを具体化するためには、バッファメモリが必要なこ
とも知られる。なぜなら、符号語長は可変でも伝送路の
速度は一定なので、両者の速度差を整合する必要がある
からである。
It is also known that a buffer memory is required to implement this. This is because although the codeword length is variable, the speed of the transmission path is constant, so it is necessary to match the speed difference between the two.

さて、上記の信号があらかじめ想定した頻度に従って発
生する場合には、上記のバッファメモリの入出力速度は
つり合うので、これの蓄積量が増え、あふれることはな
い。しかし、長い符号語を割当てた信号が多数発生する
と、入力速度が増加し、バッファメモリはあふれる。
Now, when the above-mentioned signal is generated according to a predetermined frequency, the input/output speed of the above-mentioned buffer memory is balanced, so the amount of storage increases and the buffer memory does not overflow. However, when a large number of signals assigned long code words occur, the input speed increases and the buffer memory overflows.

これを防止するため、通常はバッファメモリの蓄積量が
ある閾値以上となった時には非線形量子化モードを切替
え、長い符号語を禁止する。するち符号語の種類が減小
するので伝送できる非線形量子化信号の種類も減少し、
画像品質が劣化する問題がある。これを過負荷と呼ぶ。
To prevent this, normally, when the amount of storage in the buffer memory exceeds a certain threshold, the nonlinear quantization mode is switched and long code words are prohibited. As the types of code words decrease, the types of nonlinear quantized signals that can be transmitted also decrease.
There is a problem that image quality deteriorates. This is called overload.

逆に短い符号語が多数発生する場合は、バッファメモリ
は空になるので、この時もバッファメモリの蓄積量があ
る閾値以下になると短い符号語を禁止する。しかし、こ
の場合には非線形量子化信号の種類は減少しないので画
像品質も劣化せず、問題はない。
On the other hand, if a large number of short code words occur, the buffer memory becomes empty, and in this case too, short code words are prohibited when the amount of storage in the buffer memory falls below a certain threshold. However, in this case, since the types of nonlinear quantized signals do not decrease, the image quality does not deteriorate, and there is no problem.

従って、過負荷時の画像品質の劣化が問題である。特に
従来は、通常時から過負荷時の非線形量子化モードへと
、直接切替えていたため、画面の中、または、画面と画
面の間で画像品質がバラつき、劣化が一層目立つ原因と
なっていた。
Therefore, deterioration of image quality during overload is a problem. In particular, in the past, the mode was directly switched from the normal mode to the nonlinear quantization mode during overload, which caused variations in image quality within a screen or between screens, causing the deterioration to become even more noticeable.

これを防ぐ方法として、 (1)上記のバッファメモリの蓄積量から定まる定数を
予測誤差に乗じることにより、蓄積量が増加するに従っ
て徐々に長い符号語の発生頻度を減じる方法(電電公社
研究実用化報告第32巻第9号pp273(1983年
))、 (2)非線形量子化回路を複数種類設定し、やはりバッ
ファメモリの蓄積量に応じて切替えることにより長い符
号語の発生頻度を制御する方法〔シー・シー・アイ・テ
ィー・ティー(CCITT)COM、 XV−&D 1
 、 p p 29)、が知られている。
As a method to prevent this, (1) a method in which the prediction error is multiplied by a constant determined from the amount of storage in the buffer memory described above, thereby gradually reducing the frequency of occurrence of long code words as the amount of storage increases (Research and practical application by the Telephone and Telecommunications Public Corporation). Report Vol. 32, No. 9, pp. 273 (1983)), (2) A method of controlling the frequency of occurrence of long code words by setting multiple types of nonlinear quantization circuits and switching them according to the amount of storage in the buffer memory [ CCITT COM, XV-&D 1
, p p 29) is known.

これらの方法は、通常から過負荷になるに従って徐々に
画質が劣化するので、画像品質的には望ましいものであ
る。しかし、前者は送信側の乗算回路と、受信側の逆関
数の回路とを必要とする。
These methods are desirable in terms of image quality because the image quality gradually deteriorates as the load increases from normal to overload. However, the former requires a multiplication circuit on the transmitting side and an inverse function circuit on the receiving side.

後者も、非線形量子化の種類に対応した数の回路が必要
であり、装置が大型化する問題があった。
The latter also requires a number of circuits corresponding to the types of nonlinear quantization, and has the problem of increasing the size of the device.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、上記のような装置の大型化を防ぎつつ
、バッファメモリの蓄積量に従って画像品質を滑らかに
変化させる装置を提供することにある。
An object of the present invention is to provide an apparatus that smoothly changes image quality according to the amount of storage in a buffer memory while preventing the apparatus from increasing in size as described above.

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

上記の目的を達成するため、画像信号の統計的性質上、
予測誤差の大きい画素の近隣の画素の予測誤差も大きい
ことが多く、かつ、視覚の特性上この画素を過負荷時の
非線形量子化回路により量子化しても画像品質の劣化が
目立ちにくい点を活用する。
To achieve the above purpose, due to the statistical nature of the image signal,
This method takes advantage of the fact that the prediction errors of pixels in the vicinity of a pixel with a large prediction error are often also large, and due to the characteristics of visual perception, even if this pixel is quantized by a nonlinear quantization circuit during overload, the deterioration in image quality is not noticeable. do.

即ち、非線形量子化モードの切替えを、従来のバッファ
メモリの蓄M、量に加えて、近隣の画素の予測誤差をあ
らかじめ定められた閾値と比較した結果をも用いて制御
することを特徴とする。
That is, the present invention is characterized in that the switching of the nonlinear quantization mode is controlled using the result of comparing the prediction error of neighboring pixels with a predetermined threshold value, in addition to the conventional amount of storage M in the buffer memory. .

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第1図により説明する。図の
(a)は従来方法による切替えの一例であり、(b)は
本発明によるものである。本発明では、蓄積量が増加す
ると過負荷時の非線形量子化モードが選択される確率が
高まり、徐々に画像品質が劣化することがわかる。
An embodiment of the present invention will be described below with reference to FIG. (a) of the figure is an example of switching according to the conventional method, and (b) is one according to the present invention. In the present invention, it can be seen that as the storage amount increases, the probability that the nonlinear quantization mode during overload will be selected increases, and the image quality gradually deteriorates.

第2図により本発明の構成及び動作を例示する。FIG. 2 illustrates the configuration and operation of the present invention.

図中、一点鎖線で囲まれた部分が本発明の特徴であり、
他は従来と同一である。まず、従来の部分を説明する。
In the figure, the part surrounded by a dashed line is a feature of the present invention,
Others are the same as before. First, the conventional part will be explained.

即ち、カメラ1から読込まれた画像信号は、アナログ・
ディジタル変換器2によりディジタル信号化され、減算
回路3により予測値との差分(予測誤差)が計算される
。予測誤差は複数の非線形量子化回路4により量子化と
符号化とがなされ、スイッチ5によりその1つが選択さ
れる。選択された符号語は、バッファメモリ6を経由し
て伝送路7へ送出される。
That is, the image signal read from camera 1 is an analog
The digital converter 2 converts the signal into a digital signal, and the subtraction circuit 3 calculates the difference from the predicted value (prediction error). The prediction error is quantized and encoded by a plurality of nonlinear quantization circuits 4, and one of them is selected by a switch 5. The selected code word is sent to the transmission line 7 via the buffer memory 6.

同時に符号語は複数の解読回路8により解読され、各々
代表値が求められる。その代表値は、スイッチ5に同期
して切替えられるスイッチ9により選択され加算回路1
0により予測値と加算される。加算結果は予測回路11
を通し、以降の予測値生成に使用される。
At the same time, the code word is decoded by a plurality of decoding circuits 8, and representative values are determined for each code word. The representative value is selected by the switch 9 which is switched in synchronization with the switch 5, and the adder circuit 1
0 is added to the predicted value. The addition result is sent to the prediction circuit 11
is used for subsequent predicted value generation.

次に従来の非線形量子化モードの切替法を説明する。送
信、受信側をそろえるため、上記のバッファメモリ6の
rli積量は、走査線や画面等の一定周期で標本化回路
12により標本化され、スイッチ13を通して伝送され
る。その標本信号は、比較回路14により、一定値と比
較され、その結果により非線形量子化モードを切替える
Next, a conventional nonlinear quantization mode switching method will be explained. In order to align the transmitting and receiving sides, the rli product in the buffer memory 6 is sampled by a sampling circuit 12 at a constant period such as a scanning line or screen, and is transmitted through a switch 13. The sample signal is compared with a constant value by a comparison circuit 14, and the nonlinear quantization mode is switched based on the result.

それに対し本考案では、近隣、たとえば直前の画素の代
表値を遅延回路15により1画素分遅延し、変換回路1
6により任意の変換を施し、上記比較回路12の定数入
力の代りに蓄積量と比較する。この結果、第1図の(b
)の切替えが可能なことは明らかである。
In contrast, in the present invention, the representative value of the neighboring pixel, for example, the immediately preceding pixel, is delayed by one pixel by the delay circuit 15, and the conversion circuit 15
6, and compares it with the accumulated amount instead of the constant input of the comparison circuit 12. As a result, (b
) is clearly possible.

なお、受信側の動作はこれの逆の過程をたどるが、同一
の原理なので、説明は省略する。
Note that the operation on the receiving side follows the reverse process, but the principle is the same, so the explanation will be omitted.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によればわずかの装置の付
加により、非線形量子化モードをなめらかに切替え、そ
の結果過負荷時の画像品質の劣化を軽減できる点で効果
が大きい。
As described above, the present invention is highly effective in that it is possible to smoothly switch the nonlinear quantization mode with the addition of a small number of devices, thereby reducing deterioration in image quality during overload.

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

第1図は、本発明による非線形量子化モードの切替えの
一例、第2図はこれを実施するための回路のブロック図
である。 1・・・カメラ、2・・・アナログ/ディジタル変換器
。 3・・・減算回路、4・・・非線形量子化回路、5,9
゜13・・・スイッチ、6・・・バッファメモリ、7・
・・伝送路、8・・・解読回路、10・・・加算回路、
11・・・予測回路、12・・・標本化回路、14・・
・比較回路、15・・・遅延回路、16・・・変換回路
FIG. 1 is an example of switching the nonlinear quantization mode according to the present invention, and FIG. 2 is a block diagram of a circuit for implementing this. 1...Camera, 2...Analog/digital converter. 3... Subtraction circuit, 4... Nonlinear quantization circuit, 5, 9
゜13...Switch, 6...Buffer memory, 7.
...Transmission line, 8...Decoding circuit, 10...Addition circuit,
11... Prediction circuit, 12... Sampling circuit, 14...
- Comparison circuit, 15... Delay circuit, 16... Conversion circuit.

Claims (1)

【特許請求の範囲】[Claims] 画像信号等から予測信号を減算した予測誤差信号を、い
くつかの非線形量子化モードにより量子化、符号化し、
バッファメモリにより平滑化して伝送する可変長符号化
方式において、バッファメモリの蓄積量と近隣の画素の
予測誤差とを用いて上記の非線形量子化モードを切替え
ることを特徴とする可変長符号化方式における非線形量
子化モード切替装置。
A prediction error signal obtained by subtracting a prediction signal from an image signal, etc. is quantized and encoded using several nonlinear quantization modes,
In a variable length coding method in which smoothing is performed using a buffer memory before transmission, the above-mentioned nonlinear quantization mode is switched using the storage amount of the buffer memory and the prediction error of neighboring pixels. Nonlinear quantization mode switching device.
JP60150165A 1985-07-10 1985-07-10 Nonlinear quantized mode switching device in variable length coding system Pending JPS6212214A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60150165A JPS6212214A (en) 1985-07-10 1985-07-10 Nonlinear quantized mode switching device in variable length coding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60150165A JPS6212214A (en) 1985-07-10 1985-07-10 Nonlinear quantized mode switching device in variable length coding system

Publications (1)

Publication Number Publication Date
JPS6212214A true JPS6212214A (en) 1987-01-21

Family

ID=15490924

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60150165A Pending JPS6212214A (en) 1985-07-10 1985-07-10 Nonlinear quantized mode switching device in variable length coding system

Country Status (1)

Country Link
JP (1) JPS6212214A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008173201A (en) * 2007-01-16 2008-07-31 Olympia:Kk Method of transmitting plurality of signals to game parlor computer through concentrated terminal board of game machine, game machine, game parlor computer and program
JP2008173202A (en) * 2007-01-16 2008-07-31 Olympia:Kk Method of transmitting two or more kinds of signals to game parlor computer through concentrated terminal board of game machine, relay board and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008173201A (en) * 2007-01-16 2008-07-31 Olympia:Kk Method of transmitting plurality of signals to game parlor computer through concentrated terminal board of game machine, game machine, game parlor computer and program
JP2008173202A (en) * 2007-01-16 2008-07-31 Olympia:Kk Method of transmitting two or more kinds of signals to game parlor computer through concentrated terminal board of game machine, relay board and program

Similar Documents

Publication Publication Date Title
US4454546A (en) Band compression device for shaded image
US4125861A (en) Video signal encoding
JPH04323961A (en) Picture coding method and device
EP0402149B1 (en) Coding device
US4875095A (en) Noise-shaping predictive coding system
US4229820A (en) Multistage selective differential pulse code modulation system
US4979187A (en) Predictive coding device
JPS6212214A (en) Nonlinear quantized mode switching device in variable length coding system
JPS59196675A (en) Control system of inter-frame coding
JP2789586B2 (en) High efficiency coding device
JP3135271B2 (en) Encoding device
JP2701274B2 (en) High efficiency coding device
JP2707733B2 (en) Image decoding device
KR960003093B1 (en) Coder with information control
KR100207384B1 (en) Apparatus for decoding intra dc coefficient of video signal decoding system
JPH06217296A (en) Image signal coding device based on adaptive intramode/intermode compression
KR960000129B1 (en) Coder with information occurrence duty control
KR0128861B1 (en) Method for changing quantizer step size
JP2831732B2 (en) PCM encoding device
JPH04322561A (en) Variable rate picture coding system
JPH03113979A (en) Moving picture coder
JP3397682B2 (en) Image coding device
JPS58130683A (en) Prediction coding device
JPH06105169A (en) High efficient coding device for digital picture data
JPH04341065A (en) Picture coder