JPH09238352A - Image coder and image decoder - Google Patents

Image coder and image decoder

Info

Publication number
JPH09238352A
JPH09238352A JP6739296A JP6739296A JPH09238352A JP H09238352 A JPH09238352 A JP H09238352A JP 6739296 A JP6739296 A JP 6739296A JP 6739296 A JP6739296 A JP 6739296A JP H09238352 A JPH09238352 A JP H09238352A
Authority
JP
Japan
Prior art keywords
information
error
boundary
image
detecting means
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
JP6739296A
Other languages
Japanese (ja)
Inventor
Katsumi Karasawa
勝己 柄沢
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 JP6739296A priority Critical patent/JPH09238352A/en
Publication of JPH09238352A publication Critical patent/JPH09238352A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent deterioration in a reproduced image by correcting an error with respect to occurrence of the error in decoding of variable length coding data so as to detect the data. SOLUTION: A digital image signal via an A/D converter circuit 402 is given to a block division circuit 403, in which one image pattern is divided and processed in parallel. Then an error check code is added to variable length coded data from a high efficiency coding circuit 404, a formatter 405 is used to pack the code to a fixed length transmission block and the resulting block is given to a synchronizing signal detection circuit 408 via a transmission line 407. In the circuit 408, transmission synchronization is taken and the data are stored in a memory 409 and an error correction circuit 410 corrects an error on the transmission line 407. Then the ata are decoded to an original block signal by a high efficiency decoding circuit 412 via an ID detector 411. The block signal is outputted as an analog signal via an LS conversion circuit 443 and a D/C conversion circuit 414. Thus, even on the occurrence of an error in the decoding of variable length coding data, data are detected and deterioration in the reproduced image is prevented.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、動き補償予測符号
化を用いた高能率に画像データの符号化・複合化を行う
画像符号化装置及び画像複号化装置の改良に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement of an image coding apparatus and an image decoding apparatus for highly efficiently coding / decoding image data using motion compensation predictive coding.

【0002】[0002]

【従来の技術】近年、動画像符号化の手段として予測符
号化やDCT(Discrete Cosine Transform )等の高能
率符号化が為され、更に符号化効率を上げるために画像
の時間方向に対する相関性を利用し、連続するフレーム
やフィールド間での動きベクトルを検出しそれを基に動
き補償することが行われると共に、可変長符号化データ
のデータ発生量をある範囲内に制御する伝送方式が主流
となっている。
2. Description of the Related Art In recent years, high-efficiency coding such as predictive coding and DCT (Discrete Cosine Transform) has been carried out as a means for coding moving images, and in order to further improve coding efficiency, the correlation in the time direction of images has been improved. The mainstream is the transmission method that detects the motion vector between consecutive frames and fields and compensates the motion based on it by using it, and controls the data generation amount of the variable length coded data within a certain range. Has become.

【0003】図4は、この動き補償予測符号化を用いた
画像符号化・復号化装置の概略構成を示すブロック図で
ある。
FIG. 4 is a block diagram showing a schematic configuration of an image coding / decoding device using this motion compensation predictive coding.

【0004】図4において、入力端子301にアナログ
画像信号が入力され、A/D変換回路302にてディジ
タル信号に変換される。
In FIG. 4, an analog image signal is input to the input terminal 301 and is converted into a digital signal by the A / D conversion circuit 302.

【0005】ディジタル化された画像信号は、ブロック
分割回路303によって水平方向m画素,垂直方向nラ
インのブロック、例えば図5(a)に示す様に、m=n
=8、すなわち8×8画素単位にブロック化され、更に
輝度信号を16×16画素、色信号を16×8画素のデ
ータから構成されるMDUブロックデータに変換され
る。又、図5(b)に示す様に、15個のMDUブロッ
クを1MDU_LINEとして1画面を8Phaseに
分割して並列処理される。
The digitized image signal is converted into a block of m pixels in the horizontal direction and n lines in the vertical direction by a block division circuit 303, for example, m = n as shown in FIG.
= 8, that is, it is divided into blocks in units of 8 × 8 pixels, and further converted into MDU block data composed of data of luminance signals of 16 × 16 pixels and color signals of 16 × 8 pixels. Further, as shown in FIG. 5B, 15 MDU blocks are set as 1 MDU_LINE, and one screen is divided into 8 Phases for parallel processing.

【0006】Phase毎に分割されたブロック信号
は、それぞれPhase毎に図4の高能率符号化回路3
04にて符号化され、その情報量が削減される。該符号
化回路304では、符号化効率向上のために動き補償予
測符号化が行われ、例えば図6(a)に示す様なフォー
マットで出力される。
The block signal divided for each phase is the high efficiency encoding circuit 3 of FIG. 4 for each phase.
It is encoded in 04, and the amount of information is reduced. In the encoding circuit 304, motion compensation predictive encoding is performed in order to improve encoding efficiency, and the encoded data is output in a format as shown in FIG. 6A, for example.

【0007】ここで、ID1に書き込まれる動き情報と
は、動きモード情報と動きベクトルを示す。
Here, the motion information written in ID1 indicates motion mode information and a motion vector.

【0008】該ID1及び可変長符号化データは、図4
のフォーマッタ305に供給される。フォーマッタ30
5では、図6(b)に示す様な固定長の伝送ブロックに
前述のID1及び可変長符号化データを順次詰め込み、
ID2にその内符号列のID1の有無、ID1有の時の
位置情報及び誤り検出符号を書き込む。更に伝送同期の
ための同期信号が付加され、図4の誤り訂正符号化回路
306にて誤り訂正符号化されて伝送路307へ送出さ
れる。
The ID1 and the variable length coded data are shown in FIG.
Of the formatter 305. Formatter 30
In Fig. 5, the above-mentioned ID1 and variable length coded data are sequentially packed in a fixed length transmission block as shown in Fig. 6B,
The presence / absence of ID1 in the inner code string, the position information when ID1 is present, and the error detection code are written in ID2. Further, a synchronization signal for transmission synchronization is added, error correction coded by the error correction coding circuit 306 in FIG. 4, and sent to the transmission line 307.

【0009】受信側では、伝送路307を介したデータ
は同期検出回路308にて伝送同期がとられ、メモリ3
09に蓄えられる。蓄えられたデータに対し誤り訂正回
路310によって伝送路307上で生じた誤りが訂正さ
れる。メモリ309からは符号誤りの訂正が施されたデ
ータが出力され、ID検出回路311へ供給される。I
D検出回路311では、ID2の誤り検出結果よりID
1の有無判定及び位置を検出し、ID1内にMDU_L
INE No.とPhase No.からPhase毎
に高能率復号化回路(1〜8)312へ可変長符号化デ
ータを供給する。
On the receiving side, the data transmitted through the transmission path 307 is transmission-synchronized by the synchronization detection circuit 308, and the memory 3
It is stored in 09. The error correction circuit 310 corrects the error generated on the transmission line 307 with respect to the stored data. The data in which the code error is corrected is output from the memory 309 and supplied to the ID detection circuit 311. I
In the D detection circuit 311, the ID is detected from the error detection result of ID2.
1 presence / absence determination and position are detected, and MDU_L is stored in ID1.
INE No. And Phase No. To the high-efficiency decoding circuits (1 to 8) 312 for each Phase from the variable length coded data.

【0010】高能率復号化回路312では、前述の高能
率符号化回路304と反対の処理によって元のブロック
信号に復号される。このブロック信号はLS変換回路3
13にてライン・スキャン構造のディジタル信号に変換
され、D/A変換回路314にてアナログ信号となって
出力端子315に出力される。
In the high efficiency decoding circuit 312, the original block signal is decoded by the processing opposite to that of the high efficiency encoding circuit 304 described above. This block signal is the LS conversion circuit 3
It is converted into a digital signal having a line scan structure at 13, and is converted into an analog signal at the D / A conversion circuit 314 and output to the output terminal 315.

【0011】ID検出回路311の詳細なブロック図を
図7に示す。
A detailed block diagram of the ID detection circuit 311 is shown in FIG.

【0012】図4のメモリ309から符号誤りの訂正が
施されたデータが図7の入力端子201から入力され、
ID2誤り検出回路202及びID2切換スイッチ20
3へ供給される。
Data corrected for code error is input from the memory 309 of FIG. 4 from the input terminal 201 of FIG.
ID2 error detection circuit 202 and ID2 changeover switch 20
3.

【0013】ID2誤り検出回路202では、ID2内
の誤り検出を行い、検出結果によってID2切換スイッ
チ203を制御する。
The ID2 error detection circuit 202 detects an error in the ID2 and controls the ID2 changeover switch 203 according to the detection result.

【0014】誤り有りの時は、ID2切換スイッチ20
3はb端子に切り換えられ、この際データ切換スイッチ
211もb端子に切り換えられるので、入力データはそ
のまま出力端子212へ出力される。誤り無しの時は、
ID2切換スイッチ203はa端に切り換えられ、入力
データはID1有無検出回路204及びID1切換スイ
ッチ205へ供給される。
If there is an error, the ID2 changeover switch 20
3 is switched to the b terminal, and at this time, the data changeover switch 211 is also switched to the b terminal, so that the input data is directly output to the output terminal 212. When there is no mistake,
The ID2 switch 203 is switched to the end a, and the input data is supplied to the ID1 presence / absence detection circuit 204 and the ID1 switch 205.

【0015】ID1有無検出回路204は、ID1の有
無の検出結果によってID1切換スイッチ205を制御
している。
The ID1 presence / absence detection circuit 204 controls the ID1 changeover switch 205 according to the detection result of the presence / absence of ID1.

【0016】ID1無しの時は、ID1切換スイッチ2
05はb端子に切り換えられ、この際データ切換スイッ
チ211もb端子に切り換えられるので、入力データは
そのまま出力端子212へ出力される。ID1有りの時
は、ID1切換スイッチ205はa端に切り換えられ、
入力データはID1位置検出回路206へ供給される。
When there is no ID1, the ID1 changeover switch 2
05 is switched to the b terminal, and at this time, the data changeover switch 211 is also switched to the b terminal, so that the input data is directly output to the output terminal 212. When ID1 is present, the ID1 changeover switch 205 is switched to the end a,
The input data is supplied to the ID1 position detection circuit 206.

【0017】ID1位置検出回路206では、ID2内
に書き込まれているID1の位置する伝送フォーマット
上のシンボル位置を検出し、そのシンボル情報をID1
No.検出回路208,カウンタ209,データ切換
スイッチ211及びID1Flag Check回路207へそれ
ぞれ供給する。
The ID1 position detection circuit 206 detects the symbol position on the transmission format where the ID1 written in the ID2 is located, and uses the symbol information as the ID1.
No. The signals are supplied to the detection circuit 208, the counter 209, the data changeover switch 211 and the ID1 Flag Check circuit 207, respectively.

【0018】ID1 No.検出回路208では、ID
1内に書き込まれているMDU_LINE No.及び
Phase No.を検出し、ID1 No.切換スイ
ッチ210へ供給し、カウンタ209では、MDU_L
INE No.及びPhase No.を順次カウント
アップし、これら情報をID1 No.切換スイッチ2
10へ供給する。
ID1 No. In the detection circuit 208, ID
1 written in MDU_LINE No. 1 And Phase No. Is detected and ID1 No. It is supplied to the changeover switch 210, and in the counter 209, MDU_L
INE No. And Phase No. Are sequentially counted up, and these pieces of information are recorded as ID1 No. Changeover switch 2
Supply to 10.

【0019】ID1Flag Check回路207では、ID1
位置検出回路206からのシンボル情報からそのシンボ
ルのエラーフラグをチェックし、その結果によってID
1No.切換スイッチ210を制御する。
In the ID1 Flag Check circuit 207, the ID1
The error flag of the symbol is checked from the symbol information from the position detection circuit 206, and the ID is determined by the result.
1No. The changeover switch 210 is controlled.

【0020】エラー有りの時は、ID1 No.切換ス
イッチ210はb端子に切り換えられ、カウンタ209
の出力がデータ切換スイッチ211へ供給され、エラー
無しの時は、ID1 No.切換スイッチ210はa端
子に切り換えられ、ID1No.検出回路208の出力
がデータ切換スイッチ211へ供給される。
If there is an error, ID1 No. The changeover switch 210 is changed over to the terminal b, and the counter 209
Is supplied to the data changeover switch 211, and when there is no error, ID1 No. The changeover switch 210 is changed over to the a terminal, and the ID1 No. The output of the detection circuit 208 is supplied to the data changeover switch 211.

【0021】データ切換スイッチ211はID1位置検
出回路206からのシンボル情報によって制御され、可
変長符号化データとID1情報を切り換えて出力端子2
12へ出力する。
The data changeover switch 211 is controlled by the symbol information from the ID1 position detection circuit 206, and switches between the variable length coded data and the ID1 information to output the output terminal 2.
Output to 12.

【0022】[0022]

【発明が解決しようとする課題】上述の如き高能率符号
化・復号化装置における画像データの復号化方法では、
訂正不可能な誤りが生じた時は良好な復号ができない。
例えば、ID検出回路311において、ID2内に誤り
が残った時にはID2内の誤り検出符号によって誤りが
検出される。従って、データはそのまま次段の高能率復
号化回路312へ供給されてしまい、もしその内符号列
内にID1が存在していた場合は1MDU_LINE分
のデータが失われてしまう。
In the image data decoding method in the high-efficiency coding / decoding apparatus as described above,
Good decoding cannot be performed when an uncorrectable error occurs.
For example, in the ID detection circuit 311, when an error remains in ID2, the error is detected by the error detection code in ID2. Therefore, the data is supplied as it is to the high-efficiency decoding circuit 312 in the next stage, and if ID1 is present in the inner code string, the data for 1 MDU_LINE is lost.

【0023】また、ID2内の誤り検出符号による誤検
出が発生した時は、正確なID1を検出できず、正確に
復号されたデータを壊してしまう恐れがある。
When erroneous detection occurs due to the error detection code in ID2, the correct ID1 cannot be detected, and the correctly decoded data may be destroyed.

【0024】更に、ID1内に誤りが残った時にはID
1Flag Check回路207でのフラグが正しい場合はカウ
ンタ209によって保護できるが、誤検出及び誤訂正に
よってフラグが正しくない場合は正確なID1を検出で
きず、正確に復号されたデータを壊してしまう恐れがあ
る。
Furthermore, when an error remains in ID1, the ID
If the flag in the 1Flag Check circuit 207 is correct, it can be protected by the counter 209. However, if the flag is incorrect due to erroneous detection and correction, the correct ID1 cannot be detected and there is a risk that the correctly decoded data will be destroyed. is there.

【0025】上記の様な場合には、復号画像が1MDU
_LINE以上のエラーとして画面に発生するため、非
常に見苦しい再生画像となってしまう。
In the above case, the decoded image is 1 MDU.
Since an error more than _LINE occurs on the screen, the reproduced image is very unsightly.

【0026】(発明の目的)本発明の目的は、伝送路上
で誤りが発生した場合にも、再生画像の画質劣化を最小
限に抑えることのできる画像符号化装置及び画像複号化
装置を提供することにある。
(Object of the Invention) An object of the present invention is to provide an image coding apparatus and an image decoding apparatus capable of minimizing the deterioration of the quality of a reproduced image even when an error occurs on a transmission line. To do.

【0027】[0027]

【課題を解決するための手段】上記目的を達成するため
に、本発明によれば、複数の符号化モードによりブロッ
ク符号化された画像信号を可変長符号化する画像符号化
装置において、前記ブロックに対する符号化モード情報
を誤り検出符号化する第1の誤り検出符号化手段と、前
記可変長符号化された画像情報と前記符号化モード情報
及び前記第1の誤り検出符号を第1の情報列として多重
化する手段と、前記多重化された複数の第1の情報列を
ある一定数に固定長化する第2の情報列生成手段と、前
記複数の第1の情報列の境界情報付加手段と、前記境界
情報に対する第2の誤り検出符号化手段と、前記第2の
情報列と前記境界情報及び前記第2の誤り検出符号を第
3の情報列として多重化する手段と、前記第3の情報列
に対して第3の誤り検出符号化又は誤り訂正符号化する
手段と、伝送同期付加手段とを設けた構成にし、前記符
号化モード情報には、符号化モードと動き情報及び画面
上のアドレスを含んでいる。
In order to achieve the above object, according to the present invention, an image coding apparatus for variable-length coding a block-coded image signal in a plurality of coding modes, wherein the block Error detection coding means for performing error detection coding on the coding mode information for the, the variable length coded image information, the coding mode information, and the first error detection code as a first information string. Means, a second information string generating means for fixing the multiplexed plurality of first information strings to a fixed length, and a boundary information adding means for the plurality of first information strings. A second error detection coding means for the boundary information; a means for multiplexing the second information sequence, the boundary information and the second error detection code as a third information sequence; The third error for the information sequence of Means for detection coding or error correction coding, and the structure provided with a transmission synchronization adding means, the coding mode information includes a coding mode and motion information and the address on the screen.

【0028】同じく上記目的を達成するために、本発明
によれば、前記第1の情報列の境界情報付加手段は、境
界情報を付加する第2の情報符号列上に存在しない場合
は、次の第1の情報列の境界が存在する第2の情報列ま
での情報列数及び次の第1の情報列の境界が存在する第
2の情報列上のアドレスを付加する第1の情報列の境界
情報付加手段を備えた画像符号化装置により、符号化さ
れた画像データを複合化する画像複号化装置において、
第2の誤り検出符号の誤りを検出する第1の誤り検出手
段と、第1の情報列の境界情報検出手段と、前記第1の
誤り検出手段と第1の情報列の境界情報検出手段の結果
により第1の情報列の境界を確定する手段と、第1の誤
り検出符号の誤りを検出する第2の誤り検出手段と、前
記第1の誤り検出手段の結果によって出力を切り換える
切換手段とを設けた構成にしている。
Also in order to achieve the above object, according to the present invention, the boundary information adding means for the first information sequence, if not present on the second information code sequence for adding the boundary information, Number of information columns up to the second information sequence where the boundary of the first information sequence exists and an address on the second information sequence where the boundary of the next first information sequence exists In the image decoding device for decoding the coded image data by the image coding device provided with the boundary information adding means,
The first error detecting means for detecting an error of the second error detecting code, the boundary information detecting means for the first information string, the first error detecting means, and the boundary information detecting means for the first information string. Means for determining the boundary of the first information string based on the result, second error detecting means for detecting an error of the first error detecting code, and switching means for switching the output according to the result of the first error detecting means. Is provided.

【0029】同じく上記目的を達成するために、本発明
によれば、請求項2記載の画像符号化装置により画像デ
ータを複号化する画像複号化装置において、第2の誤り
検出符号の誤りを検出する第1の誤り検出手段と、第1
の情報列の境界情報検出手段と、前記第1の誤り検出手
段と第1の情報列の境界情報検出手段の結果により第1
の情報列の境界を確定する手段と、第1の誤り検出符号
の誤りを検出する第2の誤り検出手段と、符号化モード
情報上の符号化モードと動き情報検出手段と、符号化モ
ード情報上の画面上のアドレス検出手段と、第1の情報
列の境界検出結果より境界値をカウントする計数手段
と、第2の誤り検出手段の結果によって画面上のアドレ
ス検出手段と計数手段の出力を切り換える第1の切換手
段と、第1の情報列の境界を確定する手段の結果によっ
て画像情報の出力を切り換える第2の切換手段とを設け
た構成にしている。
In order to achieve the above object, according to the present invention, in the image decoding apparatus for decoding image data by the image coding apparatus according to claim 2, the error of the second error detecting code is First error detecting means for detecting
No. 1 according to the result of the boundary information detecting means of the information string, the first error detecting means and the boundary information detecting means of the first information string.
Means for determining the boundary of the information sequence, second error detecting means for detecting an error in the first error detecting code, coding mode and motion information detecting means on the coding mode information, and coding mode information. The address detecting means on the upper screen, the counting means for counting the boundary value from the boundary detecting result of the first information sequence, and the output of the address detecting means and the counting means on the screen according to the result of the second error detecting means. The first switching means for switching and the second switching means for switching the output of the image information according to the result of the means for determining the boundary of the first information string are provided.

【0030】同じく上記目的を達成するために、本発明
によれば、請求項3記載の画像符号化装置により画像デ
ータを複号化する画像複号化装置において、第2の誤り
検出符号の誤りを検出する第1の誤り検出手段と、第1
の情報列の境界情報検出手段と、前記第1の誤り検出手
段と第1の情報列の境界情報検出手段の結果により第1
の情報列の境界を確定する手段と、第1の誤り検出符号
の誤りを検出する第2の誤り検出手段と、符号化モード
情報上の符号化モードと動き情報検出手段と、符号化モ
ード情報上の画面上のアドレス検出手段と、第1の情報
列の境界検出結果より境界値をカウントする計数手段
と、第2の誤り検出手段の結果によって画面上のアドレ
ス検出手段と計数手段の出力を切り換える第1の切換手
段と、第1の情報列の境界を確定する手段の結果によっ
て画像情報の出力を切り換える第2の切換手段とを設け
構成にしている。
Also in order to achieve the above object, according to the present invention, in the image decoding apparatus for decoding the image data by the image coding apparatus according to claim 3, the error of the second error detecting code is First error detecting means for detecting
No. 1 according to the result of the boundary information detecting means of the information string, the first error detecting means and the boundary information detecting means of the first information string.
Means for determining the boundary of the information sequence, second error detecting means for detecting an error in the first error detecting code, coding mode and motion information detecting means on the coding mode information, and coding mode information. The address detecting means on the upper screen, the counting means for counting the boundary value from the boundary detecting result of the first information sequence, and the output of the address detecting means and the counting means on the screen according to the result of the second error detecting means. The first switching means for switching and the second switching means for switching the output of the image information according to the result of the means for determining the boundary of the first information string are provided.

【0031】[0031]

【発明の実施の形態】以下、本発明を図示の実施の形態
に基づいて詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail based on illustrated embodiments.

【0032】図1は本発明の実施の一形態に係る画像デ
ータ符号化・復号化装置の概略構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing a schematic configuration of an image data encoding / decoding device according to an embodiment of the present invention.

【0033】図1において、入力端子401にアナログ
画像信号が入力され、A/D変換回路402にてディジ
タル信号に変換される。
In FIG. 1, an analog image signal is input to the input terminal 401 and converted into a digital signal by the A / D conversion circuit 402.

【0034】ディジタル化された画像信号はブロック分
割回路403によって水平方向m画素,垂直方向nライ
ンのブロック、例えば前述の図5(a)に示す様に、m
=n=8、すなわち8×8画素単位にブロック化され、
更に輝度信号を16×16画素、色信号を16×8画素
のデータから構成されるMDUブロックデータに変換さ
れる。又、図5(b)に示す様に15個のMDUブロッ
クを1MDU_LINEとして1画面を8個のPhas
eに分割して並列処理される。
The digitized image signal is processed by a block dividing circuit 403 into blocks each having m pixels in the horizontal direction and n lines in the vertical direction, for example, m as shown in FIG.
= N = 8, that is, it is divided into blocks of 8 × 8 pixels,
Further, the luminance signal is converted into MDU block data composed of data of 16 × 16 pixels and the color signal of 16 × 8 pixels. Further, as shown in FIG. 5B, 15 MDU blocks are set as 1 MDU_LINE, and 1 screen is set to 8 Phases.
It is divided into e and processed in parallel.

【0035】Phase毎に分割されたブロック信号
は、それぞれPhase毎に図1の高能率符号化回路4
04にて符号化され、その情報量が削減される。該符号
化回路404では、符号化効率向上のために動き補償予
測符号化が行われ、例えば図2(a)に示す様なフォー
マットで出力される。
The block signal divided for each phase is the high efficiency encoding circuit 4 of FIG. 1 for each phase.
It is encoded in 04, and the amount of information is reduced. In the encoding circuit 404, motion compensation predictive encoding is performed in order to improve encoding efficiency, and the encoded data is output in a format as shown in FIG. 2A, for example.

【0036】ここで、ID1に書き込まれる動き情報と
は、動きモード情報と動きベクトルを示し、誤り検出符
号が付加される。
Here, the motion information written in ID1 indicates motion mode information and a motion vector, and an error detection code is added.

【0037】該ID1及び可変長符号化データは、図1
のフォーマッタ405に供給される。フォーマッタ40
5では、図2(b)に示す様な固定長の伝送ブロックに
前述のID1及び可変長符号化データを順次詰め込む。
The ID1 and the variable length coded data are shown in FIG.
Of the formatter 405. Formatter 40
In 5, the ID1 and the variable length coded data described above are sequentially packed in a fixed length transmission block as shown in FIG.

【0038】ID2には、ID1の存在するLINE
No.とID1のシンボル位置情報及び誤り検出符号を
書き込む。例えば、LINE No.には同LINEに
ID1が存在する時は“0”を書き込み、ID1が存在
しない時は次のID1までのLINE数を書き込む。シ
ンボル位置情報にはID1が存在する時はそのシンボル
位置を書き込み、ID1が存在しない時は次のID1の
シンボル位置を書き込む。
LINE in which ID1 exists in ID2
No. And ID1 symbol position information and error detection code are written. For example, LINE No. In the same LINE, "0" is written when ID1 exists, and when ID1 does not exist, the number of LINEs up to the next ID1 is written. When the ID1 exists, the symbol position is written in the symbol position information, and when the ID1 does not exist, the next symbol position of the ID1 is written.

【0039】更に伝送同期のための同期信号が付加さ
れ、図1の誤り訂正符号化回路406にて誤り訂正符号
化されて伝送路407へ送出される。
Further, a sync signal for transmission synchronization is added, and the error correction coding circuit 406 of FIG. 1 performs error correction coding and sends out to the transmission line 407.

【0040】受信側では、伝送路407を介したデータ
は同期検出回路408にて伝送同期がとられ、メモリ4
09に蓄えられる。蓄えられたデータに対し誤り訂正回
路310によって伝送路407上で生じた誤りが訂正さ
れる。メモリ409からは符号誤りの訂正が施されたデ
ータが出力され、ID検出回路411へ供給される。I
D検出回路411では、ID2の誤り検出結果よりID
1を検出し、ID1内のMDU_LINE No.とP
hase No.からPhase毎に高能率復号化回路
412へ可変長符号化データを供給する。
On the receiving side, the data transmitted through the transmission line 407 is transmission-synchronized by the synchronization detection circuit 408, and the data is stored in the memory 4
It is stored in 09. The error correction circuit 310 corrects the error generated on the transmission line 407 to the stored data. The data in which the code error is corrected is output from the memory 409 and supplied to the ID detection circuit 411. I
In the D detection circuit 411, the ID is detected from the error detection result of ID2.
1 is detected and the MDU_LINE No. in ID1 is detected. And P
case No. To the high-efficiency decoding circuit 412 for each Phase from the variable-length coded data.

【0041】高能率復号化回路412では、前述の高能
率符号化回路404と反対の処理によって元のブロック
信号に復号する。このブロック信号は、LS変換回路4
13にてライン・スキャン構造のディジタル信号に変換
され、D/A変換回路414にてアナログ信号となって
出力端子415に出力される。
The high-efficiency decoding circuit 412 decodes the original block signal by a process opposite to that of the high-efficiency encoding circuit 404 described above. This block signal is supplied to the LS conversion circuit 4
It is converted into a digital signal having a line scan structure at 13, and is converted into an analog signal at the D / A conversion circuit 414 and output to the output terminal 415.

【0042】図3は、図1に示すID検出回路411の
概略構成を示すブロック図であり、以下ここでの動作に
ついて詳述する。
FIG. 3 is a block diagram showing a schematic configuration of the ID detection circuit 411 shown in FIG. 1. The operation here will be described in detail below.

【0043】図1のメモリ409から符号誤りの訂正が
施されたデータが図3の入力端子101から入力され、
ID2誤り検出回路102及びID1_LINE N
o.検出回路103へ供給される。
Data corrected for code error is input from the memory 409 of FIG. 1 from the input terminal 101 of FIG.
ID2 error detection circuit 102 and ID1_LINE N
o. It is supplied to the detection circuit 103.

【0044】ID2誤り検出回路102では、ID2内
の誤り検出が行われ、その検出結果がID1位置判定回
路104に供給される。又、同時にID1_LINE
No.検出回路103の検出結果もID1位置判定回路
104に供給される。
The ID2 error detection circuit 102 detects an error in the ID2 and supplies the detection result to the ID1 position determination circuit 104. Also, at the same time, ID1_LINE
No. The detection result of the detection circuit 103 is also supplied to the ID1 position determination circuit 104.

【0045】ID1位置判定回路104では、誤りの無
いID2を選択し、すなわちID2誤り検出回路102
で誤り無しと判定されたブロックからID1_LINE
No.検出回路103の検出結果を元に、ID1のシ
ンボル位置を検出し、これが確定できた場合はID1誤
り検出回路105,MDU_LINE No.&Pha
se No.検出回路106、及び、カウンタ107へ
供給する。
The ID1 position determination circuit 104 selects ID2 having no error, that is, the ID2 error detection circuit 102.
ID1_LINE from the block determined to have no error in
No. Based on the detection result of the detection circuit 103, the symbol position of ID1 is detected, and when this can be confirmed, the ID1 error detection circuit 105, MDU_LINE No. & Pha
se No. It is supplied to the detection circuit 106 and the counter 107.

【0046】MDU_LINE No.&Phase
No.検出回路106では、ID1内に書き込まれてい
るMDU_LINE No.及びPhase No.を
検出し、ID1 No.切換スイッチ108のa端子へ
供給し、カウンタ107はMDU_LINE No.及
びPhase No.を順次カウントアップしてID1
No.切換スイッチ108のb端子へ供給する。
MDU_LINE No. & Phase
No. In the detection circuit 106, the MDU_LINE No. written in the ID1. And Phase No. Is detected and ID1 No. The signal is supplied to the terminal a of the changeover switch 108, and the counter 107 outputs the MDU_LINE No. And Phase No. Is incremented sequentially and ID1
No. It is supplied to the terminal b of the changeover switch 108.

【0047】ID1誤り検出回路105では、ID1内
に付加されている誤り検出符号より誤り検出を行い、そ
の結果によってID1 No.切換スイッチ108を制
御している。
The ID1 error detection circuit 105 detects an error from the error detection code added in the ID1, and the ID1 No. The changeover switch 108 is controlled.

【0048】エラー有りの時は、ID1 No.切換ス
イッチ108はb端に切り換えられ、カウンタ107の
出力がID切換スイッチ112へ供給され、エラー無し
の時は、ID1 No.切換スイッチ108はa端に切
り換えられ、ID1 No.検出回路106の出力がI
D切換スイッチ112へ供給される。
When there is an error, ID1 No. The changeover switch 108 is changed over to the terminal b, the output of the counter 107 is supplied to the ID changeover switch 112, and when there is no error, the ID1 No. The changeover switch 108 is changed over to the end a, and the ID1 No. The output of the detection circuit 106 is I
It is supplied to the D changeover switch 112.

【0049】次に、ID1位置判定回路104において
ID1位置が確定しない時、すなわち、一つのID1に
対しID2がすべてエラーの時は、ID1サーチ回路1
09によってデータを順次サーチし、ID1 CRCチ
ェック回路110で誤り検出を行う。誤りがある時は次
のデータをサーチし、誤り無しの時はMDU_LINE
No.及びPhase No.チェック回路111で
そのデータがID1であるかのパターンチェックを行
う。ID1で無い場合は再びデータをサーチし、ID1
と判定した時はID切換スイッチ112へ供給する。
Next, when the ID1 position is not determined in the ID1 position determination circuit 104, that is, when all the ID2s have an error for one ID1, the ID1 search circuit 1
The data is sequentially searched by 09, and the ID1 CRC check circuit 110 detects an error. When there is an error, the next data is searched, and when there is no error, MDU_LINE
No. And Phase No. The check circuit 111 performs a pattern check of whether the data is ID1. If it is not ID1, the data is searched again, and ID1
When it is determined that it is supplied to the ID changeover switch 112.

【0050】ID切換スイッチ112は、ID1位置判
定回路104での判定結果で制御され、ID1位置確定
時はa端子に切り換えられ、ID1位置不確定時はb端
子に切り換えられる。
The ID changeover switch 112 is controlled by the judgment result of the ID1 position judgment circuit 104, and is switched to the a terminal when the ID1 position is fixed and to the b terminal when the ID1 position is not fixed.

【0051】判定回路113は、ID1位置判定回路1
04の結果とMDU_LINE No.&Phaseチ
ェック回路111の結果からデータ切換スイッチ114
を制御する。
The determination circuit 113 is the ID1 position determination circuit 1
04 result and MDU_LINE No. & Phase check circuit 111 results from data switch 114
Control.

【0052】データ切換スイッチ114は前述の様に判
定回路113からのシンボル情報によって制御され、可
変長符号化データとID1情報を切り換えて出力端子1
15へ出力する。
The data changeover switch 114 is controlled by the symbol information from the decision circuit 113 as described above, and switches between the variable length coded data and the ID1 information to output the output terminal 1.
15 is output.

【0053】上記の構成にしたことにより、例えばID
検出回路411において、ID2内に誤りが残った時に
は、ID2内の誤り検出符号によって誤りが検出される
が、他のID2からID1を検出することができ、ID
2内の誤り検出符号による誤検出が発生した時にも他の
ID2からID1を検出することができる。
With the above configuration, for example, ID
In the detection circuit 411, when an error remains in the ID2, the error is detected by the error detection code in the ID2, but the ID1 can be detected from other ID2.
Even when erroneous detection occurs due to the error detection code in 2, ID1 can be detected from other ID2.

【0054】仮に、すべてのID2に誤りが有った時に
はすべてのデータをサーチしてID1を検出できる。
又、ID1に誤り検出符号を付加したことにより正確な
ID1を検出できる。
If all ID2 have an error, ID1 can be detected by searching all the data.
Further, by adding an error detection code to ID1, accurate ID1 can be detected.

【0055】[0055]

【発明の効果】以上説明したように、本発明によれば、
可変長符号化データの複号化の際、訂正能力を超えた誤
りが発生し、固定長のフォーマット上の可変長符号化デ
ータの境界情報に誤りが残った時にも、正確に可変長符
号化データの検出が可能となり、可変長符号化データ複
号合化後の再生画像の劣化を防止することができる。
As described above, according to the present invention,
When decoding variable-length coded data, an error that exceeds the correction capability occurs, and even when an error remains in the boundary information of the variable-length coded data on the fixed-length format, the variable-length coded data can be accurately encoded. It becomes possible to detect data, and it is possible to prevent deterioration of the reproduced image after decoding the variable length coded data.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施の第1の形態に係る画像データ符
号化・複号化装置の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an image data encoding / decoding device according to a first embodiment of the present invention.

【図2】本発明の実施の第1の形態による可変長符号の
フォーマットや固定長伝送フォーマットを示す図であ
る。
FIG. 2 is a diagram showing a variable length code format and a fixed length transmission format according to the first embodiment of the present invention.

【図3】図1のID検出回路の構成例を示すブロック図
である。
FIG. 3 is a block diagram showing a configuration example of an ID detection circuit in FIG.

【図4】従来の画像データ符号化・複号化装置の概略構
成を示すブロック図である。
FIG. 4 is a block diagram showing a schematic configuration of a conventional image data encoding / decoding device.

【図5】データ・ブロックフォーマットを示す図であ
る。
FIG. 5 is a diagram showing a data block format.

【図6】従来例による可変長符号のフォーマットや固定
長伝送フォーマットを示す図である。
FIG. 6 is a diagram showing a variable length code format and a fixed length transmission format according to a conventional example.

【図7】図6のID検出回路の構成例を示すブロック図
である。
7 is a block diagram showing a configuration example of an ID detection circuit of FIG.

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

102 誤り検出回路 103 ID1_LINE No.検出回路 104 ID1位置判定回路 105 ID1誤り検出回路 106 MDU_LINE No.&PhaseN
o.検出回路 107 カウンタ 108 ID1 No.切換スイッチ 109 ID1サーチ回路 110 ID1 CRCチェック回路 111 MDU_LINE No.&PhaseN
o.検出回路 112 ID切換スイッチ 113 判定回路 114 データ切換スイッチ 404 高能率符号化回路 406 誤り符号化回路 410 誤り訂正回路 411 ID検出回路 412 高能率複号化回路
102 error detection circuit 103 ID1_LINE No. Detection circuit 104 ID1 position determination circuit 105 ID1 error detection circuit 106 MDU_LINE No. & PhaseN
o. Detection circuit 107 Counter 108 ID1 No. Changeover switch 109 ID1 search circuit 110 ID1 CRC check circuit 111 MDU_LINE No. & PhaseN
o. Detection circuit 112 ID changeover switch 113 Judgment circuit 114 Data changeover switch 404 High efficiency coding circuit 406 Error coding circuit 410 Error correction circuit 411 ID detection circuit 412 High efficiency decoding circuit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 複数の符号化モードによりブロック符号
化された画像信号を可変長符号化する画像符号化装置に
おいて、 前記ブロックに対する符号化モード情報を誤り検出符号
化する第1の誤り検出符号化手段と、前記可変長符号化
された画像情報と前記符号化モード情報及び前記第1の
誤り検出符号を第1の情報列として多重化する手段と、
前記多重化された複数の第1の情報列をある一定数に固
定長化する第2の情報列生成手段と、前記複数の第1の
情報列の境界情報付加手段と、前記境界情報に対する第
2の誤り検出符号化手段と、前記第2の情報列と前記境
界情報及び前記第2の誤り検出符号を第3の情報列とし
て多重化する手段と、前記第3の情報列に対して第3の
誤り検出符号化又は誤り訂正符号化する手段と、伝送同
期付加手段とを設けたことを特徴とする画像符号化装
置。
1. An image coding apparatus for variable-length coding a block-coded image signal in a plurality of coding modes, comprising: first error detection coding for error-detecting coding mode information for the block. Means and means for multiplexing the variable length coded image information, the coding mode information and the first error detection code as a first information sequence,
Second information sequence generating means for fixing the plurality of multiplexed first information sequences to a fixed length, boundary information adding means for the plurality of first information sequences, and first boundary information adding means for the boundary information. Second error detection coding means, means for multiplexing the second information sequence, the boundary information and the second error detection code as a third information sequence, and a third information sequence for the third information sequence. 3. An image coding apparatus comprising the error detection coding or error correction coding unit 3 and the transmission synchronization adding unit.
【請求項2】 前記符号化モード情報とは、符号化モー
ドと動き情報及び画面上のアドレスを含むことを特徴と
する請求項1記載の画像符号化装置。
2. The image coding apparatus according to claim 1, wherein the coding mode information includes a coding mode, motion information, and an address on a screen.
【請求項3】 前記第1の情報列の境界情報付加手段
は、境界情報を付加する第2の情報符号列上に存在しな
い場合は、次の第1の情報列の境界が存在する第2の情
報列までの情報列数及び次の第1の情報列の境界が存在
する第2の情報列上のアドレスを付加することを特徴と
する請求項1又は2記載の画像符号化装置。
3. The boundary information adding means for the first information string, if not present on the second information code string to which the boundary information is added, has a boundary for the next first information string. 3. The image coding apparatus according to claim 1, wherein the number of information rows up to the information row and the address on the second information row where the boundary of the next first information row exists are added.
【請求項4】 請求項1記載の画像符号化装置により符
号化された画像データを複号化する画像複号化装置にお
いて、 第2の誤り検出符号の誤りを検出する第1の誤り検出手
段と、第1の情報列の境界情報検出手段と、前記第1の
誤り検出手段と第1の情報列の境界情報検出手段の結果
により第1の情報列の境界を確定する手段と、第1の誤
り検出符号の誤りを検出する第2の誤り検出手段と、前
記第1の誤り検出手段の結果によって出力を切り換える
切換手段とを設けたことを特徴とする画像データ複号化
装置。
4. An image decoding device for decoding the image data encoded by the image encoding device according to claim 1, wherein the first error detecting means detects an error of the second error detecting code. A first information string boundary information detecting means; a means for determining a boundary of the first information string based on the results of the first error detecting means and the first information string boundary information detecting means; 2. An image data decoding device, comprising: a second error detecting means for detecting an error of the error detecting code and a switching means for switching an output according to a result of the first error detecting means.
【請求項5】 請求項2記載の画像符号化装置により符
号化された画像データを複号化する画像複号化装置にお
いて、 第2の誤り検出符号の誤りを検出する第1の誤り検出手
段と、第1の情報列の境界情報検出手段と、前記第1の
誤り検出手段と第1の情報列の境界情報検出手段の結果
により第1の情報列の境界を確定する手段と、第1の誤
り検出符号の誤りを検出する第2の誤り検出手段と、符
号化モード情報上の符号化モードと動き情報検出手段
と、符号化モード情報上の画面上のアドレス検出手段
と、第1の情報列の境界検出結果より境界値をカウント
する計数手段と、第2の誤り検出手段の結果によって画
面上のアドレス検出手段と計数手段の出力を切り換える
第1の切換手段と、第1の情報列の境界を確定する手段
の結果によって画像情報の出力を切り換える第2の切換
手段とを設けたことを特徴とする画像複号化装置。
5. An image decoding device for decoding image data encoded by the image encoding device according to claim 2, wherein the first error detecting means detects an error of the second error detecting code. A first information string boundary information detecting means; a means for determining a boundary of the first information string based on the results of the first error detecting means and the first information string boundary information detecting means; Second error detecting means for detecting an error in the error detecting code, the encoding mode and motion information detecting means on the encoding mode information, the address detecting means on the screen on the encoding mode information, and the first Counting means for counting the boundary value from the boundary detection result of the information string, first switching means for switching the output of the address detecting means and the counting means on the screen according to the result of the second error detecting means, and the first information string. By the result of the means of establishing the boundaries of Image decryption apparatus characterized in that a second switching means for switching the output of the image information.
【請求項6】 請求項3記載の画像符号化装置により符
号化された画像データを複号化する画像複号化装置にお
いて、 第2の誤り検出符号の誤りを検出する第1の誤り検出手
段と、第1の情報列の境界情報検出手段と、前記第1の
誤り検出手段と第1の情報列の境界情報検出手段の結果
により第1の情報列の境界を確定する手段と、第1の誤
り検出符号の誤りを検出する第2の誤り検出手段と、符
号化モード情報上の符号化モードと動き情報検出手段
と、符号化モード情報上の画面上のアドレス検出手段
と、第1の情報列の境界検出結果より境界値をカウント
する計数手段と、第2の誤り検出手段の結果によって画
面上のアドレス検出手段と計数手段の出力を切り換える
第1の切換手段と、第1の情報列の境界を確定する手段
の結果によって画像情報の出力を切り換える第2の切換
手段とを設けたことを特徴とする画像複号化装置。
6. An image decoding device for decoding the image data encoded by the image encoding device according to claim 3, wherein the first error detecting means detects an error of the second error detecting code. A first information string boundary information detecting means; a means for determining a boundary of the first information string based on the results of the first error detecting means and the first information string boundary information detecting means; Second error detecting means for detecting an error in the error detecting code, the encoding mode and motion information detecting means on the encoding mode information, the address detecting means on the screen on the encoding mode information, and the first Counting means for counting the boundary value from the boundary detection result of the information string, first switching means for switching the output of the address detecting means and the counting means on the screen according to the result of the second error detecting means, and the first information string. By the result of the means of establishing the boundaries of Image decryption apparatus characterized in that a second switching means for switching the output of the image information.
JP6739296A 1996-02-29 1996-02-29 Image coder and image decoder Pending JPH09238352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6739296A JPH09238352A (en) 1996-02-29 1996-02-29 Image coder and image decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6739296A JPH09238352A (en) 1996-02-29 1996-02-29 Image coder and image decoder

Publications (1)

Publication Number Publication Date
JPH09238352A true JPH09238352A (en) 1997-09-09

Family

ID=13343669

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6739296A Pending JPH09238352A (en) 1996-02-29 1996-02-29 Image coder and image decoder

Country Status (1)

Country Link
JP (1) JPH09238352A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010104059A (en) * 2000-05-12 2001-11-24 박종섭 Fault detecter in MPEG encoder
SG100768A1 (en) * 2000-11-17 2003-12-26 Ntt Docomo Inc Data transmission method, data tranmission system, transmitter and receiver

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010104059A (en) * 2000-05-12 2001-11-24 박종섭 Fault detecter in MPEG encoder
SG100768A1 (en) * 2000-11-17 2003-12-26 Ntt Docomo Inc Data transmission method, data tranmission system, transmitter and receiver
US7139243B2 (en) 2000-11-17 2006-11-21 Ntt Docomo, Inc. Data transmission method, data transmission system, transmitter and receiver
US7680057B2 (en) 2000-11-17 2010-03-16 Ntt Docomo, Inc. Data transmission method, data transmission system, transmitter and receiver

Similar Documents

Publication Publication Date Title
US6081551A (en) Image coding and decoding apparatus and methods thereof
EP0402115B1 (en) Device and method for error detection and correction
US4626912A (en) Sequential data block address processing circuits
JPH0523113B2 (en)
US5614958A (en) Image processing apparatus which conceals image data in accordance with motion data
US7134064B2 (en) Error detecting method and apparatus
US6597741B1 (en) Digital video decoding of compressed digital pictures by correcting corrupted header information with an estimated picture size
JP2558994B2 (en) Digital image signal error correction method and error correction device
KR100226563B1 (en) Motion picture data decoding system
JPH0622294A (en) Picture coder
JPH09238352A (en) Image coder and image decoder
KR980012962A (en) Screen synthesizer
US20060062309A1 (en) Coding/decoding apparatus
JP2004128870A (en) Image decoding and outputting device
JP2689555B2 (en) Image restoration device
JP2518239B2 (en) Digital image data processor
JPS6154313B2 (en)
JP2718384B2 (en) Image restoration device
JP2951967B2 (en) Image decoding method and apparatus
JP3158603B2 (en) Digital image signal transmission equipment
KR100192378B1 (en) Error concealment emboding apparatus and method using edge moving information
JP2848456B2 (en) Color image transmission method
JPH0267838A (en) Data transmission system
JPH07264585A (en) Moving image processor
JPH05336510A (en) Motion compensation encoding device and decoding device