JPH02312383A - Encoding and decoding device - Google Patents

Encoding and decoding device

Info

Publication number
JPH02312383A
JPH02312383A JP1133794A JP13379489A JPH02312383A JP H02312383 A JPH02312383 A JP H02312383A JP 1133794 A JP1133794 A JP 1133794A JP 13379489 A JP13379489 A JP 13379489A JP H02312383 A JPH02312383 A JP H02312383A
Authority
JP
Japan
Prior art keywords
value
encoding
quantizer
range
decoded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1133794A
Other languages
Japanese (ja)
Other versions
JP2941846B2 (en
Inventor
Takashi Ishikawa
尚 石川
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP13379489A priority Critical patent/JP2941846B2/en
Publication of JPH02312383A publication Critical patent/JPH02312383A/en
Application granted granted Critical
Publication of JP2941846B2 publication Critical patent/JP2941846B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To prevent a picture quality from deteriorating even if a quantization characteristic is set to be non-linear by selectively using a first quantizer which quantizes a differential value between an input sampled value and the prediction value and a second quantizer which quantizes the input sampled value in accordance with the change of the input sampled value and executing encoding. CONSTITUTION:The first quantizer 36 which quantizes the differential value between the input sampled value Xi and the prediction value, and the second quantizer 36 which quantizes the input sampled value Xi are provided. An encoding code is obtained by selectively using the first and the second quantizers 36 and 34 in accordance with the change of the input sampled value Xi. Thus, an encoding device which can reduce the deterioration of the edge part and the flat part of the sampled value even if the quantization characteristic is set to be non-linear can be obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は標本値とその予測値との差分値を符号化する符
号化装置、及びその差分値を符号化してなる符号化コー
ドを復号する復号化装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides an encoding device for encoding a difference value between a sample value and its predicted value, and for decoding an encoded code obtained by encoding the difference value. This invention relates to a decoding device.

〔従来の技術〕[Conventional technology]

画像情報、音声情報等をディジタル化して伝送するに際
しては、伝送コスト節約のため、伝送する情報量を削減
する符号化が行われる。また、符号化して送られた情報
を元の状態に戻すため復号化が行われる。
When digitizing and transmitting image information, audio information, etc., encoding is performed to reduce the amount of information to be transmitted in order to save on transmission costs. Furthermore, decoding is performed to restore the encoded and transmitted information to its original state.

符号化方法の1つに差分符号化(Differenti
alPulse  Code  Modulation
 +以下DPCMという)があり、隣接する標本値間の
相関性を利用して情報量の圧縮を行っている。具体的に
は符号化された標本値を一旦復号し、その復号値(局部
復号値)を用いて次の標本値に対する予測値を求め、こ
の予測値と入力標本値との差分を量子化して符号化する
方法がとられている。
One of the encoding methods is differential encoding (Differential encoding).
alPulse Code Modulation
(hereinafter referred to as DPCM), which compresses the amount of information by utilizing the correlation between adjacent sample values. Specifically, the coded sample value is decoded once, the decoded value (locally decoded value) is used to find the predicted value for the next sample value, and the difference between this predicted value and the input sample value is quantized. A method of encoding is used.

第11図は最も簡単な前値予測符号化を行う従来の符号
化装置の構成を示すブロック図である。
FIG. 11 is a block diagram showing the configuration of a conventional encoding device that performs the simplest prior value predictive encoding.

第11図において、lOは符号化の対象となる標本値X
Iが入力される入力端子、12は標本値XIと予測値P
1との差分をとる減算器、14は減算器12からの差分
値の量子化を行う量子化器、16は量子化器14よりの
DPCMコードY1を出力する出力端子、18は量子化
器14の出力を入力としてDPCMコードYIを差分値
に復号する逆量子化器、20はD型フリップフロップ2
4の出力と逆量子化器18の出力との加算を行う加算器
、22は加算器20の出力する局部復号値X1の振幅を
入力標本値のダイナミックレンジ内に制限するリミッタ
、24はリミッタ22より出力される局部復号値X+を
次の標本値X +++の予測値P1+1として減算器1
2へ印加するD型フリップフロップである。
In FIG. 11, lO is the sample value X to be encoded
Input terminal where I is input, 12 is sample value XI and predicted value P
14 is a quantizer that quantizes the difference value from the subtracter 12, 16 is an output terminal that outputs the DPCM code Y1 from the quantizer 14, and 18 is the quantizer 14 20 is a D-type flip-flop 2;
22 is a limiter that limits the amplitude of the locally decoded value X1 output from the adder 20 within the dynamic range of the input sample value; 24 is the limiter 22; The subtracter 1 uses the local decoded value X+ outputted from the subtracter 1 as the predicted value P1+1 of the next sample value X +++.
This is a D-type flip-flop that applies voltage to 2.

次に第11図の構成の動作について説明する。Next, the operation of the configuration shown in FIG. 11 will be explained.

入力端子10に入力された標本値X、は減算器12に印
加され、この減算器12によって予測値P+を減算する
。減算器12より出力される差分値は量子化器14によ
って量子化され、DPCMコードYlとして出力端子1
6に出力される。量子化器14の出力するD P CM
コードY!は逆量子化器18にも入力され、ここでDP
CMコードY1が差分値の量子化代表値に復号された後
、加算器20に出力される。
The sample value X inputted to the input terminal 10 is applied to a subtracter 12, and the predicted value P+ is subtracted by the subtracter 12. The difference value output from the subtracter 12 is quantized by the quantizer 14, and is sent to the output terminal 1 as a DPCM code Yl.
6 is output. D P CM output from the quantizer 14
Code Y! is also input to the inverse quantizer 18, where DP
After the CM code Y1 is decoded into a quantized representative value of the difference value, it is output to the adder 20.

加算器20では逆量子化器18からの量子化代表値にD
型フリップフロップ24より出力される前値予測値P1
が加算され、これにより差分値(量子化代表値)が標本
値(局部復号値)に復元される。復元された標本値(局
部復号値)は、リミッタ22でその振幅が所定のレンジ
に制限されたのち、D型フリップフロップ24に印加さ
れる。D型フリップフロップ24は、リミッタ22より
出力される局部復号値をクロックに同期して出力し、次
の標本値に対する予測値P +++とじて減算器12及
び加算器20に印加する。
The adder 20 adds D to the quantized representative value from the inverse quantizer 18.
Previous value predicted value P1 output from type flip-flop 24
are added, thereby restoring the difference value (quantized representative value) to the sample value (locally decoded value). The restored sample value (locally decoded value) is applied to a D-type flip-flop 24 after its amplitude is limited to a predetermined range by a limiter 22 . The D-type flip-flop 24 outputs the locally decoded value output from the limiter 22 in synchronization with the clock, and applies it to the subtracter 12 and the adder 20 as a predicted value P +++ for the next sample value.

一般に、予測値の差分値の分布は小さな値の部分に偏っ
ており、差分値を非線形量子化により符号化して伝送す
ることにより、情報量の削減が可能になる。
Generally, the distribution of difference values of predicted values is biased toward small values, and by encoding the difference values using nonlinear quantization and transmitting them, it is possible to reduce the amount of information.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記のような従来の符号化及び復号化装置においては入
力標本値のとり得る値の範囲、即ちダイナミックレンジ
(以下Dレンジという)がO〜(n−1)で、その幅が
nレベルとすると、差分値のDレンジは(−n+1)〜
(n−1)となり、その幅は(2n−1)レベルとなり
、入力標本値のDレンジの幅の約2倍になる。尚、本明
細書では説明の都合上、とり得る値の範囲をDレンジ、
とり得る値の幅をDレノ2幅と区分して表現する。その
結果、量子化特性を非線形特性とした場合、予測値から
離れた部分の量子化誤差(量子化前の差分値と量子化後
の差分値との差)の最大値は非常に大きな値となり、差
分値の大きなエツジ部分での画質劣化(エツジビジネス
)の大きな要因になっていた。
In the conventional encoding and decoding devices as described above, the range of values that the input sample value can take, that is, the dynamic range (hereinafter referred to as D range) is O to (n-1), and the width is n levels. , the D range of the difference value is (-n+1) ~
(n-1), and its width is (2n-1) levels, which is approximately twice the width of the D range of the input sample value. In this specification, for convenience of explanation, the range of possible values is expressed as D range,
The range of possible values is expressed by dividing it into D Reno 2 width. As a result, when the quantization characteristic is a nonlinear characteristic, the maximum value of the quantization error (difference between the difference value before quantization and the difference value after quantization) far from the predicted value becomes a very large value. This was a major cause of image quality deterioration (edge business) at edge portions with large difference values.

一方、上記の劣化を少なくするため量子化特性を線形特
性に近づけると、予測値近傍の量子化誤差が増加し、平
坦部において再生画像のざらつき(グラニュラ−ノイズ
の増加)を生じさせ、人の顔のように緩やかにレベルが
変化するところで、あたかも地図の等高線のような輪郭
(偽輪郭)が発生するため、画質を劣化させてしまう。
On the other hand, if the quantization characteristics are brought closer to linear characteristics in order to reduce the above-mentioned deterioration, the quantization error near the predicted value will increase, causing roughness in the reproduced image (increase in granular noise) in flat areas, and In places where the level changes gradually, such as a face, contours that look like contour lines on a map (false contours) occur, which degrades the image quality.

更に、従来例では伝送路で誤りが発生すると、復号化装
置で得られる復号値は符号化側で得られる局部復号値と
は異なる値となり、この誤った復号値が次の復号値の予
測値となるので誤りが次々と伝搬してしまい、元の画像
が復元できなくなってしまう。
Furthermore, in the conventional example, when an error occurs in the transmission path, the decoded value obtained by the decoding device becomes a different value from the local decoded value obtained by the encoder, and this erroneous decoded value becomes the predicted value of the next decoded value. As a result, errors propagate one after another, making it impossible to restore the original image.

この発明はかかる問題点を解決するためになされたもの
で、量子化特性を非線形にした場合でも、標本値のエツ
ジ部分及び平坦部の劣化を低減すると共に、復号値の誤
り伝搬の低減をも実現し得る符号化装置、復号化装置を
提供することを目的とする。
This invention was made to solve such problems, and even when the quantization characteristics are made non-linear, it reduces the deterioration of the edge portions and flat portions of sample values, and also reduces error propagation of decoded values. The purpose is to provide an encoding device and a decoding device that can be realized.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的を達成するために、この発明の符号化装置は、
入力標本値とその予測値との差分値を量子化する第1の
符号化手段と、前記入力標本値を量子化する第2の符号
化手段とを具え、前記入力標本値の変化に従って、前記
第11第2の符号化手段を選択的に用いて符号化コード
を得る構成としている。
In order to achieve the above object, the encoding device of the present invention includes:
a first encoding means for quantizing a difference value between an input sample value and its predicted value; and a second encoding means for quantizing the input sample value; The encoded code is obtained by selectively using the eleventh second encoding means.

また、本発明の復号化装置は入力標本値とその予測値と
の差分値を量子化する第1の符号化手段と、前記入力標
本値を量子化する第2の符号化手段とを入力標本値の変
化に応じて選択的に用いて符号化してなる符号化コード
を復号する復号化装置であって、前記第1.第2の符号
化手段に夫々対応する第1.第2の復号化手段を具え、
該第1.第2の復号化手段を選択的に用いて復号値を得
る構成としている。
Further, the decoding device of the present invention includes a first encoding means for quantizing a difference value between an input sample value and its predicted value, and a second encoding means for quantizing the input sample value. A decoding device that decodes an encoded code obtained by selectively using and encoding a value according to a change in value, the first. The first . comprising second decoding means;
Part 1. The second decoding means is selectively used to obtain a decoded value.

〔作用〕[Effect]

上述の如(構成することにより、平坦部や値が緩やかに
変化する部分に於ては差分値の絶対値が小さい範囲で充
分細かい量子化ステップを有する第1の符号化手段を用
いることができ、細かい量子化ステップで量子化できる
ので粒状ノイズ等の発生を防止できる。また、エツジ部
分は標本値を量子化する第2の符号化手段を用いること
ができ、勾配過負荷の影響も低減できる。しかも、第2
の符号化手段を用いる度に誤り伝搬はクリアされ、誤り
伝搬による悪影響も軽減できる。
By configuring as described above, it is possible to use the first encoding means having a sufficiently fine quantization step in a range where the absolute value of the difference value is small in a flat part or a part where the value changes slowly. Since quantization can be performed in fine quantization steps, it is possible to prevent the occurrence of granular noise, etc. In addition, the edge portion can use a second encoding means to quantize the sample value, and the influence of gradient overload can also be reduced. .Moreover, the second
Error propagation is cleared every time the encoding means is used, and the adverse effects of error propagation can also be reduced.

また、本発明の復号化装置に於いては平坦部では第1の
復号化手段により充分細かいステップでの復号が可能で
、粒状ノイズや偽輪郭等が発生することはな(、また、
エツジ部に於ける勾配過負荷の影響や、誤り伝搬に伴な
う画質劣化も第2の復号化手段を用いることにより軽減
することができる。
Furthermore, in the decoding device of the present invention, the first decoding means can perform decoding in sufficiently fine steps in a flat area, and granular noise, false contours, etc. do not occur (also,
The influence of gradient overload on edge portions and image quality deterioration due to error propagation can also be reduced by using the second decoding means.

〔実施例〕〔Example〕

以下、図面を参照して本発明の実施例について説明する
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の実施例の符号化装置を示すブロック図
である。図中30は標本値X+の入力端子、32は減算
器、34.36は量子化器、38.50はスイッチ、4
0は符号化コードY1の出力端子、42゜44は逆量子
化器、46は加算器、48はリミッタ、52.56はD
型フリップフロップ、54は後述するレンジ端検出回路
である。
FIG. 1 is a block diagram showing an encoding device according to an embodiment of the present invention. In the figure, 30 is an input terminal for the sample value X+, 32 is a subtracter, 34.36 is a quantizer, 38.50 is a switch, 4
0 is the output terminal of the encoded code Y1, 42° 44 is the inverse quantizer, 46 is the adder, 48 is the limiter, 52.56 is D
The type flip-flop 54 is a range end detection circuit which will be described later.

入力端子30より入力された標本値XIは減算器32で
予測値XIとの差分値がとられ、量子化器B36に印加
される。量子化器B36では印加された差分値を量子化
し、DPCMコードYs+をスイッチ38の端子す及び
逆量子化器44へ印加する。逆量子化器44はDPCM
コードを量子化代表値(即ち量子化後の差分値)に変換
して、加算器46へ印加する。
A subtracter 32 calculates a difference between the sample value XI input from the input terminal 30 and the predicted value XI, which is applied to a quantizer B36. The quantizer B36 quantizes the applied difference value and applies the DPCM code Ys+ to the terminal of the switch 38 and the inverse quantizer 44. The inverse quantizer 44 is a DPCM
The code is converted into a quantized representative value (that is, a difference value after quantization) and applied to the adder 46.

加算器46はD型フリップフロップ52より印加される
予測値X1に量子化後の差分値を加算して、元の入力標
本値を復元する。復元された入力標本地はリミッタ48
にて入力標本値のレンジ内の値に制限されて局部復号値
X a+となりスイッチ50の端子すに印加される。
The adder 46 adds the quantized difference value to the predicted value X1 applied from the D-type flip-flop 52 to restore the original input sample value. The restored input sample area is the limiter 48
The local decoded value X a+ is limited to a value within the range of the input sample value and is applied to the terminal of the switch 50 .

一方、入力端子より入力された標本値x1は量子化器A
34にも印加され、量子化されてPCMコードYAIと
なってスイッチ38の端子a及び逆量子化器42へ印加
する。逆量子化器42はPCMコードYAIよりその量
子化代表値、即ち、元の入力標本値を復元し、局部復元
値XhIとしてスイッチ50の端子aへ印加する。スイ
ッチ50では、D型フリップフロップ56より印加され
る前画素のレンジ端検出信号L+−+に従い、Li−1
がハイレベルじH’)のときは端子aの局部復号値X 
Atを選択し、Ll−+がローレベル(“L″)のとき
は端子すの局部復号値XBIを選択し、D型フリップフ
ロップ52へ印加する。D型フリップフロップ52では
、スイッチ50より印加された局部復号値X+を次のク
ロックサイクルで予測値XI+1として減算器32へ印
加する。
On the other hand, the sample value x1 input from the input terminal is sent to the quantizer A.
34 and is quantized into a PCM code YAI, which is applied to terminal a of the switch 38 and the inverse quantizer 42. The inverse quantizer 42 restores the quantized representative value, that is, the original input sample value, from the PCM code YAI, and applies it to the terminal a of the switch 50 as the local restored value XhI. In the switch 50, according to the range end detection signal L+-+ of the previous pixel applied from the D-type flip-flop 56, Li-1
is at a high level (H'), the local decoded value X of terminal a
At is selected, and when Ll-+ is at low level (“L”), the locally decoded value XBI of the terminal S is selected and applied to the D-type flip-flop 52. The D-type flip-flop 52 applies the locally decoded value X+ applied from the switch 50 to the subtracter 32 as a predicted value XI+1 in the next clock cycle.

スイッチ38では、前述のスイッチ50と同様にLl−
1が“H”のときは端子aのPCMコードYAIを、L
 +−+がL”のときは端子すのDPCMコードY a
tを選択し、符号化コードYlとして、出力端子40及
びレンジ端検出回路54へ印加する。
In the switch 38, like the switch 50 described above, Ll-
When 1 is “H”, the PCM code YAI of terminal a is
When +-+ is L”, the DPCM code of the terminal is Y a
t is selected and applied to the output terminal 40 and the range end detection circuit 54 as the encoded code Yl.

レンジ端検出回路54はDPCMコードYBIが量子化
された差分値のレンジ端、即ち量子化代表値の最大値ま
たは最小値を示すコードかどうかを検出し、レンジ端を
示すコードである場合は“H“、それ以外ではL“とな
る検出信号L+をD型フリップフロップ56へ印加する
。実際の回路ではこのレンジ端検出を容易にするため、
DPCMコードが4ビツトの場合、量子化代表値の最大
値を示すコードに”111ビ、最小値を示すコードにo
ooo”等の特定のコードを割当て、AND回路及びN
OR回路等により検出を行う。
The range end detection circuit 54 detects whether the DPCM code YBI is a code indicating the range end of the quantized difference value, that is, the maximum value or minimum value of the quantized representative value, and if it is a code indicating the range end, " A detection signal L+, which is H" and otherwise L, is applied to the D-type flip-flop 56. In an actual circuit, in order to facilitate this range end detection,
If the DPCM code is 4 bits, the code indicating the maximum value of the quantization representative value is 111 bits, and the code indicating the minimum value is o.
Assign a specific code such as "ooo", and use an AND circuit and N
Detection is performed using an OR circuit or the like.

D型フリップフロップ56では次のタロツクサイクルで
前記レンジ端検出信号をスイッチ38. 50及びレン
ジ端検出回路54へ印加する。レンジ端検出回路54に
もこのレンジ端検出回路信号を印加するのは、符号化コ
ードがPCMコードYAムの場合、レンジ端検出を行わ
ないようにするためである。
The D-type flip-flop 56 transfers the range end detection signal to the switch 38 . 50 and the range end detection circuit 54. The reason why this range end detection circuit signal is also applied to the range end detection circuit 54 is to prevent range end detection from being performed when the encoded code is the PCM code YAM.

次に実施例の符号化装置の動作について説明する。Next, the operation of the encoding device of the embodiment will be explained.

前述のように予測値X、と入力標本値XIとの差分値は
、0近傍に出現確率が集中しており、このため通常スイ
ッチ38.50は端子すのDPCMコードY 13iを
選択する。即ち、量子化代表値のDレンジを狭く制限し
たDPCM符号化が行われるのである。
As described above, the probability of appearance of the difference value between the predicted value X and the input sample value XI is concentrated near 0, and therefore the switch 38.50 normally selects the DPCM code Y 13i of the terminal. That is, DPCM encoding is performed in which the D range of the quantization representative value is narrowly limited.

ところで量子化レベル数を一定とすれば、量子化代表値
のDレンジを狭くする程、量子化ステップは細か(する
ことができるから、前記粒状ノイズ、偽輪郭、エツジビ
ジネス等の問題は改善される。一方、量子化代表値のD
レンジを小さくする程、復号されるエツジの追従性が劣
化し、エツジがなまる勾配過負荷が発生してしまう。例
えば、入力標本値のレンジをO〜255、量子化代表地
のレンジを−63〜63とし、入力値がOから255へ
ステップ状に変化した場合、復号値がOから255まで
変化するのに4画素分以上かかりてしまう。
By the way, if the number of quantization levels is constant, the narrower the D range of the quantization representative value, the finer the quantization step (the finer the quantization step), the more problems such as granular noise, false contours, edge business, etc. will be improved. On the other hand, the quantization representative value D
As the range becomes smaller, the followability of decoded edges deteriorates, resulting in gradient overload that blunts the edges. For example, if the input sample value range is O to 255 and the quantization representative range is -63 to 63, and the input value changes stepwise from O to 255, the decoded value changes from O to 255. It takes more than 4 pixels.

本実施例では、勾配過負荷が発生するエツジ部の画素に
おいては、DPCM’[を子化器B36ではなく、PC
M量子化器A34を用いることにより、上記の勾配過負
荷による劣化を抑えるのである。
In this embodiment, in pixels at the edge where gradient overload occurs, DPCM'[ is not processed by the child converter B36 but by the
By using the M quantizer A34, the deterioration caused by the above gradient overload is suppressed.

また、エツジ部においては前画素との相関性が低いこと
、人間の視覚特性では差感度が低いこと等の理由により
、PCM量子化器A34の量子化特性は、はぼ線形特性
として良い。従って、量子化器A34及び逆量子化器A
42はビットシフトで構成することができ、ハードウェ
アが非常に簡単になる。例えば、入力標本値8bit、
符号化コード4bitとした場合、量子化器A34は上
位4bitを出力すれば良く、また、逆量子化器A42
では、上位4bitは前記符号化コードを出力し、下位
4bitは量子化ステップの中央値である0111”を
出力するようにすれば良い。
Furthermore, the quantization characteristic of the PCM quantizer A34 may be approximately linear because the correlation with the previous pixel is low in the edge portion and the difference sensitivity is low in human visual characteristics. Therefore, quantizer A34 and inverse quantizer A
42 can be constructed by bit shifting, which greatly simplifies the hardware. For example, input sample value 8 bits,
When the encoding code is 4 bits, the quantizer A34 only needs to output the upper 4 bits, and the inverse quantizer A42
Then, the upper 4 bits may output the encoded code, and the lower 4 bits may output 0111'', which is the median value of the quantization steps.

また、前記のDPCMPCM量子化器A34M量子化器
A34の切換えは、切換えのための信号を伝送しても良
いが、本実施例では伝送する情報量を節約するため、符
号化コードにて判定し、量子化器を切換える。即ち、D
PCM量子化器836で量子化された符号化コードが前
記Dレンジ制限された量子化代表値のレンジ端の値を示
す場合は、エツジであると判定し、次の画素をPCM量
子化するのである。
Further, switching of the DPCMPCM quantizer A34M quantizer A34 may be performed by transmitting a signal for switching, but in this embodiment, in order to save the amount of information to be transmitted, the determination is made using an encoded code. , switch the quantizer. That is, D
If the encoded code quantized by the PCM quantizer 836 indicates a value at the end of the range of the D range limited quantization representative value, it is determined that it is an edge, and the next pixel is PCM quantized. be.

従って、前記のOから255へ急峻に変化するステップ
波形が入力された場合、復号値は、0→63→248と
なり、2画素で追従する。
Therefore, when the step waveform that rapidly changes from 0 to 255 is input, the decoded value changes from 0 to 63 to 248, and is followed by two pixels.

次に本発明の実施例の復号化装置について説明する。Next, a decoding device according to an embodiment of the present invention will be explained.

第2図は、本発明の実施例の復号化装置を示すブロック
図である。図中、60は符号化コードY、の入力端子、
62.64は逆量子化器A、B、66は加算器、68は
リミッタ、70. 72はスイッチ、74は復号値の出
力端子、76.80.84はD型フリップフロップ、7
8はレンジ端検出回路、82は比較器、86は復号位置
換判定回路である。
FIG. 2 is a block diagram showing a decoding device according to an embodiment of the present invention. In the figure, 60 is an input terminal for the encoded code Y;
62, 64 are inverse quantizers A and B, 66 is an adder, 68 is a limiter, 70. 72 is a switch, 74 is a decoded value output terminal, 76.80.84 is a D-type flip-flop, 7
8 is a range end detection circuit, 82 is a comparator, and 86 is a decoding position replacement determination circuit.

入力端子60より入力された符号化コードY1は逆量子
化器62.64及びレンジ端検出回路7日に印加される
。逆量子化器A62.B64は、各々第1図の逆量子化
器A42.B44と同一機能の回路であり、符号化コー
ドY+を印加することにより、逆量子化器A62は量子
化後の入力標本値をスイッチ70の端子aに、逆量子化
器B64は量子化後の差分値を加算器66へそれぞれ印
加する。加算器66では前記差分値にD型フリップフロ
ップ76より印加される予測値X1を加算する。この加
算器66の出力リミッタ48にて入力標本値のDレンジ
内の値に制限されてスイッチ70の端子すへ印加する。
The encoded code Y1 input from the input terminal 60 is applied to the inverse quantizers 62 and 64 and the range end detection circuit 7. Inverse quantizer A62. B64 are inverse quantizers A42 .B64 of FIG. 1, respectively. This circuit has the same function as B44, and by applying the encoding code Y+, the dequantizer A62 sends the quantized input sample value to the terminal a of the switch 70, and the dequantizer B64 sends the quantized input sample value to the terminal a of the switch 70. The difference values are applied to adders 66, respectively. The adder 66 adds the predicted value X1 applied from the D-type flip-flop 76 to the difference value. The output limiter 48 of the adder 66 limits the input sample value to a value within the D range and applies it to the terminal of the switch 70.

スイッチ70では、D型フリップフロップ80より印加
される前画素のレンジ端検出信号L+−+に従い、Li
−+が“L″のときは端子aの復号値XAIを出力し、
L+−+が”L“のときは端子すの復号値5’Biを出
力し、スイッチ72の端子C,D型のフリップフロップ
76、及び比較器82へ印加する。
The switch 70 switches Li according to the range end detection signal L+-+ of the previous pixel applied from the D-type flip-flop
When −+ is “L”, outputs the decoded value XAI of terminal a,
When L+-+ is "L", the decoded value 5'Bi of the terminal S is outputted and applied to the terminal C of the switch 72, the D-type flip-flop 76, and the comparator 82.

D型フリップフロップ76では、スイッチ70より印加
された復号値を次のクロックサイクルで予測値XI+1
として加算器66、比較器82及びスイッチ72の端子
dへ印加する。スイッチ72では後述する復号位置換判
定回路86より印加される置換判定信号11に従い、h
がH”のとき端子Cの信号を出力し、J1=“L”のと
き端子dの信号を選択する。このスイッチ72の出力は
、復号値として出力端子74より出力する。
The D-type flip-flop 76 converts the decoded value applied from the switch 70 into the predicted value XI+1 in the next clock cycle.
It is applied to the adder 66, the comparator 82, and the terminal d of the switch 72 as a signal. The switch 72 selects h in accordance with a replacement determination signal 11 applied from a decoding position replacement determination circuit 86 to be described later.
When J1="H", the signal at terminal C is output, and when J1="L", the signal at terminal d is selected.The output of switch 72 is output from output terminal 74 as a decoded value.

レンジ端検出回路78は、第1図の符号化装置に於ける
レンジ端検出回路54と同一機能の回路であり、印加さ
れた符号化コードY1がDレンジ制限された差分値を示
す場合は、検出信号L1をH″とし、それ以外では検出
信号L1を“L″とする。
The range end detection circuit 78 has the same function as the range end detection circuit 54 in the encoding device shown in FIG. The detection signal L1 is set to "H", and otherwise the detection signal L1 is set to "L".

D型フリップフロップ80は次のクロックサイクルでこ
のレンジ端検出信号LIをスイッチ70、レンジ端検出
回路78及び復号位置換判定回路86に印加する。
The D-type flip-flop 80 applies this range end detection signal LI to the switch 70, the range end detection circuit 78, and the decoding position replacement determination circuit 86 in the next clock cycle.

比較器82では、予測値X1と復号値X1を比較し、差
分値の正負を示す符号M1のみをD型フリップフロップ
84及び置換判定回路86へ印加する。D型フリップフ
ロップ84は、次のクロックサイクルで前記差分値正負
符号M1を復号位置換判定回路86へ印加する。
The comparator 82 compares the predicted value X1 and the decoded value X1, and applies only the sign M1 indicating the sign of the difference value to the D-type flip-flop 84 and the replacement determination circuit 86. The D-type flip-flop 84 applies the difference value sign M1 to the decoding position replacement determination circuit 86 in the next clock cycle.

復号位置換判定回路86は、レンジ端判定信号L+−+
が“H”で、かつ差分値正負符号M+が前画素の差分値
正負符号M+−+と一致した時のみ勾配過負荷が発生し
たと判定し、復号値置換判定信号!+をH“にし、それ
以外は置換判定信号Itを“L”とする。
The decoding position replacement determination circuit 86 receives the range end determination signal L+-+
is "H" and the difference value sign M+ matches the difference value sign M+-+ of the previous pixel, it is determined that gradient overload has occurred, and the decoded value replacement judgment signal! + is set to H", and otherwise the replacement determination signal It is set to "L".

従って、スイッチ72は、通常は端子dの信号を出力し
、勾配過負荷が生じたと判定した時のみ端子Cの信号を
出力する。
Therefore, the switch 72 normally outputs the signal at terminal d, and outputs the signal at terminal C only when it is determined that a slope overload has occurred.

即ち、スイッチ72の端子dに勾配過負荷の発生した復
号値が印加されると、スイッチ72は端子Cに印加され
ている次の画素の復号値を出力し、勾配過負荷の発生し
た復号値を次画素の復号値に置換えるのである。
That is, when a decoded value in which a gradient overload has occurred is applied to the terminal d of the switch 72, the switch 72 outputs the decoded value of the next pixel applied to the terminal C, and the decoded value in which a gradient overload has occurred is applied to the switch 72. is replaced with the decoded value of the next pixel.

次に、勾配過負荷の判定方法について説明する。Next, a method for determining gradient overload will be explained.

勾配過負荷は、前述のように量子化代表値のDレンジを
制限することによって発生する。従って、勾配過負荷の
発生している画素の値は、必ずレンジ端の復号値となる
。一方、第3図(B)に示す如き大振幅のインパルス状
の波形、例えば時刻t3以外では振幅01時刻t3では
振幅が255となるような波形に対応する標本値が入力
されている場合は、次画素の復号値での置換えをしてし
まうとインパルス(t=t3の部分)の情報が欠落して
しまう。そこで、レンジ端の復号値の前後の復号値との
差分値の正負を検出し、正負が一致した時のみ勾配負荷
が発生したと判定し、次画素の復号値で置換えるのであ
る。
Gradient overload occurs by limiting the D range of the quantization representative value as described above. Therefore, the value of a pixel where gradient overload occurs is always the decoded value at the end of the range. On the other hand, if a sample value corresponding to a large-amplitude impulse-like waveform as shown in FIG. 3(B) is input, for example, the amplitude is 0 at times other than time t3, and the amplitude is 255 at time t3. If the pixel is replaced with the decoded value of the next pixel, the information of the impulse (t=t3) will be lost. Therefore, the sign of the difference between the decoded value at the end of the range and the decoded values before and after it is detected, and only when the signs match, it is determined that a gradient load has occurred, and the decoded value of the next pixel is substituted.

第3図(A)〜(C)は、量子化器E36の量子化代表
値のレンジを−63〜+63に制限した場合に於ける各
入力標本値(Oで示す)に対する復号値(×で示す)及
び置換後の復号値(△で示す)を表わしたものである。
Figures 3 (A) to (C) show the decoded values (indicated by ) and the decoded value after replacement (indicated by Δ).

同図(A)はステップ波形(急峻なエツジ)、同図(B
)はインパルス波形(細い縦線の部分等)、同図(C)
は台形状波形(緩やかなエツジ)に対応する入力標本値
、復号値を示している。いずれも時刻t3の復号値がエ
ツジ端となっている。
The same figure (A) is a step waveform (steep edge), the same figure (B
) is the impulse waveform (thin vertical line part, etc.), same figure (C)
indicates input sample values and decoded values corresponding to a trapezoidal waveform (gentle edge). In both cases, the decoded value at time t3 is the edge end.

同図(A)から明らかなように、急峻なエツジ部におい
ては、復号値の置換操作により、はぼ入力波形に等しい
波形が得られ、勾配過負荷の影響が除去される。一方、
インパルス波形については同図(B)に示す様に、時刻
t3の前後の差分値の正負がt3の前ではプラス、t3
の後ではマイナスとなっているため置換操作は行われず
、前記情報の欠落は生じない。更に、同図(C)に示す
如き緩やかなエツジ部においては、大きな勾配過負荷は
生じていないが、復号値の置換操作が行われる。この場
合、緩やかなエツジが急峻なエツジとなってしまうが、
人間の視覚特性における差感度の低さを考慮すると、画
質劣化と認識されず、むしろエツジがシャープになるた
め、画像の鮮鋭度が増し、画質が向上したように見える
As is clear from FIG. 5A, in steep edge portions, a waveform equal to the input waveform is obtained by replacing the decoded values, and the influence of gradient overload is removed. on the other hand,
Regarding the impulse waveform, as shown in the same figure (B), the sign of the difference value before and after time t3 is positive before t3,
After , the replacement operation is not performed because the value is negative, and the information is not missing. Furthermore, in a gentle edge portion as shown in FIG. 2C, a decoded value replacement operation is performed although no large gradient overload occurs. In this case, a gentle edge becomes a steep edge, but
Considering the low sensitivity to differences in human visual characteristics, this will not be recognized as a deterioration in image quality, but rather the edges will become sharper, so the sharpness of the image will increase and the image quality will appear to have improved.

以上の説明から明らかな様に、本実施例においては、勾
配過負荷に伴なう画質の劣化を生じない。
As is clear from the above description, in this embodiment, there is no deterioration in image quality due to gradient overload.

更にいえば、一般に符号化装置に入力される標本値は、
フィルタにより帯域制限されているため、第3図(B)
に示すような大振幅のインパルス状の波形はほとんど発
生しない。即ち、第3図(B)のような波形はフィルタ
により振幅が小さくなるため、復号値との差は縮まり、
視覚特性における差感度が低いことを考慮すると視覚上
では劣化と検知されない。
Furthermore, the sample values input to the encoding device are generally
Since the band is limited by the filter, Fig. 3 (B)
A large-amplitude impulse-like waveform like the one shown in Fig. 1 is almost never generated. In other words, since the amplitude of the waveform shown in FIG. 3(B) is reduced by the filter, the difference with the decoded value is reduced,
Considering that the sensitivity to differences in visual characteristics is low, deterioration is not detected visually.

更に、予測方式に二次元予測、三次元予測あるいは適応
予測等の方式を用いる場合は、予測誤差は更に小さくな
り、かつ二次元空間、三次元空間に於いてインパルス波
形が発生する確率は殆んど0であり、全く問題とならな
い。
Furthermore, when using two-dimensional prediction, three-dimensional prediction, or adaptive prediction as a prediction method, the prediction error becomes even smaller, and the probability that an impulse waveform will occur in two-dimensional space or three-dimensional space is almost negligible. It is 0, and there is no problem at all.

なお、本実施例では差分値の正負の検出を比較器82で
行っているが、DPCMコードのMSB (最上位ビッ
ト)が差分値の符号を示すようにDPCMコードを割当
てれば、DPCMコードのMSBで差分値の正負号の検
出が可能である。
In this embodiment, the comparator 82 detects whether the difference value is positive or negative, but if the DPCM code is assigned so that the MSB (most significant bit) of the DPCM code indicates the sign of the difference value, the DPCM code It is possible to detect the positive or negative sign of the difference value using the MSB.

第4図は本発明の第2の実施例の符号化装置を示すブロ
ック図である。図中、58は後述するレンジ内判定回路
であり、第1図と同様の機能のものについては同一の番
号・記号を付して、詳細な説明は省略する。
FIG. 4 is a block diagram showing an encoding device according to a second embodiment of the present invention. In the figure, 58 is an in-range determination circuit which will be described later, and those having the same functions as those in FIG. 1 are given the same numbers and symbols, and detailed explanation will be omitted.

前記第1の実施例では、符号化コードを用いてレンジ端
を判定し、量子化器を切換えていたが、本実施例では、
局部復号値を用いるレンジ内判定回路58の出力で量子
化器の切換えを行う。
In the first embodiment, the range end was determined using the encoded code and the quantizer was switched, but in this embodiment,
The quantizer is switched by the output of the in-range determination circuit 58 that uses the locally decoded value.

即ち、レンジ内判定回路58はD型フリップフロップ5
2より印加される予測値XI、スイッチ50より印加さ
れる局部復号値X+、D型フリップフロップ56より印
加される前画素のレンジ内判定信号L I−1より、L
l−+が“L″である場合、局部復号値X1が前記レン
ジ制限された差分値のレンジ端に対応する復号値のとき
Llを“H″とし、それ以外のときLlをL″とする。
That is, the in-range determination circuit 58 uses the D-type flip-flop 5.
L
When l-+ is "L", when the local decoded value X1 is a decoded value corresponding to the range end of the range-limited difference value, Ll is set to "H", and otherwise, Ll is set to L". .

一方、L +−1が“H”である場合、局部復号値X1
が前記レンジ制限された差分値のレンジ端に対応する復
号値開の値、即ち、レンジ内の値のとき、LlをL″と
し1、それ以外のときLlを′H′″とする。
On the other hand, when L+-1 is "H", the local decoded value X1
When the decoded value corresponds to the end of the range of the range-limited difference value, that is, a value within the range, Ll is set to L'' and is 1; otherwise, Ll is set to 'H'''.

そして、この判定宿号LrはD型フリップフロップ56
へ印加する。
This judgment code Lr is a D-type flip-flop 56.
Apply to.

第5図に第4図のレンジ内判定回路58の具体的な構成
を示す。
FIG. 5 shows a specific configuration of the in-range determination circuit 58 shown in FIG. 4.

レンジ端発生回路90は予測値x1が印加されると該予
測値に対する復号値の最大値X mx、及び最小@X−
xを各々比較器92.94へ印加する。復号値の最大値
Xmax、及び最小値X、18は、予測値に前記Dレン
ジ制限された差分値のレンジ端の量子化代表値を加算す
れば得られる。従って、予めROMの予測値で示される
アドレスにこの予測値と差分値のレンジ端を加算した結
果を格納しておくことによって、レンジ端発生回路90
が得られる。
When the predicted value x1 is applied, the range edge generation circuit 90 generates the maximum value X mx and the minimum @X- of the decoded value for the predicted value.
x to comparators 92 and 94, respectively. The maximum value Xmax and the minimum value X, 18 of the decoded value can be obtained by adding the quantized representative value at the end of the range of the D-range limited difference value to the predicted value. Therefore, by storing in advance the result of adding the predicted value and the range end of the difference value to the address indicated by the predicted value in the ROM, the range edge generating circuit 90
is obtained.

比較器92. 94では、前記印加された復号値の最大
値X□、8.最小値X□1oと局部復号値に1とを比較
し、その比較結果を示すデータを切換判定回路96へ印
加する。切換判定回路96は、比較器92゜94の判定
結果及び前画素のレンジ内判定信号L +−1より、L
i−!が“L″の場合にはX 、 = X 、、、、、
またはX i = X mlnのときLlを“H″とし
、上記以外のときにはLlを“L“とする。また、Ll
−1が“H”の場合にはX min≦X1≦Xm、のと
きLlを“L”とし、上記以外のときにはLlを“H”
とする。
Comparator 92. At 94, the maximum value X□ of the applied decoded value, 8. The minimum value X□1o is compared with the local decoded value of 1, and data indicating the comparison result is applied to the switching determination circuit 96. The switching determination circuit 96 uses the determination result of the comparator 92.94 and the in-range determination signal L
i-! If is “L”, then X, = X,,,,
Alternatively, when X i = X mln, Ll is set to "H", and in other cases, Ll is set to "L". Also, Ll
-1 is “H”, when X min≦X1≦Xm, Ll is set to “L”, and in other cases, Ll is set to “H”.
shall be.

このレンジ内判定信号り、はD型フリップフロップ56
へ印加される。
This in-range judgment signal is a D-type flip-flop 56.
is applied to.

即ち、局部復号値又、がDPCM fl量子化器による
復号値のレンジ端のときは前記エツジ部とみなし、勾配
過負荷の影響を抑えるため、次画素でPCM量子化器A
34を選択する。一方、PCM量子化器A34による復
号値がDPCM量子化器B36による復号値のレンジ内
の値となったときは平坦部とみなし、DPCM量子化器
B36を選択するのである。
That is, when the local decoded value or is at the end of the range of the decoded value by the DPCM fl quantizer, it is regarded as the edge part, and in order to suppress the influence of gradient overload, the PCM quantizer A is applied to the next pixel.
Select 34. On the other hand, when the decoded value by PCM quantizer A34 falls within the range of the decoded value by DPCM quantizer B36, it is regarded as a flat part and DPCM quantizer B36 is selected.

第6図は本発明の第3の実施例の符号化装置を示すブロ
ック図である。図中、100は後述する補正値発生回路
、102は加算器、104は減算器である。
FIG. 6 is a block diagram showing an encoding device according to a third embodiment of the present invention. In the figure, 100 is a correction value generation circuit which will be described later, 102 is an adder, and 104 is a subtracter.

エツジ部は通常前画素との相関が低いが、前述のように
本発明では量子化器の切換信号を送出しないため、エツ
ジ部の判定が1画素遅れる。このため、差分値が小さい
部分の出現確率はやや高くなり、PCM量子化器A34
を補正した方が画質が向上する。
The edge portion normally has a low correlation with the previous pixel, but as described above, in the present invention, the quantizer switching signal is not sent, so the determination of the edge portion is delayed by one pixel. Therefore, the probability of appearance of a portion with a small difference value becomes somewhat high, and the PCM quantizer A34
The image quality will improve if you correct it.

以下、PCM量子化器A34の補正方法について具体的
に説明する。
The correction method of the PCM quantizer A34 will be specifically explained below.

補正値発生回路100は予測値XIをPCM量子化器A
34で量子化した際の量子化誤差△×(即ち予測値−量
子化代表値)を減算器104及び加算器102へ出力す
る。減算器104では入力標本値より前記補正値Δ×を
減算し、量子化器34へ印加する。
The correction value generation circuit 100 converts the predicted value XI into a PCM quantizer A.
The quantization error Δx (ie, predicted value - quantized representative value) when quantized in step 34 is output to the subtracter 104 and the adder 102 . The subtracter 104 subtracts the correction value Δ× from the input sample value and applies it to the quantizer 34.

量子化器34では補正された入力値を量子化し、PCM
コードYAIをスイッチ38の端子a及び逆量子化器4
2へ印加する。逆量子化器42にて復号された入力標本
値は加算器102にて前記補正値△×が加算され、復号
値X^1としてスイッチ50の端子aに印加される。
The quantizer 34 quantizes the corrected input value and converts it into PCM
The code YAI is sent to the terminal a of the switch 38 and the inverse quantizer 4.
2. The input sample value decoded by the inverse quantizer 42 is added with the correction value Δx by the adder 102, and is applied to the terminal a of the switch 50 as a decoded value X^1.

今、入力値と予測値が等しい(即ち、差分値が0)とす
ると、量子化器A34へ印加される値は、予測値に対す
る量子化誤差が減算されているので、逆量子化器42よ
り加算器に印加される値は、上記量子化器34へ印加さ
れる値と等しくなり、加算器102で量子化誤差を加算
することにより入力値が量子化誤差な(復元される。従
って、差分値が0と場合は、量子化誤差が0となるので
、前述のように差分値が0近傍の出現確率が高い場合に
は量子化誤差が少なくなり、結果として画質が向上する
Now, assuming that the input value and the predicted value are equal (that is, the difference value is 0), the value applied to the quantizer A34 is smaller than the inverse quantizer 42 because the quantization error has been subtracted from the predicted value. The value applied to the adder becomes equal to the value applied to the quantizer 34, and by adding the quantization error in the adder 102, the input value is restored without the quantization error. Therefore, the difference When the value is 0, the quantization error is 0, so if the probability of the difference value appearing near 0 is high as described above, the quantization error is reduced, resulting in improved image quality.

なお、前記補正値は予測値により決定されてるので、符
号化・復号化間のミスマツチは生じない。
Note that since the correction value is determined by the predicted value, no mismatch occurs between encoding and decoding.

以上の実施例では、前値予測DPCMを例にとって説明
したが、本発明はこれに限らず二次元、三次元あるいは
適応予測等の予測方式のシステムにも当然適用可能であ
る。
In the above embodiments, the previous value prediction DPCM has been explained as an example, but the present invention is not limited to this, but can of course be applied to systems using prediction methods such as two-dimensional, three-dimensional, or adaptive prediction.

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

以上説明した様に、本発明の符号化装置によれば、平坦
部については充分細かい量子化ステップで量子化できる
ので粒状ノイズ、偽輪郭等の発生が防止できる。また、
エツジ部分については標本値を量子化するので勾配過負
荷の発生の低減ができ、更には、この部分に於いて誤り
伝搬を防ぐことができる。
As described above, according to the encoding device of the present invention, since flat portions can be quantized with sufficiently fine quantization steps, generation of granular noise, false contours, etc. can be prevented. Also,
Since the sample values are quantized for the edge portion, it is possible to reduce the occurrence of gradient overload, and furthermore, it is possible to prevent error propagation in this portion.

また、本発明の復号化装置によれば、平坦部では充分細
かいステップでの復号が可能であり、粒状ノイズや偽輪
郭が生じることがなく、またエツジ部に於いてはエツジ
ビジネスの発生が低減され、かつ勾配過負荷の発生も低
減できるばかりでなく、誤り伝搬の防止も可能となった
Furthermore, according to the decoding device of the present invention, it is possible to decode in sufficiently fine steps in flat areas, without generating granular noise or false contours, and to reduce the occurrence of edge business in edge areas. This not only makes it possible to reduce the occurrence of gradient overload, but also to prevent error propagation.

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

第1図は本発明の符号化装置の第1の実施例の構成を示
すブロック図、 第2°図は第1図の符号化装置に対応する本発明の復号
化装置の一実施例の構成を示すブロック図、第3図(A
)、(B)、CC’)は第2図の復号化装置に於ける復
号位置換の様子を示す図、第4図は本発明の符号化装置
の第2の実施例の構成を示すブロック図、 第5図は第4図のレンジ内判定回路の構成を示す図、 第6図は本発明の符号化装置の第3の実施例の構成を示
すブロック図、 第7図は従来の符号化装置の構成例を示すブロック図で
ある。 図中30は標本値入力端子、 32は減算器、 34.36は量子化器、 38.50.70は切換スイッチ、 40は符号化コード出力端子、 54.78はレンジ端検出回路、 58はレンジ内判定回路、 62.64は逆量子化器、 86は置換判定回路である。 、421 第2図 量癲 シミ田□ 曙闇□
FIG. 1 is a block diagram showing the configuration of a first embodiment of the encoding device of the present invention, and FIG. 2 is a configuration of an embodiment of the decoding device of the present invention corresponding to the encoding device of FIG. A block diagram showing the
), (B), CC') are diagrams showing how the decoding position is permuted in the decoding device of FIG. 2, and FIG. 4 is a block diagram showing the configuration of the second embodiment of the encoding device of the present invention. 5 is a diagram showing the configuration of the in-range determination circuit in FIG. 4, FIG. 6 is a block diagram showing the configuration of the third embodiment of the encoding device of the present invention, and FIG. 7 is a conventional code FIG. 2 is a block diagram showing an example of the configuration of a converting device. In the figure, 30 is a sample value input terminal, 32 is a subtracter, 34.36 is a quantizer, 38.50.70 is a changeover switch, 40 is an encoded code output terminal, 54.78 is a range end detection circuit, and 58 is a 62 and 64 are inverse quantizers, and 86 is a replacement judgment circuit. , 421 2nd drawing Quantity Shimiden □ Akebono □

Claims (4)

【特許請求の範囲】[Claims] (1)入力標本値とその予測値との差分値を量子化する
第1の符号化手段と、前記入力標本値を量子化する第2
の符号化手段とを具え、前記入力標本値の変化に従って
、前記第1、第2の符号化手段を選択的に用いて符号化
コードを得ることを特徴とする符号化装置。
(1) A first encoding means that quantizes a difference value between an input sample value and its predicted value, and a second encoding means that quantizes the input sample value.
encoding means, and selectively using the first and second encoding means to obtain an encoded code according to a change in the input sample value.
(2)前記第1の符号化手段の出力する符号化コードに
対応する量子化代表値が前記差分値のダイナミツクレン
ジ端にあることを判定する判定手段を具え、該判定手段
に応じて前記第1、第2の符号化手段の選択を行うこと
を特徴とする特許請求の範囲第(1)項記載の符号化装
置。
(2) comprising a determining means for determining that the quantized representative value corresponding to the encoded code outputted by the first encoding means is at the end of the dynamic range of the difference value; An encoding device according to claim 1, characterized in that the first and second encoding means are selected.
(3)前記第2の符号化手段の出力する符号化コードに
対応する量子化代表値が、前記第1の符号化手段による
局部復号値のダイナミックレンジ内にあることを判定す
る判定手段を具え、該判定手段に応じて前記第1、第2
の符号化手段の選択を行うことを特徴とする特許請求の
範囲第(1)項記載の符号化装置。
(3) determining means for determining whether the quantized representative value corresponding to the encoded code output by the second encoding means is within the dynamic range of the locally decoded value by the first encoding means; , the first and second according to the determination means.
The encoding device according to claim 1, wherein the encoding device selects the encoding means.
(4)入力標本値とその予測値との差分値を量子化する
第1の符号化手段と、前記入力標本値を量子化する第2
の符号化手段とを入力標本値の変化に応じて選択的に用
いて符号化してなる符号化コードを復号する復号化装置
であって、前記第1、第2の符号化手段に夫々対応する
第1、第2の復号化手段を具え、該第1、第2の復号化
手段を選択的に用いて復号値を得ることを特徴とする復
号化装置。
(4) a first encoding means for quantizing a difference value between an input sample value and its predicted value; and a second encoding means for quantizing the input sample value.
A decoding device for decoding an encoded code obtained by selectively using an encoding means according to a change in an input sample value, the encoding means corresponding to the first and second encoding means, respectively. A decoding device comprising first and second decoding means, and selectively using the first and second decoding means to obtain a decoded value.
JP13379489A 1989-05-26 1989-05-26 Encoding and decoding device Expired - Fee Related JP2941846B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13379489A JP2941846B2 (en) 1989-05-26 1989-05-26 Encoding and decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13379489A JP2941846B2 (en) 1989-05-26 1989-05-26 Encoding and decoding device

Publications (2)

Publication Number Publication Date
JPH02312383A true JPH02312383A (en) 1990-12-27
JP2941846B2 JP2941846B2 (en) 1999-08-30

Family

ID=15113177

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13379489A Expired - Fee Related JP2941846B2 (en) 1989-05-26 1989-05-26 Encoding and decoding device

Country Status (1)

Country Link
JP (1) JP2941846B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03154497A (en) * 1989-11-13 1991-07-02 Hitachi Ltd Display device provided with automatic white balance adjustment circuit
US6201898B1 (en) 1996-02-05 2001-03-13 Matsushita Electric Industrial Co., Ltd. Video signal recording apparatus, video signal regenerating apparatus, image coding apparatus and image decoding apparatus
WO2003036510A1 (en) * 2001-10-22 2003-05-01 Sony Corporation Signal processing method and processor
JP2008228329A (en) * 2003-01-13 2008-09-25 Nokia Corp Image processing using limited number of bits
US7720235B2 (en) 2001-10-22 2010-05-18 Sony Corporation Signal processing method and apparatus, signal processing program, and recording medium
US7729545B2 (en) 2001-10-22 2010-06-01 Sony Corporation Signal processing method and method for determining image similarity
JP2017005433A (en) * 2015-06-08 2017-01-05 キヤノン株式会社 Image encoding device, image processing apparatus and image encoding method
CN110418136A (en) * 2018-04-30 2019-11-05 宝视纳股份公司 Determine method, computer-readable medium and the device for realizing quantizer of quantizer

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63121372A (en) * 1986-11-10 1988-05-25 Kokusai Denshin Denwa Co Ltd <Kdd> Hybrid coding system for moving image signal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63121372A (en) * 1986-11-10 1988-05-25 Kokusai Denshin Denwa Co Ltd <Kdd> Hybrid coding system for moving image signal

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03154497A (en) * 1989-11-13 1991-07-02 Hitachi Ltd Display device provided with automatic white balance adjustment circuit
US6201898B1 (en) 1996-02-05 2001-03-13 Matsushita Electric Industrial Co., Ltd. Video signal recording apparatus, video signal regenerating apparatus, image coding apparatus and image decoding apparatus
US6282364B1 (en) 1996-02-05 2001-08-28 Matsushita Electric Industrial Co., Ltd. Video signal recording apparatus and video signal regenerating apparatus
WO2003036510A1 (en) * 2001-10-22 2003-05-01 Sony Corporation Signal processing method and processor
US7720235B2 (en) 2001-10-22 2010-05-18 Sony Corporation Signal processing method and apparatus, signal processing program, and recording medium
US7729545B2 (en) 2001-10-22 2010-06-01 Sony Corporation Signal processing method and method for determining image similarity
US8255214B2 (en) 2001-10-22 2012-08-28 Sony Corporation Signal processing method and processor
JP2008228329A (en) * 2003-01-13 2008-09-25 Nokia Corp Image processing using limited number of bits
USRE43256E1 (en) 2003-01-13 2012-03-20 Nokia Corporation Processing of images using a limited number of bits
JP2017005433A (en) * 2015-06-08 2017-01-05 キヤノン株式会社 Image encoding device, image processing apparatus and image encoding method
CN110418136A (en) * 2018-04-30 2019-11-05 宝视纳股份公司 Determine method, computer-readable medium and the device for realizing quantizer of quantizer
CN110418136B (en) * 2018-04-30 2021-11-09 宝视纳股份公司 Method for determining quantizer, computer readable medium and apparatus for implementing quantizer

Also Published As

Publication number Publication date
JP2941846B2 (en) 1999-08-30

Similar Documents

Publication Publication Date Title
JP2754741B2 (en) Encoding device
US5107519A (en) Coding device and a decoding device
JPH02312383A (en) Encoding and decoding device
US5325374A (en) Predictive decoding device for correcting code errors
JP3048578B2 (en) Encoding and decoding device
JPH02312382A (en) Encoding and decoding device
US5095366A (en) Video signal coding device and decoding device utilizing plural quantization/inverse quantization
JPH0715347A (en) Coder and decoder
JP2005151312A (en) Image coding and decoding device
JPH02285720A (en) Encoder
JPH1056639A (en) Image coder and image decoder
JPH0793583B2 (en) Predictive coding device
JP3634934B2 (en) Modulation circuit, demodulation circuit, and modulation / demodulation system
JPS6376685A (en) Adaptation type difference encoding system
JPH1056638A (en) Image coder, image decoder and image coding/decoding device
JP3168444B2 (en) Quantizer for predictive coding
JPH03292083A (en) Prediction decoding device
JP2508473B2 (en) Buffering device in transform coding.
JPH02135887A (en) Encoding and decoding device
JPS62125787A (en) Picture transmission system
JPS6374268A (en) Color picture data compression system
JPH02296480A (en) Encoder
JPH0313088A (en) Decoder
JPH0223787A (en) Encoding device and decoding device for picture
JPS62214790A (en) Picture information compressor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees