JPH06334987A - Picture encoding device - Google Patents

Picture encoding device

Info

Publication number
JPH06334987A
JPH06334987A JP11972993A JP11972993A JPH06334987A JP H06334987 A JPH06334987 A JP H06334987A JP 11972993 A JP11972993 A JP 11972993A JP 11972993 A JP11972993 A JP 11972993A JP H06334987 A JPH06334987 A JP H06334987A
Authority
JP
Japan
Prior art keywords
data
length
variable
level
fixed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11972993A
Other languages
Japanese (ja)
Inventor
Akio Kurobe
彰夫 黒部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP11972993A priority Critical patent/JPH06334987A/en
Publication of JPH06334987A publication Critical patent/JPH06334987A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To reduce the degradation of the picture quality due to transmission error without degrading the encoding efficiency in the encoding device which compresses moving picture data by an orthogonal transformation and variable length encoding. CONSTITUTION:The device is provided with a fixed length encoding means 108 which encodes the orthogonally transformed coefficients of picture data subjected to an orthogonal transformation to a fixed length code consisting of the absolute coordinate values and the level, a variable length encoding means 107 which encodes the combination of the relative coordinate values and the level from the coefficients of the nonzero level variable-length encoded in the preceding step, and the level to a two-dimensional variable length code, an absolute coordinate counting means 105, a relative coordinate counting means 104, a level comparing means 106 which makes the variable length encoding means active in the case that the level is equal to or lower than a threshold and is nonzero, and a frame assembling means 109 which assembles fixed length encoded data and variable length encoded data so that they can be discriminated from each other.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、伝送路誤りに強い画像
符号化を採用した画像符号化装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image coding apparatus which employs image coding resistant to transmission path errors.

【0002】[0002]

【従来の技術】従来、テレビ会議、テレビ電話信号の符
号化では、フレーム方向には1フレーム間の相関性を利
用するフレーム間予測とフレーム内直交変換を組み合わ
せたハイブリッド符号化を用いるのが一般的である。1
秒間に30枚の画像(フレーム)で構成されるテレビ画
像の時間軸方向の相関性は大きく、フレーム間相関を利
用して1フレーム前の画面中の同一位置の画素を予測に
用いることにすれば、画面が静止している場合には最も
理想的な予測が行えることになる。しかし、フレーム間
符号化においては、画面中に動きがある場合には逆にフ
レーム間の相関は低くなり、むしろフィールド内の隣接
画素間の相関に比べても低くなってしまう。一方、フレ
ーム毎の画像信号の各画素も隣接する画素とのレベル変
化が小さく相関性が強い。その自己相関関数は負の指数
関数で近似できるとされている。このとき、自己相関関
数のフーリエ変換である電力スペクトル密度はゼロ周波
数成分(直流)で最大となり、周波数成分が高くなるに
つれて単調減少する性質を持っている。周波数領域への
直交変換として最もよく知られているのはフーリエ変換
であるが複素数演算を含み、構成が複雑になることか
ら、画像の符号化ではこれに代わる直交変換として2次
元DCT(離散コサイン変換)を用いるのが一般的であ
る。DCTにより周波数成分に分解された変換係数は符
号化しない変換係数(無意係数)であるレベルゼロと離
散的な量子化代表値をとる有意係数であるレベル±1か
らレベル±Kに量子化されたのち、無意係数の連続性を
符号化するランレングス符号ならびに有意係数のレベル
の生起確率に応じて可変長符号を割り当てるハフマン符
号化により画像データは圧縮される。
2. Description of the Related Art Conventionally, in video conferencing and video telephone signal encoding, hybrid encoding is generally used which combines interframe prediction utilizing intraframe correlation and intraframe orthogonal transformation in the frame direction. Target. 1
A television image composed of 30 images (frames) per second has a large correlation in the time axis direction, and it is possible to use the pixel at the same position in the screen one frame before in the prediction by utilizing the interframe correlation. For example, the most ideal prediction can be made when the screen is stationary. However, in the inter-frame coding, when there is a motion in the screen, the correlation between the frames is low, and the correlation between adjacent pixels in the field is low. On the other hand, each pixel of the image signal for each frame has a small level change with an adjacent pixel and has a strong correlation. It is said that the autocorrelation function can be approximated by a negative exponential function. At this time, the power spectrum density, which is the Fourier transform of the autocorrelation function, has a maximum at zero frequency component (DC) and has the property of monotonically decreasing as the frequency component increases. The most well-known orthogonal transform to the frequency domain is the Fourier transform, but since it involves complex number operations and complicates the structure, two-dimensional DCT (discrete cosine) is used as an alternative orthogonal transform in image coding. (Conversion) is generally used. The transform coefficient decomposed into frequency components by DCT is quantized from level ± 1 which is a transform coefficient (insignificant coefficient) which is not coded and level ± 1 which is a significant coefficient having a discrete quantized representative value to level ± K. After that, the image data is compressed by the run length code that encodes the continuity of the insignificant coefficients and the Huffman encoding that assigns the variable length code according to the occurrence probability of the level of the significant coefficient.

【0003】例えばCCITT勧告H.261では、動
きの少ない画像に対してはフレーム間の予測を適用し、
フレーム間の予測誤差に対して以下に示すような符号化
を行なっている。また動きの大きい画像に対してはフレ
ーム間予測を適用せず、フレーム画素に対して直接以下
の符号化を行なう。図9はH.261における画像デー
タの符号化を示したものである。図9において101は
2次元DCTを行なう直交変換部、102は量子化部、
103はスキャン部、904はランレングスーレベル2
次元ハフマン符号化部である。フレーム間の予測誤差ま
たはフレーム画素を8画素×8ラインのブロックに分割
し、この各ブロックに対して直交変換部101で2次元
DCTを施す。DCTにより各ブロックの画素は周波数
成分に変換される。得られた変換係数は量子化部102
で量子化される、量子化により各変換係数は無意係数の
レベル0からレベル±127までの整数である有意係数
のレベルに代表される。量子化した変換係数の例を図2
に示す。図2では左上が直流成分、その他は交流成分で
あり、右下に行くほど空間周波数が高くなっている。画
像データは隣接する画素の相関が高いため、直交変換に
より一般に低周波領域に電力が集中して分布する。この
変換係数をスキャン部103で図3に矢印で示すような
ジグザグスキャンをすることにより、低周波成分から高
周波成分に並ぶような一次元配列に並び替える。並び替
えられた変換係数は、ランレングスーレベル2次元ハフ
マン符号化部904で符号化する。ランレングスーレベ
ル2次元ハフマン符号化部904では、レベルが0の無
意係数がいくつ連続するかを表わすラン(RUN)およ
びそれに続く有意係数のレベルの組合せの中で、発生頻
度の高い組合せを図10の表のように可変長符号化す
る。それ以外のRUNとレベルの組合せは、可変長符号
と識別するための6ビットのESCAPE符号と6ビッ
トのRUNと8ビットのレベルからなる20ビットの固
定長符号に符号化される。例えば、0が2個続いた後に
1が現われたときはRUNが2、レベルが1であるから
その符号は”01010”で、その符号長は5である。
フレーム画素を直交変換することにより、一般に電力は
低周波領域に集中して分布する。よって低周波領域以外
の大半の領域で、レベルの小さい係数またはレベルが0
の無意係数の発生頻度が高くなる。これをジグザグスキ
ャンしてランレングス符号化することにより伝送する符
号は少なくて済み、ハフマン符号化することによりその
符号長は短くて済む。H.261はこのような性質を生
かして画像データを圧縮している。
For example, CCITT Recommendation H.264. In H.261, inter-frame prediction is applied to an image with little motion,
The following coding is performed on the prediction error between frames. In addition, inter-frame prediction is not applied to images with large motion, and the following encoding is directly performed on frame pixels. FIG. 261 illustrates encoding of image data in H.261. In FIG. 9, 101 is an orthogonal transform unit that performs two-dimensional DCT, 102 is a quantization unit,
103 is a scanning unit, and 904 is a run length level 2
It is a dimensional Huffman coding unit. A prediction error between frames or frame pixels is divided into blocks of 8 pixels × 8 lines, and the orthogonal transform unit 101 performs two-dimensional DCT on each block. The pixels of each block are converted into frequency components by DCT. The obtained transform coefficient is used by the quantization unit 102.
Each transform coefficient quantized by is represented by the level of the significant coefficient which is an integer from level 0 of the insignificant coefficient to level ± 127. Example of quantized transform coefficient
Shown in. In FIG. 2, the upper left is a DC component, and the other is an AC component, and the spatial frequency increases toward the lower right. Since image data has a high correlation between adjacent pixels, power is generally concentrated and distributed in a low frequency region by orthogonal transformation. The conversion unit performs a zigzag scan as indicated by an arrow in FIG. 3 by the scan unit 103 to rearrange the low-frequency components to the high-frequency components in a one-dimensional array. The rearranged transform coefficients are encoded by the run-length two-dimensional Huffman encoder 904. In the run-length level two-dimensional Huffman encoding unit 904, among the combinations of runs (RUN) indicating the number of consecutive insignificant coefficients having a level of 0 and subsequent significant coefficient levels, a combination having a high occurrence frequency is illustrated. Variable length coding is performed as shown in Table 10. Other combinations of RUN and level are encoded into a 20-bit fixed-length code consisting of a 6-bit ESCAPE code for identifying a variable-length code, a 6-bit RUN and an 8-bit level. For example, when 1 appears after 2 consecutive 0s, the code is "01010" and the code length is 5 because the RUN is 2 and the level is 1.
By orthogonally transforming the frame pixels, power is generally concentrated and distributed in the low frequency region. Therefore, in most areas except the low frequency area, the coefficient with a small level or the level is 0.
The frequency of the insignificant coefficient of is increased. A zigzag scan and run-length coding of this code can reduce the number of codes to be transmitted, and a Huffman coding can reduce the code length. H. 261 compresses image data by taking advantage of such a property.

【0004】[0004]

【発明が解決しようとする課題】一方、フレーム間の予
測誤差信号を直交変換した場合には、電力が低周波領域
に集中することは少なく、有意係数は高域部分にも分布
する。これはフレーム間差分を計算することにより高周
波成分が生じるためである。1フレームの画像では空間
内の相関係数が0.95前後あるが、フレーム間差分信
号では0.5〜0.6程度に低下する。つまり、フレー
ム間で動きがない場合は無効係数が頻出し、また動き量
が少ない場合には小さいレベルの有意係数が頻出するこ
とになるため、H.261のランレングスーレベルハフ
マン符号化は有効である。ところが、フレーム間で動き
が大きい場合には大きいレベルの有意係数が頻出し広域
に分布するため、H.261の固定長符号に符号化され
るものが大半をしめる。この場合には、符号量の削減に
対するランレングスーレベルハフマン符号化の長所はま
ったく発揮されない。次に例えば無線伝送路のように伝
送路の品質が悪く、伝送した画像圧縮データの一部に誤
りが生じる場合を考える。ランレングス符号化の性質と
して、配列上の係数の位置を直前のレベルが0以外の係
数からの相対位置で表わしているため、一つの係数が誤
るとその後のすべての係数の位置が誤ってしまう。この
様子を図11に示す。図11において(a)は量子化後
の直交変換係数の一部である。これを順にスキャンして
ランレングスーレベルハフマン符号化した結果を(b)
に示す。レベルが大きな有意係数は6ビットのエスケー
プ符号と、6ビットのRUN、8ビットのレベルの合計
20ビットの固定長符号に符号化され、最初の2はRU
Nが2、レベルが2の7ビットの可変長符号に変換れる
がここでは便宜上図のような表記をしている。(b)に
おいて2番目の固定長データに伝送誤りが発生し、RU
Nが0から5に誤った場合を(c)に示す。(c)のデ
ータ列を複号すると(d)の直交変換係数が得られる
が、これは最初の係数以外はすべてが(a)とは異なっ
たものとなっている。一つの係数のRUNが誤るとこの
様にその後の誤りなく伝送された係数が異なる位置にず
れてしまう。さらに、可変長符号の性質として、誤りが
発生すると符号長が異なる符号に化けるため、それに続
く符号の切れ目がわからなくなる(e)。その結果
(f)に示すようにそれ以降の係数が固定長データも含
めて誤った係数に複号される。予測誤差信号はすべて既
に送られた前フレームとの誤差信号であるのでレベルが
小さい有意係数の重要度は低い。一方予測誤差であるレ
ベルが大きい有意係数は前フレームとの大きな違いを伝
達する情報であるためその重要度は大きい。H.261
ではこれらをすべて同様に扱っているため、1ビットの
伝送誤りがブロック全体に波及し、画像が大きく劣化す
る。また、劣化した画像はフレーム間予測の元データと
して使われるため、画像の劣化は次のフレーム画素デー
タが送られてくるまでの間残ることになる。つまり従来
の方式は、フレーム間の画像の変化が比較的小さくあま
り重要でないブロックのデータは効率よく伝送すること
ができたが、フレーム間の画像の変化が大きい重要なブ
ロックのデータは、圧縮効率低減の恩恵をうけることな
くランレングス符号化の短所のみの影響を受けて、重要
なデータであるにも係わらず伝送誤りに非常に弱い符号
に符号化されていた。
On the other hand, when the prediction error signal between frames is orthogonally transformed, the power is rarely concentrated in the low frequency region, and the significant coefficient is also distributed in the high frequency region. This is because a high frequency component is generated by calculating the difference between frames. The correlation coefficient in the space is about 0.95 in the image of one frame, but it decreases to about 0.5 to 0.6 in the inter-frame difference signal. That is, when there is no motion between frames, invalid coefficients frequently appear, and when the amount of motion is small, significant coefficients of a small level frequently occur. The run-length Huffman coding of H.261 is effective. However, when there is a large amount of movement between frames, a significant level of significant coefficients frequently appears and is distributed over a wide area. Most of them are coded into the fixed-length code of H.261. In this case, the advantage of run-length Slevel Huffman coding for reducing the code amount is not exhibited at all. Next, consider a case where the quality of the transmission path is poor, such as a wireless transmission path, and an error occurs in a part of the transmitted image compression data. As a property of run-length encoding, the position of the coefficient on the array is represented by the relative position from the coefficient whose previous level is not 0. Therefore, if one coefficient is incorrect, the positions of all the coefficients after that are incorrect. . This state is shown in FIG. In FIG. 11, (a) is a part of the orthogonal transform coefficient after quantization. This is sequentially scanned and the result of run-length level Huffman coding is shown in (b).
Shown in. Significant coefficients with a large level are coded into a 6-bit escape code, a 6-bit RUN, and an 8-bit level with a total of 20-bit fixed length code, and the first 2 are RU.
It can be converted into a 7-bit variable length code in which N is 2 and the level is 2, but for convenience sake, the notation is as shown in the figure. In (b), a transmission error occurs in the second fixed length data,
The case where N is wrong from 0 to 5 is shown in (c). When the data string of (c) is decoded, the orthogonal transformation coefficient of (d) is obtained, but this is all different from (a) except the first coefficient. If the RUN of one coefficient is wrong, the coefficient transmitted without error thereafter shifts to a different position. Further, as a property of the variable-length code, when an error occurs, the code can be changed into a code having a different code length, so that the break of the code that follows it cannot be seen (e). As a result, as shown in (f), the coefficient after that is decoded into an incorrect coefficient including the fixed length data. Since all the prediction error signals are error signals with respect to the already transmitted previous frame, the significance of a significant coefficient having a small level is low. On the other hand, the significance coefficient, which is a prediction error and has a large level, is important because it is information that conveys a large difference from the previous frame. H. 261
However, since they are all treated in the same manner, a 1-bit transmission error spreads over the entire block, and the image is greatly deteriorated. Further, since the deteriorated image is used as the original data for inter-frame prediction, the deterioration of the image remains until the next frame pixel data is sent. In other words, the conventional method was able to efficiently transmit the data of blocks that are relatively insignificant because the image change between frames is relatively small, but compress the data of important blocks where the image change between frames is large in compression efficiency. Without being affected by the reduction, it was affected only by the shortcomings of run-length coding, and was coded into a code that was very vulnerable to a transmission error despite being important data.

【0005】本発明はかかる事情に鑑みて成されたもの
であり、フレーム間の画像の変化が大きい重要なブロッ
クのデータを圧縮効率を損なうことなく、伝送誤りの影
響を誤ったデータのみにとどめ、ブロック内に波及させ
ない画像符号化装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and limits the influence of transmission errors to erroneous data without impairing the compression efficiency of important block data in which image changes between frames are large. It is an object of the present invention to provide an image encoding device that does not spread within a block.

【0006】[0006]

【課題を解決するための手段】請求項1の発明は、直交
変換部で変換された画像データの直交変換係数を係数の
絶対座標値とレベルで構成される固定長符号に符号化す
る固定長符号化手段と、1つ前に可変長符号化したレベ
ルが非零の係数からの相対座標値とレベルの組合せを2
次元可変長符号化する可変長符号化手段と、符号化する
係数の絶対座標値をカウントし固定長符号化手段に示す
絶対座標カウント手段と、1つ前に可変長符号化したレ
ベルが非零の係数からの相対座標をカウントし可変長符
号化手段に示す相対座標カウント手段と、与えられたし
きい値と係数のレベルを比較して係数のレベルの絶対値
がしきい値を越えている場合に固定長符号化手段をアク
ティブにし、係数のレベルの絶対値がしきい値以下で非
零の場合には可変長符号化手段をアクティブにするレベ
ル比較手段と、固定長符号化データと可変長符号化デー
タを識別可能な伝送フレームに組み立てるフレーム組み
立て方法を実現するフレーム組み立て手段を備えた構成
としたものである。
According to a first aspect of the present invention, a fixed-length code for encoding an orthogonal transform coefficient of image data converted by an orthogonal transform unit into a fixed-length code composed of absolute coordinate values of coefficients and levels. The encoding means and the combination of the relative coordinate value and the level from the coefficient of which the variable length encoding is performed before the nonzero level are 2
Dimension variable length coding means for variable length coding, absolute coordinate counting means for counting absolute coordinate values of coefficients to be coded and shown in fixed length coding means, and the level previously variable length coded is non-zero. The relative coordinate counting means for counting the relative coordinates from the coefficient and showing the variable length coding means and the given threshold value and the coefficient level are compared, and the absolute value of the coefficient level exceeds the threshold value. In the case where the fixed length coding means is activated, and when the absolute value of the coefficient level is equal to or less than the threshold value and non-zero, the variable length coding means is activated. The configuration includes a frame assembling unit that realizes a frame assembling method for assembling long coded data into an identifiable transmission frame.

【0007】請求項2の発明は、請求項1記載の発明に
おけるフレーム組み立て手段を、固定長符号化データの
データ長mビットのn倍のデータ領域にデータの中身が
固定長データか可変長データかを識別するためのデータ
識別ビットLビットを加えたm×n+Lビットを基本フ
レーム構成単位とし、固定長符号化データと可変長符号
化データの発生頻度に応じて前記データ識別ビットを任
意に指定して基本フレーム構成単位を複数並べる事によ
り、発生頻度に柔軟に固定長を可変長データと識別可能
な伝送フレームに組み立てるように構成したものであ
る。
According to a second aspect of the present invention, in the frame assembling means according to the first aspect of the present invention, the content of the data is fixed length data or variable length data in a data area of n times the data length m bits of the fixed length encoded data. M × n + L bits to which data identification bits L bits for identifying whether or not are used as a basic frame constituent unit, and the data identification bits are arbitrarily designated according to the frequency of occurrence of fixed length encoded data and variable length encoded data. By arranging a plurality of basic frame constituent units, a fixed length can be flexibly assembled into a transmission frame that can be distinguished from variable length data depending on the frequency of occurrence.

【0008】請求項3の発明は、請求項1記載の発明に
おけるフレーム組み立て手段を、データ長mビットの固
定長データをn個格納し、m×nビット書き込まれた時
点でフル状態を示すデータバッファと、可変長データの
ビット発生タイミングでシフトし、m×nビットシフト
した時点でフル状態を示すm×nビットシフトレジスタ
と、m×n+Lビットの幅を持つk段のFIFOバファ
と前記シフトレジスタがフル状態の時にm×nビットの
シフトレジスタの並列データ出力と可変長符号化データ
を示すLビットのデータ識別ビットを前記FIFOバッ
ファに書き込み、固定長データ用のデータバッファがフ
ル状態の時にm×nビットのデータバッファとの並列デ
ータ出力と固定長符号化データを示すデータ識別ビット
を前記FIFOバッファに書き込む構成としたものであ
る。
According to a third aspect of the present invention, the frame assembling means according to the first aspect of the present invention stores n pieces of fixed-length data having a data length of m bits and indicates a full state at the time of writing m × n bits. The buffer, the m × n bit shift register that shifts at the bit generation timing of variable-length data, and shows a full state at the time of m × n bit shift, the k-stage FIFO buffer having a width of m × n + L bits, and the shift When the register is full, the parallel data output of the m × n bit shift register and the L-bit data identification bit indicating the variable-length coded data are written to the FIFO buffer, and when the fixed-length data buffer is full Parallel data output with an m × n bit data buffer and data identification bits indicating fixed length encoded data are stored in the FIFO buffer. It is obtained by a write to the configuration.

【0009】請求項4の発明は、請求項3記載の発明に
おけるフレーム組み立て手段を、区分けされた画像領域
の終了を示す可変長データを前記シフトレジスタに書き
込んだ場合に、次の画像領域のデータを書き込まずにシ
フトレジスタをフル状態にするよう構成したものであ
る。
According to a fourth aspect of the invention, when the frame assembling means according to the third aspect of the invention writes the variable length data indicating the end of the divided image area to the shift register, the data of the next image area is written. Is configured so that the shift register is brought into a full state without writing.

【0010】[0010]

【作用】請求項1の発明において、レベル比較手段は直
交変換部により直交変換され、量子化部で量子化された
変換係数のレベルが重要レベルか非重要レベルかを判断
し、重要レベルの場合は絶対座標係数手段が示す絶対座
標とレベルを固定長符号化手段で固定長符号に符号化す
る。非重要レベルの係数は相対座標係数手段が示す一つ
前の非重要レベルの係数からの相対座標とレベルの組合
せで決まる可変長符号に符号化される。
In the invention of claim 1, the level comparison means performs orthogonal transformation by the orthogonal transformation section, judges whether the level of the transform coefficient quantized by the quantizing section is an important level or an unimportant level, and if the level is an important level. Uses the fixed-length coding means to code the absolute coordinates and level indicated by the absolute-coordinate coefficient means into a fixed-length code. The coefficient of the non-important level is encoded into a variable length code determined by the combination of the relative coordinate and the level from the coefficient of the preceding non-important level indicated by the relative coordinate coefficient means.

【0011】請求項2の発明において、基本フレーム構
成単位の中に固定長データを格納するか可変長データを
格納するかは、双方の発生頻度に応じて任意であり、基
本フレーム構成単位の長さは固定長符号化データを格納
したものと可変長符号化データを格納したものとで同じ
であり、常に一定長であるため、可変長符号化データの
誤りによる符号の切れ目が分からなくなっても固定長符
号化データの始まりはすぐに見つけられる。また、デー
タ識別ビットにより可変長符号化データと固定長符号化
データの識別ができるため、固定長符号化データに可変
長符号化データとの識別用のエスケープ符号を付加する
必要がない。
According to the second aspect of the present invention, whether to store the fixed length data or the variable length data in the basic frame constituent unit is arbitrary according to the occurrence frequency of both, and the length of the basic frame constituent unit. The length is the same for both fixed-length coded data and variable-length coded data, and because the length is always constant, even if the break in the code due to an error in the variable-length coded data is unknown. The beginning of fixed-length coded data can be found immediately. Further, since the variable length coded data and the fixed length coded data can be identified by the data identification bit, it is not necessary to add an escape code for distinguishing the fixed length coded data from the variable length coded data.

【0012】請求項3の発明において、データバッファ
は固定長のデータを効率よく格納し、シフトレジスタは
可変長なデータを容易に格納する。データバファかシフ
トレジスタの内先に一杯になった方をFIFOバッファ
に格納すれば、請求項2記載のフレームが簡単な構成で
効率よく作成できる。
In the invention of claim 3, the data buffer efficiently stores fixed-length data, and the shift register easily stores variable-length data. If the data buffer or the shift register, whichever is full, is stored in the FIFO buffer, the frame according to claim 2 can be efficiently created with a simple configuration.

【0013】請求項4の発明において、次の画像データ
を書き込まずにシフトレジスタをフル状態にすること
で、つぎの画像領域のデータの始まりを基本フレーム構
成単位の始めからとすることができ、可変長データの誤
りの影響を次の画像領域に波及させることを防止する。
In the invention of claim 4, the shift register is brought into a full state without writing the next image data, whereby the start of the data of the next image region can be made from the start of the basic frame constituent unit, The influence of the error of the variable length data is prevented from spreading to the next image area.

【0014】[0014]

【実施例】(実施例1)以下、本発明の実施例1ついて
図面を参照しながら説明する。
Embodiment 1 Embodiment 1 of the present invention will be described below with reference to the drawings.

【0015】図1は本発明の実施例である画像符号化装
置の構成図である。図1において101は直交変換部、
102は量子化部、103はスキャン部で相対座標計数
手段104および絶対座標計数手段105で構成され
る。106はレベル比較手段、107は可変長符号化手
段、108は固定長符号化手段、109はフレーム組み
立て手段である。
FIG. 1 is a block diagram of an image coding apparatus according to an embodiment of the present invention. In FIG. 1, 101 is an orthogonal transformation unit,
Numeral 102 is a quantizer, and 103 is a scan unit, which is composed of relative coordinate counting means 104 and absolute coordinate counting means 105. 106 is a level comparison means, 107 is a variable length coding means, 108 is a fixed length coding means, and 109 is a frame assembling means.

【0016】以上のように構成された画像符号化装置に
ついてその動作を図2から図6を用いて説明する。フレ
ーム間の予測誤差を8画素×8ラインのブロックに分割
し、この各ブロックに対して直交変換部101で2次元
DCTを施す。DCTにより各ブロックの画素は周波数
成分に変換される。得られた変換係数は量子化部102
で量子化される、量子化により各変換係数は無意係数の
レベル0からレベル±127までの整数である有意係数
のレベルに代表される。量子化した変換係数の例を図2
に示す。図2では左上が直流成分、その他は交流成分で
あり、右下に行くほど空間周波数が高くなっている。こ
の変換係数をスキャン部103で図3に矢印で示すよう
なジグザグスキャンをすることにより、低周波成分から
高周波成分に並ぶような一次元配列に並び替える。スキ
ャン部103は絶対座標計数手段105および相対座標
計数手段104で構成されるが、この内絶対座標計数手
段105は変換係数をジグザグスキャンする順に0から
63の絶対座標を計数し、固定長符号化手段に提示す
る。レベル比較手段106は量子化部102で量子化さ
れた変換係数のレベルの絶対値と予め設定されているし
きい値とを比較し、レベルの絶対値がしきい値を越えて
いる場合には固定長符号化手段108をアクティブにす
る。レベルの絶対値が0を越えており、しきい値以下の
場合には可変長符号化手段をアクティブとし、相対座標
計数手段104にその旨を伝える。レベルが0の場合は
可変長符号化手段107、固定長符号化手段108とも
にアクティブにしない。相対座標計数手段104は前に
可変長符号化手段107をアクティブにした係数と次に
可変長符号化手段107をアクティブにする係数との相
対座標を計数し、可変長符号化手段107に提示する。
可変長符号化手段107は図4に示すような相対座標
(RUN)とレベルの組合せで、発生頻度の多いものは
短い符号語に符号化する。ここで相対座標は相対座標計
数手段104より、レベルは量子化部102より与えら
れる。図3はしきい値を3とした時の例であり、EOB
は可変長符号化データの終了を表わす。固定長符号化手
段108は図5に示すようにレベル8ビットと絶対座標
6ビットの合計14ビットの固定長データに符号化す
る。フレーム組み立て手段109は固定長符号化された
データと可変長符号化されたデータを識別可能な伝送フ
レームに組み立てる。伝送フレームの構成は種々考えら
れるためここでは限定しないが、例えばフレームの前半
部と後半部に固有の固定長領域、可変長領域を有し、そ
れぞれに固定長データと可変長データを入れても良い
し、それぞれの領域は可変長で領域の大きさを示すフラ
グをフレームの構成に含めても良い。また、請求項2記
載のフレーム組み立て方法を用いても良い。図6におい
て(a)は量子化後の直交変換係数の一部である。これ
を本方式の画像符号化装置でスキャンして符号化した結
果を(b)に示す。レベルの絶対値が4を越える有意係
数は8ビットのレベルと6ビットの絶対座標の合計14
ビットの固定長符号に符号化され、固定長領域で伝送さ
れる。レベルの絶対値が0を越え4以下の有意係数は相
対座標のRUNとレベルの2次元可変長符号に符号化さ
れ、可変長領域で伝送される。但し、ここでは便宜上1
0進数でレベルと絶対座標またはRUNを表示してい
る。(b)において2番目の固定長データに伝送誤りが
発生し、絶対座標が1から5に誤った場合を(c)に示
す。(c)のデータ列を複号すると(d)の直交変換係
数が得られるが、これは2番目と6番目の係数が誤る
が、他の係数はすべて(a)と同じものとなっている。
固定長符号の座標は絶対座標のため1つの係数に誤りが
発生してもその係数およびその係数が誤った結果の係数
が複号出来ないだけでその他の係数はすべて複号でき
る。また、H.261では可変長データと固定長データ
を識別するために、6ビットのエスケープ符号を各固定
長データに付加する必要があり、固定長符号の符号長は
20ビットであったが、本方式は画像データに関する限
り、固定長符号の符号長は14ビットでよく圧縮効率向
上に寄与する。また、空間内相関が低下するフレーム間
差分信号に限定すれば、RUNとレベルが供に小さい符
号の発生頻度は減少するため、H.261の用いるハフ
マン符号表はそれほど効力を発揮しない。つまり、本方
式の符号化効率は総合的に見てH.261に遜色はな
い。次に、可変長符号に誤りが発生すると符号長が異な
る符号に化けるため、それに続く符号の切れ目がわから
なくなる(e)が可変長符号と固定長符号は識別可能な
ように伝送しているため、誤った係数以降の可変長デー
タはすべて誤るが、固定長データはすべて正しく複号で
きる(d)。ここで、可変長データはレベルの絶対値が
しきい値以下のデータであり、誤ったデータをすべて無
意係数(レベル0)としても画質に与える影響は少な
い。
The operation of the image coding apparatus configured as described above will be described with reference to FIGS. 2 to 6. The prediction error between frames is divided into blocks of 8 pixels × 8 lines, and the orthogonal transformation unit 101 performs two-dimensional DCT on each block. The pixels of each block are converted into frequency components by DCT. The obtained transform coefficient is used by the quantization unit 102.
Each transform coefficient quantized by is represented by the level of the significant coefficient which is an integer from level 0 of the insignificant coefficient to level ± 127. Example of quantized transform coefficient
Shown in. In FIG. 2, the upper left is a DC component, and the other is an AC component, and the spatial frequency increases toward the lower right. The conversion unit performs a zigzag scan as indicated by an arrow in FIG. 3 by the scan unit 103 to rearrange the low-frequency components to the high-frequency components in a one-dimensional array. The scanning unit 103 is composed of an absolute coordinate counting means 105 and a relative coordinate counting means 104. Among these, the absolute coordinate counting means 105 counts absolute coordinates from 0 to 63 in the zigzag scan of the transform coefficient and performs fixed length coding. Present to the means. The level comparing means 106 compares the absolute value of the level of the transform coefficient quantized by the quantizer 102 with a preset threshold value, and when the absolute value of the level exceeds the threshold value, The fixed length coding means 108 is activated. When the absolute value of the level exceeds 0 and is less than or equal to the threshold value, the variable length coding means is activated and the relative coordinate counting means 104 is notified of that fact. When the level is 0, neither the variable length coding means 107 nor the fixed length coding means 108 is activated. The relative coordinate counting means 104 counts the relative coordinates of the coefficient that previously activated the variable length coding means 107 and the coefficient that next activates the variable length coding means 107, and presents it to the variable length coding means 107. .
The variable-length coding means 107 codes a combination of relative coordinates (RUN) and levels as shown in FIG. Here, the relative coordinate is given by the relative coordinate counting means 104, and the level is given by the quantizer 102. FIG. 3 is an example when the threshold value is 3, and EOB
Indicates the end of the variable length coded data. As shown in FIG. 5, the fixed length encoding means 108 encodes fixed length data of a total of 14 bits of level 8 bits and absolute coordinates 6 bits. The frame assembling unit 109 assembles fixed-length encoded data and variable-length encoded data into identifiable transmission frames. Although there are various possible configurations of the transmission frame, the structure is not limited here. For example, a fixed-length area and a variable-length area unique to the first half and the second half of the frame have fixed-length data and variable-length data, respectively. Alternatively, each area may have a variable length and a flag indicating the size of the area may be included in the frame configuration. Further, the frame assembling method described in claim 2 may be used. In FIG. 6, (a) is a part of the orthogonal transform coefficient after quantization. The result of scanning and coding this with the image coding apparatus of this system is shown in (b). The significant coefficient whose absolute value of level exceeds 4 is 14 in total of 8-bit level and 6-bit absolute coordinate.
It is encoded into a fixed length code of bits and transmitted in the fixed length area. Significant coefficients whose absolute value of level exceeds 0 and is 4 or less are coded into a two-dimensional variable length code of RUN and level of relative coordinates and transmitted in the variable length area. However, here, for convenience, 1
The level and absolute coordinates or RUN are displayed in 0-base. A case where a transmission error occurs in the second fixed-length data in (b) and the absolute coordinates are erroneous from 1 to 5 is shown in (c). When the data sequence of (c) is decoded, the orthogonal transform coefficient of (d) is obtained. The second and sixth coefficients are wrong, but all other coefficients are the same as in (a). .
Since the coordinates of the fixed length code are absolute coordinates, even if an error occurs in one coefficient, the coefficient and the coefficient resulting from the error cannot be decoded, but all other coefficients can be decoded. In addition, H. In H.261, it is necessary to add a 6-bit escape code to each fixed-length data in order to distinguish between the variable-length data and the fixed-length data, and the fixed-length code has a code length of 20 bits. As far as data is concerned, the fixed-length code has a code length of 14 bits, which contributes to improvement of compression efficiency. Further, if limited to the inter-frame difference signal in which the spatial correlation decreases, the frequency of occurrence of a code whose level is small together with RUN decreases, so that the H.264 standard is reduced. The Huffman code table used by 261 is not very effective. That is, the coding efficiency of this method is H.264 as a whole. The 261 is comparable. Next, when an error occurs in the variable-length code, the code length can be changed to a different code, and the break in the code that follows it cannot be seen (e) because the variable-length code and the fixed-length code are transmitted in a distinguishable manner. All variable length data after the incorrect coefficient is wrong, but all fixed length data can be correctly decoded (d). Here, the variable length data is data in which the absolute value of the level is equal to or less than the threshold value, and even if all erroneous data is set as the insignificant coefficient (level 0), the influence on the image quality is small.

【0017】以上のように本実施例によれば、フレーム
間差分誤差信号の内、レベルの絶対値がしきい値を越え
る重要なデータを符号化効率を損なうことなく誤りが伝
搬しないように符号化することを可能とする。
As described above, according to this embodiment, important data in the inter-frame difference error signal whose level absolute value exceeds the threshold value is coded so that the error does not propagate without impairing the coding efficiency. It is possible to change.

【0018】(実施例2)以下、本発明の実施例2につ
いて図面を参照しながら説明する。
(Second Embodiment) A second embodiment of the present invention will be described below with reference to the drawings.

【0019】図7は本発明の実施例である固定長符号化
データと可変長符号化データを識別可能な伝送フレーム
に組み立てるフレーム組み立て方法による伝送フレーム
の構成図である。図7において701はデータ識別ビッ
ト、702は固定長データ部、703は可変長データ
部、704は基本フレーム構成単位である。データ識別
ビット701は1ビットでよく、例えばデータ部が固定
長データのときは1、可変長データの時は0とする。固
定長データ部702は扱う固定長データがmビット長で
あるとして、これがn個格納出来るm×nビットの長さ
を持つ。例えば、実施例1の固定長符号は14ビットで
あり、14×nビットとなる。この場合の基本フレーム
構成単位704は1+14×nビット長である。可変長
データ部703も固定長データ部702と同じ長さを持
ち、前から順に可変長データを詰めていく。可変長デー
タ部がちょうど一杯になる場合は、問題がないが、可変
長データの途中で一杯になる場合は途中までを格納し、
続きは次の可変長データ部に格納する。また、可変長デ
ータ部が一杯になる前にデータが終了する場合は、可変
長符号であるEOBで検出する。
FIG. 7 is a configuration diagram of a transmission frame by a frame assembling method for assembling fixed length coded data and variable length coded data into identifiable transmission frames according to an embodiment of the present invention. In FIG. 7, 701 is a data identification bit, 702 is a fixed length data part, 703 is a variable length data part, and 704 is a basic frame constituent unit. The data identification bit 701 may be 1 bit, for example, 1 when the data part is fixed length data and 0 when it is variable length data. The fixed-length data unit 702 has a length of m × n bits capable of storing n pieces of fixed-length data to be handled, assuming that the fixed-length data to be handled has an m-bit length. For example, the fixed length code of the first embodiment is 14 bits, which is 14 × n bits. The basic frame structural unit 704 in this case has a length of 1 + 14 × n bits. The variable length data section 703 also has the same length as the fixed length data section 702, and the variable length data is packed in order from the front. If the variable length data section is just full, there is no problem. However, if the variable length data section is full, it is stored up to the middle.
The rest is stored in the next variable length data section. If the data ends before the variable-length data section is full, it is detected by EOB, which is a variable-length code.

【0020】次に以上の方式を実現するフレーム組み立
て手段の実施例を図8に示す。図8において801はデ
ータバッファ、802はシフトレジスタ、803はセレ
クタ、804はFIFOバッファである。データバッフ
ァ801はm×nビットの長さを有し、mビットの固定
長データをn個書き込んだ時点でフル状態を示す。シフ
トレジスタ802はm×nビットのシフトレジスタでm
×nビットシフトした時点でフル状態を示す。セレクタ
803はm×n+Lビット幅の2入力1出力のセレクタ
でデータバッファ801がフル状態を示した時はデータ
バッファ801のm×nビット幅のパラレル出力と固定
長データを示すLビットのデータ識別ビットを並列に読
み込みFIFOバッファ804に書き込む。シフトレジ
スタ802がフル状態を示した時はシフトレジスタ80
2のm×nビット幅のパラレル出力と可変長データを示
すLビットのデータ識別ビットを並列に読み込みFIF
Oバッファ804に書き込む。FIFOバッファから順
にデータを読み出すと、本発明のフレーム組み立て方法
によるフレームとなる。また、画像ブロックの終了を示
す可変長データであるEOBをシフトレジスタ802に
書き込んだ場合には次の画像ブロックのデータを読み込
む事なくフル状態までシフトすることにより、次の画像
ブロックのデータを新しい基本フレーム構成単位の始め
から格納することができる。
Next, FIG. 8 shows an embodiment of a frame assembling means for realizing the above method. In FIG. 8, reference numeral 801 is a data buffer, 802 is a shift register, 803 is a selector, and 804 is a FIFO buffer. The data buffer 801 has a length of m × n bits, and indicates a full state when n pieces of fixed-length data of m bits are written. The shift register 802 is an m × n-bit shift register, and
It indicates a full state when it is shifted by × n bits. The selector 803 is a 2-input, 1-output selector of m × n + L bit width, and when the data buffer 801 indicates a full state, an L × bit data identification indicating a parallel output of m × n bit width of the data buffer 801 and fixed length data. Bits are read in parallel and written to the FIFO buffer 804. When the shift register 802 indicates the full state, the shift register 80
2 m × n bit width parallel output and L bit data identification bit indicating variable length data are read in parallel and FIF
Write to O buffer 804. When data is sequentially read from the FIFO buffer, a frame is created by the frame assembling method of the present invention. When EOB, which is variable-length data indicating the end of an image block, is written in the shift register 802, the data of the next image block is shifted to the full state without reading the data of the next image block, and the data of the next image block is updated. It can be stored from the beginning of the basic frame constituent unit.

【0021】以上の様に本実施例によると、固定長符号
化データと可変長符号化データの発生頻度に柔軟に対応
して効率よく固定長符号化データと可変長符号化データ
を識別可能に伝送できるフレームを構成可能となり、可
変長符号化データに誤りが発生し、データの切れ目が分
からなくなっても、次の基本フレーム構成単位の切れ目
は明確で、固定長符号化データは問題なく復号できる。
As described above, according to this embodiment, the fixed length coded data and the variable length coded data can be efficiently identified by flexibly responding to the frequency of occurrence of the fixed length coded data and the variable length coded data. Even if the variable length coded data becomes erroneous and the break of the data becomes unclear, the break of the next basic frame structural unit is clear and the fixed length coded data can be decoded without any problem .

【0022】[0022]

【発明の効果】以上のように、本発明によればフレーム
間差分誤差が大きく、画質に影響が大きいデータは絶対
座標の固定長データでその他の可変長データとは独立に
符号化できるため、符号化効率を損なう事なく伝送誤り
による画質劣化を減少させることが可能となる。
As described above, according to the present invention, data having a large inter-frame difference error and having a large influence on the image quality can be encoded as absolute coordinate fixed length data independently of other variable length data. It is possible to reduce image quality deterioration due to a transmission error without impairing the coding efficiency.

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

【図1】本発明の実施例1における画像符号化装置の構
成図
FIG. 1 is a configuration diagram of an image encoding device according to a first embodiment of the present invention.

【図2】本発明の実施例1または従来の技術の量子化部
で量子化した変換係数の例を示す図
FIG. 2 is a diagram showing an example of transform coefficients quantized by a quantizer according to the first embodiment of the present invention or a conventional technique.

【図3】本発明の実施例1または従来の技術で変換係数
をジグザグスキャンする順の例を示す図
FIG. 3 is a diagram showing an example of a zigzag scan order of transform coefficients according to the first embodiment of the present invention or a conventional technique.

【図4】本発明の実施例1における可変長符号化手段の
符号化例を示す図
FIG. 4 is a diagram showing a coding example of a variable-length coding unit according to the first embodiment of the present invention.

【図5】本発明の実施例1における固定長符号化手段の
符号化例を示す図
FIG. 5 is a diagram showing a coding example of a fixed length coding means in the first embodiment of the present invention.

【図6】本発明の実施例1における動作説明図FIG. 6 is an operation explanatory diagram according to the first embodiment of the present invention.

【図7】本発明の実施例2におけるフレーム構成図FIG. 7 is a frame configuration diagram according to the second embodiment of the present invention.

【図8】本発明の実施例2におけるフレーム組み立て手
段の構成図
FIG. 8 is a configuration diagram of a frame assembling unit according to a second embodiment of the present invention.

【図9】従来の技術における画像符号化装置の構成図FIG. 9 is a configuration diagram of an image encoding device according to a conventional technique.

【図10】従来の技術における可変長符号化表を示す図FIG. 10 is a diagram showing a variable length coding table in the conventional technique.

【図11】従来の技術における動作説明図FIG. 11 is an operation explanatory diagram in the conventional technique.

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

101 直交変換部 103 スキャン部 104 相対座標計数手段 105 絶対座標計数手段 106 レベル比較手段 107 可変長符号化手段 108 固定長符号化手段 109 フレーム組み立て手段 701 データ識別ビット 702 固定長データ部 703 可変長データ部 704 基本フレーム構成単位 801 データバッファ 802 シフトレジスタ 803 セレクタ 804 FIFOバッファ 101 Orthogonal Transform Unit 103 Scan Unit 104 Relative Coordinate Counting Means 105 Absolute Coordinate Counting Means 106 Level Comparison Means 107 Variable Length Coding Means 108 Fixed Length Coding Means 109 Frame Assembling Means 701 Data Identification Bits 702 Fixed Length Data Parts 703 Variable Length Data 704 Basic frame configuration unit 801 Data buffer 802 Shift register 803 Selector 804 FIFO buffer

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】直交変換部で変換された画像データの直交
変換係数を係数の絶対座標値とレベルで構成される固定
長符号に符号化する固定長符号化手段と、1つ前に可変
長符号化したレベルが非零の係数からの相対座標値とレ
ベルの組合せを2次元可変長符号化する可変長符号化手
段と、符号化する係数の絶対座標値をカウントし固定長
符号化手段に示す絶対座標カウント手段と、1つ前に可
変長符号化したレベルが非零の係数からの相対座標をカ
ウントし可変長符号化手段に示す相対座標カウント手段
と、与えられたしきい値と係数のレベルを比較して係数
のレベルの絶対値がしきい値を越えている場合に固定長
符号化手段をアクティブにし、係数のレベルの絶対値が
しきい値以下で非零の場合には可変長符号化手段をアク
ティブにするレベル比較手段と、固定長符号化データと
可変長符号化データを識別可能な伝送フレームに組み立
てるフレーム組み立て方法を実現するフレーム組み立て
手段とを備えた画像符号化装置。
1. Fixed-length coding means for coding an orthogonal transform coefficient of image data converted by an orthogonal transform unit into a fixed-length code composed of absolute coordinate values of coefficients and levels; Variable-length coding means for two-dimensionally variable-length coding a combination of relative coordinate value and level from a coded non-zero coefficient, and fixed-length coding means for counting absolute coordinate values of the coded coefficient. Absolute coordinate counting means shown, relative coordinate counting means for indicating relative coordinates from a variable-length-encoded coefficient whose level is non-zero immediately before and shown to the variable-length encoding means, given threshold value and coefficient , The fixed-length coding means is activated when the absolute value of the coefficient level exceeds the threshold value, and variable when the absolute value of the coefficient level is less than the threshold value and non-zero. Level for activating long coding means Comparison means, the image coding apparatus that includes a frame assembly means for implementing the frame assembly method of assembling the fixed length encoded data and variable-length coded data capable of identifying transmission frame.
【請求項2】フレーム組み立て手段が、固定長符号化デ
ータのデータ長mビットのn倍のデータ領域にデータの
中身が固定長データか可変長データかを識別するための
データ識別ビットLビットを加えたm×n+Lビットを
基本フレーム構成単位とし、固定長符号化データと可変
長符号化データの発生頻度に応じて前記データ識別ビッ
トを任意に指定して基本フレーム構成単位を複数並べる
ことにより、発生頻度に柔軟に固定長を可変長データと
識別可能な伝送フレームに組み立てることを特徴とする
請求項1記載の画像符号化装置。
2. A frame assembling means has a data identification bit L bit for identifying whether the content of the data is fixed length data or variable length data in a data area of n times the data length m bits of the fixed length encoded data. By adding m × n + L bits as a basic frame constituent unit, by arranging a plurality of basic frame constituent units by arbitrarily designating the data identification bits according to the frequency of occurrence of fixed length encoded data and variable length encoded data, 2. The image coding apparatus according to claim 1, wherein a fixed length is assembled into a transmission frame that can be discriminated from variable length data flexibly according to the frequency of occurrence.
【請求項3】フレーム組み立て手段が、データ長mビッ
トの固定長データをn個格納し、m×nビット書き込ま
れた時点でフル状態を示すデータバッファと、可変長デ
ータのビット発生タイミングでシフトし、m×nビット
シフトした時点でフル状態を示すm×nビットシフトレ
ジスタと、m×n+Lビットの幅を持つk段のFIFO
バファと前記シフトレジスタがフル状態の時にm×nビ
ットのシフトレジスタの並列データ出力と可変長符号化
データを示すLビットのデータ識別ビットを前記FIF
Oバッファに書き込み、固定長データ用のデータバッフ
ァがフル状態の時にm×nビットのデータバッファの並
列データ出力と固定長符号化データを示すデータ識別ビ
ットを前記FIFOバッファに書き込むことを特徴とす
る請求項1記載の画像符号化装置。
3. A frame assembling means stores n pieces of fixed-length data having a data length of m bits, and shifts at a data buffer showing a full state at the time of writing m × n bits and at a bit generation timing of variable-length data. Then, an m × n bit shift register showing a full state at the time of m × n bit shift and a k-stage FIFO having a width of m × n + L bits
When the buffer and the shift register are in the full state, the parallel data output of the m × n bit shift register and the L-bit data identification bit indicating the variable length coded data are added to the FIF.
Writing into the O buffer, and writing the parallel data output of the m × n bit data buffer and the data identification bit indicating the fixed length encoded data into the FIFO buffer when the data buffer for the fixed length data is in the full state. The image coding apparatus according to claim 1.
【請求項4】フレーム組み立て手段が、区分けされた画
像領域の終了を示す可変長データを前記シフトレジスタ
に書き込んだ場合に、次の画像領域のデータを書き込ま
ずにシフトレジスタをフル状態にすることを特徴とする
請求項3記載の画像符号化装置。
4. When the frame assembling means writes the variable length data indicating the end of the divided image area to the shift register, the frame register means sets the shift register to the full state without writing the data of the next image area. The image coding device according to claim 3, wherein
JP11972993A 1993-05-21 1993-05-21 Picture encoding device Pending JPH06334987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11972993A JPH06334987A (en) 1993-05-21 1993-05-21 Picture encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11972993A JPH06334987A (en) 1993-05-21 1993-05-21 Picture encoding device

Publications (1)

Publication Number Publication Date
JPH06334987A true JPH06334987A (en) 1994-12-02

Family

ID=14768683

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11972993A Pending JPH06334987A (en) 1993-05-21 1993-05-21 Picture encoding device

Country Status (1)

Country Link
JP (1) JPH06334987A (en)

Similar Documents

Publication Publication Date Title
RU2417518C2 (en) Efficient coding and decoding conversion units
KR100944282B1 (en) Dct compression using golomb-rice coding
KR100914160B1 (en) Lossless intraframe encoding using golomb-rice
US6677868B2 (en) Entropy coding with adaptive syntax to replace high probability symbols with lower probabilities symbols
US9077960B2 (en) Non-zero coefficient block pattern coding
US6912318B2 (en) Method and system for compressing motion image information
US5742342A (en) Apparatus for encoding an image signal using vector quantization technique
JP3278948B2 (en) Variable length coding method
JP3292221B2 (en) Image compression coding method
CA2436437A1 (en) Moving picture information compressing method and its system
JP2901656B2 (en) Image coding device
JPH06334987A (en) Picture encoding device
JP2000165873A (en) Compression method for moving picture information and its system
JP3029354B2 (en) Digital video signal encoding device and decoding device
KR20070075267A (en) Method for encoding and decoding video signal
JPH05227547A (en) Method and system for coding and compressing video signal
JPH06178282A (en) Picture coder
KR0166720B1 (en) Variable length encoder
JP3958033B2 (en) Method and system for compressing moving picture information
KR100210389B1 (en) A run length encoder
KR100195720B1 (en) A state controller for variable length decoder
JP3200073B2 (en) Image processing device
Lui A study of the JPEG-2000 image compression standard
KR100195722B1 (en) A variable length decoder
JP2860016B2 (en) Interframe coding of image signal