JP3118170B2 - Moving image signal encoding / decoding method and encoding / decoding device - Google Patents

Moving image signal encoding / decoding method and encoding / decoding device

Info

Publication number
JP3118170B2
JP3118170B2 JP29931695A JP29931695A JP3118170B2 JP 3118170 B2 JP3118170 B2 JP 3118170B2 JP 29931695 A JP29931695 A JP 29931695A JP 29931695 A JP29931695 A JP 29931695A JP 3118170 B2 JP3118170 B2 JP 3118170B2
Authority
JP
Japan
Prior art keywords
synchronization
decoding
picture
word
length
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.)
Expired - Lifetime
Application number
JP29931695A
Other languages
Japanese (ja)
Other versions
JPH09121347A (en
Inventor
豊 町田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP29931695A priority Critical patent/JP3118170B2/en
Publication of JPH09121347A publication Critical patent/JPH09121347A/en
Priority to JP32036399A priority patent/JP3756029B2/en
Application granted granted Critical
Publication of JP3118170B2 publication Critical patent/JP3118170B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、テレビ電話、テレ
ビ会議などに利用する、ディジタル動画像信号の符号化
/復号化方法と、それを実施する装置とに関し、特に、
受信ストリームに含まれる同期語を的確に識別して、良
好な復号動画像が得られるようにしたものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for encoding / decoding a digital moving picture signal used for a video telephone, a video conference, and the like, and an apparatus for implementing the method.
Synchronous words included in a received stream are accurately identified so that a good decoded moving image can be obtained.

【0002】[0002]

【従来の技術】ディジタル動画像信号の符号化及び復号
化の規格として、1993年3月にITU−T Rec
ommendation H.261が勧告され、この
規格に準拠して符号化/復号化を行なう装置が製品化さ
れている。
2. Description of the Related Art As a standard for encoding and decoding digital video signals, ITU-T Rec.
ommendation H .; H.261 has been recommended, and a device that performs encoding / decoding in accordance with this standard has been commercialized.

【0003】従来のこの装置は、符号化側には、図5に
示すように、入力したディジタル動画像信号から時間
的、空間的な冗長性を除いて、入力信号を発生頻度に偏
りがある信号の列に変換する情報源符号化手段501と、
情報源符号化手段501から出力された信号を可変長符号
列に変換する可変長符号化手段502と、この可変長符号
列の先頭にピクチャーの開始を表わす同期語を付加する
同期語付加手段503とを備えている。
In this conventional apparatus, as shown in FIG. 5, the frequency of occurrence of an input signal is biased on the encoding side except for temporal and spatial redundancy from an input digital video signal. Source coding means 501 for converting into a sequence of signals,
A variable length coding unit 502 for converting a signal output from the information source coding unit 501 into a variable length code sequence, and a synchronization word adding unit 503 for adding a synchronization word representing the start of a picture to the beginning of the variable length code sequence And

【0004】一方、復号化側には、図7に示すように、
入力したビットストリームから同期語を検出して、入力
ビットストリームの出力を開始する同期語検出手段701
と、可変長符号列を復号する可変長復号手段702と、1
ピクチャー分の可変長符号に引き続いて同期語が出現す
るかどうかを識別し「同期外れ」の有無を判定する同期
語評価手段703と、同期外れの無い符号列を復号する情
報源復号手段704とを備えている。
On the other hand, on the decoding side, as shown in FIG.
Synchronization word detection means 701 for detecting a synchronization word from the input bit stream and starting output of the input bit stream
Variable length decoding means 702 for decoding a variable length code string;
A synchronizing word evaluator 703 for identifying whether or not a synchronizing word appears following the variable length code for the picture and determining the presence / absence of "out of synchronization"; an information source decoder 704 for decoding a code string having no out of synchronization It has.

【0005】この装置の符号化側では、情報源符号化手
段501が、入力されたP番目のピクチャーのディジタル
動画像信号から時間的、空間的な冗長性を除去して、こ
の信号を発生頻度に偏りがある記号の列に変換する。次
いで、可変長符号化手段502が、前記記号のうち発生頻
度が高いものには短い符号を、発生頻度が低いものには
長い符号を割り当てることにより可変長符号列に変換す
る。さらに同期語付加手段503は、この可変長符号列の
先頭にピクチャーの開始を表わす20ビットの同期語
‘00000000000000010000’を付与
し、P番目のピクチャーに対応するビットストリームと
して出力する。以下、P+1、P+2、‥、P+n番目
のピクチャーについても、同様の方法でビットストリー
ムに変換する。
On the encoding side of this apparatus, an information source encoding means 501 removes temporal and spatial redundancy from an input digital moving picture signal of a P-th picture and generates this signal at a frequency of occurrence. Is converted to a sequence of symbols that are biased. Next, the variable-length coding unit 502 converts the symbol into a variable-length code sequence by assigning a short code to a symbol having a high frequency of occurrence and a long code to a symbol having a low frequency of occurrence. Further, the synchronizing word adding means 503 adds a 20-bit synchronizing word '0000000000000010000' indicating the start of the picture to the head of the variable-length code string, and outputs the bit stream corresponding to the P-th picture. Hereinafter, the P + 1, P + 2, ‥, and P + n-th pictures are converted into bit streams in the same manner.

【0006】一般に、各ピクチャーのビットストリーム
長は、可変長符号化されているために、互いに異なる。
また、可変長符号化手段502は、同期語と同じビットパ
ターンの符号列を生成しないよう構成されている。
Generally, the bit stream length of each picture is different from each other because it is variable-length coded.
Further, the variable length coding unit 502 is configured not to generate a code string having the same bit pattern as the synchronization word.

【0007】図6は、入力ディジタル動画像信号と、こ
れをH.261の方法で符号化したときの出力ビットス
トリームとを示している。
FIG. 6 shows an input digital video signal and the H.264 video signal. 261 shows an output bit stream when encoded by the method of H.261.

【0008】一方、H.261の復号方法を採る復号化
側では、図8に示す手順でビットストリームの復号を行
なう。
On the other hand, H. On the decoding side employing the decoding method of H.261, the bit stream is decoded by the procedure shown in FIG.

【0009】ステップ1:まず、同期語検出手段701
は、入力したビットストリームをサーチし、 ステップ2:P番目のピクチャーの開始を表す20ビッ
トの同期語の検出に成功したときは、「同期確立」と見
て、入力する可変長符号列の出力を開始する。 ステップ3:可変長復号手段702は、出力された可変長
符号列を1ピクチャー分可変長復号し、記号列を出力す
る。
Step 1: First, a synchronous word detecting means 701
Searches for the input bit stream. Step 2: If the detection of the 20-bit synchronization word indicating the start of the P-th picture is successful, it is regarded as “synchronization established” and the output of the input variable-length code string is output. To start. Step 3: The variable length decoding means 702 performs variable length decoding of the output variable length code string for one picture, and outputs a symbol string.

【0010】ステップ4:同期語評価手段703は、同期
語検出手段701の出力を監視しながら、1ピクチャー分
の可変長符号に引き続く20ビットが同期語であるかど
うかを評価し、それが同期語であれば「同期確立中」と
見て、可変長復号手段702から入力した記号列をそのま
ま出力し、 ステップ5:情報源復号手段704は、この記号列を情報
源復号し、P番目のピクチャーとして出力する。
Step 4: While monitoring the output of the synchronizing word detecting means 701, the synchronizing word evaluating means 703 evaluates whether or not the 20 bits following the variable length code for one picture are synchronizing words. If the word is a word, it is regarded as “synchronization is being established”, and the symbol string input from the variable length decoding means 702 is output as it is. Step 5: The information source decoding means 704 decodes this symbol string as an information source, and Output as a picture.

【0011】ステップ6:ビットストリームが終了して
いなければ、終了するまで、ステップ3〜ステップ6の
手順を繰り返し、P+1、P+2、‥、P+n番目のピ
クチャーを順次出力する。
Step 6: If the bit stream has not been completed, the procedure of Steps 3 to 6 is repeated until the bit stream is completed, and the P + 1, P + 2, ‥, and P + n-th pictures are sequentially output.

【0012】また、ステップ4において、同期語評価手
段703は、1ピクチャー分の可変長符号に引き続く20
ビットが同期語でなければ、「同期外れ」と見て、可変
長復号手段702から出力された記号列を次に送ることを
せずに、同期語検出手段701を制御して再び入力ビット
ストリームから同期語を検出させる。
In step 4, the synchronizing word evaluator 703 outputs the variable-length code for one picture,
If the bit is not a synchronization word, it is regarded as "out of synchronization" and the symbol string output from the variable length decoding means 702 is not sent next, and the synchronization bit detection means 701 is controlled to input the bit stream again. To detect a synchronizing word.

【0013】[0013]

【発明が解決しようとする課題】従来のディジタル動画
像信号の符号化方法では、出力されたビットストリーム
の伝送または蓄積時にビット誤りが発生すると、ビット
ストリームの一部に、ピクチャーの開始を表わす同期語
と同じビットパターンが発生する可能性がある。この場
合、従来のディジタル動画像信号の復号方法では、ビッ
ト誤りによって発生した偽同期語に基づいて同期確立が
行なわれる、という問題点がある。
In the conventional method of encoding a digital moving picture signal, when a bit error occurs during transmission or accumulation of an output bit stream, a synchronization indicating the start of a picture is added to a part of the bit stream. The same bit pattern as a word can occur. In this case, the conventional digital video signal decoding method has a problem that synchronization is established based on a false synchronization word generated by a bit error.

【0014】また、ビットストリーム中の同期語にビッ
ト誤りが発生した場合には、同期外れと判定されて少な
くとも1ピクチャーが情報源復号されなくなる、という
問題点がある。
Further, when a bit error occurs in a synchronization word in a bit stream, it is determined that synchronization is lost, and at least one picture is not decoded at the information source.

【0015】本発明は、こうした従来の問題点を解決す
るものであり、ビットストリームでのビット誤りの発生
により同期確立を誤ったり、また、同期語でのビット誤
りの発生により、ピクチャー情報を復号せずに無駄にし
てしまう、という事態が少ないディジタル動画像信号の
符号化/復号化方法及びそれを実施する装置を提供する
ことを目的としている。
The present invention solves such a conventional problem, and erroneously establishes synchronization when a bit error occurs in a bit stream, or decodes picture information when a bit error occurs in a synchronization word. It is an object of the present invention to provide a digital moving picture signal encoding / decoding method and a device for implementing the method, which are less likely to be wasted without being used.

【0016】[0016]

【課題を解決するための手段】そこで、本発明では、デ
ィジタル動画像信号の符号化に際して、1ピクチャーの
ビットストリームのビット長を表わすレングス情報など
の情報を、符号長Nビットのブロック符号により誤り訂
正符号化し、このブロック符号をSビットの同期語と各
ピクチャーの可変長符号列との間に挿入してビットスト
リームを形成している。復号に際しては、検出された同
期語の後のNビットを誤り訂正復号し、誤りが無けれ
ば、検出された同期語が正しいものとして同期を確立
し、誤りが有れば、同期語の検出をやり直す。
Therefore, according to the present invention, when a digital moving picture signal is encoded, information such as length information representing the bit length of a bit stream of one picture is erroneously converted by a block code having a code length of N bits. Correction coding is performed, and this block code is inserted between an S-bit synchronization word and a variable-length code string of each picture to form a bit stream. At the time of decoding, N bits after the detected synchronization word are error-correction decoded, and if there is no error, synchronization is established assuming that the detected synchronization word is correct, and if there is an error, detection of the synchronization word is detected. Start over.

【0017】[0017]

【0018】[0018]

【発明の実施の形態】本発明の請求項1に記載の発明
は、各ピクチャーのディジタル動画像信号を可変長符号
化し、各ピクチャーの可変長符号列のそれぞれがSビッ
トの同期語の後に続くようにビットストリームを形成
し、復号時には、入力ビットストリームから同期語を検
出して同期を確立し、各ピクチャーの可変長符号列の復
号結果を同期確立を確認しながら出力する動画像信号の
符号化/復号化方法において、ビットストリーム上で、
各同期語の後に特定の情報を誤り訂正符号化したNビッ
トのブロック符号が続き、このブロック符号の後に各ピ
クチャーの可変長符号列が続くように符号化し、復号に
際して、同期語が検出されたとき、その同期語に続くN
ビットを誤り訂正復号し、この誤り訂正復号により誤り
が検出されなかったときにだけ、この同期語に基づく同
期確立を行なうようにしたものであり、Sビットの同期
語が偽の同期語である場合には、引き続くNビットを誤
り訂正復号したときに誤りが検出される確率が高いため
に、偽同期語によって同期確立されることを防ぐことが
できる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS According to the first aspect of the present invention, a digital moving picture signal of each picture is variable-length coded, and each variable-length code sequence of each picture follows an S-bit synchronization word. To form a bitstream
During decoding, the synchronization word is detected from the input bit stream.
To establish synchronization and restore the variable-length code sequence of each picture.
In the encoding / decoding method of a moving image signal that outputs a signal result while confirming synchronization establishment ,
Block code continuation of N bits and error correction encoding specific information after each synchronization flag, and encoded as a variable length code sequence of each picture after the block code is followed, the decoding
When a synchronization word is detected, the N following the synchronization word is detected.
Bits are error-corrected and decoded.
Only when no synonym is detected.
Are those in which to carry out the period established, the S bit synchronization
If the word is a fake sync word, the following N bits are incorrect.
Error decoding has a high probability of being detected.
To prevent synchronization from being established by false sync words.
it can.

【0019】[0019]

【0020】[0020]

【0021】[0021]

【0022】[0022]

【0023】請求項に記載の発明は、入力するビット
ストリームから同期語を検出して同期を確立する同期語
検出手段と、各ピクチャーの可変長符号化された動画像
信号を可変長復号する可変長復号化手段と、各ピクチャ
ーの動画像信号の後に続く同期語を識別し、同期確立中
であることを確認して、復号された各ピクチャーの動画
像信号を出力する同期語評価手段とを具備する動画像信
号の復号化装置において、Sビットの各同期語の後に、
特定の情報を誤り訂正符号化したNビットのブロック符
号が続き、このブロック符号の後に各ピクチャーの可変
長符号列が続くビットストリームが入力し、このビット
ストリームの各同期語に続くNビットを誤り訂正復号す
る誤り訂正復号手段を設け、誤り訂正復号手段が誤り訂
正復号により誤りを発見したとき、同期語検出手段が同
期語の再検出を行なうように構成したものであり、同期
語検出手段が偽同期語を検出した場合でも、誤った同期
確立が行なわれることを防止することができる。
According to a second aspect of the present invention, there is provided a synchronizing word detecting means for detecting a synchronizing word from an input bit stream to establish synchronization, and performing variable length decoding of a variable length coded moving picture signal of each picture. A variable-length decoding unit, and a synchronization word evaluation unit that identifies a synchronization word following the video signal of each picture, confirms that synchronization is being established, and outputs a video signal of the decoded picture. In the video signal decoding apparatus comprising: after each synchronization word of S bits,
An N-bit block code in which specific information is error-correction-coded follows, and a bit stream in which a variable-length code sequence of each picture follows this block code is input, and N bits following each synchronization word of this bit stream are erroneously input. Error correction decoding means for correcting and decoding, and when the error correction decoding means finds an error by the error correction decoding, the synchronization word detection means performs redetection of the synchronization word. Even when a false synchronization word is detected, it is possible to prevent incorrect synchronization from being established.

【0024】[0024]

【0025】以下、本発明の実施の形態について図面を
用いて説明する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.

【0026】本発明の符号化/復号化方法を実施する装
置は、符号化側には、図1に示すように、入力したディ
ジタル動画像信号から時間的、空間的な冗長性を除い
て、入力信号を発生頻度に偏りがある信号の列に変換す
る情報源符号化手段101と、情報源符号化手段101から出
力された信号を可変長符号列に変換する可変長符号化手
段102と、各ピクチャーの可変長符号列全体の長さをカ
ウントし、その値をレングス情報として出力するビット
数カウント手段103と、レングス情報をブロック符号に
より誤り訂正符号化する誤り訂正符号化手段104と、各
ピクチャーの可変長符号列の先頭に誤り訂正符号化した
レングス情報を付加してフレームを構成するフレーム構
成手段105と、このフレームの先頭に同期語を付与して
ビットストリームとして出力する同期語付加手段106と
を備えている。
An apparatus for carrying out the encoding / decoding method of the present invention, on the encoding side, removes temporal and spatial redundancy from an input digital video signal as shown in FIG. An information source encoding unit 101 that converts an input signal into a sequence of signals having a bias in occurrence frequency, and a variable-length encoding unit 102 that converts a signal output from the information source encoding unit 101 into a variable-length code sequence. A bit number counting unit 103 that counts the entire length of the variable length code string of each picture and outputs the value as length information, an error correction encoding unit 104 that performs error correction encoding of the length information by block code, A frame structuring unit 105 for composing a frame by adding error-correction-coded length information to the beginning of a variable-length code sequence of a picture; And a synchronization flag addition unit 106.

【0027】一方、復号化側には、図3に示すように、
入力するビットストリームから同期語を検出して、入力
ビットストリームの出力を開始する同期語検出手段301
と、レングス情報の誤り訂正復号を行なう誤り訂正復号
手段302と、レングス情報が与えられるごとに、そのレ
ングス長(1ピクチャー分)の可変長符号を復号する可
変長復号手段303と、1ピクチャー分の可変長符号に引
き続く符号列を同期語のビットパターンと比較評価して
同期外れの有無を判定する同期語評価手段304と、同期
外れの無い符号列を復号する情報源復号手段305とを備
えている。
On the other hand, on the decoding side, as shown in FIG.
Synchronization word detection means 301 for detecting a synchronization word from the input bit stream and starting to output the input bit stream
Error correction decoding means 302 for performing error correction decoding of the length information, variable length decoding means 303 for decoding a variable length code of the length length (for one picture) each time the length information is given, A synchronizing word evaluation unit 304 for comparing and evaluating a code sequence following the variable length code with a bit pattern of a synchronizing word to determine the presence or absence of out-of-synchronization, and an information source decoding unit 305 for decoding a code sequence without out-of-sync. ing.

【0028】この装置の符号化側では、まず、情報源符
号化手段101が、入力されたディジタル動画像信号のP
番目のピクチャーの時間的、空間的な冗長性を除去し、
発生頻度に偏りがある記号の列に変換する。次いで、可
変長符号化手段102が、この記号のうち、発生頻度の高
いものには短い符号を、発生頻度の低いものには長い符
号を割り当てることにより、可変長符号列に変換する。
On the coding side of this apparatus, first, the information source coding means 101 converts the P
Remove the temporal and spatial redundancy of the second picture,
Convert to a sequence of symbols with a biased occurrence frequency. Next, the variable-length encoding unit 102 converts the symbol into a variable-length code string by assigning a short code to a symbol having a high frequency of occurrence and a long code to a symbol having a low frequency of occurrence.

【0029】ビット数カウント手段103は、可変長符号
化手段102から出力されるP番目のピクチャーの可変長
符号列全体の長さをカウントし、その値をレングス情報
として出力する。このとき、レングス情報を、例えば、
レングス情報長K=20ビットによって表す。
The bit number counting means 103 counts the entire length of the variable-length code sequence of the P-th picture output from the variable-length coding means 102, and outputs the value as length information. At this time, the length information is, for example,
Length information length K is represented by 20 bits.

【0030】誤り訂正符号化手段104は、この20ビッ
トのレングス情報に対して、ブロック符号による誤り訂
正符号化を行なう。誤り訂正符号には、例えばリードソ
ロモン符号RS(15、5)を用いる。これは符号長N
=60ビット、その内の情報長が20ビットの符号であ
り、連続20ビットまでのバースト誤り訂正が可能であ
る。
The error correction coding means 104 performs error correction coding using block codes on the 20-bit length information. As the error correction code, for example, a Reed-Solomon code RS (15, 5) is used. This is the code length N
= 60 bits, of which the information length is a 20-bit code, and burst error correction of up to 20 consecutive bits is possible.

【0031】フレーム構成手段105は、P番目のピクチ
ャーの可変長符号列の先頭に、このレングス情報を誤り
訂正符号化したブロック符号を付加して、フレームを構
成する。同期語付加手段106は、このフレームの先頭に
ピクチャーの開始を表わすSビットの同期語、例えば2
0ビットの‘0000000000000001000
0’を付与し、P番目のピクチャーに対応するビットス
トリームとして出力する。
The frame composing means 105 constructs a frame by adding a block code obtained by error-correcting the length information to the head of the variable-length code string of the P-th picture. The sync word adding means 106 adds an S-bit sync word indicating the start of a picture,
0 bit '000000000000000000001000
0 'is added, and output as a bit stream corresponding to the P-th picture.

【0032】図2には、本発明の動画像信号の符号化方
法によって出力されるP番目のピクチャーに対応するビ
ットストリームを示している。
FIG. 2 shows a bit stream corresponding to the P-th picture output by the moving picture signal encoding method of the present invention.

【0033】一方、復号化側では、図4に示す手順でビ
ットストリームの復号を行なう。
On the other hand, the decoding side decodes the bit stream according to the procedure shown in FIG.

【0034】ステップ11:同期語検出手段301は、入力
されたビットストリームからピクチャーの開始を表す2
0ビットの同期語をサーチし、 ステップ12:同期語の検出に成功したときは、引き続く
ビットストリームを出力する。 ステップ13:誤り訂正復号手段302は、同期語に続くN
=60ビットの誤り訂正符号RS(15、5)の復号を
行ない、 ステップ14:誤り訂正復号の結果、誤りが検出されたと
きは、この同期語は偽同期語と判断し、同期語検出手段
301を制御して再び入力ビットストリームから同期語を
検出させる。一方、誤りが検出されなかったときは、 ステップ15:誤り訂正復号手段302は、この同期語によ
り「同期確立」されたものと判断し、誤り訂正復号で得
られたK=20ビットのレングス情報を可変長復号手段
303と同期語評価手段304とに伝える。
Step 11: The synchronous word detecting means 301 indicates the start of a picture from the input bit stream.
Search for a 0-bit sync word. Step 12: If the sync word is successfully detected, output the subsequent bit stream. Step 13: The error correction decoding means 302 sets N following the synchronization word.
Step 14: If an error is detected as a result of error correction decoding, this synchronization word is determined to be a false synchronization word, and the synchronization word detection means
By controlling 301, a synchronization word is detected again from the input bit stream. On the other hand, if no error is detected, Step 15: The error correction decoding means 302 determines that "synchronization has been established" by the synchronization word, and obtains K = 20-bit length information obtained by the error correction decoding. The variable length decoding means
303 and the synchronous word evaluation means 304.

【0035】ステップ16:可変長復号手段303は、この
レングス情報で示されるビット長の可変長符号を1ピク
チャー分として可変長復号し、1ピクチャー分の記号列
を出力する。
Step 16: The variable length decoding means 303 performs variable length decoding with the variable length code having the bit length indicated by the length information as one picture, and outputs a symbol sequence for one picture.

【0036】ステップ17:同期語評価手段304は、誤り
訂正復号手段302から出力されるビットストリームを監
視し、1ピクチャー分の可変長符号に引き続く20ビッ
トと同期語とをビット単位で比較評価し、異なるビット
数が、予め設定した値H、例えばH=3ビット、より少
なければ「同期確立中」として、可変長復号手段303か
ら入力した記号列をそのまま出力し、異なるビット数が
3ビット以上であれば「同期外れ」として、この記号列
は出力せずに、同期語検出手段301を制御して再び入力
ビットストリームから同期語を検出させる。
Step 17: The synchronizing word evaluation means 304 monitors the bit stream output from the error correction decoding means 302, and compares and evaluates 20 bits following the variable length code for one picture and the synchronizing word in bit units. If the number of different bits is a preset value H, for example, H = 3 bits, and if the number is smaller than "synchronization is established", the symbol string input from the variable length decoding means 303 is output as it is, and the number of different bits is 3 bits or more. If this is the case, it is determined that "out of synchronization", the symbol string is not output, and the synchronizing word detecting means 301 is controlled to detect the synchronizing word from the input bit stream again.

【0037】ステップ18:情報源復号手段305は、同期
語評価手段304から出力された記号列を情報源復号し、
P番目のピクチャーとして出力する。
Step 18: The information source decoding means 305 decodes the symbol string output from the synchronizing word evaluation means 304 as an information source,
Output as the P-th picture.

【0038】ステップ19:ビットストリームが終了する
まで、ステップ13〜ステップ19の手順を繰返し、P+
1、P+2、‥、P+n番目のピクチャーを順次出力す
る。
Step 19: The procedure of steps 13 to 19 is repeated until the bit stream ends, and P +
The 1, P + 2,..., And P + n-th pictures are sequentially output.

【0039】このように、この符号化方法では、1ピク
チャーのビットストリームの先頭にSビットの同期語と
Nビットのブロック符号化したレングス情報とを付加し
ているため、復号に際して、同期語の検出の適否をブロ
ック符号の誤り訂正復号結果に基づいてチェックするこ
とができる。検出された同期語がビットストリームの伝
送時または蓄積時のビット誤りから生じた偽の同期語で
ある場合には、それに引き続くNビットの誤り訂正復号
において、誤りが検出される確率が高いから、偽同
に基づく同期確立を阻止することができる。
As described above, in this encoding method, the S-bit synchronization word and the N-bit block-encoded length information are added to the head of the bit stream of one picture. Whether the detection is appropriate or not can be checked based on the error correction decoding result of the block code. If the detected synchronization word is a false synchronization word resulting from a bit error during transmission or accumulation of the bit stream, the probability that an error is detected in the subsequent N-bit error correction decoding is high. it is possible to prevent the synchronization establishment based on the false synchronization word.

【0040】なお、この場合、ブロック符号化する情報
としては、レングス情報以外の情報を用いることも可能
である。
In this case, information other than the length information can be used as the information to be coded.

【0041】また、この復号方法では、レングス情報の
示すビット長のビットストリームに続いて出力されるS
ビットを同期語のビットパターンと比較し、所定数以下
のビット誤りしか含まれていないときには、そのSビッ
トを同期語と見なして、動画像信号の復号を続けてい
る。こうした措置は、誤り訂正された信頼性の高いレン
グス情報を用いることにより可能となる。
In this decoding method, S is output following the bit stream having the bit length indicated by the length information.
The bit is compared with the bit pattern of the synchronizing word, and when only a predetermined number or less of bit errors are included, the S bit is regarded as a synchronizing word and decoding of the moving image signal is continued. Such a measure is made possible by using the error-corrected reliable length information.

【0042】その結果、復号されずに廃棄されるピクチ
ャーの数を減らすことができ、鮮明な画像の再生が可能
となる。
As a result, the number of pictures that are discarded without being decoded can be reduced, and clear images can be reproduced.

【0043】[0043]

【発明の効果】以上の説明から明らかなように、本発明
の動画像信号の符号化/復号化方法では、伝送や蓄積の
際に、ビットストリームにビット誤りが発生した場合で
も、偽同期語によって誤った同期が確立されることを防
ぐことができる。
As is clear from the above description, in the moving picture signal encoding / decoding method according to the present invention, even if a bit error occurs in a bit stream during transmission or storage, a false synchronizing word can be obtained. Erroneous synchronization can be prevented from being established.

【0044】また、同期語にビット誤りが含まれる場合
でも、同期外れを抑えて、復号されないピクチャー数を
減らすことが可能となり、良好な復号動画像を得ること
ができる。
Further, even when a bit error is included in the synchronization word, loss of synchronization can be suppressed, the number of undecoded pictures can be reduced, and a good decoded moving image can be obtained.

【0045】また、本発明の動画像信号の符号化/復号
化装置は、こうした符号化/復号化方法の実施を可能に
する。
Further, the moving picture signal encoding / decoding apparatus of the present invention enables implementation of such an encoding / decoding method.

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

【図1】本発明の動画像信号の符号化方法を実施する符
号化装置の一形態を示すブロック図、
FIG. 1 is a block diagram showing one embodiment of an encoding apparatus that implements a moving image signal encoding method according to the present invention;

【図2】前記符号化方法により符号化されたビットスト
リームを示す図、
FIG. 2 is a diagram showing a bit stream encoded by the encoding method.

【図3】本発明の動画像信号の復号方法を実施する復号
化装置の一形態を示すブロック図、
FIG. 3 is a block diagram showing one embodiment of a decoding device that implements the moving picture signal decoding method of the present invention;

【図4】本発明の動画像信号の復号方法の一実施形態を
示す流れ図、
FIG. 4 is a flowchart showing one embodiment of a moving picture signal decoding method according to the present invention;

【図5】従来の動画像信号の符号化方法を実施する装置
の構成を示すブロック図、
FIG. 5 is a block diagram showing a configuration of an apparatus for implementing a conventional moving picture signal encoding method;

【図6】従来の動画像信号の符号化方法で符号化された
ビットストリームと入力ディジタル動画像信号とを示す
図、
FIG. 6 is a diagram showing a bit stream encoded by a conventional moving image signal encoding method and an input digital moving image signal;

【図7】従来の動画像信号の復号方法を実施する装置の
構成を示すブロック図、
FIG. 7 is a block diagram showing a configuration of an apparatus for implementing a conventional moving image signal decoding method;

【図8】従来の動画像信号の復号方法を示す流れ図であ
る。
FIG. 8 is a flowchart showing a conventional moving picture signal decoding method.

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

101、501 情報源符号化手段 102、502 可変長符号化手段 103 ビット数カウント手段 104 誤り訂正符号化手段 105 フレーム構成手段 106、503 同期語付加手段 301、701 同期語検出手段 302 誤り訂正復号手段 303、702 可変長復号手段 304、703 同期語評価手段 305、704 情報源復号手段 101, 501 Information source coding means 102, 502 Variable length coding means 103 Bit number counting means 104 Error correction coding means 105 Frame construction means 106, 503 Synchronization word addition means 301, 701 Synchronization word detection means 302 Error correction decoding means 303, 702 Variable length decoding means 304, 703 Synchronous word evaluation means 305, 704 Information source decoding means

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 各ピクチャーのディジタル動画像信号を
可変長符号化し、各ピクチャーの可変長符号列のそれぞ
れがSビットの同期語の後に続くようにビットストリー
ムを形成し、復号時には、入力ビットストリームから前
記同期語を検出して同期を確立し、各ピクチャーの可変
長符号列の復号結果を同期確立を確認しながら出力する
動画像信号の符号化/復号化方法において、 前記ビットストリーム上で、前記各同期語の後に特定の
情報を誤り訂正符号化したNビットのブロック符号が続
き、前記ブロック符号の後に前記各ピクチャーの可変長
符号列が続くように符号化し、 復号に際して、前記同期語が検出されたとき、その同期
語に続くNビットを誤り訂正復号し、この誤り訂正復号
により誤りが検出されなかったときにだけ、前記同期語
に基づく同期確立を行なう ことを特徴とする動画像信号
の符号化/復号化方法。
1. A variable-length encoding digital motion picture signals of each picture, each variable-length code sequence for each picture forms a bit stream to follow the synchronization word S bits, upon decoding an input bit stream Before
Synchronization is established by detecting the synchronization word, and each picture can be changed.
A video signal encoding / decoding method for outputting a decoded result of a long code string while confirming synchronization establishment , wherein N bits in which specific information is error-correction-coded after each of the synchronization words on the bit stream. Block code follows, and the variable-length code sequence of each picture follows the block code . In decoding, when the synchronization word is detected, the synchronization
Error correction decoding of N bits following the word
Only when no error is detected by the
Encoding / decoding method for a moving image signal, wherein synchronization is established based on a video signal.
【請求項2】 入力するビットストリームから同期語を
検出して同期を確立する同期語検出手段と、各ピクチャ
ーの可変長符号化された動画像信号を可変長復号する可
変長復号化手段と、各ピクチャーの動画像信号の後に続
く同期語を識別し、同期確立中であることを確認して、
復号された各ピクチャーの動画像信号を出力する同期語
評価手段とを具備する動画像信号の復号化装置におい
て、 Sビットの各同期語の後に、特定の情報を誤り訂正符号
化したNビットのブロック符号が続き、前記ブロック符
号の後に前記各ピクチャーの可変長符号列が続くビット
ストリームが入力し、 このビットストリームの前記各同期語に続くNビットを
誤り訂正復号する誤り訂正復号手段を備え、 前記誤り訂正復号手段が前記誤り訂正復号により誤りを
発見したとき、前記同期語検出手段が前記同期語の再検
出を行なうことを特徴とする動画像信号の復号化装置。
2. Synchronizing words from an input bit stream
Synchronization word detection means for detecting and establishing synchronization, and each picture
Variable-length decoding of variable-length coded video signals
Variable-length decoding means and a video signal following each picture.
After identifying the synchronization word and confirming that synchronization is being established,
Synchronous word that outputs the video signal of each decoded picture
Video signal decoding apparatus comprising evaluation means
Te, after each synchronization flag S bits, error correction code specific information
Followed by a block code of N bits
Bit followed by the variable-length code sequence of each picture
A stream is input and N bits following each of the synchronization words of this bit stream are
Error correction decoding means for performing error correction decoding , wherein the error correction decoding means corrects an error by the error correction decoding.
When the synchronization word is found, the synchronization word detecting means re-examines the synchronization word.
A decoding device for decoding a moving image signal.
JP29931695A 1995-10-25 1995-10-25 Moving image signal encoding / decoding method and encoding / decoding device Expired - Lifetime JP3118170B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP29931695A JP3118170B2 (en) 1995-10-25 1995-10-25 Moving image signal encoding / decoding method and encoding / decoding device
JP32036399A JP3756029B2 (en) 1995-10-25 1999-11-10 Video signal encoding / decoding method and encoding / decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29931695A JP3118170B2 (en) 1995-10-25 1995-10-25 Moving image signal encoding / decoding method and encoding / decoding device

Related Child Applications (3)

Application Number Title Priority Date Filing Date
JP32036299A Division JP3118233B2 (en) 1999-11-10 1999-11-10 Moving image signal encoding / decoding method and encoding / decoding device
JP32036399A Division JP3756029B2 (en) 1995-10-25 1999-11-10 Video signal encoding / decoding method and encoding / decoding device
JP2000255782A Division JP2001103492A (en) 2000-08-25 2000-08-25 Method and device for coding dynamic image signal

Publications (2)

Publication Number Publication Date
JPH09121347A JPH09121347A (en) 1997-05-06
JP3118170B2 true JP3118170B2 (en) 2000-12-18

Family

ID=17870967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29931695A Expired - Lifetime JP3118170B2 (en) 1995-10-25 1995-10-25 Moving image signal encoding / decoding method and encoding / decoding device

Country Status (1)

Country Link
JP (1) JP3118170B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1073511C (en) * 1994-10-05 2001-10-24 罗姆股份有限公司 LED printing head

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000031942A (en) 1998-07-14 2000-01-28 Mitsubishi Electric Corp Acoustic reproducing device and acoustic reproducing method
JP3907860B2 (en) 1999-02-16 2007-04-18 三菱電機株式会社 Moving picture decoding apparatus and moving picture decoding method
JP3540248B2 (en) * 2000-06-01 2004-07-07 松下電器産業株式会社 Variable length code decoding device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1073511C (en) * 1994-10-05 2001-10-24 罗姆股份有限公司 LED printing head

Also Published As

Publication number Publication date
JPH09121347A (en) 1997-05-06

Similar Documents

Publication Publication Date Title
JP3597844B2 (en) Encoding method and apparatus
KR101050830B1 (en) Video error detection technology using the RC parity code
JP3118170B2 (en) Moving image signal encoding / decoding method and encoding / decoding device
JP3118233B2 (en) Moving image signal encoding / decoding method and encoding / decoding device
JP2002247577A (en) Method for transmitting moving image
JP3756029B2 (en) Video signal encoding / decoding method and encoding / decoding device
JPH10178419A (en) Error correcting method and its device
JP5474896B2 (en) Video error detection technology using CRC parity code
JP2001103492A (en) Method and device for coding dynamic image signal
JP2001103476A (en) Coding method and device for dynamic image signal
JP3271208B2 (en) Error correction decoding device
JPH0133993B2 (en)
JP3135241B2 (en) Error detection and correction decoding device
JPH10341434A (en) Image and sound data communication system
JP2871495B2 (en) Error correction code decoding method
JPH05114864A (en) Information transmission and recording device
JPH0984003A (en) Image data communication method and image data communication equipment
JPH04233375A (en) Decoding device
JP2000196567A (en) Transmitter, receiver, transmission system and transmission method
JP2001045479A (en) Method and device for protecting error of variable length coded data
JPH0492515A (en) Modified huffman decoding system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081006

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091006

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091006

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101006

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111006

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121006

Year of fee payment: 12

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131006

Year of fee payment: 13

EXPY Cancellation because of completion of term