JPH04341066A - Picture coder and decoder - Google Patents

Picture coder and decoder

Info

Publication number
JPH04341066A
JPH04341066A JP3113228A JP11322891A JPH04341066A JP H04341066 A JPH04341066 A JP H04341066A JP 3113228 A JP3113228 A JP 3113228A JP 11322891 A JP11322891 A JP 11322891A JP H04341066 A JPH04341066 A JP H04341066A
Authority
JP
Japan
Prior art keywords
image
block
coefficient information
information
coefficient
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
JP3113228A
Other languages
Japanese (ja)
Inventor
Yoshiji Iwabuchi
義嗣 岩渕
Kenichi Nagasawa
健一 長沢
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 JP3113228A priority Critical patent/JPH04341066A/en
Priority to US07/882,618 priority patent/US5657399A/en
Priority to EP92304396A priority patent/EP0514188B1/en
Priority to DE69231825T priority patent/DE69231825T2/en
Priority to DE69233318T priority patent/DE69233318T2/en
Priority to EP99200142A priority patent/EP0917373B1/en
Publication of JPH04341066A publication Critical patent/JPH04341066A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To suppress the effect of an error in coefficient information and to enhance the reliability of picture reproduction by dividing one pattern into plural blocks and adding coefficient information relating to a quantity step of coded picture information to each block. CONSTITUTION:In the picture coder in which a conversion data obtained by converting picture information into a frequency area is quantized and the quantized conversion data is subject to variable length coding, a re-SYNC multiplexer 9 divides one pattern of a picture element inputted from a variable coding circuit (VLC) 8 into plural areas and coefficient information relating to a quantization step of the coded picture information is added to each picture signal for each split area and the result is outputted to an ECC coding circuit 10. Through the configuration above, even when an error takes place in the coefficient information on a transmission line or the like, the effect of the error of the coefficient information is suppressed very small by replacing the information data properly thereby improving the reliability of picture reproduction.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は画像情報を量子化し、そ
の量子化された変換データを可変長符号化する画像符号
化装置及びその符号化データを可変長復号化する復号化
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding apparatus for quantizing image information and variable length encoding of the quantized transformed data, and a decoding apparatus for variable length decoding of the encoded data.

【0002】0002

【従来の技術】近年、カラー画像信号の符号化方式とし
て、適応的DCT(離散的コサイン変換)符号化方式が
注目されており、この種の符号化方式の国際標準化機関
として設立されたケーブルであるJPEG(Joint
  PhotographicExpert  Gro
up)における符号化方式においても、DCT符号化方
式が採用されている。
[Prior Art] In recent years, adaptive DCT (discrete cosine transform) encoding has attracted attention as a color image signal encoding method, and Cable, which was established as an international standardization organization for this type of encoding, A certain JPEG (Joint
Photographic Expert Gro
The DCT encoding method is also adopted as the encoding method in UP).

【0003】以下、この種の符号化方式の基本システム
の概要について簡単に説明する。
[0003] The basic system of this type of encoding system will be briefly explained below.

【0004】図5はDCT変換を用いた従来の符号化装
置の概略構成例を説明するためのブロック図、図7(A
)〜(D)は図5に示す符号化方式の処理を説明するた
めの図である。46は符号化しようとするデジタル画像
信号の入力端子であり、ラスタースキャンによるデジタ
ル画像信号が入力される。
FIG. 5 is a block diagram for explaining a schematic configuration example of a conventional encoding device using DCT transform, and FIG. 7 (A
) to (D) are diagrams for explaining the processing of the encoding method shown in FIG. 5. Reference numeral 46 denotes an input terminal for a digital image signal to be encoded, into which a raster scan digital image signal is input.

【0005】該端子46に入力された画像信号は8×8
ブロック化回路47に入力され、ここで2次元的に(8
×8)画素からなる画素ブロックに分割され、この画素
ブロック単位で後段に送出される。
The image signal input to the terminal 46 is 8×8
It is input to the blocking circuit 47, where it is two-dimensionally (8
×8) The image is divided into pixel blocks each consisting of pixels, and sent to the subsequent stage in units of pixel blocks.

【0006】48はこのブロック化回路47からの画像
信号をDCT変換し、周波数領域についての(8×8)
のデータマトリクスを出力するDCT変換回路である。 即ち、図7(A)に示す如き画像データD11〜D88
からなる画素ブロックは、該回路50により図7(B)
に示す如きX11〜X88からなるデータマトリクスに
変換される。
48 performs DCT transformation on the image signal from this blocking circuit 47, and converts it into (8×8) in the frequency domain.
This is a DCT conversion circuit that outputs a data matrix. That is, image data D11 to D88 as shown in FIG. 7(A)
The pixel block consisting of
It is converted into a data matrix consisting of X11 to X88 as shown in FIG.

【0007】ここで、X11は画素ブロックの水平方向
及び垂直方向についての直流(DC)成分、即ち、この
画素ブロックの平均値を示している。このX11〜X8
8を一般にXijとすると、iが大きい程垂直方向に高
い周波数を有する成分、jが大きい程水平方向に高い周
波数を有する成分を示している。
Here, X11 represents a direct current (DC) component in the horizontal and vertical directions of the pixel block, that is, the average value of this pixel block. This X11~X8
8 is generally represented by Xij, the larger i is, the higher the frequency is in the vertical direction, and the larger j is, the higher the frequency is in the horizontal direction.

【0008】DCT変換回路48から出力されたデータ
マトリクスは線形量子化回路49に入力される。一方、
量子化マトリクス発生回路57は、各DCT係数X11
〜X88に対する量子化ステップサイズの重み付けを示
す量子化マトリクスW11〜W88(図7(C)に示す
)を発生し、発生回路56は係数Cを発生する。
The data matrix output from the DCT conversion circuit 48 is input to a linear quantization circuit 49. on the other hand,
The quantization matrix generation circuit 57 generates each DCT coefficient X11.
Quantization matrices W11 to W88 (shown in FIG. 7C) indicating weighting of the quantization step size to X88 are generated, and the generation circuit 56 generates a coefficient C.

【0009】また、直流成分G11以外の交流成分G1
2〜G88については、その量子化出力を上述の如く、
低周波成分から高周波成分へとジグザグ走査しながら符
号化し、量子化出力が0でない有意係数はその値により
グループに分類し、そのグループ識別番号と、直前の有
意係数との間にはさまれた量子化出力が0の無効係数の
個数のラン長とを組にしてハフマン符号化し、続いてグ
ループ内のいずれの値であるかを等長符号を付加する。
[0009] Also, an AC component G1 other than the DC component G11
2 to G88, the quantized output is as described above.
Encoding is performed while zigzag scanning from low frequency components to high frequency components, and significant coefficients whose quantized output is not 0 are classified into groups based on their values, and are sandwiched between the group identification number and the immediately preceding significant coefficient. The quantization output is combined with the run length of the number of invalid coefficients of 0 and subjected to Huffman encoding, and then an equal length code is added to indicate which value in the group it is.

【0010】一般に、画像の斜め方向の高周波成分は発
生確率が低いため、ジグザグ走査後のGijの後半部分
はすべて0になることが多いと予想される。従って、こ
の様にして得た可変長符号は非常に高い圧縮率が期待で
き、平均で数分の1程度の圧縮率を想定した場合には、
殆ど画質劣化のない画像が復元できる。
[0010] Generally, since high frequency components in the diagonal direction of an image have a low probability of occurrence, it is expected that the latter half of Gij after zigzag scanning will often be all zero. Therefore, the variable length code obtained in this way can be expected to have a very high compression rate, and assuming an average compression rate of about a fraction,
Images can be restored with almost no image quality deterioration.

【0011】一方、一般に伝送路は単位時間あたりの伝
送容量は定められており、動画像を伝送する場合の様に
所定期間毎に1画面を伝送しなければならない場合にお
いては、出力される符号が画面単位もしくは画素ブロッ
ク単位で固定されたビット数となることが望まれる。
On the other hand, the transmission capacity per unit time of a transmission path is generally determined, and when one screen must be transmitted every predetermined period, such as when transmitting a moving image, the output code It is desired that the number of bits be fixed for each screen or pixel block.

【0012】ここで、前述の係数Cを大きくとればGi
jが0となる確率が増加し、符号化されたデータの総ビ
ット数NBが減少する。この係数Cと総ビット数NBと
の関係は、画像によって異なるが何れにしても単純減少
関数であり、平均的な画像について図7(D)の如き対
数曲線となることが知られている。
Here, if the coefficient C mentioned above is made large, Gi
The probability that j becomes 0 increases, and the total number of bits NB of encoded data decreases. The relationship between the coefficient C and the total number of bits NB varies depending on the image, but in any case it is a simple decreasing function, and it is known that for an average image it becomes a logarithmic curve as shown in FIG. 7(D).

【0013】そこで、所望の総ビット数NB0を得るた
めの係数C0を予測する手法が前述のJPEG等により
提示されている。即ち、ある係数C1について先ず符号
化を行い、こうして得られた符号の総ビット数NB1を
求める。このNB1及びC1に基づきC0の予測値を計
算する、この計算は図7(D)に示す対数曲線が(C1
、NB1)上を通ることから予測することができる。
[0013] Therefore, a method of predicting the coefficient C0 to obtain the desired total number of bits NB0 has been proposed by the above-mentioned JPEG and the like. That is, a certain coefficient C1 is first encoded, and the total number of bits NB1 of the code thus obtained is determined. The predicted value of C0 is calculated based on this NB1 and C1. This calculation is performed so that the logarithmic curve shown in FIG.
, NB1).

【0014】上記のような操作を繰り返して、1フレー
ム毎に係数C0が決定される。この係数C0を示す係数
情報とVLC51から出力される画像圧縮データ(符号
化コード)は、フレームマルチプレクサ52で1フレー
ム分の前記画像圧縮データに対して1つ係数情報を付加
して出力する。
By repeating the above operations, the coefficient C0 is determined for each frame. The coefficient information indicating the coefficient C0 and the compressed image data (encoded code) output from the VLC 51 are outputted by a frame multiplexer 52 with one coefficient information added to the compressed image data for one frame.

【0015】これらのデータは誤り訂正符号(ECC)
符号化回路53で誤り訂正符号化され、変調回路54で
伝送路の特性に適した形に変調して出力端子56から伝
送路に伝送信号(伝送データ列)として出力する。
[0015] These data are error correcting codes (ECC)
The signal is error-corrected encoded in the encoding circuit 53, modulated in a form suitable for the characteristics of the transmission path in the modulation circuit 54, and output as a transmission signal (transmission data string) from the output terminal 56 to the transmission path.

【0016】次に、図6において図5の符号化装置に対
応する復号化装置の概要について簡単に説明する。
Next, referring to FIG. 6, the outline of a decoding device corresponding to the encoding device of FIG. 5 will be briefly explained.

【0017】図6は従来の復号化装置の概略構成例を説
明するためのブロック図である。
FIG. 6 is a block diagram for explaining a schematic configuration example of a conventional decoding device.

【0018】図6において伝送路上の伝送信号は、入力
端子59から入力されて復調回路60で復調されてEC
C復号回路61に入力される。
In FIG. 6, a transmission signal on a transmission path is inputted from an input terminal 59, demodulated by a demodulation circuit 60, and converted into an EC signal.
The signal is input to the C decoding circuit 61.

【0019】前記ECC復号回路61は所定のアルゴリ
ズムに従い伝送信号中の符号誤りを訂正する。前記EC
C復号回路61で誤り訂正がされた伝送信号は係数デコ
ーダ52に伝送されて前記係数デコーダ62において画
像情報と係数情報とに識別される。
The ECC decoding circuit 61 corrects code errors in the transmission signal according to a predetermined algorithm. Said EC
The transmission signal subjected to error correction by the C decoding circuit 61 is transmitted to the coefficient decoder 52, where it is distinguished into image information and coefficient information.

【0020】係数デコーダ62で識別された係数情報は
そのまま乗算器70に送られる。
The coefficient information identified by the coefficient decoder 62 is sent as is to the multiplier 70.

【0021】前記係数デコーダ62で識別された画像情
報は可変長復号化回路(IVLC)63に入力されて可
変長復号化されてそれ以降のジグザグ走査54、線形逆
量子化65及び逆DCT(IDCT)変換66までの処
理動作は、図5の符号化装置で説明したジグザグ走査5
0、線形量子化49及びDCT変換48の全く逆の演算
、処理を行う。
The image information identified by the coefficient decoder 62 is input to a variable length decoding circuit (IVLC) 63 where it is variable length decoded and subjected to subsequent zigzag scanning 54, linear inverse quantization 65 and inverse DCT (IDCT). ) The processing operations up to conversion 66 are the zigzag scan 5 described in the encoding device of FIG.
0, linear quantization 49 and DCT transformation 48 are performed.

【0022】前述の処理がされた画像情報はD/A変換
器67においてデジタル−アナログ変換されて出力端子
68に供給される。前記出力端子68からモニター等の
画像表示手段に入力される。
The image information subjected to the above processing is subjected to digital-to-analog conversion in a D/A converter 67 and is supplied to an output terminal 68. The signal is input from the output terminal 68 to an image display means such as a monitor.

【0023】[0023]

【発明が解決しようとする課題】このように従来の技術
では、量子化するための係数情報は1フレーム分の画像
情報に対して1つの係数情報が付加されていた。
As described above, in the conventional technology, one coefficient information for quantization is added to one frame of image information.

【0024】前記係数情報は画像の量子化特性を決定す
るので、画像の品質を左右する非常に重要なパラメータ
であるため、例えば伝送路上で前記係数情報に誤りが発
生した場合には1フレーム分の画像の量子化特性が破綻
し、視覚的に非常に見苦しい画像となってしまう問題が
あった。
Since the coefficient information determines the quantization characteristics of the image, it is a very important parameter that affects the quality of the image. Therefore, if an error occurs in the coefficient information on the transmission path, for example, one frame worth of information will be lost. There was a problem in that the quantization characteristics of the image were destroyed, resulting in a visually very unsightly image.

【0025】上述したような背景から本願発明は従来の
問題を解消し、画像再生の信頼性を向上させた画像符号
化装置及び復号化装置を提供することを目的としている
In light of the above-mentioned background, it is an object of the present invention to provide an image encoding device and a decoding device that solve the conventional problems and improve the reliability of image reproduction.

【0026】[0026]

【課題を解決するための手段】本願発明にかかる画像符
号化装置は、画像情報を周波数領域に変換して得た変換
データを量子化し、前記量子化された変換データを可変
長符号化する画像符号化装置であって、1フレームを複
数のブロックに分割し、画面毎に定められた前記量子化
のステップに係る係数情報を前記ブロック毎に付加する
ことを特徴とするものである。
[Means for Solving the Problems] An image encoding device according to the present invention quantizes transformed data obtained by transforming image information into a frequency domain, and variable-length encodes the quantized transformed data. The encoding device is characterized in that one frame is divided into a plurality of blocks, and coefficient information related to the quantization step determined for each screen is added to each block.

【0027】また画像復号化装置は、画像情報を周波数
領域に変換して得た変換データを量子化し、前記量子化
された変換データを可変長符号化し、1フレームを複数
のブロックに分割して前記ブロック毎の符号化された変
換データに前記量子化のステップに係る係数情報が付加
され、前記可変長符号化データを可変長符号化する画像
復号化装置であって、前記ブロック毎に前記係数情報の
誤りを検出する検出手段と、前記検出手段により検出さ
れたブロックの係数情報を他のブロックの係数情報と置
換する置換手段とを有することを特徴とするものである
[0027] The image decoding device also quantizes the transform data obtained by converting the image information into the frequency domain, variable-length encodes the quantized transform data, and divides one frame into a plurality of blocks. An image decoding device that adds coefficient information related to the quantization step to the encoded transform data for each block, and performs variable length encoding on the variable length encoded data, wherein the coefficient information is added for each block. The present invention is characterized by comprising a detection means for detecting an error in information, and a replacement means for replacing coefficient information of a block detected by the detection means with coefficient information of another block.

【0028】[0028]

【作用】上記発明によれば、伝送路上などで係数情報に
エラーが発生したときにも適宜情報データを置換するこ
とにより前記係数情報のエラーの影響を極めて小さく抑
えることができ、画像再生の信頼性を向上することがで
きる。
[Operation] According to the above invention, even when an error occurs in the coefficient information on a transmission path, the influence of the error in the coefficient information can be minimized by replacing the information data appropriately, and image reproduction is reliable. can improve sexual performance.

【0029】[0029]

【実施例】以下、本発明の実施例について説明する。[Examples] Examples of the present invention will be described below.

【0030】図1は本発明の実施例である画像伝送シス
テムの画像符号化装置のブロック図、図2は本発明の実
施例である画像伝送システムの画像復号化装置のブロッ
ク図、図3は本発明の実施例である一画面を説明する図
、図4は本発明の実施例である画像伝送システムの伝送
信号の形態を表わす図である。
FIG. 1 is a block diagram of an image encoding device of an image transmission system that is an embodiment of the present invention, FIG. 2 is a block diagram of an image decoding device of an image transmission system that is an embodiment of the present invention, and FIG. FIG. 4 is a diagram illustrating one screen according to an embodiment of the present invention. FIG. 4 is a diagram showing a form of a transmission signal of an image transmission system according to an embodiment of the present invention.

【0031】図1において、1はアナログ画像信号の入
力端子であり、前記入力端子1から入力された画像信号
はA/D変換器2にて8ビットにデジタル化される。
In FIG. 1, 1 is an input terminal for an analog image signal, and the image signal inputted from the input terminal 1 is digitized into 8 bits by an A/D converter 2.

【0032】デジタル化された画像信号は2次元空間フ
ィルタ(SPF)3に入力され、後述するDCT変換の
際にデータ化が不能な高周波成分が除去される。
The digitized image signal is input to a two-dimensional spatial filter (SPF) 3, and high frequency components that cannot be converted into data are removed during DCT transformation, which will be described later.

【0033】前記処理がされたデジタル画像信号はブロ
ック化回路4に入力され、ここで2次元的に(8×8)
画素からなる画素ブロックに分割され、この画素ブロッ
ク単位で後段に送出される。
The processed digital image signal is input to the blocking circuit 4, where it is two-dimensionally (8×8)
The image is divided into pixel blocks each consisting of pixels, and sent to the subsequent stage in units of pixel blocks.

【0034】次にブロック化回路4からの画像信号はD
CT変換回路5に入力される。即ち、図7(A)に示す
如き画像データD11〜D88からなる画素ブロックは
、該回路5により図7(B)に示す如きX11〜X88
からなるデータマトリクスに変換される。
Next, the image signal from the blocking circuit 4 is D
It is input to the CT conversion circuit 5. That is, the pixel block consisting of image data D11 to D88 as shown in FIG.
is converted into a data matrix consisting of

【0035】ここで、X11は画素ブロックの水平方向
及び垂直方向についての直流(DC)成分、即ち、この
画素ブロックの平均値を示している。このX11〜X8
8を一般にXijとすると、iが大きい程垂直方向に高
い周波数を有する成分、jが大きい程水平方向に高い周
波数を有する成分を示している。
Here, X11 represents a direct current (DC) component in the horizontal and vertical directions of the pixel block, that is, the average value of this pixel block. This X11~X8
8 is generally represented by Xij, the larger i is, the higher the frequency is in the vertical direction, and the larger j is, the higher the frequency is in the horizontal direction.

【0036】DCT変換回路5から出力されたデータマ
トリクスは線形量子化回路6に入力される。一方、量子
化マトリクス発生回路13は、各DCT係数X11〜X
88に対する量子化ステップサイズの重み付けを示す量
子化マトリクスW11〜W88(図7(C)に示す)を
発生し、係数発生回路14は係数Cを発生する。この量
子化マトリクスW11〜W88及び係数Cは乗算器15
へ入力される。乗算器15では(Wij×C)を演算し
、線形量子化回路6の量子化ステップはこの乗算器15
の出力Q11〜Q88に従って決定される。
The data matrix output from the DCT conversion circuit 5 is input to a linear quantization circuit 6. On the other hand, the quantization matrix generation circuit 13 generates each DCT coefficient X11 to
The coefficient generation circuit 14 generates a coefficient C by generating a quantization matrix W11 to W88 (shown in FIG. These quantization matrices W11 to W88 and coefficient C are supplied to the multiplier 15.
is input to. The multiplier 15 calculates (Wij×C), and the quantization step of the linear quantization circuit 6 is performed by this multiplier 15.
is determined according to the outputs Q11 to Q88.

【0037】ここで係数Cは正の値であり、前記係数C
の値により画質や発生データ量が制御される。
[0037] Here, the coefficient C is a positive value, and the coefficient C
The image quality and amount of generated data are controlled by the value of .

【0038】実際には、線形量子化回路6ではXij/
Qijが演算され、出力される。この線形量子化回路6
の出力をG11〜Q88とする。この量子化された変換
データG11〜G88はジグザグ走査回路7にて直流成
分から順に送出される。即ち、ジグザグ走査回路7から
は、G11〜G88がG11,G12,G21,G31
,G22,G13,G14,G23,G32,G41…
,G85,G86,G77,G68,G78,G87,
G88の順で可変長符号化回路(VLC)8に供給され
る。
Actually, in the linear quantization circuit 6, Xij/
Qij is calculated and output. This linear quantization circuit 6
The outputs of G11 to Q88 are assumed to be G11 to Q88. The quantized conversion data G11 to G88 are sent out in order from the DC component by the zigzag scanning circuit 7. That is, from the zigzag scanning circuit 7, G11 to G88 are G11, G12, G21, G31.
,G22,G13,G14,G23,G32,G41...
,G85,G86,G77,G68,G78,G87,
The signals are supplied to the variable length coding circuit (VLC) 8 in the order of G88.

【0039】VLC8においては、例えば直流成分G1
1については近傍に位置する画素ブロック間で予測値を
算出し、この予測値との予測誤差をハフマン符号化する
In VLC8, for example, the DC component G1
1, a predicted value is calculated between pixel blocks located in the vicinity, and a prediction error with this predicted value is Huffman encoded.

【0040】一方、一般に伝送路は単位時間あたりの伝
送容量は定められており、動画像を伝送する場合の様に
所定期間毎に1画面を伝送しなければならない場合にお
いては、出力される符号が画面単位もしくは画素ブロッ
ク単位で固定されたビット数となることが望まれる。
On the other hand, the transmission capacity per unit time of a transmission path is generally determined, and when one screen must be transmitted every predetermined period, such as when transmitting a moving image, the output code It is desired that the number of bits be fixed for each screen or pixel block.

【0041】ここで、前述の係数Cを大きくとればGi
jが0となる確率が増加し、符号化されたデータの総ビ
ット数NBが減少する。この係数Cと総ビット数NBと
の関係は、画像によって異なるが何れにしても単純減少
関数であり、平均的な画像について図7(D)の如き対
数曲線となることが知られている。
Here, if the coefficient C mentioned above is made large, Gi
The probability that j becomes 0 increases, and the total number of bits NB of encoded data decreases. The relationship between the coefficient C and the total number of bits NB varies depending on the image, but in any case it is a simple decreasing function, and it is known that for an average image it becomes a logarithmic curve as shown in FIG. 7(D).

【0042】そこで、所望の総ビット数NB0を得るた
めの係数C0を予測する手法が前述のJPEG等により
提示されている。即ち、ある係数C1について先ず符号
化を行い、こうして得られた符号の総ビット数NB1を
求める。このNB1及びC1に基づきC0の予測値を計
算する。この計算は図6(D)に示す対数曲線が(C1
、NB1)上を通ることから予測することができる。
[0042] Therefore, a method of predicting the coefficient C0 to obtain the desired total number of bits NB0 has been proposed by the above-mentioned JPEG and the like. That is, a certain coefficient C1 is first encoded, and the total number of bits NB1 of the code thus obtained is determined. A predicted value of C0 is calculated based on this NB1 and C1. This calculation shows that the logarithmic curve shown in Figure 6(D) is (C1
, NB1).

【0043】上述の計算で得られた係数C0及びVLC
8から出力される可変長符号化された画像信号はリシン
クマルチプレクサ9に入力される。前記リシンクマルチ
プレクサ9では一画面(1フレーム)を複数の領域に分
割し、前記分割領域毎の画像信号毎に前記係数C0の情
報を付加して出力している。
Coefficient C0 and VLC obtained by the above calculation
The variable-length coded image signal output from the resync multiplexer 9 is input to the resync multiplexer 9 . The resync multiplexer 9 divides one screen (one frame) into a plurality of regions, and outputs the image signals of each divided region with information on the coefficient C0 added thereto.

【0044】前記分割領域のことを以下リシンクブロッ
クと呼び、図3に本実施例での1フレームにおけるリシ
ンクブロックの関係を説明する図を示す。
The divided areas are hereinafter referred to as resync blocks, and FIG. 3 is a diagram illustrating the relationship between resync blocks in one frame in this embodiment.

【0045】図3において、一画面を横1280画素、
縦1088画素とすると、各8ビットでA/D変換され
た画像であるとすると、一画面当りのデータ量は、12
80×1088×8=11,141,120ビットとな
る。
In FIG. 3, one screen is 1280 pixels horizontally,
Assuming that the vertical pixels are 1088 pixels, and the image is A/D converted with 8 bits each, the amount of data per screen is 12
80×1088×8=11,141,120 bits.

【0046】横8画素×縦8画素をDCT変換ブロック
としており、又、1枚の画像データ量も決まっているの
で、リシンクブロックを画像の切りのよい、DCTブロ
ックを40個まとめたものをリシンクブロックとする。
[0046] Since the DCT conversion block is 8 pixels horizontally x 8 pixels vertically, and the amount of data for one image is also fixed, the resync block is a collection of 40 DCT blocks with a well-cut image. Block.

【0047】従って、一画面は横4、縦136に分割さ
れた合計544のリシンクブロックがあつまって一画面
を形成していることになる。
Therefore, one screen is made up of a total of 544 resync blocks divided into 4 horizontal by 136 vertical blocks.

【0048】尚、1リシンクブロック当りのデータ量は
40×8×8×8=20,480ビットとなる。
Note that the amount of data per resync block is 40×8×8×8=20,480 bits.

【0049】次に、図4にリシンクマルチプレクサ9か
ら出力される伝送信号形式を示している。
Next, FIG. 4 shows the transmission signal format output from the resync multiplexer 9.

【0050】図4において、30は垂直シンクコード、
31、34、37、40及び43はリシンクコード、3
2、35、38、41及び44は係数情報コードである
。前記係数情報コードとは本実施例においては係数C0
の情報コードである。
In FIG. 4, 30 is a vertical sync code;
31, 34, 37, 40 and 43 are resync codes, 3
2, 35, 38, 41 and 44 are coefficient information codes. The coefficient information code is the coefficient C0 in this embodiment.
This is the information code.

【0051】33、36、39、42及び45は可変長
符号化された画像データである。以上の様な伝送信号形
式でリシンクマルチプレクサ9から出力される。
33, 36, 39, 42 and 45 are variable length coded image data. The resync multiplexer 9 outputs the transmission signal in the above-described format.

【0052】前記リシンクマルチプレクサ9から出力さ
れた信号はECC回路10で誤り訂正符号化され、変調
回路11で伝送路の特性に適した形に変調して出力端子
12から伝送路に送出する。
The signal output from the resync multiplexer 9 is error-corrected encoded in an ECC circuit 10, modulated in a form suitable for the characteristics of the transmission path in a modulation circuit 11, and sent out from an output terminal 12 to the transmission path.

【0053】次に、図2において本発明の実施例である
画像復号化装置の構成及び動作を説明する。
Next, the configuration and operation of an image decoding apparatus according to an embodiment of the present invention will be explained with reference to FIG.

【0054】伝送路上の伝送信号(伝送データ列)は、
入力端子16から入力されて復調回路17で復調されて
ECC復号回路18に入力される。
The transmission signal (transmission data string) on the transmission path is
The signal is input from the input terminal 16, demodulated by the demodulation circuit 17, and input to the ECC decoding circuit 18.

【0055】前記ECC復号回路18は所定のアルゴリ
ズムに従い伝送データ列中の符号誤り訂正する。また、
誤り訂正不能と判定されたデータが発生した場合は、各
誤り訂正符号の符号語毎に出力されるエラーフラグを“
1”とする。このエラーフラグはリシンクブロックエラ
ー判別回路18aへ入力される。
The ECC decoding circuit 18 corrects code errors in the transmission data string according to a predetermined algorithm. Also,
If data determined to be uncorrectable occurs, the error flag output for each code word of each error correction code is
1''. This error flag is input to the resync block error determination circuit 18a.

【0056】前記リシンクブロックエラー判別回路18
aでは前記エラーフラグが“1”となる符号語に係数情
報が含まれているブロックを判別し、前記係数情報が含
まれているブロックがある時は画像情報のリシンクブロ
ック毎に出力されるリシンクブロックエラー信号を“1
”とする。このリシンクブロックエラー信号は係数セレ
クタ27に入力される。
The resync block error determination circuit 18
In a, a block in which coefficient information is included in the code word for which the error flag is "1" is determined, and if there is a block in which the coefficient information is included, resync is output for each resync block of image information. Set the block error signal to “1”
”. This resync block error signal is input to the coefficient selector 27.

【0057】前記ECC復号回路18で誤り訂正がされ
た伝送信号は係数デコーダ19に入力されて前記係数デ
コーダ19において画像情報信号と係数情報信号とに識
別される。
The transmission signal error-corrected by the ECC decoding circuit 18 is input to the coefficient decoder 19, where it is distinguished into an image information signal and a coefficient information signal.

【0058】一方、係数デコーダ19で識別された係数
情報は係数セレクタ27に入力される。この時、係数セ
レクタ27にリシンクブロックエラー判別回路18aか
らリシンクブロックエラー信号として“1”が入力され
ていなかった場合は係数デコーダ19で識別された係数
情報はそのまま乗算器28に入力される。
On the other hand, the coefficient information identified by the coefficient decoder 19 is input to the coefficient selector 27. At this time, if "1" is not input as a resync block error signal from the resync block error determination circuit 18a to the coefficient selector 27, the coefficient information identified by the coefficient decoder 19 is input as is to the multiplier 28.

【0059】前記係数デコーダ19で識別された画像情
報信号はIVLC20に入力されて可変長復号化され、
それ以降のジグザグ走査21、線形逆量子化22、逆量
子化マトリクス発生回路29及びIDCT変換23まで
の処理動作、図1の符号化装置で説明したジグザグ走査
7、線形量子化6、量子化マトリクス発生回路13及び
DCT変換5の全く逆の演算、処理を行う。
The image information signal identified by the coefficient decoder 19 is input to the IVLC 20 and variable length decoded,
The subsequent processing operations of zigzag scanning 21, linear inverse quantization 22, inverse quantization matrix generation circuit 29, and IDCT conversion 23, zigzag scanning 7, linear quantization 6, and quantization matrix explained in the encoding device of FIG. Calculations and processing that are completely opposite to those of the generation circuit 13 and the DCT conversion 5 are performed.

【0060】前述した処理がなされた画像情報はフレー
ムメモリ24にてバッファリングされD/A変換器25
においてデジタル−アナログ変換されて出力端子26に
供給される。前記出力端子26からモニター等の画像表
示手段に入力される。
The image information subjected to the above-described processing is buffered in the frame memory 24 and sent to the D/A converter 25.
The signal is digital-to-analog converted and supplied to the output terminal 26. The signal is input from the output terminal 26 to an image display means such as a monitor.

【0061】一方、前記リシンクブロックエラー信号と
して、“1”が係数セレクタ27に入力されている場合
は、前記係数セレクタ27はその訂正不能のリシンクブ
ロックに付加された係数情報信号を無視し、乗算器28
へは前記訂正不能のリシンクブロック以前あるいは以後
のリシンクブロックに付加されている係数情報と置換す
る。
On the other hand, if "1" is input to the coefficient selector 27 as the resync block error signal, the coefficient selector 27 ignores the coefficient information signal added to the uncorrectable resync block and performs multiplication. vessel 28
is replaced with coefficient information added to a resync block before or after the uncorrectable resync block.

【0062】また、1フレームに訂正不能なリシンクブ
ロックの数が3個以上発生した場合はその処理中のフレ
ームを無視し、それ以前或いは以後のフレームをフリー
ズする。つまり係数セレクタ27にはリシンクブロック
カウンタが内蔵されておりリシンクブロックのエラーブ
ロック数が1フレーム中である閾値を越えた場合にはフ
レームメモリ24にフリーズ信号を送り、フレームメモ
リ24では前記フリーズ信号に従い現フレームの画像情
報信号を出力せず、前或は後のフレームの画像情報を出
力する。即ち、現フレームの画像情報を置換することに
なる。
Furthermore, if three or more uncorrectable resync blocks occur in one frame, the frame being processed is ignored, and the previous or subsequent frames are frozen. In other words, the coefficient selector 27 has a built-in resync block counter, and when the number of error blocks in the resync block exceeds a certain threshold in one frame, it sends a freeze signal to the frame memory 24, and the frame memory 24 follows the freeze signal. The image information signal of the current frame is not output, but the image information of the previous or subsequent frame is output. That is, the image information of the current frame is replaced.

【0063】係数セレクタ27の処理動作を更に詳細に
図4を用いて説明する。
The processing operation of the coefficient selector 27 will be explained in more detail with reference to FIG.

【0064】図4の伝送信号が伝送路上でエラーが発生
し、図2中のECC復号回路18で図4中の区間1にお
いてエラーフラグが“1”となったとする。ここではエ
ラー訂正不可能である符号語に対してはエラーフラグが
“1”となり、このエラーフラグがリシンクブロックエ
ラー判別回路18aに入力されてこのエラーフラグが“
1”となった符号語に係数情報が含まれているか判別さ
れる。
Assume that an error occurs in the transmission signal of FIG. 4 on the transmission path, and the error flag becomes "1" in section 1 of FIG. 4 in the ECC decoding circuit 18 of FIG. Here, the error flag is set to "1" for a code word for which error correction is not possible, and this error flag is input to the resync block error determination circuit 18a, and this error flag is set to "1".
It is determined whether the code word that has become 1'' contains coefficient information.

【0065】区間1には係数情報38及び41が含まれ
ているため、リシンクブロックエラー判別回路18aは
前記係数情報38及び41に対応するリシンクブロック
の画像情報に対してリシンクブロックエラー信号として
“1”を係数セレクタ27に入力する。
Since section 1 includes coefficient information 38 and 41, the resync block error determination circuit 18a outputs "1" as a resync block error signal to the image information of the resync block corresponding to the coefficient information 38 and 41. ” is input to the coefficient selector 27.

【0066】前記係数セレクタ27は、前記リシンクブ
ロック受信を受け、区間1内の係数情報38及び41を
無視し、乗算器28には前記係数情報38及び41は送
出せず、前記係数情報38及び41の代わりに、以前の
リシンクブロックに付加された係数情報を送出する。例
えば係数情報35である。
The coefficient selector 27 receives the resync block, ignores the coefficient information 38 and 41 in section 1, does not send the coefficient information 38 and 41 to the multiplier 28, and outputs the coefficient information 38 and 41 to the multiplier 28. 41, the coefficient information added to the previous resync block is sent. For example, it is coefficient information 35.

【0067】前記係数セレクタ27にはリシンクブロッ
クエラーカウンタを内蔵しており、リシンクブロックの
エラーブロック数がある閾値を越えた場合は、このフレ
ームの画像は信頼性が低いと考え、前フレームの画像に
置換する。本実施例ではリシンクブロックのエラー数の
閾値を2個とした。
The coefficient selector 27 has a built-in resync block error counter, and when the number of error blocks in the resync block exceeds a certain threshold, the image of this frame is considered to have low reliability, and the image of the previous frame is Replace with In this embodiment, the threshold value for the number of errors in a resync block is set to two.

【0068】図4を例にとり具体的に説明する。A specific explanation will be given using FIG. 4 as an example.

【0069】例えば区間2で係数情報に誤りが発生した
場合はリシンクブロックのエラーブロック数が3個であ
るため係数セレクタ27はフレームメモリ24に前フレ
ームの画像をフリーズするフリーズ信号を前記フレーム
メモリ24に入力し、前フレームの画像をフリーズする
For example, when an error occurs in the coefficient information in section 2, the number of error blocks in the resync block is three, so the coefficient selector 27 sends a freeze signal to the frame memory 24 to freeze the image of the previous frame. to freeze the previous frame image.

【0070】尚、係数情報或は画像情報を置換する場合
にそれよりも前に処理されたものを置換しているが以後
の係数情報或は画像情報でも良いことは自明である。
Note that when replacing coefficient information or image information, previously processed information is replaced, but it is obvious that subsequent coefficient information or image information may be used.

【0071】[0071]

【発明の効果】以上説明したように本願発明の画像信号
符号化装置及び復号化装置は、画像情報を周波数領域に
変換して得た変換データを量子化し、前記量子化された
変換データを可変長符号化する符号化装置及びその符号
化された画像情報を復号化する復号化装置であって、1
フレームを複数のブロックに分割し、符号化された画像
情報の前記量子化のステップに係る係数情報を前記ブロ
ック毎に付加することにより、前記符号化された画像情
報を復号化する場合に、前記ブロック毎に前記係数情報
の誤りを検出する検出手段と、前記検出手段により検出
されたブロックの係数情報を他のブロックの係数情報と
置換する置換手段とを有するものであるから、伝送路上
などで前記係数情報にエラーが発生したときは、そのエ
ラー係数情報を無視し、有効な係数情報を他のブロック
より代用して画像再生の信頼性を向上させることができ
る。
[Effects of the Invention] As explained above, the image signal encoding device and decoding device of the present invention quantizes the transformed data obtained by converting image information into the frequency domain, and makes the quantized transformed data variable. An encoding device that performs long encoding and a decoding device that decodes the encoded image information, comprising: 1
When decoding the encoded image information by dividing a frame into a plurality of blocks and adding coefficient information related to the quantization step of the encoded image information to each block, Since it has a detection means for detecting an error in the coefficient information for each block, and a replacement means for replacing the coefficient information of the block detected by the detection means with the coefficient information of another block, When an error occurs in the coefficient information, the error coefficient information can be ignored and effective coefficient information can be substituted for other blocks to improve the reliability of image reproduction.

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

【図1】本実施例にかかる画像符号化装置のブロック図
である。
FIG. 1 is a block diagram of an image encoding device according to an embodiment.

【図2】本実施例にかかる画像復号化装置のブロック図
である。
FIG. 2 is a block diagram of an image decoding device according to the present embodiment.

【図3】本実施例にかかる1フレームの構成図である。FIG. 3 is a configuration diagram of one frame according to this embodiment.

【図4】本実施例にかかる伝送信号の形態を表す図であ
る。
FIG. 4 is a diagram showing the form of a transmission signal according to the present embodiment.

【図5】従来の画像符号化装置のブロック図である。FIG. 5 is a block diagram of a conventional image encoding device.

【図6】従来の画像復号化装置のブロック図である。FIG. 6 is a block diagram of a conventional image decoding device.

【図7】図1及び図5に示す符号化方式の処理を説明す
るための図である。
FIG. 7 is a diagram for explaining processing of the encoding method shown in FIGS. 1 and 5. FIG.

【符号の説明】[Explanation of symbols]

9  シンクマルチプレクサ 18  ECC復号回路 18a  リシンクブロックエラー判別回路19  係
数デコーダ 27  係数セレクタ
9 Sync multiplexer 18 ECC decoding circuit 18a Resync block error determination circuit 19 Coefficient decoder 27 Coefficient selector

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】  画像情報を周波数領域に変換して得た
変換データを量子化し、前記量子化された変換データを
可変長符号化する画像符号化装置であって、1フレーム
を複数のブロックに分割し、画面毎に定められた前記量
子化のステップに係る係数情報を前記ブロック毎に付加
することを特徴とする画像符号化装置。
1. An image encoding device that quantizes transformed data obtained by transforming image information into a frequency domain, and encodes the quantized transformed data with variable length encoding, the apparatus comprising: converting one frame into a plurality of blocks; An image encoding apparatus characterized in that the image is divided and coefficient information related to the quantization step determined for each screen is added to each block.
【請求項2】  画像情報を周波数領域に変換して得た
変換データを量子化し、前記量子化された変換データを
可変長符号化し、1フレームを複数のブロックに分割し
て前記ブロック毎の符号化された変換データに前記量子
化のステップに係る係数情報が付加され、前記可変長符
号化データを可変長復号化する画像復号化装置であって
、前記ブロック毎に前記係数情報の誤りを検出する検出
手段と、前記検出手段により検出されたブロックの係数
情報を他のブロックの係数情報と置換する置換手段とを
有することを特徴とする画像復号化装置。
2. Transform data obtained by converting image information into the frequency domain is quantized, the quantized transform data is variable-length coded, one frame is divided into a plurality of blocks, and each block is coded. An image decoding device that adds coefficient information related to the quantization step to the quantized transform data and performs variable length decoding of the variable length encoded data, the image decoding device detecting errors in the coefficient information for each block. An image decoding device comprising: a detection means for detecting a block detected by the detection means; and a replacement means for replacing coefficient information of a block detected by the detection means with coefficient information of another block.
【請求項3】  前記検出手段によって検出されたブロ
ック数が1フレーム内で所定の数以上あった場合は、そ
のフレームを他のフレームと置換することを特徴とする
請求項2の画像復号化装置。
3. The image decoding device according to claim 2, wherein when the number of blocks detected by the detection means is equal to or greater than a predetermined number within one frame, that frame is replaced with another frame. .
【請求項4】  画像情報を量子化し、前記量子化され
た変換データを可変長符号化する画像符号化装置であっ
て、1フレームを複数のブロックに分割し、画面毎に定
められた前記量子化のステップに係る係数情報を前記ブ
ロック毎に付加することを特徴とする画像符号化装置。
4. An image encoding device that quantizes image information and variable-length encodes the quantized transform data, the device divides one frame into a plurality of blocks, and divides one frame into a plurality of blocks and encodes the quantized data determined for each screen. An image encoding device characterized in that coefficient information related to the step of converting is added to each block.
【請求項5】  画像情報を量子化し、前記量子化され
た変換データを可変長符号化し、1フレームを複数のブ
ロックに分割して前記ブロック毎の符号化された変換デ
ータに前記量子化のステップに係る係数情報が付加され
、前記可変長符号化データを可変長復号化する画像復号
化装置であって、前記ブロック毎に前記係数情報の誤り
を検出する検出手段と、前記検出手段により検出された
ブロックの係数情報を他のブロックの係数情報と置換す
る置換手段とを有することを特徴とする画像復号化装置
5. The quantization step of quantizing image information, variable length encoding the quantized transform data, dividing one frame into a plurality of blocks, and converting the encoded transform data into each block. An image decoding apparatus that performs variable length decoding of the variable length coded data, the image decoding apparatus comprising: a detection means for detecting errors in the coefficient information for each block; and a detection means for detecting errors in the coefficient information for each block; 1. An image decoding device, comprising: replacement means for replacing coefficient information of a block with coefficient information of another block.
JP3113228A 1991-05-17 1991-05-17 Picture coder and decoder Pending JPH04341066A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP3113228A JPH04341066A (en) 1991-05-17 1991-05-17 Picture coder and decoder
US07/882,618 US5657399A (en) 1991-05-17 1992-05-13 Encoding/decoding apparatus using quantizing steps information
EP92304396A EP0514188B1 (en) 1991-05-17 1992-05-15 Encoding/decoding apparatus
DE69231825T DE69231825T2 (en) 1991-05-17 1992-05-15 Encoding and decoding device
DE69233318T DE69233318T2 (en) 1991-05-17 1992-05-15 Encoding / decoding device
EP99200142A EP0917373B1 (en) 1991-05-17 1992-05-15 Encoding/decoding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3113228A JPH04341066A (en) 1991-05-17 1991-05-17 Picture coder and decoder

Publications (1)

Publication Number Publication Date
JPH04341066A true JPH04341066A (en) 1992-11-27

Family

ID=14606816

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3113228A Pending JPH04341066A (en) 1991-05-17 1991-05-17 Picture coder and decoder

Country Status (1)

Country Link
JP (1) JPH04341066A (en)

Similar Documents

Publication Publication Date Title
US6600836B1 (en) Quality based image compression
JPH04323961A (en) Picture coding method and device
JP2624087B2 (en) Video signal decoding method
JP2530090B2 (en) Video signal encoder
KR20010110629A (en) Method and system for compressing motion image information
US5657399A (en) Encoding/decoding apparatus using quantizing steps information
JP2001519988A (en) System for extracting coding parameters from video data
JP2841362B2 (en) High efficiency coding device
JP2901656B2 (en) Image coding device
JPH04341066A (en) Picture coder and decoder
JP3192436B2 (en) Image decoding apparatus and method
JPS63284974A (en) Picture compression system
JPH08251418A (en) Block distortion reduction device and reduction method
JP2862022B2 (en) Image coding method
JP3200073B2 (en) Image processing device
JP3807110B2 (en) Image encoding device
KR0125121B1 (en) Apparatus for encoding the moving picture
JP3198559B2 (en) Video information amount compression and / or information amount expansion device
JPH0937250A (en) Image data decoder and image data decoding method
JPH05260308A (en) Static image coding device
JPH06244736A (en) Encoder
JPH0775103A (en) Image encoder
JP3614884B2 (en) Image coding apparatus and image coding method
JP3011298B2 (en) Image decoding device
JP2007306528A (en) Motion picture decoding device and motion picture decoding method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020226