JP2002077915A - Image decoding method and decoder - Google Patents

Image decoding method and decoder

Info

Publication number
JP2002077915A
JP2002077915A JP2001180491A JP2001180491A JP2002077915A JP 2002077915 A JP2002077915 A JP 2002077915A JP 2001180491 A JP2001180491 A JP 2001180491A JP 2001180491 A JP2001180491 A JP 2001180491A JP 2002077915 A JP2002077915 A JP 2002077915A
Authority
JP
Japan
Prior art keywords
blocks
luminance signal
encoded data
block
data
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.)
Granted
Application number
JP2001180491A
Other languages
Japanese (ja)
Other versions
JP3542572B2 (en
Inventor
Akisuke Shikakura
明祐 鹿倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2001180491A priority Critical patent/JP3542572B2/en
Publication of JP2002077915A publication Critical patent/JP2002077915A/en
Application granted granted Critical
Publication of JP3542572B2 publication Critical patent/JP3542572B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To receive band decode data obtained by encoding image data while dividing a luminance signal and a color difference signal thereof, respectively, into a plurality of luminance signal blocks and color difference signal blocks. SOLUTION: A luminance signal and a color difference signal constituting image data are divided, respectively, into a plurality of luminance signal blocks and color difference signal blocks, each block representing each signal is subjected to variable length encoding, and transmission blocks arranged with sequentially encoded data in units of encoded data of a specified number of luminance signal blocks less than one screen and encoded data of a specified number of color difference signal blocks at the same position as the specified number of luminance signal blocks on an image space are inputted sequentially and decoded. In such image decoding method and decoder, inputted transmission blocks are stored in a memory 29, encoded data of a luminance signal block and encoded data of a color difference signal block are read out separately from the memory 29 under control of a transmission ID detecting section 25 and an address controller 27, and decoded by corresponding decoders 35a, 35b and 35c. Decoding results are returned and recovered by inverse block circuits 39a, 39b and 39c for each signal in the order of transmission of the original signal.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、符号化された画像
データを入力して復号する画像復号方法及び装置に関す
るものである。
[0001] 1. Field of the Invention [0002] The present invention relates to an image decoding method and apparatus for inputting and decoding encoded image data.

【0002】[0002]

【従来の技術】従来、画像データを符号化するに際して
は、可変長符号化と固定長符号化とがあり、特に可変長
符号化において、予測符号化等の符号化も知られてい
る。
2. Description of the Related Art Conventionally, when encoding image data, there are variable-length coding and fixed-length coding. In particular, in variable-length coding, coding such as predictive coding is also known.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、こうし
た可変長符号化方式は、圧縮効率において優れているの
に対し、伝送路上で圧縮データに誤りが発生すると、そ
の後の復号が全くできなくなる。その結果、圧縮データ
に誤りが発生した以降の画像が乱れ、大変見苦しい状態
になることがあった。
However, such a variable-length coding system is excellent in compression efficiency. However, if an error occurs in the compressed data on the transmission line, subsequent decoding cannot be performed at all. As a result, the image after the error has occurred in the compressed data may be disturbed, resulting in a very unsightly state.

【0004】本発明は上記従来例に鑑みてなされたもの
で、画像データの輝度信号と色差信号をそれぞれ複数の
輝度信号ブロックと複数の色差信号ブロックに分割して
符号化された符号化データを入力して復号する画像復号
方法及び装置を提供することを目的とする。
The present invention has been made in view of the above conventional example, and divides a luminance signal and a color difference signal of image data into a plurality of luminance signal blocks and a plurality of color difference signal blocks, respectively, and encodes the encoded data. It is an object of the present invention to provide an image decoding method and apparatus for inputting and decoding.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に本発明の画像復号装置は以下の様な構成を備える。即
ち、画像データを構成する輝度信号と色差信号を夫々複
数の輝度信号ブロックと複数の色差信号ブロックに分割
し、前記各信号を表わす各ブロックを可変長符号化し、
1画面分に満たない所定数の前記輝度信号ブロックの符
号化データと、当該所定数の前記輝度信号ブロックと画
像空間上で同一位置にある所定数の色差信号ブロックの
符号化データとを単位に順次符号化データが配置されて
いる伝送ブロックを順次入力して復号する画像復号装置
であって、前記入力された伝送ブロックから前記輝度信
号ブロックの符号化データと前記色差信号ブロックの符
号化データとを分離する分離手段と、前記分離手段によ
り分離された輝度信号ブロックの符号化データ及び色差
信号ブロックの符号化データを復号する復号手段と、を
有することを特徴とする。
In order to achieve the above object, an image decoding apparatus according to the present invention has the following arrangement. That is, the luminance signal and the chrominance signal forming the image data are divided into a plurality of luminance signal blocks and a plurality of chrominance signal blocks, respectively, and each block representing each signal is subjected to variable-length coding.
The encoded data of the predetermined number of the luminance signal blocks less than one screen and the encoded data of the predetermined number of the color difference signal blocks at the same position in the image space as the predetermined number of the luminance signal blocks are used as a unit. An image decoding apparatus for sequentially inputting and decoding transmission blocks in which sequentially encoded data are arranged, wherein encoded data of the luminance signal block and encoded data of the color difference signal block are input from the input transmission block. , And decoding means for decoding the encoded data of the luminance signal block and the encoded data of the color difference signal block separated by the separating means.

【0006】又、上記目的を達成するために本発明の画
像復号方法は以下のような工程を備える。即ち、画像デ
ータを構成する輝度信号と色差信号を夫々複数の輝度信
号ブロックと複数の色差信号ブロックに分割し、前記各
信号を表わす各ブロックを可変長符号化し、1画面分に
満たない所定数の前記輝度信号ブロックの符号化データ
と、当該所定数の前記輝度信号ブロックと画像空間上で
同一位置にある所定数の色差信号ブロックの符号化デー
タとを単位に順次符号化データが配置されている伝送ブ
ロックを順次入力して復号する画像復号化方法であっ
て、前記入力された伝送ブロックから前記輝度信号ブロ
ックの符号化データと前記色差信号ブロックの符号化デ
ータとを分離する分離工程と、前記分離工程で分離され
た輝度信号ブロックの符号化データ及び色差信号ブロッ
クの符号化データを復号する復号工程と、を有すること
を特徴とする。
In order to achieve the above object, an image decoding method according to the present invention includes the following steps. That is, the luminance signal and the chrominance signal constituting the image data are divided into a plurality of luminance signal blocks and a plurality of chrominance signal blocks, respectively, and the blocks representing the respective signals are coded in a variable length, and a predetermined number less than one screen is used. The coded data of the luminance signal block and the coded data of the predetermined number of the chrominance signal blocks at the same position in the image space as the predetermined number of the luminance signal blocks are sequentially arranged as coded data. An image decoding method for sequentially inputting and decoding transmission blocks that are present, wherein a separation step of separating encoded data of the luminance signal block and encoded data of the chrominance signal block from the input transmission block, Decoding the encoded data of the luminance signal block and the encoded data of the chrominance signal block separated in the separation step. To.

【0007】[0007]

【発明の実施の形態】以下、添付図面を参照して本発明
の好適な実施の形態を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0008】図6は本実施の形態の画像符号化装置の概
略構成を示すブロック図である。
FIG. 6 is a block diagram showing a schematic configuration of an image coding apparatus according to the present embodiment.

【0009】図6において、端子101より入力された
画像データは、A/Dコンバータ102においてアナロ
グ信号からデジタル信号に変換される。この変換された
デジタル信号は、符号化部103において可変長で圧縮
符号化される。そして、符号化されたコードは、誤り訂
正符号化部104において、後のエラー訂正のためのパ
リティコードが付加されて伝送路105へ送出される。
この伝送路105から受信したデータはメモリ部106
に一旦蓄えられ、誤り訂正部107において誤りが訂正
される。復号化部108は、メモリ106より読み出さ
れた可変長データを伸長して復号しており、この復号さ
れた信号はD/Aコンバータ109でデジタル信号から
アナログ信号に変換された後、端子110より画像信号
として出力される。
In FIG. 6, image data input from a terminal 101 is converted from an analog signal to a digital signal in an A / D converter 102. The converted digital signal is compression-encoded in a variable length by the encoding unit 103. Then, the coded code is transmitted to the transmission path 105 by the error correction coding unit 104 added with a parity code for later error correction.
The data received from the transmission path 105 is stored in the memory 106
, And the error is corrected by the error correction unit 107. The decoding unit 108 expands and decodes the variable-length data read from the memory 106. After the decoded signal is converted from a digital signal to an analog signal by the D / A converter 109, It is output as an image signal.

【0010】この図6における符号化部103のカラー
画像の圧縮方式としては、数々の方式が提案されている
が、カラー画像符号化方式の代表的なものにADCT方
式と呼ばれる方式がある。このADCT方式に関して
は、テレビジョン学会誌(Vol.44、NO.2(1990))斉藤隆
弘氏らの“静止画像の符号化方式”、昭和63年画像電子
学会全国大会予稿14における越智宏氏らの“静止画像符
号化の国際標準動向”等において詳しく説明されてい
る。
As a color image compression method of the encoding unit 103 in FIG. 6, various methods have been proposed, and a typical one of the color image encoding methods is a method called ADCT method. The ADCT method is described in “The Still Image Coding Method” by Takahiro Saito et al. In the Journal of the Institute of Television Engineers of Japan (Vol.44, No.2 (1990)), and by Tomohiro Ochi in Preprints 14 These are described in detail in “International Standard Trends in Still Image Coding” and the like.

【0011】図7は、このADCT方式を用いた符号化
部103の構成概念を示す図である。
FIG. 7 is a diagram showing a configuration concept of the encoding unit 103 using the ADCT method.

【0012】入力される画像は、図6のA/Dコンバー
タ102より出力される、8ビット、即ち256階調/
色に変換されたデータとし、色数についてはRGB,Y
UV,YPbPr,YMCK等の3色もしくは4色とす
る。ここで、入力画像は直ちに8×8画素のサブブロッ
ク単位で2次元の離散コサイン変換(以下、DCTと記
す)がなされ、その後、線形量子化部202で変換係数
の線形量子化が行なわれる。この量子化時において、量
子化のステップサイズは各変換係数毎に異なり、各変換
係数に対する量子化ステップサイズは、量子化雑音に対
する視感度の変換係数毎の相違を考慮した8×8の量子
化マトリックス要素を2S倍した値とする。ここで、S
は0または正負の整数であり、スケーリングファクタと
呼ばれる。このSの値により、画質や発生データ量が制
御される。表1に量子化マトリックス要素の1例を示
す。
The input image is 8-bit output from the A / D converter 102 shown in FIG.
The data is converted to colors, and the number of colors is RGB, Y
Three or four colors, such as UV, YPbPr, and YMCK. Here, the input image is immediately subjected to two-dimensional discrete cosine transform (hereinafter referred to as DCT) in units of 8 × 8 pixel sub-blocks, and then the linear quantization unit 202 performs linear quantization of the transform coefficients. At the time of this quantization, the quantization step size differs for each transform coefficient, and the quantization step size for each transform coefficient is 8 × 8 quantization considering the difference in luminosity factor for quantization noise for each transform coefficient. the matrix elements and 2 S multiplied value. Where S
Is 0 or a positive or negative integer and is called a scaling factor. The image quality and the amount of generated data are controlled by the value of S. Table 1 shows an example of the quantization matrix element.

【0013】[0013]

【表1】 量子化後、直流変換成分(以下、DC成分と記す)につ
いては、203で近傍サブブロック間で1次元予測さ
れ、204でその予測誤差をハフマン符号化する。ここ
では、予測誤差の量子化出力をグループに分け、まず予
測誤差の所属するグループの識別番号をハフマン符号化
し、続いてグループ内のいずれかの値であるかを等長符
号で表わす。
[Table 1] After the quantization, a DC conversion component (hereinafter, referred to as a DC component) is one-dimensionally predicted between neighboring sub-blocks at 203, and the prediction error is Huffman-coded at 204. Here, the quantized output of the prediction error is divided into groups, first, the identification number of the group to which the prediction error belongs is Huffman-coded, and subsequently, any value in the group is represented by an isometric code.

【0014】一方、DC成分以外の交流変換成分(以
下、AC成分と記す)は、この量子化出力を、205で
図8に示す様に低周波成分から高周波成分へとジグザグ
走査しながら符号化する。即ち、量子化出力が“0”で
ない変換係数(以下、有意係数と記す)は、その値によ
りグループに分類され、206において、そのグループ
識別番号と、直前の有意変換係数との間に挟まれた量子
化出力が“0”の変換係数(以下、無効係数と記す)の
個数とを組にしてハフマン符号化される。続いてグルー
プ内のいずれの値であるかが等長符号で表わされる。
On the other hand, an AC conversion component other than the DC component (hereinafter, referred to as an AC component) is encoded by zigzag scanning the quantized output from a low frequency component to a high frequency component at 205 as shown in FIG. I do. That is, transform coefficients whose quantized output is not “0” (hereinafter referred to as significant coefficients) are classified into groups according to their values, and are interposed at 206 between the group identification number and the immediately preceding significant transform coefficient. The quantized output is Huffman-encoded in combination with the number of transform coefficients of “0” (hereinafter referred to as invalid coefficients). Subsequently, which value in the group is represented by an isometric code.

【0015】図1−1は本実施の形態の画像符号化装置
の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an image coding apparatus according to the present embodiment.

【0016】複数種の信号からなる画像信号Y,Pb,
Prのそれぞれが、端子1a,1b,1cより入力され
る。ここでは複数の信号として、カラー画像信号の輝度
信号Yと、色差信号Pb,Prの3つの信号が入力され
るものとしている。各入力信号は、それぞれA/Dコン
バータ3a,3b,3cに入力されてデジタル信号に変
換される。この実施の形態では、輝度信号Yは、色差信
号Pb,Prの2倍のサンプリングレートでサンプリン
グされ、また図示しない線順次化回路で、色差信号は線
順次化されるものとする。これにより、A/D変換後の
各信号のデータ量を比べると、輝度信号Yが“4”に対
し、色差信号Pb、Prはそれぞれ“1”の割合となっ
ている。
The image signals Y, Pb,
Each of Pr is input from terminals 1a, 1b, 1c. Here, it is assumed that three signals of a luminance signal Y of a color image signal and color difference signals Pb and Pr are input as a plurality of signals. Each input signal is input to each of the A / D converters 3a, 3b, 3c and converted into a digital signal. In this embodiment, the luminance signal Y is sampled at twice the sampling rate of the color difference signals Pb and Pr, and the color difference signals are line-sequentialized by a line-sequencing circuit (not shown). As a result, when the data amount of each signal after the A / D conversion is compared, the ratio of the color difference signals Pb and Pr is “1” to the ratio of the luminance signal Y to “4”.

【0017】次に、このデジタル化された各データは、
ブロック化回路5a,5b,5cのそれぞれで、例えば
8×8のブロック毎にまとめられる。各データは前述の
ように、4:1:1のデータ量比になっているため、生
成される各ブロックの画面上での大きさは、輝度信号Y
の1に対し、色差信号Pb,Prは4倍の大きさとな
る。こうしてブロック化された各データは、従来技術で
述べたような可変長圧縮方式により、符号化器7a,7
b,7cのそれぞれにおいて可変長圧縮符号化される
が、この実施の形態においては、特にここで各信号毎に
それぞれ画像データを複数の領域に分割し、これら各領
域において閉じた可変長符号化を行なうようにしてい
る。これらの領域としては、例えば前述の8×8のブロ
ックを40個集めたデータ量からなる領域とする。
Next, each digitized data is
In each of the blocking circuits 5a, 5b, 5c, for example, each block is divided into 8 × 8 blocks. Since each data has a data amount ratio of 4: 1: 1 as described above, the size of each generated block on the screen is equal to the luminance signal Y.
The color difference signals Pb and Pr are four times as large as 1. The data thus blocked are encoded by the encoders 7a, 7a by the variable length compression method as described in the related art.
In this embodiment, the image data is divided into a plurality of regions for each signal, and the variable-length coding is closed in each of these regions. I do it. These areas are, for example, areas having a data amount of 40 forty-eight 8 × 8 blocks.

【0018】上記のようにして、各信号毎に、又各領域
毎に圧縮符号化された生成符号群はメモリ9に書込ま
れ、読み出し時に1つのデータ列にまとめられる。ここ
では、アドレスコントローラ11により、メモリ9より
のデータの読み出し順が制御されており、本実施の形態
においては、前記複数の信号毎に、即ち、輝度信号Y、
色差信号Pb,Pr毎に、符号化された生成符号群が、
画面上で同一の位置に属する領域毎、又は近傍位置に属
する領域毎に時系列的にまとめて読み出される。この読
み出し順については詳しく後述する。
As described above, the generated code group that has been compression-coded for each signal and for each region is written to the memory 9 and is combined into one data string when read. Here, the order of reading data from the memory 9 is controlled by the address controller 11, and in the present embodiment, for each of the plurality of signals, that is, for the luminance signal Y,
For each of the color difference signals Pb and Pr, the generated generated code group is
The data is read out in a time-series manner for each region belonging to the same position on the screen or for each region belonging to a nearby position. This reading order will be described later in detail.

【0019】メモリ9から読み出されたデータ列は、シ
ンクコード付加部13においてシンクコードが所定位置
に挿入され、更に伝送ID付加部15において伝送ID
が挿入される。17は境界情報付加部であり、前述のよ
うに分割された領域に対する生成符号の区切りの情報を
データ列に、例えばマーカーコードのような形で挿入す
る。これより受信側でも各生成符号の区切りが検出で
き、可変長符号の復号が、これら分割領域毎に確実に行
なえるようになる。
In the data sequence read from the memory 9, a sync code is inserted at a predetermined position in a sync code adding unit 13, and a transmission ID is added in a transmission ID adding unit 15.
Is inserted. Reference numeral 17 denotes a boundary information adding unit that inserts information of a generated code delimiter for the divided area into the data string in the form of, for example, a marker code. As a result, the receiving side can detect the break of each generated code, and can reliably decode the variable-length code for each of the divided areas.

【0020】更に、圧縮符号化された生成符号に対し
て、誤り検出・訂正符号化回路19において誤り訂正符
号化が行なわれ、誤り検出・訂正符号のパリティビット
が前記データ列の所定位置に挿入されて伝送される。
Further, the error-correction coding circuit 19 performs error correction coding on the compression-coded generated code, and inserts parity bits of the error detection / correction code into predetermined positions of the data sequence. Transmitted.

【0021】21は伝送路で、即時伝送であれば光ファ
イバ・衛星・マイクロ波等の地上電波・光空間等の伝送
媒体であるし、蓄積伝送であれば、デジタルVTRやD
AT等のテープ上の媒体・フロッピー(登録商標)ディ
スクや光ディスク等の円板状の媒体・半導体メモリ等の
固体の媒体等の記憶媒体となる。この伝送レートについ
ては、元の画像の情報量と圧縮率と要求する伝送時間と
により決定され、数十キロビット/秒から数十メガビッ
ト/秒まで様々である。
Reference numeral 21 denotes a transmission line, which is a transmission medium such as a terrestrial radio wave such as an optical fiber, a satellite, or a microwave for an immediate transmission, an optical space, and a digital VTR or D for a storage transmission.
The storage medium is a medium on a tape such as an AT, a disk-shaped medium such as a floppy (registered trademark) disk or an optical disk, or a solid medium such as a semiconductor memory. The transmission rate is determined by the information amount of the original image, the compression ratio, and the required transmission time, and varies from several tens of kilobits / second to several tens of megabits / second.

【0022】次に受信側の動作について図1−2を参照
して説明する。
Next, the operation of the receiving side will be described with reference to FIG.

【0023】伝送路21から受信したデータは、まずシ
ンクコード検出部23において同期検出され、伝送ID
検出部25において、IDによりそのデータの属性が検
出されて、その情報をもとにしたアドレスコントローラ
27の制御により、一旦メモリ29に蓄えられる。メモ
リ29のデータに対しては、誤り検出・訂正部31にお
いて、データの誤り検出及び訂正が実施され、可能な限
り伝送中に付加された誤りが取り除かれる。また、訂正
しきれなかった誤りがある場合は、そのデータ群にフラ
グを立てておき、後段の補間回路37a,37b,37
cにおいて補間処理が行なわれる。
The data received from the transmission line 21 is first synchronously detected by the sync code detection unit 23, and the transmission ID
The detection unit 25 detects the attribute of the data based on the ID, and temporarily stores the data in the memory 29 under the control of the address controller 27 based on the information. The data in the memory 29 is subjected to data error detection and correction in an error detection / correction unit 31, and errors added during transmission are removed as much as possible. If there is an error that cannot be corrected, a flag is set for the data group, and the interpolation circuits 37a, 37b, 37
Interpolation processing is performed at c.

【0024】そして、境界情報検出部33により、分割
された領域の圧縮符号部の境を検出し、その情報をもと
にアドレスコントローラ27により、メモリ29からの
読み出しアドレスを制御して、データを複数の信号、即
ち本実施の形態においては輝度信号Y,色差信号Pb,
Pr毎に区分けし、かつ分割された領域毎に区分けして
メモリ29から読み出す。こうして区分けされてメモリ
29より読み出されたデータは、復号器35a,35
b,35cにおいてそれぞれ伸長・復号され、補間回路
37a,37b,37cにおいて、訂正しきれなかった
誤りが含まれるデータ群に対して分割領域単位で補間処
理が実施される。補間処理の具体的方法としては、前フ
レームデータを用いた補間などがある。さらに、補間処
理された後、データは逆ブロック回路39a,39b,
39cで各信号毎に元の信号伝送順に戻され、色信号P
b,Prについては図示しない同時化回路で、線順次化
されているデータが復元される。
Then, the boundary information detecting section 33 detects the boundary of the compression code section of the divided area, and based on the information, controls the read address from the memory 29 by the address controller 27 to transfer the data. A plurality of signals, that is, a luminance signal Y, a color difference signal Pb,
The data is read out from the memory 29 by being divided for each Pr and for each divided area. The data thus divided and read from the memory 29 is supplied to the decoders 35a and 35a.
b, 35c, respectively, are decompressed and decoded, and interpolation circuits 37a, 37b, 37c perform an interpolation process on a data group including an error that cannot be completely corrected in units of divided areas. As a specific method of the interpolation processing, there is interpolation using the previous frame data and the like. Further, after the interpolation processing, the data is supplied to the inverse block circuits 39a, 39b,
At 39c, each signal is returned to the original signal transmission order, and the color signal P
With respect to b and Pr, line-sequentialized data is restored by a synchronization circuit (not shown).

【0025】そして各信号は、D/A変換回路41a,
41b,41cでアナログデータに変換されて、端子4
3a,43b,43cよりそれぞれ輝度信号Y,色差信
号Pb,Prの画像信号として出力される。ここで、復
号器35a,35b,35cにおける可変長符号の伸長
・復号に際しては、従来のように符号化された領域分割
がなされていない場合には、一度誤りを起こすと、それ
以降の復号処理が全く行なわれなくなってしまう。しか
し、この実施の形態では前述したように、符号化時に画
像データの領域を分割しており、その境界情報を付加し
て伝送しているために、復号処理よりの復帰を迅速に行
なうことができる。
Each signal is supplied to a D / A conversion circuit 41a,
The data is converted into analog data at 41b and 41c and
3a, 43b and 43c output image signals of a luminance signal Y and color difference signals Pb and Pr, respectively. Here, when the decoders 35a, 35b, and 35c decompress and decode the variable-length code, if an encoded region is not divided as in the related art, once an error occurs, the subsequent decoding processing is performed. Will not be performed at all. However, in this embodiment, as described above, since the area of the image data is divided at the time of encoding and the boundary information is added and transmitted, it is possible to quickly return from the decoding processing. it can.

【0026】次に、図2、図3、図4、図5を参照して
本実施の形態を更に詳しく説明する。
Next, the present embodiment will be described in more detail with reference to FIGS. 2, 3, 4, and 5. FIG.

【0027】図2(A)(B)は伝送対象の画像データ
の一例を示す図で、図2(A)は1枚の画像の輝度信号
Yを、横1280画素、縦1088画素、各画素を8ビ
ットでA/D変換した画像とする。この場合における輝
度信号Yの1枚当たりのデータ容量は、 1,280×1,088×8(ビット)= 11,14
1,120ビット となる。
FIGS. 2A and 2B are diagrams showing an example of image data to be transmitted. FIG. 2A shows a luminance signal Y of one image, which is composed of 1280 pixels horizontally, 1088 pixels vertically, and each pixel. Is an 8-bit A / D-converted image. In this case, the data capacity of one luminance signal Y is 1,280 × 1,088 × 8 (bits) = 11,14
1,120 bits.

【0028】一方、前述のように色差信号Pb,Prの
それぞれは、輝度信号Yに対して1/2のサンプリング
レートでサンプルされ、さらに色差線順次化しているた
め、1枚当たりのデータ容量は図2(B)に示すよう
に、 640×544×8(ビット)= 2,785,280
ビット となる。
On the other hand, as described above, each of the color difference signals Pb and Pr is sampled at a sampling rate of に 対 し て with respect to the luminance signal Y, and is further subjected to color difference line sequential processing. As shown in FIG. 2B, 640 × 544 × 8 (bits) = 2,785,280
Bit.

【0029】従って、輝度信号Y,色差信号Pb,Pr
の合計では、16,711,680(=11,141,120+2,78
5,280 ×2)ビットにより、1枚の画像が構成されている
ことになる。
Accordingly, the luminance signal Y and the color difference signals Pb, Pr
Are 16,711,680 (= 11,141,120 + 2,78
One image is composed of (5,280 × 2) bits.

【0030】さて、ここで(横8画素)×(縦8画素)
をDCTサブブロックとし、図2に示すように、伝送対
象の1画像を各信号毎に、40DCTサブブロックを1
リシンクブロック(横320画素×縦8画素)として分
割する。これを本実施の形態の分割領域として、各分割
領域内で閉じた可変長符号化を行なう。尚、かかる分割
領域は、本実施の形態に限らず他の分割方法であっても
良い。
Here, (horizontal 8 pixels) × (vertical 8 pixels)
Is a DCT sub-block, and as shown in FIG. 2, one image to be transmitted is divided into 40 DCT sub-blocks for each signal.
It is divided as a resync block (320 horizontal pixels × 8 vertical pixels). This is set as a divided region in the present embodiment, and variable length coding closed in each divided region is performed. Note that such a divided area is not limited to the present embodiment, and may be another divided method.

【0031】この場合、輝度信号Yに対しては、1画面
分のデータはリシンクブロックにより、横4、縦136
からなる合計544の領域に分割される。一方、色差信
号Pb,Prに関しては、横2、縦68の合計136の
領域に各々分割される。ここで、1リシンクブロック当
たりのデータ容量は、各信号とも、40×8×8×8=
20,480(ビット)であるが、1リシンクブロック
の画面上でにおける大きさは、図2に示すように、(輝
度信号リシンクブロック):(色差信号ブロック)=
1:4となる。
In this case, with respect to the luminance signal Y, data for one screen is four horizontal pixels and 136 vertical pixels by a resync block.
Are divided into a total of 544 areas. On the other hand, the color difference signals Pb and Pr are each divided into a total of 136 areas of horizontal 2 and vertical 68. Here, the data capacity per resync block is 40 × 8 × 8 × 8 =
The size of one resync block on the screen is (luminance signal resync block) :( color difference signal block) = 20,480 (bits), as shown in FIG.
1: 4.

【0032】図3は本実施の形態における伝送フォーマ
ットの一例を示す図である。
FIG. 3 is a diagram showing an example of a transmission format according to the present embodiment.

【0033】前述したようにして符号化された符号化デ
ータは、リシンクブロック単位で区別することができる
ように、本実施の形態の境界情報(マーカーコード)が
付加されるが、ここではリシンクブロックとリシンクブ
ロックの境界にマーカーコードを挿入する場合の例を示
している。なお、マーカーコードとしては、符号化デー
タでは発生しえないビットパターンを割当てる必要があ
る。
The coded data coded as described above is added with the boundary information (marker code) of the present embodiment so that it can be distinguished in units of resync blocks. And a case where a marker code is inserted at the boundary between the resync block and the resync block. It is necessary to assign a bit pattern that cannot occur in the encoded data as the marker code.

【0034】このようにして境界情報が付加された符号
化データは、更に誤り検出・訂正符号化されるが、ここ
では128シンボル(以降、1シンンボル=8ビットと
する)のデータに対し、4シンボルのパリテイビットが
付加されるものとする。このデータにシンクコード2シ
ンボル、伝送ID2シンボルを付加したものが、伝送単
位となっている。
The coded data to which the boundary information has been added in this manner is further subjected to error detection / correction coding. In this case, data of 128 symbols (hereinafter, 1 symbol = 8 bits) is used for 4 bits. It is assumed that the parity bit of the symbol is added. The data obtained by adding two symbols of the sync code and two symbols of the transmission ID to this data is a transmission unit.

【0035】ここで、符号化データは可変長符号化され
ているため、1リシンクブロック毎の符号化データ列の
長さは一定ではなく、それぞれがまちまちの長さとなる
ため、1つのリシンクブロックのデータが、複数の誤り
検出・訂正ブロックに跨がる場合もあり得る。逆に1つ
の誤り検出・訂正符号のブロックが、いくつものリシン
クブロックのデータより構成される場合もあり、その数
も一定とはならない。そして、1つの誤り検出・訂正符
号のブロックが複数のリシンクブロックより構成される
場合には、この誤り検出・訂正ブロック中の誤りが訂正
不能となった時には、その影響は複数のリシンクブロッ
クにまたがることとなり、当該複数のリシンクブロック
が前述のような補間処理を施されることとなる。
Here, since the coded data is variable-length coded, the length of the coded data sequence for each resync block is not constant, and each data length varies. Data may span a plurality of error detection / correction blocks. Conversely, one error detection / correction code block may be composed of data of a number of resync blocks, and the number is not constant. When one error detection / correction code block is composed of a plurality of resync blocks, when an error in the error detection / correction block becomes uncorrectable, the effect extends to a plurality of resync blocks. That is, the plurality of resync blocks are subjected to the interpolation processing as described above.

【0036】本実施の形態においては、上記のように訂
正不能の誤りが発生した場合においても、その影響が小
さくなるように、符号化データの伝送順も規定してい
る。
In the present embodiment, the transmission order of the encoded data is defined so that even if an uncorrectable error occurs as described above, the effect is reduced.

【0037】いま、図4−1及び図4−2のように各信
号毎にリシンクブロックをナンバリングしたとすると、
各信号毎のデータ量を考慮して、輝度信号Yの4リシン
クブロックに対し、色差信号Pb,Prをそれぞれ1リ
シンクブロック伝送するため、例えば、Y(0,0),
Y(0,1),Pb(0,0),Y(0,2),Y
(0,3),Pr(0,0),Y(1,0),Y(1,
3),Pb(0,1),Y(1,2),Y(1,3),
Pr(0,1),……と伝送したとすると、仮にY
(0,2),Y(0,3),Pr(0,0)が同一誤り
検出・訂正ブロックに含まれ、その誤り検出・訂正ブロ
ックが訂正不能となった場合には、画面上での補間領域
が分散されてしまうこととなる。
Assuming that resync blocks are numbered for each signal as shown in FIGS. 4-1 and 4-2,
In consideration of the data amount of each signal, the color difference signals Pb and Pr are transmitted by one resync block for each of the four resync blocks of the luminance signal Y. For example, Y (0,0),
Y (0,1), Pb (0,0), Y (0,2), Y
(0,3), Pr (0,0), Y (1,0), Y (1,
3), Pb (0, 1), Y (1, 2), Y (1, 3),
Assuming that Pr (0,1),... Is transmitted,
If (0,2), Y (0,3), and Pr (0,0) are included in the same error detection / correction block and the error detection / correction block cannot be corrected, The interpolation area will be dispersed.

【0038】そこで、本実施の形態においては、図5の
ように、例えば、Y(0,0),Y(0,1),Pb
(0,0),Y(1,0),Y(1,1),Pr(0,
0),Y(0,2),Y(0,3),Pb(0,1),
Y(1,2),Y(1,3),Pr(0,1),……ま
たは、Y(0,0),Y(0,1),Y(1,0),Y
(1,1),Pb(0,0),Pr(0,0),Y
(0,2),Y(0,3),Y(1,2),Y(1,
3),Pr(0,1),Pr(0,1),……のよう
に、画面上で同一位置もしくは、近傍位置にあるリシン
クブロックをまとめて伝送するように、アドレスコント
ローラ11を制御する。
Therefore, in the present embodiment, as shown in FIG. 5, for example, Y (0,0), Y (0,1), Pb
(0,0), Y (1,0), Y (1,1), Pr (0,
0), Y (0,2), Y (0,3), Pb (0,1),
Y (1,2), Y (1,3), Pr (0,1),... Or Y (0,0), Y (0,1), Y (1,0), Y
(1,1), Pb (0,0), Pr (0,0), Y
(0,2), Y (0,3), Y (1,2), Y (1,
3), the address controller 11 is controlled so as to collectively transmit resync blocks at the same position or near positions on the screen, such as Pr (0,1), Pr (0,1),. .

【0039】これにより、当該誤り検出・訂正ブロック
が訂正不能となっても、前述のように画面上での補間領
域が分割される確率が少なくなる。
Thus, even if the error detection / correction block becomes uncorrectable, the probability that the interpolation area on the screen is divided as described above is reduced.

【0040】なお、本実施の形態においては、画像デー
タを構成する複数種の信号は、輝度信号Y,色差信号P
b,Prに限定されるものではなく、例えば、RGB,
YUV,YMCK等の信号により構成されていてもよ
い。さらに、画像データを分割する領域の構成方法も、
本実施の形態にあげた分割方法に限定されるものではな
い。
In this embodiment, a plurality of types of signals constituting the image data are a luminance signal Y and a color difference signal P.
b, Pr, but not limited to, for example, RGB,
It may be composed of signals such as YUV, YMCK and the like. Further, a method of configuring an area for dividing image data is also described as follows.
The present invention is not limited to the division method described in the present embodiment.

【0041】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器からなる装置に適用
しても良い。又、本発明はシステム或は装置にプログラ
ムを供給することによって達成される場合にも適用でき
ることは言うまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or an apparatus.

【0042】以上説明したように本実施の形態によれ
ば、圧縮効率において優れている可変長符号化方式の特
徴を損なうことなく、伝送路に混入した誤りを、誤り検
出・訂正符号で訂正しきれない場合においても、その影
響を最小限に抑えることが可能となる。
As described above, according to the present embodiment, the error mixed in the transmission path can be corrected by the error detection / correction code without deteriorating the characteristics of the variable length coding method which is excellent in compression efficiency. Even if it is not possible, the effect can be minimized.

【0043】即ち、伝送路上でデータに誤りが発生し、
受信側でその誤りを訂正しきれない場合においても、そ
の影響はリシンクブロック毎に収束させることができ
る。
That is, an error occurs in the data on the transmission path,
Even if the error cannot be corrected on the receiving side, the effect can be converged for each resync block.

【0044】更に、誤りを訂正しきれなかつた際に行な
う補間処理については、補間処理が施されるリシンクブ
ロックを画面上で位置的に分散させることなく、同一位
置あるいは近傍位置にまとめることができ、画像データ
の劣化を最小限に抑えることが可能となり、人間の視覚
上、劣化が気ならない、極めて良好な画像を再生できる
画像符号化装置を提供することができる。
Further, as for the interpolation processing performed when the error cannot be corrected, the resync blocks to be subjected to the interpolation processing can be grouped at the same position or in a nearby position without being dispersed on the screen. Further, it is possible to minimize the deterioration of the image data, and it is possible to provide an image coding apparatus capable of reproducing an extremely good image without any noticeable deterioration in human eyes.

【0045】[0045]

【発明の効果】以上説明したように本発明によれば、画
像データの輝度信号と色差信号をそれぞれ複数の輝度信
号ブロックと複数の色差信号ブロックに分割して符号化
した符号化データを入力して復号することにより、符号
化された画像データにエラーが発生しても画像の乱れを
少なくして再生できるという効果がある。
As described above, according to the present invention, encoded data obtained by dividing a luminance signal and a color difference signal of image data into a plurality of luminance signal blocks and a plurality of color difference signal blocks, respectively, and inputting them is input. By decoding the image data, even if an error occurs in the encoded image data, the image data can be reproduced with less disturbance of the image.

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

【図1−1】本実施の形態の画像符号化装置の概略構成
を示すブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of an image encoding device according to the present embodiment.

【図1−2】本実施の形態の画像符号化装置の概略構成
を示すブロック図である。
FIG. 1-2 is a block diagram illustrating a schematic configuration of an image encoding device according to the present embodiment.

【図2】本実施の形態において符号化される画像データ
の構成を示す図である。
FIG. 2 is a diagram showing a configuration of image data encoded in the present embodiment.

【図3】本実施の形態における伝送フォーマットの一例
を示す図である。
FIG. 3 is a diagram illustrating an example of a transmission format according to the present embodiment.

【図4−1】本実施の形態における輝度信号Yのリシン
クブロックの番号構成例を示す図である。
FIG. 4-1 is a diagram illustrating an example of a number configuration of a resync block of a luminance signal Y according to the present embodiment.

【図4−2】本実施の形態における色差信号のリシンク
ブロックの番号構成例を示す図である。
FIG. 4-2 is a diagram illustrating an example of a number configuration of a resync block of a color difference signal according to the present embodiment.

【図5】本実施の形態におけるリシンクブロックの伝送
順序を示す図である。
FIG. 5 is a diagram showing a transmission order of resync blocks in the present embodiment.

【図6】本実施の形態の画像符号化装置の概略構成を示
すブロック図である。
FIG. 6 is a block diagram illustrating a schematic configuration of an image encoding device according to the present embodiment.

【図7】図6の可変長符号化方式を説明するための図で
ある。
FIG. 7 is a diagram for explaining the variable-length coding system of FIG.

【図8】図6の可変長符号化方式を説明するための図で
ある。
FIG. 8 is a diagram for explaining the variable-length coding system of FIG.

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

3a,3b,3c A/Dコンバータ 5a,5b,5c ブロック化部 7a,7b,7c 符号化部 9,29 メモリ 11,27 アドレスコントローラ 13 シンクコード付加部 15 伝送ID付加部 17 境界情報付加部 19 誤り訂正符号化 21 伝送路 35a,35b,35c 復号器 37a,37b,37c 補間部 39a,39b,39c 逆ブロック化部 41a,41b,41c D/Aコンバータ 3a, 3b, 3c A / D converter 5a, 5b, 5c Blocking unit 7a, 7b, 7c Encoding unit 9, 29 Memory 11, 27 Address controller 13 Sync code adding unit 15 Transmission ID adding unit 17 Boundary information adding unit 19 Error correction encoding 21 Transmission path 35a, 35b, 35c Decoder 37a, 37b, 37c Interpolator 39a, 39b, 39c Deblocker 41a, 41b, 41c D / A converter

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C057 AA03 AA06 CE10 EA01 EA02 EA07 EH01 EL01 EM09 EM13 EM16 EN04 EN06 GG01 5C059 LB11 LC03 MA23 MC11 MC38 ME02 PP15 PP16 RC04 RC22 RC24 RF05 RF18 UA02 UA05 UA33 5J064 AA01 BA09 BB04 BB08 BC01 BC02 BC06 BC07 BC16 BD01 ──────────────────────────────────────────────────続 き Continued on the front page F-term (reference) BC02 BC06 BC07 BC16 BD01

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 画像データを構成する輝度信号と色差信
号を夫々複数の輝度信号ブロックと複数の色差信号ブロ
ックに分割し、前記各信号を表わす各ブロックを可変長
符号化し、1画面分に満たない所定数の前記輝度信号ブ
ロックの符号化データと、当該所定数の前記輝度信号ブ
ロックと画像空間上で同一位置にある所定数の色差信号
ブロックの符号化データとを単位に順次符号化データが
配置されている伝送ブロックを順次入力して復号する画
像復号装置であって、 前記入力された伝送ブロックから前記輝度信号ブロック
の符号化データと前記色差信号ブロックの符号化データ
とを分離する分離手段と、 前記分離手段により分離された輝度信号ブロックの符号
化データ及び色差信号ブロックの符号化データを復号す
る復号手段と、を有することを特徴とする画像復号装
置。
1. A luminance signal and a chrominance signal constituting image data are divided into a plurality of luminance signal blocks and a plurality of chrominance signal blocks, respectively, and each block representing each of the signals is subjected to variable-length coding to fill one screen. The encoded data of the predetermined number of the luminance signal blocks and the encoded data of the predetermined number of the color difference signal blocks at the same position in the image space as the predetermined number of the luminance signal blocks are sequentially encoded data. An image decoding apparatus for sequentially inputting and decoding arranged transmission blocks, comprising: separating means for separating encoded data of the luminance signal block and encoded data of the color difference signal block from the input transmission block. And decoding means for decoding the encoded data of the luminance signal block and the encoded data of the chrominance signal block separated by the separating means. Image decoding apparatus according to claim and.
【請求項2】 画像データを構成する輝度信号と色差信
号を夫々複数の輝度信号ブロックと複数の色差信号ブロ
ックに分割し、前記各信号を表わす各ブロックを可変長
符号化し、1画面分に満たない所定数の前記輝度信号ブ
ロックの符号化データと、当該所定数の前記輝度信号ブ
ロックと画像空間上で同一位置にある所定数の色差信号
ブロックの符号化データとを単位に順次符号化データが
配置されている伝送ブロックを順次入力して復号する画
像復号化方法であって、 前記入力された伝送ブロックから前記輝度信号ブロック
の符号化データと前記色差信号ブロックの符号化データ
とを分離する分離工程と、 前記分離工程で分離された輝度信号ブロックの符号化デ
ータ及び色差信号ブロックの符号化データを復号する復
号工程と、を有することを特徴とする画像復号方法。
2. A luminance signal and a chrominance signal constituting image data are divided into a plurality of luminance signal blocks and a plurality of chrominance signal blocks, respectively, and each block representing each signal is subjected to variable-length coding to fill one screen. The encoded data of the predetermined number of the luminance signal blocks and the encoded data of the predetermined number of the color difference signal blocks at the same position in the image space as the predetermined number of the luminance signal blocks are sequentially encoded data. What is claimed is: 1. An image decoding method for sequentially inputting and decoding arranged transmission blocks, comprising: separating encoded data of the luminance signal block and encoded data of the chrominance signal block from the input transmission block. And a decoding step of decoding the encoded data of the luminance signal block and the encoded data of the chrominance signal block separated in the separation step. Image decoding method comprising.
JP2001180491A 2001-06-14 2001-06-14 Image decoding method and apparatus Expired - Fee Related JP3542572B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001180491A JP3542572B2 (en) 2001-06-14 2001-06-14 Image decoding method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001180491A JP3542572B2 (en) 2001-06-14 2001-06-14 Image decoding method and apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP3095516A Division JPH04326255A (en) 1991-04-25 1991-04-25 Method and device for encoding image

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2003313078A Division JP3826123B2 (en) 2003-09-04 2003-09-04 Image coding method and apparatus

Publications (2)

Publication Number Publication Date
JP2002077915A true JP2002077915A (en) 2002-03-15
JP3542572B2 JP3542572B2 (en) 2004-07-14

Family

ID=19020904

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001180491A Expired - Fee Related JP3542572B2 (en) 2001-06-14 2001-06-14 Image decoding method and apparatus

Country Status (1)

Country Link
JP (1) JP3542572B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113382251B (en) * 2019-06-21 2022-04-08 杭州海康威视数字技术股份有限公司 Encoding and decoding method, device, equipment and storage medium

Also Published As

Publication number Publication date
JP3542572B2 (en) 2004-07-14

Similar Documents

Publication Publication Date Title
US5790265A (en) Image coding/decoding method and apparatus
JP3428033B2 (en) Digital VTR
US7072404B2 (en) Decoding apparatus, control method therefor, and storage medium
US6301304B1 (en) Architecture and method for inverse quantization of discrete cosine transform coefficients in MPEG decoders
US6912318B2 (en) Method and system for compressing motion image information
JPH05115007A (en) Picture transmission method
JP4541896B2 (en) Apparatus and method for multiple description encoding
US5995171A (en) Coding and/or decoding apparatus for decoding variable-length coded image information
JPWO2002080574A1 (en) Image processing apparatus, image processing method, image processing program, and recording medium
JP3202433B2 (en) Quantization device, inverse quantization device, image processing device, quantization method, inverse quantization method, and image processing method
JP3880088B2 (en) Encoding device and decoding device
JPH08256308A (en) Method for arranging and restoring bit stream in digital video tape recorder and data compressing apparatus and decompressing apparatus suitable therefor
JPH0622294A (en) Picture coder
AU2002230101A2 (en) Moving picture information compressing method and its system
US6631161B1 (en) Method and system for compressing motion image information
JP3542572B2 (en) Image decoding method and apparatus
JP3826123B2 (en) Image coding method and apparatus
JPH08275153A (en) Image compressor and image decoder
JP3287582B2 (en) Image transmission apparatus and image transmission method
JP2012004898A (en) Storage device, encoding device, encoding method, and program
JP3958033B2 (en) Method and system for compressing moving picture information
JPH0646369A (en) Video signal processor
KR20030083703A (en) Moving picture information compressing method and its system
JP3262341B2 (en) Image processing apparatus and method
JPH10271502A (en) Compression method for moving image information and its system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030707

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20031128

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040213

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040331

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090409

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090409

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100409

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110409

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees