JPH04134988A - Encoder for picture - Google Patents

Encoder for picture

Info

Publication number
JPH04134988A
JPH04134988A JP2258021A JP25802190A JPH04134988A JP H04134988 A JPH04134988 A JP H04134988A JP 2258021 A JP2258021 A JP 2258021A JP 25802190 A JP25802190 A JP 25802190A JP H04134988 A JPH04134988 A JP H04134988A
Authority
JP
Japan
Prior art keywords
value
quantization
encoding
minimum
block
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
JP2258021A
Other languages
Japanese (ja)
Inventor
Shiro Kato
加藤 士郎
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2258021A priority Critical patent/JPH04134988A/en
Publication of JPH04134988A publication Critical patent/JPH04134988A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make an encoder immune from an error transmission, and to prevent a degration due to the repetition of an encoding/decoding by providing a quantizer transmitting a maximum value and a minimum value at every block directly or indirectly and making the maximum value and the minimum value as representative quantization values. CONSTITUTION:A quantization characteristic in a quantizing and encoding means 205 is determined by a predicted value P, a maximum value MAX and a minimum value MIN, and together with an encoding output, the maximum value MAX and the minimum value MIN at every block are directly transmitted or those that are prescriptively converted are transmitted. That is, not only encoding word, but a dynamic range and the minimum value at every block are transmitted as additional information, and as for the quantization representative, the maximum value and the minimum value are made one of the quantization representative. Thus, the degration due to the repetition of the encoding and decoding is eliminated, and since the maximum value and the minimum value are reproduced without being affected by the predicted value, the signal degration by the error transmission can be minimized.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ディジタル画像信号の画素当りの情報量を減
少させる高能率な画像の符号化方法に関するものである
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a highly efficient image encoding method that reduces the amount of information per pixel of a digital image signal.

従来の技術 回路が簡単で高能率な符号化方法としてDPCMがよく
知られている。
Conventional technology DPCM is well known as a highly efficient encoding method with a simple circuit.

DPCMは符号化済みの画素の復号値を用いて符号化す
る画素の予測値を求め、予測値と入力との差を非線形量
子化するものである。
In DPCM, a predicted value of a pixel to be encoded is obtained using a decoded value of an encoded pixel, and the difference between the predicted value and the input is nonlinearly quantized.

さらにDPCMの性能を向上するための各種検討が行な
われている。
Further, various studies are being conducted to improve the performance of DPCM.

符号化効率改善の方法として予測値適応量子化が提案さ
れている(文献:松本ほか、“雑音整形・・・”、TV
学会論文誌、Vol、42[c12(1988))。
Predicted value adaptive quantization has been proposed as a method to improve coding efficiency (References: Matsumoto et al., “Noise Shaping...”, TV
Academic journal, Vol. 42 [c12 (1988)).

以下にこの予測値適応量子化を用いた従来のDPCMに
ついて説明する。
A conventional DPCM using this predictive value adaptive quantization will be described below.

第4図にこの予測値適応量子化を用いたDPCMの符号
化装置のブロック構成を示す。
FIG. 4 shows a block configuration of a DPCM encoding device using this predictive value adaptive quantization.

第4図において401はディジタル画像信号(語長8ビ
ツト)の入力端子、402は量子化符号化手段、403
は符号化済みの画素の復号値を用いて符号化する画素の
予測値を出力する予測器、404は符号化出力の出力端
子である。
In FIG. 4, 401 is an input terminal for a digital image signal (word length 8 bits), 402 is a quantization encoding means, and 403
A predictor outputs a predicted value of a pixel to be encoded using a decoded value of an encoded pixel, and 404 is an output terminal for encoding output.

端子401からのディジタル画像信号は量子化符号化手
段402に入力される。量子化符号化手段402は前記
ディジタル画像信号は前記予測値を用いて適応的に量子
化特性を切り換えて量子化し、その量子化代表値を復号
値として出力し、量子化代表値に割り当てられた符号語
を出力する。前記符号語は符号化出力として端子404
より出力される。
A digital image signal from terminal 401 is input to quantization encoding means 402 . The quantization encoding means 402 quantizes the digital image signal by adaptively switching the quantization characteristic using the predicted value, outputs the quantization representative value as a decoded value, and outputs the quantization representative value as a decoded value, and quantizes the digital image signal by adaptively switching the quantization characteristic using the predicted value. Output the codeword. The code word is sent to terminal 404 as an encoded output.
It is output from

第5図は量子化符号化手段402の量子化特性を示す。FIG. 5 shows the quantization characteristics of the quantization encoding means 402.

同図において実線は量子化代表値を示す。In the figure, solid lines indicate quantized representative values.

予測値に近い所は細かく量子化される点が通常のDPC
Mと同じであるが、前記予測値によって量子化代表値が
入力のダイナミックレンジ内(語長が8ビツトなので0
から255)にのみ存在するように量子化特性が切り換
えられているので効率よく符号化できる。
In normal DPC, areas close to the predicted value are finely quantized.
It is the same as M, but the predicted value allows the quantization representative value to be within the dynamic range of the input (0 because the word length is 8 bits).
Since the quantization characteristics are switched so that the quantization characteristics exist only in

この予測値適応量子化を用いたDPCMの符号化効率を
さらに改善する方法が提案されている(文献:松本ほか
、“ダイナミックレンジ推定予測値適応形量子化方式の
検討”、1990年テレビジョン学会年次大会27−3
)。
A method to further improve the coding efficiency of DPCM using predicted value adaptive quantization has been proposed (Reference: Matsumoto et al., “Study of dynamic range estimation predicted value adaptive quantization method”, 1990 Television Society Annual Conference 27-3
).

これは複数の画素からなるブロックに対して、ブロック
内の画素の最大値と最小値のいわゆるダイナミックレン
ジ(DR)をすでに符号化された隣接画素から推定し、
DRがこの推定範囲内に入っているか否かを、1ビツト
/ブロツクの制御情報により判定する方法である。
This estimates the so-called dynamic range (DR) of the maximum and minimum values of pixels in the block from neighboring pixels that have already been encoded, for a block consisting of multiple pixels.
This is a method of determining whether DR is within this estimated range using 1 bit/block of control information.

発明が解決しようとする課題 しかしながらつぎのような課題があった。Problems that the invention aims to solve However, there were the following issues.

即ち、符号化の歪によってダイナミックレンジ推定の判
定が同じブロックであっても1回目の符号化と2回目の
符号化とで異なる場合を生じるので、−船釣なりPCM
と異なり、2回目の符号化においても符号化歪が発生す
るという課題、また誤りに対する耐性に関する課題があ
った。
In other words, due to encoding distortion, the determination of dynamic range estimation may differ between the first encoding and the second encoding even for the same block.
Unlike the above, there were problems in that encoding distortion occurred even in the second encoding, and problems related to resistance to errors.

本発明は上記課題に鑑み、上記信号劣化をなくし、誤り
に対する耐性の向上を図ることを目的とする。
In view of the above problems, it is an object of the present invention to eliminate the above signal deterioration and improve resistance to errors.

課題を解決するための手段 本発明の画像の符号化装置は、ディジタルの画像信号を
入力とし、前記画像信号を所定数の画素からなるブロッ
クに分割し、前記ブロックの最大値MAX、最小値MI
Nを求める最大最小検出手段と、前記画像信号の各画素
を量子化、符号化した符号化出力を得る量子化符号化手
段と、前記符号化する画素の前記予測値Pを得る予測手
段とを備えた画像の符号化装置であって、前記量子化符
号化手段における量子化特性が前記予測値P、前記最大
値MAX、前記最小値MINにより決定されること、お
よび前記符号化出力とともにブロック毎の前記最大値M
AX、前記最小値MINを直接または所定の変換を行な
ったものを伝送することを特徴とするものである。
Means for Solving the Problems The image encoding device of the present invention receives a digital image signal as input, divides the image signal into blocks each consisting of a predetermined number of pixels, and calculates the maximum value MAX and minimum value MI of the blocks.
a maximum/minimum detection means for determining N; a quantization encoding means for obtaining an encoded output by quantizing and encoding each pixel of the image signal; and a prediction means for obtaining the predicted value P of the pixel to be encoded. An image encoding device comprising: a quantization characteristic in the quantization encoding means is determined by the predicted value P, the maximum value MAX, and the minimum value MIN; The maximum value M
AX, the minimum value MIN is transmitted directly or after a predetermined conversion.

作用 本発明の画像の符号化方法は前記の構成により、次のよ
うな作用、特徴を有する。
Effects The image encoding method of the present invention has the following effects and features due to the above-described configuration.

■ ブロック毎の最大値、最小値をブロック毎に伝送す
るので、誤りに対する耐性を強くできる。
■ Since the maximum and minimum values of each block are transmitted for each block, resistance to errors can be strengthened.

■ 符号化を繰り返しても前記最大値、最小値が変化し
ないように前処理、量子化を行なうので符号化、復号化
を繰り返すことによる信号劣化をなくすことができる。
(2) Since preprocessing and quantization are performed so that the maximum and minimum values do not change even if encoding is repeated, signal deterioration due to repeated encoding and decoding can be eliminated.

実施例 まずはじめに本発明の画像の符号化装置における符号化
方法の原理を第1図を用いて説明する。
Embodiment First, the principle of the encoding method in the image encoding apparatus of the present invention will be explained with reference to FIG.

第1図において1はブロック内の入力信号のダイナミッ
クレンジを示している。入力信号は8ビツトで量子化さ
れているので0から255のダイナミックレンジを有し
ているが、ブロック内の信号のダイナミックレンジDR
はブロック内の最小値MINから最大値MAXまでで(
DR=MAX−MIN)、これより小さい。従って量子
化器における量子化代表値はこのダイナミックレンジ内
にのみあればよく、これにより符号化効率を従来の一般
的なりPCMより改善できる。
In FIG. 1, 1 indicates the dynamic range of the input signal within the block. Since the input signal is quantized with 8 bits, it has a dynamic range of 0 to 255, but the dynamic range of the signal within the block is DR.
is from the minimum value MIN to the maximum value MAX in the block (
DR=MAX-MIN), smaller than this. Therefore, the quantization representative value in the quantizer only needs to be within this dynamic range, and thereby the coding efficiency can be improved over the conventional general PCM.

入力のダイナミックレンジ1においてPl、P2は予測
値(M I N≦PI、P2≦MAX)の例であり、そ
れぞれの予測値における量子化器の特性を量子化代表値
と符号化の一例2の予測値がPlの場合3、予測値がP
2の場合4に示す。予測値と符号化する画素の値との差
は小さい場合が確率的に多いので、予測値に近い所に量
子化代表値を配置する事により符号化歪を小さくできる
In the input dynamic range 1, Pl and P2 are examples of predicted values (M I N ≦ PI, P 2 ≦ MAX), and the characteristics of the quantizer at each predicted value are expressed as the quantization representative value and the encoding example 2. 3 if the predicted value is Pl, the predicted value is P
Case 2 is shown in 4. Since the difference between the predicted value and the value of the pixel to be encoded is probabilistically small in many cases, encoding distortion can be reduced by arranging the quantization representative value close to the predicted value.

従って本発明ではブロック毎の最大値、最小値および予
測値により量子化符号化特性を決定することにより高性
能化を実現している。
Therefore, in the present invention, high performance is achieved by determining the quantization coding characteristics based on the maximum value, minimum value, and predicted value for each block.

量子化符号化特性を決定する最大値、最小値が符号化、
復号化を繰り返しても変化しないように、付加情報とし
て最大値、最小値を直接または間接的に伝送し、かつ最
大値または、および最小値を量子化代表値としている。
The maximum value and minimum value determine the quantization encoding characteristics,
The maximum value and the minimum value are directly or indirectly transmitted as additional information so that they do not change even after repeated decoding, and the maximum value or the minimum value is used as the quantization representative value.

最大値、最小値に等しい量子化代表値に固定の符号語を
割り当てることにより伝送誤りを生じても最大値、最小
値は確実に復元されるので、誤り伝搬の影響を極めて小
さくできる。
By assigning fixed code words to quantized representative values equal to the maximum value and minimum value, even if a transmission error occurs, the maximum value and minimum value can be reliably restored, so that the influence of error propagation can be minimized.

第2図は本発明の一実施例における画像の符号化装置5
およびその復号袋W6のブロック構成図である。
FIG. 2 shows an image encoding device 5 in an embodiment of the present invention.
and a block configuration diagram of the decoding bag W6.

符号化装置5において、201はディジタル画像信号(
データ語長8ビツト)の入力端子、202はブロック(
例えば水平方向8画素、垂直方向8画素の64画素ブロ
ック)毎の画素データを出力するブロック分割器、20
3はブロック内の最大値MAX、最小値MINを出力す
る最大最小検出器、204はタイミング調整用の遅延器
、205は量子化符号化手段、206は復号値より符号
化する画素の予測値Pを出力する予測器、207はブロ
ック毎のダイナミックレンジの出力端子、208はブロ
ック毎の最小値を出力する出力端子、209は量子化符
号化手段からの符号語の出力端子、210は減算器、2
11.212は正規化回路、213は正規化されたダイ
ナミックレンジDR内の予測値適応量子化符号化を行な
うROM (リードオンリーメモリ)、 214は逆正
規化回路、215.217は減算器、216.218は
係数乗算を行なうROM、219はROM216.21
8の逆特性の乗算を行なうROM、220は加算器であ
る。
In the encoding device 5, 201 is a digital image signal (
202 is an input terminal for the block (data word length 8 bits).
A block divider 20 that outputs pixel data for each block of 64 pixels (for example, 8 pixels in the horizontal direction and 8 pixels in the vertical direction);
3 is a maximum/minimum detector that outputs the maximum value MAX and minimum value MIN in the block, 204 is a delay device for timing adjustment, 205 is a quantization encoding means, and 206 is a predicted value P of a pixel to be encoded from a decoded value. 207 is an output terminal of the dynamic range of each block, 208 is an output terminal that outputs the minimum value of each block, 209 is an output terminal of the code word from the quantization encoding means, 210 is a subtracter, 2
11.212 is a normalization circuit, 213 is a ROM (read only memory) that performs adaptive quantization encoding of predicted values within the normalized dynamic range DR, 214 is a denormalization circuit, 215.217 is a subtracter, 216 .218 is a ROM that performs coefficient multiplication, 219 is a ROM216.21
A ROM 220 is an adder that performs multiplication of 8 with inverse characteristics.

復号装置6において、221はブロック毎のダイナミッ
クレンジDRの入力端子、222はブロック毎の最小値
の入力端子、223は符号語の入力端子、224は復号
化逆量子化手段、225は206と同し予測器、226
はブロック分解器、227は復号されたディジタル画像
信号の出力端子、228は正規化回路、229はROM
213の逆特性を有し、正規化されたダイナミックレン
ジDR内の復号化逆量子化を行なうROM、230は逆
正規化回路、231は減算器、232はROM216.
218と同じROM、233はROM219と同じRO
M、234は加算器である。
In the decoding device 6, 221 is an input terminal for the dynamic range DR for each block, 222 is an input terminal for the minimum value for each block, 223 is an input terminal for a code word, 224 is a decoding inverse quantization means, and 225 is the same as 206. Predictor, 226
is a block decomposer, 227 is an output terminal for the decoded digital image signal, 228 is a normalization circuit, and 229 is a ROM
213 is a ROM which has inverse characteristics and performs decoding and dequantization within the normalized dynamic range DR; 230 is a denormalization circuit; 231 is a subtracter; 232 is a ROM 216.
Same ROM as 218, 233 same ROM as ROM219
M, 234 is an adder.

以上のように構成された本実施例の符号化装置、復号化
装置について、以下その動作を説明する。
The operation of the encoding device and decoding device of this embodiment configured as described above will be described below.

符号化装置において、端子201より入力されたディジ
タル画像信号はブロック分割器102により画素データ
が並び換えられてブロック毎に画素データが出力される
In the encoding device, the pixel data of a digital image signal inputted from a terminal 201 is rearranged by a block divider 102, and pixel data is output for each block.

ブロック毎の画素データは最大最小検出器203により
ブロック毎に画素データの最大値MAXと最小値MIN
が検出される。
The pixel data for each block is determined by the maximum/minimum detector 203, which detects the maximum value MAX and minimum value MIN of the pixel data for each block.
is detected.

量子化符号化手段205は最大値MAX、最小値MIN
、予測値Pに適応してブロック分割器からの画素の量子
化、符号化を行い、符号語、復号値(量子化代表値)を
出力するが、これを直接1つのROMで実現することは
回路規模的に困難であるため正規化回路21L 212
 、R0M213、逆正規化回路214により構成して
いる。
The quantization encoding means 205 has a maximum value MAX and a minimum value MIN.
, quantizes and encodes the pixels from the block divider adaptively to the predicted value P, and outputs the code word and decoded value (quantized representative value), but it is impossible to directly realize this with one ROM. Normalization circuit 21L 212 due to difficulty in circuit scale
, R0M213, and an inverse normalization circuit 214.

減算器210は最大値MAXより最小値MINを減じて
ダイナミックレンジDRを出力する。
A subtracter 210 subtracts the minimum value MIN from the maximum value MAX and outputs the dynamic range DR.

ダイナミックレンジDR内のみを予測値適応量子化する
ので、入力の画素値および、予測値より正規化回路21
1.212内において最小値を除去しダイナミックレン
ジDRの逆数をROM216.218により乗じること
により正規化を行なっている。
Since predictive value adaptive quantization is performed only within the dynamic range DR, the normalization circuit 21 uses input pixel values and predictive values.
Normalization is performed by removing the minimum value within 1.212 and multiplying the reciprocal of the dynamic range DR by ROM216.218.

ROM213は正規化されたダイナミックレンジ内を予
測値適応量子化、符号化して、符号語および正規化され
た復号値(量子化代表値)を出力する。
The ROM 213 adaptively quantizes and encodes predicted values within the normalized dynamic range, and outputs a code word and a normalized decoded value (quantized representative value).

逆正規化回路214は前記正規化された復号値を復号値
に変換する。まず正規化された復号値にダイナミックレ
ンジDRをROM219により乗じることによりダイナ
ミックレンジを元に戻し、最小値を加算器220により
加えることにより復号値を得ている。
The denormalization circuit 214 converts the normalized decoded value into a decoded value. First, the normalized decoded value is multiplied by the dynamic range DR in the ROM 219 to restore the dynamic range, and the minimum value is added in the adder 220 to obtain the decoded value.

復号値は予測器206の人力となる。ブロック毎に伝送
する付加情報としてダイナミックレンジDR1最小値M
INを端子207.208より出力し、ブロック内の各
画素を蓋子化符号化して得られる符号語は端子209よ
り出力される。
The decoded value becomes the input of the predictor 206. Dynamic range DR1 minimum value M as additional information transmitted for each block
IN is output from terminals 207 and 208, and a code word obtained by lidding encoding each pixel in the block is output from terminal 209.

第3図に量子化符号化手段の量子化特性を示す。FIG. 3 shows the quantization characteristics of the quantization encoding means.

同図において実線は量子化代表値を示す。In the figure, solid lines indicate quantized representative values.

復号装置において、端子221.222からブロック毎
に付加情報であるダイナミックレンジDR1最小値MI
Nが、端子223より画素毎の符号語が復号化逆量子化
手段224に入力される。復号化逆量子化手段224は
量子化符号化手段205の逆処理を行なうものであり、
直接1つのROMで実現することは困難であるため、正
規化回路228、ROM229、逆正規化回路230に
より構成している。正規化回路228は正規化回路21
1.212と同一であり、逆正規化回路230は逆正規
化回路214と同一である。
In the decoding device, dynamic range DR1 minimum value MI, which is additional information, is transmitted from terminals 221 and 222 for each block.
A code word for each pixel is input from the terminal 223 to the decoding and inverse quantization means 224. The decoding and inverse quantization means 224 performs inverse processing of the quantization and encoding means 205,
Since it is difficult to directly implement this with one ROM, it is configured with a normalization circuit 228, a ROM 229, and a denormalization circuit 230. The normalization circuit 228 is the normalization circuit 21
1.212, and the denormalization circuit 230 is the same as the denormalization circuit 214.

ROM229はROM213の逆特性を備えている。R
OM229に正規化回路228により正規化された予測
値と符号語を入力することにより正規化された復号値が
出力され、逆正規化回路230により復号値に変化され
る。
ROM229 has the opposite characteristics to ROM213. R
By inputting the predicted value and code word normalized by the normalization circuit 228 to the OM 229, a normalized decoded value is output, and is changed into a decoded value by the denormalization circuit 230.

復号値は予測器225およびブロック分解器226に入
力される。ブロック分解器によりブロック毎の画素は端
子201における信号と同じ元の並びのディジタル画像
信号となって端子227より出力される。
The decoded values are input to a predictor 225 and a block decomposer 226. The block decomposer converts the pixels of each block into digital image signals in the same original arrangement as the signals at terminal 201, and outputs them from terminal 227.

以上のように、本実施例によれば符号語だけでなく、ブ
ロック毎のダイナミックレンジと最小値を付加情報とし
て伝送し、かつ量子化代表値に最大値、最小値を量子化
代表値の一つとすることにより符号化、復号化を繰り返
すことによる劣化がなく、また最大値、最小値は予測値
に影響されずに再生されるので誤り伝搬による信号劣化
を小さくできる。
As described above, according to this embodiment, not only the code word but also the dynamic range and minimum value of each block are transmitted as additional information, and the maximum value and minimum value are used as the quantization representative value. By doing so, there is no deterioration due to repeated encoding and decoding, and the maximum value and minimum value are reproduced without being influenced by predicted values, so signal deterioration due to error propagation can be reduced.

上記実施例においては付加情報としてブロック毎にダイ
ナミックレンジ、最小値の2つを伝送したが、ダイナミ
ックレンジ、最大値、最小値の何れか2つを伝送すれば
よい。
In the above embodiment, the dynamic range and the minimum value are transmitted for each block as additional information, but any two of the dynamic range, the maximum value, and the minimum value may be transmitted.

また正規化回路、逆正規化回路において最小値を減算も
しくは加算しているが、最小値に替えて最大値としても
よいことは明らかである。
Further, although the minimum value is subtracted or added in the normalization circuit and the denormalization circuit, it is clear that the maximum value may be used instead of the minimum value.

量子化特性も第1図、第3図のものに限定されルモノで
なく、各種考えられる。その例の一部を以下に示す。
The quantization characteristics are also limited to those shown in FIGS. 1 and 3, and are not limited to those shown in FIG. 3; various other characteristics may be considered. Some examples are shown below.

複数の量子化特性を備え、画素の位置等によって切り換
える。
It has multiple quantization characteristics and can be switched depending on the position of the pixel, etc.

量子化符号化手段において最大量子化代表値、最小量子
化代表値がそれぞれ前記ブロックの最大値MAX、最小
値MINである量子化特性Aと前記量子化特性Aとは異
なる量子化特性Bとを備え、最大値、最小値に等しい画
素をそれぞれ所定回符号化するまでは量子化特性Aで量
子化し、それ以後は量子化特性Bでの量子化を許す量子
化特性。
In the quantization encoding means, a quantization characteristic A whose maximum quantization representative value and minimum quantization representative value are the maximum value MAX and minimum value MIN of the block, respectively, and a quantization characteristic B different from the quantization characteristic A. A quantization characteristic that allows quantization to be performed using quantization characteristic A until each pixel equal to the maximum value and minimum value is encoded a predetermined number of times, and thereafter allows quantization to be performed using quantization characteristic B.

まだダイナミックレンジの大きいブロックはど量子化に
おける代表値の数を多くする、すなわち符号化ビット数
を多くすることによりさらに符号化効率を改善すること
が可能である。
For blocks that still have a large dynamic range, it is possible to further improve the encoding efficiency by increasing the number of representative values in quantization, that is, by increasing the number of encoding bits.

さらに所定数の複数のブロックを符号化の単位し、その
符号化単位内におけるダイナミックレンジの分布を調べ
、ダイナミックレンジの大きさに応じて符号量を変える
ことによりフィードフォワードで符号量を一定とする制
御が可能である。
Furthermore, by setting a predetermined number of blocks as a unit of encoding, examining the distribution of dynamic range within that encoding unit, and changing the amount of code according to the size of the dynamic range, the amount of code is kept constant by feedforward. Control is possible.

ダイナミックレンジの極めて小さいブロックはブロック
の平均値を最小値または最大値とし、ダイナミックレン
ジは0とすることによりOビットの符号化も可能である
For a block with an extremely small dynamic range, O-bit encoding is also possible by setting the average value of the block to the minimum or maximum value and setting the dynamic range to 0.

最大値、最小値のその値によって定める所定範囲内にあ
る値はその平均値に置き換え、改めて前記平均値を最大
値、最小値とすることにより雑音による影響を小さくで
き、符号化効率を改善できる。但し再符号化時にこの新
たな最大値、最小値が変化しないよう新たな最大値、最
小値に対し前記所定範囲内にある値はその範囲外の値と
する処理が必要である。
Values within a predetermined range determined by the maximum and minimum values are replaced with their average values, and by using the average values as the maximum and minimum values, the influence of noise can be reduced and encoding efficiency can be improved. . However, in order to prevent the new maximum and minimum values from changing during re-encoding, it is necessary to perform processing to set values within the predetermined range to values outside of the new maximum and minimum values.

また最大値、最小値以外の量子化代表値には予測値に近
いものほど符号長の短い符号語を割り当てることにより
、より符号化効率を改善することが考えられる。
Furthermore, it is conceivable to further improve coding efficiency by assigning code words with shorter code lengths to quantization representative values other than the maximum value and the minimum value, which are closer to the predicted value.

発明の詳細 な説明したように本発明によれば、ブロック毎の最大値
、最小値を直接または間接に伝送し、最大値、最小値を
量子化代表値とする量子化器を備えることにより、誤り
伝搬に強く、符号化復号化の繰り返しによる劣化のない
ので、その実用的価値は大きい。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, by providing a quantizer that directly or indirectly transmits the maximum value and minimum value of each block and uses the maximum value and minimum value as representative quantization values, It is highly resistant to error propagation and does not deteriorate due to repeated encoding and decoding, so it has great practical value.

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

第1図は本発明の符号化方法の原理の説明図、第2図は
本発明の一実施例における符号化装置と復号装置を示す
ブロック構成図、第3図は本発明における量子化符号化
手段の量子化特性図、第4図は従来の予測値適応量子化
を用いたDPCM符号化装置のブロック構成図、第5図
は予測値適応量子化の特性図である。 201・・・・・・ディジタル西像信号の入力端子、2
02・・・・・・ブロック分解器、203・・・・・・
最大最小検出器、204・・・・・・遅延器、205・
・・・・・量子化符号化手段、206・・・・・・予測
器、207・・・・・・ダイナミックレンジDRの出力
端子、208・・・・・・最小値MINの出力端子、2
09・・・・・・符号語の出力端子、210・・・・・
・減算器、211.212・・・・・・正規化回路、2
13・・・・・・ROM、214・・・・・・逆正規化
回路、216.218・・・・・・除算ROM、214
・・・・・・乗算ROM。 代理人の氏名 弁理士 小鍜治 明 ばか2名第 図 000〜m − (P−MtN) 符号 イに フ 9に ド 第 図 第 図 000〜llt − 符号1し ツー ド
FIG. 1 is an explanatory diagram of the principle of the encoding method of the present invention, FIG. 2 is a block diagram showing the encoding device and decoding device in an embodiment of the present invention, and FIG. 3 is the quantization encoding in the present invention. FIG. 4 is a block diagram of a DPCM encoding device using conventional predicted value adaptive quantization, and FIG. 5 is a characteristic diagram of predicted value adaptive quantization. 201...Input terminal for digital west image signal, 2
02...Block decomposer, 203...
Maximum/minimum detector, 204... Delay device, 205...
... Quantization encoding means, 206 ... Predictor, 207 ... Output terminal of dynamic range DR, 208 ... Output terminal of minimum value MIN, 2
09... Code word output terminal, 210...
・Subtractor, 211.212... Normalization circuit, 2
13...ROM, 214...Denormalization circuit, 216.218...Division ROM, 214
...Multiplication ROM. Name of agent Patent attorney Akira Kodaka 2 idiots Figure 000~m - (P-MtN) Code 1, 9, 0, 000~llt - Code 1 and 2

Claims (6)

【特許請求の範囲】[Claims] (1)ディジタルの画像信号を入力とし、前記画像信号
を所定数の画素からなるブロックに分割し、前記ブロッ
クの最大値MAX、最小値MINを求める最大最小検出
手段と、前記画像信号の各画素を量子化、符号化した符
号化出力を得る量子化符号化手段と、前記符号化する画
素の前記予測値Pを得る予測手段とを備えた画像の符号
化装置であって、前記量子化符号化手段における量子化
特性が前記予測値P、前記最大値MAX、前記最小値M
INにより決定されること、および前記符号化出力とと
もにブロック毎の前記最大値MAX、前記最小値MIN
を直接または所定の変換を行なったものを伝送すること
を特徴とする画像の符号化装置。
(1) Maximum/minimum detection means that receives a digital image signal as input, divides the image signal into blocks each consisting of a predetermined number of pixels, and determines the maximum value MAX and minimum value MIN of the block, and each pixel of the image signal. An image encoding device comprising: a quantization encoding means for obtaining a coded output obtained by quantizing and coding the quantization code; and a prediction means for obtaining the predicted value P of the pixel to be coded. The quantization characteristics in the quantization means are the predicted value P, the maximum value MAX, and the minimum value M.
IN, and the maximum value MAX and the minimum value MIN for each block along with the encoded output.
An image encoding device characterized by transmitting an image directly or after a predetermined conversion.
(2)量子化符号化手段において量子化代表値を最小値
MINから最大値MAXの範囲に配置し、前記予測値P
に近い部分は前記量子化代表値の間隔が小さいことを特
徴とする請求項(1)記載の画像の符号化装置。
(2) In the quantization encoding means, the quantization representative value is arranged in the range from the minimum value MIN to the maximum value MAX, and the predicted value P
2. The image encoding apparatus according to claim 1, wherein an interval between the quantization representative values is small in a portion close to .
(3)量子化符号化手段において最大量子化代表値、最
小量子化代表値がそれぞれ前記ブロックの最大値MAX
、最小値MINであることを特徴とする請求項(1)記
載の画像の符号化装置。
(3) In the quantization encoding means, the maximum quantization representative value and the minimum quantization representative value are each the maximum value MAX of the block.
, the minimum value MIN.
(4)量子化符号化手段において最大代表値、最小代表
値には特定の符号語を割り当てることを特徴とする請求
項(1)記載の画像の符号化装置。
(4) The image encoding apparatus according to claim (1), wherein the quantization encoding means assigns specific code words to the maximum representative value and the minimum representative value.
(5)量子化符号化手段において予測値Pに近い量子化
代表値に短い符号語を割り当てることを特徴とする請求
項(1)記載の画像の符号化装置。
(5) The image encoding apparatus according to claim (1), wherein the quantization encoding means assigns a short code word to a quantization representative value close to the predicted value P.
(6)符号化ビット数mが0であるブロックにおいては
ブロック内の画素の平均値を復号値とし、伝送する最大
値MAX、最小値MINを前記平均値とし、ダイナミッ
クレンジDRは0とすることを特徴とする請求項(1)
記載の画像の符号化装置。
(6) In a block where the number of encoding bits m is 0, the average value of pixels in the block is the decoded value, the maximum value MAX and minimum value MIN to be transmitted are the average value, and the dynamic range DR is 0. Claim (1) characterized by
The described image encoding device.
JP2258021A 1990-09-26 1990-09-26 Encoder for picture Pending JPH04134988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2258021A JPH04134988A (en) 1990-09-26 1990-09-26 Encoder for picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2258021A JPH04134988A (en) 1990-09-26 1990-09-26 Encoder for picture

Publications (1)

Publication Number Publication Date
JPH04134988A true JPH04134988A (en) 1992-05-08

Family

ID=17314431

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2258021A Pending JPH04134988A (en) 1990-09-26 1990-09-26 Encoder for picture

Country Status (1)

Country Link
JP (1) JPH04134988A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997017807A1 (en) * 1995-11-10 1997-05-15 Matsushita Electric Industrial Co., Ltd. Image coding method, image decoding method, maximum/minimum coding means, and maximum/minimum value decoding means

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997017807A1 (en) * 1995-11-10 1997-05-15 Matsushita Electric Industrial Co., Ltd. Image coding method, image decoding method, maximum/minimum coding means, and maximum/minimum value decoding means

Similar Documents

Publication Publication Date Title
US5870146A (en) Device and method for digital video transcoding
CA2154885C (en) Efficient transcoding device and method
EP0399487B1 (en) Transformation coding device
KR0166722B1 (en) Encoding and decoding method and apparatus thereof
US4200886A (en) Method for transmitting video signals with the aid of DPC modulation and controlled quantizer
EP0249086B1 (en) Method and apparatus for encoding/transmitting image
JP2000013799A (en) Device and method for motion compensation encoding and decoding
JP2000125297A (en) Method for coding and decoding consecutive image
EP0454927A2 (en) A coding system for video signals
JPH0746594A (en) Encoding method and its device
CA2187793C (en) A transcoder
KR100196890B1 (en) A motion video compression system with guaranted bit production limits
KR0178195B1 (en) Apparatus for encoding an image signal using vector quantization technique
JPS6342988B2 (en)
JPH04134988A (en) Encoder for picture
JP2797411B2 (en) Encoding device
JP2862555B2 (en) Image coding control method
KR100207419B1 (en) Method and apparatus for controlling generation of bit rate in video encoding
JP2831732B2 (en) PCM encoding device
JPS62145987A (en) Picture encoding system
KR100207418B1 (en) Method and apparatus for controlling generation of bit rate in video encoding
KR100386374B1 (en) A transcoder
JP2701274B2 (en) High efficiency coding device
JPH06217296A (en) Image signal coding device based on adaptive intramode/intermode compression
JP3191433B2 (en) High efficiency coding device