JP3446240B2 - Encoding method and encoding device - Google Patents

Encoding method and encoding device

Info

Publication number
JP3446240B2
JP3446240B2 JP09695893A JP9695893A JP3446240B2 JP 3446240 B2 JP3446240 B2 JP 3446240B2 JP 09695893 A JP09695893 A JP 09695893A JP 9695893 A JP9695893 A JP 9695893A JP 3446240 B2 JP3446240 B2 JP 3446240B2
Authority
JP
Japan
Prior art keywords
coefficient data
data
area
component
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP09695893A
Other languages
Japanese (ja)
Other versions
JPH06290551A (en
Inventor
真史 内田
哲二郎 近藤
秀雄 中屋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP09695893A priority Critical patent/JP3446240B2/en
Publication of JPH06290551A publication Critical patent/JPH06290551A/en
Application granted granted Critical
Publication of JP3446240B2 publication Critical patent/JP3446240B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、直交変換符号化およ
び可変長符号化を含む符号化を行う符号化方法および符
号化装置に関する。
BACKGROUND OF THE INVENTION The present invention relates to orthogonal transform coding and coding.
And coding method for performing coding including variable-length coding
It relates to an encoding device .

【0002】[0002]

【従来の技術】ディジタル画像データのデータ伝送量を
圧縮する場合に、2次元コサイン変換(Discrete Cosin
e Transform :以下DCTという)などの直交変換を用
いる符号化方法が従来から提案されている。
2. Description of the Related Art When compressing the data transmission amount of digital image data, two-dimensional cosine transform (Discrete Cosin conversion)
An encoding method using an orthogonal transform such as e Transform (hereinafter referred to as DCT) has been conventionally proposed.

【0003】DCTによる符号化方式は、1フレームの
テレビジョン信号を水平方向のn画素×垂直方向のm画
素からなる複数個の小ブロックに分割し、各ブロックに
対してDCTを施し、その結果得られた直流成分の係数
データと、複数個の交流成分の係数データを各交流成分
の出現確率に応じてビット長の異なるエントロピー符
号、例えばハフマンコードに変換して伝送する。
In the DCT-based coding method, a television signal of one frame is divided into a plurality of small blocks each consisting of n pixels in the horizontal direction and m pixels in the vertical direction, and DCT is applied to each block. The obtained DC component coefficient data and a plurality of AC component coefficient data are converted into entropy codes having different bit lengths, for example, Huffman codes according to the appearance probability of each AC component, and then transmitted.

【0004】[0004]

【発明が解決しようとする課題】ところで、上述のよう
にして圧縮した画像データをディジタルVTRに記録す
ることが考えられるが、このディジタルVTRでは、高
速サーチ動作において、出来るだけ良好な再生画像が得
られることが好ましい。
By the way, it is conceivable to record the image data compressed as described above in a digital VTR. However, in this digital VTR, a reproduced image as good as possible can be obtained in a high speed search operation. Preferably.

【0005】この高速サーチ時には、回転ヘッドが複数
の記録トラックに跨って走査するため再生データは断続
的にしか得られない。ところが、ハフマンコードなどの
エントロピー符号はビット長が可変長で、しかも、発生
するハフマンコードは連続的に記録されている。従っ
て、断続的にしか再生データが得られない高速サーチ時
には、ハフマンコードの復号化が困難になる。
At the time of this high-speed search, the rotary head scans over a plurality of recording tracks, so that the reproduced data can be obtained only intermittently. However, an entropy code such as a Huffman code has a variable bit length, and the generated Huffman code is continuously recorded. Therefore, it is difficult to decode the Huffman code at the time of high-speed search in which the reproduced data can be obtained only intermittently.

【0006】また、ビット長が可変のハフマンコードを
連続的に記録しているため、1つのコード中でビットエ
ラーが発生した場合、その影響がそれ以降のコードにも
伝播して、コード識別が出来なくなり、エラーの発生し
たコードによっては、エラーの伝播が該当ブロックにと
どまらず他のブロックまで及ぶ可能性がある。
Further, since the Huffman code having a variable bit length is continuously recorded, when a bit error occurs in one code, the influence is propagated to the subsequent codes and the code identification is performed. Depending on the code that has become impossible and the error has occurred, the error may not be propagated to the relevant block but to other blocks.

【0007】以上の問題点を解決する手段として、直流
成分を定められた位置に固定長で記録する、という手段
は既に一般的となっているが、交流成分の取扱方として
提唱されているものに、重要度の高い交流成分の係数デ
ータをあらかじめ定められた個数だけ、定められた位置
に、固定長記録するというものがある。
As a means for solving the above problems, a method of recording a direct current component at a fixed position with a fixed length has already become common, but it has been proposed as a method of handling an alternating current component. There is a method of recording fixed-length fixed-length AC coefficient data of a high degree of importance in a predetermined number.

【0008】しかしながら、この手法にはデータを固定
長化するため符号化効率が劣化する欠点があり、また、
実際にはそれほど多くの交流成分を記録することが出来
ないため、高速サーチ時にもエラー発生時にもそれほど
良好な画像が得られない欠点があった。
However, this method has a drawback that the coding efficiency is deteriorated because the data is fixed in length, and
In reality, it is impossible to record such a large amount of AC components, so that there is a drawback in that a very good image cannot be obtained during a high-speed search or when an error occurs.

【0009】また、本願出願人の提案にかかる特開
−322591号公報には、重要度の高い交流成分の係
数データを、あらかじめ定められた個数だけ、定められ
た位置に、可変長記録するものが開示されている。
Further, JP flat 4 according to the proposal of the present applicant
Japanese Patent No. 322591 discloses a variable length recording of a predetermined number of coefficient data of AC components of high importance at a predetermined position.

【0010】この手法は、発生情報量が一切増大しない
という利点はあるが、上記の手法と同様に、多くの交流
成分を記録することが出来ないため、高速サーチ時にも
エラー発生時にもそれほど良好な画像が得られない問題
点があった。
This method has the advantage that the amount of generated information does not increase at all, but like the method described above, many AC components cannot be recorded, so that it is very good both during high-speed search and when an error occurs. There was a problem that a good image could not be obtained.

【0011】さらに、交流成分の係数データを重要度の
高いほうから順に、定められた量だけ定められた位置
に、配置記録するという手法も可能である。この手法
は、発生情報量が一切増大せず、多くの交流成分を記録
することが出来るため、高速サーチ時にもエラー発生時
にも非常に良好な画像が得られる。
Furthermore, it is possible to arrange and record the coefficient data of the AC component in order from the most important one at a predetermined position by a predetermined amount. With this method, the amount of generated information does not increase at all, and many AC components can be recorded. Therefore, a very good image can be obtained during high-speed search and when an error occurs.

【0012】しかしながら、重要度の高い交流成分デー
タにおいてエラーが発生した場合は、それ以降の交流成
分データすべての切り出しが不可能のなるため、そのブ
ロックのコンシールが極めて困難であり、良好な復元画
像を得るのは難しい、という問題点がある。
However, when an error occurs in the AC component data having a high degree of importance, it is impossible to cut out all the AC component data thereafter, so that it is extremely difficult to conceal the block, and a good restored image is obtained. Is difficult to obtain.

【0013】この発明の目的は、以上の問題点を解決し
符号化方法および符号化装置を提供することにある。
An object of the present invention is to provide an encoding method and an encoding device that solve the above problems.

【0014】[0014]

【課題を解決するための手段】この発明は、複数の画素
からなるブロックを単位として直交変換して得られた係
数データを可変長符号化して伝送する符号化方法におい
て、係数データの内の直流成分の係数データを伝送単位
ブロック内の定められた第1の領域の先頭から配置する
第1のステップと、 伝送単位ブロックの残りの領域が交
流成分の係数データが配される第2の領域とされ、第2
の領域の全領域が可変長符号化で発生するコードの最大
長以上の第3の領域によって分割され、 係数データの内
の交流成分の係数データの内で比較的重要度が高い係数
データのそれぞれを、第3の領域のそれぞれの先頭から
配置する第2のステップと、 交流成分の係数データの内
の残りの係数データを伝送単位ブロック内の第2の領域
中の空き領域に配置する第3のステップとからなること
を特徴とする符号化方法である。
SUMMARY OF THE INVENTION The present invention provides a plurality of pixels.
The coefficient obtained by orthogonally transforming the block consisting of
In a coding method for variable-length coding and transmitting numerical data , coefficient data of a DC component of coefficient data is a transmission unit.
Place from the beginning of the defined first area in the block
The first step and the remaining area of the transmission unit block intersect.
It is set as the second area in which the coefficient data of the flow component is arranged.
The maximum number of codes generated by variable-length coding
Of the coefficient data, it is divided by the third area that is longer than
Coefficients of relatively high importance among coefficient data of AC components of
Each of the data from the beginning of each of the third areas
In the second step of arranging and in the coefficient data of the AC component
Of the remaining coefficient data of the second unit in the transmission unit block
The encoding method is characterized by comprising a third step of arranging in an empty area inside .

【0015】[0015]

【作用】所定伝送単位毎に係数データのうちの直流成分
と、交流成分の係数データが重要度の高いほうから順
に、定められた量(個数ではなく)だけ、定められた位
置に配置されて伝送(例えば記録)されていて、しか
も、重要度の高いいくつかの交流成分の係数データに関
しては、それぞれ独立の位置に配置されている。この結
果、例えばディジタルVTRの高速サーチ時において
は、これらの係数データを抽出でき、復号化できる。ま
た、これらの係数データは、定められた位置に配置され
ているので、エラーの影響を受けずに復号化できる。そ
して、これらの係数データは、ブロック単位の画像デー
タ内の重要な成分であって、これらを復号できれば、良
好な復元画像が得られ、高速サーチ時やエラーが生じた
ときの復元画像の画質が向上する。
The DC component of the coefficient data and the AC component of the AC component are arranged in a predetermined position in order from the most important one by a predetermined amount (not in number) for each predetermined transmission unit. The coefficient data of some AC components that have been transmitted (for example, recorded) and have high importance are arranged at independent positions. As a result, these coefficient data can be extracted and decoded at the high speed search of the digital VTR, for example. Further, since these coefficient data are arranged at the determined positions, they can be decoded without being affected by the error. These coefficient data are important components in the image data in block units, and if these can be decoded, a good restored image can be obtained, and the image quality of the restored image at the time of high-speed search or when an error occurs improves.

【0016】特に、重要度の高いいくつかの交流成分の
係数データに関しては、独立の領域に記録されているの
で、前のデータのエラーに関係なく独立にデータを切り
出すことが出来る。従って、従来よりも多くのデータを
切り出すことが出来るので、コンシールが容易になり復
元画像の画質が向上する。
Particularly, the coefficient data of some AC components having a high degree of importance are recorded in independent areas, so that the data can be independently cut out regardless of the error of the previous data. Therefore, more data can be cut out than in the past, so that concealment is facilitated and the quality of the restored image is improved.

【0017】[0017]

【実施例】以下、この発明による高能率符号化データの
伝送方法を、ディジタルVTRの記録系に適用した場合
の実施例を、図を参照しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the high efficiency coded data transmission method according to the present invention is applied to a digital VTR recording system will be described below with reference to the drawings.

【0018】図1は、ディジタルVTRの記録系の一実
施例を示すものである。すなわち、入力端子11を通じ
て入力されたラスター走査形式の画像信号は、A/Dコ
ンバータ12に供給され、1画素サンプルが例えば8ビ
ットのディジタル画像信号に変換される。このディジタ
ル画像信号はブロック化回路13に供給される。
FIG. 1 shows an embodiment of a digital VTR recording system. That is, the raster scanning format image signal input through the input terminal 11 is supplied to the A / D converter 12 and one pixel sample is converted into, for example, an 8-bit digital image signal. This digital image signal is supplied to the blocking circuit 13.

【0019】このブロック化回路13は、1フレーム分
のディジタル画像信号を記録できる容量のメモリを有
し、例えば、(水平方向の8画素)×(垂直方向の8画
素(ライン))からなる領域を1画像ブロックとして、
1フレーム(1画面分)のディジタル画像信号が複数個
の画像ブロックに分割される。この場合、1画像ブロッ
クには64画素サンプルが含まれる。
The blocking circuit 13 has a memory having a capacity capable of recording a digital image signal for one frame, and is, for example, an area of (8 pixels in the horizontal direction) × (8 pixels (line) in the vertical direction). As one image block,
A digital image signal of one frame (one screen) is divided into a plurality of image blocks. In this case, one image block contains 64 pixel samples.

【0020】また、このブロック化回路13では、入力
画像信号中のデータが存在しないブランキング期間が取
り除かれると共に、有効データが連続するものとされ、
データ系列中にデータ欠如期間が形成される。
Further, in the blocking circuit 13, the blanking period in which the data in the input image signal does not exist is removed, and the effective data is made continuous.
A data lack period is formed in the data series.

【0021】ブロック化回路13からの各画像ブロック
のデータは、シャッフリング回路14に供給される。シ
ャッフリング回路14では、画像ブロックの単位で、1
フレーム内のすべての画像ブロックが、1フレーム中で
所定の規則に従って並び換えられる処理がなされる。こ
のシャッフリング処理は、メモリのアドレス制御で実行
される。
The data of each image block from the blocking circuit 13 is supplied to the shuffling circuit 14. In the shuffling circuit 14, the image block unit is 1
All the image blocks in the frame are rearranged according to a predetermined rule in one frame. This shuffling processing is executed by address control of the memory.

【0022】シャッフリング回路14の出力信号は、符
号化部20のDCT変換回路21に供給される。このD
CT変換回路21では、画像ブロック毎にDCT変換処
理がなされ、このDCT変換回路21からは、複数個
の、例えばブロックサイズに対応する8×8の係数デー
タが得られる。係数データは、図2Aに示すように、直
流成分の係数データDCと、複数個の交流成分の係数デ
ータACi(i=1〜63)とからなる。
The output signal of the shuffling circuit 14 is supplied to the DCT conversion circuit 21 of the encoding section 20. This D
In the CT conversion circuit 21, a DCT conversion process is performed for each image block, and from this DCT conversion circuit 21, a plurality of, for example, 8 × 8 coefficient data corresponding to the block size is obtained. As shown in FIG. 2A, the coefficient data includes DC component coefficient data DC and a plurality of AC component coefficient data ACi (i = 1 to 63).

【0023】DCT変換回路21からの係数データはブ
ロック走査回路22に供給され、このブロック走査回路
22から、各ブロック毎の係数データが、図2Bに示す
ように、直流成分DCから交流成分の周波数的に高い方
向に向かってジグザグ走査する状態で出力される。図2
Bにおいて、0、1、2、・・・と記載した数値は出力
される順番を示している。一般にDCT係数において
は、低周波成分の方が高周波成分よりも視覚的に重要で
あり、このブロック走査回路22において、交流成分係
数が重要度の高い順に並び換えられる。
The coefficient data from the DCT conversion circuit 21 is supplied to the block scanning circuit 22. From the block scanning circuit 22, the coefficient data for each block is changed from the frequency of the direct current component DC to the frequency of the alternating current component as shown in FIG. 2B. It is output in a state of performing zigzag scanning toward a relatively high direction. Figure 2
In B, the numerical values described as 0, 1, 2, ... Show the output order. Generally, in the DCT coefficient, the low-frequency component is visually more important than the high-frequency component, and in the block scanning circuit 22, the AC component coefficient is rearranged in the descending order of importance.

【0024】ブロック走査回路22からの係数データ
は、再量子化回路23に供給される。この再量子化回路
23では、係数データがバッファコントロール回路27
からの量子化ステップ幅で量子化される。
The coefficient data from the block scanning circuit 22 is supplied to the requantization circuit 23. In the requantization circuit 23, the coefficient data is stored in the buffer control circuit 27.
Is quantized with the quantization step width from.

【0025】再量子化回路23の出力信号は、可変長符
号化回路25に供給される。この可変長符号化回路25
は、例えばハフマン符号のような可変長符号により係数
データの交流分を符号化する。可変長符号化回路25の
出力データがバッファメモリ26に供給される。バッフ
ァメモリ26は、係数データが所定の伝送レート、すな
わち、この例のディジタルVTRの場合であれば、テー
プ記録再生変換系の伝送レートを越えないように、レー
ト変換するために設けられている。すなわち、このバッ
ファメモリ26の入力側のデータレートは可変である
が、出力側のデータレートがほぼ一定となる。
The output signal of the requantization circuit 23 is supplied to the variable length coding circuit 25. This variable length coding circuit 25
Encodes the AC component of the coefficient data with a variable length code such as Huffman code. The output data of the variable length coding circuit 25 is supplied to the buffer memory 26. The buffer memory 26 is provided to perform rate conversion so that the coefficient data does not exceed a predetermined transmission rate, that is, in the case of the digital VTR of this example, the transmission rate of the tape recording / reproducing conversion system. That is, the data rate on the input side of the buffer memory 26 is variable, but the data rate on the output side is substantially constant.

【0026】また、このバッファメモリ26において、
伝送データ量の変動が検出され、検出出力がバッファコ
ントロール回路27に供給される。バッファコントロー
ル回路27は、再量子化回路23の量子化ステップ幅を
制御し、可変長符号化回路25において出力される伝送
されるデータが所定のデータ量となるよう制御する。例
えば伝送データ量が多過ぎる時には、量子化ステップ幅
が大きくされ、伝送データ量が減少される。なお、この
例のようなフィードバック制御に限らず、再量子化回路
23の量子化ステップ幅を制御して、所定期間の発生デ
ータ量を制御するフィードフォワード形式のバッファリ
ング処理を行うようにしても良い。
In the buffer memory 26,
A change in the amount of transmitted data is detected, and the detected output is supplied to the buffer control circuit 27. The buffer control circuit 27 controls the quantization step width of the requantization circuit 23 and controls the transmitted data output from the variable length coding circuit 25 to have a predetermined data amount. For example, when the amount of transmitted data is too large, the quantization step width is increased and the amount of transmitted data is reduced. Not only the feedback control as in this example, but also the feedforward type buffering process for controlling the quantization step width of the requantization circuit 23 to control the amount of generated data in a predetermined period may be performed. good.

【0027】バッファメモリ26からの出力信号は、フ
レーム化回路28に供給され、所定のデータ量毎にシン
クブロックが構成され、このシンクブロックが連続する
フレーム構成のデータ配列に係数データが並び換えられ
る。この発明は、このフレーム化回路28でなされる処
理に特徴を有する。
The output signal from the buffer memory 26 is supplied to the framing circuit 28, a sync block is formed for each predetermined data amount, and the coefficient data is rearranged into a data array having a frame structure in which the sync blocks are continuous. . The present invention is characterized by the processing performed by the framing circuit 28.

【0028】図3はシンクブロックSBの構成の一例を
示す。シンクブロックSBは複数個の伝送単位ブロック
BLから形成される。この伝送単位ブロックBLは、こ
の例では、図4に示すように17バイト(=136ビッ
ト)で構成され、量子化ステップ幅を表すしきい値TH
と、直流成分の係数データDC、交流成分の係数データ
ACがこの伝送単位ブロックBLの定められた位置、す
なわち、第1の領域に配置される。
FIG. 3 shows an example of the structure of the sync block SB. The sync block SB is composed of a plurality of transmission unit blocks BL. In this example, the transmission unit block BL is composed of 17 bytes (= 136 bits) as shown in FIG. 4, and has a threshold value TH representing a quantization step width.
Then, the coefficient data DC of the DC component and the coefficient data AC of the AC component are arranged in the determined position of the transmission unit block BL, that is, in the first area.

【0029】図4の例では、しきい値THに6ビット、
直流成分の係数データDCに10ビットが割り当てられ
る。また、交流成分の係数データACのための第2の領
域としては、15バイト(=120バイト)が割り当て
られている。さらに、交流成分用の第2の領域は、使用
されるハフマンコードの中で最長のものと等しい長さの
第3の領域に分割されている。図4の例では、使用され
るハフマンコードが最長24ビット(=3バイト)とし
て、交流成分用の第2の領域が3バイト毎に5分割さ
れ、交流成分AC1〜AC5用の第3の領域とされてい
る。
In the example of FIG. 4, the threshold TH is 6 bits,
10 bits are allocated to the coefficient data DC of the DC component. Also, 15 bytes (= 120 bytes) are allocated as the second area for the AC component coefficient data AC. Furthermore, the second area for the AC component is divided into a third area of equal length to the longest of the Huffman codes used. In the example of FIG. 4, the maximum length of the Huffman code used is 24 bits (= 3 bytes), and the second area for the AC component is divided into 5 by 3 bytes, and the third area for the AC components AC1 to AC5. It is said that.

【0030】以下、図5〜図7を使用して、この発明の
特徴とするデータ伝送方法、すなわち、フレーム化回路
28でなされる処理について説明する。以下の例は、1
シンクブロック内に2伝送単位ブロックが含まれ、この
1シンクブロック単位でバッファリングが行われている
例である。
The data transmission method that is a feature of the present invention, that is, the processing performed by the framing circuit 28 will be described below with reference to FIGS. The following example is 1
This is an example in which two transmission unit blocks are included in a sync block and buffering is performed in units of one sync block.

【0031】固定長データであるしきい値および直流成
分データは、それぞれの伝送単位ブロックBLの定めら
れた第1の領域、例えば先頭の2バイトの区間に配置さ
れる。伝送単位ブロックBLの他の領域が交流成分の係
数データ用の第2の領域である。
The threshold value and the DC component data, which are fixed length data, are arranged in a defined first area of each transmission unit block BL, for example, in the leading 2-byte section. The other area of the transmission unit block BL is the second area for the AC component coefficient data.

【0032】比較的重要度の高い交流成分データ(この
場合AC1〜AC5)に関しては、予め用意されている
第3の領域のそれぞれに配置される。各領域は前述の様
に、使用される最長のハフマンコード分、用意されてい
るので、AC1〜AC5の各係数データは、必ず用意さ
れた領域内に配置できる。この様子を図5に示す。
The AC component data of relatively high importance (AC1 to AC5 in this case) are arranged in each of the third areas prepared in advance. Since each area is prepared for the longest Huffman code to be used as described above, each coefficient data of AC1 to AC5 can be arranged in the prepared area without fail. Shows the this state is shown in FIG 5.

【0033】重要度の低い交流成分データ(この場合は
AC6〜)に関しては、重要度の高い交流成分データが
記録された後、伝送単位ブロックBL内の空いている領
域に順次先詰めされて挿入され配置される。この様子を
図6に示す。
With respect to the AC component data of low importance (AC6 to AC6 in this case), after the AC component data of high importance is recorded, it is sequentially inserted into the vacant area in the transmission unit block BL and inserted. Is placed. This state is shown in FIG.

【0034】バッファリングは各伝送単位ブロック単位
では行われていないため、全ての交流成分データを配置
できない伝送単位ブロックが発生することがある。図6
の列では、伝送単位ブロック2において容量が不足し、
AC24の一部とEOBが配置できていない。
Since buffering is not performed for each transmission unit block, there may occur a transmission unit block in which all AC component data cannot be arranged. Figure 6
In the column of, the capacity in the transmission unit block 2 is insufficient,
Part of AC24 and EOB are not placed.

【0035】以上の手順により、配置できなかったデー
タは、バッファリング単位(この例ではシンクブロック
に等しい)で見て、余っている領域に順次先詰めされて
挿入され配置される。この様子を図7に示す。先ほど、
配置できなかった、伝送単位ブロック2のAC24の一
部とEOBが、伝送単位ブロック1の空き領域に配置さ
れている。データ配置処理のフローチャートを図8に示
す。
By the above procedure, the data which cannot be arranged is sequentially inserted and arranged in the remaining area in the buffering unit (equal to the sync block in this example). This state is shown in FIG. Earlier,
A part of the AC 24 of the transmission unit block 2 and the EOB, which could not be arranged, are arranged in the empty area of the transmission unit block 1. A flowchart of the data arrangement process is shown in FIG.

【0036】図8に示すように、第1のステップでは、
しきい値および直流成分の係数データが伝送単位ブロッ
ク内の定められた第1の領域に配置される。次の第2の
ステップでは、交流分の係数データの中の重要度が比較
的高いデータ、上述の例では、AC1〜AC5が交流成
分用の第2の領域の定められた第3の領域に配置され
る。第3のステップでは、伝送単位ブロック内の空き領
域に対して、残りの交流成分の係数データが詰め込まれ
る。
As shown in FIG. 8, in the first step,
The threshold value and the coefficient data of the DC component are arranged in the defined first area in the transmission unit block. In the next second step, the data of relatively high importance in the coefficient data of the alternating current, AC1 to AC5 in the above example, are set in the defined third region of the second region for the alternating current component. Will be placed. In the third step, the remaining AC component coefficient data is packed into the empty area in the transmission unit block.

【0037】第2のステップと第3のステップの間に、
すべてのデータの配置を終了したかどうかの判定のステ
ップが存在する。第3のステップが終わった時点で、ま
だ、その伝送単位ブロックに詰め込めなかったデータが
ある時には、シンクブロックの全体に生じた空き領域
に、未配置の交流成分の係数データが詰め込まれる。こ
のようにしてフレーム化の処理が終了する。
Between the second step and the third step,
There is a step of determining whether or not the arrangement of all data has been completed. At the time when the third step is completed, if there is data that cannot be packed in the transmission unit block, coefficient data of the unallocated AC component is packed in the empty area generated in the entire sync block. In this way, the framing process is completed.

【0038】図1に戻って説明すると、フレーム化回路
28の出力信号は、パリティ発生回路15に供給され
て、例えば積符号構成のエラー訂正用符号の符号化がな
され、そのパリティデータが生成付加される。このパリ
ティデータが付加された圧縮画像データが、ディジタル
変調回路16に供給されて、ディジタル変調がなされ
る。そして、ディジタル変調回路16の出力信号が並列
一直列変換回路17に供給され、直列データの記録信号
とされる。並列一直列変換回路17からの直列の記録信
号は、回転ヘッドによりテープに例えば1フレームのデ
ータ当り4本の斜めトラックとして磁気記録される。
Returning to FIG. 1, the output signal of the framing circuit 28 is supplied to the parity generating circuit 15 and, for example, the error correcting code having the product code structure is encoded, and the parity data is generated and added. To be done. The compressed image data to which the parity data is added is supplied to the digital modulation circuit 16 and digitally modulated. Then, the output signal of the digital modulation circuit 16 is supplied to the parallel-to-serial conversion circuit 17 to be a serial data recording signal. The serial recording signals from the parallel-to-serial conversion circuit 17 are magnetically recorded on the tape by the rotary head as, for example, four diagonal tracks per frame of data.

【0039】なお、図示しないが、パリティ発生回路1
5とディジタル変調回路16との間で、ブロック識別信
号ID(例えば2バイト)と、ブロック同期信号SYN
C(例えば2バイト)が付加される。このブロック識別
信号IDによりシンクブロックSBの所定の領域に配置
されているしきい値TH、直流成分の係数データDC、
交流成分の係数データACの位置が判る。
Although not shown, the parity generation circuit 1
5 and the digital modulation circuit 16 between the block identification signal ID (for example, 2 bytes) and the block synchronization signal SYN.
C (for example, 2 bytes) is added. With this block identification signal ID, a threshold value TH arranged in a predetermined area of the sync block SB, coefficient data DC of a DC component,
The position of the coefficient data AC of the AC component is known.

【0040】以上のように、係数データのうちの直流成
分、および交流成分が重要な順に定められた領域に記録
されており、特に重要度の高い交流成分については独立
の領域に記録されているので、高速サーチ時に、再生デ
ータが断続的にしか得られなくても、これらの直流成分
および重要な交流成分の係数データを抽出することがで
き、これらの係数データを復号化することにより良好な
復元画像を得ることが出来る。
As described above, the DC component and the AC component of the coefficient data are recorded in the areas determined in the order of importance, and the AC components of particularly high importance are recorded in the independent areas. Therefore, the coefficient data of these DC components and important AC components can be extracted even if the reproduced data can be obtained only intermittently during high-speed search, and it is possible to obtain good results by decoding these coefficient data. A restored image can be obtained.

【0041】また、ノーマル再生時、訂正できないエラ
ーが発生すると、従来はあるビットエラーが他のブロッ
クまで伝播して再生画像が非常に劣化してしまうことが
あった。例えば、ブロック終端コードEOBにエラーが
発生した場合である。これに対して、この発明において
は、あるブロックにおいて発生したエラーは、他のブロ
ックの直流成分および重要な交流成分の係数データの切
り出しにはなんら関与しない。従って、上記の従来に対
してエラーに強くなり、画質が改善された再生画像を得
ることが出来る。
Further, when an error that cannot be corrected occurs during normal reproduction, a certain bit error has conventionally been propagated to other blocks and the reproduced image may be extremely deteriorated. For example, when an error occurs in the block end code EOB. On the other hand, in the present invention, an error that occurs in a certain block does not participate in cutting out the coefficient data of the DC component and the important AC component of the other block. Therefore, it is possible to obtain a reproduced image which is more resistant to an error than the conventional one and whose image quality is improved.

【0042】さらに、従来の可変長記録による手法で
は、重要度の高い交流成分係数にエラーが生じた場合、
それ以降のデータは切り出し不可能であった。例えば、
AC1にエラーが生じた場合、AC2、AC3、AC
4、AC5、・・・はデータ切り出しが出来なかった。
これに対して、この発明においては、AC1にエラーが
あった場合でも、独立領域に記録されている係数は、エ
ラー伝播の影響を受けることなく切り出せる(今回の説
明例では、AC2〜AC5は切り出せる)。従って、従
来の手法によるよりも非常にコンシールがしやすく結果
的に良好な再生画像を得ることができる。
Further, in the conventional variable length recording method, when an error occurs in the AC component coefficient of high importance,
The data after that could not be cut out. For example,
If an error occurs in AC1, AC2, AC3, AC
No data could be cut out for 4, AC5, ...
On the other hand, in the present invention, even if there is an error in AC1, the coefficient recorded in the independent area can be cut out without being influenced by the error propagation (AC2 to AC5 are Can be cut out). Therefore, concealment is much easier than in the conventional method, and as a result, a good reproduced image can be obtained.

【0043】この発明のポイントは、交流成分の係数デ
ータを定められた領域に容量的に可能な限り記録する、
さらに、最も重要度の高いいくつかの交流成分の係数デ
ータについては、独立の領域に記録される、というとこ
ろである。
The point of the present invention is to record the coefficient data of the AC component in a predetermined area as much as possible in terms of capacity.
Furthermore, the coefficient data of some of the most important AC components are recorded in independent areas.

【0044】既に提案されている、重要度の高い交流成
分の係数データをあらかじめ定められた個数だけ、定め
られた位置に、固定長記録するという方式やまた、本願
発明者らが以前提案した重要度の高い交流成分の係数デ
ータを、あらかじめ定められた個数だけ、定められた位
置に、可変長記録するという方式は、記録する交流成分
の係数データの数をそれほど多くない個数に限っていた
ため、これらの固定記録領域だけのデータによる復号の
みではそれほど良好な復元画像を得ることが出来ない。
The previously proposed method of recording fixed-length fixed-length AC coefficient data of a high degree of importance at a predetermined position, and the important method previously proposed by the present inventors The method of recording variable-length alternating-current component coefficient data at a predetermined position in a predetermined number is limited in the number of alternating-current component coefficient data to be recorded. It is not possible to obtain a very good restored image only by decoding with the data of only these fixed recording areas.

【0045】また、本願発明者らが最近提案した、交流
成分の係数データを定められた領域に容量的に可能な限
り記録する、という方式は、上記の問題点の多くを解決
しているが、重要度の高い交流成分データにエラーが発
生した場合、同一ブロックのそれ以降の交流成分データ
は切りだし不可能になってしまい、そのブロックに関し
ては良好な復元画像を得ることは困難である、という問
題点は残っていた。
Further, the method recently proposed by the inventors of the present invention, in which the coefficient data of the AC component is recorded in a predetermined area as much as possible in capacity, solves many of the above problems. , If an error occurs in the AC component data of high importance, subsequent AC component data of the same block becomes impossible to cut out, and it is difficult to obtain a good restored image for that block, That problem remained.

【0046】これに対し、この発明の手法によれば交流
成分の係数データACには、該当ブロックの交流成分の
係数データが記録される。あるブロックの交流成分の係
数データの量が、交流成分の係数データACの領域より
小さいときは、そのブロックのデータはすべて固定領域
部分に記録されるから高速サーチ時、エラー時共に本来
の復元画像そのままの画像を得ることが出来る。また、
あるブロックの交流成分の係数データの量が、交流成分
の係数データACの領域より大きいときは、そのブロッ
クのデータの一部は固定記録領域に記録されないことに
なるが、この場合でも一般に上記の提案手法よりも多く
の交流成分の係数データが固定記録領域に記録されるこ
とになるため、従来の手法よりも良好な復元画像を得る
ことが出来る。
On the other hand, according to the method of the present invention, the AC component coefficient data AC records the AC component coefficient data of the corresponding block. When the amount of the AC component coefficient data of a block is smaller than the area of the AC component coefficient data AC, all the data of the block is recorded in the fixed area portion, so that the original restored image is displayed at both the high speed search and the error. You can get the image as it is. Also,
When the amount of the AC component coefficient data of a block is larger than the area of the AC component coefficient data AC, a part of the data of the block will not be recorded in the fixed recording area. Since more AC component coefficient data is recorded in the fixed recording area than in the proposed method, it is possible to obtain a better restored image than in the conventional method.

【0047】また、上記の重要度の高い交流成分の係数
データをあらかじめ定められた個数だけ、定められた位
置に、固定長記録するという方式では一般にこのフォー
マットを取ることによって情報量が増大するが、この発
明の方式では一切の情報量の増大は発生しない。
Further, in the method of recording a fixed number of coefficient data of the above-mentioned AC component having a high degree of importance at a predetermined position, in general, this format increases the amount of information. The method of the present invention does not increase the amount of information at all.

【0048】さらに、最も重要度の高い係数データに関
しては、独立の領域に記録されているため、他のデータ
に発生したエラーの伝播の影響を受けることなくデータ
の抽出が行うことができ、そのため、最も重要度の高い
係数データにエラーが発生したブロックに関しても、従
来よりも良好な復元画像が得られる。
Further, since the coefficient data having the highest importance is recorded in an independent area, the data can be extracted without being affected by the propagation of an error that has occurred in other data. As for the block in which the coefficient data having the highest importance has an error, a restored image better than the conventional one can be obtained.

【0049】なお、説明はDCTについて行ったが、こ
の発明はDCTに限られるものでなく、直交変換符号化
一般について適用可能である。
Although the description has been given for the DCT, the present invention is not limited to the DCT and is applicable to general orthogonal transform coding.

【0050】また、説明は、簡単のため1次元ハフマン
を使用した場合のみで行ったが、2次元ハフマンを使用
した場合も全く同様に適用可能である。
Further, for the sake of simplicity, the explanation has been given only in the case of using the one-dimensional Huffman, but the same applies to the case of using the two-dimensional Huffman.

【0051】なお、この発明はディジタルVTRに適用
される場合のみでなく、種々の伝送路を用いる場合にも
適用可能である。
The present invention is applicable not only to digital VTRs but also to various transmission lines.

【0052】[0052]

【発明の効果】以上、説明したように、この発明によれ
ば、重要な情報は、定められた位置に配置して伝送され
るので、例えばディジタルVTRにこの発明を適用した
とき、高速サーチ時に、再生データが断続的にしか得ら
れなくとも、これら重要なデータを抽出することがで
き、これらの係数データを復号化することにより、良好
な再生画像を得ることが出来る。
As described above, according to the present invention, since important information is arranged and transmitted at a predetermined position, for example, when the present invention is applied to a digital VTR, a high speed search is performed. Even if the reproduced data is obtained only intermittently, these important data can be extracted, and a good reproduced image can be obtained by decoding these coefficient data.

【0053】また、ノーマル再生時、訂正できないエラ
ーが発生すると、あるブロックに発生したエラーが他の
ブロックにまで致命的な影響を与えることがあったが、
この発明においては、定められた領域に多くの情報が記
録されているので、そのような場合にも、重要な係数デ
ータは抽出することができ、エラーがあっても画質の向
上した再生画像を得ることが出来、耐エラー性が向上す
る。
When an error that cannot be corrected occurs during normal reproduction, the error generated in one block may have a fatal effect on other blocks.
In the present invention, since a large amount of information is recorded in a predetermined area, important coefficient data can be extracted even in such a case, and a reproduced image with improved image quality can be obtained even if there is an error. Can be obtained, and the error resistance is improved.

【0054】さらに、要度の高い交流分の係数データ
に関しては、第2の領域内の予め決められた位置の独立
の領域に記録されているため、他のデータに発生したエ
ラーの伝播の影響を受けることなくデータの抽出が行う
ことができ、そのため、要度の高い係数データにエラ
ーが発生したブロックに関しても、従来よりも良好な復
元画像が得られる。
[0054] Further, with respect to the importance degree of a high AC component coefficient data, because they are recorded in a separate area of the predetermined position of the second region, the errors that occurred to other data propagation effect can data extraction carried out without receiving, therefore, also with respect to block an error to a higher coefficient data of importance degree is generated, a good restored image can be obtained than the conventional.

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

【図1】この発明による伝送方法を実施するためのディ
ジタルVTRの構成例を示すブロック図である。
FIG. 1 is a block diagram showing a configuration example of a digital VTR for implementing a transmission method according to the present invention.

【図2】DCT変換出力の係数データを説明するための
略線図である。
FIG. 2 is a schematic diagram for explaining coefficient data of DCT conversion output.

【図3】記録するシンクブロックの構成例を示す略線図
である。
FIG. 3 is a schematic diagram illustrating a configuration example of a sync block to be recorded.

【図4】伝送データの要部のデータ配列の一部を示す略
線図である。
FIG. 4 is a schematic diagram showing a part of a data array of a main part of transmission data.

【図5】この発明のフレーム化動作の一例を説明するた
めの図である。
FIG. 5 is a diagram for explaining an example of a framing operation of the present invention.

【図6】この発明のフレーム化動作の一例を説明するた
めの図である。
FIG. 6 is a diagram for explaining an example of a framing operation of the present invention.

【図7】この発明のフレーム化動作の一例を説明するた
めの図である。
FIG. 7 is a diagram for explaining an example of a framing operation of the present invention.

【図8】この発明のフレーム化動作を説明するためのフ
ローチャートである。
FIG. 8 is a flow chart for explaining the framing operation of the present invention.

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

21 DCT変換回路 23 再量子化回路 25 可変長符号化回路 28 フレーム化回路 21 DCT conversion circuit 23 Requantization circuit 25 Variable Length Coding Circuit 28 framing circuit

フロントページの続き (56)参考文献 特開 平4−322591(JP,A) 特開 平6−209462(JP,A) (58)調査した分野(Int.Cl.7,DB名) G11B 20/12 H03M 7/30 Continuation of the front page (56) Reference JP-A-4-322591 (JP, A) JP-A-6-209462 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G11B 20 / 12 H03M 7/30

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の画素からなるブロックを単位とし
て直交変換して得られた係数データを可変長符号化して
伝送する符号化方法において、上記係数データの内の直流成分の係数データを伝送単位
ブロック内の定められた第1の領域の先頭から配置する
第1のステップと、 上記伝送単位ブロックの残りの領域が交流成分の係数デ
ータが配される第2の領域とされ、上記第2の領域の全
領域が上記可変長符号化で発生するコードの最大長以上
の第3の領域によって分割され、 上記係数データの内の交流成分の係数データの内で比較
的重要度が高い係数データのそれぞれを、上記第3の領
域のそれぞれの先頭から配置する第2のステップと、 上記交流成分の係数データの内の残りの係数データを上
記伝送単位ブロック内の上記第2の領域中の空き領域に
配置する第3のステップとからなる ことを特徴とする符
号化方法。
1. A block composed of a plurality of pixels as a unit
Variable-length coding the coefficient data obtained by
In the encoding method for transmission , the coefficient data of the DC component in the above coefficient data is transmitted by the transmission unit.
Place from the beginning of the defined first area in the block
In the first step and the remaining area of the transmission unit block, the coefficient decoupling of the AC component is performed.
The second area where the data is placed, and the entire second area
The area is greater than or equal to the maximum code length generated by the variable length coding
Is divided by the third region of, and is compared within the coefficient data of the AC component of the above coefficient data.
Each of the coefficient data with high
The second step of arranging from the top of each area and the remaining coefficient data of the above-mentioned AC component coefficient data
In the empty area in the second area in the transmission unit block
And a third step of arranging .
【請求項2】 請求項1において、複数の上記伝送単位ブロックの符号化データのデータ量
がほぼ一定に制御され、上記第3のステップにおいて、
上記残りの係数データを上記空き領域に配置しても余る
場合には、余った係数データを他の上記伝送単位ブロッ
クの空き領域に配置する ことを特徴とする符号化方法。
2. The data amount of encoded data of a plurality of the transmission unit blocks according to claim 1.
Is controlled to be substantially constant, and in the above third step,
Even if the remaining coefficient data is placed in the empty area, it remains
In some cases, the surplus coefficient data is blocked by the other above-mentioned transmission unit blocks.
A coding method characterized by arranging it in a free area .
【請求項3】 複数の画素からなるブロックを単位とし
て直交変換して得られた係数データを可変長符号化して
伝送する符号化装置において、上記係数データの内の直流成分の係数データを伝送単位
ブロック内の定められた第1の領域の先頭から配置し、 上記伝送単位ブロックの残りの領域が交流成分の係数デ
ータが配される第2の領域とされ、上記第2の領域の全
領域が上記可変長符号化で発生するコードの最大長以上
の第3の領域によって分割され、 上記係数データの内の交流成分の係数データの内で比較
的重要度が高い係数データのそれぞれを、上記第3の領
域のそれぞれの先頭から配置し、 上記交流成分の係数データの内の残りの係数データを上
記伝送単位ブロック内 の上記第2の領域中の空き領域に
配置するようにした ことを特徴とする符号化装置。
3. A block composed of a plurality of pixels as a unit
Variable-length coding the coefficient data obtained by
In the transmitting encoding device, the coefficient data of the DC component of the above coefficient data is transmitted as a transmission unit.
The block is arranged from the beginning of the first area defined in the block, and the remaining area of the transmission unit block is the coefficient data of the AC component.
The second area where the data is placed, and the entire second area
The area is greater than or equal to the maximum code length generated by the variable length coding
Is divided by the third region of, and is compared within the coefficient data of the AC component of the above coefficient data.
Each of the coefficient data with high
Place from the beginning of each area, and add the remaining coefficient data of the coefficient data of the AC component above.
In the empty area in the second area in the transmission unit block
An encoding device characterized by being arranged .
【請求項4】 請求項3において、複数の上記伝送単位ブロックの符号化データのデータ量
がほぼ一定に制御され、上記残りの係数データを上記空
き領域に配置しても余る場合には、余った係数データを
他の上記伝送単位ブロックの空き領域に配置する ことを
特徴とする符号化装置。
4. The data amount of encoded data of a plurality of the transmission unit blocks according to claim 3.
Is controlled to be almost constant, and the remaining coefficient data is
If the remaining coefficient data is left in the
An encoding device, wherein the encoding device is arranged in an empty area of another transmission unit block .
JP09695893A 1993-03-31 1993-03-31 Encoding method and encoding device Expired - Lifetime JP3446240B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP09695893A JP3446240B2 (en) 1993-03-31 1993-03-31 Encoding method and encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09695893A JP3446240B2 (en) 1993-03-31 1993-03-31 Encoding method and encoding device

Publications (2)

Publication Number Publication Date
JPH06290551A JPH06290551A (en) 1994-10-18
JP3446240B2 true JP3446240B2 (en) 2003-09-16

Family

ID=14178780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09695893A Expired - Lifetime JP3446240B2 (en) 1993-03-31 1993-03-31 Encoding method and encoding device

Country Status (1)

Country Link
JP (1) JP3446240B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6661923B1 (en) 1998-02-26 2003-12-09 Sony Corporation Coding device, coding method, decoding device, decoding method, program recording medium and data recording medium
KR100391935B1 (en) 1998-12-28 2003-07-16 프라운호퍼-게젤샤프트 츄어 푀르더룽 데어 안게반텐 포르슝에.파우. Method and devices for coding or decoding and audio signal of bit stream
KR100712532B1 (en) 2005-09-10 2007-04-30 삼성전자주식회사 Apparatus and method for transcoding video error-resiliently using single description and multiple description switching

Also Published As

Publication number Publication date
JPH06290551A (en) 1994-10-18

Similar Documents

Publication Publication Date Title
JP3428033B2 (en) Digital VTR
US5699475A (en) Method and apparatus for encoding a digital image signal
JP3134424B2 (en) Variable length encoding method and apparatus
US5892884A (en) Apparatus for controlling a sum of a varying information amount of a video signal and a varying information amount of an audio signal so that the sum is within a predetermined amount of data range
JP2708312B2 (en) Recording device and playback device
JPH04326255A (en) Method and device for encoding image
JPH0983951A (en) Picture coding, recording and reproducing device
EP0492537B1 (en) Information recording apparatus
US5349384A (en) Apparatus and methods for transmitting compressed digital image signals
KR100272120B1 (en) Quantization control circuit
EP1377071A1 (en) Image processing device, image processing method, image processing program, and recording medium
EP0602817A2 (en) Digital video signal processing apparatus
EP0445727B1 (en) Variable length coding method
JP3446240B2 (en) Encoding method and encoding device
JPH0621830A (en) Two-dimension huffman coding method
JP3175328B2 (en) Image coding device
EP0641124A2 (en) Digital video tape recorder including adaptive field-/framewise coding and separation of data sequences
JP3304989B2 (en) High efficiency coding method
JP3546439B2 (en) Digital image signal encoding apparatus and encoding method
JP3125471B2 (en) Framer for digital video signal recorder
US6993072B1 (en) Digital signal coding apparatus
JP3166735B2 (en) Disk unit
JPH04212584A (en) Digital recording and reproducing device
JP3458388B2 (en) Digital image signal transmission equipment
JP3320125B2 (en) Image decoding device

Legal Events

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

Free format text: PAYMENT UNTIL: 20080704

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090704

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100704

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100704

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110704

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110704

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120704

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120704

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130704

Year of fee payment: 10