JP2000324491A - Video encoding device and video decoding device - Google Patents

Video encoding device and video decoding device

Info

Publication number
JP2000324491A
JP2000324491A JP2000061240A JP2000061240A JP2000324491A JP 2000324491 A JP2000324491 A JP 2000324491A JP 2000061240 A JP2000061240 A JP 2000061240A JP 2000061240 A JP2000061240 A JP 2000061240A JP 2000324491 A JP2000324491 A JP 2000324491A
Authority
JP
Japan
Prior art keywords
information
image
unit
important information
header
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.)
Abandoned
Application number
JP2000061240A
Other languages
Japanese (ja)
Inventor
Takeshi Nagai
剛 永井
Yoshihiro Kikuchi
義浩 菊池
Tadaaki Masuda
忠昭 増田
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 JP2000061240A priority Critical patent/JP2000324491A/en
Publication of JP2000324491A publication Critical patent/JP2000324491A/en
Abandoned legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

(57)【要約】 【課題】任意形状の画像符号化において、従来の長方形
の画像と同等の誤り耐性を実現することを目的とする。 【解決手段】入力された動画像を符号化する符号化手段
101と、この符号化手段での符号化情報から重要情報を
取り出す重要情報再構成手段102と、同期信号を発生す
る同期信号発生手段103と、符号化手段により符号化さ
れたビット列に同期発生手段から出力された同期信号と
重要情報再構成手段により再構成された重要情報を加え
ビット列を再構成するビット列再構成手段104とを具備
することを特徴とする。
(57) Abstract: An object of the present invention is to realize the same error tolerance as that of a conventional rectangular image in image coding of an arbitrary shape. An encoding unit encoding an input moving image.
101, important information reconstructing means 102 for extracting important information from the encoded information in the encoding means, synchronization signal generation means 103 for generating a synchronization signal, and synchronization generation means for the bit sequence encoded by the encoding means. And a bit string reconstructing means 104 for reconstructing a bit string by adding the synchronization signal output from the PID and important information reconstructed by the important information reconstructing means.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、符号化された動画
像/静止画像をISDN(Integrated ServicesDigital
Network )やインターネット等の有線通信網、あるい
はPHS(登録商標)や衛星通信等の無線通信網を用い
て伝送する情報伝送方式およびその方法が適用される情
報伝送システムにおける符号化/復号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for converting encoded moving images / still images into ISDN (Integrated Services Digital).
Network), an information transmission system for transmitting data using a wired communication network such as the Internet, or a wireless communication network such as PHS (registered trademark) or satellite communication, and an encoding / decoding device in an information transmission system to which the method is applied. .

【0002】[0002]

【従来の技術】近年、画像をはじめとする各種情報のデ
ィジタル符号化技術および広帯域ネットワーク技術の進
展により、これらを利用したアプリケーションの開発が
盛んになっており、圧縮符号化した画像などを、通信網
を利用して伝送するシステムが開発されている。
2. Description of the Related Art In recent years, with the development of digital coding technology for images and other types of information and broadband network technology, applications using these technologies have been actively developed. Systems for transmitting data using a network have been developed.

【0003】例えば、テレビ電話、テレビ会議システ
ム、ディジタルテレビ放送においては、動画像や音声を
それぞれ少ない情報量に圧縮符号化し、それら圧縮され
た動画像符号列、音声符号列や他のデータ符号列を多重
化して一つの符号列にまとめて伝送/蓄積する技術が用
いられている。
For example, in a videophone, a video conference system, and a digital television broadcast, a moving image and a sound are compression-encoded to a small amount of information, respectively, and the compressed moving image code sequence, audio code sequence, and other data code sequence are encoded. Are multiplexed into one code string and transmitted / stored.

【0004】動画像信号の圧縮符号化技術としては動き
補償、離散コサイン変換(DCT)、サブバンド符号
化、ピラミッド符号化、可変長符号化等の技術や、これ
らを組み合わせた方式が開発されている。また、動画像
符号化の国際標準方式としてはISO MPEG−1,
MPEG−2,ITU−T H.261,H.262,
H.263が存在し、また動画像、音声・オーディオ信
号を圧縮した符号列や他のデータを多重化する国際標準
方式としてはISO MPEGシステム、ITU−T
H.221,H.223が存在する。
Techniques such as motion compensation, discrete cosine transform (DCT), sub-band coding, pyramid coding, and variable-length coding have been developed as compression coding techniques for moving picture signals, and schemes combining these techniques have been developed. I have. In addition, ISO MPEG-1,
MPEG-2, ITU-TH. 261, H .; 262
H. There are ISO MPEG system, ITU-T as an international standard method for multiplexing a moving image, a code string obtained by compressing a sound / audio signal and other data.
H. 221, H.R. 223 are present.

【0005】上述の動画像符号化国際標準方式のような
従来の動画像符号化方式においては、動画像信号をフレ
ーム毎に分割し、さらにフレームを細かい領域に分割し
たGOB(Group Of Block)やマクロブロック等の単位毎
に符号化が行われ、このフレーム、GOB、マクロブロ
ック毎に符号化のモード等を示すヘッダ情報が付加され
る。これらのヘッダ情報はそのフレーム、GOB等全体
の復号に必ず必要な情報である。
In a conventional moving picture coding method such as the above-mentioned moving picture coding international standard method, a moving picture signal is divided for each frame, and a frame is divided into small areas, such as GOB (Group Of Block) or the like. Encoding is performed for each unit such as a macroblock, and header information indicating an encoding mode and the like is added to each frame, GOB, and macroblock. These header information are necessary information for decoding the entire frame, GOB, and the like.

【0006】このため、もしヘッダ情報に伝送路/蓄積
媒体において誤りが混入し、それがために動画像符号化
装置において正しく復号ができないと、そのヘッダ情報
のあるフレーム、GOB等全体が正しく復号できず、動
画像復号化装置における再生動画像の品質が大きく劣化
してしまうことになる。
For this reason, if an error is mixed in the header information in the transmission line / storage medium and the decoding cannot be performed correctly in the moving picture coding apparatus, the frame including the header information, the entire GOB, etc. are correctly decoded. Therefore, the quality of the reproduced moving image in the moving image decoding apparatus is greatly deteriorated.

【0007】すなわち、圧縮符号化された画像を通信網
を利用して伝送する場合には、受信側では伝送されてき
た“0”/“1”のビット列から、意味のある情報を再
生する復号処理が必要になる。
That is, when transmitting a compressed and coded image using a communication network, the receiving side decodes meaningful information from the transmitted "0" / "1" bit string. Processing is required.

【0008】そのためには、一定のビット列のまとまり
がどのような規則のもとに符号化されてきたものなのか
を指し示す情報として、前述のヘッダ情報が非常に重要
になる。このヘッダ情報とは例えば、現在復号している
フレームの予測タイプ(フレーム内の符号化であるか、
フレーム間の符号化であるか、等)、そのフレームを表
示するタイミングを示す情報(タイム・レファラン
ス)、あるいは量子化を行う際のステップサイズ情報な
どである。
For this purpose, the header information described above is very important as information indicating under what rules a certain unit of a bit string has been encoded. The header information is, for example, the prediction type of the frame currently being decoded (whether it is encoding within the frame,
Whether the coding is between frames), information (time reference) indicating the timing at which the frame is displayed, or step size information when performing quantization.

【0009】従って、これらのヘッダ情報が失われてし
まうと、それ以後に伝送されてきた情報が正しく復号で
きないことになる。
Therefore, if the header information is lost, information transmitted thereafter cannot be correctly decoded.

【0010】例えば前記フレームの予測タイプが、本来
はフレーム間の符号化であることを示していたにも関わ
らず、何らかの原因でビット列に誤りが混入し、フレー
ム内の符号化を示すビットパターンに変化したとする。
この場合、その後の実際の情報が正しく伝送されてきた
としても、復号側ではその信号をフレーム内符号化の結
果と判断してしまうため、最終的には正しく復号されな
いことになる。
For example, despite the fact that the prediction type of the frame originally indicates that the coding is between frames, an error is mixed in the bit string for some reason, and the bit pattern indicating the coding within the frame is changed to the bit pattern. Let's say it has changed.
In this case, even if the subsequent actual information is correctly transmitted, the decoding side determines that the signal is the result of the intra-frame encoding, so that the decoding is not correctly performed finally.

【0011】よって、動画像符号化装置における再生動
画像の品質が大きく劣化してしまうことになる。
Therefore, the quality of the reproduced moving picture in the moving picture coding apparatus is greatly deteriorated.

【0012】このような誤りの混入は、特に無線テレビ
電話や携帯情報端末、無線ディジタルテレビ受信装置等
のように無線伝送路を介して動画像を伝送/蓄積するシ
ステムを用いた場合に多発する。
Such mixing of errors frequently occurs particularly when a system for transmitting / accumulating moving images via a wireless transmission path is used, such as a wireless videophone, a portable information terminal, and a wireless digital television receiver. .

【0013】従来の画像伝送は、有線通信網を用いたシ
ステムが主流であり、仮に無線通信網を用いる場合でも
誤り率が非常に少ない衛星通信を想定していた。従っ
て、伝送する符号化列の構造自体についての誤り耐性に
ついては十分な考慮がなされておらず、ヘッダ情報等の
重要情報に対する伝送路誤り保護が十分ではなかった。
Conventionally, image transmission uses a system using a wired communication network, and it is assumed that satellite communication with a very low error rate is used even if a wireless communication network is used. Therefore, sufficient consideration has not been given to the error resistance of the structure of the coded sequence to be transmitted itself, and the transmission path error protection for important information such as header information has not been sufficient.

【0014】一方、今後の移動体通信の主流の一つにな
るとなると見られるPHS(簡易型携帯電話)では誤り
率が衛星通信の十万倍〜百万倍程度になるため、従来の
ように符号化されたビット列に誤り訂正を施しただけで
は十分な訂正が不可能な状態になる。
On the other hand, the error rate of PHS (simplified portable telephone), which is expected to become one of the mainstreams of mobile communication in the future, is about 100,000 to 1,000,000 times that of satellite communication. Performing error correction on the encoded bit string alone makes it impossible to perform sufficient correction.

【0015】また、PHSと同様に今後の通信の主流に
なると予想されるインターネットでは、いつ、どのよう
な誤りが混入するかが統計的に明らかになっておらず、
適切な誤り訂正が行えない場合もある。
[0015] In the Internet, which is expected to become the mainstream of communication in the future like PHS, it is not statistically clear when and what kind of errors will be introduced.
In some cases, appropriate error correction cannot be performed.

【0016】[0016]

【発明が解決しようとする課題】従来の構成において
は、HECを用いて二重化できる情報中には、任意形状
の画像符号化の際に必要となる情報が含まれておらず、
オブジェクト単位で任意形状の画像を復号化した場合に
伝送誤りによりVOPヘッダ情報が失われた場合に、正
しく復号できないといった問題があった。
In the conventional configuration, the information that can be duplicated using the HEC does not include information necessary for encoding an image of an arbitrary shape.
There has been a problem that, when an image of an arbitrary shape is decoded in units of objects and VOP header information is lost due to a transmission error, decoding cannot be performed correctly.

【0017】それ故、任意形状の画像符号化を用いて符
号化された符号列を伝送する場合に、伝送データの誤り
耐性が弱くなってしまうという問題点がある。
Therefore, there is a problem that when transmitting a code string coded by using image coding of an arbitrary shape, the error tolerance of transmitted data is reduced.

【0018】本発明の目的は、任意形状画像符号化の場
合でも従来の長方形画像の符号化と同等の誤り耐性を持
たせることができるようにした動画像符号化装置および
動画像符号化データの伝送方法並びに同データを記録す
る記録媒体を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a moving picture coding apparatus and a moving picture coding data which can provide the same error resistance as the conventional rectangular picture coding even in the case of coding of an arbitrary shape picture. It is an object of the present invention to provide a transmission method and a recording medium for recording the data.

【0019】[0019]

【課題を解決するための手段】第1の発明は、入力され
た動画像を符号化してビット列を生成する符号化部と、
この符号化部により得られる符号化情報から一定のビッ
ト列の纏まりがどのような規則のもとに符号化されてい
るかを指し示す情報としての重要情報を取り出して構成
する重要情報構成部と、同期信号を発生する同期信号発
生部と、前記符号化部により符号化されたビット列に前
記同期発生部から出力された同期信号と前記重要情報構
成部により再構成された重要情報を加えビット列を再構
成するビット列再構成部とを有する動画像符号化装置を
提供する。
According to a first aspect of the present invention, there is provided an encoding section which encodes an input moving image to generate a bit string,
An important information configuration unit that extracts and configures important information as information indicating under what rule a group of certain bit strings is encoded from the encoded information obtained by the encoding unit; A synchronizing signal output from the synchronizing signal generator and important information reconstructed by the important information forming unit are added to the bit sequence encoded by the encoding unit, and the bit sequence is reconstructed. There is provided a moving image encoding device having a bit sequence reconstructing unit.

【0020】第2の発明は、第1の発明における重要情
報構成部が符号化情報からフレームを方形領域単位で符
号化する通常の符号化方式における重要情報である通常
画像関連情報を構成する通常画像関連重要情報構成部
と、符号化情報からフレーム内の画像を任意形状画像領
域単位で符号化する任意形状符号化方式における重要情
報である任意形状画像関連重要情報を構成する任意形状
画像関連重要情報構成部と、符号化情報から符号化して
いる画像が任意形状画像であるか否かを判定する任意形
状符号化判定部と、この任意形状符号化判定部が任意形
状画像と判定した場合に任意形状画像関連重要情報を出
力する切替部と、通常画像関連情報と切替部の出力とを
多重化する多重化部とから構成されている画像符号化装
置を提供する。
According to a second aspect of the present invention, in the first aspect, the important information forming unit forms normal image related information which is important information in a normal coding method in which a frame is coded from the coded information in units of rectangular regions. An image-related important information forming unit and an arbitrary-shape image-related important information that constitutes arbitrary-shape image-related important information, which is important information in an arbitrary-shape encoding method that encodes an image in a frame in units of an arbitrary-shape image from encoded information. An information configuration unit, an arbitrary shape encoding determination unit that determines whether the image being encoded from the encoded information is an arbitrary shape image, and when the arbitrary shape encoding determination unit determines that the image is an arbitrary shape image. Provided is an image coding apparatus including a switching unit that outputs important information related to an arbitrary shape image and a multiplexing unit that multiplexes normal image related information and an output of the switching unit.

【0021】第3の発明は、動画像を符号化して同期情
報を含むビット列を得ると共に、この符号化における一
定のビット列の纏まりがどのような規則のもとに符号化
されたかを指し示す情報としての重要情報をヘッダ情報
として付加したビット列を含む符号化データを復号する
復号化装置であって、入力されたビット列から画像ビッ
ト列を分離する分離部と、画像ビット列を復号する復号
化部と、画像ビット列から同期信号を検出し復号化部へ
通知する同期信号検出部と、復号化部の復号情報に誤り
が存在しないかどうかを判定するエラーチェック部と、
このエラーチェック部が誤りなしと判定したとき、復号
化部から出されたヘッダ情報から重要情報を構成し、復
号化部に通知する重要情報構成部とを有する画像復号化
装置を提供する。
According to a third aspect of the present invention, a moving image is encoded to obtain a bit string including synchronization information, and information indicating a rule of a certain group of bit strings in this encoding is encoded. A decoding unit that decodes encoded data including a bit string obtained by adding important information as header information to an encoded bit string, a decoding unit that decodes an image bit string from an input bit string, and a decoding unit that decodes the image bit string. A synchronization signal detection unit that detects a synchronization signal from the bit string and notifies the decoding unit, and an error check unit that determines whether an error exists in decoding information of the decoding unit.
When the error check unit determines that there is no error, the present invention provides an image decoding apparatus including an important information configuration unit configured to configure important information from header information output from the decoding unit and to notify the decoding unit.

【0022】第4の発明は、前記第3の発明における重
要情報構成部が、ヘッダ情報から通常画像関連重要情報
を構成する通常画像関連重要情報構成部と、ヘッダ情報
から復号化している画像が任意形状画像かどうかを判定
する任意形状符号化判定部と、ヘッダ情報から任意形状
画像関連重要情報を構成する任意形状画像関連重要情報
構成部と、任意形状符号化判定部が任意形状画像と判定
した場合に、ヘッダ情報を任意形状画像関連情報再構成
部へ入力する第1の切替部と、任意形状符号化判定部で
任意形状画像と判定した場合に、任意形状画像関連重要
情報を出力する第2の切替部とから構成されている画像
復号化装置を提供する。
According to a fourth aspect, in the third aspect, the important information forming unit includes a normal image related important information forming unit that forms normal image related important information from the header information, and an image decoded from the header information. An arbitrary shape encoding determining unit that determines whether or not the image is an arbitrary shape image, an arbitrary shape image related important information configuring unit that configures the arbitrary shape image related important information from the header information, and the arbitrary shape encoding determining unit determines that the image is an arbitrary shape image In this case, the first switching unit that inputs the header information to the arbitrary shape image-related information reconstructing unit and the arbitrary shape image-related important information are output when the arbitrary shape encoding determination unit determines that the image is the arbitrary shape image. An image decoding device including a second switching unit is provided.

【0023】第5の発明は、入力された動画像を符号化
してビット列を得る符号化部と、符号化部により得られ
る符号化情報から一定のビット列の纏まりがどのような
規則のもとに符号化されているかを指し示す情報として
の重要情報を取り出して構成する重要情報構成部と、符
号化部により符号化されたビット列を分割するビット列
分割部と、重要情報構成部により再構成された重要情報
からパケットヘッダを作成するパケットヘッダ作成部
と、ビット列分割部により分割されたビット列とパケッ
トヘッダ生成部により生成されたパケットヘッダとを用
いてパケットを構成するパケット構成部とを有する画像
復号化装置を提供する。
According to a fifth aspect of the present invention, there is provided an encoding unit for encoding an input moving image to obtain a bit sequence, and a set of constant bit sequences is determined based on encoding information obtained by the encoding unit based on what rules. An important information configuration unit that extracts and configures important information as information indicating whether the important information is encoded, a bit string division unit that divides a bit string encoded by the encoding unit, and an important information that is reconstructed by the important information configuration unit. An image decoding apparatus having a packet header creating unit that creates a packet header from information, and a packet forming unit that forms a packet using the bit string divided by the bit string dividing unit and the packet header generated by the packet header creating unit I will provide a.

【0024】第6の発明は、第5の発明の重要情報構成
部が、符号化情報から任意形状画像関連重要情報を構成
する任意形状画像関連重要情報構成部と、符号化情報か
ら任意形状画像関連重要情報を保持させた拡張ヘッダを
パケットヘッダに付加するかどうか判定する拡張ヘッダ
挿入判定部と、拡張ヘッダ挿入判定部で拡張ヘッダを挿
入すると判定された場合にヘッダ情報を任意形状画像関
連重要情報に入力する切替部とから構成されている画像
復号化装置を提供する。
According to a sixth aspect of the present invention, the important information forming unit according to the fifth aspect comprises an arbitrary shape image-related important information forming unit for forming the arbitrary shape image-related important information from the coded information, and an arbitrary shape image forming unit from the coded information. An extension header insertion determination unit that determines whether to add an extension header holding related important information to the packet header, and, when the extension header insertion determination unit determines that the extension header is to be inserted, the header information is transferred to an arbitrary shape image. An image decoding device comprising a switching unit for inputting information.

【0025】第7の発明は、動画像を符号化してビット
列を得ると共に、この符号化における一定のビット列の
纏まりがどのような規則のもとに符号化されているかを
指し示す情報としての重要情報をパケットヘッダ情報と
して付加したビット列を有する動画像符号化データを復
号化する復号化装置であって、入力されたビット列から
画像ビット列とパケットヘッダ情報を分離する分離部
と、画像ビット列を復号する復号化部と、復号化部の復
号情報から誤りが存在しないかどうかを判定するエラー
チェック部と、パケットヘッダ情報から一定のビット列
の纏まりがどのような規則のもとに符号化されているか
を指し示す情報としての重要情報を取り出して重要情報
の再構成を行い、エラーチェック部で誤りがあると判定
され復号に重要情報が必要な場合に当該構成した重要情
報を復号化部に通知する重要情報構成部とを有する画像
復号化装置を提供する。
According to a seventh aspect of the present invention, a moving image is encoded to obtain a bit string, and important information as information indicating under what rule a group of certain bit strings in this encoding is encoded. A decoding device for decoding moving image encoded data having a bit sequence obtained by adding a character string as packet header information, comprising: a separating unit that separates an image bit sequence and packet header information from an input bit sequence; and a decoding unit that decodes the image bit sequence. And an error check unit that determines whether or not there is an error from the decoding information of the decoding unit, and indicates under what rules a set of certain bit strings is encoded from the packet header information. The important information as information is taken out, the important information is reconstructed, and the error check unit determines that there is an error, and the important information is used for decoding. To provide an image decoding apparatus and a key information composing unit that notifies the decoding unit key information the structure if necessary.

【0026】第8の発明は、第7の発明の重要情報構成
部が、パケットヘッダ情報から任意形状画像関連重要情
報を構成する任意形状画像関連重要情報構成部と、パケ
ットヘッダ情報から拡張ヘッダがパケットヘッダに付加
されているかどうか判定する拡張ヘッダ挿入判定部と、
拡張ヘッダ挿入判定部で拡張ヘッダが挿入されていると
判定された場合にパケットヘッダ情報を任意形状画像関
連重要情報に入力する切替部とから構成されている画像
復号化装置を提供する。
According to an eighth aspect of the present invention, the important information forming unit according to the seventh aspect comprises an arbitrary shape image-related important information forming unit that forms the arbitrary shape image-related important information from the packet header information, and an extended header from the packet header information. An extension header insertion determining unit for determining whether or not the packet is added to the packet header;
Provided is an image decoding apparatus comprising: a switching unit that inputs packet header information to important information relating to an arbitrary shape when the extension header insertion determination unit determines that an extension header is inserted.

【0027】本発明は、動画像符号化において、符号化
したデータにはヘッダを設けると共に、ヘッダには更に
拡張ヘッダ部分を設けてヘッダに格納する通常の画像符
号化方式における重要情報の他、当該拡張ヘッダに、任
意形状画像符号化方式における重要情報も含めることが
できるので、ヘッダが一部壊れていても、健全なヘッダ
を持つ部分については画像を復号可能になる。また、画
像データには同期信号を挿入しておくことにより、ビデ
オ・パケットVPの同期外れの問題も解消する。すなわ
ち、ビデオ・パケットVPは同期信号RMで始まるパケ
ットであり、それ以前に誤りが存在し、同期外れが生じ
た場合でもこの同期信号RMで再同期をすることが可能
である。
According to the present invention, in moving picture coding, coded data is provided with a header, an extended header portion is further provided in the header, and stored in the header. Since the extension header can include important information in the arbitrary-shape image coding method, even if the header is partially broken, an image can be decoded for a portion having a sound header. Further, by inserting a synchronization signal into the image data, the problem of loss of synchronization of the video packet VP can be solved. That is, the video packet VP is a packet that starts with the synchronization signal RM, and can be resynchronized with the synchronization signal RM even if an error occurs before that and an out of synchronization occurs.

【0028】これらのことから、伝送時での雑音に対す
る耐性の高い、また、任意形状画像符号化の場合でも従
来の長方形画像の符号化と同等の誤り耐性を持たせるこ
とができる動画像符号化技術が提供できる。
From these facts, it can be seen that moving picture coding which has high resistance to noise at the time of transmission and which has the same error resistance as that of conventional rectangular picture coding even in the case of arbitrary shape picture coding. Technology can be provided.

【0029】[0029]

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

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

【0031】図1は、本発明の第1の実施形態に係る動
画像符号化装置の基本構成を示す。これによると、符号
化部101の出力は、重要情報構成部102およびビッ
ト列再構成部104に接続される。重要情報構成部10
2の出力は同期信号発生部103の出力と共にビット列
再構成部104に接続される。ビット列再構成部104
の出力は多重化部105に接続される。多重化部105
の出力は伝送路106に接続される。
FIG. 1 shows a basic configuration of a moving picture coding apparatus according to the first embodiment of the present invention. According to this, the output of the encoding section 101 is connected to the important information forming section 102 and the bit string reconstructing section 104. Important Information Composition Unit 10
The output of 2 is connected to the bit string reconstruction unit 104 together with the output of the synchronization signal generation unit 103. Bit string reconstruction unit 104
Are connected to the multiplexing unit 105. Multiplexing unit 105
Is connected to the transmission line 106.

【0032】符号化部101は、入力された画像信号1
31を符号化してビット列再構成部104に出力し、ま
た、符号化した際の符号化情報133を重要情報構成部
102に出力するよう構成される。重要情報構成部10
2は符号化部101で符号化した際の符号化情報133
を受けて復号に必要な重要情報134だけを選択して出
力するように構成される。
The encoding unit 101 receives the input image signal 1
31 is encoded and output to the bit string reconstruction unit 104, and encoded information 133 at the time of encoding is output to the important information construction unit 102. Important Information Composition Unit 10
2 is encoded information 133 when encoded by the encoding unit 101
Then, only important information 134 necessary for decoding is selected and output.

【0033】同期信号発生部103は、任意の間隔で同
期信号135を発生する部であり、ビット列再構成部1
04は、同期信号発生部103からの同期信号135を
ビット列132に挿入し、その後ろに、必要であれば重
要情報構成部102から出力された重要情報134を、
決められたフォーマットで挿入して出力するように構成
される。
The synchronizing signal generating section 103 generates the synchronizing signal 135 at an arbitrary interval.
04 inserts the synchronizing signal 135 from the synchronizing signal generator 103 into the bit string 132 and, after that, inserts the important information 134 output from the important information forming unit 102 if necessary.
It is configured to insert and output in a predetermined format.

【0034】多重化部105は、ビット列再構成部10
4で再構成されたビット列136を、他のデータ(例え
ば音声データ、他の物体を符号化したビット列等)と共
に多重化処理をして多重化ビット列137として伝送路
/蓄積媒体106に出力するように構成される。
The multiplexing unit 105 includes a bit string reconstructing unit 10
The bit stream 136 reconstructed in 4 is multiplexed with other data (for example, audio data, a bit string obtained by encoding another object, etc.) and output to the transmission path / storage medium 106 as a multiplexed bit stream 137. It is composed of

【0035】上記のような構成において、入力された動
画像の画像信号131は符号化部101で符号化され
る。この符号化部101により符号化されて出力された
ビット列132はビット列再構成部104に入力され
る。また、符号化部101で符号化した際の符号化情報
133は重要情報構成部102に入力され、復号に必要
な重要情報134だけが選択され出力される。
In the above configuration, the input video signal 131 of the moving image is encoded by the encoding unit 101. The bit sequence 132 encoded and output by the encoding unit 101 is input to the bit sequence reconstruction unit 104. The encoded information 133 encoded by the encoding unit 101 is input to the important information forming unit 102, and only important information 134 necessary for decoding is selected and output.

【0036】ビット列再構成部104では、任意の間隔
で同期信号発生部103から出力された同期信号135
をビット列132に挿入し、その後ろに、必要であれば
重要情報構成部102から出力された重要情報134を
決められたフォーマットで挿入する。
In the bit string reconstruction unit 104, the synchronization signal 135 output from the synchronization signal generation unit 103 at arbitrary intervals is output.
Is inserted into the bit string 132, and after that, if necessary, important information 134 output from the important information forming unit 102 is inserted in a predetermined format.

【0037】ビット列再構成部104で再構成されたビ
ット列136は多重化部105に入力され、他のデータ
(例えば音声データ、他の物体を符号化したビット列等)
と共に多重化処理が行われ、多重化ビット列137が伝
送路/蓄積媒体106に出力される。
The bit sequence 136 reconstructed by the bit sequence reconstructing unit 104 is input to the multiplexing unit 105,
(E.g., audio data, bit strings encoding other objects, etc.)
And a multiplexing process is performed, and a multiplexed bit string 137 is output to the transmission path / storage medium 106.

【0038】このように、本実施例では、動画像を符号
化して得たビット列に、任意の間隔で同期信号発生部1
03から出力された同期信号135が挿入され、その後
ろに、必要であれば重要情報構成部102から出力され
た重要情報134が決められたフォーマットに従ってビ
ット列再構成部104により挿入される。
As described above, in the present embodiment, the bit stream obtained by encoding a moving image is added to the synchronization signal generator 1 at an arbitrary interval.
03 is inserted, and after that, if necessary, the important information 134 output from the important information forming unit 102 is inserted by the bit string reconstructing unit 104 according to a predetermined format.

【0039】そのため、MPEG−4における任意形状
の画像符号化・復号化に必要な情報、例えば、任意形状
の画像符号化では画像サイズの幅VWの情報と高さVH
の情報および復号した画像を表示する位置を示すための
画像位置のx座標VHMSRの情報、y座標VVMSR
の情報、そして、形状情報の符号化モードを示すVOP
シェープ・コーディング・タイプ“vop_shape_coding_t
ype (VSCT)”や、形状情報のサイズを変換してか
ら符号化するかどうかを示すフラグであるchange_conv_
ratio_disable(CCRD)などが重要情報134とし
て生成される。この重要情報が決められたフォーマット
でビット列再構成部104により二重化してVPヘッダ
に挿入されると、任意形状画像符号化にも長方形画像の
符号化と同等の誤り耐性を持たせることができるように
なり、VOPヘッダやVPが一部壊れていても動画像の
復号化が可能になる。
Therefore, information necessary for encoding / decoding an image of an arbitrary shape in MPEG-4, for example, information on the width VW of the image size and the height VH in the encoding of an image of an arbitrary shape
Of the image position and information of the x coordinate VHMSR of the image position for indicating the position at which the decoded image is displayed, and the y coordinate VVMSR
VOP indicating the encoding mode of the shape information
Shape coding type “vop_shape_coding_t
ype (VSCT) "or change_conv_ which is a flag indicating whether encoding is performed after converting the size of the shape information.
A ratio_disable (CCRD) is generated as important information 134. When this important information is duplicated and inserted into the VP header by the bit sequence reconstruction unit 104 in a predetermined format, arbitrary shape image encoding can be given the same error tolerance as rectangular image encoding. Thus, even if the VOP header or the VP is partially broken, the moving image can be decoded.

【0040】MPEG−4の場合、フレームに相当する
ものをビデオ・オブジェクト・プレーン“ Video Objec
t Plane ”と呼ぶ(図18)。さらにこのVideo Object
Plane(以下、これをVOPと呼ぶ)を複数のパケット
に分割することが可能であり、これをビデオ・パケット
“ Video Packet ”と呼ぶ(図19)。
In the case of MPEG-4, a frame equivalent is referred to as a video object plane "Video Objec".
t Plane ”(Fig. 18).
A Plane (hereinafter, referred to as a VOP) can be divided into a plurality of packets, which is referred to as a video packet “Video Packet” (FIG. 19).

【0041】ビデオ・パケット“Video Packet”(以
下、これをVPと呼ぶ)は同期信号(Resync Marker、
以下、RMと呼ぶ)で始まるパケットであり、それ以前
に誤りが存在し、同期外れが生じた場合でもこの同期信
号で再同期をすることは可能であった。
A video packet “Video Packet” (hereinafter referred to as VP) is a synchronization signal (Resync Marker,
(Hereinafter referred to as RM), and it is possible to perform resynchronization with this synchronization signal even if an error exists before that and an out-of-synchronization occurs.

【0042】従って、先頭以外のビデオ・パケットVP
であれば、誤りにより情報が破壊/消失したとしても、
その後のビデオ・パケットVPは正しく復号することが
できる。それはビデオ・オブジェクト・プレーンVOP
の先頭のVOPヘッダが復号出来ていて、復号に必要な
情報が全て揃うことからである(図20)。
Therefore, video packets VP other than the head
Then, even if information is destroyed / lost due to errors,
Subsequent video packets VP can be decoded correctly. It is a video object plane VOP
This is because the VOP header at the head of has been successfully decoded, and all the information necessary for decoding is prepared (FIG. 20).

【0043】VOPヘッダ情報には前述したようにビデ
オ・オブジェクト・プレーンVOPの符号化タイプ(フ
レーム内符号化、フレーム間符号化等)、タイム・レフ
ァランス、ステップサイズ等が含まれている。この情報
を失うと、全てのビデオ・パケットVPの復号が出来な
かった(図21A,21B)。
As described above, the VOP header information includes the coding type of the video object plane VOP (intra-frame coding, inter-frame coding, etc.), time reference, step size, and the like. When this information was lost, all video packets VP could not be decoded (FIGS. 21A and 21B).

【0044】そこで、MPEG−4では、ビデオ・パケ
ットVPのヘッダの中にヘッダ・エクステンション・コ
ードHECを定義し、この値によって、その後にVOP
ヘッダの中の重要な情報を再度記述することが可能にな
っていた。
Therefore, in MPEG-4, a header extension code HEC is defined in the header of the video packet VP, and the value
Important information in the header could be described again.

【0045】このフォーマットについて、図21A,2
1Bに示す。すなわち、図21Aに示すように、ビデオ
・オブジェクト・プレーンVOPは先頭にVOPヘッダ
とそれに続いてデータが来るといった形式のパターンを
置き、その次にビデオ・パケットVPのヘッダとそれに
続いてデータが来るといった形式のパターンが幾つか繰
り返されると云ったフォーマットで構成されていた。
Regarding this format, FIGS.
1B. That is, as shown in FIG. 21A, the video object plane VOP has a pattern in such a format that a VOP header and subsequent data come at the head, followed by a video packet VP header and then data. , Etc., in a format in which several patterns of such a format are repeated.

【0046】VPのヘッダの中にヘッダ・エクステンシ
ョン・コードHECを定義し、この値によって、その後
にVOPヘッダの中の重要な情報を再度記述しておけ
ば、ビデオ・オブジェクト・プレーンVOPが壊れてい
ない限り、ビデオ・パケットVPのヘッダとそれに続い
てデータの組が一つや二つ壊れていても、正常なVPヘ
ッダとデータの組については、VOPヘッダとそのデー
タの情報を用いて、復号可能であった。
If a header extension code HEC is defined in the header of the VP and important information in the VOP header is described again by using this value, the video object plane VOP is broken. Unless otherwise, even if one or two pairs of data of the video packet VP and the data following it are broken, a normal VP header and data pair can be decoded using the information of the VOP header and the data. Met.

【0047】図22A、22Bの例の場合、ビデオ・オ
ブジェクト・プレーンVOPのヘッダとそれのペアとな
るデータは壊れていないが、第1のビデオ・パケットV
Pのヘッダとそれのペアとなるデータだけ壊れている様
子を示している。この場合、図22Bに示すように、ビ
デオ・オブジェクト・プレーンVOPとそれのデータ部
分は壊れていないので画像の第1の領域は正常に復号さ
れ、次の第2の領域は誤りが生じて劣化のある画像が復
号され、次の第3の領域以降は正常に復号されるので、
部分的には壊れているが、殆どが綺麗に再生された画像
として復号できた。
In the case of the example of FIGS. 22A and 22B, the header of the video object plane VOP and the data forming the pair are not broken, but the first video packet V
This shows a state in which only the header of P and the data forming a pair with the header are broken. In this case, as shown in FIG. 22B, since the video object plane VOP and its data portion are not broken, the first area of the image is decoded normally, and the next second area is degraded due to an error. Is decoded, and the subsequent third and subsequent areas are decoded normally.
Although partially broken, most could be decoded as beautifully reproduced images.

【0048】また、ヘッダ・エクステンション・コード
HECを設けない方式の場合、図22Aに示すように、
VOPヘッダが壊れていれば、他のVPが壊れていなく
とも復元の余地は全くなく、図22Bのように、誤りの
影響で全く画像は得られないことになるが、このような
場合でもヘッダ・エクステンション・コードHECを設
ける方式の場合は再生可能であった。すなわち、ヘッダ
・エクステンション・コードHECを設ける方式の場
合、当該ヘッダ・エクステンション・コードHECが真
の場合には、このHECの後ろに重要情報が二重化さ
れ、HECが偽の場合には重要情報が二重化されない形
態が取られる。誤りの多い伝送路を利用する場合に、H
ECを真とすると共に、その後ろに重要情報を二重化し
て付加するようにする。
In the case of a system without the header extension code HEC, as shown in FIG.
If the VOP header is broken, there is no room for restoration even if other VPs are not broken, and as shown in FIG. 22B, no image can be obtained due to the influence of errors. -In the case of the method in which the extension code HEC was provided, the reproduction was possible. That is, in the case where the header extension code HEC is provided, when the header extension code HEC is true, important information is duplicated after the HEC, and when the HEC is false, important information is duplicated. Not taken form is taken. When using a transmission path with many errors, H
The EC is set to true, and important information is duplicated and added after the EC.

【0049】その結果、図23Aのように、VOPの先
頭に何らかの誤りが存在し、復号できなかった場合で
も、HECで保護された情報を利用することで、先頭を
領域の画像は正常に復元できなくとも、第2の領域以降
の部分のビデオ・パケットVPを復号することが可能に
なり、図23Bに示すように部分的には壊れているが、
殆どが綺麗に再生された画像として復号できることにな
る。
As a result, as shown in FIG. 23A, even if an error exists at the head of the VOP and decoding is not possible, the image in the head area can be restored normally by using the information protected by HEC. If not, it is possible to decode the video packet VP in the portion after the second region, and it is partially broken as shown in FIG.
Most of them can be decoded as beautifully reproduced images.

【0050】しかしながら、これはあくまでも長方形の
画像領域単位で実現できるに過ぎなかった。つまり、V
OPヘッダ情報をVPヘッダの中にHECを用いて二重
化することで、VOPヘッダが失われた場合でも、VP
ヘッダの中にHECによってVOPヘッダが二重化され
ていれば、それを利用することでその後のデータを正し
く復号することが可能であるが、HECを用いて二重化
できる情報中には、任意形状の画像符号化の際に必要に
なる情報が含まれていない。そのため、従来の長方形の
画像であれば問題がなかったものの、MPEG−4のよ
うに、オブジェクト単位で任意形状の画像を符号化でき
るようにした方式の場合、復号化できなかった。
However, this can only be realized in units of rectangular image areas. That is, V
By duplicating the OP header information using HEC in the VP header, even if the VOP header is lost, the VP
If the VOP header is duplicated by the HEC in the header, the subsequent data can be correctly decoded by using the VOP header. However, the information that can be duplicated by the HEC includes an image of an arbitrary shape. It does not contain information required for encoding. For this reason, although there was no problem with a conventional rectangular image, decoding was not possible in a method such as MPEG-4 in which an image of an arbitrary shape could be encoded in object units.

【0051】これはMPEG−4におけるオブジェクト
単位での任意形状の画像の符号化には、長方形の画像の
符号化に比べて更に多くのヘッダ情報が追加されている
ことから、これを二重化の対象とできないことが大きな
問題であった。
This is because the encoding of an image of an arbitrary shape in an object unit in MPEG-4 adds more header information than the encoding of a rectangular image, and this is the object of duplication. And the inability to do so was a major problem.

【0052】また、別の観点からみてみる。インターネ
ットやイントラネット等の利用が一般化してくると、こ
のようなネットワークを利用しての通信が多くなり、イ
ンターネットテレビ電話等も利用されるようになってい
る。この場合、動画像をリアルタイムで伝送することに
なる。しかしながら、動画像をインターネットやイント
ラネット等でリアルタイムに伝送しようとすると、一般
に用いられているTCPやUDPのプロトコルでは問題
点が多い。特に、ヘッダが時間情報を持っていない点が
問題であった。
Further, another viewpoint will be considered. As the use of the Internet, intranets, and the like has become generalized, communication using such networks has increased, and Internet videophones and the like have also been used. In this case, the moving image is transmitted in real time. However, when a moving image is transmitted in real time over the Internet, an intranet, or the like, there are many problems with the generally used TCP and UDP protocols. In particular, the problem is that the header has no time information.

【0053】そこで、近年、動画像/音声データの伝送
に利用されるプロトコルとしてRTP(Real-time Trans
fer Protocol)が注目を浴びている。すなわち、TCP
などのプロトコルの場合、パケット毎に付属する時間情
報がないため、受信側ではその受信したデータをいつ再
生すればいいのかを知ることができなかった。そのた
め、データをパケット伝送した場合に、受信側ではその
データが動画像データや音声・サウンドデータである場
合には旨く再生することができなかった。
Therefore, in recent years, as a protocol used for transmitting moving image / audio data, RTP (Real-time Trans
fer Protocol) is gaining attention. That is, TCP
In such a protocol, there is no time information attached to each packet, so that the receiving side cannot know when to reproduce the received data. Therefore, when data is transmitted in packets, the receiving side cannot successfully reproduce the data if the data is moving image data or audio / sound data.

【0054】しかし、RTPではパケット毎に時間情報
を付加し、受信側でそれを元に動画像データや音声・サ
ウンドデータを再生することが可能となる。このよう
に、RTPはリアルタイムデータの伝送に適したプロト
コルとなっている。
However, in the RTP, time information is added to each packet, and the receiving side can reproduce moving image data and audio / sound data based on the time information. Thus, RTP is a protocol suitable for transmitting real-time data.

【0055】このプロトコルには、各アプリケーション
毎に拡張ヘッダを定義できるようになっている。
In this protocol, an extension header can be defined for each application.

【0056】従来技術で説明したように、MPEG−4
ではVOPヘッダ情報をVPヘッダの中にHECを用い
て二重化することで、VOPヘッダが失われた場合で
も、VPヘッダの中にHECによってVOPヘッダが二
重化されていれば、それを利用することでその後のデー
タを正しく復号することが可能であった。
As described in the prior art, MPEG-4
Then, by duplicating the VOP header information using the HEC in the VP header, even if the VOP header is lost, if the VOP header is duplicated by the HEC in the VP header, it can be used. Subsequent data could be correctly decoded.

【0057】しかし、HECを用いて二重化できる情報
中には、任意形状の画像符号化の際に必要になる情報が
含まれていない。そのため、従来の長方形の画像であれ
ば問題がなかったものの、任意形状の画像符号化では長
方形の画像の符号化に比べてヘッダ情報が追加されてい
ることから、これが二重化できないことが大きな問題で
あった。
However, the information that can be duplicated using the HEC does not include information necessary for encoding an image of an arbitrary shape. Therefore, although there was no problem with the conventional rectangular image, since the header information is added in the encoding of an arbitrary shape compared to the encoding of the rectangular image, it is a big problem that this cannot be duplicated. there were.

【0058】例えば、任意形状の画像符号化では各VO
P毎に画像サイズが変更になるため、VOPヘッダ中に
画像サイズの幅vop_width(以下、VWと呼ぶ)と高さv
op_height(以下、VHと呼ぶ)を記述する。また、復
号した画像を表示する位置を示すための画像位置のx座
標vop_horizontal_mc_spatial_ref(以下、VHMSR
と呼ぶ)、y座標vop_vertical_mc_spatial_ref(以
下、VVMSRと呼ぶ)も記述されている。これらの値
の関係が図24に示される。
For example, in image coding of an arbitrary shape, each VO
Since the image size changes for each P, the width vop_width (hereinafter referred to as VW) and the height v of the image size are included in the VOP header.
op_height (hereinafter referred to as VH) is described. Also, the x coordinate vop_horizontal_mc_spatial_ref (hereinafter, VHMSR) of the image position for indicating the position at which the decoded image is displayed
, Y coordinate vop_vertical_mc_spatial_ref (hereinafter, referred to as VVMSR). FIG. 24 shows the relationship between these values.

【0059】これらの情報のないビデオ・パケットVP
の情報だけで動画像を復号しようとした場合、任意形状
の画像符号化では正しく復号することができなくなる。
すなわち、任意形状の画像符号化では画像サイズの幅V
Wの情報と高さVHの情報および復号した画像を表示す
る位置を示すための画像位置のx座標VHMSRの情
報、y座標VVMSRの情報がないと正しく復号するこ
とができなかった。
The video packet VP without these information
If an attempt is made to decode a moving image using only the information described above, it will not be possible to decode correctly with image coding of an arbitrary shape.
That is, in image coding of an arbitrary shape, the width V of the image size
Decoding could not be performed correctly without the W information, the height VH information, and the x coordinate VHMSR information and the y coordinate VVMSR information of the image position for indicating the display position of the decoded image.

【0060】また、形状情報の符号化モードを示すVO
Pシェープ・コーディング・タイプ“vop_shape_coding
_type(以下、VSCTと呼ぶ)”や、形状情報のサイ
ズを変換してから符号化するかどうかを示すフラグであ
るchange_conv_ratio_disable(以下、CCRDと呼
ぶ)なども正しく復号するためには必要である。
VO indicating the encoding mode of the shape information
P shape coding type “vop_shape_coding
_type (hereinafter, referred to as VSCT) "and change_conv_ratio_disable (hereinafter, referred to as CCRD), which is a flag indicating whether or not encoding is performed after converting the size of the shape information, are necessary for correct decoding.

【0061】MPEG−4のHECによるVOPヘッダ
の二重化は、これらの情報を保護していない。
The duplication of the VOP header by the MPEG-4 HEC does not protect such information.

【0062】このように、本システムは、任意形状画像
符号化の場合でも従来の長方形画像の符号化と同等の誤
り耐性を持たせることができる。上記の構成において本
発明の重要な構成である重要情報構成部102とビット
列再構成部104を図2を参照して詳しく説明する。
As described above, the present system can provide the same error resistance as that of the conventional rectangular image encoding even in the case of encoding an arbitrary-shaped image. In the above configuration, the important information forming unit 102 and the bit string reconfiguring unit 104, which are important components of the present invention, will be described in detail with reference to FIG.

【0063】まず、重要情報構成部102の詳細につい
て説明する。
First, details of the important information forming unit 102 will be described.

【0064】重要情報構成部102は図2に示すよう
に、通常画像関連重要情報構成部206、任意形状画像
関連重要情報構成部207、任意形状符号化判定部20
8、多重化部210とより構成される。
As shown in FIG. 2, the important information forming unit 102 includes a normal image-related important information forming unit 206, an arbitrary shape image-related important information forming unit 207, and an arbitrary shape encoding determining unit 20.
8, a multiplexing unit 210.

【0065】これらのうち、通常画像関連重要情報構成
部206は、符号化部101からの符号化情報133を
受けて、これより通常の符号化の際、重要と判断される
情報(例えば符号化モードやタイム・レファランス等)
を選択し、通常画像関連重要情報238として多重化部
210に出力するよう構成される。任意形状画像関連重
要情報構成部207は、任意形状画像符号化に関連した
重要情報(例えば、画像サイズ、位置、符号化モード、
縮小変換モード等)を選択して、これを任意形状画像関
連重要情報239として出力するよう構成される。
Of these, the normal image-related important information forming unit 206 receives the coded information 133 from the coding unit 101 and receives information (for example, coding information) determined to be important in normal coding. Mode, time reference, etc.)
Is selected and output to the multiplexing unit 210 as the normal image-related important information 238. The arbitrarily-shaped image-related important information forming unit 207 outputs important information related to arbitrarily-shaped image encoding (for example, image size, position, encoding mode,
(Reduction conversion mode, etc.), and outputs this as the arbitrary shape image-related important information 239.

【0066】任意形状符号化判定部208は、符号化さ
れた画像が通常の長方形の画像であるのか任意形状の画
像であるのかを判定する部であって、判定結果を判定信
号240として出力する。
The arbitrary shape encoding judging section 208 judges whether the encoded image is a normal rectangular image or an arbitrary shape image, and outputs the judgment result as a judgment signal 240. .

【0067】切替部209は、任意形状符号化判定部2
08からの判定信号240に応じて通常画像関連重要情
報構成部207からの任意形状画像関連重要情報239
を多重化部210に出力するかどうかの切替制御を行
う。多重化部210は、通常画像関連重要情報構成部2
06からの通常画像関連重要情報238と、任意形状画
像符号化において任意形状符号化判定部208から出力
する任意形状画像関連重要情報239とを多重化し、重
要情報134として出力するよう構成される。
The switching unit 209 includes an arbitrary shape encoding determination unit 2
08 and the arbitrary shape image-related important information 239 from the normal image-related important information forming unit 207 in response to the determination signal 240 from
Is switched to output whether or not to output to the multiplexing unit 210. The multiplexing unit 210 includes the normal image-related important information forming unit 2
It is configured to multiplex the normal image-related important information 238 from No. 06 and the arbitrary shape image-related important information 239 output from the arbitrary shape encoding determination unit 208 in the arbitrary shape image encoding, and to output the resulting information as important information 134.

【0068】上記のような構成において、符号化部10
1からの符号化情報133は、重要情報構成部102の
構成要素である通常画像関連重要情報構成部207に入
力され、当該通常画像関連重要情報構成部207におい
て、通常の符号化の際、重要と判断される情報(例えば
符号化モードやタイム・レファランス等)が選択される
ことによって、この選択された情報が通常画像関連重要
情報238として多重化部210に出力される。従っ
て、通常画像関連重要情報238には符号化モードやタ
イム・レファランス等のような通常の符号化の際、重要
と判断される情報が集められたものとなる。
In the above configuration, the encoding unit 10
1 is input to the normal image-related important information forming unit 207, which is a component of the important information forming unit 102. (For example, an encoding mode or a time reference) is selected, and the selected information is output to the multiplexing unit 210 as normal image-related important information 238. Therefore, the normal image-related important information 238 is a collection of information that is determined to be important at the time of normal encoding, such as an encoding mode and a time reference.

【0069】次に、任意形状画像関連重要情報構成部2
07においては、任意形状画像符号化に関連した重要情
報(例えば、画像サイズ、位置、符号化モード、縮小変
換モード等)が選択され、任意形状画像関連重要情報2
38として多重化部210に出力される。
Next, an arbitrary shape image related important information forming unit 2
At 07, important information related to arbitrary shape image encoding (for example, image size, position, encoding mode, reduction conversion mode, and the like) is selected, and arbitrary shape image related important information 2 is selected.
38 and output to the multiplexing unit 210.

【0070】一方、任意形状符号化判定部208では、
符号化された画像が通常の長方形の画像であるのか、任
意形状の画像であるのかを判定すると共に、その判定結
果を判定信号240として出力する。この判定信号24
0により切替部209は制御されて、通常画像関連重要
情報構成部207からの任意形状画像関連重要情報23
9を出力するかどうかの切替制御をする。
On the other hand, the arbitrary shape encoding determining section 208
It is determined whether the encoded image is a normal rectangular image or an image of an arbitrary shape, and the result of the determination is output as a determination signal 240. This determination signal 24
0, the switching unit 209 is controlled, and the arbitrary shape image related important information 23 from the normal image related important information forming unit 207 is controlled.
9 is controlled to be output.

【0071】多重化部210では、通常画像関連重要情
報238と任意形状画像符号化の場合は任意形状画像関
連重要情報239とを多重化し、重要情報134として
出力する。
The multiplexing section 210 multiplexes the normal image-related important information 238 and the arbitrary-shape image-related important information 239 in the case of arbitrary-shape image coding, and outputs the result as important information 134.

【0072】この結果、任意形状画像符号化の場合は通
常画像関連重要情報238と任意形状画像関連重要情報
239とが多重化された重要情報134として多重化部
210から出力できる。通常画像符号化の場合は、通常
画像関連重要情報238のみが重要情報134として出
力できることとなる。
As a result, in the case of arbitrary shape image encoding, the multiplexing unit 210 can output the important information 134 in which the normal image related important information 238 and the arbitrary shape image related important information 239 are multiplexed. In the case of normal image coding, only the normal image related important information 238 can be output as important information 134.

【0073】次にビット列再構成部104の詳細につい
て説明する。ビット列再構成部104は図2の上半分の
領域に示したように、MB境界判定部201、カウンタ
202、同期信号挿入判定部203、ヘッダ情報挿入部
205、加算部206とより構成される。
Next, the details of the bit string reconstruction unit 104 will be described. As shown in the upper half area of FIG. 2, the bit string reconstruction unit 104 includes an MB boundary determination unit 201, a counter 202, a synchronization signal insertion determination unit 203, a header information insertion unit 205, and an addition unit 206.

【0074】これらのうち、MB境界判定部201は、
前段の符号化部101にて符号化されて入力されるビッ
ト列132について、そのビット列のデータがマクロブ
ロックMBの境界に当たるか否かを判定するものであ
り、また、符号量カウンタ部202は、前段の符号化部
101にて符号化されて入力されるビット列132につ
いて、その符号量をカウントするためのものである。
Among them, the MB boundary determining unit 201
For the bit string 132 encoded and input by the encoding section 101 in the preceding stage, it is determined whether or not the data of the bit string falls on the boundary of the macroblock MB. This is for counting the code amount of the bit string 132 encoded and input by the encoding unit 101 of FIG.

【0075】同期信号挿入判定部203は、MB境界判
定部201がビット列132についてMB境界と判定
し、しかも、当該ビット列132に対して符号量カウン
タ部202のカウント値がある値を超えていた場合、挿
入許可信号234を出力するものである。
The synchronization signal insertion determining unit 203 determines that the MB boundary determining unit 201 determines that the bit string 132 is an MB boundary, and that the count value of the code amount counter 202 for the bit string 132 exceeds a certain value. , And an insertion permission signal 234.

【0076】また、ヘッダ情報挿入部205は、入力さ
れた重要情報134と同期信号135からヘッダ情報を
作成し、同期信号挿入判定部203で挿入許可と判断さ
れた場合に、符号化されたビット列132に対して当該
作成したヘッダ情報237を付加すべく加算部206に
出力する。
The header information insertion unit 205 creates header information from the input important information 134 and the synchronization signal 135, and when the synchronization signal insertion determination unit 203 determines that insertion is permitted, the encoded bit string 132 is output to the adding unit 206 in order to add the created header information 237 to the adding unit 206.

【0077】また、加算部206は符号化部101にて
符号化されて入力されるビット列132とヘッダ情報挿
入部205の出力とを加算してこれをビット列再構成部
104の再構成ビット列136として出力する部であ
る。
The addition section 206 adds the bit string 132 coded and input by the coding section 101 and the output of the header information insertion section 205, and uses this as a reconstructed bit string 136 of the bit string reconstruction section 104. This is the output section.

【0078】このような構成のビット列再構成部104
は、前段の符号化部101で符号化されたビット列13
2が入力されると、これをビット列再構成部104の構
成要素の一つであるMB境界判定部201と符号量カウ
ンタ部202とに入力する。このMB境界判定部201
において入力ビット列132が、MBの境界である否か
を判定する。
Bit string reconstructing section 104 having such a configuration
Is a bit string 13 encoded by the encoding section 101 in the preceding stage.
When 2 is input, it is input to the MB boundary determination unit 201 and the code amount counter unit 202, which are one of the components of the bit string reconfiguration unit 104. This MB boundary determination unit 201
It is determined whether or not the input bit string 132 is at the boundary of the MB.

【0079】また、符号量カウンタ部202では、ビッ
ト列132の符号量をカウントする。同期信号挿入判定
部203では、MB境界判定部201での判定がMB境
界と判定され、且つ、カウンタ202での符号量のカウ
ント値が、ある値を超えていた場合に、挿入許可信号2
34を発生し、ヘッダ情報挿入部205に出力するよう
に動作する。
The code amount counter unit 202 counts the code amount of the bit string 132. In the synchronization signal insertion determination unit 203, when the determination in the MB boundary determination unit 201 is determined to be an MB boundary, and the count value of the code amount in the counter 202 exceeds a certain value, the insertion permission signal 2
34, and operates to output it to the header information insertion unit 205.

【0080】一方、ヘッダ情報挿入部205は、入力さ
れた重要情報134と同期信号135からヘッダ情報を
作成し、同期信号挿入判定部203で挿入許可と判断さ
れた場合に、符号化されたビット列132に作成したヘ
ッダ情報237を付加するため加算部206に送る。こ
れにより、加算部206は符号化されたビット列132
にヘッダ情報237を挿入し、再構成されたビット列1
36を出力する。このビット列136がビット列再構成
部104の出力となる。
On the other hand, the header information insertion unit 205 creates header information from the input important information 134 and the synchronization signal 135, and when the synchronization signal insertion determination unit 203 determines that insertion is permitted, the encoded bit string The added header information 237 is added to the adder 206 to add the created header information 237 to the adder 132. As a result, the adder 206 outputs the encoded bit string 132
To the reconstructed bit string 1
36 is output. This bit sequence 136 is the output of the bit sequence reconstructing unit 104.

【0081】この結果、符号化部で符号化されて入力さ
れて来る画像データのビット列132を調べて、マクロ
ブロックMBの境界位置となるビットが到来した時点に
おいて、それまでの符号量が所定の値を超えていた場合
に、挿入許可信号234が発生される。ヘッダ情報挿入
部205において作成された、入力された重要情報13
4と同期信号135を元にしてのヘッダ情報が、上記ビ
ット列132に付加できる。
As a result, the bit string 132 of the image data which is coded and inputted by the coding unit is examined, and when the bit which becomes the boundary position of the macroblock MB arrives, the code amount up to that point is a predetermined value. If so, an insertion permission signal 234 is generated. Input important information 13 created in header information insertion section 205
4 and the header information based on the synchronization signal 135 can be added to the bit string 132.

【0082】重要情報構成部102は、その構成要素の
一つである通常画像関連重要情報構成部206が符号化
部101からの符号化情報133を元に通常の符号化の
際、重要と判断される情報(例えば、符号化モードやタ
イム・レファランス等)を選び、それを通常画像関連重
要情報238とする。また、重要情報構成部102にお
ける構成要素の一つである任意形状画像関連重要情報構
成部207は、任意形状画像符号化に関連した重要情報
(例えば、画像サイズ、位置、符号化モード、縮小変換
モード等)を選び、これを任意形状画像関連重要情報2
39とする。通常の画像の場合は通常画像関連重要情報
238のみを、また、任意形状の画像の符号化の場合に
は通常画像関連重要情報238と任意形状画像関連重要
情報239とを多重化して得ており、従って、ビット列
に挿入するヘッダ情報には通常画像情報関連重要情報と
任意形状画像関連重要情報を含ませることができ、MP
EG−4の符号化データの画像再生に必要な情報をVP
ヘッダに含ませることができる。
The important information forming unit 102 determines that the normal image related important information forming unit 206, which is one of the constituents, is important when performing normal coding based on the coded information 133 from the coding unit 101. Information (eg, encoding mode, time reference, etc.) to be used is selected as normal image-related important information 238. In addition, the arbitrarily-shaped image-related important information forming unit 207, which is one of the constituent elements in the important information forming unit 102, stores important information (for example, image size, position, encoding mode, reduction conversion) related to arbitrary-shaped image coding. Mode, etc.), and arbitrarily-shape image related important information 2
39. In the case of a normal image, only the normal image-related important information 238 is obtained, and in the case of encoding an image having an arbitrary shape, the normal image-related important information 238 and the arbitrary shape image-related important information 239 are multiplexed. Therefore, the header information to be inserted into the bit string can include normal image information related important information and arbitrary shape image related important information.
Information necessary for image reproduction of EG-4 encoded data is VP
Can be included in the header.

【0083】図3にヘッダ情報の作成に関するフローチ
ャートを示す。ビット列再構成部104では、まず第1
段階(ステップS502)として、符号化部101から
入力されて来るビット列に対し、MB(マクロブロッ
ク)の境界位置かどうかの判定を行う。
FIG. 3 shows a flowchart relating to the creation of header information. In the bit string reconstruction unit 104, first, the first
As a step (step S502), it is determined whether or not the bit string input from the encoding unit 101 is at a boundary position of an MB (macroblock).

【0084】第2段階(ステップS503)としては、
MBであった場合、同期信号RMを挿入すべきかどうか
の判定を行う。この判定は、ユーザの任意のアルゴリズ
ムで行うことが可能である。例えば、直前の同期信号か
ら一定のビット数を超えたならば同期信号RMを挿入す
ると云ったアルゴリズムや、直前の同期信号から一定の
MB数を越えた場合、画像中の形状に沿ってRMを挿入
するかどうかの判断を行うなど、様々な方法が利用可能
である。
As the second stage (step S503),
If it is MB, it is determined whether or not the synchronization signal RM should be inserted. This determination can be made by an arbitrary algorithm of the user. For example, an algorithm that inserts the synchronization signal RM when the number of bits exceeds a predetermined number of bits from the immediately preceding synchronization signal, or when the number of MBs exceeds the predetermined number of synchronizations from the immediately preceding synchronization signal, the RM is inserted along the shape in the image. Various methods are available, such as determining whether to insert.

【0085】ビデオ・パケットVPは同期信号RMで始
まるパケットであり、それ以前に誤りが存在し、同期外
れが生じた場合でもこの同期信号RMで再同期をするこ
とが可能である。
The video packet VP is a packet starting with the synchronization signal RM. Even if an error exists before that and an out-of-synchronization occurs, resynchronization can be performed with the synchronization signal RM.

【0086】ステップS503において同期信号RMを
挿入すると判定された場合、RMを挿入し、RMに続く
VPヘッダを挿入する(図3のステップS504)。そ
して、ステップS505に進む。
If it is determined in step S503 that the synchronization signal RM is to be inserted, the RM is inserted, and a VP header following the RM is inserted (step S504 in FIG. 3). Then, the process proceeds to step S505.

【0087】第3段階(ステップS505)は、拡張ヘ
ッダとしてVOPヘッダの重要情報を二重化するかどう
かの判定を行う。
In the third stage (step S505), it is determined whether or not important information of the VOP header is duplicated as an extension header.

【0088】二重化すると判定された場合は、HECを
真にセットし、その後、VOPヘッダの中から長方形の
画像符号化における重要情報を選択し、出力する(図3
のステップS506)。そして、ステップS507に進
む。
If it is determined that duplication is to be performed, HEC is set to true, and then important information in rectangular image encoding is selected from the VOP header and output (FIG. 3).
Step S506). Then, the process proceeds to step S507.

【0089】最後の第4段階(ステップS507)で
は、任意形状画像か否かの判定を行う。任意形状画像の
場合は、VOLヘッダ内の任意形状画像符号化における
重要情報を選択し、出力する(図3のステップS50
8)。
In the final fourth stage (step S507), it is determined whether or not the image is an arbitrary-shaped image. In the case of an arbitrary shape image, important information in the arbitrary shape image encoding in the VOL header is selected and output (step S50 in FIG. 3).
8).

【0090】以上の4つの段階を経てVPヘッダ部分を
生成し、ビット列に挿入する。
Through the above four steps, a VP header portion is generated and inserted into a bit string.

【0091】図4に、任意形状画像のVPヘッダの構成
例を示す。図20に示す従来のVPヘッダに対し、拡張
ヘッダEx−Headerが追加されており、この拡張
ヘッダEx−Headerには任意形状画像符号化にお
ける重要情報、すなわち、画像の幅(VW)、高さ(V
H)、画像を貼り込むX座標(VHMSR)、Y座標
(VVMSR)、形状情報を縮小変換して符号化してい
るかどうかを示すフラグ(CCRD)、形状情報の符号
化タイプ(フレーム内符号化/フレーム間符号化等)の
情報(VSCT)が追加されるようになる。
FIG. 4 shows a configuration example of a VP header of an arbitrary-shaped image. An extension header Ex-Header is added to the conventional VP header shown in FIG. 20, and the extension header Ex-Header has important information in arbitrary shape image coding, that is, the width (VW) and height of an image. (V
H), an X coordinate (VHMSR) to paste the image, a Y coordinate (VVMSR), a flag (CCRD) indicating whether or not the shape information is reduced and converted and encoded, and an encoding type of the shape information (intra-frame encoding / Information (VSCT) for inter-frame coding and the like.

【0092】尚、任意形状画像符号化における重要情報
としては、上記情報に限定されるものではなく、アプリ
ケーションの用途により、さらに他の情報を増やすこと
も、逆に情報を減らすことも可能である。但し、送信
側、受信側でヘッダフォーマットに関して共通の認識が
必要になる。
The important information in the arbitrary shape image coding is not limited to the above information, and it is possible to further increase other information or to reduce the information depending on the use of the application. . However, it is necessary for the transmitting side and the receiving side to commonly recognize the header format.

【0093】以上、任意形状画像符号化における重要情
報の抽出機能と任意形状画像を使用しているか否かの判
定機能と、マクロブロックの境界検出機能を持たせ、V
Pヘッダには拡張ヘッダ部分を設けて通常の画像符号化
における重要情報の他、同期信号を含め、任意形状画像
符号化においては任意形状画像符号化における重要情報
も含めることができるようにしたから、ヘッダが一部壊
れていても、健全なヘッダを持つ部分については画像を
復号可能になる。また、同期信号があるのでビデオ・パ
ケットVPの同期外れの問題も解消する。すなわち、ビ
デオ・パケットVPは同期信号RMで始まるパケットで
あり、それ以前に誤りが存在し、同期外れが生じた場合
でもこの同期信号RMで再同期をすることが可能であ
る。
As described above, the function of extracting important information in the coding of an arbitrary-shaped image, the function of determining whether or not an arbitrary-shaped image is used, and the function of detecting a macroblock boundary are provided.
The P header is provided with an extended header part, so that important information in normal image coding can be included, as well as important information in arbitrary shape image coding in arbitrary shape image coding, including a synchronization signal. Even if the header is partially broken, an image can be decoded for a portion having a healthy header. Further, since there is a synchronization signal, the problem of out-of-synchronization of the video packet VP is also solved. That is, the video packet VP is a packet that starts with the synchronization signal RM, and can be resynchronized with the synchronization signal RM even if an error occurs before that and an out of synchronization occurs.

【0094】これらのことから、伝送時での雑音に対す
る耐性の高い、また、任意形状画像符号化の場合でも従
来の長方形画像の符号化と同等の誤り耐性を持たせるこ
とができるようになる動画像符号化技術を提供できる。
From these facts, it is possible to provide a moving image which has high resistance to noise at the time of transmission and has the same error resistance as that of the conventional rectangular image coding even in the case of arbitrary shape image coding. An image coding technique can be provided.

【0095】以上は、符号化側での構成と処理の詳細を
説明したが、次に復号側の構成と処理の詳細を説明す
る。
The above has described the configuration and processing on the encoding side in detail. Next, the configuration and processing on the decoding side will be described in detail.

【0096】復号部について説明する。図5に示される
第1の実施形態にかかる復号部によると、符号化ビット
列が入力される分離部302の出力は、復号化部303
および同期検出部304に接続される。同期検出部30
4の出力は復号化部303の他方入力に接続される。復
号化部303の出力はエラーチェック部305に接続さ
れる。このエラーチェック部305の出力は復号化部3
03の出力と共に重要情報構成部306に接続される。
重要情報構成部306の出力は復号化部303に接続さ
れる。
The decoding section will be described. According to the decoding unit according to the first embodiment shown in FIG. 5, the output of the separation unit 302 to which the coded bit string is input is output from the decoding unit 303.
And a synchronization detection unit 304. Synchronization detector 30
4 is connected to the other input of the decoding unit 303. The output of the decoding unit 303 is connected to the error check unit 305. The output of the error check unit 305 is
03 and to the important information configuration unit 306.
The output of the important information forming unit 306 is connected to the decoding unit 303.

【0097】分離部302は、伝送路/記憶媒体106
から受信されたビット列331を画像用のビット列33
2とそれ以外のデータに分離するために設けられてい
る。同期検出部304は分離部302から出力されるビ
ット列332中から同期信号RMを検出する。また、復
号化部303は、分離部302から分離されて出力され
る画像用ビット列332について復号化処理して画像デ
ータを生成する。その際、復号化部303は、同期信号
検出部304により検出された同期信号に同期させなが
ら復号処理を実施するように構成されている。
The separation section 302 is provided for the transmission path / storage medium 106
From the bit string 331 received from the
2 is provided to separate the data from the other data. The synchronization detection section 304 detects a synchronization signal RM from the bit string 332 output from the separation section 302. In addition, the decoding unit 303 performs a decoding process on the image bit string 332 separated and output from the separation unit 302 to generate image data. At this time, the decoding unit 303 is configured to perform the decoding process while synchronizing with the synchronization signal detected by the synchronization signal detection unit 304.

【0098】また、重要情報構成部306は、復号化部
303の現在復号処理中のデータを得て、これより当該
復号化部303において現在復号中のVOP(ビデオ・
オブジェクト・プレーン)のVOPヘッダが存在してい
る場合は、その情報を抽出し、出力して復号化部303
に与えるように構成されている。
Further, the important information forming unit 306 obtains the data currently being decoded by the decoding unit 303, and obtains the VOP (video / video data) currently being decoded by the decoding unit 303.
If an object plane (VOP) header exists, the information is extracted, output, and
It is configured to give to.

【0099】エラーチェック部305は、復号化部30
3の出力する復号情報334をチェックして復号作業中
に誤りが生じていないかを検出する部であり、誤りが検
出された場合、エラーチェック部305は、重要情報構
成部306に復号化処理に誤りがあったことを知らせ
て、重要情報の復号化部303への出力を抑止させるよ
うに構成されている。
[0099] The error check unit 305 is
3 to check whether or not an error has occurred during the decoding operation by checking the decoding information 334 output by the third information processing unit 3. If an error is detected, the error checking unit 305 causes the important information forming unit 306 to perform the decoding process. Is configured to notify that there is an error, and to suppress the output of important information to the decoding unit 303.

【0100】復号化部303は誤りが発生した場合に、
その誤りに対応した処理を行うように構成されている。
また、復号化部303は、その誤りに対応した処理を行
った後、同期検出部304が検出した次の同期信号の位
置から復号作業を行う。
When an error occurs, the decoding unit 303
It is configured to perform processing corresponding to the error.
After performing processing corresponding to the error, decoding section 303 performs decoding work from the position of the next synchronization signal detected by synchronization detection section 304.

【0101】このような構成において、伝送路/記憶媒
体106から受信されたビット列331は、分離部30
2により画像用のビット列332と、それ以外のデータ
に分離される。その他のデータは、夫々に対応した復号
化部に送られる。
In such a configuration, the bit string 331 received from the transmission path / storage medium 106 is
2 separates the image into a bit string 332 for the image and other data. Other data is sent to the corresponding decoding units.

【0102】分離部302により分離された画像用ビッ
ト列332は、復号化部303に入力され、復号化が行
われる。その際、同期信号検出部304により同期信号
がビット列332中から検出されながら復号処理が行わ
れる。
The image bit string 332 separated by the separation unit 302 is input to the decoding unit 303, and is decoded. At this time, the decoding process is performed while the synchronization signal is detected from the bit sequence 332 by the synchronization signal detection unit 304.

【0103】復号化部303で復号化処理されることに
よって得られる復号情報334からエラーチェック部3
05で復号作業中に誤りが生じていないかを検出する。
誤りが検出された場合、誤りに対応した処理が復号化部
303で行われた後、同期検出部304が検出した次の
同期信号の位置から復号作業が行われる。
[0103] From the decoded information 334 obtained by performing the decoding process in the decoding unit 303, the error check unit 3
At 05, it is detected whether an error has occurred during the decoding operation.
When an error is detected, a process corresponding to the error is performed by the decoding unit 303, and then decoding is performed from the position of the next synchronization signal detected by the synchronization detection unit 304.

【0104】復号化部303は次の同期信号の種類を判
定し、同期信号RMの場合でエラー信号335が真の場
合に、重要情報構成部306からVOPヘッダの情報3
43を取得する。
The decoding section 303 determines the type of the next synchronization signal. If the error signal 335 is true in the case of the synchronization signal RM, the important information forming section 306 sends the information 3 of the VOP header.
43 is acquired.

【0105】重要情報構成部306は、復号化部303
が現在復号中のVOP(ビデオ・オブジェクト・プレー
ン)にVOPヘッダが存在している場合は、その情報を
出力する。また、現在復号中のVOPにVOPヘッダが
存在しない場合、VPヘッダ内にHECにより重要情報
が挿入されていれば、それを出力する。
The important information forming unit 306 includes a decoding unit 303
If a VOP (Video Object Plane) currently being decoded has a VOP header, that information is output. If no VOP header is present in the VOP currently being decoded, if HEC has inserted important information into the VP header, the important information is output.

【0106】復号化部303での復号化処理において
は、重要情報構成部306で得た重要情報が用いられ
る。重要情報構成部306で得た重要情報には、復号化
部303が現在復号中のVOP(ビデオ・オブジェクト
・プレーン)にVOPヘッダが存在している場合は、そ
の情報を出力し、現在復号中のVOPにVOPヘッダが
存在しない場合には、VPヘッダ内にHECにより重要
情報が挿入されていれば、それを出力する。符号化処理
側では、重要情報として通常の画像符号化における重要
情報の他、任意形状画像符号化においては任意形状画像
符号化における重要情報も含めるようにしてあるから、
ヘッダが一部壊れていても、健全なヘッダを持つ部分に
ついては通常の画像を符号化したデータであっても、ま
た、任意形状の画像を符号化したデータであっても、そ
のデータから画像を復号可能になる。また、同期信号が
あるのでビデオ・パケットVPの同期外れの問題も解消
する。すなわち、ビデオ・パケットVPは同期信号RM
で始まるパケットであり、それ以前に誤りが存在し、同
期外れが生じた場合でもこの同期信号RMで再同期をす
ることが可能である。これらのことから、伝送時での雑
音に対する耐性の高い、また、任意形状画像符号化の場
合でも従来の長方形画像の符号化と同等の誤り耐性を持
たせることができる動画像符号化技術の復号化技術を提
供できる。
In the decoding process in decoding section 303, the important information obtained in important information forming section 306 is used. When the VOP header currently exists in the VOP (video object plane) currently being decoded by the decoding unit 303, the information is output to the important information obtained by the important information forming unit 306, and the decoding is performed. If there is no VOP header in the VOP, if important information has been inserted into the VP header by HEC, it is output. On the encoding processing side, in addition to important information in normal image encoding as important information, in arbitrary shape image encoding, important information in arbitrary shape image encoding is also included.
Even if the header is partially broken, the part with a healthy header is the data that encodes a normal image, or the data that encodes an image of any shape, Can be decrypted. Further, since there is a synchronization signal, the problem of out-of-synchronization of the video packet VP is also solved. That is, the video packet VP is the synchronization signal RM.
, And it is possible to perform resynchronization with the synchronization signal RM even if an error exists before that and an out of synchronization occurs. From these facts, decoding of a moving picture coding technique which is highly resistant to noise at the time of transmission and which can have the same error resistance as conventional rectangular picture coding even in the case of arbitrary shape picture coding. Technology can be provided.

【0107】通常の画像符号化における重要情報の他、
任意形状画像符号化においてはその任意形状画像符号化
における重要情報もヘッダの情報として持たせて伝送す
ることにより、伝送時での雑音に対する耐性を持たせる
技術であり、受信側ではこの重要情報を如何にして抽出
して復号化部303に渡し、復号化処理に利用できるよ
うにするかが重要である。
In addition to important information in normal image coding,
In the arbitrary shape image coding, the important information in the arbitrary shape image coding is also given as header information and transmitted, thereby giving a resistance to noise at the time of transmission. It is important how to extract and pass it to the decoding unit 303 so that it can be used for the decoding process.

【0108】従って、本実施例の特徴的な点は重要情報
構成部306にある。そこで、重要情報構成部306に
ついて図6を用いて詳細に説明する。
Therefore, the characteristic point of this embodiment lies in the important information forming unit 306. Thus, the important information forming unit 306 will be described in detail with reference to FIG.

【0109】重要情報構成部306は図6に示すよう
に、通常画像関連重要情報構成部307、任意形状符号
化判定部308、切替部309,311、任意形状画像
関連重要情報構成部310とより構成される。
As shown in FIG. 6, the important information forming unit 306 is composed of a normal image related important information forming unit 307, an arbitrary shape coding judging unit 308, switching units 309 and 311, and an arbitrary shape image related important information forming unit 310. Be composed.

【0110】通常画像関連重要情報構成部307は、復
号化部303においてVPヘッダが発見された場合に、
そのVPヘッダの情報中から符号化モード情報、タイム
・レファランス等を復号し、出力するように構成され
る。
When the VP header is found in the decoding unit 303, the normal image-related important information forming unit 307
It is configured to decode and output encoding mode information, time reference, and the like from the information of the VP header.

【0111】任意形状符号化判定部308は、復号化部
303が現在復号処理している画像が任意形状画像か、
または、従来からの長方形画像かを判定する部であっ
て、その判定結果に応じて切替部309,311は切り
替え制御される。切替部309,311は、2部の系統
切り替えスイッチである。
The arbitrary shape encoding determination unit 308 determines whether the image currently being decoded by the decoding unit 303 is an arbitrary shape image.
Alternatively, it is a unit that determines whether the image is a conventional rectangular image, and the switching units 309 and 311 are controlled to be switched according to the determination result. The switching units 309 and 311 are two system switching switches.

【0112】任意形状画像関連重要情報構成部310は
任意形状画像に関する重要情報(例えば、画像サイズ、
画像位置等)を復号する部であり、任意形状画像の場合
は切替部309,311が当該任意形状画像関連重要情
報構成部310に接続されるように切り替えられ、任意
形状画像に関する重要情報が再構成されて、通常画像関
連重要情報構成部307による通常画像に関連する重要
情報の他に任意形状画像に関する重要情報をも復号化部
303に与えて、復号化部303での任意形状画像に関
する復号化も可能にしている。
The arbitrarily-shaped image-related important information constructing unit 310 stores important information (for example, image size,
And the like. In the case of an arbitrary-shaped image, the switching units 309 and 311 are switched so as to be connected to the arbitrary-shaped image-related important information forming unit 310, and important information on the arbitrary-shaped image is reproduced. The important information related to the normal image and the important information related to the arbitrary shape image are also given to the decoding unit 303 by the normal image related important information forming unit 307, and the decoding unit 303 decodes the arbitrary shape image. Is also possible.

【0113】このような構成の重要情報構成部306に
おいては、復号化部303において入力ビット列にVP
ヘッダが発見された場合は、まず通常画像関連重要情報
構成部307が符号化モード情報、タイム・レファラン
ス等を復号する。
In important information forming section 306 having such a structure, decoding section 303 adds VP to the input bit string.
When the header is found, first, the normal image-related important information forming unit 307 decodes the encoding mode information, the time reference, and the like.

【0114】また、任意形状符号化判定部308は復号
化部303において現在復号処理されている画像が、任
意形状画像かまたは従来からの長方形画像かを判定し、
この判定結果に応じた制御信号を発生する。
Further, the arbitrary shape encoding determining unit 308 determines whether the image currently decoded by the decoding unit 303 is an arbitrary shape image or a conventional rectangular image.
A control signal is generated according to the determination result.

【0115】任意形状符号化判定部308からの制御信
号により切替部309,311は制御される。このと
き、任意形状画像の場合は任意形状画像関連重要情報構
成部310が任意形状画像に関する重要情報(例えば、
画像サイズ、画像位置等)を復号し、最終的な重要情報
343を作成し、重要情報構成部306の出力として復
号化部303に与える。これによって、ヘッダに拡張ヘ
ッダを設けてこの拡張ヘッダに任意形状画像に関する重
要情報を埋め込んでおけば、復号側でもこれを抽出して
任意形状画像の復号に必要な重要情報を復号化部303
に与えることができる。
The switching units 309 and 311 are controlled by a control signal from the arbitrary shape encoding determination unit 308. At this time, in the case of an arbitrary-shaped image, the arbitrary-shaped image-related important information forming unit 310 outputs important information (for example,
The important information 343 is finally created and given to the decoding unit 303 as an output of the important information forming unit 306. Thereby, if an extension header is provided in the header and important information relating to the arbitrary shape image is embedded in the extension header, the decoding side extracts the important information and decodes the important information necessary for decoding the arbitrary shape image into the decoding unit 303.
Can be given to.

【0116】以上、本実施形態によれば、任意形状画像
符号化の場合でも従来の長方形画像の符号化と同等の誤
り耐性を持たせることが可能となる。
As described above, according to the present embodiment, even in the case of encoding an arbitrary-shaped image, it is possible to provide the same error resistance as the encoding of a conventional rectangular image.

【0117】第1の実施形態およびこれから説明する第
2の実施形態において、任意形状画像の符号化では“画
像のサイズ”、“位置情報”を記述する必要がある。こ
れらの情報はMPEG−4の場合、それぞれは13ビッ
トずつで表現されることになり、“画像のサイズ”、
“位置情報”それぞれ縦横の情報が必要であることから
計4つの情報が必要で、その必要ビット数は4×13=
52の計52ビットが必要になる。これは低ビットレー
トでの伝送の場合には大きな冗長となる可能性がある。
そこで、できるだけこのデータを圧縮して伝送すること
とする。以下、その方法について説明する。
In the first embodiment and the second embodiment which will be described hereinafter, it is necessary to describe “image size” and “position information” in encoding an arbitrary-shaped image. In the case of MPEG-4, these pieces of information are each represented by 13 bits, and include “image size”,
Since “position information” requires vertical and horizontal information, a total of four pieces of information are required, and the required number of bits is 4 × 13 =
A total of 52 bits of 52 are required. This can be a great deal of redundancy for transmission at low bit rates.
Therefore, this data is compressed and transmitted as much as possible. Hereinafter, the method will be described.

【0118】ビデオ・オブジェクト・プレーンVOPの
サイズ等はMPEG−4では13ビットで表現される
が、13ビット全てを使用しないケースも多々ある。そ
こで、サイズの表現を可変長にし符号量を減少する方法
を考える。
The size of the video object plane VOP is represented by 13 bits in MPEG-4, but there are many cases where all 13 bits are not used. Therefore, a method of reducing the code amount by changing the size expression to a variable length is considered.

【0119】基本的な方針は、ここでは“符号語長”+
“値”の組で表現するものとする。図7に示すように符
号長を表すヘッダ部とそれに続くデータ部との組合せに
する。すなわち、ヘッダ“header1”とヘッダ“header
2”があり、前者は1ビット構成、後者は3ビット構成
を採る。値1から値542までの範囲で採用し、値
“1”と値“2”は符号語長を5ビット構成とし、値
“3”から値“6”までは符号語長を6ビット構成と
し、値“7”から値“14”までは符号語長を7ビット
構成とする。値“15”から値“30”までは符号語長
を8ビット構成とし、値31から値94までは符号語長
を9ビット構成とし、値“95”から値“158”まで
は符号語長を10ビット構成とする。値“159”から
値“286”までは符号語長を11ビット構成とし、値
“287”から値“542”までは符号語長を12ビッ
ト構成とする。値“543”から値“8222”までは
ヘッダ“header1”とヘッダ“header2”を前者は1ビ
ット構成、後者は2ビット構成とし、値“543”から
値“1054”までは符号語長を12ビット構成とし、
値“1055”から値“2078”までは符号語長を1
3ビット構成とし、値“2029”から値“4126”
までは符号語長を14ビット構成とし、値“4127”
から値“8222”までは符号語長を15ビット構成と
する。
The basic policy here is “codeword length” +
It shall be expressed as a set of “value”. As shown in FIG. 7, a combination of a header part representing a code length and a data part following the header part is used. That is, the header “header1” and the header “header
2), the former has a 1-bit configuration, and the latter has a 3-bit configuration.It is adopted in a range from a value 1 to a value 542. The code word length has a 6-bit configuration from the value “3” to the value “6”, and the code word length has a 7-bit configuration from the value “7” to the value “14.” The value “15” to the value “30” , The code word length has an 8-bit configuration, the code word length has a 9-bit configuration from values 31 to 94, and the code word length has a 10-bit configuration from the values “95” to “158”. The code word length is 11 bits from 159 to 286 and the code word length is 12 bits from 287 to 542. The value from 543 to 8222 is The header “header1” and the header “header2” have a 1-bit configuration, and the latter has a 2-bit configuration. And, from the value "543" value until "1054" codeword length of 12 bits,
The codeword length is 1 from the value “1055” to the value “2078”.
It has a 3-bit configuration, and the value “2029” to the value “4126”
Up to a code word length of 14 bits and a value of "4127"
To a value “8222”, the code word length is 15 bits.

【0120】こうすることで、語長は13ビット固定が
数値により5ビットから15ビットまでの可変長にな
る。この結果、ヘッダを含めても最大18ビットで済む
ことになり、従来の52ビットに比べると34ビットも
構成ビット数が少なくて済む。
In this way, the word length is fixed at 13 bits, but becomes variable from 5 bits to 15 bits depending on the numerical value. As a result, a maximum of 18 bits is required even if the header is included, and the number of constituent bits of 34 bits can be reduced as compared with the conventional 52 bits.

【0121】小さい画像の場合は低ビットレートで符号
化されることを要求することが一般的に多く、大きい画
像は符号化したビット列も大きなサイズになることか
ら、ビットレートに余裕がある場合が多いと思われる。
その意味でも、可変長にして小さいサイズに短い符号を
有り当てることには効果がある。
In the case of a small image, it is generally required to be coded at a low bit rate, and in the case of a large image, the coded bit string also has a large size. It seems that there are many.
In this sense, it is effective to assign a short code to a variable size with a small size.

【0122】例えば、プレゼンテーション・レイヤ“ P
resentation Layer”がQCIF(176画素×144
画素)の画像の場合、VW,VHは最大で 11[bit] × 2 =22[bit] 位置情報(VHMSR,VVMSR)に関しても最大 11[bit] × 2 = 22[bit] 従って、両者の合計44[bit]で、8[bit]分が圧
縮可能となる。
For example, the presentation layer “P
resentation layer "is QCIF (176 pixels x 144
In the case of an image of (pixel), VW and VH are 11 [bit] × 2 = 22 [bit] at the maximum, and 11 [bit] × 2 = 22 [bit] at the maximum for the positional information (VHMSR, VVMSR). With 44 bits, 8 bits can be compressed.

【0123】その他、図8のような画像構成の場合で
は、 VW=128画素=10 [bit], VH=80画素=9 [bit], VHMSR=32画素=9 [bit], VVMSR=20画素=8 [bit] で合計 10+9+8+9=36 [bit] になり、16 [bit]の削減となる。
In addition, in the case of the image configuration as shown in FIG. 8, VW = 128 pixels = 10 [bit], VH = 80 pixels = 9 [bit], VHMSR = 32 pixels = 9 [bit], VVMSR = 20 pixels = 8 [bits], a total of 10 + 9 + 8 + 9 = 36 [bits], resulting in a reduction of 16 [bits].

【0124】本変形例の基本構成図を図9に示す。図9
において、1001は可変長符号化部、1002は可変
長符号生成部であり、可変長符号生成部1002はサイ
ズ情報を受けて、これを符号語に変換するものである。
また、可変長符号化部1001は入力された重要情報1
031からサイズ情報を読み出し、そのサイズの情報1
032を可変長符号生成部1002に送ると共に、可変
長符号生成部1002から得られる符号語1033を符
号語1034として出力する。
FIG. 9 shows a basic configuration diagram of this modification. FIG.
In the figure, 1001 is a variable length coding unit, 1002 is a variable length code generation unit, and the variable length code generation unit 1002 receives size information and converts it into a code word.
Also, the variable-length encoding unit 1001 receives the input important information 1
031, and reads the size information 1
032 is sent to the variable-length code generator 1002, and the codeword 1033 obtained from the variable-length code generator 1002 is output as a codeword 1034.

【0125】このような構成において、重要情報103
1を入力すると、当該重要情報1031は可変長符号化
部1001に入力される。可変長符号化部1001では
当該入力された重要情報1031からサイズ情報を読み
出し、サイズ情報1032を可変長符号生成部1002
に送り、符号語1033を生成する。
In such a configuration, important information 103
When 1 is input, the important information 1031 is input to the variable length coding unit 1001. The variable length coding unit 1001 reads the size information from the input important information 1031 and converts the size information 1032 into the variable length code generation unit 1002.
To generate a codeword 1033.

【0126】可変長符号化部1001では可変長符号生
成部1002から得られた符号語1033にサイズ情報
を変換してなる符号語1034を出力することになる。
The variable length coding unit 1001 outputs a code word 1034 obtained by converting the size information into the code word 1033 obtained from the variable length code generation unit 1002.

【0127】本実施形態はMPEG−4について述べて
いるが、MPEG−4以外の任意形状符号化の伝送に関
しても同様の情報を付加することで、誤り耐性を向上す
ることが可能である。
Although the present embodiment has described MPEG-4, error resilience can be improved by adding the same information to transmission of arbitrary shape encoding other than MPEG-4.

【0128】次に、別の実施例を第2の実施形態として
説明する。
Next, another example will be described as a second embodiment.

【0129】図10は本発明の第2の実施形態に係る動
画像符号化装置の基本構成図である。図10に示す動画
像符号化装置よると、符号化部601の出力が、ビット
列分割部602および重要情報構成部603に接続され
る。重要情報構成部603の出力はパケットヘッダ生成
部604に接続される。ビット列分割部602およびパ
ケットヘッダ生成部の出力はパケット構成部605に接
続される。パケット構成部605の出力は伝送路106
に接続される。
FIG. 10 is a basic block diagram of a moving picture coding apparatus according to the second embodiment of the present invention. According to the moving picture coding apparatus shown in FIG. 10, the output of coding section 601 is connected to bit string dividing section 602 and important information forming section 603. The output of the important information forming unit 603 is connected to the packet header generating unit 604. Outputs of the bit string division unit 602 and the packet header generation unit are connected to the packet configuration unit 605. The output of the packet configuration unit 605 is
Connected to.

【0130】符号化部601は、入力された画像信号1
31を符号化してビット列分割部602に出力し、ま
た、符号化した際の符号化情報634を重要情報構成部
603に出力するよう構成される。
The encoding section 601 converts the input image signal 1
31 is encoded and output to the bit string division unit 602, and encoded information 634 at the time of encoding is output to the important information configuration unit 603.

【0131】また、重要情報構成部603は符号化部6
01で符号化した際の符号化情報634を受けて復号に
必要な重要情報635だけを選択して出力する部であ
る。特に、通常画像関連重要情報の他に、MPEG−4
における任意形状の画像符号化・復号化に必要な情報、
例えば、任意形状の画像符号化では画像サイズの幅VW
の情報と高さVHの情報および復号した画像を表示する
位置を示すための画像位置のx座標VHMSRの情報、
y座標VVMSRの情報、そして、形状情報の符号化モ
ードを示すVOPシェープ・コーディング・タイプ“vo
p_shape_coding_type(VSCT)”や、形状情報のサ
イズを変換してから符号化するかどうかを示すフラグで
あるchange_conv_ratio_disable(CCR D)などの任
意形状画像関連重要情報を重要情報635として取得さ
れる。これら重要情報635が、パケットヘッダ生成部
604に与えられ、通常画像関連重要情報についてはパ
ケットヘッダに通常に反映させ、任意形状画像関連重要
情報についてはパケットヘッダに新たに設けた拡張ヘッ
ダ中に、決められたフォーマットで反映させた本発明独
自の形式でパケットヘッダを生成させる。
Further, the important information forming unit 603 includes the encoding unit 6
This is a unit that receives the encoded information 634 obtained by encoding at 01, and selects and outputs only important information 635 necessary for decoding. In particular, in addition to important information related to normal images, MPEG-4
Information necessary for encoding / decoding images of arbitrary shapes in
For example, in image coding of an arbitrary shape, the width VW of the image size
, The information of the height VH, and the information of the x coordinate VHMSR of the image position for indicating the position to display the decoded image,
The VOP shape coding type “vo” indicating the information of the y coordinate VVMSR and the encoding mode of the shape information
Important information related to an arbitrary shape image such as "p_shape_coding_type (VSCT)" and change_conv_ratio_disable (CCRD) which is a flag indicating whether or not encoding is performed after converting the size of the shape information is acquired as important information 635. The information 635 is provided to the packet header generation unit 604. The normal image-related important information is normally reflected in the packet header, and the arbitrary shape image-related important information is determined in a newly provided extension header in the packet header. The packet header is generated in a format unique to the present invention, which is reflected in the format described in the present invention.

【0132】このように、パケットヘッダ生成部604
は、重要情報635をパケットヘッダ内に組み込んでパ
ケットヘッダ636としてパケット構成部605に出力
し、ビット列分割部602は、符号化部601から出力
されたビット列632をパケットサイズに分割して出力
するように構成される。
As described above, the packet header generator 604
Incorporates the important information 635 into the packet header and outputs the packet information to the packet configuration unit 605 as the packet header 636. The bit sequence division unit 602 divides the bit sequence 632 output from the encoding unit 601 into a packet size and outputs it. It is composed of

【0133】パケット構成部605は、ビット列分割部
602から出力された分割ビット列633とパケットヘ
ッダ生成部604から出力されたパケットヘッダ636
を多重し、得られた多重データ637を伝送路/蓄積媒
体106に出力するように構成される。
The packet configuration section 605 includes a divided bit string 633 output from the bit string division section 602 and a packet header 636 output from the packet header generation section 604.
And multiplexed data 637 is output to the transmission path / storage medium 106.

【0134】このような構成において、入力された動画
像の画像信号131は符号化部601で符号化される。
このとき、符号化部601からは符号化した際の符号化
情報634が出力され重要情報構成部603に入力され
る。重要情報構成部603は、入力された符号化情報6
34から復号に必要な重要情報635だけを選択し、出
力する。重要情報635はパケットヘッダ生成部604
において、パケットヘッダ内に組み込まれパケットヘッ
ダ636として出力される。
In such a configuration, the input image signal 131 of the moving image is encoded by the encoding section 601.
At this time, encoded information 634 at the time of encoding is output from the encoding unit 601 and input to the important information configuration unit 603. The important information forming unit 603 stores the input encoded information 6
Only important information 635 necessary for decryption is selected from 34 and output. The important information 635 is stored in the packet header generation unit 604.
In, the packet is embedded in the packet header and output as the packet header 636.

【0135】一方、ビット列分割部602では、符号化
部601から出力されたビット列632をパケットサイ
ズに分割して出力する。パケット構成部605では、ビ
ット列分割部602から出力された分割ビッ ト列63
3とパケットヘッダ生成部604から出力されたパケッ
トヘッダ636を多重し、多重データ637を伝送路/
蓄積媒体106に出力する。
On the other hand, the bit string dividing section 602 divides the bit string 632 output from the encoding section 601 into a packet size and outputs it. Packet forming section 605 outputs divided bit string 63 output from bit string dividing section 602.
3 and the packet header 636 output from the packet header generation unit 604, and multiplex data 637
Output to the storage medium 106.

【0136】このように、本実施例では、動画像を符号
化して得たビット列に、重要情報構成部602から出力
された重要情報635を決められたフォーマットでパケ
ットヘッダ生成部604によりヘッダに挿入し、これを
動画像の符号化データに付加してパケット化し、伝送す
るようにしたものである。
As described above, in the present embodiment, the important information 635 output from the important information forming unit 602 is inserted into the header by the packet header generating unit 604 in a determined format in the bit string obtained by encoding the moving image. Then, this is added to the encoded data of the moving image, packetized, and transmitted.

【0137】パケットヘッダには拡張ヘッダが設けられ
ており、この拡張ヘッダには通常画像関連重要情報以外
の重要情報を格納して送るのに使用される部分である。
An extension header is provided in the packet header, and this extension header is a portion used for storing and transmitting important information other than the image-related important information.

【0138】そのため、通常画像関連重要情報以外の重
要情報として、MPEG−4における任意形状の画像符
号化・復号化に必要な情報、例えば、任意形状の画像符
号化では画像サイズの幅VWの情報と高さVHの情報お
よび復号した画像を表示する位置を示すための画像位置
のx座標VHMSRの情報、y座標VVMSRの情報、
そして、形状情報の符号化モードを示すVOPシェープ
・コーディング・タイプ“vop_shape_coding_type(V
SCT)”や、形状情報のサイズを変換してから符号化
するかどうかを示すフラグであるchange_conv_ratio_di
sable(CCRD)などを重要情報635として得て、
これを決められたフォーマットでパケットヘッダ生成部
604により拡張ヘッダとしてパケットヘッダに挿入さ
れる。復号部はこのパケットの拡張ヘッダから取り出し
た情報を利用して復号化処理を行うように構成される
と、パケット毎に任意形状の画像を再生できるようにな
り、任意形状画像符号化の場合でも従来の長方形画像の
符号化と同等の誤り耐性を持たせることができるように
なって、VOPヘッダや一部のVPが壊れていても動画
像の復号化が可能になる。
Therefore, as important information other than the normal image-related important information, information necessary for encoding / decoding an image of an arbitrary shape in MPEG-4, for example, information of a width VW of an image size in image encoding of an arbitrary shape. And information on the height VH and information on the x-coordinate VHMSR, information on the y-coordinate VVMSR of the image position for indicating the position to display the decoded image,
Then, the VOP shape coding type “vop_shape_coding_type (V
SCT) "or change_conv_ratio_di which is a flag indicating whether or not encoding is performed after converting the size of the shape information.
sable (CCRD) etc. is obtained as important information 635,
This is inserted into the packet header as an extension header by the packet header generation unit 604 in a predetermined format. If the decoding unit is configured to perform decoding processing using information extracted from the extension header of this packet, an image of an arbitrary shape can be reproduced for each packet, and even in the case of encoding an arbitrary shape image, The same error resistance as that of the conventional rectangular image encoding can be provided, and even if the VOP header or a part of the VP is broken, the moving image can be decoded.

【0139】このように、本システムは、任意形状画像
符号化の場合でも従来の長方形画像の符号化と同等の誤
り耐性を持たせることができるが、上記の構成において
本発明の重要な構成である重要情報構成部603を図1
1を参照して詳細に説明する。
As described above, the present system can provide the same error resistance as the conventional rectangular image encoding even in the case of encoding an arbitrary-shaped image. A certain important information configuration unit 603 is shown in FIG.
This will be described in detail with reference to FIG.

【0140】図11に重要情報構成部603のブロック
図を示す。重要情報構成部603はこの実施形態での重
要なポイントであり、図11に示すように、重要情報構
成部603は、切替部2201と、拡張ヘッダ挿入判定
部2202と、任意形状画像関連重要情報構成部220
3とより構成される。
FIG. 11 is a block diagram of the important information forming unit 603. The important information forming unit 603 is an important point in this embodiment. As shown in FIG. 11, the important information forming unit 603 includes a switching unit 2201, an extended header insertion determining unit 2202, and arbitrary shape image related important information. Configuration unit 220
And 3.

【0141】拡張ヘッダ挿入判定部2202は、拡張ヘ
ッダをパケットヘッダに付加するかどうかの判定を行う
部であり、符号化部601から入力された符号化情報6
34から符号化部601が任意形状の画像符号化を実施
しているか否かを判断して任意形状の画像符号化を実施
している場合に拡張ヘッダをパケットヘッダに付加す
る。
The extension header insertion determination section 2202 determines whether or not to add an extension header to a packet header.
From 34, it is determined whether or not the encoding unit 601 is performing image coding of an arbitrary shape. If the image coding of arbitrary shape is being performed, an extension header is added to the packet header.

【0142】切替部2201は、部開閉スイッチであっ
て、拡張ヘッダ挿入判定部2202が拡張ヘッダをパケ
ットヘッダに付加すると判断した場合に、当該拡張ヘッ
ダ挿入判定部2202から出力される制御信号により切
替部2201は、部が閉じられて符号化部601からの
符号化情報634が任意形状画像関連重要情報構成部2
203に与えられる。
The switching section 2201 is a section open / close switch. When the extension header insertion determination section 2202 determines that an extension header is to be added to a packet header, the switching section 2201 switches according to a control signal output from the extension header insertion determination section 2202. The unit 2201 is closed, and the encoded information 634 from the encoding unit 601 is used to
203.

【0143】任意形状画像関連重要情報構成部2203
は切替部2201を介して入力される符号化情報634
を入力符号化情報2233として受けて、これより任意
形状符号化に関連するVOPヘッダ情報を選択し、重要
情報635として出力するよう構成される。
Arbitrary Shape Image-Related Important Information Composition Unit 2203
Represents encoded information 634 input via the switching unit 2201
Is received as input encoded information 2233, and VOP header information related to arbitrary shape encoding is selected from the received encoded information and output as important information 635.

【0144】このような構成において、符号化部601
から重要情報構成部603に入力された符号化情報63
4は拡張ヘッダ挿入判定部2202により拡張ヘッダを
パケットヘッダに付加するかどうかの判定を行う。付加
すると判定された場合、切替部2201から任意形状画
像関連重要情報構成部2203に入力符号化情報223
3が入力される。任意形状画像関連重要情報構成部22
03では入力符号化情報2233から任意形状符号化に
関連するVOPヘッダ情報を選択し、重要情報635を
出力する。
In such a configuration, encoding section 601
Information 63 input to important information forming section 603 from
In step 4, the extension header insertion determination unit 2202 determines whether to add the extension header to the packet header. If it is determined to add the input encoded information 223 from the switching unit 2201 to the arbitrary shape image related important information forming unit 2203.
3 is input. Arbitrary shape image-related important information forming unit 22
In step 03, VOP header information related to arbitrary shape encoding is selected from the input encoding information 2233, and important information 635 is output.

【0145】以下にパケットヘッダへの重要情報の組み
込みに関し詳細に述べる。
The following describes in detail how important information is incorporated into the packet header.

【0146】任意形状画像の符号化の際、長方形画像の
符号化に比べて、画像の幅(VW)、高さ(VH)、画
像を配置するX座標(VHMSR)、Y座標(VVMS
R)、形状情報を縮小変換して符号化しているかどうか
を示すフラグ(CCRD)、形状情報の符号化モード
(VSCT)が必要になる。この他、アルファ・ブレン
ディングの際のアルファ値を一定に設定するためのフラ
グ(VCA)および値(VCAV)、計算精度を符号化/復
号化で同じにするた めの丸め演算のやり方を示すフラ
グ(VRT)などの情報も含めることも可能であるが、
ここでは前者のVW、VH、VHMSR、VVMSR、
CCRD、VSCTを組み込むこととする。その際のパ
ケットヘッダ拡張部分のフォーマットを、図12に示
す。ここで上の数字はビット数を表し、横1列で32ビ
ット分を表すようになっている。MPEG−4の場合、
VW、VH、VHMSR、VVMSRは各13ビットで
表現され、残りのCCED、VSCTは各1ビットであ
る。
When encoding an arbitrary-shaped image, the width (VW), height (VH), X-coordinate (VHMSR), and Y-coordinate (VVMS) of the image are compared with those of the rectangular image.
R), a flag (CCRD) indicating whether or not the shape information is reduced and converted and encoded, and an encoding mode (VSCT) for the shape information are required. In addition, a flag (VCA) and a value (VCAV) for setting the alpha value at the time of alpha blending constant, and a flag indicating a rounding operation method for making the calculation accuracy the same in encoding / decoding. (VRT) and other information can be included,
Here, the former VW, VH, VHMSR, VVMSR,
CCRD and VSCT shall be incorporated. FIG. 12 shows the format of the packet header extension at that time. Here, the upper numeral represents the number of bits, and one horizontal row represents 32 bits. In the case of MPEG-4,
VW, VH, VHMSR and VVMSR are represented by 13 bits each, and the remaining CCED and VSCT are each 1 bit.

【0147】ここでは、例として32ビットにアライン
するために、最後にリザーブ“Reserve”のビット(R
V)を挿入している。VW、VHなどが連続することで
同期信号などのビット列と同じものが出現する可能性が
ある場合には、例えば、図13のように、マーカ(M)
を各値の間に挿入し、同期信号のような絶対に他に出て
きてはならないビット列に一致しないようにすることも
可能である。また、マーカMの位置は、各情報の間であ
る必要もなく、送信側/受信側で同一の規則になってい
れば、どこに埋め込んでもかまわない。
Here, as an example, in order to align to 32 bits, finally, the bit of the reserve “Reserve” (R
V) is inserted. If there is a possibility that the same bit string as the synchronization signal may appear due to the continuation of VW, VH, etc., for example, as shown in FIG.
Can be inserted between the values so as not to match a bit string that must never appear elsewhere, such as a synchronization signal. The position of the marker M does not need to be between the pieces of information, and may be embedded anywhere as long as the same rules are set on the transmitting side / receiving side.

【0148】最後に、拡張ヘッダがあることを示すフラ
グを通常のヘッダ情報の中に埋め込む必要がある。そこ
で、1ビットの情報で、通常ヘッダ内に拡張ヘッダが存
在するかどうかの情報を埋め込むことになる。これらの
フォーマットは例であり、この一部のデータだけでヘッ
ダ情報を構成したり、これ以外の情報と組合せて用いる
ことも可能である。
Finally, it is necessary to embed a flag indicating that an extension header is present in ordinary header information. Therefore, information of whether or not the extension header exists in the normal header is embedded with 1-bit information. These formats are examples, and it is also possible to form header information only with a part of this data or to use it in combination with other information.

【0149】以上のようにして、本実施形態では、動画
像を符号化してパケット化する場合に、通常画像関連重
要情報を埋め込むパケットヘッダに拡張ヘッダを付加で
きるようにし、任意形状画像を符号化して送る場合に、
その任意形状画像関連重要情報を拡張ヘッダに埋め込ん
でパケットヘッダとしてデータに付加し、パケット化す
るようにしている。従って、パケット毎に任意形状の画
像を再生できるようになり、また、任意形状画像符号化
の場合でも従来の長方形画像の符号化と同等の誤り耐性
を持たせることができ、VOPヘッダや一部のVPが壊
れていても動画像の復号化が可能になる。
As described above, in the present embodiment, when a moving image is encoded and packetized, an extended header can be added to a packet header in which important information related to normal images is embedded, and an arbitrary-shaped image is encoded. If you send
The arbitrarily-shaped image-related important information is embedded in an extension header, added to data as a packet header, and packetized. Therefore, an image of an arbitrary shape can be reproduced for each packet, and even in the case of encoding an arbitrary shape image, the same error resistance as that of the conventional rectangular image encoding can be provided. Can be decoded even if the VP is broken.

【0150】次に、このようなパケットの復号をする復
号部の例を説明する。
Next, an example of a decoding unit for decoding such a packet will be described.

【0151】復号部の構成例について、以下に説明をす
る。図14に示す復号部によると、符号化ビットストリ
ームを受ける分離部702の出力は、復号化部703お
よび重要情報構成部705に接続される。復号化部70
3の出力は、エラーチェック部704を介して重要情報
構成部705に接続される。重要情報構成部705の出
力は復号化部703に接続される。
An example of the configuration of the decoding unit will be described below. According to the decoding unit shown in FIG. 14, the output of the separation unit 702 that receives the coded bit stream is connected to the decoding unit 703 and the important information configuration unit 705. Decoding unit 70
The output of No. 3 is connected to the important information forming unit 705 via the error checking unit 704. The output of the important information forming unit 705 is connected to the decoding unit 703.

【0152】分離部702は伝送路/蓄積媒体106か
ら入力されるビット列731を分離処理して画像用のビ
ット列732とパケットヘッダ735、そして、それ以
外のデータとに分けるためのものである。
The separating section 702 separates the bit string 731 input from the transmission path / storage medium 106 into a bit string 732 for an image, a packet header 735, and other data.

【0153】また、復号化部703は、分離された画像
用ビット列732を重要情報構成部705からの重要情
報を用いて復号化処理し、元の画像データを得る部であ
り、エラーチェック部704は、復号化部703にて得
られる復号情報733から復号中に誤りが発生していな
いかどうかをチェックするための部である。
The decoding section 703 decodes the separated image bit string 732 using the important information from the important information forming section 705 to obtain the original image data. The error checking section 704 Is a unit for checking whether or not an error has occurred during decoding from the decoding information 733 obtained by the decoding unit 703.

【0154】また、重要情報構成部705は、分離部7
02で分離処理されたうちのパケットヘッダ735の情
報から重要情報を構成して復号化部703に与えるよう
に構成される。
The important information forming unit 705 includes the separating unit 7
The important information is configured from the information of the packet header 735 that has been subjected to the separation processing in step 02 and is supplied to the decoding unit 703.

【0155】このような構成において、伝送路/蓄積媒
体106から入力されたビット列731は、分離部70
2により画像用のビット列732とパケットヘッダ73
5、そして、それ以外のデータとに分離される。その他
のデータは、夫々に対応した復号部に送られる。分離さ
れた画像用ビット列732は復号化部703に入力さ
れ、復号化が行われる。復号化部703における復号化
処理は、分離された画像用ビット列732について重要
情報構成部705からの重要情報を用いて行う。
In such a configuration, the bit string 731 input from the transmission path / storage medium 106 is
2, the image bit string 732 and the packet header 73
5, and separated into other data. Other data is sent to the corresponding decoding units. The separated image bit string 732 is input to the decoding unit 703, and is decoded. The decoding process in the decoding unit 703 is performed on the separated image bit string 732 using the important information from the important information forming unit 705.

【0156】エラーチェック部704は、復号化部70
3からの復号情報733から復号中に誤りが発生してい
ないかどうかをチェックする。チェックの結果、誤りが
ありと判定された場合、重要情報構成部705はパケッ
トヘッダ735内に存在する重要情報736を構成し、
復号化部703は重要情報736を用いて符号化ビット
列の復号を開始する。
The error checking section 704 is
It is checked from the decoding information 733 from 3 whether an error has occurred during decoding. As a result of the check, when it is determined that there is an error, the important information forming unit 705 forms the important information 736 existing in the packet header 735,
The decoding unit 703 starts decoding the coded bit sequence using the important information 736.

【0157】本システムでは、動画像を符号化してパケ
ット化する場合に、通常画像関連重要情報を埋め込むパ
ケットヘッダに拡張ヘッダが付加できる。また、任意形
状画像を符号化して送る場合に、その任意形状画像関連
重要情報を拡張ヘッダに埋め込んだパケットヘッダがデ
ータに付加される。この用にして、動画像が、パケット
化されているので、拡張ヘッダより任意形状画像関連重
要情報を取得でき、任意形状画像を復号できる。
In this system, when a moving image is encoded and packetized, an extension header can be added to a packet header in which important information related to normal images is embedded. When an arbitrary-shaped image is encoded and transmitted, a packet header in which the arbitrary-shaped image-related important information is embedded in an extension header is added to the data. For this purpose, since the moving image is packetized, important information relating to the arbitrary shape image can be obtained from the extension header, and the arbitrary shape image can be decoded.

【0158】本実施形態において重要な要素である重要
情報構成部705を図15を参照して詳細を説明する。
The important information constituting unit 705, which is an important element in the present embodiment, will be described in detail with reference to FIG.

【0159】図15に示すように、重要情報構成部70
5は、切替部2301と、拡張ヘッダ挿入判定部230
2と、任意形状画像関連重要情報復号部2303とより
構成される。
As shown in FIG. 15, the important information forming unit 70
5 is a switching unit 2301 and an extension header insertion determination unit 230
2 and an arbitrary shape image related important information decoding unit 2303.

【0160】拡張ヘッダ挿入判定部2302は、拡張ヘ
ッダがパケットヘッダに付加されているかどうかの判定
を行う部であり、分離部702から入力されたパケット
ヘッダ735の情報から画像用ビット列732が任意形
状の画像符号化を実施しているか否かを判断して任意形
状の画像符号化を実施している場合に拡張ヘッダをパケ
ットヘッダに付加していると判断し、判断に対応する制
御信号を出力するよう構成されている。
The extension header insertion determination section 2302 determines whether or not the extension header has been added to the packet header. The information bit string 732 for the image from the packet header 735 input from the separation section 702 has an arbitrary shape. Judge whether or not the image encoding is performed, determine that the extension header is added to the packet header when the image encoding of an arbitrary shape is performed, and output a control signal corresponding to the judgment. It is configured to be.

【0161】切替部2301は、部開閉スイッチであっ
て、拡張ヘッダ挿入判定部2302が拡張ヘッダをパケ
ットヘッダに付加していると判断した場合に、当該拡張
ヘッダ挿入判定部2302から出力される制御信号によ
り切替部2301は、部が閉じられて分離部702から
のパケットヘッダ735の情報を任意形状画像関連重要
情報復号部2303に与えられる。
The switching section 2301 is a section open / close switch. When the extended header insertion determining section 2302 determines that the extended header is added to the packet header, the control output from the extended header insertion determining section 2302 is performed. The switching unit 2301 is closed by a signal, and the information of the packet header 735 from the separation unit 702 is given to the arbitrary-shaped image-related important information decoding unit 2303.

【0162】任意形状画像関連重要情報復号部2303
は切替部2301を介して入力されるパケットヘッダ7
35の情報を入力情報2333として受けて、これより
任意形状符号化に関連する情報を復元し、重要情報63
6として出力するように構成される。
Arbitrary shape image related important information decoding section 2303
Is the packet header 7 input via the switching unit 2301
35 is received as input information 2333, and information related to arbitrary shape encoding is restored from this information.
6 is output.

【0163】このような構成の重要情報構成部705の
作用を説明する。入力されたパケットヘッダ735は拡
張ヘッダ挿入判定部2302において、パケットヘッダ
情報に拡張ヘッダが付加されているかどうかをパケット
ヘッダ情報を復号することで判定する。その結果、拡張
ヘッダがあると判定された場合、拡張ヘッダ挿入判定部
2302は切替部2301を閉じるべく制御することに
より、パケットヘッダ735を通し、これをパケットヘ
ッダ情報2333として任意形状画像関連重要情報復号
部2303に入力する。
The operation of the important information forming unit 705 having such a configuration will be described. In the input packet header 735, the extension header insertion determination unit 2302 determines whether or not an extension header is added to the packet header information by decoding the packet header information. As a result, when it is determined that there is an extension header, the extension header insertion determination unit 2302 controls the switching unit 2301 to close so as to pass through the packet header 735 and use the packet header information 2333 as important information relating to the arbitrary shape image. The data is input to the decoding unit 2303.

【0164】任意形状画像関連重要情報復号部2303
はパケットヘッダ情報2333を元にして任意形状の符
号化に関する重要情報を復号し、それを重要情報736
として出力し、復号化部703へ与えることになる。
Arbitrary Shape Image-Related Important Information Decoding Unit 2303
Decodes important information relating to encoding of an arbitrary shape based on the packet header information 2333, and converts it into important information 736.
And outputs the result to the decoding unit 703.

【0165】このようにして、任意形状画像関連の重要
情報を埋め込むことができるように設けた拡張ヘッダ中
の情報から、任意形状画像関連の重要情報を復号するこ
とができるようになる。
In this way, it is possible to decode important information relating to an arbitrary shape image from information in an extension header provided so that important information relating to an arbitrary shape image can be embedded.

【0166】以上、本第2の実施形態の技術を用いるこ
とで、第1の実施形態と同様に任意形状画像符号化の場
合でも従来の長方形画像の符号化と同等の誤り耐性を有
することが可能となる。さらに、伝送路のプロトコルの
拡張ヘッダを用いることにより、画像符号化に関しては
ビット列を変更することなく実装できる。これは、既存
の標準方式等を利用する際に有効である。
As described above, by using the technique of the second embodiment, even in the case of encoding an arbitrary-shaped image, similar to the first embodiment, it is possible to have the same error resistance as the encoding of the conventional rectangular image. It becomes possible. Further, by using the extension header of the protocol of the transmission path, the image encoding can be implemented without changing the bit sequence. This is effective when using an existing standard method or the like.

【0167】第1の実施形態の変形例と同様にVW,V
H,VHMSR,VVMSRを可変長符号化にすること
により符号量を削減することが可能である。
As in the modification of the first embodiment, VW, V
By using H, VHMSR, and VVMSR as variable-length coding, the code amount can be reduced.

【0168】なお、本実施形態はMPEG−4について
述べているが、MPEG−4以外の任意形状画像符号化
の伝送に関しても同様の情報を付加することで、誤り耐
性を向上することが可能である。
Although this embodiment describes MPEG-4, it is possible to improve error resilience by adding the same information to the transmission of image coding of any shape other than MPEG-4. is there.

【0169】次に、本発明の応用例として、本発明の符
号化装置/復号化装置を適用した動画像伝送システムの
実施例を図25を参照して説明する。
Next, as an application example of the present invention, an embodiment of a moving image transmission system to which the encoding device / decoding device of the present invention is applied will be described with reference to FIG.

【0170】パソコン3001に備え付けられた(図示
しない)カメラより入力された動画像信号は、パソコン
3001に組み込まれた符号化装置(あるいは符号化ソ
フトウェア)によって動画像符号化が行われる。この符
号化装置から出力される動画像信号は、他の音声やデー
タの情報と共に、無線機3003により無線で伝送さ
れ、他の無線機3004によって受信される。この無線
機には例えば、携帯電話、PHS、無線LAN装置など
を用いても良い。無線機3004で受信された信号は、
動画像信号および音声やデータの情報に分解される。こ
れらのうち、動画像信号はノ一トパソコン3005に組
み込まれた復号化装置(あるいは復号化ソフトウエア)
によって復号され、ノートPC3005のディスプレイ
に表示される。
A moving image signal input from a camera (not shown) provided in the personal computer 3001 is subjected to moving image encoding by an encoding device (or encoding software) incorporated in the personal computer 3001. The moving image signal output from the encoding device is wirelessly transmitted by the wireless device 3003 together with other audio and data information, and received by the other wireless device 3004. For example, a mobile phone, a PHS, a wireless LAN device, or the like may be used as the wireless device. The signal received by radio 3004 is
It is decomposed into moving picture signals and information on sound and data. Of these, the moving image signal is supplied to a decoding device (or decoding software) incorporated in the notebook computer 3005.
And displayed on the display of the notebook PC 3005.

【0171】一方、ノートパソコン3005に備え付け
られた(図示しない)カメラより入力された動画像信号
は、ノートパソコン3005に組み込まれた符号化装置
(あるいは符号化ソフトウエア)を用いて上記と同様に
復号化される。生成された動画像信号は、他の音声やデ
ータの情報と多重化され、無線機3004により無線で
送信され、無線機3003によって受信される。無線機
3003によって受信された信号は、動画像信号および
音声やデータの情報に分解される。これらのうち、動画
像信号はパソコン3001に組み込まれた復号化装置
(あるいは復号化ソフトウエア)によって復号され、パ
ソコン3001のディスプレイに表示される。
On the other hand, a moving image signal input from a camera (not shown) provided in the notebook personal computer 3005 is obtained by using an encoding device (or encoding software) incorporated in the notebook personal computer 3005 in the same manner as described above. Decrypted. The generated moving image signal is multiplexed with other audio and data information, transmitted wirelessly by the wireless device 3004, and received by the wireless device 3003. A signal received by the wireless device 3003 is decomposed into a moving image signal and audio and data information. Of these, the moving image signal is decoded by a decoding device (or decoding software) incorporated in the personal computer 3001 and displayed on the display of the personal computer 3001.

【0172】パソコン3001またはノートパソコン3
005と、携帯テレビ電話3006との間の動画像通信
に本発明による符号化/復号化装置を応用することもで
きる。パソコン3001またはノートパソコン3005
に組み込まれた符号化装置によって生成され、無線機3
003または3004から無線によって伝送された動画
像信号は、携帯テレビ電話3006に組み込まれた無線
機で受信される。無線機で受信された信号は動画像信号
および音声やデータの情報に分解される。これらのう
ち、動画像信号は携帯テレビ電話3006に組み込まれ
た復号化装置(あるいは復号化ソフトウエア)によって
復号され、携帯テレビ電話3006のディスプレイに表
示される。
Personal computer 3001 or notebook computer 3
The encoding / decoding device according to the present invention can be applied to moving image communication between the mobile phone 005 and the mobile videophone 3006. PC 3001 or notebook PC 3005
Generated by the encoding device incorporated in the
A moving image signal wirelessly transmitted from 003 or 3004 is received by a wireless device incorporated in portable videophone 3006. The signal received by the wireless device is decomposed into a moving image signal and audio and data information. Of these, the moving image signal is decoded by a decoding device (or decoding software) incorporated in the mobile videophone 3006 and displayed on the display of the mobile videophone 3006.

【0173】一方、携帯テレビ電話3006に組み込ま
れたカメラ1007より入力された動画像信号は、携帯
テレビ電話3006に組み込まれた符号化装置(あるい
は符号化ソフトウエア)を用いて上記のパソコン300
1およびノートパソコン3005の例と同様に符号化さ
れる。生成された動画像信号は、他の音声やデータの情
報を多重化され、携帯テレビ電話3006に組み込まれ
た無線機により無線で送信され、無線機3003または
3004によって受信される。無線機3003または3
004によって受信された信号は、動画像信号よび音声
やデータの情報に分解される。これらのうち、動画像信
号はパソコン3001またはノートパソコン3005に
組み込まれた復号化装置(あるいは復号化ソフトウェ
ア)によって復号され、パソコン3001またはノート
パソコン3005のディスプレイに表示される。
On the other hand, the moving image signal input from the camera 1007 incorporated in the portable videophone 3006 is transmitted to the personal computer 300 by using an encoding device (or encoding software) incorporated in the portable videophone 3006.
1 and the notebook computer 3005. The generated moving image signal is multiplexed with other audio and data information, transmitted wirelessly by a wireless device incorporated in the portable videophone 3006, and received by the wireless device 3003 or 3004. Radio 3003 or 3
The signal received at 004 is decomposed into a moving image signal and audio and data information. Of these, the moving image signal is decoded by a decoding device (or decoding software) incorporated in the personal computer 3001 or the notebook personal computer 3005, and is displayed on the display of the personal computer 3001 or the notebook personal computer 3005.

【0174】図26は、図1の第1の実施形態の符号化
装置に対応した第4の実施形態の符号化装置を示してい
る。この第4の実施形態によると、多重化部105から
出力される多重化ビット列が記録媒体107格納され
る。この記録媒体107は、本発明に従ってフォーマッ
トされている。即ち、記録媒体107は、形状情報ヘッ
ダと、これに続く複数のVOPが格納されている。形状
情報ヘッダは符号化データ内で共通に扱われる情報を納
めたフィールドであり、VOPヘッダよりも上位の情報
が格納されている。例えば、矩形画像の画像サイズ等が
格納される。各VOPは複数のマクロブロックを含んで
おり、最初のマクロブロックにはVOPヘッダとこのV
OPヘッダの後ろに設けたMBデータとで構成され、以
降のマクロブロックはVPヘッダとこのVPヘッダに後
続するMBデータとで構成される。VPヘッダは図4に
従ってフォーマッチングされる。
FIG. 26 shows an encoding apparatus according to the fourth embodiment corresponding to the encoding apparatus according to the first embodiment shown in FIG. According to the fourth embodiment, the multiplexed bit string output from the multiplexing unit 105 is stored in the recording medium 107. This recording medium 107 is formatted according to the present invention. That is, the recording medium 107 stores a shape information header and a plurality of VOPs following the shape information header. The shape information header is a field containing information commonly handled in the encoded data, and stores information higher in level than the VOP header. For example, the image size of a rectangular image is stored. Each VOP includes a plurality of macroblocks, and the first macroblock includes a VOP header and this VOP.
It consists of MB data provided after the OP header, and the subsequent macroblock is composed of a VP header and MB data following this VP header. The VP header is four-matched according to FIG.

【0175】図27は、図5の第1の実施形態の復号化
装置に対応する第4の実施形態の復号化装置を示してい
る。この復号化装置は、第4の実施形態の符号化装置に
よって記録媒体107に格納された多重化ビット列を読
み取り、復号化する。
FIG. 27 shows a decoding apparatus according to the fourth embodiment corresponding to the decoding apparatus according to the first embodiment shown in FIG. This decoding device reads and decodes the multiplexed bit string stored in the recording medium 107 by the encoding device of the fourth embodiment.

【0176】図28は、図10の第2の実施形態の符号
化装置に対応した第5の実施形態の復号化装置を示して
いる。この符号化装置は、パケット構成部605から出
力される多重化データを記録媒体107に本発明のフォ
ーマットに従って格納する。即ち、フォーマットは形状
情報ヘッダと複数のVOPを含み、各VOPの複数のマ
クロブロックの各々にはVPヘッダが設けられる。
FIG. 28 shows a decoding apparatus according to the fifth embodiment corresponding to the encoding apparatus according to the second embodiment shown in FIG. This encoding device stores the multiplexed data output from the packet configuration unit 605 in the recording medium 107 according to the format of the present invention. That is, the format includes a shape information header and a plurality of VOPs, and each of the plurality of macroblocks of each VOP is provided with a VP header.

【0177】図29は、図14の第2の実施形態の復号
化装置に対応する第5の実施形態の復号化装置を示して
いる。この復号化装置は、第5の実施形態の符号化装置
によって記録媒体107に格納された多重化ビット列を
読み取り、復号化する。
FIG. 29 shows a decoding apparatus according to the fifth embodiment corresponding to the decoding apparatus according to the second embodiment shown in FIG. This decoding device reads and decodes the multiplexed bit string stored in the recording medium 107 by the encoding device of the fifth embodiment.

【0178】以下、図30にしたがって図27の復号化
装置303での処理の内容を説明する。
In the following, the contents of the processing in the decoding device 303 of FIG. 27 will be described with reference to FIG.

【0179】蓄積媒体107から画像符号列を順次読み
込み、まず同期符号を検出する(ステップS11)。も
し、検出された同期符号がVOP start cod
eだったら(ステップS12のYES)、直前に復号さ
れたVOP(フレーム)を画像情報出力装置へ出力する
処理を行う(ステップS13)。そして、画像符号列中
VOP start codeに引き続くVOPヘッダ
(図29中VOP header)の復号を行う(ステ
ップS14)。もし、VOPヘッダが正しく復号できた
ら(ステップS15のYES)、復号化装置中の一時記
憶回路に記録されている情報を復号されたVOPヘッダ
情報(時刻情報、VOP予測モード等)で置き換える
(ステップS16)。そしてVOPヘッダに引き続くマ
クロブロックデータ(図29中MB data)を復号
し、そのビデオパケットの復号を行う(ステップS1
7)。
An image code string is sequentially read from the storage medium 107, and a synchronization code is first detected (step S11). If the detected synchronization code is VOP start code
If it is e (YES in step S12), a process of outputting the VOP (frame) decoded immediately before to the image information output device is performed (step S13). Then, a VOP header (VOP header in FIG. 29) subsequent to the VOP start code in the image code string is decoded (step S14). If the VOP header can be correctly decoded (YES in step S15), the information recorded in the temporary storage circuit in the decoding device is replaced with the decoded VOP header information (time information, VOP prediction mode, etc.) (step S15). S16). Then, the macroblock data (MB data in FIG. 29) following the VOP header is decoded, and the video packet is decoded (step S1).
7).

【0180】もし、検出された同期符号がresync
markerだったら(ステップS18のYES)、r
esync markerに引き続くビデオパケットヘ
ッダ(マクロブロック番号(MBA)、ビデオパケット
量子化パラメータ(SQ)、ヘッダ拡張コードHE
C))の復号を行う(ステップS19)。もし、ビデオ
パケットヘッダ中のヘッダ拡張コードHEC=“0”だ
った場合には(ステップS20のNO)、そのビデオパ
ケットの復号を行う(ステップS17)。もし、ヘッダ
拡張コードHEC=“1”だった場合には(ステップS
20のYES)、それに引き続く二重化情報(図29中
DUPH)の復号を行う(ステップS21)。このと
き、任意形状か否かを判定し(ステップS21−1)、
YESであれば、任意形状画像関連重要情報を復号化す
る(ステップS21−2)。判定がNOであれば、ステ
ップ22にジャンプする。もし、二重化情報が正しく復
号できたならば(ステップS22のYES)、この二重
化情報と、一時記憶回路に保存されていた情報を比較す
る(ステップS23)。もし比較結果が等しければ(ス
テップS23のNO)、ビデオパケットヘッダに引き続
くマクロブロックデータ(図29中MBdata)を復
号し、そのビデオパケットを復号する(ステップS1
7)。もし、比較結果が等しくなければ(ステップS2
3のYES)、このビデオパケットは直前に復号された
VOPとは異なるVOPに属すると判定し、直前に復号
したVOPを画像情報出力装置に出力する処理を行い
(ステップS24)、一時記憶装置に記録されている情
報を復号した二重化情報で置き換える(ステップS2
5)。さらにそのビデオパケットの復号を行う(ステッ
プS17)。
If the detected synchronization code is resync
If it is a marker (YES in step S18), r
The video packet header (macro block number (MBA), video packet quantization parameter (SQ), header extension code HE following the sync marker
C)) is decrypted (step S19). If the header extension code HEC in the video packet header is "0" (NO in step S20), the video packet is decoded (step S17). If the header extension code HEC = “1” (step S
20 (YES), the subsequent duplication information (DUPH in FIG. 29) is decoded (step S21). At this time, it is determined whether or not the shape is arbitrary (step S21-1),
If YES, the arbitrarily-shaped image-related important information is decoded (step S21-2). If the determination is no, the process jumps to step 22. If the duplicated information has been correctly decoded (YES in step S22), the duplicated information is compared with the information stored in the temporary storage circuit (step S23). If the comparison results are equal (NO in step S23), the macroblock data (MBdata in FIG. 29) following the video packet header is decoded, and the video packet is decoded (step S1).
7). If the comparison results are not equal (step S2
3), it is determined that this video packet belongs to a VOP different from the VOP decoded immediately before, and the processing for outputting the VOP decoded immediately before to the image information output device is performed (step S24), and the temporary storage device Replace the recorded information with the decrypted duplicated information (step S2
5). Further, the video packet is decoded (step S17).

【0181】以上、図30に示した同期符号検出から始
まる一連の処理を、蓄積媒体810に記録されている画
像符号列を順次読み込みながら繰り返していき、動画像
信号を再生する。
As described above, a series of processes starting from the detection of the synchronization code shown in FIG. 30 is repeated while sequentially reading the image code sequence recorded on the storage medium 810, and the moving image signal is reproduced.

【0182】なお、画像符号列をそのまま蓄積媒体に記
録するのではなく、音声信号やオーディオ信号を符号化
した符号列、データ、制御情報等との多重化を行った符
号列を蓄積媒体に記録するようにしても良い。この場
合、蓄積媒体に記録した情報を画像符号化装置820で
符号する前に、逆多重化装置で画像符号列と音声・オー
ディオ符号列、データ、制御情報を逆多重化する処理を
行い、逆多重化された画像符号列を符号化装置820で
復号する。
It is to be noted that an image code string is not recorded on a storage medium as it is, but a code string obtained by multiplexing a code string obtained by encoding an audio signal or an audio signal with data, control information, and the like is recorded on the storage medium. You may do it. In this case, before the information recorded on the storage medium is encoded by the image encoding device 820, a process of demultiplexing the image code sequence and the audio / audio code sequence, data, and control information by the demultiplexing device is performed. The multiplexed image code sequence is decoded by the coding device 820.

【0183】また、図29では、蓄積媒体810に記録
されている情報が復号化装置820に信号線80を介し
て伝達される例を示したが、信号線以外に、有線/無線
/赤外線等の伝送路を介して情報を伝達しても構わな
い。
FIG. 29 shows an example in which the information recorded on the storage medium 810 is transmitted to the decoding device 820 via the signal line 80. The information may be transmitted via the transmission path.

【0184】以上のように本発明によれば、蓄積媒体に
記録されている符号列は、重要な情報が二重化して記録
されているため、蓄積媒体に記録された情報に謝りがあ
る場合や、蓄積媒体に記録された情報を再生画像に送る
信号線や伝送路において誤りが生じる場合においても、
劣化の少ない再生画像を再生することができる。
As described above, according to the present invention, important information is duplicated and recorded in the code string recorded on the storage medium. In the case where an error occurs in a signal line or a transmission path for sending information recorded in a storage medium to a reproduced image,
A reproduced image with little deterioration can be reproduced.

【0185】[0185]

【発明の効果】以上のように本発明によれば、任意形状
画像を符号化した場合でも、従来の長方形画像の符号化
と同等の誤り耐性能力を持たせることが可能となる。ま
た、動画像/音声データの伝送に利用されるプロトコル
としてのRTPの拡張ヘッダを用いることでデータをパ
ケット伝送する場合においても、MPEG−4などの既
存の標準方式に則ったかたちで符号化して伝送でき、し
かも、従来の長方形画像の符号化と同等の誤り耐性能力
を持たせることが可能となる。
As described above, according to the present invention, even when an image having an arbitrary shape is encoded, it is possible to provide an error resilience capability equivalent to that of encoding a conventional rectangular image. Further, even when data is transmitted in packets by using an RTP extension header as a protocol used for transmitting moving image / audio data, encoding is performed in accordance with an existing standard method such as MPEG-4. It can be transmitted, and can have the same error resilience capability as conventional rectangular image encoding.

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

【図1】本発明の第1の実施形態における符号化部の基
本的構成を示す図。
FIG. 1 is a diagram showing a basic configuration of an encoding unit according to a first embodiment of the present invention.

【図2】本発明の第1の実施形態における符号化部の重
要情報構成部およびビット列再構成部の詳細な基本的構
成を示す図。
FIG. 2 is a diagram illustrating a detailed basic configuration of an important information configuration unit and a bit string reconfiguration unit of an encoding unit according to the first embodiment of the present invention.

【図3】本発明の第1の実施形態におけるビット列再構
成部の基本フローを示す図。
FIG. 3 is a view showing a basic flow of a bit string reconstructing unit according to the first embodiment of the present invention.

【図4】本発明の第1の実施形態におけるVPの拡張ヘッ
ダフォーマットを示した図。
FIG. 4 is a diagram showing an extension header format of a VP according to the first embodiment of the present invention.

【図5】本発明の第1の実施形態の復号化部における基
本的構成を示す図。
FIG. 5 is a diagram showing a basic configuration of a decoding unit according to the first embodiment of the present invention.

【図6】本発明の第1の実施形態の復号化部における重
要情報構成部の詳細な基本的構成を示す図。
FIG. 6 is a diagram showing a detailed basic configuration of an important information forming unit in the decoding unit according to the first embodiment of the present invention.

【図7】本発明で用いる符号語構成を説明するための
図。
FIG. 7 is a diagram for explaining a codeword configuration used in the present invention.

【図8】可変長符号化の効果を説明した例を示す図。FIG. 8 is a diagram showing an example illustrating the effect of variable-length coding.

【図9】重要情報に可変長符号化を行うことを示した
図。
FIG. 9 is a view showing that variable-length coding is performed on important information.

【図10】本発明の第2の実施形態における符号化部の
基本的構成図。
FIG. 10 is a basic configuration diagram of an encoding unit according to a second embodiment of the present invention.

【図11】本発明の第2の実施形態における符号化部の
重要情報構成部の詳細な構成図。
FIG. 11 is a detailed configuration diagram of an important information configuration unit of an encoding unit according to the second embodiment of the present invention.

【図12】本発明の第2の実施形態における拡張パケッ
トヘッダの例を示した図。
FIG. 12 is a diagram showing an example of an extended packet header according to the second embodiment of the present invention.

【図13】本発明の第2の実施形態における拡張パケッ
トヘッダの例を示した図(マーカー有り)。
FIG. 13 is a diagram showing an example of an extended packet header according to the second embodiment of the present invention (with a marker).

【図14】本発明の第2の実施形態における復号化部の
基本的構成を示す図。
FIG. 14 is a diagram showing a basic configuration of a decoding unit according to the second embodiment of the present invention.

【図15】本発明の第2の実施形態における復号化部の
重要情報構成部の詳細な構成を示す図。
FIG. 15 is a diagram illustrating a detailed configuration of an important information configuration unit of a decoding unit according to the second embodiment of the present invention.

【図16】任意形状画像の符号化を説明した図。FIG. 16 is a view for explaining encoding of an arbitrary-shaped image.

【図17】任意形状画像の復号化を説明した図。FIG. 17 is a view for explaining decoding of an arbitrary-shaped image.

【図18】MPEG−4のVOP構造を示した図。FIG. 18 is a diagram showing a VOP structure of MPEG-4.

【図19】MPEG−4のVP構造を示した図。FIG. 19 is a diagram showing a VP structure of MPEG-4.

【図20】MPEG−4のVPヘッダフォーマットを示
した図。
FIG. 20 is a diagram showing a VP header format of MPEG-4.

【図21】通常のVPの問題点を示した図。FIG. 21 is a diagram showing a problem of a normal VP.

【図22】通常のVPの効果を示した図。FIG. 22 is a view showing the effect of a normal VP.

【図23】HECを用いた場合のVPの効果を示した
図。
FIG. 23 is a diagram showing the effect of VP when HEC is used.

【図24】任意形状画像の復号時に画像を合成して再生
する場合の必要情報を示した図。
FIG. 24 is a view showing necessary information when an image is synthesized and reproduced at the time of decoding an arbitrary-shaped image.

【図25】本発明の第3に実施例に係る符号化/復号化
装置が適用される無線動画像伝送システムの例を示す
図。
FIG. 25 is a diagram illustrating an example of a wireless moving image transmission system to which the encoding / decoding device according to the third embodiment of the present invention is applied.

【図26】第1の実施形態の符号化装置に対応した第4
の実施形態の符号化装置を示す図。
FIG. 26 shows a fourth example corresponding to the encoding device of the first embodiment.
The figure which shows the encoding device of embodiment.

【図27】第1の実施形態の復号化装置に対応する第4
の実施形態の復号化装置を示す図。
FIG. 27 shows a fourth example corresponding to the decoding device of the first embodiment.
The figure which shows the decoding apparatus of embodiment.

【図28】第2の実施形態の符号化装置に対応した第5
の実施形態の復号化装置を示す図。
FIG. 28 shows a fifth example corresponding to the encoding device of the second embodiment.
The figure which shows the decoding apparatus of embodiment.

【図29】第2の実施形態の復号化装置に対応する第5
の実施形態の復号化装置を示す図。
FIG. 29 is a fifth embodiment corresponding to the decoding device of the second embodiment;
The figure which shows the decoding apparatus of embodiment.

【図30】第3の実施形態の復号化装置のフローチャー
トを示す図。
FIG. 30 is a view showing a flowchart of the decoding device of the third embodiment.

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

101…符号化部 102…重要情報構成部 103…同期信号発生部 104…ビット列再構成部 105…多重化部 106…伝送路 201…MB境界判定部 202…カウンタ 203…同期信号挿入判定部 205…ヘッダ情報挿入部 206…加算部 206…通常画像関連重要情報構成部 207…任意形状画像関連重要情報構成部 208…任意形状符号化判定部 210…多重化部 232…MB境界判定信号 233…符号量データ 241…任意形状画像符号化に関する重要情報 302…分離部 303…復号化部 304…同期検出部 305…エラーチェック部 306…重要情報構成部 307、通常画像関連重要情報構成部 308…任意形状符号化判定部 309,311…切替部 310…任意形状画像関連重要情報構成部 333…同期信号検出信号 336,337,341,2335…重要情報を含むヘ
ッダ情報 338,339…切替部制御信号 340,342…重要情報 344,737…復号画像信号 601…符号化部 602…ビット列分割部 603…重要情報構成部 604…パケットヘッダ生成部 605…パケット構成部 734…エラー検出信号 1001…可変長符号化部 1002…可変長符号生成部 2201…切替部 2202…拡張ヘッダ挿入判定部 2203…任意形状画像関連重要情報構成部 3001…パソコン 3003、3004…無線機 3005…ノートパソコン 3006…携帯テレビ電話
DESCRIPTION OF SYMBOLS 101 ... Coding part 102 ... Important information formation part 103 ... Synchronization signal generation part 104 ... Bit string reconstruction part 105 ... Multiplexing part 106 ... Transmission line 201 ... MB boundary determination part 202 ... Counter 203 ... Synchronization signal insertion determination part 205 ... Header information insertion unit 206 ... Addition unit 206 ... Normal image related important information forming unit 207 ... Arbitrary shape image related important information forming unit 208 ... Arbitrary shape coding determination unit 210 ... Multiplexing unit 232 ... MB boundary determination signal 233 ... Code amount Data 241, important information relating to arbitrary shape image encoding 302, separation unit 303, decoding unit 304, synchronization detection unit 305, error check unit 306, important information configuration unit 307, normal image related important information configuration unit 308, arbitrary shape code Conversion determination unit 309, 311 switching unit 310 arbitrary image-related important information configuration unit 333 synchronization signal Detection signal 336,337,341,335 ... Header information including important information 338,339 ... Switching unit control signal 340,342 ... Important information 344,737 ... Decoded image signal 601 ... Encoding unit 602 ... Bit string division unit 603 ... Important Information configuration unit 604 Packet header generation unit 605 Packet configuration unit 734 Error detection signal 1001 Variable length coding unit 1002 Variable length code generation unit 2201 Switching unit 2202 Extended header insertion determination unit 2203 Arbitrary shape image related Important information component 3001 PC 3003 3004 Radio 3005 Laptop 3006 Mobile videophone

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】入力された動画像を符号化してビット列を
得る符号化手段と、 この符号化手段での符号化情報から一定のビット列の纏
まりがどのような規則のもとに符号化されたものである
のかを指し示す情報としての重要情報を取り出して再構
成する重要情報再構成手段と、 同期信号を発生する同期信号発生手段と、 前記符号化手段により符号化されたビット列に前記同期
発生手段から出力された同期信号と前記重要情報再構成
手段により再構成された重要情報を加えビット列を再構
成するビット列再構成手段と、を具備したことを特徴と
する動画像符号化装置。
An encoding means for encoding an input moving image to obtain a bit string, and a set of predetermined bit strings is encoded based on encoding information by the encoding means under any rules. Important information reconstructing means for retrieving and reconstructing important information as information indicating whether the information is the same, synchronizing signal generating means for generating a synchronizing signal, and the synchronizing generating means for synchronizing the bit string encoded by the encoding means A moving image coding apparatus comprising: a bit string reconstructing means for reconstructing a bit string by adding a synchronization signal output from the above and important information reconstructed by the important information reconstructing means.
【請求項2】請求項1に記載の画像符号化装置におい
て、 前記重要情報再構成手段は、 前記符号化情報からフレームを方形領域単位で符号化す
る通常の符号化形態における重要情報である通常画像関
連情報を再構成する通常画像関連重要情報再構成手段
と、 前記符号化情報からフレーム内の画像を任意形状画像領
域単位で符号化する任意形状符号化形態における重要情
報である任意形状画像関連重要情報を再構成する任意形
状画像関連重要情報再構成手段と、 前記符号化情報から符号化している画像が任意形状画像
であるか否かを判定する任意形状符号化判定手段と、 前記任意形状符号化判定手段が任意形状画像と判定した
場合に前記任意形状画像関連重要情報を出力する切替手
段と、 前記通常画像関連情報と切替手段の出力とを多重化する
多重化手段と、を備えることを特徴とする動画像符号化
装置。
2. The image coding apparatus according to claim 1, wherein said important information reconstructing means is important information in a normal coding mode for coding a frame from the coded information in a rectangular area unit. A normal image-related important information reconstructing unit for reconstructing image-related information; and an arbitrary shape image-related important information in an arbitrary shape encoding mode for encoding an image in a frame in units of an arbitrary shape image from the encoded information. An arbitrary shape image-related important information reconstructing means for reconstructing important information; an arbitrary shape encoding judging means for judging whether or not an image encoded from the encoded information is an arbitrary shape image; and the arbitrary shape. A switching unit that outputs the arbitrary shape image-related important information when the encoding determination unit determines that the image is an arbitrary shape image; and multiplexes the normal image-related information and the output of the switching unit. Video encoding apparatus characterized by comprising a multiplexing means, the that.
【請求項3】動画像を符号化して同期情報を含むビット
列を得ると共に、この符号化における一定のビット列の
纏まりがどのような規則のもとに符号化されたものであ
るのかを指し示す情報としての重要情報をヘッダ情報と
して付加した形態のビット列とする動画像符号化におけ
る復号化装置として、 入力されたビット列から画像ビット列を分離する分離手
段と、 前記画像ビット列を復号する復号化手段と、 前記画像ビット列から同期信号を検出し前記復号化手段
へ通知する同期信号検出手段と、 前記復号化手段の復号情報から誤りが存在しないかどう
かを判定するエラーチェック手段と、 エラーチェック手段が誤りなしと判定したとき、前記復
号化手段から出されたヘッダ情報から重要情報を再構成
し、復号化手段に通知する重要情報再構成手段と、を具
備したことを特徴とする動画像復号化装置。
3. A method of encoding a moving image to obtain a bit string including synchronization information, and as information indicating a rule of a set of certain bit strings in the encoding. As a decoding device in a moving image encoding that forms a bit string in a form in which important information is added as header information, a separating unit that separates an image bit string from an input bit string; a decoding unit that decodes the image bit string; A synchronizing signal detecting unit that detects a synchronizing signal from an image bit string and notifies the decoding unit of the synchronizing signal, an error checking unit that determines whether there is no error from decoding information of the decoding unit, and an error checking unit that there is no error. When it is determined, important information to be reconstructed from the header information output from the decoding means and to be notified to the decoding means Video decoding apparatus characterized by comprising a structure means.
【請求項4】請求項3に記載の動画像復号化装置におい
て、 前記重要情報再構成手段は、 前記ヘッダ情報から通常画像関連重要情報を再構成する
通常画像関連重要情報再構成手段と、 前記ヘッダ情報から復号化している画像が任意形状画像
かどうかを判定する任意形状符号化判定手段と、 ヘッダ情報から任意形状画像関連重要情報を再構成する
任意形状画像関連重要情報再構成手段と、 前記任意形状符号化判定手段任意形状画像と判定した場
合に、ヘッダ情報を任意形状画像関連情報再構成手段へ
入力する切替手段と、 前記任意形状符号化判定手段で任意形状画像と判定した
場合に、前記任意形状画像関連重要情報を出力する切替
手段と、を具備した構成とすることを特徴とする動画像
符号化装置。
4. The moving picture decoding apparatus according to claim 3, wherein the important information reconstructing means reconstructs normal image related important information from the header information; An arbitrary shape encoding determining unit that determines whether the image being decoded from the header information is an arbitrary shape image; an arbitrary shape image related important information reconstructing unit that reconstructs the arbitrary shape image related important information from the header information; Switching means for inputting header information to the arbitrary shape image related information reconstructing means, when determining that the image is an arbitrary shape image, A moving image encoding apparatus comprising: a switching unit that outputs the arbitrarily-shaped image-related important information.
【請求項5】入力された動画像を符号化してビット列を
得る符号化手段と、 この符号化手段での符号化情報から一定のビット列の纏
まりがどのような規則のもとに符号化されたものである
のかを指し示す情報としての重要情報を取り出して再構
成する重要情報再構成手段と、 前記符号化手段により符号化されたビット列を分割する
ビット列分割手段と、 前記重要情報再構成手段により再構成された重要情報か
らパケットヘッダを作成するパケットヘッダ作成手段
と、 前記ビット列分割手段により分割されたビット列と前記
パケットヘッダ生成手段により生成されたパケットヘッ
ダとを用いてパケットを構成するパケット構成手段と、
を具備したことを特徴とする動画像符号化装置。
5. An encoding means for encoding an input moving image to obtain a bit string, and a set of predetermined bit strings is encoded based on encoding information by the encoding means under any rules. Important information reconstructing means for retrieving and reconstructing important information as information indicating whether the information is a bit sequence, bit string dividing means for dividing the bit string encoded by the encoding means, Packet header creation means for creating a packet header from the configured important information; packet construction means for constituting a packet using the bit string divided by the bit string division means and the packet header generated by the packet header creation means; ,
A moving picture coding apparatus comprising:
【請求項6】請求項5に記載の動画像符号化装置におい
て、 前記重要情報再構成手段は、 前記符号化情報から任意形状画像関連重要情報を再構成
する任意形状画像関連重要情報再構成手段と、 前記符号化情報から任意形状画像関連重要情報を保持さ
せた拡張ヘッダをパケットヘッダに付加するか否かを判
定する拡張ヘッダ挿入判定手段と、 拡張ヘッダを挿入すると前記拡張ヘッダ挿入判定手段が
判定した場合に、前記ヘッダ情報を前記任意形状画像関
連重要情報に入力する切替手段と、を具備したことを特
徴とする動画像符号化装置。
6. The moving picture encoding apparatus according to claim 5, wherein said important information reconstructing means reconstructs arbitrary shape image related important information from said encoded information. Extended header insertion determining means for determining whether to add an extended header holding arbitrary shape image-related important information to the packet header from the encoded information, and when the extended header is inserted, the extended header insertion determining means Switching means for inputting the header information to the arbitrarily-shaped image-related important information when the determination is made, a moving image encoding apparatus comprising:
【請求項7】動画像を符号化してビット列を得ると共
に、この符号化における一定のビット列の纏まりがどの
ような規則のもとに符号化されたものであるのかを指し
示す情報としての重要情報をパケットヘッダ情報として
付加した形態のビット列とする動画像符号化における符
号化データの復号化装置において、 入力されたビット列から画像ビット列とパケットヘッダ
情報を分離する分離手段と、 前記画像ビット列を復号する復号化手段と、 前記復号化手段の復号情報から誤りが存在しないかどう
かを判定するエラーチェック手段と、 前記パケットヘッダ情報から一定のビット列の纏まりが
どのような規則のもとに符号化されたものであるのかを
指し示す情報としての重要情報を取り出して重要情報の
再構成を行い、前記エラーチェック手段で誤りがあると
判定され復号に重要情報が必要な場合に当該再構成した
重要情報を復号化手段に通知する重要情報再構成手段
と、を具備したことを特徴とする動画像復号化装置。
7. A moving picture is coded to obtain a bit string, and important information as information indicating under what rule a set of certain bit strings in this coding is coded. A decoding device for coded data in a moving image coding in which a bit string is added as packet header information in a moving image coding, a separating unit for separating an image bit string and packet header information from an input bit string, and a decoding for decoding the image bit string An error checking unit that determines whether or not there is an error from the decoding information of the decoding unit; and a rule in which a set of a certain bit string is encoded from the packet header information under any rules. Important information as information indicating whether the error check is performed, the important information is reconstructed, and the error check procedure is performed. Important information reconstructing means for notifying the decoding means of the reconstructed important information when important information is required for decoding when it is determined that there is an error in the stage. .
【請求項8】請求項7に記載の動画像復号化装置におい
て、 前記重要情報再構成手段は、 前記パケットヘッダ情報から任意形状画像関連重要情報
を再構成する任意形状画像関連重要情報再構成手段と、 前記パケットヘッダ情報から拡張ヘッダがパケットヘッ
ダに付加されているか否かを判定する拡張ヘッダ挿入判
定手段と、 拡張ヘッダが挿入されていると前記拡張ヘッダ挿入判定
手段が判定した場合に前記パケットヘッダ情報を前記任
意形状画像関連重要情報に入力する切替手段と、を具備
したことを特徴とする動画像符号化装置。
8. The moving picture decoding apparatus according to claim 7, wherein the important information reconstructing means reconstructs arbitrary shape picture related important information from the packet header information. An extension header insertion determining means for determining whether or not an extension header is added to the packet header from the packet header information; and the packet when the extension header insertion determining means determines that the extension header has been inserted. Switching means for inputting header information to the arbitrary-shaped image-related important information.
【請求項9】動画像を符号化し、符号化ビット列を生成
する動画像符号化装置を含むサーバコンピュータと、 前記サーバコンピュータの符号化ビット列を送信する送
信機と、 前記サーバコンピュータからの符号化ビット列を受信す
る受信機と、 前記受信機からの符号化ビット列を復号化する動画像復
号化装置を含むクライアントコンピュータと、を具備
し、 前記動画像符号化装置は、 入力された動画像を符号化して符号化情報を前記ビット
列として生成する符号化部と、 前記符号化部の符号化情報から、一定のビット列の纏ま
りがどのような規則のもとに符号化されているかを指し
示す情報としての重要情報を取り出して再構成する重要
情報再構成部と、 同期信号を発生する同期信号発生部と、 前記符号化部により符号化されたビット列に前記同期発
生部から出力された同期信号と前記重要情報再構成部に
より再構成された重要情報を加えビット列を再構成する
ビット列再構成部と、 で構成され、 前記動画像復号化装置は、受信した前記符号化ビット列
から前記動画像情報に対応する画像ビット列を分離する
分離部と、 前記画像ビット列を復号する復号化部と、 前記ビット列から同期信号を検出し前記復号化部へ通知
する同期信号検出部と、 前記復号化部の復号情報から誤りが存在しないかどうか
を判定するエラーチェック部と、 前記エラーチェック部が誤りなしと判定したとき、前記
復号化部から出された前記ヘッダ情報から重要情報を再
構成し、復号化部に通知する重要情報再構成部と、 で構成される、 動画像伝送システム。
9. A server computer including a moving image encoding device that encodes a moving image to generate an encoded bit sequence, a transmitter that transmits the encoded bit sequence of the server computer, and an encoded bit sequence from the server computer And a client computer including a video decoding device that decodes a coded bit string from the receiver, wherein the video coding device encodes an input video. An encoding unit that generates encoded information as the bit sequence, and from the encoded information of the encoding unit, important information as information indicating under what rules a certain group of bit sequences is encoded. An important information reconstructing unit that extracts and reconstructs information; a synchronizing signal generating unit that generates a synchronizing signal; and bits encoded by the encoding unit. A bit sequence reconstructing unit that reconstructs a bit sequence by adding a synchronization signal output from the synchronization generating unit and important information reconstructed by the important information reconstructing unit, and the video decoding device includes: A separating unit that separates an image bit sequence corresponding to the moving image information from the received encoded bit sequence, a decoding unit that decodes the image bit sequence, and a synchronization that detects a synchronization signal from the bit sequence and notifies the decoding unit. A signal detection unit, an error check unit that determines whether there is no error from the decoding information of the decoding unit, and the header information output from the decoding unit when the error check unit determines that there is no error. An important information reconstructing unit that reconstructs important information from and notifies the decoding unit of the important information.
【請求項10】動画像を符号化し、符号化ビット列を生
成する動画像符号化装置を含むサーバコンピュータと、 前記サーバコンピュータの符号化ビット列を送信する送
信機と、 前記サーバコンピュータからの符号化ビット列を受信す
る受信機と、 前記受信機からの符号化ビット列を復号化する動画像復
号化装置を含むクライアントコンピュータと、を具備
し、 前記動画像符号化装置は、 入力された動画像を符号化した符号化情報を符号化ビッ
ト列として生成する符号化部と、 前記符号化部での符号化情報から一定のビット列の纏ま
りがどのような規則のもとに符号化されているかを指し
示す重要情報を取り出して再構成する重要情報再構成部
と、 前記符号化部により符号化されたビット列を分割し、複
数の分割ビット列を生成するビット列分割部と、 前記重要情報再構成部により再構成された重要情報から
パケットヘッダを作成するパケットヘッダ作成部と、 前記分割ビット列と前記パケットヘッダとを用いてパケ
ットを構成するパケット構成部と、 で構成され、 前記動画像復号化装置は、 受信された前記ビット列から前記動画像情報の画像ピッ
ト列とパケットヘッダ情報とを分離する分離部と、 前記画像ビット列を復号する復号化部と、 前記復号化部の復号情報から誤りが存在しないかどうか
を判定するエラーチェック部と、 前記パケットヘッダ情報から前記重要情報を取り出して
重要情報を再構成し、前記エラーチェック部で誤りがあ
ると判定され、復号に重要情報が必要な場合に当該再構
成した重要情報を復号化部に通知する重要情報再構成部
とで構成される、 動画像伝送システム。
10. A server computer including a moving image encoding device that encodes a moving image to generate an encoded bit sequence, a transmitter that transmits the encoded bit sequence of the server computer, and an encoded bit sequence from the server computer And a client computer including a video decoding device that decodes a coded bit string from the receiver, wherein the video coding device encodes an input video. An encoding unit that generates the encoded information as an encoded bit sequence, and important information indicating under what rules a group of certain bit sequences is encoded from the encoded information in the encoding unit. An important information reconstructing unit that extracts and reconstructs, a bit that divides the bit string encoded by the encoding unit and generates a plurality of divided bit strings A column dividing unit, a packet header creating unit that creates a packet header from the important information reconstructed by the important information reconstructing unit, a packet constituting unit that constitutes a packet using the divided bit string and the packet header, The video decoding device, comprising: a separating unit configured to separate an image pit sequence and packet header information of the video information from the received bit sequence; a decoding unit configured to decode the image bit sequence; An error checking unit that determines whether there is no error from the decoding information of the decoding unit; and extracting the important information from the packet header information to reconstruct the important information. The error checking unit determines that there is an error. And an important information reconstructing unit that notifies the decoding unit of the reconstructed important information when important information is needed for decoding. Image transmission system.
【請求項11】記録すべき画像の任意形状情報を格納す
る形状情報ヘッダと、 各々が複数のマクロブロックを含んでおり、各マクロブ
ロックはVPヘッダとこのVPヘッダの後ろに設けたM
Bデータとで構成され、前記VPヘッダは符号化ビット
列の一定のビット列の纏まりがどのような規則のもとに
符号化されているかを指し示す重要情報を含む、複数の
VOP(Video Object Plane)と、が記録された記録媒
体。
11. A shape information header for storing arbitrary shape information of an image to be recorded, each of which includes a plurality of macroblocks, each macroblock being a VP header and M provided after the VP header.
B data, and the VP header includes a plurality of VOPs (Video Object Planes) including important information indicating under what rule a fixed group of encoded bit strings is encoded. , A recording medium on which is recorded.
【請求項12】前記VPヘッダの重要情報は画像の幅、
画像の高さ、画像を貼り込むX座標およびY座標、形状
情報を縮小変換して符号化しているかどうかを示すフラ
グ、形状情報の符号化タイプの情報を含む請求項11の
記録媒体。
12. The important information of the VP header is an image width,
12. The recording medium according to claim 11, including a height of the image, an X coordinate and a Y coordinate for pasting the image, a flag indicating whether or not the shape information is reduced and converted, and information on an encoding type of the shape information.
【請求項13】入力されたビット列から画像列を分離す
る分離手段と、 前記が画像ビット列を復号する復号化手段と、 前記画像ビット列から同期信号を検出し、前記復号化手
段へ通知する同期信号検出手段と、 前記復号化手段から出されたヘッダ情報から重要情報を
再構成し、復号化手段に通知する重要情報再構成手段
と、 を具備する動画像復号化装置。
13. Separation means for separating an image sequence from an input bit sequence, decoding means for decoding the image bit sequence, and a synchronization signal for detecting a synchronization signal from the image bit sequence and notifying the decoding means. A moving picture decoding apparatus comprising: a detecting unit; and important information reconstructing unit that reconstructs important information from the header information output from the decoding unit and notifies the decoding unit of the important information.
【請求項14】前記重要情報再構成手段は、 前記ヘッダ情報から通常画像関連重要情報再構成手段
と、 前記ヘッダ情報から復号化している画像が任意形状画像
かどうかを判定する任意形状符号化判定手段と、 ヘッダ情報から任意形状画像関連重要情報を再構成する
任意形状画像関連重要情報再構成手段と、 前記任意形状符号化判定手段が任意形状であると判定し
た場合にヘッダ情報を任意形状画像関連情報再構成手段
へ入力する切り替え手段と、 前記任意形状符号化判定手段で任意形状画像だと判定さ
れた場合に前記任意形状画像関連重要情報を出力する切
り替え手段と、 を具備する請求項13の動画像符号化装置。
14. An important information reconstructing means, comprising: a normal image related important information reconstructing means from the header information; and an arbitrary shape encoding determination for judging whether an image decoded from the header information is an arbitrary shape image. Means, arbitrary shape image-related important information reconstructing means for reconstructing the arbitrary shape image-related important information from the header information, and when the arbitrary shape coding determining means determines that the header information is an arbitrary shape, the header information is converted to the arbitrary shape image. 14. Switching means for inputting to the related information reconstructing means, and switching means for outputting the arbitrary shape image related important information when the arbitrary shape encoding determining means determines that the image is an arbitrary shape image. Video encoding device.
JP2000061240A 1999-03-05 2000-03-06 Video encoding device and video decoding device Abandoned JP2000324491A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000061240A JP2000324491A (en) 1999-03-05 2000-03-06 Video encoding device and video decoding device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP5859099 1999-03-05
JP11-58590 1999-03-05
JP2000061240A JP2000324491A (en) 1999-03-05 2000-03-06 Video encoding device and video decoding device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2007191286A Division JP2007318797A (en) 1999-03-05 2007-07-23 Moving picture decoding apparatus and method

Publications (1)

Publication Number Publication Date
JP2000324491A true JP2000324491A (en) 2000-11-24

Family

ID=26399630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000061240A Abandoned JP2000324491A (en) 1999-03-05 2000-03-06 Video encoding device and video decoding device

Country Status (1)

Country Link
JP (1) JP2000324491A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010157854A (en) * 2008-12-26 2010-07-15 Sony Corp Information processing apparatus, information processing method and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010157854A (en) * 2008-12-26 2010-07-15 Sony Corp Information processing apparatus, information processing method and program

Similar Documents

Publication Publication Date Title
KR20000064301A (en) Encoding device / decoding device and encoding / multiplexing device / decoding / demultiplexing device in information transmission method and information transmission system to which the method is applied
CN101790099A (en) Video coding
Villasenor et al. Robust video coding algorithms and systems
JP2003533954A (en) Video coding method
EP1089570B1 (en) Moving picture decoding method, moving picture decoding apparatus and program recording system
KR100483814B1 (en) Method and apparatus for coding moving picture image
US7124429B2 (en) Video coding apparatus and video decoding apparatus
JP3262761B2 (en) Error tolerant mode video codec method and apparatus
CN101094399A (en) Encoding/decoding apparatus and encoding-multiplexing/decoding-demultiplexing apparatus
JP4218112B2 (en) Multimedia communication system
JP2000324491A (en) Video encoding device and video decoding device
JP3898885B2 (en) Moving picture decoding method, moving picture decoding apparatus, and program recording medium
JP2004524744A (en) Video bitstream washer
AU2002306385B2 (en) Video coding apparatus and video decoding apparatus
JP4189430B2 (en) Decoding / demultiplexing device for information transmission system
JP4000131B2 (en) Encoding / multiplexing apparatus and method
JP2007318797A (en) Moving picture decoding apparatus and method
JP4000132B2 (en) Decoding / demultiplexing apparatus and method
JP2000308049A (en) Video encoding device and video decoding device
JP4189429B2 (en) Coding / multiplexing device in information transmission system
JP4113165B2 (en) Recording medium recording an encoding program and recording medium recording a decoding program
JP2007312415A (en) Decoding apparatus and method in information transmission system
JP2005051816A (en) Moving picture decoding method, moving picture decoding apparatus, and program recording medium
JPH0951541A (en) Video communication method
JP2003078916A (en) Image encoding method and image decoding method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070509

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070522

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070723

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080819

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20081006