JP2006141045A - Moving picture decoding apparatus and method - Google Patents

Moving picture decoding apparatus and method Download PDF

Info

Publication number
JP2006141045A
JP2006141045A JP2005342732A JP2005342732A JP2006141045A JP 2006141045 A JP2006141045 A JP 2006141045A JP 2005342732 A JP2005342732 A JP 2005342732A JP 2005342732 A JP2005342732 A JP 2005342732A JP 2006141045 A JP2006141045 A JP 2006141045A
Authority
JP
Japan
Prior art keywords
information
decoding
region
area
decoded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005342732A
Other languages
Japanese (ja)
Inventor
Takeshi Nagai
井 剛 永
Toshiaki Watanabe
邊 敏 明 渡
Yoshihiro Kikuchi
池 義 浩 菊
Takeshi Chujo
條 健 中
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2005342732A priority Critical patent/JP2006141045A/en
Publication of JP2006141045A publication Critical patent/JP2006141045A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a moving picture decoding apparatus and method which can restrain the quality of a decoded image from greatly deteriorating even if an error occurs in transmission data and which can efficiently decode the data even if only a part of the data can be decoded due to the error. <P>SOLUTION: The moving picture decoding apparatus includes: a decoding means for decoding image information in each region, the each frame of which is divided into a plurality of regions and coded and decoding a region rearranging table for describing information denoting the rearranging order in the unit of the regions; and a region rearranging means for rearranging the image signals of each region decoded according to the region rearranging order described in the region rearranging table decoded by the decoding means into the image signals in the correct rearranging order. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、TV電話、TV会議システム、携帯情報端末、デジタルビデオディスクシステム、デジタルTV放送システムのように、動画像を伝送・蓄積する装置/システムおよび再生する装置/システムに設けられる動画像符号化/復号化装置および方法に係り、特に、画像を少ない情報量に圧縮符号化する装置および圧縮符号化された情報を復元し画像を再生する装置に関する。特に、無線伝送路のように誤りが生じやすい媒体を介して符号化画像を伝送/蓄積する場合でも誤り耐性が強く高品質に動画像の伝送/蓄積を行なうことができる動画像符号化/復号化装置および方法に関する。   The present invention relates to a moving image code provided in a device / system for transmitting and storing a moving image and a device / system for reproducing such as a TV phone, a TV conference system, a portable information terminal, a digital video disk system, and a digital TV broadcasting system. More particularly, the present invention relates to an apparatus that compresses and encodes an image to a small amount of information and an apparatus that restores the compressed and encoded information and reproduces the image. In particular, even when transmitting / accumulating an encoded image via a medium that is prone to error such as a wireless transmission path, the moving image encoding / decoding is highly error-resistant and can transmit / accumulate a moving image with high quality. The present invention relates to an apparatus and method.

近年、伝送・蓄積を効率的に行なうために画像情報を少ない情報量に圧縮符号化する技術として、動き補償、離散コサイン変換、サブバンド符号化、ピラミッド符号化等の個別の方式やこれらの幾つかを組み合わせた方式などの様々な方式が開発され、提案されている。また、特に動画像を圧縮符号化するための国際標準方式として、『ISO−MPEG1,MPEG2,ITU−T・H.261,H.262』が規格化されている。これらはいずれも動き補償適応予測離散コサイン変換符号化を用いた方式に含まれており、その詳細は非特許文献1等に述べられている。ここで、MPEGとはカラー動画像蓄積用符号化方式の標準化作業を進めるための組織(Moving Picture Experts Group)の名称であり、またこの組織により仕様が定められた符号化方式の規格名としても用いられている。   In recent years, as a technique for compressing and encoding image information into a small amount of information for efficient transmission and storage, individual methods such as motion compensation, discrete cosine transform, subband encoding, pyramid encoding, and some of these methods are used. Various methods such as a combination of these have been developed and proposed. In particular, as an international standard system for compressing and encoding moving images, ISO-MPEG1, MPEG2, ITU-T.H. 261, H.M. 262 "has been standardized. These are all included in a method using motion compensation adaptive prediction discrete cosine transform coding, and details thereof are described in Non-Patent Document 1 and the like. Here, MPEG is the name of an organization (Moving Picture Experts Group) for proceeding with the standardization work for the color moving image storage encoding method, and also as the standard name of the encoding method whose specifications are defined by this organization. It is used.

ここで、従来の動画像符号化装置の一例として動き補償適応予測離散コサイン変換を用いた符号化装置の構成を図29のブロック図に示す。符号化装置に入力された画像331は、まず領域分割器301で定められた領域に分割される。そして、図30(a)に示すように、左上の領域から右下の領域の順にブロック順で符号化が行なわれ、図30(b)のようにフレーム同期信号に連続する符号列が形成される。符号化器においては、まず動き補償適応予測が行なわれる。図29において、動き補償適応予測信号作成器304により、入力画像とフレームメモリ305中に蓄えられておりかつ既に符号化及び局部復号化が行なわれた画像との間の動きベクトルを検出し、動き補償予測信号を作成する。動き補償予測および入力信号をそのまま符号化に用いるフレーム内符号化(予測信号=0)のうち符号化に用いて好適な予測モードが選択され、対応する予測信号333が出力される。   Here, a block diagram of FIG. 29 shows a configuration of an encoding apparatus using motion compensated adaptive prediction discrete cosine transform as an example of a conventional moving picture encoding apparatus. The image 331 input to the encoding device is first divided into regions determined by the region divider 301. Then, as shown in FIG. 30A, encoding is performed in block order in the order from the upper left area to the lower right area, and a code string continuous to the frame synchronization signal is formed as shown in FIG. The In the encoder, first, motion compensation adaptive prediction is performed. In FIG. 29, a motion compensation adaptive prediction signal generator 304 detects a motion vector between an input image and an image that has been stored in the frame memory 305 and has already been encoded and locally decoded. Create a compensated prediction signal. A suitable prediction mode is selected from among motion compensation prediction and intra-frame coding (prediction signal = 0) using the input signal as it is for coding, and a corresponding prediction signal 333 is output.

減算器306において、入力信号331から選択された予測信号333が減算され、予測残差信号334が出力される。予測残差信号334は離散コサイン変換器307において一定の大きさのブロック単位で離散コサイン変換(DCT)が行なわれ、さらに量子化器308で量子化が行なわれる。量子化器からの出力は2つに分岐され、一方は多重化器309で動きベクトルとの多重化が行なわれて出力される。もう一方は逆量子化器312で逆量子化され、さらに逆離散コサイン変換器313で逆離散コサイン変換(逆DCT)が行なわれる。逆離散コサイン変換器313からの出力は加算器314において適応予測信号333と加算が行なわれ、フレームメモリ305に記録される。   The subtractor 306 subtracts the prediction signal 333 selected from the input signal 331 and outputs a prediction residual signal 334. The prediction residual signal 334 is subjected to discrete cosine transform (DCT) in a block unit having a constant size in the discrete cosine transformer 307 and further quantized in the quantizer 308. The output from the quantizer is branched into two, and one is multiplexed with a motion vector by a multiplexer 309 and output. The other is inversely quantized by an inverse quantizer 312 and further subjected to inverse discrete cosine transform (inverse DCT) by an inverse discrete cosine transformer 313. The output from the inverse discrete cosine transformer 313 is added to the adaptive prediction signal 333 in the adder 314 and recorded in the frame memory 305.

このような従来の動画像符号化装置には以下のような問題がある。まず、可変長符号においては、一箇所で誤りが生じると、可変長符号の同期外れが発生し、その後の情報が正しく受信できたとしても誤った値に復号されるという問題点がある。これにより一箇所の誤りがその後の復号にも影響を及ぼし、大幅な画質劣化につながる。そのため、従来は誤りが検出されると、次フレームのフレーム同期信号(PSC)まで情報を捨てる等の処理がなされる。しかし、このような処理を行なったとしても、本来の情報量に比べ大幅に情報量が減少するためやはり大きな画質劣化を生じる。   Such a conventional video encoding apparatus has the following problems. First, in the variable-length code, if an error occurs in one place, the variable-length code is out of synchronization, and even if subsequent information can be received correctly, it is decoded to an incorrect value. As a result, an error at one location also affects the subsequent decoding, leading to significant image quality degradation. Therefore, conventionally, when an error is detected, processing such as discarding information up to the frame synchronization signal (PSC) of the next frame is performed. However, even if such processing is performed, the amount of information is greatly reduced compared to the original amount of information, so that a great deterioration in image quality occurs.

このような問題を解決する方法として1994年度画像符号化シンポジウム(PCSJ94)において松村、中井から誤り耐性を考慮した動画像高能率符号化方式が提案されている(非特許文献2参照)。動画像符号化では可変長符号が利用されるが、可変長符号は誤りが生じると同期外れが生じる欠点が存在する。しかし、可変長符号は誤りによる同期外れが生じた場合もそのまま復号することにより、自動的に符号語の切れ目が正しいものと一致し、同期回復をする特徴もある(自己同期回復特性)。通常は同期回復しても、どの領域に相当する情報かを特定することができず、同期回復後の情報も利用不可能であった。上記方式では、この可変長符号の自己同期回復特性を利用できるように符号化系列の記述方法を従来の領域毎の並びから、図31のように情報の内容毎にまとめ、後部予測残差符号列の領域単位の並びを変更した点に特徴がある。これにより、誤りが生じた場合でもそのまま次フレームのフレーム同期信号まで復号を行ない、前部で復号できたヘッダ情報と共に、予測残差信号の復号値を時間的に後の方から順に利用することができ、利用可能な情報の量を増加させている。   As a method for solving such a problem, a high-efficiency video coding scheme considering error tolerance has been proposed by Matsumura and Nakai in the 1994 Image Coding Symposium (PCSJ94) (see Non-Patent Document 2). Although variable-length codes are used in moving picture coding, variable-length codes have a drawback that loss of synchronization occurs when an error occurs. However, the variable-length code also has a feature of automatically recovering synchronization by recovering synchronization automatically by decoding the codeword even when a loss of synchronization occurs due to an error (self-synchronization recovery characteristic). Normally, even if the synchronization is recovered, it is not possible to specify which area corresponds to the information, and the information after the synchronization recovery cannot be used. In the above method, the coding sequence description method is summarized for each information content as shown in FIG. 31 from the conventional arrangement for each region so that the self-synchronization recovery characteristic of the variable length code can be used. It is characterized in that the arrangement of column units is changed. As a result, even if an error occurs, the decoding is performed up to the frame synchronization signal of the next frame as it is, and the decoding value of the prediction residual signal is used in order from the later in time, together with the header information decoded at the front part. Can increase the amount of information available.

しかしながら、この方式にも以下のような問題点がある。1フレームの情報に複数個の誤りが存在するような誤り率の高い伝送路の場合、利用できる情報が減少し効果が少なくなる。復号可能な領域が減少した場合、復号できる確率の高い領域が画像の性質によらず特定の箇所(画面上部)に偏ることになる。これは通常の使用を考えた際、画面中央に重要な領域があることから、背景等の重要度の低い領域のみを救済していることになり、非効率的である。さらに、復号できた領域から復号不可能となった領域を予測しようとした際、一部に偏った領域から画面全体を予測しなければならず、予測が困難である。また、前半のヘッダ情報で誤りが生じた場合、後部予測残差情報が全て復号できたとしても前半のヘッダ情報が復号できた領域しか復号できない。つまり、後部の予測残差情報は前部ヘッダ情報に依存した情報のため復号できた情報が無駄になっている。   However, this method also has the following problems. In the case of a transmission line with a high error rate in which a plurality of errors exist in one frame of information, usable information is reduced and the effect is reduced. When the area that can be decoded decreases, an area with a high probability of being decoded is biased to a specific location (upper part of the screen) regardless of the nature of the image. This is inefficient because there is an important area at the center of the screen when normal use is considered, and only areas of low importance such as the background are relieved. Furthermore, when trying to predict a region that cannot be decoded from a region that can be decoded, the entire screen must be predicted from a region that is partially biased, which is difficult to predict. Further, when an error occurs in the header information of the first half, even if all the rear prediction residual information can be decoded, only the area where the header information of the first half can be decoded can be decoded. That is, since the prediction residual information of the rear part is information depending on the front header information, information that can be decoded is wasted.

図32は、従来の動画像復号装置の概略構成を示すブロック図である。この復号装置は図29に示す符号化装置と逆の動作を行なうことにより復号画像信号を得るものである。   FIG. 32 is a block diagram showing a schematic configuration of a conventional video decoding device. This decoding apparatus obtains a decoded image signal by performing the reverse operation of the encoding apparatus shown in FIG.

図33は、従来のDCT係数のスキャンの順序の例を示す図であり、図示のような経路によりジグザグスキャンが行なわれていた。   FIG. 33 is a diagram showing an example of a conventional DCT coefficient scan order, in which a zigzag scan is performed through a path as shown.

また、図34はフレーム内に同期信号を挿入した従来の符号化方式の一例を示すものであり、図34(a)のような領域の符号化を行なう際に、図34(b)に示すようなnブロックライン(n≧1)単位で同期信号を挿入することにより同期回復の機会を増やすようにしていた。
“マルチメディア符号化の国際標準”(安田浩編・著、丸善、平成3年6月刊行) “誤り耐性を考慮した動画像高能率符号化方式”、松村・中井著、1994年画像符号化シンポジウム、1−1、1994
FIG. 34 shows an example of a conventional encoding method in which a synchronization signal is inserted in a frame. When the area shown in FIG. 34 (a) is encoded, it is shown in FIG. 34 (b). By inserting a synchronization signal in units of such n block lines (n ≧ 1), the chances of synchronization recovery are increased.
“International standard for multimedia coding” (Hiroshi Yasuda, edited by Maruzen, published in June 1991) "High-efficiency video coding considering error resilience", Matsumura & Nakai, 1994 Image Coding Symposium, 1-1, 1994

前述のように、従来の動画像符号化装置及び復号装置においては、符号に誤りが生じると可変長符号の同期外れから復号画像の品質が大きく低下してしまうという欠点がある。また、誤りにより画像の一部のみが復号可能な場合、領域毎の復号可能確率が画像の特徴によらず特定の部分に偏り、非効率的であった。   As described above, the conventional moving image encoding device and decoding device have a drawback that the quality of the decoded image is greatly reduced due to loss of synchronization of the variable length code when an error occurs in the code. Further, when only a part of an image can be decoded due to an error, the decodable probability for each region is biased to a specific part regardless of the feature of the image, which is inefficient.

本発明は、符号の何れかの箇所に誤りが生じた場合であっても、復号画像の品質が大きく劣化することを抑えると共に、誤りにより符号の一部のみが復号可能な場合でも効率良く復号できる動画像復号装置および方法を提供することを目的とする。   Even if an error occurs in any part of the code, the present invention suppresses a significant deterioration in the quality of the decoded image, and efficiently decodes even when only a part of the code can be decoded due to the error. An object of the present invention is to provide a moving picture decoding apparatus and method that can be used.

本発明の第1の構成に係る動画像復号装置は、フレーム毎に複数の領域に分割されて符号化された各領域の画像情報を復号化すると共に領域単位の並べ換え順序を示す情報を記述した領域並べ換えテーブルを復号化する復号化手段と、この復号化手段により復号化された前記領域並べ換えテーブルに記述された領域並べ換え順序に従って復号化された各領域の画像信号を正しい並べ換え順序に並べ換える領域並べ換え手段とを備えることを特徴とする。   The moving picture decoding apparatus according to the first configuration of the present invention describes the information indicating the rearrangement order in units of areas while decoding the image information of each area divided into a plurality of areas for each frame and encoded. Decoding means for decoding the area rearrangement table, and an area for rearranging the image signals of each area decoded in accordance with the area rearrangement order described in the area rearrangement table decoded by the decoding means in the correct rearrangement order Reordering means.

本発明の第2の構成に係る動画像復号装置は、第1の構成において、前記領域並べ換え手段は、フレーム毎に入力された画像信号が複数個のマクロブロック単位で復号化された各領域の画像信号を並べ換えることを特徴とする。   The moving picture decoding apparatus according to the second configuration of the present invention is the video decoding apparatus according to the first configuration, wherein the area rearranging means is configured to decode each area obtained by decoding an image signal input for each frame in units of a plurality of macro blocks. The image signals are rearranged.

本発明の第3の構成に係る動画像復号装置は、前記領域並べ換えテーブル領域に記述された前記並べ換え順序を示す情報は、前記領域並べ換え順序を示す順序数であることを特徴とする。   The video decoding device according to the third configuration of the present invention is characterized in that the information indicating the rearrangement order described in the area rearrangement table area is an order number indicating the area rearrangement order.

また、本発明の第4の構成に係る動画像復号装置は、第1ないし第3の構成の何れかにおいて、前記領域並べ換え手段は、重要な情報が位置している画面の領域を前記並べ換え順序の先頭にして当該領域を並べ換えることを特徴とする。   In the moving picture decoding apparatus according to the fourth configuration of the present invention, in any one of the first to third configurations, the region rearranging unit may convert the region of the screen where important information is located into the rearrangement order. The area is rearranged at the top of the head.

また、本発明の第5の構成に係る動画像復号装置は、第1ないし第4の構成の何れかにおいて、前記復号化手段は、分割された各領域からそれぞれ符号化された各領域の画像情報における前方から後方へ順方向に並ぶ第1の符号列を前方から後方へ順方向に復号し、後方から前方に逆方向に並ぶ第2の符号列を後方から前方へ逆方向に復号することを特徴とする。   Also, in the moving picture decoding apparatus according to the fifth configuration of the present invention, in any of the first to fourth configurations, the decoding means encodes each region image encoded from each divided region. Decoding the first code sequence arranged in the forward direction from the front to the rear in the information in the forward direction from the front to the rear, and decoding the second code sequence arranged in the reverse direction from the rear to the front in the reverse direction from the rear to the front It is characterized by.

本発明の第6の構成に係る動画像復号方法は、フレーム毎に複数の領域に分割されて符号化された各領域の画像情報を復号化すると共に領域単位の並べ換え順序を示す情報を記述した領域並べ換えテーブルを復号化する復号化ステップと、復号化された前記領域並べ換えテーブルに記述された領域並べ換え順序に従って復号化された各領域の画像信号を正しい並べ換え順序に並べ換える領域並べ換えステップとを備えることを特徴とする。   In the moving picture decoding method according to the sixth configuration of the present invention, the image information of each area encoded by being divided into a plurality of areas for each frame is decoded and information indicating the rearrangement order of the area unit is described. A decoding step for decoding the region rearrangement table; and a region rearrangement step for rearranging the image signals of the respective regions decoded in accordance with the region rearrangement order described in the decoded region rearrangement table into a correct rearrangement order. It is characterized by that.

本発明の第7の構成に係る動画像復号方法は、第6の構成において、前記第1の復号化ステップは、フレーム毎に入力される画像信号を複数個のマクロブロック単位で復号化することを特徴とする。   In the moving image decoding method according to the seventh configuration of the present invention, in the sixth configuration, the first decoding step decodes the image signal input for each frame in units of a plurality of macroblocks. It is characterized by.

また、本発明の第8の構成に係る動画像復号方法は、第6または第7の構成の何れかにおいて、前記領域並べ換えテーブル領域に記述された前記並べ換え順序を示す情報は、前記領域並べ換え順序を示す順序数であることを特徴とする。   Further, in the moving picture decoding method according to the eighth configuration of the present invention, in any of the sixth and seventh configurations, the information indicating the rearrangement order described in the region rearrangement table region is the region rearrangement order. It is the order number which shows.

また、本発明の第9の構成に係る動画像復号方法は、第6ないし第8の構成の何れかにおいて、前記領域並べ換えステップでは、重要な情報が位置している画面の領域を前記並べ換え順序の先頭にして当該領域を並べ換えることを特徴とする。   The moving picture decoding method according to the ninth configuration of the present invention is the video decoding method according to any of the sixth to eighth configurations, wherein in the region rearranging step, the region of the screen in which important information is located is the rearrangement order. The area is rearranged at the top of the head.

本発明の第10の構成に係る動画像復号方法は、第6ないし第9の構成の何れかにおいて、前記復号化ステップでは、分割された各領域からそれぞれ符号化された各領域の画像情報における、前方から後方へ並ぶ第1の符号列が前方から後方へ順方向に復号化され、後方から前方に逆方向に並ぶ第2の符号列が後方から前方へ逆方向に復号化されることを特徴とする。   The moving picture decoding method according to the tenth configuration of the present invention is the video decoding method according to any one of the sixth to ninth configurations, wherein in the decoding step, the image information of each area encoded from each divided area is used. The first code sequence arranged from the front to the rear is decoded in the forward direction from the front to the rear, and the second code sequence arranged in the reverse direction from the rear to the front is decoded in the reverse direction from the rear to the front. Features.

以上説明したように、本発明によれば、伝送/蓄積の際に発生する符号の誤りに起因する復号画像の品質劣化が小さい動画像符号化/復号化装置および方法を提供することができる。   As described above, according to the present invention, it is possible to provide a moving picture encoding / decoding apparatus and method in which the quality degradation of a decoded picture caused by a code error occurring during transmission / accumulation is small.

動画像符号化における符号化情報を複数の符号情報群に分割し、少なくとも符号情報群の1つを順方向、他の1つを逆方向に記述することで、一方の情報に誤りが発生しても他方の情報から復号を行なうことにより、動画像情報の復号効率の向上を図ることができ、また、復号された画像の品質が大幅に劣化するのを防止することもできる。   Dividing the coding information in moving picture coding into a plurality of code information groups, and describing at least one of the code information groups in the forward direction and the other in the reverse direction, an error occurs in one information. However, by decoding from the other information, it is possible to improve the decoding efficiency of the moving image information, and it is possible to prevent the quality of the decoded image from being greatly deteriorated.

また、動画像符号化において、符号化により1つの入力画像から2つの独立した符号列を出力する場合、入力画像を分割した各領域の符号化順序をそれぞれ別々の順序で符号化することで、両方の情報に途中で誤りが発生し復号不可能になった場合でも復号可能な部分が画像の一部に偏ることがなくなり、画面の全体もしくは重要な部分が優先的に再生可能となる。   Further, in the case of moving image encoding, when two independent code strings are output from one input image by encoding, the encoding order of each region obtained by dividing the input image is encoded in different orders, respectively. Even when an error occurs in both pieces of information and decoding becomes impossible, the decodable part is not biased to a part of the image, and the entire screen or important part can be preferentially reproduced.

以下、本発明の実施の形態を説明する。まず、動画像符号化/復号化装置の概念図である図1により、全体構成を説明する。画像入力は符号化手段10により圧縮符号化され、所定の配列の2つの符号列に形成される。この符号化手段10は、画面上を所定領域毎に分割する領域分割手段11と、分割された領域毎に例えば重要度等の基準により並べ換える領域並べ換え手段12と、並べ換えられた領域について2つの符号列を形成する符号列形成手段13と、を含んでいる。符号化手段10により形成された符号列は、符号列分割手段14により分割され、次いで、符号列並べ換え手段15により1つのフレーム内を、このフレームを挟む2つのフレーム同期信号(PSC)からフレーム中央に向かい正逆両方向に並べ換えられる。この状態を示すのが図2のデータフレームである。   Embodiments of the present invention will be described below. First, the overall configuration will be described with reference to FIG. 1 which is a conceptual diagram of a moving image encoding / decoding device. The image input is compression encoded by the encoding means 10 and formed into two code strings in a predetermined arrangement. The encoding unit 10 includes an area dividing unit 11 that divides the screen into predetermined areas, an area rearranging unit 12 that rearranges the divided areas on the basis of, for example, importance, and the like. Code string forming means 13 for forming a code string. The code string formed by the encoding means 10 is divided by the code string dividing means 14, and then the code string rearranging means 15 within one frame from the two frame synchronization signals (PSC) sandwiching this frame to the center of the frame. Sorted in both forward and reverse directions. This state is shown in the data frame of FIG.

第1実施形態First embodiment

図3は、本発明による動画像復号装置の第1実施形態のブロック図である。この第1実施形態は動き補償適応予測離散コサイン変換符号化方式を用いた動画像復号装置である。   FIG. 3 is a block diagram of the first embodiment of the video decoding apparatus according to the present invention. The first embodiment is a moving picture decoding apparatus using a motion compensated adaptive prediction discrete cosine transform coding system.

動き補償適応予測離散コサイン変換符号化方式については前述の非特許文献1等に詳しい説明があるので動作の概略のみを説明し、従来方式との差異を詳細に説明する。   Since the motion compensation adaptive prediction discrete cosine transform coding method is described in detail in the aforementioned Non-Patent Document 1, etc., only the outline of the operation will be described, and the difference from the conventional method will be described in detail.

符号化装置に入力した画像131は、領域分割器101において、予め定められた領域毎に分割された後、領域並べ変え器102に転送される。領域並べ変え器では並べ変える順序を記述した領域並べ変えテーブル103の情報を基に並べ変えが行なわれ、各領域に動き補償適応予測器104に転送される。領域の並べ変えに関する部分は本発明の重要部分であるため、ブロック図についての概略を説明した後、詳細に説明する。   The image 131 input to the encoding device is divided into predetermined regions by the region divider 101 and then transferred to the region rearranger 102. The region rearranger performs rearrangement based on the information in the region rearrangement table 103 describing the rearrangement order, and transfers it to the motion compensated adaptive predictor 104 for each region. Since the part relating to the rearrangement of the areas is an important part of the present invention, the outline of the block diagram will be described and then described in detail.

動き補償適応予測器104においては、すでに符号化/復号化処理が終了した前フレームが格納されているフレームメモリ105から呼び出された前フレーム情報と、前記領域毎に分割された現フレーム情報とを比較して、現フレームのその領域が前フレームのどの部位から移動してきたか、つまり、現フレームまでの間にその領域にどの程度の動きがあったかを計算してこれを動きベクトルとして表現する(この一連の操作を動き補償と称する)。   In the motion compensated adaptive predictor 104, the previous frame information called from the frame memory 105 in which the previous frame for which the encoding / decoding process has been completed is stored, and the current frame information divided for each region are obtained. In comparison, from which part of the previous frame the area of the current frame has moved, that is, how much movement has occurred in the area up to the current frame, this is expressed as a motion vector (this A series of operations is called motion compensation).

差分器106では、現フレームの各領域情報から動き補償された前フレームの各領域情報が差し引かれ、その差分情報(つまり前フレームに動き情報を考慮しただけでは表しきれなかった現フレームの情報)が離散コサイン変換器107、量子化器108にて符号化される。各々の領域毎に、この符号化情報と動きベクトル情報が多重化器109にて多重化され、さらに符号列分割器110にて符号列を二つに分割し、次の符号列並べ変え器111にて並べ変えが行なわれた後、伝送路に送出されて受信側に送られる。この符号列分割器110および符号列並べ変え器111に関しても、本発明の重要部分のため前記領域並べ変え器と同様に詳細は後述する。   The subtractor 106 subtracts each area information of the previous frame that has been motion-compensated from each area information of the current frame, and obtains the difference information (that is, information of the current frame that could not be expressed simply by considering the motion information in the previous frame). Are encoded by the discrete cosine transformer 107 and the quantizer 108. For each region, this encoded information and motion vector information are multiplexed by a multiplexer 109, and the code string is further divided into two by a code string divider 110, and the next code string rearranger 111 is divided. After being rearranged at, it is sent to the transmission line and sent to the receiving side. Details of the code string divider 110 and the code string rearranger 111 will be described later in the same manner as the area rearranger because of an important part of the present invention.

一方、符号化された各々の領域毎の情報は、逆量子化器112、逆離散コサイン変換器113で動き補償誤差として復号され、加算器114にて動き補償後の前フレーム情報と動き補償誤差とが加算され現フレーム情報が再生されてフレームメモリ内に格納される。   On the other hand, the encoded information for each region is decoded as a motion compensation error by the inverse quantizer 112 and the inverse discrete cosine transformer 113, and the previous frame information and motion compensation error after motion compensation are added by the adder 114. And the current frame information is reproduced and stored in the frame memory.

従来の動き補償誤差符号化方式においては、領域分割器101が領域を分割した後、図30に示される順で領域単位に符号化していたのに対し、本発明の実施形態においては各領域に分割後、新たに領域並べ変え器102を付加し領域の並べ変えを行なう。図4は、分割した領域をどのような順序で並べ変えを行なうかを示した一例である。このような領域の符号化順序を順序数として記憶した領域並べ変えテーブル103を用意し、それを参照しながら領域並べ変え器102では領域の並べ変えを行なう。本発明では領域並べ変え器102で並び変え符号化された符号列を符号列分割器110において2つの符号列に分割する。図4の場合、(a)、(b)それぞれに対応した第1の符号列及び第2の符号列に分割する。   In the conventional motion compensation error encoding method, the region divider 101 divides the region and then encodes the region unit in the order shown in FIG. 30, whereas in the embodiment of the present invention, each region is encoded. After the division, a region rearranger 102 is newly added to rearrange the regions. FIG. 4 is an example showing in what order the divided areas are rearranged. An area rearrangement table 103 storing the coding order of such areas as the order number is prepared, and the area rearranger 102 rearranges the areas while referring to it. In the present invention, the code string rearranged and encoded by the area rearranger 102 is divided into two code strings by the code string divider 110. In the case of FIG. 4, it is divided into a first code string and a second code string corresponding to (a) and (b), respectively.

そして、次の符号列並べ変え器111において、第1の符号列はフレーム同期信号に連続して前方から後方へ順方向に並べ、第2の符号列は第1の符号列に連続して後方から前方へ逆方向に並べ変え伝送路へ送出する。図5は本発明における伝送路へ送出する符号列の並べ方を記述したものである。これにより、2つに分割した符号列のうち第1の符号列は現フレームのフレーム同期信号を見つけることで復号可能となり、第2の符号列は次フレームのフレーム同期信号を見つけることにより、その同期信号から逆方向に符号列が配列されているので復号可能となる。   Then, in the next code sequence rearrangement unit 111, the first code sequence is arranged in the forward direction from the front to the rear in succession to the frame synchronization signal, and the second code sequence is arranged in the rear of the first code sequence. Rearranged in the reverse direction and sent to the transmission path. FIG. 5 describes the arrangement of the code strings sent to the transmission line in the present invention. As a result, the first code sequence among the code sequences divided into two can be decoded by finding the frame synchronization signal of the current frame, and the second code sequence can be decoded by finding the frame synchronization signal of the next frame. Since the code string is arranged in the reverse direction from the synchronization signal, decoding is possible.

よって、復号途中で誤りが発生した場合、従来は次フレームのフレーム同期信号までの情報を全て廃棄しなくてはならないため画質に大幅な劣化を生じていたのに対し、本発明では、一方の情報に誤りが生じて復号できず、さらに可変長符号の同期はずれから第1の符号列の終端部分が特定できない場合でも、第2の符号列は次フレームのフレーム同期信号にのみ依存しているため第1の符号列とは無関係に復号が可能となる。このように本発明は、一方の符号列に生じた誤りの影響が他方の符号列の復号に及ばない構造となっている。これにより図31の従来の符号化装置において問題となっていた前部情報に後部情報が依存する問題点を解決することができる。   Therefore, when an error occurs in the middle of decoding, the information up to the frame synchronization signal of the next frame has to be discarded in the past. Even if the information has an error and cannot be decoded, and even if the end portion of the first code string cannot be specified due to loss of synchronization of the variable-length code, the second code string depends only on the frame synchronization signal of the next frame. Therefore, decoding is possible regardless of the first code string. As described above, the present invention has a structure in which the influence of an error occurring in one code string does not reach the decoding of the other code string. This can solve the problem that the rear information depends on the front information, which has been a problem in the conventional coding apparatus of FIG.

さらに、一方の情報が欠落した場合、もしくは両方の情報が途中までしか復号できなかった場合でも、領域の符号化順序を図4のように変更しているため、復号できる領域が画面の特定領域に偏らなくすることができる。また、復号できた領域が画面全体に均一に存在していることから、復号できた領域の情報を用いて復号不可能となった領域を予測することが容易に行なうことができる。これによって、現フレームの画像を完全とはいかないまでも大幅な画質劣化を引き起こさないようにすることができ、ある程度の高画質を有する画像として復号することができる。   Furthermore, even if one of the information is missing or both of the information can only be decoded halfway, the area encoding order is changed as shown in FIG. Can be avoided. In addition, since the decoded area is uniformly present on the entire screen, it is possible to easily predict the area that cannot be decoded using the information of the decoded area. As a result, the image of the current frame can be prevented from causing a significant deterioration in image quality even if it is not perfect, and can be decoded as an image having a certain high image quality.

第1の実施の形態として第1及び第2の発明を合わせた例を挙げたが、特に第1及び第2の発明を同時に用いる必要はなく、それぞれ独立に実現することも可能である。また、この第1の実施の形態は動き補償適応予測離散コサイン変換符号化方式を用いていたが、特にこの符号化方式である必要はなく他の画像符号化方式に対しても利用可能である。   Although the example which combined the 1st and 2nd invention was given as 1st Embodiment, it is not necessary to use the 1st and 2nd invention simultaneously, and it is also possible to implement | achieve each independently. In addition, the first embodiment uses the motion compensated adaptive prediction discrete cosine transform coding method. However, this coding method is not particularly required and can be used for other image coding methods. .

図6及び図7は、領域並べ変えテーブルの例を幾つか示したものである。例えば、画面中央に重要な情報(動き、顔等)があるような入力画像が中心のアプリケーションであれば、画面中央の領域が先頭に来るように情報を並べ変える。このように並べ換えを行なうことで誤りが生じ可変長符号の同期外れが生じた場合でも重要な領域の復号可能確率を従来よりも高くすることができる。これは、誤りが生じた場合可変長符号の性質上後部の情報ほど復号不可能となる確率が高くなることを考慮した構成となっているためである。また、この他にも動きベクトルの値等から画像の重要中心部を求めて、その座標の領域から図8に示されるように螺旋状に領域を符号化することで入力画像毎に並べ変えテーブルを切替えもしくは作成使用することも可能である。その際、フレーム毎の符号列は、フレーム同期信号の後に前記重要中心部座標を表す情報を挿入しておくなどして符号化側と復号化側での整合性をとる必要がある。さらに、符号化側と復号化側で同一の並べ変えテーブルを複数個用意し、符号化側で画像に応じ適応的に切替え使用した並べ変えテーブルの番号と合わせて受信側へ送出することで、並べ変えテーブルを切替えることも可能である。   6 and 7 show some examples of area rearrangement tables. For example, if the input image has important information (movement, face, etc.) at the center of the screen, the information is rearranged so that the center of the screen comes to the top. By performing the rearrangement in this way, even if an error occurs and the synchronization of the variable length code is lost, the probability of decoding an important area can be made higher than before. This is because, in the nature of the variable-length code, when the error occurs, the rear information has a higher probability that it cannot be decoded. In addition to this, an important center part of an image is obtained from the value of a motion vector, etc., and the region is rearranged for each input image by encoding the region spirally as shown in FIG. 8 from the coordinate region. It is also possible to switch or create. At that time, the code sequence for each frame needs to be consistent on the encoding side and the decoding side by inserting information representing the important center coordinates after the frame synchronization signal. Furthermore, by preparing a plurality of the same rearrangement table on the encoding side and the decoding side, and sending them to the receiving side together with the number of the rearrangement table used adaptively according to the image on the encoding side, It is also possible to switch the rearrangement table.

例えば、双方向復号可能な可変長符号を利用した場合、順方向、逆方向に符号列を分割する必要はなく、1つの符号列として順方向からも逆方向からも復号できる。その際、符号列の並び方を図4,6,7及び8にそれぞれ示されるような並び方にすることにより重要な部分の復号確率を高くすることも可能である。その一例として、図9に双方向復号可能な可変長符号を利用した場合の符号列の並べ方を示している。図中の数字のついたブロックは、それぞれが符号化の際のマクロブロックに相当するようなものを表しているものとする。   For example, when a variable-length code capable of bidirectional decoding is used, it is not necessary to divide the code sequence in the forward direction and the reverse direction, and decoding can be performed from the forward direction and the reverse direction as one code sequence. At that time, it is possible to increase the decoding probability of the important part by arranging the code strings as shown in FIGS. 4, 6, 7 and 8, respectively. As an example, FIG. 9 shows how code strings are arranged when a variable-length code capable of bidirectional decoding is used. It is assumed that the blocks with numbers in the drawing represent the blocks corresponding to the macroblocks at the time of encoding.

第2実施形態Second embodiment

次に、第2実施形態に係る動画像復号装置および方法について説明する。図10は第2実施形態の符号化装置を示すブロック図である。図3と異なる点は、図11に示すように情報の分割が第1の実施の形態は画面全体を2つの領域群に分割し、符号列分割器110でそれに対応する符号列に分割するのに対し、この実施の形態は第1および第2の符号列それぞれが画面全体の全ての領域を含む変わりに各領域の符号列それぞれがDCT係数列分割器220で2つに分割された一方のみを含んだものとすることにある。   Next, a moving picture decoding apparatus and method according to the second embodiment will be described. FIG. 10 is a block diagram showing an encoding apparatus according to the second embodiment. The difference from FIG. 3 is that, as shown in FIG. 11, the first embodiment divides the entire screen into two area groups, and the code string divider 110 divides the information into corresponding code strings. On the other hand, in this embodiment, instead of each of the first and second code strings including all the areas of the entire screen, only one of the code strings in each area is divided into two by the DCT coefficient string divider 220. Is to include.

これにより、一方の情報が損失した場合でも、他方の情報が復号可能であるならば、各領域に通常の品質より多少は劣っていてもある程度の品質を有する画像が復号でき、第1実施形態に比較し画面全体では均一な画質が得ることができる。この他にも、DCT係数に限られず他の各情報も2つに分割し、符号化することも可能である。   Thereby, even if one information is lost, if the other information can be decoded, an image having a certain level of quality can be decoded in each region even if it is slightly inferior to the normal quality. Compared to the above, uniform image quality can be obtained on the entire screen. In addition to this, the information is not limited to the DCT coefficient, and each other information can be divided into two and encoded.

各領域の情報を2つに分割する構成としては、以下のような例があげられる。予測誤差信号を離散コサイン変換して得られた係数を、従来は図33のようにジグザクスキャンにより符号化していたのに対し、本発明においては図12のように奇数番目の係数と偶数番目の係数とに分割する。また、図13のように水平方向の相関を強く反映する部分と垂直方向の相関を強く反映する部分に分割することも可能である。さらに、上記例(図12)が通常のジグザグスキャンを基にしてDCT係数列を分割しているのに対し、画像に合ったスキャンを基にDCT係数を分割する構成とすることも本発明では可能である。   Examples of the configuration for dividing the information of each area into two include the following. The coefficients obtained by performing discrete cosine transform on the prediction error signal are conventionally encoded by zigzag scanning as shown in FIG. 33, whereas in the present invention, odd-numbered coefficients and even-numbered coefficients are used as shown in FIG. Divide into coefficients. Further, as shown in FIG. 13, it is possible to divide into a portion that strongly reflects the correlation in the horizontal direction and a portion that strongly reflects the correlation in the vertical direction. Furthermore, while the above example (FIG. 12) divides the DCT coefficient sequence based on a normal zigzag scan, the present invention can also be configured to divide the DCT coefficient based on a scan that matches the image. Is possible.

図14は図1の動画号符号化装置に対応した動画像復号装置を示している。符号化装置から伝送/蓄積された符号列はフレーム同期信号検出後、符号化順序テーブル1103の情報を基に、領域毎に予測誤差信号を復号し、逆量子化器1112において逆量子化、逆DCT器1113で逆離散コサイン変換という一連の処理を行なう。この際、読み込んだ符号列は符号列メモリ1116に同時に蓄えていく。前部第1の符号列を復号終了した場合、もしはく何らかの誤りが生じ復号不可能となった場合には、復号処理を停止し、次のフレームのフレーム同期信号まで符号列メモリ1116に符号列を蓄え続ける。次フレームのフレーム同期信号を発見したら、符号列並べ変え器1117において符号列メモリ1116の内容を最後から1ビットずつ逆に読み出して復号を行なう。前部第1の符号列と同様に復号を行ない、復号が終了もしくは誤りにより復号不可能となった場合には復号処理を終了し、前部第1の情報と後部第2の情報の復号できた情報を合わせて復号情報とする。   FIG. 14 shows a moving picture decoding apparatus corresponding to the moving picture number coding apparatus of FIG. The code sequence transmitted / accumulated from the encoding device detects the frame synchronization signal, and then decodes the prediction error signal for each region based on the information in the encoding order table 1103, and the inverse quantizer 1112 performs inverse quantization and inverse quantization. A series of processes called inverse discrete cosine transform is performed by the DCT unit 1113. At this time, the read code string is stored in the code string memory 1116 at the same time. When the decoding of the front first code string is completed, if any error occurs and decoding becomes impossible, the decoding process is stopped and the code string memory 1116 stores the code until the frame synchronization signal of the next frame. Keep accumulating rows. When the frame synchronization signal of the next frame is found, the code string rearranger 1117 reads the contents of the code string memory 1116 reversely bit by bit from the end, and performs decoding. Decoding is performed in the same manner as the front first code string. When the decoding is completed or cannot be decoded due to an error, the decoding process is terminated, and the front first information and the rear second information can be decoded. The combined information is used as decryption information.

そして、加算器1114で予測信号と加算して再生画像を得る。再生画像は装置外へ出力されると共にフレームメモリ1105へ記録される。上記のような2つに符号列が分解され一方が順方向で他方が逆方向に並べられた符号列を復号することで、一方に誤りが存在し復号不可能となった場合でも他方へは全く影響せず復号を行なうことができる。さらに、領域並べ変えによって符号化順序を変更していることから、誤り検出器1126,1127によって誤りが検出された場合でも、復号できた領域から復号不可能となった領域を予測し、補間することが従来法に比べて容易となる。   Then, an adder 1114 adds the prediction signal to obtain a reproduced image. The reproduced image is output to the outside of the apparatus and recorded in the frame memory 1105. By decoding a code string in which the code string is decomposed into two as described above and one is arranged in the forward direction and the other is arranged in the reverse direction, even if there is an error in one and decoding becomes impossible, the other Decoding can be performed without any influence. Further, since the encoding order is changed by rearranging the regions, even when an error is detected by the error detectors 1126 and 1127, a region that cannot be decoded is predicted from the decoded region and interpolated. This is easier than the conventional method.

次に、誤り率が異なる2つの伝送路を用いて伝送を行なう場合の符号化装置について説明する。誤り率の異なる伝送路を用いて伝送する際、誤り率の低い高品質な伝送路で誤った場合重大な影響を及ぼす重要な情報を伝送して、誤り率の高い伝送路では重要度の低い情報を伝送するといった階層化手段がしばしば用いられる。そこで、誤り率の低い伝送路(上位階層)、誤り率の高い伝送路(下位階層)それぞれに転送される情報に対し前記第1の実施の形態、第2の実施の形態と同様に領域の並べ変え、符号列の分割、符号列の並べ変えを行なうことで階層符号化に対しても同様に対応できる。図15は階層化と組み合わせた際の符号列の例を示したものである。この例は、領域の並べ変えを行ない符号化されたもののうち、上位階層にはモード情報、動きベクトル等の重要な情報を入れ、下位階層には予測差信号をいれる。   Next, a description will be given of an encoding apparatus when transmission is performed using two transmission paths having different error rates. When transmitting on transmission lines with different error rates, important information is transmitted that has a significant effect on a high-quality transmission line with a low error rate, and less important on transmission lines with a high error rate. Hierarchical means such as transmitting information are often used. Therefore, in the same way as in the first and second embodiments, the area of the information transferred to the transmission path with a low error rate (upper layer) and the transmission path with a high error rate (lower layer) is described. By rearranging, dividing the code string, and rearranging the code string, it is possible to cope with hierarchical coding in the same manner. FIG. 15 shows an example of a code string when combined with hierarchization. In this example, important information such as mode information and motion vector is put in the upper layer among the encoded data obtained by rearranging the regions, and the prediction difference signal is put in the lower layer.

そして、それぞれの階層で符号列を2つに分割し、一方を前方から後方へ順方向に、他方を後方から前方へ逆方向に並べ変える。第1の実施の形態のように符号列を分割する場合、上位階層と下位階層で同じ分割の仕方をする方が上位階層と下位階層の整合性が正しくとれる。しかし、1フレームの領域を2つに分割する際、符号量がどちらか一方に偏るような場合には、上位階層は誤り率が低いことを考慮して図16のように符号列の分割は行なわず1つの符号列で表し、下位階層のみ符号列の分割を行なう。その際、下位階層の2つの符号列の符号量が均等に近づくように、図4の(a)(b)に含まれる領域の個数を変える。つまり、図4(a)(b)に含まれる領域の数を等しくせず、上位階層のモード情報等から動的に変化させる。このようにすることで、下位階層の2つに分割した符号列の符号量が均等になるように分割することができる。   Then, the code string is divided into two in each layer, and one is rearranged in the forward direction from the front to the rear and the other in the reverse direction from the rear to the front. When the code string is divided as in the first embodiment, matching between the upper layer and the lower layer is more correctly performed by performing the same division method in the upper layer and the lower layer. However, when the area of one frame is divided into two, if the code amount is biased to either one, the code string is divided as shown in FIG. 16 considering that the upper layer has a low error rate. It is represented by one code string without being performed, and the code string is divided only in the lower layer. At that time, the number of areas included in (a) and (b) of FIG. 4 is changed so that the code amounts of the two code strings in the lower hierarchy are evenly approached. That is, the number of areas included in FIGS. 4A and 4B is not made equal, but is dynamically changed from mode information or the like of the upper layer. By doing in this way, it can divide | segment so that the code amount of the code sequence divided | segmented into two of the lower hierarchy may become equal.

これらの例は、予測誤差とそれ以外の情報とで切り別けているが、動きベクトルの符号量に応じて動きベクトルを上位階層と下位階層に振り分けたり、もしくは動きベクトルの符号量が少なく上位階層に余裕があったりする場合には、予測誤差信号のDCT係数のうち幾つかを上下階層に振り分ける等の操作を行なうことも可能である。   In these examples, the prediction error is separated from the other information, but the motion vector is divided into the upper layer and the lower layer according to the code amount of the motion vector, or the code amount of the motion vector is small and the upper layer is low. When there is a margin, it is possible to perform operations such as distributing some of the DCT coefficients of the prediction error signal to the upper and lower layers.

また、図17に示すように、1つの伝送路に対し重要度の高い情報を前部に配置し、重要度の低い情報をそれに続いて配置するようなシステムにおいては、図17(a)における重要度の高い符号列を順方向に並べてから、重要度の低い符号列を逆方向に並べかえると共にこれを重要度の高い符号列の後ろに配置するように適用する(図17(c))ことにより、図17(b)に示す従来の例に比較して誤りが生じた場合でも多くの情報が正しく復号可能になる。その際、上位階層の符号列(順方向の符号列)の先頭に位置する情報に対応した下位階層の情報ほど下位階層の符号列(逆方向の符号列)の先頭に位置するように配置する。可変長符号化では先頭の情報の方が正しく復号される確率が高いため、図18のように本実施の形態の方式を適用すると、上位は前部の情報ほど、下位は後ろの同期信号に近い後部の情報ほど正しく復号される確率が高い。   Further, as shown in FIG. 17, in a system in which highly important information is arranged in the front part for one transmission line, and less important information is subsequently arranged, in FIG. After the code sequences with high importance are arranged in the forward direction, the code sequences with low importance are arranged in the reverse direction, and this is applied so as to be arranged behind the code sequences with high importance (FIG. 17 (c)). Thus, much information can be correctly decoded even when an error occurs compared to the conventional example shown in FIG. At that time, the lower layer information corresponding to the information located at the head of the upper layer code string (forward code string) is arranged so that it is located at the head of the lower layer code string (reverse code string). . In variable-length coding, the probability that the top information is correctly decoded is higher. Therefore, when the method of this embodiment is applied as shown in FIG. 18, the upper part is the front information and the lower part is the rear synchronization signal. The nearer the rear information, the higher the probability of being correctly decoded.

したがって、ブロック等の単位毎に符号化していく方式のうち、各々の単位毎の情報を上位・下位に分割し符号化する階層符号化方式においては、上位の先頭の情報に対応した下位の情報を後部(後部の同期信号の近く)に配置する方が効率は良い。図19にはその詳細が示されている。この場合、図19(a)のように配置しないで、図19(b)のように配置すると、下位で正しく復号できた情報に対応する上位の情報がないため、符号語のレベルで復号できてもそこから画像信号を再生することができなくなる。   Therefore, among the methods of encoding for each unit such as a block, in the hierarchical encoding method in which the information for each unit is divided into higher and lower levels and encoded, the lower level information corresponding to the upper head information It is more efficient to place the at the rear (near the rear synchronizing signal). FIG. 19 shows the details. In this case, if not arranged as shown in FIG. 19 (a) but arranged as shown in FIG. 19 (b), there is no upper information corresponding to information correctly decoded in the lower order, so that decoding can be performed at the codeword level. However, the image signal cannot be reproduced from there.

次に、本発明に係る動画像符号化装置及び復号装置を階層符号化方式に適用するについては、上記実施の形態のように階層化された符号列毎に本発明を適用するのではなく、順方向に並べられた符号列と逆方向に並べられた符号列とのそれぞれの符号列を階層化するようにしても良い。   Next, for applying the moving picture encoding apparatus and decoding apparatus according to the present invention to the hierarchical encoding scheme, the present invention is not applied to each hierarchical code string as in the above embodiment, Each code string of the code string arranged in the forward direction and the code string arranged in the reverse direction may be hierarchized.

図20は、符号列毎に階層化を行なう実施の形態を説明するための符号列の構成を示している。図20に示されるように、この実施の形態においては2つに分割された符号列のそれぞれが階層化されているものであり、例えば、1フレームの画像を飛び越し走査(インタレース)して2つのフィールドに分割し、まず、その一方のフィールドを順方向の符号列として構成し、他方を逆方向の符号列として構成する。次に、それぞれの符号列において、上位情報としては復号時に必ず必要となるような情報を配置し、下位情報としては例えば残差部等を配置して階層化する。   FIG. 20 shows the configuration of a code string for describing an embodiment in which hierarchization is performed for each code string. As shown in FIG. 20, in this embodiment, each of the code strings divided into two is hierarchized. For example, one frame image is interlaced and scanned 2 First, one field is configured as a forward code string, and the other is configured as a reverse code string. Next, in each code string, information necessary for decoding is arranged as upper information, and a residual part is arranged as lower information, for example, and hierarchized.

以上のように構成された階層化符号列は、何れか一方が誤り等の発生により復号できない場合であっても、もう一方は完全に復号することができる。したがって、上位情報と下位情報とをそれぞれ別個に階層化するよりは容易かつ効率的に階層符号化を実施することが可能となる。また、上位情報が完全に復号されないと、たとえ下位情報が復号されても利用することができないようなシステムにおいても効率的な符号の階層化を実現できる。下位情報が復号されても上位情報が復号されないと利用することのできないシステムというのは、例えば図15の例において、上位情報と下位情報との間に同期信号が挿入されていなかったり、上位情報の最後を示すポインタ情報が付加されていなかったりする場合等が考えられる。したがって、図15の実施の形態において、上位情報・下位情報間に同期信号を挿入したり、ポインタ情報等を付加したりすることによっても、上位情報が復号されても下位情報が復号されない限り、何れの情報をも利用できないという不具合は改善することが可能ではあるが、この実施の形態のように階層符号化することにより、格段に容易に上記不具合を解消できる。   Even if one of the hierarchized code strings configured as described above cannot be decoded due to an error or the like, the other can be completely decoded. Therefore, it is possible to implement hierarchical encoding more easily and efficiently than hierarchically classifying the upper information and the lower information. Moreover, if the upper information is not completely decoded, efficient code hierarchization can be realized even in a system that cannot be used even if the lower information is decoded. For example, in the example of FIG. 15, a system in which a synchronization signal is not inserted between the upper information and the lower information, or the upper information There may be a case where pointer information indicating the end of the file is not added. Therefore, in the embodiment of FIG. 15, by inserting a synchronization signal between the upper information and lower information or adding pointer information or the like, unless the lower information is decoded even if the higher information is decoded, Although the problem of not being able to use any information can be improved, the above problem can be solved extremely easily by hierarchical encoding as in this embodiment.

次に、この発明に係る動画像符号化装置において、動画像を3つの符号列に分割して符号化を行なった実施の形態について図21を参照しながら説明する。この実施の形態においては、上述した階層符号化の概念を踏まえて動画像の符号化を行なうものであり、例えば重要な情報を2つに分割して第1の符号列と第2の符号列とを構成し、重要な情報の符号列に含まれなかった情報についてさらに第3の符号列を構成するものである。このような重要度にしたがった配列により第1ないし第3の符号列を構成した後、具体的には図21の下側に図示のような配列で符号列を構成する。このような配列で符号を並べることにより、重要な情報の保護を強化することができる。   Next, an embodiment in which the moving image is divided into three code strings and encoded in the moving image encoding device according to the present invention will be described with reference to FIG. In this embodiment, a moving image is encoded based on the above-described concept of hierarchical encoding. For example, important information is divided into two and a first code sequence and a second code sequence are divided. And a third code string is further configured for information not included in the code string of important information. After the first to third code strings are configured by the arrangement according to such importance, specifically, the code string is configured by an arrangement as illustrated in the lower side of FIG. By arranging the codes in such an arrangement, it is possible to enhance protection of important information.

例えば、図21に示される実施形態の階層符号化を画像情報の符号化に適用する場合、重要情報部にはモード情報や動きベクトル情報が割り当てられ、これらの情報が画面の何れの位置に配置されているかを考慮して2つの符号列に分割する。この分割に際しては、重要情報用の2つの符号列の一方が誤り等により消失した場合であっても、他方がその消失を補えるようにマクロブロックを市松模様状に選択して、市松模様の例えば黒ブロックを第1の符号列に対応させ、白ブロックを第2の符号列に対応させておくことにより、フラッシング(flashing―明滅―)やコンシールメント(concealment ―隠蔽―)等の処理が容易に行なえるようにすることも可能である。   For example, when the hierarchical coding of the embodiment shown in FIG. 21 is applied to coding of image information, mode information and motion vector information are allocated to the important information section, and these pieces of information are arranged at any position on the screen. It is divided into two code strings in consideration of whether or not In this division, even if one of the two code strings for important information is lost due to an error or the like, the macroblock is selected in a checkered pattern so that the other can compensate for the loss, By making the black block correspond to the first code string and the white block correspond to the second code string, processing such as flashing and concealment is easy. It is also possible to do so.

このように、重要情報は第1及び第2の符号列に分割して配列し、第3の符号列には残差部を割り当てればよいが、第3の符号列自身の誤り耐性を向上させるためにこの第3の符号列に固定長符号や双方向に復号可能な可変長符号を配列させるようにしても良い。   In this way, the important information is divided and arranged in the first and second code strings, and a residual part may be assigned to the third code string, but the error tolerance of the third code string itself is improved. Therefore, a fixed length code or a variable length code that can be decoded bidirectionally may be arranged in the third code string.

以上のような構成は、符号列の二重化と組み合わせることも可能である。第2の符号列を第1の符号列と同一又はこれに準ずるものとし、図21の下側に示されたような配列に構成しておくことにより、通常は第1の符号列を順方向についてのみ復号して動画像を再生して利用すると共に、この第1の符号列に誤りが発生した場合に、逆方向に第2の符号列を復号すれば誤りのない完全な画像情報を得ることができる。   The above configuration can be combined with the duplication of the code string. The second code string is the same as or similar to the first code string, and the first code string is normally forward-oriented by configuring the second code string in the arrangement shown in the lower part of FIG. When only an error occurs in the first code string, the second code string is decoded in the reverse direction to obtain complete image information without error. be able to.

さらに、それぞれの符号列の配列の順序と画面の位置関係について、例えば、第1の符号列を画面の左上から右下へと対応画素の情報を当てはめ、第2の符号列を画面の右下から左上へと当てはめることにより、符号語の何れかに誤りが生じても左上から右下に復号した第1の符号列と、右下から左上へと復号した第2の符号列とを重複して利用することができる。これにより、例えば何れかの符号列の何れかの箇所に誤りが発生しても、第1及び第2の符号列を順方向及び逆方向に復号していけば、互いを補うことが可能となり、復号可能な情報の確率を向上させることができる。このように、対になる符号列が構成されている順序を両方が誤りにより完全に復号できない場合でも互いに補い合える構成とすることにより、符号語の何れかに誤りが発生した際に正しく復号できる情報の割合を高くすることができる。   Further, regarding the order of arrangement of the respective code strings and the positional relationship of the screen, for example, the first code string is applied to the corresponding pixel information from the upper left to the lower right of the screen, and the second code string is set to the lower right of the screen. By applying from the upper left to the upper left, even if an error occurs in any of the codewords, the first code string decoded from the upper left to the lower right and the second code string decoded from the lower right to the upper left overlap. Can be used. Thus, for example, even if an error occurs in any part of any code string, it is possible to compensate for each other by decoding the first and second code strings in the forward and backward directions. The probability of information that can be decoded can be improved. In this way, even if both of the sequences in which the pair of code strings are constructed cannot be completely decoded due to errors, they can be complemented to each other, so that decoding can be correctly performed when an error occurs in any of the code words. The ratio of information can be increased.

また、同期信号等を二重化した情報の先頭に新たに付加する必要がないことから、単純に二重化する場合よりも効率が良くなる。この構成は、図21に示された配列に限定されず、一方の符号列を通常の符号列とし、他方の符号列を予備の符号列とすることによりこの発明の他の実施の形態の何れに対しても適用可能である。   In addition, since it is not necessary to newly add a synchronization signal or the like to the head of the duplexed information, the efficiency is improved as compared with the case of simply duplexing. This configuration is not limited to the arrangement shown in FIG. 21, and one of the code strings is a normal code string and the other code string is a spare code string. It is applicable to.

次に、上述した実施の形態の応用例として、符号語の配列の順序を符号列単位で順方向及び逆方向とするのではなく、より小さな情報の単位で符号語の配列を順方向と逆方向とするように構成しても良い。上述してきた実施の形態は何れも符号列を何らかの基準により2つの情報単位に分割し、一方を順方向に符号語を配列し、他方を逆方向に配列するものとして説明してきた。しかしながら、符号化の際に逆方向に並べられる符号列は、一旦バッファに蓄積した後で並べ替えを行ない出力する必要があることから、符号化が終了してからでないと並べ替えの処理を行なうことができず、処理動作に遅延が発生してしまうという問題があった。   Next, as an application example of the above-described embodiment, the order of the codewords is not set to the forward direction and the reverse direction in units of code strings, but the order of the codewords is reversed to the forward direction in units of smaller information. You may comprise so that it may become a direction. In any of the above-described embodiments, the code string is divided into two information units according to some standard, one is arranged in the forward direction, and the other is arranged in the reverse direction. However, since the code strings arranged in the reverse direction at the time of encoding need to be output after being stored once in the buffer, the reordering process is performed only after the encoding is completed. There is a problem that the processing operation is delayed and the processing operation is delayed.

そこで、情報の単位としては比較的大きい符号列の単位により符号化を行なうのではなく、例えば、マクロブロック単位のような小さな単位により逆方向に符号化することにより、処理動作の遅延を少なくすることができる。このような実施の形態における構成が、図22に示されている。図22において、マクロブロックMB1からMB10の情報を半分に分割する際に、逆方向に配列されるマクロブロックMB6からMB10を一纏めにして並べ替えるのではなく、それぞれのマクロブロック毎に並べ替えて符号化することを意味している。   Therefore, instead of encoding with a relatively large code string unit as a unit of information, for example, encoding in the reverse direction with a small unit such as a macroblock unit reduces the delay of the processing operation. be able to. The configuration in such an embodiment is shown in FIG. In FIG. 22, when the information of the macroblocks MB1 to MB10 is divided in half, the macroblocks MB6 to MB10 arranged in the reverse direction are not rearranged together, but are rearranged for each macroblock. It means to become.

ただし、このような実施の形態においては、復号化器を用いてマクロブロックMB10から順に復号する必要がある。しかしながら、通常の復号化器は前のマクロブロックと後のマクロブロックとの差分を符号化しておいてこの差分符号を用いて後のマクロブロックを復号するというように、前のブロックの情報を後のブロックの復号に利用しているために、マクロブロックMB1から順に復号しなくてはならない。   However, in such an embodiment, it is necessary to decode sequentially from the macroblock MB10 using a decoder. However, the normal decoder encodes the difference between the previous macroblock and the subsequent macroblock, and uses this differential code to decode the subsequent macroblock. Since this block is used for decoding the block, it must be decoded in order from the macroblock MB1.

そこで、この実施の形態においては、後ろの情報からでも復号できるように付加情報を付け加えることにより、上記のような順方向で復号しなくてはならないという問題を克服している。例えば、動きベクトルや量子化幅のような前の情報との差分を符号化するような情報に対して、後ろからも復号可能なようにマクロブロックMB10の動きベクトル及び量子化幅の実際の値を付加情報として付け加えることにより、マクロブロックMB10からでも復号を開始することが可能となる。その後は、マクロブロックMB10の情報中にマクロブロックMB9との差分に関する情報が含まれていることから、この情報を用いてマクロブロックMB9の復号を行なう。以下、同様にマクロブロックMB8、MB7、MB6のように順次に逆方向から復号することにより、一纏まりの情報を完全に復号化することが可能となる。この付加情報は、必ずしも図22に示される位置に付加される必要はなく、逆方向に並べられた符号語を復号する前にその位置が特定できる箇所でありさえすれば、何れの位置にでも付け加えることが可能である。   Therefore, in this embodiment, the additional information is added so that it can be decoded from the subsequent information, thereby overcoming the problem of having to decode in the forward direction as described above. For example, the actual values of the motion vector and the quantization width of the macroblock MB10 so that the information that encodes the difference from the previous information such as the motion vector and the quantization width can be decoded from behind. As additional information, decoding can be started even from the macroblock MB10. After that, since the information about the difference from the macroblock MB9 is included in the information of the macroblock MB10, the macroblock MB9 is decoded using this information. Similarly, a group of information can be completely decoded by sequentially decoding from the reverse direction like macroblocks MB8, MB7, and MB6. This additional information does not necessarily have to be added to the position shown in FIG. 22, and any position can be used as long as the position can be specified before decoding the codewords arranged in the reverse direction. It is possible to add.

以上、階層符号化についてその実施の形態を述べたが、ここに述べた方式は特に上位階層、下位階層といった重要度に差のある情報を符号化する際の符号列の並べ方に特定するものではなく、同等の重要度を有する2つの符号列に対しても同様の手法を適用できることは勿論である。   As mentioned above, the embodiment of the hierarchical coding has been described. However, the method described here is not particularly intended to specify the arrangement of the code strings when coding the information having a difference in importance such as the upper hierarchy and the lower hierarchy. Of course, the same method can be applied to two code strings having the same importance.

また、上位・下位という2階層のみに本発明に係る符号化装置が適用されるだけではなく、多階層の情報の纏まりに対しても上記と同様に本発明を適用することが可能である。   In addition, the coding apparatus according to the present invention is not only applied to the upper and lower two layers, but the present invention can also be applied to a collection of multi-layer information as described above.

なお、以上の実施の形態では、符号列の並べ変えをフレーム単位で行ない、フレーム同期信号で同期を取っているが、特にフレーム同期信号である必要はなく、第1の符号列の前の第2の符号列の後ろに同期信号があれば全ての場合で利用可能である。例えば、1フレームの中に複数個の同期信号が存在する場合(図30(a)の1行ずつに同期信号が挿入されている場合等)、従来は図30(b)に示すように行毎にフレーム内同期信号を挿入したものを、図30(c)のように同期信号から同期信号までを単位として領域で並べ変え、符号列分割、および符号列の並べ変えを1行内で行なうことも可能である。すなわち図30(b)の従来例のように従来並べ変えられていたものを図30(c)のように行なうことも可能である。   In the above embodiment, the code strings are rearranged in units of frames and synchronized with the frame synchronization signal. However, there is no need for the frame synchronization signal, and the first code string before the first code string is used. If there is a synchronization signal after the code string of 2, it can be used in all cases. For example, when a plurality of synchronization signals exist in one frame (such as when a synchronization signal is inserted in each row of FIG. 30A), the conventional method is as shown in FIG. As shown in FIG. 30 (c), the inter-frame sync signal inserted every time is rearranged in the region from the sync signal to the sync signal as a unit, and the code string division and the code string rearrangement are performed within one line. Is also possible. That is, the conventional rearrangement as in the conventional example of FIG. 30B can be performed as shown in FIG.

また、図23は1フレームを複数シンクブロックで構成する方式に重要領域から並べる方式を適用した図である。この方式のように、フレーム同期信号(PSC)以外にフレーム内に同期信号を挿入し、誤った場合でも利用不可能な情報が少なくなるようにするものは図34に示すように従来から用いられている。このフレーム内を同期信号によって分割した各シンクブロックに対し、図23に示すように例えば(a)のような順で符号化したものを第1のシンクブロックに対応させ、(b)の順で符号化したものを第2のシンクブロックに対応させることにより、どちらか一方を誤りにより損失した場合でも、他方が補う構造とすることができる。また重要ブロックから並べることで、重要ブロックほど正しく復号できる確率が高くなる。   FIG. 23 is a diagram in which a method of arranging one frame from important regions is applied to a method of configuring one frame by a plurality of sync blocks. As shown in FIG. 34, as in this method, a synchronization signal is inserted in a frame other than the frame synchronization signal (PSC) to reduce the amount of information that cannot be used even in the case of an error. ing. As shown in FIG. 23, for example, each sync block obtained by dividing the frame by the sync signal is encoded in the order as shown in FIG. 23 (a) so as to correspond to the first sync block, and in the order (b). By making the encoded one correspond to the second sync block, even if one of them is lost due to an error, the other can compensate. Further, by arranging from the important blocks, the probability that the important blocks can be correctly decoded increases.

上記実施の形態は、符号列の両端に同期符号を付することにより、双方向の復号を可能としているが、本発明は符号列を復号する前に符号列の最後の部分を特定できるものであれば、同期信号は特に必要ではない。以下、この同期符号を用いない方式に係る実施の形態について説明する。   In the above embodiment, bi-directional decoding is possible by attaching a synchronization code to both ends of the code string. However, the present invention can identify the last part of the code string before decoding the code string. If present, the synchronization signal is not particularly necessary. Hereinafter, an embodiment according to a method that does not use the synchronization code will be described.

1フレーム分または数マクロブロック分の情報のような所定単位の情報を固定長符号化して出力するような符号化システムの場合、復号側では同期信号等を特に頼りにすることなく、順方向に並べられた符号列と、逆方向に並べられた符号列と、のそれぞれの先頭を特定することができる。図24は、この固定長符号化された符号列に本発明に係る符号化装置を適用した例を示している。この例においては、N個のマクロブロック(MB)を合わせてmビットになるように固定長化されている符号列に本発明を適用した実施の形態が示されている。この実施の形態において、図25に示すように、逆方向に並べられている符号列の先頭は必ずmビット毎に存在するために、上述したように同期信号を符号列中に介挿する必要がなくなり、規則的に正しく復号することができる。   In the case of an encoding system in which information of a predetermined unit such as information for one frame or several macroblocks is output after being fixed-length encoded, the decoding side does not rely on a synchronization signal or the like in the forward direction. The heads of the arranged code strings and the code strings arranged in the reverse direction can be specified. FIG. 24 shows an example in which the encoding apparatus according to the present invention is applied to this fixed-length encoded code string. In this example, an embodiment is shown in which the present invention is applied to a code string that is fixed in length so that N macroblocks (MB) are combined into m bits. In this embodiment, as shown in FIG. 25, since the head of the code sequence arranged in the reverse direction always exists every m bits, it is necessary to interpolate the synchronization signal in the code sequence as described above. Is eliminated, and can be correctly decoded regularly.

次に上記の構成とは異なり、上記所定の単位で情報が固定長にはなっていないシステムにおいても、同期信号によらずに逆方向に並べられた符号列の先頭位置を特定することのできる実施の形態について説明する。この実施の形態に係るシステムにおいては、逆方向の符号列の先頭がどの箇所に位置付けられているかを特定できる情報を付加して符号列を出力するように構成されている。図26がこの実施の形態に係る符号列を示している。先頭を示すポインタ情報を、同期を取ることが可能なフレームヘッダまたはこれに準ずる位置に配置することにより、復号器側においてはこのポインタ情報を用いて逆方向に並べられた符号列の先頭を特定してこれらの符号列を復号する。このように、同期信号の代わりに所定単位で符号列の最後が特定できるように構成しておくことにより、本発明は可変長符号化方式であっても実施が可能となる。   Next, unlike the above configuration, even in a system in which information is not a fixed length in the predetermined unit, it is possible to specify the head position of a code string arranged in the reverse direction without using a synchronization signal. Embodiments will be described. The system according to this embodiment is configured to output a code string by adding information that can identify the position where the head of the code string in the reverse direction is located. FIG. 26 shows a code string according to this embodiment. By placing pointer information indicating the head at a frame header that can be synchronized or at a position equivalent to this, the decoder uses this pointer information to identify the head of the code sequence arranged in the reverse direction. Then, these code strings are decoded. As described above, by configuring so that the end of the code string can be specified in a predetermined unit instead of the synchronization signal, the present invention can be implemented even with a variable-length coding system.

次に、第1の実施の形態と、第2の実施の形態における、復号装置での高速再生の動作について説明する。高速順方向再生の場合、フレームの先頭を示すフレーム同期信号を受信後、順方向に記述されている前部の第1の符号列のみ前記復号処理により復号を行ない次フレームへ処理を進める。逆方向に並べ変えられた第2の符号列に相当する情報は、第1の符号列により復号された情報を用いて補間等を行なうことで対応する。   Next, the high-speed playback operation in the decoding apparatus in the first embodiment and the second embodiment will be described. In the case of high-speed forward reproduction, after receiving a frame synchronization signal indicating the head of the frame, only the first code string in the front described in the forward direction is decoded by the decoding process and the process proceeds to the next frame. Information corresponding to the second code string rearranged in the reverse direction corresponds by performing interpolation or the like using information decoded by the first code string.

高速逆方向再生の場合には、高速順方向再生の場合と同様に、逆方向にフレーム同期信号を探して、フレーム同期信号を受信後逆方向に並べ変えられた第2の符号列のみ復号を行なう。この際、動き補償適応予測符号化を用いている場合には前フレームの画像が必要なため、動き補償を用いていないフレームのみを選択していく必要がある。   In the case of high-speed reverse reproduction, as in the case of high-speed forward reproduction, the frame synchronization signal is searched for in the reverse direction, and only the second code string that has been rearranged in the reverse direction after receiving the frame synchronization signal is decoded. Do. At this time, when motion compensation adaptive predictive coding is used, an image of the previous frame is necessary, and therefore it is necessary to select only a frame that does not use motion compensation.

図27は、この発明に係る動画像符号化及び復号装置を無線通信システムに応用した第3の実施の形態を示すものである。図27において無線通信システムは、画像伝送系20と画像再生系30とを含み、ネットワーク40の設けられた基地局41を介して画像の伝送や受信が行なわれる。   FIG. 27 shows a third embodiment in which the moving picture coding and decoding apparatus according to the present invention is applied to a wireless communication system. In FIG. 27, the wireless communication system includes an image transmission system 20 and an image reproduction system 30, and image transmission and reception are performed via a base station 41 provided with a network 40.

画像伝送系20は、画像信号入力部21を、誤り耐性処理部23を備える情報源符号化部22と、伝送路符号化部24と、無線部25と、を備えており、情報源符号化部22においては離散コサイン変換(DCT)や量子化等が行なわれ、また、伝統路符号化部24においては、符号化データの誤り検出や訂正等が行なわれる。   The image transmission system 20 includes an image signal input unit 21, an information source encoding unit 22 including an error resilience processing unit 23, a transmission path encoding unit 24, and a radio unit 25. The unit 22 performs discrete cosine transform (DCT), quantization, and the like, and the traditional path encoding unit 24 performs error detection and correction of encoded data.

また、画像再生系30は、無線部31、伝統路復号化部32、誤り耐性処理部34を含む情報源復号化部33と、画像信号出力部35と、を備えている。   The image reproduction system 30 includes a radio unit 31, a traditional path decoding unit 32, an information source decoding unit 33 including an error resilience processing unit 34, and an image signal output unit 35.

図28は、この発明に係る動画像符号化装置及び復号装置が適用される一例を示すものであり、図示のように、無線通信ネットワーク40の基地局41、42、43を介して、ラップトップタイプのパソコン51やデスクトップのパソコン52等の端末50により動画像の伝送及び受信が行なわれる。   FIG. 28 shows an example to which the moving picture encoding apparatus and decoding apparatus according to the present invention are applied. As shown in the figure, the laptop is connected via the base stations 41, 42, 43 of the wireless communication network 40. A moving image is transmitted and received by a terminal 50 such as a personal computer 51 or a desktop personal computer 52.

この発明による動画像符号化装置の基本概念を示すブロック図。The block diagram which shows the basic concept of the moving image encoder by this invention. 図1の符号化装置により形成される符号化列を示す図。The figure which shows the encoding sequence formed by the encoding apparatus of FIG. 本発明の第1実施形態による動画像符号化/復号化装置のブロック図。1 is a block diagram of a video encoding / decoding device according to a first embodiment of the present invention. 本発明の動画像符号化/復号化装置の領域並べ変え順序の一例を示す図。The figure which shows an example of the area | region rearrangement order of the moving image encoding / decoding apparatus of this invention. 本発明の動画像符号化/復号化装置によって符号化された符号列を示す図。The figure which shows the code sequence encoded by the moving image encoding / decoding apparatus of this invention. 本発明の動画像符号化/復号化装置の領域並べ変え順序の例を示す図。The figure which shows the example of the area | region rearrangement order of the moving image encoding / decoding apparatus of this invention. 本発明の動画像符号化/復号化装置の領域並べ変え順序の例を示す図。The figure which shows the example of the area | region rearrangement order of the moving image encoding / decoding apparatus of this invention. 本発明の中心領域が指定された場合の領域並べ変え順序の例を示す図。The figure which shows the example of the area | region rearrangement order when the center area | region of this invention is designated. 本発明を双方向復号可能符号に対応させた場合の符号列の並べ方を示す図。The figure which shows how to arrange | position the code sequence at the time of making this invention respond | correspond to a bi-directionally decodable code. 本発明の第2実施形態による動画像符号化/復号化装置のブロック図。The block diagram of the moving image encoding / decoding apparatus by 2nd Embodiment of this invention. 本発明の第1実施形態と第2実施形態との相違点を示す図。The figure which shows the difference between 1st Embodiment of this invention and 2nd Embodiment. 本発明のDCT係数のスキャン順序の例を示す図。The figure which shows the example of the scan order of the DCT coefficient of this invention. 本発明のDCT係数のスキャンを水平、垂直方向の相関を考慮した順序に分割する例を示す図。The figure which shows the example which divides | segments the scan of the DCT coefficient of this invention into the order which considered the correlation of the horizontal and vertical direction. 本発明の実施の形態による動画像復号装置のブロック図。The block diagram of the moving image decoding apparatus by embodiment of this invention. 本発明の階層符号化に対応させた実施例を示す図。The figure which shows the Example corresponding to the hierarchical coding of this invention. 本発明の階層符号化に対応させた実施例を示す図。The figure which shows the Example corresponding to the hierarchical coding of this invention. 本発明の階層符号化方式と従来の階層符号化方式の例を示す図。The figure which shows the example of the hierarchical coding system of this invention, and the conventional hierarchical coding system. 本発明の階層符号化に対応させた実施の形態を示す図。The figure which shows embodiment corresponding to the hierarchical coding of this invention. 本発明の階層符号化に対応させた実施の形態の誤り発生時を示す図。The figure which shows the time of error generation of embodiment corresponding to the hierarchical coding of this invention. 本発明を階層符号化に適用させた実施の形態を示す図。The figure which shows embodiment which applied this invention to hierarchical encoding. 本発明を3つの符号列に対応させた場合の符号列の構成を示す図。The figure which shows the structure of the code sequence at the time of making this invention respond | correspond to three code sequences. 本発明で処理動作の遅延を少なくできる場合の符号列の構成を示す図。The figure which shows the structure of the code sequence when the delay of a processing operation can be decreased by this invention. 本発明の重要領域から並べる方式を、1フレームを複数シンクブロックで構成する方式に適用した図。The figure which applied the system arranged from the important area of the present invention to the system which constitutes one frame by a plurality of sync blocks. 本発明を固定長符号に適用した実施形態における符号列の構成を示す図。The figure which shows the structure of the code sequence in embodiment which applied this invention to the fixed-length code. 本発明を固定長符号に適用した実施形態の他の符号列の構成を示す図。The figure which shows the structure of the other code sequence of embodiment which applied this invention to the fixed-length code. 付加情報を用いて実施する実施の形態の符号列を示す図。The figure which shows the code sequence of embodiment implemented using additional information. 本発明に係る動画像符号化装置及び復号装置を無線通信システムに応用した実施の形態を示す図。The figure which shows embodiment which applied the moving image encoding apparatus and decoding apparatus which concern on this invention to a radio | wireless communications system. 本発明に係る動画像符号化/復号化装置を無線通信システムに応用した実施の形態を示す図。The figure which shows embodiment which applied the moving image encoding / decoding apparatus which concerns on this invention to the radio | wireless communications system. 従来の動画像符号化装置のブロック図。The block diagram of the conventional moving image encoder. 従来の動画像符号化装置の符号化順序を示す図。The figure which shows the encoding order of the conventional moving image encoder. 従来の動画像符号化装置によって符号化された符号列を示す図。The figure which shows the code sequence encoded by the conventional moving image encoder. 従来の動画像復号装置のブロック図。The block diagram of the conventional moving image decoding apparatus. 従来のDCT係数のスキャン順序の例を示す図。The figure which shows the example of the scanning order of the conventional DCT coefficient. 従来のフレーム内に同期信号を挿入した例を示す図。The figure which shows the example which inserted the synchronizing signal in the conventional frame.

符号の説明Explanation of symbols

101,102,103 領域分割器
102,202 領域並べ変え器
103,203,1103 領域並べ変えテーブル
104,204,304,1104,1204 動き補償器
105,205,305,1105,1205 フレームメモリ
106,206,306 差分器
107,207,307 離散コサイン変換器
108,208,308 量子化器
109,209,309 多重化器
110 符号列分割器
111,211 符号列並べ変え器
112,212,312,1112,1212 逆量子化器
113,213,313,1113,1213 逆離散コサイン変換器
114,214,314,1114,1214 加算器
1115,1215 非多重化器
1116 符号列メモリ
1117 符号列並べ変え器
1119 画像信号並べ変え器
220 DCT係数列分割器
221 DCT係数列合成器
122,123,222,223,322,323 可変長符号化器
1124,1125,1224,1225 可変長復号化器
1126,1127 誤り検出器
131,231,331 入力画像信号
133,233,333 予測信号
134,234,334 予測残差信号
101, 102, 103 Area dividers 102, 202 Area rearrangers 103, 203, 1103 Area rearrangement tables 104, 204, 304, 1104, 1204 Motion compensators 105, 205, 305, 1105, 1205 Frame memories 106, 206 , 306 Difference units 107, 207, 307 Discrete cosine transformers 108, 208, 308 Quantizers 109, 209, 309 Multiplexer 110 Code stream divider 111, 211 Code stream rearranger 112, 212, 312, 1112 1212 Inverse quantizer 113, 213, 313, 1113, 1213 Inverse discrete cosine transformer 114, 214, 314, 1114, 1214 Adder 1115, 1215 Demultiplexer 1116 Code string memory 1117 Code string rearranger 1119 Image signal Sorter 220 DCT coefficient sequence divider 221 DCT coefficient sequence synthesizers 122, 123, 222, 223, 322, 323 Variable length encoders 1124, 1125, 1224, 1225 Variable length decoders 1126, 1127 Error detectors 131, 231, 331 Input image signal 133,233,333 Prediction signal 134,234,334 Prediction residual signal

Claims (10)

フレーム毎に複数の領域に分割されて符号化された各領域の画像情報を復号化すると共に領域単位の並べ換え順序を示す情報を記述した領域並べ換えテーブルを復号化する復号化手段と、この復号化手段により復号化された前記領域並べ換えテーブルに記述された領域並べ換え順序に従って復号化された各領域の画像信号を正しい並べ換え順序に並べ換える領域並べ換え手段とを備えることを特徴とする動画像復号装置。   Decoding means for decoding the image information of each area divided into a plurality of areas for each frame and decoding the area rearrangement table describing the information indicating the rearrangement order of each area, and the decoding A moving picture decoding apparatus comprising: a region rearranging unit that rearranges the image signals of the respective regions decoded according to the region rearrangement order described in the region rearrangement table decoded by the unit into a correct rearrangement order. 前記領域並べ換え手段は、フレーム毎に入力された画像信号が複数個のマクロブロック単位で復号化された各領域の画像信号を並べ換えることを特徴とする請求項1に記載の動画像復号装置。   The moving image decoding apparatus according to claim 1, wherein the region rearranging unit rearranges the image signals of each region obtained by decoding the image signal input for each frame in units of a plurality of macroblocks. 前記領域並べ換えテーブル領域に記述された前記並べ換え順序を示す情報は、前記領域並べ換え順序を示す順序数であることを特徴とする請求項1または請求項2の何れかに記載の動画像復号装置。   The moving picture decoding apparatus according to claim 1, wherein the information indicating the rearrangement order described in the area rearrangement table area is an order number indicating the area rearrangement order. 前記領域並べ換え手段は、重要な情報が位置している画面の領域を前記並べ換え順序の先頭にして当該領域を並べ換えることを特徴とする請求項1ないし請求項3の何れかに記載の動画像復号装置。   The moving image according to any one of claims 1 to 3, wherein the area rearranging means rearranges the area with a screen area where important information is located at the head of the rearrangement order. Decoding device. 前記復号化手段は、分割された各領域からそれぞれ符号化された各領域の画像情報における、前方から後方へ順方向に並ぶ第1の符号列を前方から後方へ順方向に復号し、後方から前方に逆方向に並ぶ第2の符号列を後方から前方へ逆方向に復号することを特徴とする請求項1ないし請求項4の何れかに記載の動画像復号装置。   The decoding means decodes the first code string arranged in the forward direction from the front to the rear in the image information of each area encoded from each divided area in the forward direction from the front to the rear. 5. The moving picture decoding apparatus according to claim 1, wherein the second code string arranged in the forward direction in the reverse direction is decoded in the reverse direction from the rear to the front. フレーム毎に複数の領域に分割されて符号化された各領域の画像情報を復号化すると共に領域単位の並べ換え順序を示す情報を記述した領域並べ換えテーブルを復号化する復号化ステップと、復号化された前記領域並べ換えテーブルに記述された領域並べ換え順序に従って復号化された各領域の画像信号を正しい並べ換え順序に並べ換える領域並べ換えステップとを備えることを特徴とする動画像復号方法。   A decoding step for decoding image information of each region divided into a plurality of regions for each frame and decoding a region rearrangement table describing information indicating a rearrangement order in units of regions; And a region rearrangement step of rearranging the image signals of the respective regions decoded according to the region rearrangement order described in the region rearrangement table in a correct rearrangement order. 前記第1の復号化ステップは、フレーム毎に入力される画像信号を複数個のマクロブロック単位で復号化することを特徴とする請求項6に記載の動画像復号方法。   7. The moving picture decoding method according to claim 6, wherein the first decoding step decodes an image signal input for each frame in units of a plurality of macroblocks. 前記領域並べ換えテーブル領域に記述された前記並べ換え順序を示す情報は、前記領域並べ換え順序を示す順序数であることを特徴とする請求項6または請求項7の何れかに記載の動画像復号方法。   8. The moving picture decoding method according to claim 6, wherein the information indicating the rearrangement order described in the area rearrangement table area is an order number indicating the area rearrangement order. 前記領域並べ換えステップでは、重要な情報が位置している画面の領域を前記並べ換え順序の先頭にして当該領域を並べ換えることを特徴とする請求項6ないし請求項8の何れかに記載の動画像復号方法。   The moving image according to any one of claims 6 to 8, wherein in the region rearrangement step, the region is rearranged with a screen region where important information is located at the head of the rearrangement order. Decryption method. 前記復号化ステップでは、分割された各領域からそれぞれ符号化された各領域の画像情報における、前方から後方へ並ぶ第1の符号列が前方から後方へ順方向に復号化され、後方から前方に逆方向に並ぶ第2の符号列が後方から前方へ逆方向に復号化されることを特徴とする請求項6ないし請求項9の何れかに記載の動画像復号方法。   In the decoding step, the first code string arranged from the front to the rear in the image information of each area encoded from each divided area is decoded in the forward direction from the front to the rear, and from the rear to the front. 10. The moving picture decoding method according to claim 6, wherein the second code strings arranged in the reverse direction are decoded in the reverse direction from the rear to the front.
JP2005342732A 1995-03-15 2005-11-28 Moving picture decoding apparatus and method Pending JP2006141045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005342732A JP2006141045A (en) 1995-03-15 2005-11-28 Moving picture decoding apparatus and method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP5628595 1995-03-15
JP27798295 1995-10-25
JP2005342732A JP2006141045A (en) 1995-03-15 2005-11-28 Moving picture decoding apparatus and method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP8055096A Division JPH09182073A (en) 1995-03-15 1996-03-08 Moving image encoding and decoding device

Publications (1)

Publication Number Publication Date
JP2006141045A true JP2006141045A (en) 2006-06-01

Family

ID=36621451

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005342732A Pending JP2006141045A (en) 1995-03-15 2005-11-28 Moving picture decoding apparatus and method

Country Status (1)

Country Link
JP (1) JP2006141045A (en)

Similar Documents

Publication Publication Date Title
US5852469A (en) Moving picture coding and/or decoding systems, and variable-length coding and/or decoding system
JP2004007753A (en) Image decoding method and device
KR20000052346A (en) Signal processing apparatus and method, recording apparatus, playback apparatus, recording and playback apparatus, and stream processing apparatus and method
US6859500B2 (en) Run-length coding of non-coded macroblocks
JPH09182073A (en) Moving image encoding and decoding device
JP2006141045A (en) Moving picture decoding apparatus and method
JP2006141044A (en) Moving picture coding apparatus and method
JP2003289539A (en) Moving image coding equipment and moving image coding method
JP2003250158A (en) Moving picture decoding apparatus and method
JP2003299094A (en) Moving image decoding apparatus and method therefor
JPH05167981A (en) Recording and reproducing device for variable length code
JP3819638B2 (en) Variable length coding device
JPH05276491A (en) High-efficiency coding/decoding device
JP4199240B2 (en) Variable length decoding device and recording medium recording data or program used in this device
JPH0993589A (en) Method and device for decoding moving image compression code
JPH05276480A (en) Magnetic recording and reproducing device
JPH0638190A (en) High efficient coding and decoding system
JPH09121350A (en) Method for arranging/transmitting event in variable length encoding

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061031

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070104

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070824