JP3536355B2 - Encoding device - Google Patents

Encoding device

Info

Publication number
JP3536355B2
JP3536355B2 JP15165894A JP15165894A JP3536355B2 JP 3536355 B2 JP3536355 B2 JP 3536355B2 JP 15165894 A JP15165894 A JP 15165894A JP 15165894 A JP15165894 A JP 15165894A JP 3536355 B2 JP3536355 B2 JP 3536355B2
Authority
JP
Japan
Prior art keywords
search area
block
quantization
area ratio
quantization width
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 - Fee Related
Application number
JP15165894A
Other languages
Japanese (ja)
Other versions
JPH07336679A (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 JP15165894A priority Critical patent/JP3536355B2/en
Publication of JPH07336679A publication Critical patent/JPH07336679A/en
Application granted granted Critical
Publication of JP3536355B2 publication Critical patent/JP3536355B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、所定の大きさのデー
タ領域から構成されるブロック毎に最適な量子化幅を与
えるようにした符号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encoding device which gives an optimum quantization width for each block composed of a data area of a predetermined size.

【0002】[0002]

【従来の技術】動き補償予測符号化とDCT変換によ
り、画像を圧縮符号化する高能率符号化方式として、M
PEG(Moving Picture Image Coding Experts Group)
やMPEG2(Moving Picture Image Coding Experts G
roup Phase2)が提案されている。MPEGやMPEG2
では、逆量子化及び逆DCT変換した現画像データの誤
差と前画像データとから動きベクトルが求められる。こ
の動きベクトルに基づいて、動き補償された予測画像デ
ータが生成され、この予測画像データと次の画像データ
とから差分データが求められる。そして、この差分デー
タに対して、DCT変換や量子化が行われる。
2. Description of the Related Art M is a high-efficiency coding method for compressing and coding an image by motion compensation predictive coding and DCT conversion.
PEG (Moving Picture Image Coding Experts Group)
And MPEG2 (Moving Picture Image Coding Experts G
roup Phase 2) is proposed. MPEG and MPEG2
Then, the motion vector is obtained from the error of the current image data subjected to the inverse quantization and the inverse DCT conversion and the previous image data. Motion-compensated predicted image data is generated based on this motion vector, and difference data is obtained from this predicted image data and the next image data. Then, DCT conversion and quantization are performed on this difference data.

【0003】図7は、符号化装置の一例を示すブロック
図である。入力端子51を介された現画像データは、減
算器52及び動きベクトル検出器62に供給される。動
きベクトル検出器62の検出出力は、フレームメモリを
有する動き補償予測器61及び可変長符号化器55に供
給される。減算器52では、現画像データと動き補償予
測器61の出力データとの差分がとられる。減算器52
の出力データは、例えば(8×8)画素の2次元DCT
変換器53でDCT変換される。DCT変換された画像
データは、量子化器54で量子化され、可変長符号化器
55及び逆量子化器58に供給される。逆量子化器58
に供給される画像データは、量子化器54でなされた処
理と逆の処理がなされる。逆量子化器58の出力は、逆
DCT変換器59で逆DCTされた後、加算器60に供
給される。加算器60には、動き補償予測器61から参
照フレームの予測画像データが供給されており、これら
のデータが加算される。加算器60の出力データが動き
補償予測器61に供給される。動き補償予測器61で
は、動きベクトル検出器62からの検出出力と加算器6
0からの加算出力とに基づいて、動き補償予測が行われ
る。
FIG. 7 is a block diagram showing an example of an encoding device. The current image data via the input terminal 51 is supplied to the subtractor 52 and the motion vector detector 62. The detection output of the motion vector detector 62 is supplied to the motion compensation predictor 61 having a frame memory and the variable length encoder 55. The subtracter 52 takes the difference between the current image data and the output data of the motion compensation predictor 61. Subtractor 52
Output data is, for example, a two-dimensional DCT of (8 × 8) pixels
DCT conversion is performed by the converter 53. The DCT-transformed image data is quantized by the quantizer 54 and supplied to the variable length encoder 55 and the inverse quantizer 58. Inverse quantizer 58
The image data supplied to is subjected to a process reverse to the process performed by the quantizer 54. The output of the inverse quantizer 58 is inversely DCTed by the inverse DCT converter 59 and then supplied to the adder 60. The predicted image data of the reference frame is supplied from the motion compensation predictor 61 to the adder 60, and these data are added. The output data of the adder 60 is supplied to the motion compensation predictor 61. In the motion compensation predictor 61, the detection output from the motion vector detector 62 and the adder 6
Motion compensated prediction is performed based on the addition output from 0.

【0004】可変長符号化器55には、上述のように、
動きベクトル検出器62からの動きベクトル及び量子化
器54からの量子化出力が供給されている。量子化器5
4の出力は、動きベクトルに基づいて可変長符号化され
る。可変長符号化器55の符号化データは、定レート制
御器56に供給される。定レート制御器56からは、定
レートで符号化データが出力端子57に供給される。ま
た、定レート制御器56からは、量子化器54及び逆量
子化器58に量子化スケールが供給される。
The variable length encoder 55, as described above,
The motion vector from motion vector detector 62 and the quantized output from quantizer 54 are provided. Quantizer 5
4 is variable length coded based on the motion vector. The encoded data of the variable length encoder 55 is supplied to the constant rate controller 56. From the constant rate controller 56, encoded data is supplied to the output terminal 57 at a constant rate. Further, the constant rate controller 56 supplies a quantizer scale to the quantizer 54 and the inverse quantizer 58.

【0005】[0005]

【発明が解決しようとする課題】上述のような符号化装
置では、画面全体をある大きさの矩形領域に分割したブ
ロック単位で動きベクトルを検出する処理が行われる。
そして、その動きベクトルを用いて、時間的に前または
後ろのピクチャーのブロックから現ピクチャーのブロッ
クを予測するフレーム間の動き補償予測、または、フィ
ールド間の動き補償予測が行われる。これらの動き補償
予測方式では、予測する画面の時間的な距離によって所
定の大きさをもつ動きベクトル探索エリアが設けられ、
その探索エリア内で動き補償予測を最も的確に行うこと
のできるような動きベクトルが検出される。動き補償予
測をより的確に行うためには、検出する動きベクトルの
水平方向及び垂直方向の取り得る値の範囲をより大きく
することが望ましいとされる。
In the above-described coding device, processing for detecting a motion vector is performed in block units obtained by dividing the entire screen into rectangular areas of a certain size.
Then, using the motion vector, inter-frame motion-compensated prediction in which the current picture block is predicted from the temporally preceding or following picture block, or inter-field motion-compensated prediction is performed. In these motion compensation prediction methods, a motion vector search area having a predetermined size is provided depending on the temporal distance of the predicted screen,
Within the search area, a motion vector that can most accurately perform motion compensation prediction is detected. In order to perform the motion-compensated prediction more accurately, it is desirable to increase the range of possible values of the detected motion vector in the horizontal direction and the vertical direction.

【0006】しかしながら、実際の符号化装置では、そ
の動きベクトルの取り得る値の範囲、つまり、探索エリ
アがそのフレームによって上下対称また左右対称である
と共に一定の大きさで一意に定まっている。また、ブロ
ック毎の動きベクトルの有効的な探索エリアは、現ブロ
ックが画面上のどこに位置しても一定というわけではな
い。つまり処理画面の上下左右4つの外枠に近いブロッ
クを処理する時は、与えられた探索エリアに比べて、外
枠に近いブロックの探索エリアは縮小する。このように
探索エリアを縮小されたブロックは、探索エリアを縮小
されていないブロックに比べて動き補償予測性能が劣る
可能性がある。この結果、外枠に近いブロックについて
は、それ以外のブロックに比べ、符号化による再生主観
画質の劣化を伴うことがある。また、例えば、1つの画
面全体を複数のチャンネルに分割して符号化の並列処理
を行わせるような符号化装置では、分割した画面の境界
付近で、再生画面の主観画質の劣化が目立つという欠点
が生じるおそれがある。
However, in the actual coding apparatus, the range of values that the motion vector can take, that is, the search area is vertically symmetrical or laterally symmetrical depending on the frame, and is uniquely determined with a constant size. Further, the effective search area of the motion vector for each block is not constant regardless of where the current block is located on the screen. That is, when processing blocks close to the four upper, lower, left, and right outer frames of the processing screen, the search areas of the blocks close to the outer frame are reduced as compared with the given search area. A block whose search area has been reduced in this way may be inferior in motion compensation prediction performance to a block whose search area has not been reduced. As a result, the blocks near the outer frame may be deteriorated in the reproduced subjective image quality due to the encoding, as compared with the other blocks. In addition, for example, in an encoding device that divides an entire screen into a plurality of channels and performs parallel encoding processing, the subjective image quality of the reproduced screen is conspicuously deteriorated near the boundaries of the divided screens. May occur.

【0007】従って、この発明の目的は、画面中におけ
るブロックの位置にかかわらず、再生画面の主観画質を
所定の品質以上に保つことのできる符号化装置を提供す
ることにある。
Therefore, an object of the present invention is to provide an encoding device capable of maintaining the subjective image quality of a reproduced screen above a predetermined quality regardless of the position of a block in the screen.

【0008】[0008]

【課題を解決するための手段】この発明は、ブロック単
位に分割されたデータを圧縮するDCT変換器3と、D
CT変換器3によりDCT変換されたデータを量子化す
る量子化器4と、データに対する動きベクトルの探索可
能エリアを検出する有効ベクトル探索エリア率検出器1
3と、有効ベクトル探索エリア率検出器13の検出出力
に基づいて、量子化幅を量子化器4に与える量子化幅決
定器14とからなり、探索可能エリアが所定の探索可能
エリアよりも小さい時には、量子化幅決定器14から量
子化器4に与えられる量子化幅が小さくされることを特
徴とする符号化装置である。
According to the present invention, a DCT converter 3 for compressing data divided into block units, and
A quantizer 4 for quantizing the data DCT-transformed by the CT converter 3, and an effective vector search area ratio detector 1 for detecting a searchable area of a motion vector for the data.
3 and a quantization width determiner 14 that gives a quantization width to the quantizer 4 based on the detection output of the effective vector search area ratio detector 13, and the searchable area is smaller than a predetermined searchable area. At times, the encoding device is characterized in that the quantization width given from the quantization width determiner 14 to the quantizer 4 is reduced.

【0009】[0009]

【作用】有効ベクトル探索エリア率検出器13で、動き
ベクトルの探索可能エリアを求める。求められた探索可
能エリアを要因の1つとして量子化幅が量子化幅決定器
14で求められ、この量子化幅が量子化器4に与えられ
る。
The effective vector search area ratio detector 13 obtains a motion vector searchable area. The quantization width is obtained by the quantization width determiner 14 using the obtained searchable area as one of the factors, and the quantization width is given to the quantizer 4.

【0010】[0010]

【実施例】以下、この発明による符号化装置に関して図
面を参照して説明する。図1は、画面上のある一定の大
きさの矩形領域から構成されるブロック単位に動き補償
予測を行う符号化装置のブロック図である。入力端子1
を介された現画像データは、減算器2及び動きベクトル
検出器12に供給される。動きベクトル検出器12は、
現ピクチャーの特定の位置に存在するブロックが時間的
に前後する参照ピクチャーのブロックを基準とした時の
移動量(ベクトル量)を検出するものである。つまり、
図2に示されるように、現ピクチャー21のブロックに
対応する位置にある参照ピクチャー22(図2では時間
的に前のピクチャーのみ)のブロックを基準として、現
ピクチャー21のブロックが水平方向及び垂直方向に何
画素分動いているのが最適であるかを示すベクトル量
を、動きベクトル検出器12は検出する。なお、図2の
mvは動きベクトルを示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An encoding apparatus according to the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an encoding device that performs motion compensation prediction in block units composed of rectangular areas of a certain size on a screen. Input terminal 1
The current image data passed through is supplied to the subtractor 2 and the motion vector detector 12. The motion vector detector 12 is
This is to detect the amount of movement (vector amount) when a block existing at a specific position in the current picture is based on a block of a reference picture that is temporally preceding and succeeding. That is,
As shown in FIG. 2, the block of the current picture 21 is horizontally and vertically referenced to the block of the reference picture 22 (only the previous picture in time in FIG. 2) at the position corresponding to the block of the current picture 21. The motion vector detector 12 detects a vector amount indicating how many pixels are optimally moved in the direction. In addition, mv of FIG. 2 shows a motion vector.

【0011】動きベクトル検出器12で検出されたベク
トル量は、可変長符号化器5及びフレームメモリを有す
る動き補償予測器11に供給される。減算器2には、動
き補償予測器11の予測画像データが供給されており、
現画像データと予測画像データとの差分がとられる。減
算器2の出力データは、例えば(8×8)画素の2次元
DCT変換器3でDCT変換される。これと共に、後述
する有効ベクトル探索エリア率検出器13に供給され
る。DCT変換された画像データは、量子化器4で量子
化され、可変長符号化器5及び逆量子化器8に供給され
る。逆量子化器8に供給される画像データは、量子化器
4でなされた処理と逆の処理がなされる。逆量子化器8
の出力は、逆DCT変換器9で逆DCTされた後、加算
器10に供給される。加算器10には、動き補償予測器
11から参照フレームの予測画像データが供給されてお
り、これらのデータが加算される。加算器10の出力デ
ータが動き補償予測器11に供給される。動き補償予測
器11では、動きベクトル検出器12からの検出出力と
加算器10からの加算出力とに基づいて、動き補償予測
が行われる。
The vector amount detected by the motion vector detector 12 is supplied to a variable length encoder 5 and a motion compensation predictor 11 having a frame memory. The subtractor 2 is supplied with the prediction image data of the motion compensation predictor 11,
The difference between the current image data and the predicted image data is taken. The output data of the subtractor 2 is DCT-converted by the two-dimensional DCT converter 3 of (8 × 8) pixels, for example. Along with this, it is supplied to the effective vector search area ratio detector 13 described later. The DCT-transformed image data is quantized by the quantizer 4 and supplied to the variable-length encoder 5 and the inverse quantizer 8. The image data supplied to the inverse quantizer 8 is subjected to a process reverse to that performed by the quantizer 4. Inverse quantizer 8
The output of is subjected to inverse DCT by the inverse DCT converter 9 and then supplied to the adder 10. The predictive image data of the reference frame is supplied from the motion compensation predictor 11 to the adder 10, and these data are added. The output data of the adder 10 is supplied to the motion compensation predictor 11. The motion compensation predictor 11 performs motion compensation prediction based on the detection output from the motion vector detector 12 and the addition output from the adder 10.

【0012】可変長符号化器5には、上述のように、動
きベクトル検出器12からの動きベクトル及び量子化器
4からの量子化出力が供給されている。これにより、量
子化器4では、量子化出力に対して動きベクトルに基づ
いた可変長符号化が行われる。可変長符号化器5の符号
化データは、定レート制御器6に供給される。定レート
制御器6の出力データは、定レートで出力端子7に供給
される。また、定レート制御器6からは、量子化スケー
ルが量子化幅決定器14に供給される。有効ベクトル探
索エリア率検出器13では、動きベクトル処理ブロック
内において、与えられたベクトルの探索エリアを1とし
た時の実効的なベクトル検出探索エリア(有効ベクトル
エリア率)の大きさを検出するものである。有効ベクト
ル探索エリア率検出器13の検出出力が量子化幅決定器
14に供給される。量子化幅決定器14では、定レート
制御器6から供給された量子化スケールと有効ベクトル
探索エリア率検出器13から供給された有効ベクトル探
索エリア率に基づいて量子化幅が決定される。量子化幅
決定器14から出力される量子化幅は、量子化器4及び
逆量子化器8に供給される。
The variable length encoder 5 is supplied with the motion vector from the motion vector detector 12 and the quantized output from the quantizer 4 as described above. As a result, the quantizer 4 performs variable length coding on the quantized output based on the motion vector. The encoded data of the variable length encoder 5 is supplied to the constant rate controller 6. The output data of the constant rate controller 6 is supplied to the output terminal 7 at a constant rate. Further, the quantization scale is supplied from the constant rate controller 6 to the quantization width determiner 14. The effective vector search area ratio detector 13 detects the size of an effective vector detection search area (effective vector area ratio) when the search area of a given vector is set to 1 in the motion vector processing block. Is. The detection output of the effective vector search area ratio detector 13 is supplied to the quantization width determiner 14. The quantization width determiner 14 determines the quantization width based on the quantization scale supplied from the constant rate controller 6 and the effective vector search area ratio supplied from the effective vector search area ratio detector 13. The quantization width output from the quantization width determiner 14 is supplied to the quantizer 4 and the inverse quantizer 8.

【0013】ところで、動きベクトルを検出する際に
は、ベクトルの取り得る値の水平成分及び垂直成分の大
きさ、つまり、ベクトルの探索エリアは、現ピクチャー
と参照ピクチャーとの時間的な距離により水平方向及び
垂直方向にそれぞれ対称に一意に決定される。しかし、
現ピクチャーにおける処理ブロックが画面の境界付近に
位置しているときには、与えられたベクトル検出の探索
エリアに比べ、水平方向または垂直方向に縮小されたブ
ロックとなる。そして、その縮小範囲の度合は、処理ブ
ロックが水平または垂直の境界から何ブロック離れて位
置しているか、つまり、水平方向及び垂直方向それぞれ
の境界からのオフセットブロック数によって一意に決定
される。有効ベクトル探索エリア率検出器13では、ブ
ロックにおけるベクトルの探索可能エリアが検出され
る。
By the way, when detecting a motion vector, the magnitudes of the horizontal and vertical components of the vector, that is, the search area of the vector, is determined by the horizontal distance between the current picture and the reference picture. It is uniquely determined symmetrically in the direction and the vertical direction. But,
When the processing block in the current picture is located near the boundary of the screen, the block is reduced in the horizontal direction or the vertical direction as compared with the given search area for vector detection. The degree of the reduction range is uniquely determined by how many blocks the processing block is located from the horizontal or vertical boundary, that is, the number of offset blocks from the horizontal and vertical boundaries. The effective vector search area ratio detector 13 detects a vector searchable area in a block.

【0014】以下、有効ベクトル探索エリア率検出器1
3での動作を図3、図4及び図5を参照して説明する。
なお、図3、図4及び図5は、ブロックの大きさと動き
ベクトルの探索範囲との関係を示す図である。図3にお
いて、1ブロックは、例えば、B×Bの大きさとされ
る。また、現ピクチャーと参照ピクチャーとの時間的な
距離によって決まるベクトル検出の探索エリアは、水平
方向では−AREA H〜AREA H、垂直方向では
−AREA V〜AREA Vとされる。最適な動きベ
クトルを探索するために、(B×B)ブロックの周囲の
エリアが動きベクトル検出の探索エリアの対象とされ
る。このブロックが画面の境界付近以外のエリア(例え
ば画面中央等)にある場合には、有効ベクトル探索エリ
ア率が「1」であるとされる。
Hereinafter, the effective vector search area rate detector 1
The operation in No. 3 will be described with reference to FIGS. 3, 4 and 5.
3, 4, and 5 are diagrams showing the relationship between the block size and the motion vector search range. In FIG. 3, one block has a size of B × B, for example. The search area for vector detection determined by the temporal distance between the current picture and the reference picture is -AREA H to AREA H in the horizontal direction and -AREA V to AREA V in the vertical direction. In order to search for the optimum motion vector, the area around the (B × B) block is set as a search area for motion vector detection. When this block is in an area other than the vicinity of the screen boundary (for example, the center of the screen), the effective vector search area ratio is set to "1".

【0015】図4は、有効ベクトル探索エリア率が
「1」未満の場合における、ブロックの大きさと動きベ
クトルの探索範囲との関係を示す図である。図4におい
て、1ブロックは(B×B)の大きさであり、(B×
B)ブロックが画面の境界付近(画面端)に存在するも
のとする。この場合の有効ベクトル探索エリア率は1未
満である。つまり、このブロックが画面端に存在する場
合には、動きベクトル検出探索エリアが32のようにな
ってしまう。この結果、有効ベクトル探索エリア率が
「1」未満となる。
FIG. 4 is a diagram showing the relationship between the block size and the motion vector search range when the effective vector search area ratio is less than "1". In FIG. 4, one block has a size of (B × B), and (B × B)
B) It is assumed that the block exists near the boundary of the screen (screen edge). In this case, the effective vector search area ratio is less than 1. That is, when this block exists at the edge of the screen, the motion vector detection search area becomes 32. As a result, the effective vector search area ratio becomes less than "1".

【0016】図5は、全画面を複数のチャンネルに分割
した場合におけるブロックの大きさと動きベクトルの探
索範囲との関係を示す図である。図5に示すように分割
した画面間の境界付近では、図4に示したものと同様
に、有効ベクトル探索エリア率が「1」未満となる。
FIG. 5 is a diagram showing the relationship between the block size and the motion vector search range when the entire screen is divided into a plurality of channels. In the vicinity of the boundary between the divided screens as shown in FIG. 5, the effective vector search area ratio is less than “1” as in the case shown in FIG.

【0017】図4や図5に示すように、有効ベクトル探
索エリア率が「1」未満になる位置のブロックは、その
他のエリアに位置されたブロックに比べて、主観画質が
劣化するおそれがある。そこで、量子化器4及び逆量子
化器8に対する量子化化幅及び逆量子化幅を決定する際
に、この有効ベクトル探索エリア率のデータを量子化幅
決定器14に供給することで、検出ブロックでの有効ベ
クトル探索エリアの大きさに応じて量子化幅を変化させ
ることができる。
As shown in FIG. 4 and FIG. 5, the block in the position where the effective vector search area ratio is less than "1" may deteriorate the subjective image quality as compared with the blocks in the other areas. . Therefore, when determining the quantization width and the dequantization width for the quantizer 4 and the dequantizer 8, by supplying the data of the effective vector search area ratio to the quantization width determiner 14, The quantization width can be changed according to the size of the effective vector search area in the block.

【0018】図1における量子化器4では、DCT変換
器3で変換された画素値がブロック毎に一意に決まる量
子化幅で除算される。つまり、DCT変換後の画素値を
pxl、量子化後の画素値をpxlq、量子化幅をΔq
とすると、量子化演算は次式のようになる。 pxlq=pxl/Δq……(1)
In the quantizer 4 in FIG. 1, the pixel value converted by the DCT converter 3 is divided by the quantization width uniquely determined for each block. That is, the pixel value after DCT conversion is pxl, the pixel value after quantization is pxlq, and the quantization width is Δq.
Then, the quantization operation is as follows. pxlq = pxl / Δq (1)

【0019】量子化幅Δqは各ブロック毎に与えられ
る。この量子化幅Δqは、定レート制御器6の出力レー
トを一定にするために、実際の出力バッファを監視して
いるバッファ制御部からのフィードバックにより得られ
る参照量子化幅refqとそれ以外の要因Kとの積によ
り次式のように求められる。 Δq=K×refq……(2)
The quantization width Δq is given for each block. This quantization width Δq is a reference quantization width refq obtained by feedback from the buffer control unit that monitors the actual output buffer in order to keep the output rate of the constant rate controller 6 constant, and other factors. It is calculated by the product of K and the following equation. Δq = K × refq (2)

【0020】さらに、Kは、有効ベクトル探索エリア率
( VVAR:Valid Vector Area Ratio)を用いた関数fu
nc(VVAR)とそれ以外の要因K1との積により次式
のように求められる。 K=K1×func (VVAR)……(3)
Further, K is the effective vector search area ratio.
Function fu using (VVAR: Valid Vector Area Ratio)
The product of nc (VVAR) and the other factor K1 is obtained by the following equation. K = K1 × func (VVAR) (3)

【0021】量子化器4は、有効ベクトルエリア率(V
VAR)により式(3)におけるfunc(VVAR)を与
えることにより、式(1)が成り立つように構成され
る。なお、func(VVAR)は以下の式(4)を満たす
関数である。例えば、ある2つの有効ベクトル探索エリ
ア率VVAR1及びVVAR2が存在する時、0<VV
AR1<VVAR2≦1ならば、 func(VVAR1)≦func(VVAR2)……(4) つまり、同じ参照量子化幅refq及びK1が与えられ
ている場合には、有効ベクトル探索エリア率が小さいほ
ど量子化幅は小さくなる。
The quantizer 4 has an effective vector area ratio (V
By giving func (VVAR) in the equation (3) by VAR), the equation (1) is formed. Note that func (VVAR) is a function that satisfies the following expression (4). For example, when there are two effective vector search area ratios VVAR1 and VVAR2, 0 <VV
If AR1 <VVAR2 ≦ 1, func (VVAR1) ≦ func (VVAR2) (4) That is, when the same reference quantization width refq and K1 are given, the smaller the effective vector search area ratio, the smaller the quantum. The conversion width becomes smaller.

【0022】図6は、有効ベクトル探索エリア率VVA
Rと関数func(VVAR)との関係を示すグラフであ
り、例えば、 func(VVAR)=0.5×VVAR+0.5……(5) の時の有効ベクトル探索エリア率VVARと関数func
(VVAR)の関係を示すものである。上述のように、
0<VVAR≦1であるので、関数func(VVAR)
は、 0.5<func(VVAR)≦1……(6) で変化することになる。即ち、有効ベクトル探索エリア
率VVARの値により関数func(VVAR)が変化し、
しいては、量子化幅が変化することになる。
FIG. 6 shows the effective vector search area ratio VVA.
9 is a graph showing the relationship between R and the function func (VVAR), for example, the effective vector search area ratio VVAR and the function func when func (VVAR) = 0.5 × VVAR + 0.5 (5)
It shows the relationship of (VVAR). As mentioned above,
Since 0 <VVAR ≦ 1, the function func (VVAR)
Changes with 0.5 <func (VVAR) ≦ 1 ... (6). That is, the function func (VVAR) changes depending on the value of the effective vector search area ratio VVAR,
Eventually, the quantization width will change.

【0023】なお、上述の説明では、有効ベクトル探索
エリア率13及び量子化幅決定器14を用いたが、これ
らの代わりに、ブロック番号が蓄えられたROM等で構
成してもよい。この場合には、ROM内にブロック番号
及びブロック番号に対応する有効ベクトル探索エリア率
が記憶されており、上述の実施例と同等の効果を得るこ
とができる。
In the above description, the effective vector search area ratio 13 and the quantization width determiner 14 are used, but instead of these, a ROM or the like in which block numbers are stored may be used. In this case, the block number and the effective vector search area ratio corresponding to the block number are stored in the ROM, and the same effect as that of the above-described embodiment can be obtained.

【0024】[0024]

【発明の効果】この発明に依れば、有効ベクトル探索エ
リア率の大きさに応じて量子化幅を変化させることがで
きるので、画面の上下幅または左右端に近い領域での再
生画面の主観画質の劣化を防ぐことが可能となる。ま
た、画面全体を複数の小画面に分割して各小画面毎に分
割して各小画面毎に並行処理する場合においても、各画
面の境界付近での再生画面の主観画質劣化を防ぐことが
可能となる。
According to the present invention, since the quantization width can be changed according to the size of the effective vector search area ratio, the subjectivity of the reproduced screen in the area close to the vertical width or the left and right edges of the screen can be changed. It is possible to prevent deterioration of image quality. Even when the entire screen is divided into a plurality of small screens and each small screen is processed in parallel, it is possible to prevent the subjective image quality deterioration of the reproduced screen near the boundary of each screen. It will be possible.

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

【図1】この発明による符号化装置のブロック図であ
る。
FIG. 1 is a block diagram of an encoding device according to the present invention.

【図2】動きベクトル量の説明に用いる図である。FIG. 2 is a diagram used for explaining a motion vector amount.

【図3】ブロックの大きさと動きベクトルの探索範囲と
の関係を示す図である。
FIG. 3 is a diagram showing a relationship between a block size and a motion vector search range.

【図4】有効ベクトル探索エリア率が「1」未満の場合
における、ブロックの大きさと動きベクトルの探索範囲
との関係を示す図である。
FIG. 4 is a diagram showing a relationship between a block size and a motion vector search range when the effective vector search area ratio is less than “1”.

【図5】全画面を複数のチャンネルに分割した場合にお
けるブロックの大きさと動きベクトルの探索範囲との関
係を示す図である。
FIG. 5 is a diagram showing a relationship between a block size and a motion vector search range when the entire screen is divided into a plurality of channels.

【図6】有効ベクトル探索エリア率VVARと関数func
(VVAR)との関係を示すグラフである。
FIG. 6 Effective vector search area ratio VVAR and function func
It is a graph which shows the relationship with (VVAR).

【図7】従来の符号化装置の一例を示すブロック図であ
る。
FIG. 7 is a block diagram showing an example of a conventional encoding device.

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

3 DCT変換器 4 量子化器 13 有効ベクトル探索エリア率検出器 14 量子化幅決定器 3 DCT converter 4 Quantizer 13 Effective Vector Search Area Rate Detector 14 Quantization width determiner

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 H03M 7/30 - 7/50 ─────────────────────────────────────────────────── ─── Continuation of front page (58) Fields surveyed (Int.Cl. 7 , DB name) H04N 7/ 24-7/68 H03M 7/ 30-7/50

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ブロック単位に分割されたデータを圧縮
する圧縮手段と、 上記圧縮手段により圧縮された上記データを量子化する
量子化手段と、 上記データに対する動きベクトルの探索可能エリアを検
出する有効ベクトル探索エリア率検出手段と、 上記有効ベクトル探索エリア率検出手段の検出出力に基
づいて、量子化幅を上記量子化手段に与える量子化幅決
定手段とからなり、 上記探索可能エリアが所定の探索可能エリアよりも小さ
い時には、上記量子化幅決定手段から上記量子化手段に
与えられる量子化幅が小さくされることを特徴とする符
号化装置。
1. A compression means for compressing data divided into block units, a quantization means for quantizing the data compressed by the compression means, and an effective means for detecting a searchable area of a motion vector for the data. The vector search area ratio detection means and the quantization width determination means for giving the quantization width to the quantization means based on the detection output of the effective vector search area ratio detection means. An encoding device characterized in that, when the size is smaller than the possible area, the quantization width given to the quantization means from the quantization width determination means is reduced.
【請求項2】 上記有効ベクトル探索エリア率検出手段
の検出出力に応じて、上記量子化手段に与えられる上記
量子化幅が変化される請求項1記載の符号化装置。
2. The encoding apparatus according to claim 1, wherein the quantization width given to the quantization means is changed according to the detection output of the effective vector search area ratio detection means.
JP15165894A 1994-06-09 1994-06-09 Encoding device Expired - Fee Related JP3536355B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15165894A JP3536355B2 (en) 1994-06-09 1994-06-09 Encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15165894A JP3536355B2 (en) 1994-06-09 1994-06-09 Encoding device

Publications (2)

Publication Number Publication Date
JPH07336679A JPH07336679A (en) 1995-12-22
JP3536355B2 true JP3536355B2 (en) 2004-06-07

Family

ID=15523392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15165894A Expired - Fee Related JP3536355B2 (en) 1994-06-09 1994-06-09 Encoding device

Country Status (1)

Country Link
JP (1) JP3536355B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5362723B2 (en) 2008-07-30 2013-12-11 日立コンシューマエレクトロニクス株式会社 Compressed image noise removal device and playback device

Also Published As

Publication number Publication date
JPH07336679A (en) 1995-12-22

Similar Documents

Publication Publication Date Title
EP1246131B1 (en) Method and apparatus for the reduction of artifact in decompressed images using post-filtering
US5561477A (en) System for coding a video signal in the presence of an image intensity gradient
KR100251548B1 (en) Apparatus of predicting motion for digital image and method thereof
US20070002945A1 (en) Intra-coding apparatus and method
US20090190660A1 (en) Image encoding method
US5500689A (en) System for detecting a video signal image intensity gradient
US20050041740A1 (en) Video data conversion device and video data conversion method
HK1157549A1 (en) Improved interpolation of video compression frames
JP3755155B2 (en) Image encoding device
JP3866624B2 (en) Moving picture encoding method, moving picture decoding method, moving picture encoding apparatus, and moving picture decoding apparatus
JP3531532B2 (en) Video encoding apparatus and method
US6697430B1 (en) MPEG encoder
US20080205778A1 (en) Image predicting apparatus and method, and image coding apparatus and method
US7236529B2 (en) Methods and systems for video transcoding in DCT domain with low complexity
JP3536355B2 (en) Encoding device
JP2009094644A (en) Moving image encoding apparatus and method for controlling the same
JPH0691653B2 (en) Adaptive coding system
JPH0410788A (en) Method for controlling coding variable of image signal
JP4676513B2 (en) Encoded picture type determination method, apparatus, program thereof, and recording medium thereof
JP2000032468A (en) Image encoding method and recording medium with motion compensation mode selection program recorded therein
JP2005303555A (en) Moving image encoding apparatus and its method
KR100744435B1 (en) An improved early detection of all-zero dct coefficients for fast video encoding
JP4533157B2 (en) Image decoding method
JP4359273B2 (en) Coding mode selection method
JPH1155677A (en) Moving image coder

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040210

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040224

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040308

LAPS Cancellation because of no payment of annual fees