JPH08130735A - Picture data encoding and decoding device - Google Patents

Picture data encoding and decoding device

Info

Publication number
JPH08130735A
JPH08130735A JP28870894A JP28870894A JPH08130735A JP H08130735 A JPH08130735 A JP H08130735A JP 28870894 A JP28870894 A JP 28870894A JP 28870894 A JP28870894 A JP 28870894A JP H08130735 A JPH08130735 A JP H08130735A
Authority
JP
Japan
Prior art keywords
block
frame
data
dct
unit
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
JP28870894A
Other languages
Japanese (ja)
Inventor
Natsuyuki Ono
奈津志 小野
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 JP28870894A priority Critical patent/JPH08130735A/en
Publication of JPH08130735A publication Critical patent/JPH08130735A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE: To provide a picture data encoder capable of obtaining visually high quality pictures by making block noise inconspicuous. CONSTITUTION: In this picture data encoder provided with a block division means 1 for dividing a screen into blocks composed of plural picture elements, a DCT processing means 3 for discrete cosine transforming pixel data for the respective blocks, a quantization means 4 for lineraly quantizing a DCT coefficient inside the block obtained by a DCT processing by a step size different for the respective coefficient positions and an encoding means 8 for variable length encoding the quantized data, a block start position selection means 9 for specifying a coordinate position to be the reference of the division of the blocks differently for respective frames is provided. The block noise is moved for the respective frames and becomes inconspicuous.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、帯域圧縮技術を用いて
動画像信号を符号化する画像データ符号化/復号化装置
に関し、特に、再生画像へのノイズの出現を抑えるよう
に構成したものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data encoding / decoding device for encoding a moving image signal using a band compression technique, and more particularly, it is constructed so as to suppress the appearance of noise in a reproduced image. Is.

【0002】[0002]

【従来の技術】画像データは、同一フレーム内の隣接し
た画素の間や前後のフレームの同じ位置付近の画素の間
で大きな相関を持つ場合が多く、このような信号の統計
的性質や人間の視覚特性を利用して、信号を帯域圧縮す
ることが行なわれている。
2. Description of the Related Art Image data often has a large correlation between adjacent pixels within the same frame or between pixels near the same position in the preceding and following frames. Bandwidth compression of a signal is performed by utilizing visual characteristics.

【0003】この帯域圧縮の方法として、予測符号化と
変換符号化とが知られている。予測符号化では、フレー
ム間の対応画素における差分値または同一フレーム内の
近隣画素間の差分値を符号化することによって信号の冗
長性を除いている。
Predictive coding and transform coding are known as the band compression methods. In predictive coding, signal redundancy is removed by coding a difference value in corresponding pixels between frames or a difference value between neighboring pixels in the same frame.

【0004】また、変換符号化では、画素データを直交
変換し、そのときの信号エネルギーが低周波成分に集中
することを利用して、電力の大きな低周波成分に対して
細かいステップサイズで量子化を行ない、また、低電力
の高周波成分に対しては粗いステップサイズで量子化を
行なうことにより平均ビット数を低減させている。この
圧縮方式は、輝度が急激に変化するところでは、粗い量
子化を行なってもその歪みが検知されにくく、一方、輝
度の変化が緩やかなところでは、量子化による雑音が目
立ちやすい、という人間の視覚特性を利用している。
Further, in the transform coding, the pixel data is orthogonally transformed, and the signal energy at that time is concentrated in the low frequency component, so that the low frequency component with large power is quantized with a fine step size. The average number of bits is reduced by performing quantization with a coarse step size for high-frequency components of low power. In this compression method, the distortion is difficult to detect even if coarse quantization is performed where the luminance changes rapidly, while the noise due to the quantization tends to stand out when the luminance changes slowly. Utilizes visual characteristics.

【0005】蓄積用動画像データを帯域圧縮技術を用い
て符号化する方式として、ISO−IEC/JTC1/
SC2/WG11で議論され標準化されたMPEG(Mo
vingPicture Coding Experts Group)方式が知られてい
る。この方式では、動画像データを圧縮するために予測
符号化と変換符号化とを組合せている。
ISO-IEC / JTC1 / is a method of encoding moving image data for storage using a band compression technique.
MPEG (Mo which was discussed and standardized in SC2 / WG11
The vingPicture Coding Experts Group) method is known. In this method, predictive coding and transform coding are combined to compress moving image data.

【0006】この方式を採る従来の画像データ符号化/
復号化装置は、図8に示すように、エンコーダには、画
面を複数画素から成るブロックに分割するブロック分割
部1と、符号化しようとしているブロックの画像と予測
画像との差分値を画素データとして出力する加算器2
と、このブロックの画素データに対して離散コサイン変
換を施すDCT処理部3と、DCT変換で求めたDCT
係数を係数位置ごとに異なるステップサイズで線形量子
化する量子化部4と、量子化部4で求めたデータを逆に
戻してDCT係数を復元する逆量子化部5と、逆量子化
部5で求めたDCT係数を基に逆離散コサイン変換(I
DCT)を行ないブロックの画素データを復元する逆D
CT処理部6と、この画素データを集めて画面情報を復
元し、入力するブロックに対応する予測画像を出力する
予測部7と、量子化部4から出力されたデータをハフマ
ン符号を用いてエントロピー符号化し、可変長データに
変換する可変長符号部(VLC部)4とを備えている。
Conventional image data encoding / adopting this system
As shown in FIG. 8, the decoding device includes a block division unit 1 for dividing a screen into blocks composed of a plurality of pixels, and a difference value between an image of a block to be encoded and a prediction image in pixel data. 2 to output as
A DCT processing unit 3 for performing a discrete cosine transform on the pixel data of this block, and a DCT obtained by the DCT transform.
A quantizer 4 that linearly quantizes coefficients with different step sizes for each coefficient position, an inverse quantizer 5 that reverses the data obtained by the quantizer 4 and restores DCT coefficients, and an inverse quantizer 5 Inverse discrete cosine transform (I
Inverse D for performing DCT) to restore pixel data of a block
The CT processing unit 6, the prediction unit 7 that collects the pixel data to restore the screen information, and outputs the predicted image corresponding to the input block, and the data output from the quantization unit 4 using entropy using the Huffman code. A variable length coding unit (VLC unit) 4 for coding and converting to variable length data is provided.

【0007】一方、デコーダは、入力信号にエントロピ
ー復号化を施して量子化データを復元する逆VLC部11
と、量子化データからDCT係数を復元する逆量子化処
理部12と、DCT係数に逆離散コサイン変換を施してブ
ロックの画素データを復元する逆DCT処理部13と、こ
の画素データを集めて画面情報を復元し、画像を再生す
るブロックに対応する予測画像を出力する予測部15と、
逆DCT処理部13から出力された画素データと予測部15
から出力された予測画像とを加算する加算器14と、加算
器14から出力されるブロックごとの画素データを基に1
枚のフレーム画面を再生するフレーム再生部16と、再生
されたフレーム画像を記憶するフレームバッファ17とを
備えている。
On the other hand, the decoder is an inverse VLC unit 11 which restores quantized data by subjecting an input signal to entropy decoding.
An inverse quantization processing unit 12 that restores DCT coefficients from the quantized data, an inverse DCT processing unit 13 that restores pixel data of a block by performing an inverse discrete cosine transform on the DCT coefficients, and a screen that collects the pixel data. A prediction unit 15 that restores information and outputs a prediction image corresponding to a block for reproducing an image,
Pixel data output from the inverse DCT processing unit 13 and the prediction unit 15
1 based on the pixel data of each block output from the adder 14 and the adder 14 that adds the prediction image output from
A frame playback unit 16 that plays back one frame screen and a frame buffer 17 that stores the played frame image are provided.

【0008】この符号化装置では、入力する動画像デー
タが、まず、ブロック分割部1で複数の画素(例えば、
8×8)から成るブロックごとのデータに分割される。
このブロックごとの画素データは、フレーム内での符号
化が行なわれるときには、DCT処理部3に入力して、
離散コサイン変換処理が施され、8×8の画像情報が8
×8のDCT係数に変換される。量子化部4は、この係
数データを各係数ごとのステップサイズを定めた量子化
テーブルを用いて線形量子化する。
In this encoding device, the moving image data to be input is first divided into a plurality of pixels (for example, by the block dividing unit 1).
It is divided into data for each block composed of 8 × 8).
The pixel data for each block is input to the DCT processing unit 3 when being encoded in a frame,
Discrete cosine transform processing is applied to obtain 8 × 8 image information.
Converted to a DCT coefficient of × 8. The quantizer 4 linearly quantizes this coefficient data using a quantization table that defines a step size for each coefficient.

【0009】VLC部5は、この量子化されたDCT係
数を、ハフマン符号を用いて符号化する。ハフマン符号
は、1ワードの長さが一定でない可変長符号であり、発
生確率の高い信号には短い符号語を、発生確率の低い信
号には長い符号語を割り当てることにより、平均の符号
語長を短く抑えることができる。その結果、出力する情
報量を減らすことができる。
The VLC unit 5 encodes the quantized DCT coefficient using Huffman code. The Huffman code is a variable-length code in which the length of one word is not constant. By assigning a short codeword to a signal with a high occurrence probability and a long codeword to a signal with a low occurrence probability, the average codeword length is Can be kept short. As a result, the amount of information to be output can be reduced.

【0010】また、量子化部4から出力された量子化デ
ータは、逆量子化部5でDCT係数データに変換され、
逆DCT処理部6でブロックの画素データに復元され
る。予測部7は、この各ブロックの画素データを集め
て、画面情報を記憶する。
The quantized data output from the quantizer 4 is converted into DCT coefficient data by the inverse quantizer 5,
The inverse DCT processing unit 6 restores the pixel data of the block. The prediction unit 7 collects the pixel data of each block and stores the screen information.

【0011】一方、フレーム間での符号化が行なわれる
ときは、ブロック分割部1から出力されたブロックごと
の画素データは加算器2に入力する。この画素データは
予測部7にも入力し、予測部7は、記憶している画面情
報を使って、そのブロックが周辺領域のどこに移動した
ときに画素データの差分値の累計が最小になるかを演算
して、動きベクトル情報を求め、これをVLC部8に送
って符号化する。また、予測部7は、この移動先のブロ
ックの画素データを予測画像データとして加算器2に出
力する。
On the other hand, when encoding is performed between frames, the pixel data for each block output from the block division unit 1 is input to the adder 2. This pixel data is also input to the prediction unit 7, and the prediction unit 7 uses the stored screen information to determine where in the peripheral area the block moves and the cumulative total of the difference values of the pixel data becomes minimum. Is calculated to obtain motion vector information, which is sent to the VLC unit 8 for coding. In addition, the prediction unit 7 outputs the pixel data of the destination block to the adder 2 as predicted image data.

【0012】加算器2は、ブロック分割部1の出力した
ブロックの画素データから予測部7の出力した予測画像
データを減算し、そのフレーム間の差分データをDCT
処理部3に出力する。DCT処理部3、量子化部4及び
VLC部8は、前述した動作によって、この差分データ
を可変長データに符号化し、動きベクトル情報とともに
出力する。
The adder 2 subtracts the predicted image data output by the prediction unit 7 from the pixel data of the block output by the block division unit 1, and DCT the difference data between the frames.
Output to the processing unit 3. The DCT processing unit 3, the quantization unit 4, and the VLC unit 8 encode the difference data into variable length data by the above-described operation, and output the variable length data together with the motion vector information.

【0013】また、逆量子化部5及び逆DCT処理部6
は、量子化された差分データを加算器2から出力された
差分データの状態に復元する。予測部7は、この値と加
算器2に出力した予測画像データとを加算して、次フレ
ームの画面情報を復元し、これを記憶して次の予測画像
データの作成に使用する。
The inverse quantizer 5 and the inverse DCT processor 6 are also provided.
Restores the quantized difference data to the state of the difference data output from the adder 2. The prediction unit 7 adds this value and the predicted image data output to the adder 2 to restore the screen information of the next frame, stores the screen information, and uses it to create the next predicted image data.

【0014】デコーダ側では、入力信号がフレーム内で
符号化されている場合には、逆VLC部11が受け取った
データのエントロピー符号を復元し、逆量子化部12がD
CT係数データに変換し、逆DCT処理部13がブロック
の画素データを復元する。復元した画素データは加算器
14に入力するが、フレーム内符号化の場合には、予測部
15からの出力はない。
On the decoder side, when the input signal is coded in the frame, the inverse VLC unit 11 restores the entropy code of the data received, and the inverse quantization unit 12 outputs D.
The data is converted into CT coefficient data, and the inverse DCT processing unit 13 restores the pixel data of the block. The restored pixel data is an adder
Input to 14, but in the case of intraframe coding, the prediction unit
There is no output from 15.

【0015】フレーム再生部16は、加算器14から出力さ
れたブロック情報を集めて1枚のフレームの画面情報を
再生する。この画面情報はフレームバッファ17に記憶さ
れた後、出力される。
The frame reproduction unit 16 collects the block information output from the adder 14 and reproduces the screen information of one frame. This screen information is output after being stored in the frame buffer 17.

【0016】また、逆DCT処理部13の復元したブロッ
クの画素データは、予測部15に入力し、予測部15は、こ
のブロックの画素データを集めて画面情報を復元し、記
憶する。
The pixel data of the block restored by the inverse DCT processing unit 13 is input to the prediction unit 15, and the prediction unit 15 restores and stores the screen information by collecting the pixel data of this block.

【0017】一方、入力信号がフレーム間で符号化され
ている場合には、逆VLC部11、逆量子化処理部12及び
逆DCT処理部13は、可変長符号化されたフレーム間差
分データに対して同じように動作し、逆DCT処理部13
は、ブロックのフレーム間差分データを加算器14に出力
する。このとき予測部15は、動きベクトルの情報を受け
て、記憶している画面情報の中から、その差分算出の基
準になったブロックの画素データを読み出して加算器14
に出力する。加算器14は、逆DCT処理部13及び予測部
15の出力を加算することにより、入力したブロックの元
の画素データを復元する。フレーム再生部16は、加算器
14の復元したブロック情報を集めて1枚のフレームの画
面情報を再生し、この画面情報はフレームバッファ17に
記憶された後、出力される。
On the other hand, when the input signal is encoded between frames, the inverse VLC section 11, the inverse quantization processing section 12 and the inverse DCT processing section 13 convert the variable length encoded inter-frame difference data. Inverse DCT processing section 13
Outputs the interframe difference data of the block to the adder 14. At this time, the prediction unit 15 receives the information of the motion vector, reads the pixel data of the block that is the reference of the difference calculation from the stored screen information, and adds the pixel data.
Output to. The adder 14 includes an inverse DCT processing unit 13 and a prediction unit.
The original pixel data of the input block is restored by adding the outputs of 15. The frame reproduction unit 16 is an adder
The screen information of one frame is reproduced by collecting 14 pieces of restored block information, and this screen information is stored in the frame buffer 17 and then output.

【0018】また、逆DCT処理部13の出力したブロッ
クのフレーム間差分データは予測部15にも入力し、予測
部15は、このデータと加算器14に出力した画素データと
を加算して次フレームの画面情報を復元し、これを記憶
する。
The inter-frame difference data of the block output from the inverse DCT processing unit 13 is also input to the prediction unit 15, and the prediction unit 15 adds this data and the pixel data output to the adder 14 and then Restore the screen information of the frame and store it.

【0019】なお、フレーム間の差分は、符号化しよう
としている画像よりも時間的に前方のフレームの画像だ
けでなく、後方のフレームの画像との差分を求めること
もできる。
The difference between the frames can be obtained not only in the image of the frame preceding the image to be encoded but also in the image of the subsequent frame.

【0020】[0020]

【発明が解決しようとする課題】しかし、従来の画像デ
ータ符号化/復号化装置では、ブロックごとに符号化が
行なわれるため、ブロックの境界で画像に不連続な部分
が現れる。この現象はブロックノイズと呼ばれている。
このブロックノイズは、ブロック分割の開始位置が常に
同じであるため、同じ位置にブロックノイズが出現す
る。従って、視覚的には同じ位置に線のようなノイズが
停まっているように見える。
However, in the conventional image data encoding / decoding apparatus, since the encoding is performed for each block, a discontinuous portion appears in the image at the boundary between the blocks. This phenomenon is called block noise.
Since this block noise always has the same start position of block division, block noise appears at the same position. Therefore, it looks like noise like a line stays at the same position visually.

【0021】本発明は、こうした従来の問題点を解決す
るものであり、ブロックノイズを目立ちにくくすること
により、視覚的に高品質の画像を得ることができる画像
データ符号化/復号化装置を提供することを目的として
いる。
The present invention solves these conventional problems, and provides an image data encoding / decoding device capable of visually obtaining a high quality image by making block noise inconspicuous. The purpose is to do.

【0022】[0022]

【課題を解決するための手段】そこで、本発明では、画
面を複数画素から成るブロックに分割するブロック分割
手段と、ブロックごとの画素データを離散コサイン変換
するDCT処理手段と、DCT処理で求めたブロック内
のDCT係数をその係数位置ごとに異なるステップサイ
ズで線形量子化する量子化手段と、量子化されたデータ
を可変長符号化する符号化手段とを備える画像データ符
号化装置において、ブロック分割手段に対して、ブロッ
クの分割開始の基準となる座標位置をフレームごとに違
えて指定するブロック開始位置選択手段を設けている。
Therefore, in the present invention, the block division means for dividing the screen into blocks composed of a plurality of pixels, the DCT processing means for performing the discrete cosine transform of the pixel data of each block, and the DCT processing are used. An image data coding apparatus comprising a quantizing means for linearly quantizing a DCT coefficient in a block with different step sizes for each coefficient position, and a coding means for variable-length coding the quantized data. The means is provided with block start position selecting means for differently specifying a coordinate position serving as a reference for starting block division for each frame.

【0023】また、可変長符号から量子化データを復元
する復号化手段と、量子化データからDCT係数を復元
する逆量子化手段と、DCT係数からブロックごとの画
素データを復元する逆DCT手段と、ブロックごとの画
素データを基にフレーム画像を再生するフレーム再生手
段とを備える画像データ復号化装置において、フレーム
再生手段に対して、符号化装置でブロックの分割開始の
基準とした座標位置をフレーム画像の再生における再生
基準位置として指定するフレーム再生位置選択手段を設
けている。
Decoding means for restoring the quantized data from the variable length code, dequantizing means for restoring the DCT coefficient from the quantized data, and inverse DCT means for restoring the pixel data for each block from the DCT coefficient. In an image data decoding device including a frame reproducing device for reproducing a frame image based on pixel data for each block, a frame reproducing device is provided with a coordinate position that is a reference for starting division of a block by the encoding device. A frame reproduction position selection means for designating a reproduction reference position in image reproduction is provided.

【0024】[0024]

【作用】そのため、ブロックノイズは各フレームごとに
移動することになり、目立たなくなる。
As a result, the block noise is moved in each frame and becomes inconspicuous.

【0025】[0025]

【実施例】本発明の実施例における画像データ符号化/
復号化装置は、図1に示すように、エンコーダ側には、
ブロック分割部1がブロック分割を行なう際の開始座標
を選択するブロック開始位置選択部9を備え、デコーダ
側には、加算器14の出力するブロックの画素データから
フレームを再生する際の復元開始位置を選択するフレー
ム再生位置選択部18を備えている。その他の構成は従来
の装置(図8)と変わりがない。
Embodiments Image data encoding /
The decoding device, as shown in FIG.
The block division unit 1 includes a block start position selection unit 9 that selects a start coordinate when performing block division, and the decoder side includes a restoration start position when reproducing a frame from the pixel data of the block output from the adder 14. A frame reproduction position selection unit 18 for selecting is provided. Other configurations are the same as those of the conventional device (FIG. 8).

【0026】このブロック開始位置選択部9は、ブロッ
クが16×16の画素から成る場合に、0から15まで
の乱数を発生する乱数発生器を具備し、ブロック分割の
開始座標をこの乱数発生器の発生する値によって決め
る。また、フレーム再生位置選択部18は、これと常に同
じ値を出力する同一の乱数発生器を有し、この乱数発生
器から発生された値をフレーム画像の復元開始位置に決
める。
The block start position selection unit 9 includes a random number generator for generating a random number from 0 to 15 when the block is composed of 16 × 16 pixels, and the start coordinates of the block division are set to the random number generator. It depends on the value that occurs. Further, the frame reproduction position selection unit 18 has the same random number generator that always outputs the same value, and determines the value generated from this random number generator as the restoration start position of the frame image.

【0027】エンコーダ側のブロック分割は、図2に示
す手順で行なわれる。
Block division on the encoder side is performed in the procedure shown in FIG.

【0028】ステップ1:ブロック開始位置選択部9
は、フレーム画像が入力すると、乱数発生器から発生さ
れた2つの値(例えば、3と5)により定まる座標
(3,5)をブロック分割の開始座標に選択し、その座
標データをブロック分割部1に出力する。
Step 1: Block start position selector 9
When the frame image is input, the coordinates (3, 5) determined by the two values (for example, 3 and 5) generated from the random number generator are selected as the start coordinates for block division, and the coordinate data is selected. Output to 1.

【0029】ステップ2:ブロック分割部1は、ブロッ
ク開始位置選択部9から出力された座標(3,5)をブ
ロック開始位置として、図3に示すように、フレーム画
像をブロックに分割する。
Step 2: The block division unit 1 divides the frame image into blocks as shown in FIG. 3, using the coordinates (3, 5) output from the block start position selection unit 9 as the block start position.

【0030】また、次のフレーム画像が入力すると、ブ
ロック開始位置選択部9は、ステップ1により、乱数発
生器の発生した2つの値(例えば、7と1)により定ま
る座標(7,1)をブロック分割部1に出力し、ブロッ
ク分割部1は、ステップ2により、座標(7,1)をブ
ロック開始位置として、図4に示すように、次のフレー
ム画像をブロックに分割する。このようにフレーム画像
が入力する度に、ランダムなオフセットをつけてこの画
像がブロック分割される。
When the next frame image is input, the block start position selection unit 9 determines the coordinates (7, 1) determined by the two values (for example, 7 and 1) generated by the random number generator in step 1. The result is output to the block division unit 1, and the block division unit 1 divides the next frame image into blocks as shown in FIG. 4 with the coordinates (7, 1) as the block start position in step 2. Thus, each time a frame image is input, this image is divided into blocks with a random offset.

【0031】ブロックに分割された画素データを符号化
する動作は、従来の装置と同じである。
The operation of encoding the pixel data divided into blocks is the same as the conventional device.

【0032】一方、デコーダ側では、逆VLC部11、逆
量子化処理部12、逆DCT処理部13、予測部15及び加算
器14が、従来の装置と同じ動作で各ブロックの画素デー
タを復元し、この画素データは、図5に示す手順でフレ
ーム画像に再生される。
On the other hand, on the decoder side, the inverse VLC unit 11, the inverse quantization processing unit 12, the inverse DCT processing unit 13, the prediction unit 15 and the adder 14 restore the pixel data of each block by the same operation as the conventional device. Then, this pixel data is reproduced as a frame image by the procedure shown in FIG.

【0033】ステップ3:あるフレームの最初のブロッ
クが入力すると、フレーム再生位置選択部18は、ブロッ
ク開始位置選択部9の乱数発生器と常に同じ値を出力す
る乱数発生器によって出力された座標値(3,5)をフ
レーム再生部16に出力する。 ステップ4:フレーム再生部16は、この座標(3,5)
を始点に、図6に示すように、フレーム画像を再生す
る。
Step 3: When the first block of a frame is input, the frame reproduction position selection unit 18 outputs the same value as the random number generator of the block start position selection unit 9, and the coordinate value output by the random number generator. (3, 5) is output to the frame reproduction unit 16. Step 4: The frame reproduction unit 16 uses this coordinate (3, 5)
Starting from, the frame image is reproduced as shown in FIG.

【0034】また、次のフレームの最初のブロックが入
力すると、フレーム再生位置選択部18は、ステップ3に
より、乱数発生器の発生した座標値(7,1)をフレー
ム再生部16に出力し、フレーム再生部16は、ステップ4
により、座標(7,1)を始点に、図7に示すように、
フレーム画像を再生する。
When the first block of the next frame is input, the frame reproduction position selection unit 18 outputs the coordinate value (7, 1) generated by the random number generator to the frame reproduction unit 16 in step 3. The frame reproduction unit 16 performs step 4
As a result, with the coordinates (7, 1) as the starting point,
Play the frame image.

【0035】このように、復元されたブロック画素デー
タは、エンコード時にフレームごとに付けられたオフセ
ット値を基準に、画面上の正しい位置に移動され、フレ
ーム画像が復元される。復元されたフレーム画像は、フ
レームバッファ17に格納される。
In this way, the restored block pixel data is moved to the correct position on the screen based on the offset value added for each frame at the time of encoding, and the frame image is restored. The restored frame image is stored in the frame buffer 17.

【0036】こうすることにより、各フレームにおける
ブロックの境界は常に移動し、ブロックノイズが現れて
も同じ場所に停まることがない。そのため、ブロックノ
イズは目立たなくなり、視覚的にはブロックノイズのな
い画像と同じになる。
By doing so, the boundaries of the blocks in each frame are constantly moved, and even if block noise appears, they do not stop at the same place. Therefore, the block noise is less noticeable and is visually the same as an image without block noise.

【0037】なお、実施例では、フレーム再生位置選択
部18にブロック開始位置選択部9と同じ乱数発生器を設
けているが、ブロック開始位置選択部18の出力した座標
を符号化して伝送し、フレーム再生位置選択部18が、こ
の符号化された情報を基にフレーム再生位置を選択する
ように構成してもよい。
In the embodiment, the same random number generator as the block start position selection unit 9 is provided in the frame reproduction position selection unit 18, but the coordinates output from the block start position selection unit 18 are coded and transmitted. The frame reproduction position selection unit 18 may be configured to select the frame reproduction position based on this encoded information.

【0038】[0038]

【発明の効果】以上の実施例の説明から明らかなよう
に、本発明の画像データ符号化/復号化装置は、ブロッ
クノイズが同じ場所に停滞しないため、視覚的に高品質
の画像を得ることができる。
As is apparent from the above description of the embodiments, the image data encoding / decoding apparatus of the present invention can obtain a visually high quality image because the block noise does not stay in the same place. You can

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

【図1】本発明の実施例における画像データ符号化/復
号化装置の構成を示すブロック図、
FIG. 1 is a block diagram showing a configuration of an image data encoding / decoding device according to an embodiment of the present invention,

【図2】実施例の画像データ符号化装置のブロック開始
位置選択部の動作を示すフロー図、
FIG. 2 is a flowchart showing the operation of a block start position selecting unit of the image data encoding device according to the embodiment.

【図3】実施例の画像データ符号化装置によるブロック
分割の状態を示す図、
FIG. 3 is a diagram showing a state of block division by the image data encoding device according to the embodiment;

【図4】実施例の画像データ符号化装置によるブロック
分割の別の状態を示す図、
FIG. 4 is a diagram showing another state of block division by the image data encoding device according to the embodiment,

【図5】実施例の画像データ復号化装置のフレーム再生
位置選択部の動作を示すフロー図、
FIG. 5 is a flowchart showing the operation of a frame reproduction position selection unit of the image data decoding device according to the embodiment.

【図6】実施例の画像データ復号化装置によるフレーム
再生の状態を示す図、
FIG. 6 is a diagram showing a state of frame reproduction by the image data decoding device according to the embodiment;

【図7】実施例の画像データ復号化装置によるフレーム
再生の別の状態を示す図、
FIG. 7 is a diagram showing another state of frame reproduction by the image data decoding device according to the embodiment;

【図8】従来の画像データ符号化/復号化装置の構成を
示すブロック図である。
FIG. 8 is a block diagram showing a configuration of a conventional image data encoding / decoding device.

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

1 ブロック分割部 2、14 加算器 3 DCT処理部 4 量子化部 5、12 逆量子化部 6、13 逆DCT処理部 7、15 予測部 8 VLC部 9 ブロック開始位置選択部 11 逆VLC部 16 フレーム再生部 17 フレームバッファ 18 フレーム再生位置選択部 1 block division unit 2, 14 adder 3 DCT processing unit 4 quantization unit 5, 12 inverse quantization unit 6, 13 inverse DCT processing unit 7, 15 prediction unit 8 VLC unit 9 block start position selection unit 11 inverse VLC unit 16 Frame playback unit 17 Frame buffer 18 Frame playback position selection unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 画面を複数画素から成るブロックに分割
するブロック分割手段と、ブロックごとの画素データを
離散コサイン変換(DCT)するDCT処理手段と、D
CT処理で求めたブロック内のDCT係数をその係数位
置ごとに異なるステップサイズで線形量子化する量子化
手段と、量子化されたデータを可変長符号化する符号化
手段とを備える画像データ符号化装置において、 前記ブロック分割手段に対して、前記ブロックの分割開
始の基準となる座標位置をフレームごとに違えて指定す
るブロック開始位置選択手段を設けたことを特徴とする
画像データ符号化装置。
1. A block dividing means for dividing a screen into blocks composed of a plurality of pixels, a DCT processing means for performing a discrete cosine transform (DCT) of pixel data of each block, and D.
Image data coding provided with a quantizing means for linearly quantizing the DCT coefficient in the block obtained by the CT processing with a different step size for each coefficient position, and a coding means for variable-length coding the quantized data. The image data coding apparatus according to claim 1, wherein the block division means is provided with block start position selection means for differently specifying a coordinate position serving as a reference for starting division of the block for each frame.
【請求項2】 可変長符号から量子化データを復元する
復号化手段と、量子化データからDCT係数を復元する
逆量子化手段と、DCT係数からブロックごとの画素デ
ータを復元する逆DCT手段と、ブロックごとの画素デ
ータを基にフレーム画像を再生するフレーム再生手段と
を備える画像データ復号化装置において、 前記フレーム再生手段に対して、符号化装置で前記ブロ
ックの分割開始の基準とした座標位置を前記フレーム画
像の再生における再生基準位置として指定するフレーム
再生位置選択手段を設けたことを特徴とする画像データ
復号化装置。
2. Decoding means for restoring the quantized data from the variable length code, dequantizing means for restoring the DCT coefficient from the quantized data, and inverse DCT means for restoring the pixel data for each block from the DCT coefficient. An image data decoding device comprising a frame reproduction means for reproducing a frame image based on pixel data for each block, wherein a coordinate position is used as a reference for starting division of the block by the encoding device with respect to the frame reproduction means. An image data decoding apparatus, characterized by further comprising frame reproduction position selecting means for designating as a reproduction reference position in reproduction of the frame image.
JP28870894A 1994-10-31 1994-10-31 Picture data encoding and decoding device Pending JPH08130735A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28870894A JPH08130735A (en) 1994-10-31 1994-10-31 Picture data encoding and decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28870894A JPH08130735A (en) 1994-10-31 1994-10-31 Picture data encoding and decoding device

Publications (1)

Publication Number Publication Date
JPH08130735A true JPH08130735A (en) 1996-05-21

Family

ID=17733664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28870894A Pending JPH08130735A (en) 1994-10-31 1994-10-31 Picture data encoding and decoding device

Country Status (1)

Country Link
JP (1) JPH08130735A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7702165B2 (en) 2005-10-06 2010-04-20 Kabushiki Kaisha Toshiba Device, method, and program for image coding
JP2017509188A (en) * 2014-01-01 2017-03-30 エルジー エレクトロニクス インコーポレイティド Video signal processing method and apparatus for reducing the visibility of blocking artifacts

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7702165B2 (en) 2005-10-06 2010-04-20 Kabushiki Kaisha Toshiba Device, method, and program for image coding
JP2017509188A (en) * 2014-01-01 2017-03-30 エルジー エレクトロニクス インコーポレイティド Video signal processing method and apparatus for reducing the visibility of blocking artifacts

Similar Documents

Publication Publication Date Title
US5136371A (en) Digital image coding using random scanning
JP3888597B2 (en) Motion compensation coding apparatus and motion compensation coding / decoding method
JP3118237B1 (en) Picture prediction decoding method
US6301304B1 (en) Architecture and method for inverse quantization of discrete cosine transform coefficients in MPEG decoders
JP2003250157A (en) Optimal scanning method for transform coefficients in coding/decoding of still image and moving image
WO2004038921A2 (en) Method and system for supercompression of compressed digital video
KR20030081469A (en) Moving picture coding apparatus and moving picture decoding apparatus
JPH0851626A (en) Method and device for quantizing transformation coefficient of moving picture signal and moving picture signal compression device
JPH1093966A (en) Picture encoding device
KR20020026198A (en) Video compression
JP2891773B2 (en) Method and apparatus for processing digital image sequences
JP2614212B2 (en) Image signal encoding method and apparatus
WO1995022228A1 (en) Method and device for encoding image signal
JP2002204459A (en) Moving picture coding method and device
JPH08130735A (en) Picture data encoding and decoding device
JPH0884339A (en) Image re-compression method and image re-compression device
JPH08163561A (en) Picture data compression device
JPH07107464A (en) Picture encoding device and decoding device
JP3147636B2 (en) Video data arranging method and its encoding device and decoding device
JPH1175198A (en) Image signal compressor and method and storage medium
JPH08265776A (en) Video data synthesizing device and method therefor
JPH05344492A (en) Inter-frame prediction coding system
JP2002359852A (en) Device and method for predictive decoding of image
JP4211023B2 (en) Moving image processing method and moving image processing apparatus
KR0130167B1 (en) Mpeg apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040331

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040406

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040727