[go: up one dir, main page]

JP2001251627A - Encoding device, encoding method, and recording medium recording program - Google Patents

Encoding device, encoding method, and recording medium recording program

Info

Publication number
JP2001251627A
JP2001251627A JP2000059549A JP2000059549A JP2001251627A JP 2001251627 A JP2001251627 A JP 2001251627A JP 2000059549 A JP2000059549 A JP 2000059549A JP 2000059549 A JP2000059549 A JP 2000059549A JP 2001251627 A JP2001251627 A JP 2001251627A
Authority
JP
Japan
Prior art keywords
encoding
unit
block
motion vector
macroblock
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
JP2000059549A
Other languages
Japanese (ja)
Inventor
Satoru Kuriki
悟 栗木
Nobuhiko Yamada
信彦 山田
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 JP2000059549A priority Critical patent/JP2001251627A/en
Publication of JP2001251627A publication Critical patent/JP2001251627A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【課題】 動画像データの符号化効率を高めた符号化装
置を提供する。 【解決手段】 動画像データのブロック単位に動き予測
部109と動きベクトル検出部102とが動き補償予測
を行うことにより得られる予測誤差と動きベクトルとを
符号化する符号化装置10において、スキップ判定部1
20は符号化対象のブロックのDCT及び量子化後の予
測誤差が0であるか否かを判定し、0であると判定した
場合には、Pピクチャについては動きベクトルが第1し
きい値より小さい場合、Bピクチャについては隣のブロ
ックの動きベクトルとの大きさの差が第2しきい値より
小さい場合に当該ブロックを省略するよう動きベクトル
置換部121に通知し、動きベクトル置換部121は動
きベクトル検出部102からの動きベクトルを0に置き
換えて可変長符号化部110に出力することにより可変
長符号化部110は当該ブロックの可変長符号化を省略
する。
(57) [Summary] [PROBLEMS] To provide an encoding device with improved encoding efficiency of moving image data. Kind Code: A1 A coding apparatus for coding a prediction error and a motion vector obtained by performing a motion compensation prediction by a motion prediction unit and a motion vector detection unit on a block basis of moving image data. Part 1
20 determines whether or not the DCT and the prediction error of the block to be coded after quantization are 0, and when it is determined that the prediction error is 0, the motion vector of the P picture is smaller than the first threshold value. If the B-picture is smaller, the motion vector replacement unit 121 is notified to omit the block if the difference between the size of the B-picture and the motion vector of the adjacent block is smaller than the second threshold, and the motion vector replacement unit 121 By replacing the motion vector from the motion vector detection unit 102 with 0 and outputting it to the variable length coding unit 110, the variable length coding unit 110 omits variable length coding of the block.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、動画像データを圧
縮符号化する符号化装置に関し、特にその符号化効率の
向上に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encoding apparatus for compressing and encoding moving image data, and more particularly to an improvement in encoding efficiency.

【0002】[0002]

【従来の技術】MPEG方式により動画データを圧縮符
号化する符号化装置は、動き補償によるフレーム間予測
(以下動き補償予測と省略する)を行うことによって動
画データを圧縮する。動き補償予測とは、動画データ中
の符号化対象のブロック(以下、対象ブロックと呼ぶ)
について、対象ブロックが属するフレームの過去又は未
来(あるいはその両方)のフレーム(以下、参照フレー
ムと呼ぶ)の中から、対象ブロックと類似するブロック
(以下、参照ブロックと呼ぶ)を探索し、対象ブロック
と参照ブロックとの各画素の差分(以下、予測誤差と呼
ぶ)と、両ブロックの相対的な位置関係を表す動きベク
トルとを求める操作をいう。通常、動き補償予測は、マ
クロブロック単位に行われる。マクロブロックは、8画
素×8ラインの輝度信号のブロック4つと、それら4つ
に対応する位置にある8画素×8ラインの2種類の色差
信号のブロックからなる。
2. Description of the Related Art An encoding apparatus for compressing and encoding moving image data by the MPEG system compresses moving image data by performing inter-frame prediction by motion compensation (hereinafter abbreviated as motion compensation prediction). Motion compensation prediction refers to a block to be encoded in video data (hereinafter, referred to as a target block).
, A block (hereinafter, referred to as a reference block) similar to the target block is searched for from among the past and / or future (or both) frames of the frame to which the target block belongs (hereinafter, referred to as a reference frame). It refers to an operation of obtaining a difference between each pixel between the two blocks (hereinafter, referred to as a prediction error) and a motion vector representing a relative positional relationship between the two blocks. Normally, motion compensation prediction is performed for each macroblock. The macro block is composed of four blocks of luminance signals of 8 pixels × 8 lines and two blocks of color difference signals of 8 pixels × 8 lines at positions corresponding to the four blocks.

【0003】符号化装置は、動き補償予測によって得ら
れる予測誤差に対してDCT(離散コサイン変換)、量
子化を行い、結果の量子化DCT係数ブロック(以下、
量子化ブロックと呼ぶ)を動きベクトルとともに可変長
符号化する。ただし符号化装置は、3種類の符号化タイ
プ(I、P、Bピクチャ)のうち、Iピクチャのマクロ
ブロックについては動き補償予測を行わないので、予測
誤差ではなく対象ブロックそのものをDCT、量子化、
可変長符号化する。
An encoding device performs DCT (Discrete Cosine Transform) and quantization on a prediction error obtained by motion compensation prediction, and obtains a quantized DCT coefficient block (hereinafter, referred to as a DCT coefficient block).
(Referred to as a quantization block) together with a motion vector. However, the coding apparatus does not perform motion compensation prediction on the macroblock of the I picture among the three types of coding types (I, P, and B pictures). ,
Perform variable length coding.

【0004】ここで符号化タイプについて説明してお
く。符号化タイプは、Iピクチャ、Pピクチャ、Bピク
チャの3種類あり、各フレームは3種類のうちのいずれ
か1つの符号化タイプが定められており、その符号化タ
イプに応じてことなる符号化方法により符号化される。
Iピクチャのフレームは、動き補償予測を行わずにマク
ロブロックの輝度信号及び2つの色差信号そのものがD
CT、量子化及び可変長符号化される。またIピクチャ
のフレームは、他の符号化タイプのフレームの参照フレ
ームとなる。Pピクチャのフレームは、過去のIピクチ
ャ又はPピクチャのフレームを参照フレームとして動き
補償予測され、動き補償予測後の予測誤差がDCT、量
子化及び可変長符号化される。またPピクチャのフレー
ムは他のPピクチャまたはBピクチャのマクロブロック
の参照フレームとなる。Pピクチャの符号化方法を単方
向予測と呼ぶ。Bピクチャのフレームは、過去又は未来
(あるいはその両方)のIピクチャ又はPピクチャのフ
レームを参照フレームとして動き補償予測され、その結
果の予測誤差がDCT、量子化及び可変長符号化され
る。他のフレームの参照フレームとはならない。Bピク
チャの符号化方法は、過去と未来の双方向から予測され
ることから双方向予測と呼ばれる。
Here, the coding type will be described. There are three types of coding types: I picture, P picture, and B picture. For each frame, one of the three coding types is determined, and different coding is performed according to the coding type. Encoded by the method.
In the frame of the I picture, the luminance signal of the macroblock and the two chrominance signals themselves are D signals without performing motion compensation prediction.
CT, quantization and variable length coding. The I-picture frame is a reference frame for a frame of another encoding type. A P-picture frame is motion-compensated and predicted using a past I-picture or P-picture frame as a reference frame, and the prediction error after the motion-compensated prediction is subjected to DCT, quantization, and variable-length coding. The P picture frame is a reference frame for another P picture or B picture macroblock. The encoding method for P pictures is called unidirectional prediction. A B-picture frame is motion-compensated and predicted using a past or future (or both) I-picture or P-picture frame as a reference frame, and the resulting prediction error is subjected to DCT, quantization, and variable-length coding. It does not become a reference frame for other frames. The encoding method of a B picture is called bidirectional prediction because it is predicted from both past and future directions.

【0005】符号化装置は、上記一連の操作に加えてマ
クロブロックスキップといって、量子化ブロックや動き
ベクトルが隣のマクロブロックあるいは前後のフレーム
の同位置のマクロブロックと同値の場合に可変長符号化
を省略する操作を行っている。ここにおいてマクロブロ
ックスキップされたマクロブロックをスキップマクロブ
ロックと呼ぶ。
[0005] In addition to the above series of operations, the encoding apparatus calls a macroblock skip, and when a quantized block or a motion vector has the same value as an adjacent macroblock or a macroblock at the same position in the previous and next frames, the variable length is used. An operation to omit encoding is being performed. Here, a macroblock in which a macroblock is skipped is referred to as a skipped macroblock.

【0006】より詳しくは、符号化装置は、Pピクチャ
の場合は量子化ブロックが0、すなわち量子化ブロック
内の量子化DCT係数がすべて0であって、その動きベ
クトルが0のマクロブロックについてマクロブロックス
キップを行い、Bピクチャの場合は量子化ブロックが0
であって、その動きベクトルが当該マクロブロックの左
隣のマクロブロックの動きベクトルと大きさ及び方向が
同じマクロブロックについてマクロブロックスキップを
行う。ただし符号化装置は、スライスの先頭及び末尾に
位置するマクロブロックのマクロブロックスキップは行
わない。
[0006] More specifically, in the case of a P-picture, the coding apparatus uses a macroblock for a macroblock in which the quantized block is 0, that is, all the quantized DCT coefficients in the quantized block are 0 and the motion vector is 0. Block skip is performed, and in the case of a B picture, the quantization block is 0
The macroblock skip is performed for a macroblock whose motion vector is the same in magnitude and direction as the motion vector of the macroblock adjacent to the left of the macroblock. However, the encoding device does not skip the macroblocks located at the beginning and end of the slice.

【0007】ここでスライスとは、動画データの符号化
における階層構造の1つの層で、フレーム上において横
並びした十数個のマクロブロックから構成される。これ
は動画データを復号する復号装置においてランダムアク
セスを実現させるために規格上定められたもので、復号
装置は動画データの一部が壊れた場合でもスライスを飛
び越して次のスライスの先頭をデコードすることができ
る。このランダムアクセスのためにスライスの先頭及び
末尾は必要となるので符号化装置はそれらのマクロブロ
ックスキップを行わないこととしている。
[0007] Here, a slice is one layer of a hierarchical structure in the encoding of moving image data, and is composed of ten or more macroblocks arranged side by side on a frame. This is stipulated by the standard to realize random access in a decoding device that decodes moving image data, and the decoding device skips a slice and decodes the beginning of the next slice even if part of the moving image data is broken be able to. Since the head and the end of the slice are required for the random access, the encoding apparatus does not skip those macroblocks.

【0008】動画データを復号する復号装置は、マクロ
ブロックのアドレスからスキップマクロブロックがある
ことを検出すると、Pピクチャについてはそのピクチャ
の参照フレームにおいてスキップマクロブロックと同位
置にあるブロックを用いて復号し、Bピクチャについて
は左隣のマクロブロックの動きベクトルを用いて復号す
る。
[0008] When the decoding apparatus for decoding moving picture data detects that there is a skipped macroblock from the address of the macroblock, the decoding apparatus decodes the P picture using the block located at the same position as the skipped macroblock in the reference frame of the picture. However, the B picture is decoded using the motion vector of the macroblock on the left.

【0009】[0009]

【発明が解決しようとする課題】従来の符号化装置にお
いては、仮にマクロブロックスキップされたとしても劣
化度合いが微小なマクロブロックがマクロブロックスキ
ップされずに符号化される確率が高い。つまり劣化度合
いの低いマクロブロックが必ずしもスキップされるマク
ロブロックとは限らないので、圧縮効率が低いという問
題があった。
In a conventional coding apparatus, even if a macroblock is skipped, there is a high probability that a macroblock having a small degree of deterioration will be coded without skipping the macroblock. That is, a macroblock with a low degree of deterioration is not always a macroblock to be skipped, so that there is a problem that the compression efficiency is low.

【0010】よって本発明は、圧縮率を向上させ、符号
化の処理量を低減した符号化装置、符号化方法及び符号
化処理を記録した記録媒体の提供を目的とする。
Accordingly, an object of the present invention is to provide an encoding apparatus, an encoding method, and a recording medium on which an encoding process is recorded, in which the compression rate is improved and the amount of encoding processing is reduced.

【0011】[0011]

【課題を解決するための手段】本発明の符号化装置は、
動画像データのブロック毎に符号化対象ブロックに対し
て動き補償予測を含む符号化を行う符号化装置であっ
て、符号化対象ブロックの符号化を省略した場合におけ
る画素ずれの目立ちやすさを示す指標を算出する算出手
段と、前記指標に応じて符号化対象ブロックの符号化を
省略するよう制御する制御手段とを備える。
An encoding apparatus according to the present invention comprises:
An encoding apparatus that performs encoding including motion compensation prediction on an encoding target block for each block of moving image data, and illustrates how conspicuous pixel shift occurs when encoding of the encoding target block is omitted. The control device includes a calculating unit that calculates an index, and a control unit that controls to omit encoding of the current block according to the index.

【0012】この構成によれば符号化装置は、画素ずれ
の目立ちやすさを示す指標に応じて、符号化対象ブロッ
クの符号化を省略する、つまり画素ずれが目立ちやすい
ブロックを符号化し、画素ずれが目立ちにくいブロック
の符号化を省略するので、従来の符号化装置のように符
号化省略による画素ずれが微小なブロックであっても省
略されずに符号化されるという、画素ずれの度合いと符
号化省略との不一致が解消され、符号化の処理量が減り
圧縮率が高くなるという効果がある。
According to this configuration, the encoding apparatus omits the encoding of the block to be encoded, that is, encodes the block in which the pixel shift is conspicuous, according to the index indicating the degree of conspicuousness of the pixel shift, Is omitted because the encoding of the block that is not noticeable is omitted, so that even if the pixel deviation due to the encoding omission is small as in the conventional encoding device, the block is encoded without being omitted. This eliminates inconsistency with the omission of encoding, and has the effect of reducing the amount of encoding processing and increasing the compression ratio.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施形態の符号化
装置について図面を用いて説明する。 <第1実施形態>図1は第1実施形態の符号化装置10
の構成を示すブロック図である。同図において符号化装
置10は入力端子100、画像メモリ部101、動きベ
クトル検出部102、差分部103、DCT部104、
量子化部105、逆量子化部106、逆DCT部10
7、加算部108、動き予測部109、可変長符号化部
110、バッファ111、出力端子112、スキップ判
定部120、動きベクトル置換部121から構成され、
外部より入力端子100を介して入力される動画データ
を圧縮符号化してビット列を出力端子112より出力す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An encoding apparatus according to an embodiment of the present invention will be described below with reference to the drawings. <First Embodiment> FIG. 1 shows an encoding apparatus 10 according to a first embodiment.
FIG. 3 is a block diagram showing the configuration of FIG. In FIG. 1, an encoding device 10 includes an input terminal 100, an image memory unit 101, a motion vector detection unit 102, a difference unit 103, a DCT unit 104,
Quantization unit 105, inverse quantization unit 106, inverse DCT unit 10
7, an adder 108, a motion predictor 109, a variable length encoder 110, a buffer 111, an output terminal 112, a skip determiner 120, and a motion vector replacer 121,
The moving image data input from the outside via the input terminal 100 is compression-encoded and a bit string is output from the output terminal 112.

【0014】画像メモリ部101は、外部より入力端子
100を介して入力される動画データを保持する。動画
データは、画像メモリ部101内部においてフレームの
順番が符号化順に並び替えられて、マクロブロック単位
に画像メモリ部101から差分部103に出力される。
制御部113は、ピクチャタイプに応じて符号化順にフ
レームの並び替えを行う。
The image memory unit 101 holds moving image data input from the outside via the input terminal 100. The moving image data is output from the image memory unit 101 to the difference unit 103 on a macroblock basis, with the order of the frames rearranged in the encoding order within the image memory unit 101.
The control unit 113 rearranges the frames in coding order according to the picture type.

【0015】動きベクトル検出部102は、画像メモリ
部101に記憶される動画データについて、マクロブロ
ック単位に動き補償予測により動きベクトルを検出し、
動き予測部109、スキップ判定部120及び動きベク
トル置換部121に出力する。差分部103、DCT部
104、量子化部105、スキップ判定部120、可変
長符号化部110からなる部分は、マクロブロック単位
に、予測誤差の算出、DCT、量子化、マクロブロック
スキップするか否かの判定、及びその判定結果に応じた
可変長符号化を行ってビット列を出力する。
The motion vector detection unit 102 detects a motion vector of the moving image data stored in the image memory unit 101 by motion compensation prediction on a macroblock basis.
Output to the motion prediction unit 109, the skip determination unit 120, and the motion vector replacement unit 121. The part including the difference unit 103, the DCT unit 104, the quantization unit 105, the skip determination unit 120, and the variable length coding unit 110 determines whether to calculate prediction error, DCT, quantize, and skip macroblocks in macroblock units. Is determined, and variable-length coding is performed according to the determination result, and a bit string is output.

【0016】より詳しくは、差分部103は、画像メモ
リ部101よりマクロブロック単位に出力される対象ブ
ロック(符号化対象のブロック)と、後述の動き予測部
109より出力される参照ブロックとの各画素値を減算
し、減算結果の予測誤差をDCT部104に出力する。
DCT部104は、差分部103からの予測誤差又は、
画像メモリ部101より差分部103を介さずに入力さ
れる対象ブロックについてDCTを行う。この結果、予
測誤差及び対象ブロックは、DCT係数の集合からなる
DCTブロックに変換される。
More specifically, the difference unit 103 includes a target block (encoding target block) output from the image memory unit 101 in units of macroblocks and a reference block output from a motion prediction unit 109 described later. The pixel value is subtracted, and the prediction error of the subtraction result is output to DCT section 104.
The DCT unit 104 calculates the prediction error from the difference unit 103 or
DCT is performed on the target block input from the image memory unit 101 without passing through the difference unit 103. As a result, the prediction error and the target block are converted into a DCT block composed of a set of DCT coefficients.

【0017】量子化部105は、DCT部104からの
DCTブロックの各DCT係数を量子化して量子化DC
T係数からなる量子化ブロックをスキップ判定部120
に出力する。スキップ判定部120は、量子化ブロック
と動きベクトルとから当該マクロブロックをスキップマ
クロブロックとするか否かを判定して、判定結果を動き
ベクトル置換部121と可変長符号化部110に出力す
る。本実施形態のスキップ判定部120は、従来の符号
化装置と比較してより多くのマクロブロックをスキップ
マクロブロックと判定するよう構成されている。詳しい
判定方法については図2において説明するが、スキップ
判定部120は、量子化係数及び動きベクトルが所定条
件を満たすか否かによってスキップマクロブロックとす
るか否かを判定する。ここにおいて所定条件は、従来の
符号化装置における所定条件より緩く設定されており、
これにより従来よりもスキップマクロブロックと判定さ
れるマクロブロックの数を多くして符号量を減らし、圧
縮率を従来より向上させている。
The quantizing section 105 quantizes each DCT coefficient of the DCT block from the DCT section 104, and
Skip quantizer 120 for a quantized block composed of T coefficients
Output to The skip determination unit 120 determines whether or not the macroblock is a skip macroblock based on the quantized block and the motion vector, and outputs a determination result to the motion vector replacement unit 121 and the variable length coding unit 110. The skip determination unit 120 according to the present embodiment is configured to determine more macroblocks as skip macroblocks as compared with the conventional encoding device. Although a detailed determination method will be described with reference to FIG. 2, the skip determination unit 120 determines whether or not to be a skipped macroblock based on whether or not the quantization coefficient and the motion vector satisfy predetermined conditions. Here, the predetermined condition is set looser than the predetermined condition in the conventional encoding device,
As a result, the number of macroblocks determined to be skipped macroblocks is increased as compared with the related art, the code amount is reduced, and the compression ratio is improved as compared with the related art.

【0018】逆量子化部106、逆DCT部107及び
加算部108からなる部分は、差分部103、DCT部
104、量子化部105の操作とは逆の操作を行うこと
により量子化ブロックから対象ブロックを復号する。復
号された対象ブロックは、動き予測部109の内部メモ
リに保持され、差分部103による予測誤差の算出に用
いられる。
The part consisting of the inverse quantization unit 106, the inverse DCT unit 107 and the addition unit 108 performs the operation opposite to the operation of the difference unit 103, the DCT unit 104, and the quantization unit 105 so that the quantization block becomes the target. Decrypt the block. The decoded target block is held in the internal memory of the motion prediction unit 109, and is used by the difference unit 103 to calculate a prediction error.

【0019】動き予測部109は、復号された対象ブロ
ックをフレーム単位で内部メモリに保持し、動きベクト
ル検出部102より出力される動きベクトルに応じて内
部メモリから参照ブロックを読み出して差分部103に
出力する。可変長符号化部110は、量子化ブロックと
動きベクトルと各種ヘッダ情報とを可変長符号化してビ
ット列をバッファ111に出力する。各種ヘッダ情報
は、マクロブロックやピクチャの各種の符号化方法等を
規定する情報で、制御部113により定義される。また
可変長符号化部110は、スキップ判定部120より符
号化対象マクロブロックをスキップマクロブロックとす
る旨が通知されると当該マクロブロックの量子化ブロッ
クと動きベクトルと各種ヘッダ情報の可変長符号化を省
略する。
The motion prediction unit 109 stores the decoded target block in the internal memory in frame units, reads a reference block from the internal memory in accordance with the motion vector output from the motion vector detection unit 102, and sends the reference block to the difference unit 103. Output. The variable length coding unit 110 performs variable length coding on the quantized block, the motion vector, and various types of header information, and outputs a bit string to the buffer 111. The various header information is information that defines various encoding methods for macroblocks and pictures, and is defined by the control unit 113. When the skip determination unit 120 notifies the skip determination unit 120 that the macroblock to be coded is a skip macroblock, the variable length coding unit 110 performs variable length coding of the quantized block, the motion vector, and various header information of the macroblock. Is omitted.

【0020】バッファ111は、可変長符号化部110
より出力されるビット列を蓄積し、出力端子112を介
して外部に出力する。動きベクトル置換部121は、ス
キップ判定部120によりスキップマクロブロックと判
定されたマクロブロックについて、その動きベクトルの
値をスキップマクロブロック用の値に置き換えて可変長
符号化部110に出力する。詳しくは後に図3において
説明する。 <スキップ判定部120の詳細説明>図2は、スキップ
判定部120の処理を詳細に示すフローチャートであ
る。
The buffer 111 has a variable length encoding unit 110
The output bit string is accumulated and output to the outside via the output terminal 112. The motion vector replacement unit 121 replaces the value of the motion vector with the value for the skipped macroblock for the macroblock determined to be the skipped macroblock by the skip determination unit 120, and outputs the value to the variable length coding unit 110. Details will be described later with reference to FIG. <Detailed Description of Skip Determining Unit 120> FIG. 2 is a flowchart showing the processing of the skip determining unit 120 in detail.

【0021】スキップ判定部120は、マクロブロック
毎に、すなわち量子化部105より量子化ブロックが入
力される毎に同図の処理を実行する。スキップ判定部1
20は、量子化部105より量子化ブロックが、動きベ
クトル検出部102より動きベクトルが入力されると、
当該マクロブロックがIピクチャであるか否かを判定す
る(ステップ20)。
The skip judging section 120 executes the processing shown in the figure for each macroblock, that is, every time a quantized block is input from the quantizing section 105. Skip determination unit 1
20, when a quantization block is input from the quantization unit 105 and a motion vector is input from the motion vector detection unit 102,
It is determined whether or not the macroblock is an I picture (step 20).

【0022】判定の結果、Iピクチャではないと判定し
たとき、すなわち当該量子化ブロックがBピクチャ又は
Pピクチャのとき、スキップ判定部120は、当該マク
ロブロックがスライスの先頭あるいは最後のマクロブロ
ックであるか否かを判定する(ステップ21)。スライ
スは復号時のランダムアクセスを実現させるためにMP
EG規格上定められたもので、先頭又は最後のマクロブ
ロックがスキップマクロブロックとなって省略されると
ランダムアクセスが実現されない。このためスキップ判
定部120は、スライスの先頭及び最後のマクロブロッ
クをスキップマクロブロックと判定しないようにステッ
プ21において予めスキップマクロブロックの対象から
除外している。
When it is determined that the macroblock is not an I-picture, that is, when the quantized block is a B-picture or a P-picture, the skip determining unit 120 determines that the macroblock is the first or last macroblock of a slice. It is determined whether or not (step 21). The slice is MP for realizing random access during decoding.
Specified by the EG standard, random access is not realized if the first or last macroblock is skipped and omitted. For this reason, the skip determination unit 120 previously excludes the top and last macroblocks of the slice from skip macroblock targets in step 21 so as not to determine them as skip macroblocks.

【0023】判定の結果、当該マクロブロックがスライ
スの先頭又は最後のマクロブロックではない場合、スキ
ップ判定部120は、当該マクロブロックの量子化ブロ
ックが0であるか、すなわち当該量子化ブロック内の量
子化係数がすべて0であるか否かを判定する(ステップ
22)。判定の結果、量子化ブロックが0であると判定
した場合、スキップ判定部120は、当該マクロブロッ
クがPピクチャであるかBピクチャであるかを判定する
(ステップ23)。
If the result of the determination indicates that the macroblock is not the first or last macroblock of the slice, skip determination section 120 determines whether the quantized block of the macroblock is 0, that is, the quantized block in the quantized block. It is determined whether the conversion coefficients are all 0 (step 22). As a result of the determination, when it is determined that the quantized block is 0, the skip determination unit 120 determines whether the macroblock is a P picture or a B picture (Step 23).

【0024】Pピクチャであると判定した場合、スキッ
プ判定部120は、当該マクロブロックの動きベクトル
の大きさを算出し、その値がしきい値a以下であるか否
かを判定する(ステップ24)。ここで動きベクトル
は、x成分とy成分とからなるものとし、スキップ判定
部120は、x成分とy成分のそれぞれについてしきい
値判定を行うものとする。すなわちスキップ判定部12
0は、x成分とy成分とがともにしきい値a以下である
か、x成分とy成分の一方または両方がしきい値aより
大きいかを判定する。
If it is determined that the picture is a P-picture, the skip determining unit 120 calculates the magnitude of the motion vector of the macroblock, and determines whether or not the value is equal to or smaller than the threshold a (step 24). ). Here, it is assumed that the motion vector includes an x component and a y component, and the skip determination unit 120 performs a threshold determination for each of the x component and the y component. That is, the skip determination unit 12
A value of 0 determines whether both the x component and the y component are less than or equal to the threshold value a, or whether one or both of the x component and the y component are greater than the threshold value a.

【0025】スキップ判定部120は、動きベクトルの
大きさがしきい値a以下であると判定した場合、すなわ
ち動きベクトルのx成分とy成分とが両方ともしきい値
a以下であると判定した場合は当該マクロブロックをス
キップマクロブロックとする(ステップ25)。このよ
うにスキップ判定部120は、Pピクチャの場合、スラ
イスの先頭或いは最後のマクロブロックではなく、か
つ、量子化ブロックが0であって、かつ、動きベクトル
の大きさがx成分、y成分共にしきい値a以下の場合、
当該マクロブロックをスキップマクロブロックとすると
判定する。ここで本実施形態においてしきい値aは0.
5とする。すなわちスキップ判定部120は、当該マク
ロブロックの動きベクトルの大きさがx成分、y成分共
に0.5以下であるか否かを判定し、0.5以下のとき
スキップマクロブロックと判定する。0.5以下であれ
ば、そのマクロブロックの符号化を省略したとしても、
人間の視覚には原画像と再生画像との差はほとんど目立
たないため実質的には問題がない。
When the skip determining unit 120 determines that the magnitude of the motion vector is equal to or smaller than the threshold value a, that is, when both the x component and the y component of the motion vector
If it is determined that it is equal to or less than a, the macro block is set as a skip macro block (step 25). As described above, in the case of a P picture, the skip determination unit 120 determines that the quantization block is 0, not the head or last macroblock of the slice, and the size of the motion vector is x and y components. Is less than or equal to threshold a,
It is determined that the macro block is a skip macro block. Here, in this embodiment, the threshold value a is 0.
5 is assumed. That is, the skip determination unit 120 determines whether the magnitude of the motion vector of the macroblock is 0.5 or less for both the x component and the y component, and determines that the macroblock is a skip macroblock when the magnitude is 0.5 or less. If it is 0.5 or less, even if the encoding of the macroblock is omitted,
The difference between the original image and the reproduced image is hardly noticeable in human vision, so there is practically no problem.

【0026】一方、ステップ23においてBピクチャと
判定した場合、スキップ判定部120は、当該マクロブ
ロックの動きベクトルと1つ前のマクロブロックの動き
ベクトルとの差分を算出し、差分がしきい値b以下であ
るか否かを判定する(ステップ26)。ここで1つ前の
マクロブロックとは、当該符号化対象のマクロブロック
の直前に符号化対象であったマクロブロックを意味す
る。フレーム上においては通常、符号化対象のマクロブ
ロックの左隣に位置するマクロブロックである。また当
該マクロブロックの動きベクトルと1つ前のマクロブロ
ックの動きベクトルとの差分は、x成分とy成分それぞ
れについて算出されるものとし、スキップ判定部120
は、差分のx成分とy成分のそれぞれについてしきい値
判定を行うものとする。すなわちスキップ判定部120
は、差分のx成分とy成分とがともにしきい値b以下で
あるか、x成分とy成分の一方または両方がしきい値b
より大きいかを判定する。なおステップ26における判
定は、当該マクロブロックの動きベクトルと1つ前のマ
クロブロックの動きベクトルとにおいて、予測(順方向
予測、逆方向予測、両方向予測等)の方向が同じである
こと、つまり参照フレームが同じであることを含むもの
とする。
On the other hand, if it is determined in step 23 that the picture is a B picture, the skip determination unit 120 calculates a difference between the motion vector of the macroblock and the motion vector of the immediately preceding macroblock, and determines that the difference is a threshold b. It is determined whether or not the following is true (step 26). Here, the immediately preceding macroblock means a macroblock that was a coding target immediately before the coding target macroblock. On a frame, it is usually a macroblock located to the left of the encoding-target macroblock. The difference between the motion vector of the macroblock and the motion vector of the immediately preceding macroblock is calculated for each of the x component and the y component.
Is to perform threshold determination for each of the x and y components of the difference. That is, the skip determination unit 120
Is that both the x component and the y component of the difference are equal to or smaller than the threshold value b, or one or both of the x component and the y component are
Determine if it is greater than. Note that the determination in step 26 is that the direction of prediction (forward prediction, backward prediction, bidirectional prediction, etc.) is the same between the motion vector of the macroblock and the motion vector of the immediately preceding macroblock, that is, It shall include that the frames are the same.

【0027】ステップ26において差分がx成分、y成
分共にしきい値b以下であると判定した場合、スキップ
判定部120は、当該マクロブロックをスキップマクロ
ブロックと判定する(ステップ25)。スキップ判定部
120は、当該マクロブロックをスキップマクロブロッ
クと判定した旨の通知を可変長符号化部110動きベク
トル置換部121と加算部108とに通知する。
If it is determined in step 26 that the difference is equal to or smaller than the threshold value b for both the x component and the y component, the skip determination unit 120 determines that the macro block is a skip macro block (step 25). The skip determining unit 120 notifies the variable-length coding unit 110, the motion vector replacing unit 121, and the adding unit 108 that the macroblock has been determined to be a skipped macroblock.

【0028】このようにスキップ判定部120は、Bピ
クチャの場合、スライスの先頭或いは最後のマクロブロ
ックではなく、かつ、量子化ブロックが0であって、か
つ、直前のマクロブロックの動きベクトルとの差分がx
成分、y成分共にしきい値b以下である場合にスキップ
マクロブロックと判定する。ここで本実施形態において
しきい値bは1.0とする。つまりスキップ判定部12
0は、当該マクロブロックと1つ前のマクロブロックと
の動きベクトルの差分がx成分、y成分共に1.0以下
であると判定した場合に、当該マクロブロックについて
スキップマクロブロックと判定する。1.0以下であれ
ば、Pピクチャの場合と同様、そのマクロブロックの符
号化を省略したとしても、人間の視覚には原画像と再生
画像との差はほとんど目立たないため実質的には問題が
ない。なお、しきい値aとしきい値bは0.5と1.0
に限らなくてもよく、例えばユーザが画質の劣化が許容
できる範囲で任意の値をスキップ判定部120に設定で
きるようにしてもよい。 <動きベクトル置換部121の詳細説明>図3は、動き
ベクトル置換部121の処理を詳細に示すフローチャー
トである。
As described above, in the case of a B picture, the skip determining unit 120 determines whether the motion vector is not the macroblock at the head or end of the slice, the quantization block is 0, and the motion vector of the immediately preceding macroblock. The difference is x
If both the component and the y component are equal to or smaller than the threshold b, it is determined that the macroblock is a skipped macroblock. Here, the threshold value b is set to 1.0 in the present embodiment. That is, the skip determination unit 12
If the difference between the motion vector of the macroblock and the motion vector of the immediately preceding macroblock is determined to be 0 or less, the macroblock is determined to be a skip macroblock. If it is 1.0 or less, as in the case of the P picture, even if the coding of the macroblock is omitted, the difference between the original image and the reproduced image is almost inconspicuous to human eyes, so that there is a substantial problem. There is no. The threshold a and the threshold b are 0.5 and 1.0.
However, the present invention is not limited to this. For example, the user may be able to set an arbitrary value in the skip determination unit 120 within a range in which deterioration of image quality is allowable. <Detailed Description of Motion Vector Replacement Unit 121> FIG. 3 is a flowchart showing the processing of the motion vector replacement unit 121 in detail.

【0029】動きベクトル置換部121は、マクロブロ
ック毎に、すなわちマクロブロック毎の動きベクトルが
動きベクトル検出部102より入力される毎に、同図の
フローチャートの処理を実行する。動きベクトル置換部
121は、スキップ判定部120より符号化対象のマク
ロブロックをスキップマクロブロックとする旨の通知を
受けると(ステップ30)、当該マクロブロックがPピ
クチャであるか否か(すなわちBピクチャであるか)を
判定する(ステップ31)。
The motion vector replacement unit 121 executes the processing of the flowchart shown in FIG. 3 for each macroblock, that is, each time a motion vector for each macroblock is input from the motion vector detection unit 102. When the motion vector replacement unit 121 receives a notification from the skip determination unit 120 that the macroblock to be coded is to be a skipped macroblock (step 30), the motion vector replacement unit 121 determines whether the macroblock is a P-picture (that is, a B-picture). Is determined (step 31).

【0030】一方、動きベクトル置換部121は、ステ
ップ30において、スキップ判定部120より符号化対
象のマクロブロックをスキップマクロブロックとする旨
の通知を受けていない場合には、動きベクトル検出部1
02より出力された動きベクトルを可変長符号化部11
0に出力する(ステップ34)。ステップ31において
当該マクロブロックがPピクチャであると判定した場
合、動きベクトル置換部121は、動きベクトル検出部
102より出力されている動きベクトルの代わりに方向
も大きさもない0を可変長符号化部110に出力する
(ステップ32)。
On the other hand, if the motion vector replacement unit 121 does not receive a notification from the skip determination unit 120 in step 30 that the macroblock to be encoded is a skip macroblock, the motion vector detection unit 1
02 is output to the variable-length encoding unit 11
0 is output (step 34). If it is determined in step 31 that the macroblock is a P-picture, the motion vector replacement unit 121 replaces the motion vector output from the motion vector detection unit 102 with 0 having no direction or magnitude with the variable length coding unit. Output to 110 (step 32).

【0031】ステップ31において当該マクロブロック
がBピクチャであると判定した場合、動きベクトル置換
部121は、動きベクトル検出部102より出力されて
いる動きベクトルの代わりに、当該マクロブロックの1
つ前に符号化されたマクロブロックの動きベクトルを可
変長符号化部110に出力する(ステップ33)。なお
ここで動きベクトル置換部121は、内部メモリ(不図
示)を有し、Bピクチャにおいて符号化対象となってい
るマクロブロックの1つ前のマクロブロックの動きベク
トルを保持するものとする。すなわち動きベクトル置換
部121は、ステップ33において、動きベクトル検出
部102より出力されている当該マクロブロックの動き
ベクトルの代わりに、内部メモリに保持されている動き
ベクトル、すなわち当該マクロブロックの1つ前に符号
化されたマクロブロックの動きベクトルを出力する。
When it is determined in step 31 that the macroblock is a B picture, the motion vector replacement unit 121 replaces the motion vector output from the motion vector detection unit 102 with the one of the macroblock.
The motion vector of the previously encoded macroblock is output to the variable length encoding unit 110 (step 33). Here, the motion vector replacement unit 121 has an internal memory (not shown) and holds the motion vector of the macroblock immediately before the macroblock to be coded in the B picture. That is, in step 33, the motion vector replacement unit 121 replaces the motion vector of the macroblock output from the motion vector detection unit 102 with the motion vector held in the internal memory, that is, the one immediately before the macroblock. Is output as the motion vector of the macroblock encoded in.

【0032】動きベクトル置換部121は、ステップ3
3において可変長符号化部110に出力した動きベクト
ルを内部メモリに保持する。また動きベクトル置換部1
21は、ステップ34において可変長符号化部110に
出力した動きベクトルをBピクチャの場合について内部
メモリに保持する(ステップ35)。ここで内部メモリ
に保持した動きベクトルは、当該マクロブロックの次に
符号化対象となるマクロブロックがスキップ判定部12
0によりスキップマクロブロックと判定されて動きベク
トル置換部121がステップ33の処理を行う場合に使
用される。
The motion vector replacement unit 121 determines in step 3
In step 3, the motion vector output to the variable length coding unit 110 is stored in the internal memory. Also, a motion vector replacement unit 1
21 holds the motion vector output to the variable length coding unit 110 in step 34 in the internal memory for the case of a B picture (step 35). Here, the motion vector held in the internal memory is such that the macroblock to be encoded next to the macroblock is the skip determination unit 12.
It is used when the motion vector replacement unit 121 performs the process of step 33 because it is determined to be a skipped macroblock by 0.

【0033】なおここにおいて動きベクトル置換部12
1が動きベクトルを内部メモリに保持するとしている
が、動きベクトル検出部102が動きベクトルを保持
し、動きベクトル置換部121は、ステップ33の処理
を行う場合に動きベクトル検出部102より読み出して
使用するよう構成してもよい。このように動きベクトル
置換部121は符号化対象のマクロブロックがスキップ
マクロブロックとされる場合に当該マクロブロックの動
きベクトルをスキップマクロブロック用の動きベクトル
に置き換えて可変長符号化部110に出力する。
Here, the motion vector replacement unit 12
1 stores the motion vector in the internal memory, but the motion vector detection unit 102 stores the motion vector, and the motion vector replacement unit 121 reads out and uses the motion vector from the motion vector detection unit 102 when performing the process of step 33. May be configured. As described above, when the macroblock to be encoded is a skipped macroblock, the motion vector replacement unit 121 replaces the motion vector of the macroblock with the motion vector for the skipped macroblock and outputs it to the variable length coding unit 110. .

【0034】可変長符号化部110は、スキップ判定部
120より符号化対象のマクロブロックをスキップマク
ロブロックとする旨の通知と、動きベクトル置換部12
1より置き換えられた動きベクトルとを受けると、符号
化対象マクロブロックの量子化ブロックとその各種ヘッ
ダ情報の可変長符号化を省略する。以上のように本実施
形態の符号化装置10は、従来の符号化装置よりもスキ
ップマクロブロックと判定する判定条件を緩く設定する
ことによって、スキップマクロブロックの数を従来の符
号化装置よりも多くするため、可変長符号化後の符号量
が減り、圧縮率が高くなるという効果がある。なお、こ
のように判定の条件を緩くすれば、原画像と再生画像と
を比較した場合の画質の劣化が懸念されるが、図5のス
テップ24及びステップ26においてしきい値aを0.
5、しきい値bを1.0とすれば、再生された画像中、
スキップマクロブロックの部分の劣化は人間の視覚には
認識できない程度であり問題とならない。
The variable length coding unit 110 notifies the skip determination unit 120 that the macroblock to be coded is a skipped macroblock, and the motion vector replacement unit 12
When the replaced motion vector is received from 1, the variable-length coding of the quantized block of the macroblock to be coded and its various header information is omitted. As described above, the encoding device 10 of the present embodiment sets the number of skipped macroblocks to be larger than that of the conventional encoding device by setting the determination condition for determining a skipped macroblock to be looser than that of the conventional encoding device. Therefore, there is an effect that the code amount after the variable length coding is reduced and the compression ratio is increased. It should be noted that if the conditions for the determination are loosened in this way, there is a concern that the image quality will be degraded when the original image and the reproduced image are compared. However, in step 24 and step 26 in FIG.
5, if the threshold value b is 1.0, in the reproduced image,
Deterioration of the skipped macroblock portion is insignificant to human vision and poses no problem.

【0035】また符号化装置10は、マクロブロックス
キップにより低減された割り当てビット量を他のマクロ
ブロックの符号化に割り当てることによってより高画質
な符号化を実現できる。 <第2実施形態>以下に第2実施形態の符号化装置20
について説明する。
The coding apparatus 10 can realize higher quality coding by allocating the allocated bit amount reduced by the macroblock skip to the coding of another macroblock. <Second Embodiment> An encoding device 20 according to a second embodiment will be described below.
Will be described.

【0036】図4は第2実施形態の符号化装置20の構
成を示すブロック図である。同図の符号化装置20は、
符号化装置10に対して特徴抽出部222を備え、スキ
ップ判定部120の代わりにスキップ判定部220を備
える点で異なっており、その他の構成は同じである。以
下、特徴抽出部222及びスキップ判定部220を中心
に説明する。 <特徴抽出部222>特徴抽出部222は、画像メモリ
部101に記憶されるマクロブロック毎に、マクロブロ
ック中の輝度信号の4つのブロックそれぞれの分散(A
CT)を算出し、そのうちの最大値(ACTmax)と
最小値(ACTmin)との差分Dをスキップ判定部2
20に出力する。
FIG. 4 is a block diagram showing the configuration of the encoding device 20 according to the second embodiment. The encoding device 20 of FIG.
The encoding device 10 is different from the encoding device 10 in that a feature extraction unit 222 is provided, and a skip determination unit 220 is provided instead of the skip determination unit 120. Other configurations are the same. Hereinafter, the feature extracting unit 222 and the skip determining unit 220 will be mainly described. <Feature Extraction Unit 222> The feature extraction unit 222 calculates, for each macroblock stored in the image memory unit 101, the variance (A) of each of the four blocks of the luminance signal in the macroblock.
CT), and the difference D between the maximum value (ACTmax) and the minimum value (ACTmin) is calculated by the skip determination unit 2
20.

【0037】具体的に、特徴抽出部222は、次式の計
算により分散を算出している。
Specifically, the feature extracting unit 222 calculates the variance by the following equation.

【0038】[0038]

【数1】 ここでYi(i=1〜64)は、8画素×8ラインのブ
ロック中の64個の輝度信号の値、Yaveは64個の
輝度信号の平均値、^2は平方を表す。つまり分散は、
各輝度信号値と平均値との差分の平方和で表される。
(Equation 1) Here, Yi (i = 1 to 64) represents a value of 64 luminance signals in a block of 8 pixels × 8 lines, Yave represents an average value of 64 luminance signals, and ^ 2 represents a square. That is, the variance is
It is represented by the sum of squares of the difference between each luminance signal value and the average value.

【0039】特徴抽出部222は、4つのブロックそれ
ぞれに対して(式1)の計算を行って4つの分散を算出
する。そしてそれらを比較することによって4つの中か
らACTmaxとACTminを確定してその差分D
(=ACTmax−ACTmin)を算出し、スキップ
判定部120に出力する。ここにおいて分散は、画像中
の輝度差が大きい場合、例えばエッジや境界等を含む場
合に値が大きくなり、画像中の輝度差が小さい場合に小
さくなる。よってマクロブロックの画像は、差分Dの値
が大きい場合は輝度差の大きい画像と小さい画像とを含
み、差分Dの値が小さい場合はどのブロックの輝度差も
ほぼ一様であるといえる。輝度差の大きい画像と小さい
画像とを含むマクロブロックの方が、輝度差のほぼ一様
な画像よりも画素ずれが目立ちやすい。よって差分D
は、マクロブロックを省略したことによる画素ずれの目
立ちやすさを示す指標、画質の劣化度合いを示す指標と
なる。 <スキップ判定部220>スキップ判定部220は、特
徴抽出部222より出力された差分Dの大小と、量子化
係数がすべて0であるか否かと、動きベクトルが所定条
件を満たすか否かとによってマクロブロックスキップを
行うか否かを判定する。
The feature extracting unit 222 calculates (Equation 1) for each of the four blocks to calculate four variances. Then, by comparing them, ACTmax and ACTmin are determined from the four, and the difference D is determined.
(= ACTmax−ACTmin) is calculated and output to the skip determination unit 120. Here, the variance has a large value when the luminance difference in the image is large, for example, when an edge or a boundary is included, and decreases when the luminance difference in the image is small. Therefore, it can be said that the macroblock image includes an image having a large difference in luminance and a small image when the value of the difference D is large, and it can be said that the luminance difference in each block is almost uniform when the value of the difference D is small. Pixel shift is more conspicuous in a macroblock including an image having a large luminance difference and an image having a small luminance difference than an image having a substantially uniform luminance difference. Therefore, the difference D
Is an index indicating the degree of conspicuousness of a pixel shift due to omission of a macroblock, and an index indicating a degree of deterioration of image quality. <Skip Determination Unit 220> The skip determination unit 220 determines whether the difference D output from the feature extraction unit 222 is large, whether the quantization coefficients are all 0, and whether the motion vector satisfies a predetermined condition. It is determined whether or not to perform a block skip.

【0040】図5は、スキップ判定部220の処理を詳
細に示すフローチャートである。同図は、図2と同じス
テップ番号は同じ処理を示しており、ステップ24、ス
テップ26の代わりにステップ54、ステップ56とし
ている点が図2とは異なっている。以下、ステップ54
及びステップ56について説明する。ステップ54にお
いてスキップ判定部220は、まず、当該マクロブロッ
クの動きベクトルの大きさを算出し、また特徴抽出部2
22から差分Dを受け取る。次にスキップ判定部220
は、算出した動きベクトルの大きさがx成分、y成分共
に0であるか否かを判定する。この判定の結果、x成
分、y成分共に0である場合、スキップ判定部220は
当該マクロブロックをスキップマクロブロックとする。
一方、判定の結果、動きベクトルの大きさがx成分、y
成分共に0でない場合、スキップ判定部220は、動き
ベクトルの大きさがx成分、y成分共に0より大きくし
きい値a以下であって、かつ、差分Dがしきい値Ta以
下であるか否かを判定する。この判定の結果、動きベク
トルの大きさがx成分、y成分共に0より大きくしきい
値a以下であって、かつ、差分Dがしきい値Ta以下で
ある場合、スキップ判定部220は当該マクロブロック
をスキップマクロブロックとする。
FIG. 5 is a flowchart showing the details of the processing of the skip determining section 220. This figure differs from FIG. 2 in that the same step numbers as those in FIG. 2 indicate the same processing, and steps 54 and 56 are used instead of steps 24 and 26. Hereinafter, step 54
And step 56 will be described. In step 54, the skip determination unit 220 first calculates the magnitude of the motion vector of the macroblock,
The difference D is received from 22. Next, the skip determination unit 220
Determines whether the magnitude of the calculated motion vector is 0 for both the x component and the y component. As a result of this determination, when both the x component and the y component are 0, the skip determination unit 220 sets the macroblock as a skip macroblock.
On the other hand, as a result of the determination, the magnitude of the motion vector is x component, y
When both components are not 0, the skip determination unit 220 determines whether the magnitude of the motion vector is greater than 0 for both the x component and the y component and is equal to or less than the threshold value a and the difference D is equal to or less than the threshold value Ta. Is determined. As a result of this determination, when the magnitude of the motion vector is greater than 0 for both the x component and the y component and is equal to or less than the threshold value a and the difference D is equal to or less than the threshold value Ta, the skip determination unit 220 Let the block be a skip macroblock.

【0041】ステップ56においてスキップ判定部22
0は、まず、当該マクロブロックの動きベクトルと直前
のマクロブロックの動きベクトルとの差分を算出し、ま
た特徴抽出部222から差分Dを受け取る。次にスキッ
プ判定部220は、算出した当該マクロブロックの動き
ベクトルと直前のマクロブロックの動きベクトルとの差
分がx成分、y成分共に0であるか否かを判定する。こ
の判定の結果、x成分、y成分共に0である場合、スキ
ップ判定部220は当該マクロブロックをスキップマク
ロブロックとする。一方、判定の結果、当該差分がx成
分、y成分共に0でない場合、スキップ判定部220
は、当該差分がx成分、y成分共に0より大きくしきい
値b以下であって、かつ、特徴抽出部222からの差分
Dがしきい値Ta以下であるか否かを判定する。この判
定の結果、当該差分がx成分、y成分共に0より大きく
しきい値b以下であって、かつ、特徴抽出部222から
の差分Dがしきい値Ta以下である場合、スキップ判定
部220は当該マクロブロックをスキップマクロブロッ
クとする。
In step 56, the skip determining section 22
0 first calculates the difference between the motion vector of the macroblock and the motion vector of the immediately preceding macroblock, and receives the difference D from the feature extraction unit 222. Next, the skip determination unit 220 determines whether the calculated difference between the motion vector of the macroblock and the motion vector of the immediately preceding macroblock is 0 for both the x component and the y component. As a result of this determination, when both the x component and the y component are 0, the skip determination unit 220 sets the macroblock as a skip macroblock. On the other hand, if the result of the determination is that the difference is not 0 for both the x component and the y component, the skip determination unit 220
Determines whether the difference is greater than 0 for both the x component and the y component and equal to or less than the threshold value b, and whether the difference D from the feature extraction unit 222 is equal to or less than the threshold value Ta. As a result of this determination, if the difference is greater than 0 for both the x component and the y component and is equal to or less than the threshold value b and the difference D from the feature extraction unit 222 is equal to or less than the threshold value Ta, the skip determination unit 220 Makes the macroblock a skip macroblock.

【0042】ここでステップ54及びステップ56にお
いてしきい値a、bは第1実施形態と同様である。また
しきい値Taは256とする。差分Dが256より小さ
ければ、当該スキップマクロブロックの動きベクトルを
置き換えた場合に画像の画素ずれはほとんど目立たた
ず、人間の視覚には画質の劣化を認識できない。なお、
しきい値Taは256に限らなくてもよい。 <第3実施形態>以下に第3実施形態の符号化装置30
について説明する。
Here, in steps 54 and 56, the threshold values a and b are the same as in the first embodiment. The threshold value Ta is 256. If the difference D is smaller than 256, the pixel shift of the image is almost inconspicuous when the motion vector of the skipped macroblock is replaced, and human eyes cannot recognize the deterioration of the image quality. In addition,
The threshold value Ta is not limited to 256. <Third Embodiment> An encoding device 30 according to a third embodiment will be described below.
Will be described.

【0043】第3実施形態の符号化装置30は、図4に
示す符号化装置20の構成と比較して、特徴抽出部22
2とスキップ判定部220の代わりに特徴抽出部322
(図示しない)とスキップ判定部320(図示しない)
を備える点が符号化装置20とは異なっている。特徴抽
出部322は、マクロブロック中の輝度信号の4つのブ
ロックそれぞれの分散(ACT)を(式1)により算出
し、それらを比較することにより最大値(ACTma
x)と最小値(ACTmin)とを確定し、ACTma
xとACTminとの差分Dを算出する。そして特徴抽
出部322は、ACTmaxと差分Dとをスキップ判定
部320に出力する。
The encoding apparatus 30 of the third embodiment differs from the encoding apparatus 20 shown in FIG.
2 and the feature extraction unit 322 instead of the skip determination unit 220
(Not shown) and skip determination unit 320 (not shown)
Is different from the encoding device 20. The feature extraction unit 322 calculates the variance (ACT) of each of the four blocks of the luminance signal in the macroblock by (Equation 1) and compares them to obtain the maximum value (ACTma).
x) and the minimum value (ACTmin) are determined, and ACTma
The difference D between x and ACTmin is calculated. Then, the feature extraction unit 322 outputs the ACTmax and the difference D to the skip determination unit 320.

【0044】スキップ判定部320は、図5に示すフロ
チャートのステップ54、ステップ56の代わりに以下
に示すステップ64、ステップ66の処理をそれぞれ行
う。すなわちステップ64においてスキップ判定部32
0は、まず、当該マクロブロックの動きベクトルの大き
さを算出し、また特徴抽出部322からACTmaxと
差分Dとを受け取る。次にスキップ判定部320は、算
出した動きベクトルの大きさがx成分、y成分共に0で
あるか否かを判定する。この判定の結果、x成分、y成
分共に0である場合、スキップ判定部220は当該マク
ロブロックをスキップマクロブロックとする。一方、判
定の結果、動きベクトルの大きさがx成分、y成分共に
0でない場合、スキップ判定部320は、[1]動きベ
クトルの大きさがx成分、y成分共に0より大きくしき
い値a以下であるか否か、[2]差分Dがしきい値Ta
以下であるか否か、[3]ACTmaxがしきい値Tb
以下であるか否かを判定する。判定の結果、上記[1]
[2][3]ともに肯定的に判定した場合、スキップ判
定部320は当該マクロブロックをスキップマクロブロ
ックとする。
The skip judging section 320 performs the following steps 64 and 66 instead of steps 54 and 56 in the flowchart shown in FIG. That is, in step 64, the skip determination unit 32
0 first calculates the magnitude of the motion vector of the macroblock, and receives ACTmax and the difference D from the feature extraction unit 322. Next, the skip determination unit 320 determines whether the magnitude of the calculated motion vector is 0 for both the x component and the y component. As a result of this determination, when both the x component and the y component are 0, the skip determination unit 220 sets the macroblock as a skip macroblock. On the other hand, as a result of the determination, when the magnitude of the motion vector is not 0 for both the x component and the y component, the skip determination unit 320 determines that the magnitude of the [1] motion vector is greater than 0 for both the x component and the y component. [2] Difference D is equal to threshold value Ta
[3] ACTmax is equal to threshold value Tb
It is determined whether or not: As a result of the determination, the above [1]
If both [2] and [3] are positively determined, the skip determination unit 320 sets the macroblock as a skipped macroblock.

【0045】ステップ66においてスキップ判定部32
0は、当該マクロブロックの動きベクトルと直前のマク
ロブロックの動きベクトルとの差分を算出し、また特徴
抽出部322から差分DとACTmaxとを受け取る。
次にスキップ判定部320は、算出した当該マクロブロ
ックの動きベクトルと直前のマクロブロックの動きベク
トルとの差分がx成分、y成分共に0であるか否かを判
定する。この判定の結果、x成分、y成分共に0である
場合、スキップ判定部320は当該マクロブロックをス
キップマクロブロックとする。一方判定の結果、当該差
分がx成分、y成分共に0でない場合、スキップ判定部
320は、[4]当該差分がx成分、y成分共に0より
大きくしきい値b以下であるか否か、[5]特徴抽出部
322からの差分Dがしきい値Ta以下であるか否か、
[6]ACTmaxがしきい値Tb以下であるか否かを
判定する。ここにおいて上記[5][6]の判定条件
は、ステップ64における[2][3]と同様である。
この判定の結果、上記[4][5][6]ともに肯定的
に判定した場合、スキップ判定部320は当該マクロブ
ロックをスキップマクロブロックとする。
In step 66, the skip determining section 32
0 calculates the difference between the motion vector of the macroblock and the motion vector of the immediately preceding macroblock, and receives the difference D and ACTmax from the feature extraction unit 322.
Next, the skip determination unit 320 determines whether the difference between the calculated motion vector of the macroblock and the motion vector of the immediately preceding macroblock is 0 for both the x component and the y component. As a result of this determination, when both the x component and the y component are 0, the skip determination unit 320 sets the macro block as a skip macro block. On the other hand, as a result of the determination, if the difference is not 0 for both the x component and the y component, the skip determination unit 320 [4] determines whether the difference is greater than 0 for both the x component and the y component and equal to or less than the threshold b. [5] Whether the difference D from the feature extraction unit 322 is equal to or smaller than the threshold value Ta,
[6] It is determined whether ACTmax is equal to or smaller than a threshold value Tb. Here, the determination conditions of [5] and [6] are the same as [2] and [3] in step 64.
As a result of this determination, when both [4], [5], and [6] are positively determined, the skip determination unit 320 sets the macroblock as a skipped macroblock.

【0046】ステップ64及びステップ66においてし
きい値a、bは第1実施形態と同様であり、またしきい
値Taは256は第2実施形態と同様に256、しきい
値Tbは1024とする。なお、しきい値Taとしきい
値Tbは、256と1024に限らなくてもよい。AC
Tmaxが1024より小さい場合であって、差分Dが
256より小さいマクロブロックの画像は、他のマクロ
ブロックの画像と比較して輝度変化が小さく、また画像
内の輝度変化も小さいことを示し、人間の視覚はそのよ
うにフレーム全体の中で輝度変化が小さく、かつ、マク
ロブロック内で輝度変化が小さい画像の画素ずれを認識
しにくくなるという特性がある。この特性を利用して、
スキップ判定部320は、そのような画像のマクロブロ
ックをスキップマクロブロックとし、それ以外の、つま
り、フレーム全体、又はマクロブロック内において輝度
変化の大きい画像のマクロブロックをスキップマクロブ
ロックとしない判定を行う。
In steps 64 and 66, the threshold values a and b are the same as in the first embodiment, and the threshold value Ta is 256, the threshold value is 256 as in the second embodiment, and the threshold value Tb is 1024. . The threshold values Ta and Tb are not limited to 256 and 1024. AC
A macroblock image in which Tmax is smaller than 1024 and the difference D is smaller than 256 indicates that the luminance change is smaller than the other macroblock images and that the luminance change in the image is smaller. Has such a characteristic that the luminance change is small in the entire frame and it is difficult to recognize a pixel shift of an image having a small luminance change in a macroblock. Using this characteristic,
The skip determination unit 320 determines that such a macroblock of an image is a skip macroblock, and that other macroblocks, that is, macroblocks of an image having a large luminance change within the entire frame or macroblock, are not skip macroblocks. .

【0047】このように構成することによって符号化装
置30は、人間の視覚には画質の劣化を識別しにくい画
像のマクロブロックを、スキップマクロブロックとする
ので圧縮効率が向上するという効果がある。 <第4実施形態>以下に第4実施形態の符号化装置40
について説明する。
With this configuration, the encoding device 30 has the effect of improving the compression efficiency because macroblocks of an image whose image quality is hardly discernible to human eyes are skipped macroblocks. <Fourth Embodiment> An encoding device 40 according to a fourth embodiment will be described below.
Will be described.

【0048】第4実施形態の符号化装置40は図4に示
す符号化装置20の構成と比較して、特徴抽出部222
とスキップ判定部220の代わりに特徴抽出部422
(図示しない)とスキップ判定部420(図示しない)
とを備える点が符号化装置20とは異なっている。特徴
抽出部422は、(式1)によりACTmaxとACT
minとを算出して、その差分Dを算出する。また特徴
抽出部422は、マクロブロック毎に輝度の平均値YM
Bave、つまりマクロブロック内の輝度値の総和を輝
度の個数で割った算術平均を算出する。特徴抽出部42
2は、差分Dと平均値YMBaveとをスキップ判定部
420に出力する。
The encoding apparatus 40 of the fourth embodiment is different from the configuration of the encoding apparatus 20 shown in FIG.
And a feature extracting unit 422 instead of the skip determining unit 220
(Not shown) and skip determination unit 420 (not shown)
This is different from the encoding device 20 in that The feature extraction unit 422 calculates ACTmax and ACT according to (Equation 1).
and the difference D is calculated. Also, the feature extraction unit 422 calculates the average value YM of the luminance for each macroblock.
Bave, that is, an arithmetic average is calculated by dividing the sum of the luminance values in the macroblock by the number of luminances. Feature extraction unit 42
2 outputs the difference D and the average value YMave to the skip determination unit 420.

【0049】スキップ判定部420は、図5に示すフロ
ーチャートのステップ54、ステップ56の処理の直前
において、以下に示すステップ74、ステップ76の処
理をそれぞれ行う。その他の処理は図5に示す通りであ
るので以下にステップ54及びステップ56を中心に説
明する。すなわちステップ74においてスキップ判定部
420は、特徴抽出部422より出力されるYMBav
eがしきい値c以下であるか否かを判定する。ここにお
いてしきい値Tcは128とする。なおしきい値Tcは
128に限らなくてもよい。判定の結果、YMBave
がしきい値Tc以下である場合、スキップ判定部420
は、ステップ74に後続するステップ54の処理におい
て用いる動きベクトルの大小判定のしきい値aをn倍
(ただしn>1)する。一方、スキップ判定部420
は、平均値YMBaveがしきい値Tcより大きい場合
にはしきい値aのn倍を行わずステップ54に進む。こ
こでnは例えば4とする。
The skip determination unit 420 performs the following steps 74 and 76 immediately before the processing of steps 54 and 56 in the flowchart shown in FIG. The other processing is as shown in FIG. 5, and therefore the following description will focus on step 54 and step 56. That is, in step 74, skip determination section 420 outputs YMBav output from feature extraction section 422.
It is determined whether or not e is equal to or less than the threshold value c. Here, the threshold value Tc is 128. The threshold value Tc is not limited to 128. As a result of the determination, YMave
Is equal to or smaller than the threshold value Tc, the skip determination unit 420
Multiplies the threshold value a for determining the magnitude of the motion vector used in the processing of step 54 following step 74 by n times (where n> 1). On the other hand, skip determination section 420
If the average value YMave is larger than the threshold value Tc, the process proceeds to step 54 without performing n times the threshold value a. Here, n is 4, for example.

【0050】これによりステップ54においてスキップ
判定部420は、ステップ74においてYMBaveが
しきい値Tc以下であると判定されている場合には、し
きい値aのn倍であるしきい値a×n(すなわちしきい
値aが0.5、nが4の場合は2.0)、を用いて判定
を行い、YMBaveがしきい値Tcより大きいと判定
されている場合にはしきい値aを用いて判定を行う。
In step 54, when it is determined in step 74 that YMBave is equal to or smaller than threshold value Tc, skip determination unit 420 determines that threshold value a × n is n times as large as threshold value a. (That is, 2.0 when the threshold a is 0.5 and n is 4), and when it is determined that YMBave is larger than the threshold Tc, the threshold a is The judgment is made using the above.

【0051】ステップ76においてスキップ判定部42
0は、特徴抽出部422より出力されるYMBaveが
しきい値Tc以下であるか否かを判定する。判定の結
果、YMBaveがしきい値Tc以下である場合、スキ
ップ判定部420は、ステップ76に後続するステップ
56の処理において用いる動きベクトルの差分の大小判
定のしきい値bをn倍する。一方、スキップ判定部42
0は、平均値YMBaveがしきい値Tcより大きい場
合にはしきい値bのn倍を行わずステップ56に進む。
In step 76, the skip determining section 42
A value of 0 determines whether the YMave output from the feature extraction unit 422 is equal to or smaller than the threshold value Tc. If the result of the determination is that YMBave is equal to or smaller than the threshold value Tc, the skip determination unit 420 multiplies the threshold value b for determining the magnitude of the difference between the motion vectors used in the processing of step 56 following step 76 by n. On the other hand, the skip determination unit 42
If the average value YMave is larger than the threshold value Tc, the process proceeds to step 56 without performing n times the threshold value b.

【0052】これによりステップ56においてスキップ
判定部420は、ステップ76においてYMBaveが
しきい値Tc以下であると判定されている場合には、し
きい値bのn倍であるしきい値b×n(すなわち、しき
い値bが1.0、nが4の場合は4.0)、を用いて判
定を行い、YMBaveがしきい値Tcより大きいと判
定されている場合にはしきい値bを用いて判定を行う。
Accordingly, in step 56, when it is determined in step 76 that YMave is equal to or smaller than threshold value Tc, skip determination unit 420 determines that threshold value b × n, which is n times threshold value b. (That is, 4.0 when threshold b is 1.0 and n is 4), and when it is determined that YMBave is larger than threshold Tc, threshold b The determination is made using

【0053】これによりスキップ判定部420は、輝度
平均が小さい、すなわちより暗い画像のマクロブロック
においては、より多くのマクロブロックがスキップマク
ロブロックと判定されることとなる。人間の視覚にとっ
て暗い画像のマクロブロックは、明るい画像のマクロブ
ロックと比較すると、画質の劣化が目立ちにくい。そこ
で本実施形態の符号化装置40は、マクロブロックの画
像が暗い場合に、動きベクトルのしきい値判定に用いる
しきい値aあるいはしきい値bの値を大きくして判定す
ることにより暗い画像のマクロブロックにおいてより多
くスキップマクロブロックが発生するようにし、これに
より圧縮効率を高めている。
Thus, skip determining section 420 determines that more macroblocks are skipped macroblocks in a macroblock having a smaller average luminance, that is, a darker image. Macroblocks of a dark image are less noticeable to human visual perception than macroblocks of a bright image. Therefore, when the image of the macroblock is dark, the encoding device 40 of the present embodiment increases the threshold value a or the threshold value b used for determining the threshold value of the motion vector to determine the dark image. In this case, more skipped macroblocks are generated in the macroblock, thereby increasing the compression efficiency.

【0054】以上本発明にかかる符号化装置について実
施形態に基づいて説明したが本発明はこれらの実行形態
に限らず、以下のようにしてもよい。 (1)第1〜4実施形態において符号化装置10〜40
は、フレーム間符号化を行っているが、フレーム間符号
化の代わりにフィールド間符号化を用いてもよいし、フ
レーム間符号化及びフィールド間符号化の両方を併用す
るよう構成してもよい。 (2)第4実施形態においてスキップ判定部420は、
第2実施形態のステップ54、ステップ56の処理の直
前にステップ74、ステップ76をそれぞれ行うとして
いるが、第3実施形態のステップ64、ステップ66の
処理の直前にステップ74、ステップ76をそれぞれ行
うとしてもよい。 (3)第1〜第4実施形態は、各構成要素の機能をプロ
グラム化してROMに記録し、CPU、RAM、ROM
からなるマイクロコンピュータにより実現してもよい。
より詳しくは、CPUはROMからプログラムを読み出
して実行することにより、まず、符号化対象のマクロブ
ロックの符号化を省略した場合における画素ずれの目立
ちやすさを示す指標を算出するステップを実行する。次
にCPUは、前記指標に応じて符号化対象のマクロブロ
ックの符号化を省略、すなわち当該マクロブロックをス
キップマクロブロックと判定して省略するステップを実
行する。
Although the encoding apparatus according to the present invention has been described based on the embodiments, the present invention is not limited to these embodiments, and may be as follows. (1) Encoding devices 10 to 40 in first to fourth embodiments
Performs inter-frame coding, but may use inter-field coding instead of inter-frame coding, or may be configured to use both inter-frame coding and inter-field coding. . (2) In the fourth embodiment, the skip determination unit 420
Although steps 74 and 76 are performed immediately before the processing of steps 54 and 56 in the second embodiment, steps 74 and 76 are performed immediately before the processing of steps 64 and 66 in the third embodiment. It may be. (3) In the first to fourth embodiments, the function of each component is programmed and recorded in a ROM, and a CPU, a RAM, a ROM
May be realized by a microcomputer comprising:
More specifically, the CPU reads out the program from the ROM and executes the program to first execute a step of calculating an index indicating the degree of conspicuousness of a pixel shift when encoding of the encoding target macroblock is omitted. Next, the CPU executes a step of omitting the coding of the macroblock to be coded according to the index, that is, determining the macroblock as a skipped macroblock and omitting it.

【0055】より具体的には、例えば第1実施形態に相
当するプログラムとしてCPUは、指標としてマクロブ
ロックの動きベクトルの大きさ、及び、直前のマクロブ
ロックの動きベクトルとの差分を算出し、Pピクチャに
おいては当該マクロブロックの量子化後のDCT係数が
0であって動きベクトルの大きさがx成分、y成分共に
しきい値a以下の場合、Bピクチャにおいては当該マク
ロブロックの量子化後のDCT係数が0の場合であって
直前の動きベクトルとの差分がx成分、y成分共にしき
い値b以下である場合にスキップマクロブロックと判定
して省略するプログラムをROMから読み出して実行す
る。 (4)上記(3)に示したプログラムを、記録媒体に記
録し又は各種通信路等を介して流通させ頒布することも
できる。このような記録媒体には、ICカード、光ディ
スク、フレキシブルディスク、ROM等がある。本実施
の形態で示したディジタルデータ記録制御システムの記
録動作の手順(図6に示した手順)を、汎用のコンピュ
ータ又はプログラム実行機能を有する家電機器等に実行
させるためのコンピュータプログラムを、記録媒体に記
録し又は各種通信路等を介して、流通させ頒布すること
もできる。このような記録媒体には、ICカード、光デ
ィスク、フレキシブルディスク、ROM等がある。流
通、頒布されたコンピュータプログラムは、プログラム
実行機能を有する家電機器やコンピュータ等にインスト
ール等されることにより利用に供され、家電機器やコン
ピュータは、当該コンピュータプログラムを実行して、
本実施の形態で示したようなディジタルデータ記録制御
システムを実現する。 (5)第4実施形態においてスキップ判定部420は、
YMBaveがしきい値Tc以下である場合にステップ
54及びステップ56におけるしきい値判定の際、しき
い値a及びしきい値bの代わりに、しきい値a及びしき
い値bをn倍して得られるしきい値a×n及びしきい値
b×nを用いて判定を行うとしているが、n倍に限る必
要はなく、例えばしきい値a及びしきい値bに一律に同
じ値を加えた値を用いて判定を行うようにしてもよい。
More specifically, for example, as a program corresponding to the first embodiment, the CPU calculates, as indices, the magnitude of the motion vector of the macroblock and the difference from the motion vector of the immediately preceding macroblock. In a picture, when the quantized DCT coefficient of the macroblock is 0 and the magnitude of the motion vector is less than or equal to the threshold a in both the x component and the y component, in the B picture, the quantized When the DCT coefficient is 0 and the difference from the immediately preceding motion vector is less than or equal to the threshold b for both the x component and the y component, a program that is determined to be a skipped macroblock and omitted is read from the ROM and executed. (4) The program described in (3) above can be recorded on a recording medium or distributed and distributed via various communication paths. Such a recording medium includes an IC card, an optical disk, a flexible disk, a ROM, and the like. A computer program for causing a general-purpose computer or a household electric appliance having a program execution function to execute a recording operation procedure (the procedure shown in FIG. 6) of the digital data recording control system described in the present embodiment is recorded on a recording medium. , Or can be distributed and distributed via various communication channels. Such a recording medium includes an IC card, an optical disk, a flexible disk, a ROM, and the like. The distributed and distributed computer program is provided for use by being installed on a home appliance or a computer having a program execution function, and the home appliance and the computer execute the computer program.
A digital data recording control system as described in the present embodiment is realized. (5) In the fourth embodiment, the skip determination unit 420
When YMBave is equal to or smaller than the threshold value Tc, the threshold value a and the threshold value b are multiplied by n instead of the threshold value a and the threshold value b at the time of the threshold value determination in the steps 54 and 56. The determination is made using the threshold values a × n and the threshold value b × n obtained as described above. However, the determination is not limited to n times, and for example, the same value may be uniformly used for the threshold value a and the threshold value b. The determination may be performed using the added value.

【0056】[0056]

【発明の効果】本発明の符号化装置は、動画像データの
ブロック毎に符号化対象ブロックに対して動き補償予測
を含む符号化を行う符号化装置であって、符号化対象ブ
ロックの符号化を省略した場合における画素ずれの目立
ちやすさを示す指標を算出する算出手段と、前記指標に
応じて符号化対象ブロックの符号化を省略するよう制御
する制御手段とを備える。
The encoding apparatus according to the present invention is an encoding apparatus for performing encoding including motion compensation prediction on a current block for each block of moving image data. And a control unit that controls to omit encoding of the encoding target block according to the index.

【0057】この構成によれば符号化装置は、画素ずれ
が目立ちやすいブロックを符号化し、画素ずれが目立ち
にくいブロックの符号化を省略するので、従来の符号化
装置のように符号化省略による画素ずれが微小なブロッ
クであっても省略されずに符号化されるという、画素ず
れの度合いと符号化省略との不一致が解消され、符号化
の処理量が減り圧縮率が高くなるという効果がある。
According to this configuration, the encoding device encodes a block in which the pixel shift is conspicuous, and omits the coding of the block in which the pixel shift is not conspicuous. Even if a block has a small displacement, the block is encoded without being omitted, which eliminates the mismatch between the degree of pixel displacement and the omission of encoding, and has the effect of reducing the amount of encoding processing and increasing the compression ratio. .

【0058】また 前記算出手段は、前記指標として、
動き補償予測により得られる動きベクトルの大きさ、及
び、符号化対象ブロックとその直前に符号化されたブロ
ックとの動きベクトルの差分を算出し、前記制御手段
は、単方向予測の符号化においては前記大きさが0より
大きく第1しきい値より小さい場合、双方向予測の符号
化においては前記差分が0より大きく第2しきい値より
小さい場合に当該符号化対象ブロックの符号化を省略す
るよう制御することにより当該符号化対象ブロックの符
号化結果を出力しないよう構成される。
In addition, the calculating means includes:
The magnitude of the motion vector obtained by motion compensation prediction and the difference between the motion vector of the current block and the block coded immediately before the current block are calculated. If the magnitude is larger than 0 and smaller than the first threshold, the encoding of the current block is omitted in bidirectional prediction encoding if the difference is larger than 0 and smaller than the second threshold. With this control, the encoding result of the encoding target block is not output.

【0059】符号化を省略した場合における画素ずれ量
は、動きベクトルの大きさ、動きベクトルの差分が大き
いほど大きくなる。したがって上記構成の符号化装置
は、制御手段が第1しきい値及び第2しきい値を用いて
判定を行うことにより、符号化を省略した場合の画素ず
れ量が所定のずれ量より小さいブロックについては符号
化を省略し、画素ずれが所定のずれ量以上に大きくなる
ブロックについては省略せずに符号化することとなる。
このように本符号化装置においては、画素ずれの小さい
ブロックと符号化が省略されるブロックとが一致するの
で、符号化効率が良いという効果がある。
The pixel shift amount when the coding is omitted increases as the magnitude of the motion vector and the difference between the motion vectors increase. Therefore, in the coding apparatus having the above configuration, the control unit makes the determination using the first threshold value and the second threshold value so that the pixel shift amount when the coding is omitted is smaller than the predetermined shift amount. Is omitted, and the block in which the pixel shift is larger than a predetermined shift amount is coded without omission.
As described above, in the present encoding apparatus, the block having a small pixel shift coincides with the block from which encoding is omitted, and thus has an effect of improving the encoding efficiency.

【0060】また前記算出手段は、動き補償予測により
得られる動きベクトルの大きさ、及び、符号化対象ブロ
ックとその直前に符号化されたブロックとの動きベクト
ルの差分を算出する第1算出部と、符号化対象ブロック
を複数に分割した小ブロックにおける輝度の分散を算出
し、分散の最大値と最小値との差分を算出する第2算出
部とを備え、前記指標は、前記動きベクトルの大きさ
と、前記動きベクトルの差分と、前記分散の最大値と最
小値との差分とを含み、前記制御手段は、単方向予測の
符号化においては前記動きベクトルの大きさが0より大
きく第1しきい値より小さい場合、双方向予測の符号化
においては前記差分が0より大きく第2しきい値より小
さい場合に当該符号化対象ブロックを符号化省略の候補
と判定する第1判定部と、第2算出部により算出される
前記差分が第3しきい値より小さい場合に当該符号化対
象ブロックを符号化省略の候補と判定する第2判定部と
を備え、第1判定部および第2判定部の両方において符
号化省略の候補と判定された場合に当該符号化対象ブロ
ックの符号化を省略するよう制御するよう構成される。
The calculating means calculates a magnitude of the motion vector obtained by the motion compensation prediction, and a first calculating unit for calculating a difference between the motion vector of the block to be coded and the block coded immediately before the current block. A second calculating unit that calculates a variance of luminance in a small block obtained by dividing the current block into a plurality of blocks, and calculates a difference between a maximum value and a minimum value of the variance, wherein the index is a magnitude of the motion vector. And the difference between the maximum value and the minimum value of the variance, and the control unit determines that the magnitude of the motion vector is larger than 0 in unidirectional prediction encoding. If the difference is larger than 0 and smaller than a second threshold value in bidirectional prediction encoding, the first block is determined to be a candidate for coding omission when the difference is larger than 0 and smaller than a second threshold value. And a second determining unit that determines the current block to be a candidate for coding omission when the difference calculated by the second calculating unit is smaller than a third threshold value. When both of the two determination units determine that the candidate for encoding is to be omitted, control is performed such that encoding of the current block is omitted.

【0061】この構成によれば符号化装置は、ブロック
内の分散の差が小さい、つまり輝度差が一様で符号化省
略による画素ずれが目立ちにくいブロックの符号化を省
略するので、画素ずれの目立ちやすさ、すなわち劣化度
合いに応じて符号化の省略を行うこととなり符号化の処
理効率及び圧縮効率が良いという効果がある。また前記
第2判定部は、第2算出部により算出される前記差分が
第3しきい値より小さい場合、かつ、第2算出部により
算出される前記分散の最大値が第4しきい値より小さい
場合に当該符号化対象ブロックを符号化省略の候補と判
定するよう構成される。
According to this configuration, the encoding apparatus omits the encoding of a block where the difference in variance within the block is small, that is, the luminance difference is uniform and the pixel deviation due to the omission of encoding is less noticeable. Since the coding is omitted according to the conspicuousness, that is, the degree of deterioration, the coding processing efficiency and the compression efficiency are improved. Further, the second determination unit is configured such that, when the difference calculated by the second calculation unit is smaller than a third threshold value, and when the maximum value of the variance calculated by the second calculation unit is smaller than a fourth threshold value. When the size is smaller, the current block to be coded is determined to be a candidate for coding omission.

【0062】この構成によれば符号化装置は、輝度の分
散の最大値と最小値との差分が第3しきい値より小さく
かつ輝度の分散の最大値が第4しきい値より小さい画
像、つまりブロック内の輝度変化が小さくより平坦な画
像の符号化を省略する。このように輝度変化が小さくよ
り平坦な画像であれば符号化省略による画素ずれが目立
ちにくいので、画素ずれの目立ちやすさに応じて符号化
の省略を行うこととなり符号化の処理効率及び圧縮効率
が良いという効果がある。
According to this configuration, the encoding apparatus can generate an image in which the difference between the maximum value and the minimum value of the luminance variance is smaller than the third threshold value and the maximum value of the luminance variance is smaller than the fourth threshold value; That is, encoding of a flatter image in which the luminance change in the block is small is omitted. As described above, in the case of a flatter image having a small change in luminance, the pixel shift due to the omission of encoding is not conspicuous. Therefore, the encoding is omitted according to the conspicuousness of the pixel shift, and the encoding processing efficiency and the compression efficiency are reduced. Is effective.

【0063】また前記算出手段は、さらに、前記指標の
一部として、符号化対象ブロックの輝度の平均値を算出
する第3算出部を備え、前記制御手段は、さらに、前記
第1判定部による判定の前に前記平均値が第5しきい値
より小さいか否かを判定し、小さいと判定した場合に
は、前記第1しきい値及び前記第2しきい値の代わりに
それぞれを桁上げした値を用いて第1判定部に判定を行
わせるしきい値可変部を備える。
The calculating means further includes a third calculating section for calculating an average value of the luminance of the current block as a part of the index, and the control means further includes a third determining section. Before the determination, it is determined whether or not the average value is smaller than a fifth threshold value. If it is determined that the average value is smaller than the first threshold value and the second threshold value, each carry is performed. A threshold varying unit that causes the first determination unit to make a determination using the obtained value.

【0064】この構成によれば符号化装置は、あるしき
い値より暗い画像のブロックの場合に第1しきい値及び
第2しきい値を桁上げして判定を行うことにより、暗い
画像のブロックの符号化が省略される確率を高くしてい
る。暗い画像は人間の視覚には符号化省略による画質の
劣化が認識しにくいという特性があるため、これを利用
してより暗い画像のブロックにおいて符号化が省略され
るブロックがより多く発生するよう構成し、これにより
画像の劣化度合いの低いブロックと、符号化が省略され
るブロックとが対応するので符号化の処理効率及び圧縮
効率が良いという効果がある。
According to this configuration, the encoding apparatus carries out the determination by increasing the first threshold value and the second threshold value in the case of a block of an image darker than a certain threshold value, and thereby performs the determination of the dark image. The probability that the coding of the block is omitted is increased. Since dark images have the characteristic that image quality deterioration due to omission of encoding is difficult to be recognized by human eyes, this configuration is used to generate more blocks whose encoding is omitted in darker image blocks. However, since a block having a low degree of image deterioration corresponds to a block for which encoding is omitted, there is an effect that encoding processing efficiency and compression efficiency are good.

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

【図1】符号化装置10の構成を示すブロック図であ
る。
FIG. 1 is a block diagram illustrating a configuration of an encoding device 10.

【図2】スキップ判定部120の処理を詳細に示すフロ
ーチャートである。
FIG. 2 is a flowchart illustrating a process of a skip determination unit 120 in detail.

【図3】動きベクトル置換部121の処理を詳細に示す
フローチャートである。
FIG. 3 is a flowchart illustrating a process of a motion vector replacement unit 121 in detail.

【図4】第2実施形態の符号化装置20の構成を示すブ
ロック図である。
FIG. 4 is a block diagram illustrating a configuration of an encoding device 20 according to a second embodiment.

【図5】スキップ判定部220の処理を詳細に示すフロ
ーチャートである。
FIG. 5 is a flowchart showing details of a process of a skip determination unit 220;

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

10 符号化装置 100 入力端子 101 画像メモリ部 102 動きベクトル検出部102 103 差分部 104 DCT部 105 量子化部 106 逆量子化部 107 逆DCT部 108 加算部 109 動き予測部 110 可変長符号化部 111 バッファ 112 出力端子 113 制御部 120 スキップ判定部 121 動きベクトル置換部 220 スキップ判定部 222 特徴抽出部 Reference Signs List 10 Encoding device 100 Input terminal 101 Image memory unit 102 Motion vector detection unit 102 103 Difference unit 104 DCT unit 105 Quantization unit 106 Inverse quantization unit 107 Inverse DCT unit 108 Addition unit 109 Motion prediction unit 110 Variable length encoding unit 111 Buffer 112 Output terminal 113 Control unit 120 Skip determination unit 121 Motion vector replacement unit 220 Skip determination unit 222 Feature extraction unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C059 KK00 KK02 LC09 MA00 MA05 MA23 ME01 NN10 NN11 NN21 NN28 NN36 PP04 PP06 PP07 SS20 TA16 TB08 TC01 TC10 TC11 TC12 TC24 TD02 TD04 TD05 TD12 5J064 AA02 BA01 BA09 BA16 BC01 BC08 BD03  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C059 KK00 KK02 LC09 MA00 MA05 MA23 ME01 NN10 NN11 NN21 NN28 NN36 PP04 PP06 PP07 SS20 TA16 TB08 TC01 TC10 TC11 TC12 TC24 TD02 TD04 TD05 TD12 5J064 AA02 BA01 BA09 BA03 BC01 BC01

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 動画像データのブロック毎に、符号化対
象ブロックに対して動き補償予測を含む符号化を行う符
号化装置であって、 符号化対象ブロックの符号化を省略した場合における画
素ずれの目立ちやすさを示す指標を算出する算出手段
と、 前記指標に応じて符号化対象ブロックの符号化を省略す
るよう制御する制御手段とを備えることを特徴とする符
号化装置。
An encoding apparatus for performing encoding including motion compensation prediction on an encoding target block for each block of moving image data, wherein a pixel shift occurs when encoding of the encoding target block is omitted. An encoding apparatus comprising: a calculating unit that calculates an index indicating the degree of conspicuousness of the target block; and a control unit that controls to omit encoding of the current block according to the index.
【請求項2】 前記算出手段は、 前記指標として、動き補償予測により得られる動きベク
トルの大きさ、及び、符号化対象ブロックとその直前に
符号化されたブロックとの動きベクトルの差分を算出
し、 前記制御手段は、単方向予測の符号化においては前記大
きさが0より大きく第1しきい値より小さい場合、双方
向予測の符号化においては前記差分が0より大きく第2
しきい値より小さい場合に当該符号化対象ブロックの符
号化を省略するよう制御することにより当該符号化対象
ブロックの符号化結果を出力しないことを特徴とする請
求項1記載の符号化装置。
2. The calculation means calculates, as the index, a magnitude of a motion vector obtained by motion compensation prediction, and a difference between a motion vector of an encoding target block and a block encoded immediately before the current block. The control means, when the magnitude is larger than 0 and smaller than the first threshold value in unidirectional prediction encoding, the difference is larger than 0 in bidirectional prediction encoding.
2. The encoding apparatus according to claim 1, wherein when the value is smaller than the threshold value, the encoding result of the encoding target block is not output by controlling to omit encoding of the encoding target block.
【請求項3】 前記算出手段は、 動き補償予測により得られる動きベクトルの大きさ、及
び、符号化対象ブロックとその直前に符号化されたブロ
ックとの動きベクトルの差分を算出する第1算出部と、 符号化対象ブロックを複数に分割した小ブロックにおけ
る輝度の分散を算出し、分散の最大値と最小値との差分
を算出する第2算出部とを備え、 前記指標は、前記動きベクトルの大きさと、前記動きベ
クトルの差分と、前記分散の最大値と最小値との差分と
を含み、 前記制御手段は、 単方向予測の符号化においては前記動きベクトルの大き
さが0より大きく第1しきい値より小さい場合、双方向
予測の符号化においては前記差分が0より大きく第2し
きい値より小さい場合に当該符号化対象ブロックを符号
化省略の候補と判定する第1判定部と、 第2算出部により算出される前記差分が第3しきい値よ
り小さい場合に当該符号化対象ブロックを符号化省略の
候補と判定する第2判定部とを備え、 第1判定部および第2判定部の両方において符号化省略
の候補と判定された場合に当該符号化対象ブロックの符
号化を省略するよう制御することを特徴とする請求項1
記載の符号化装置。
3. A first calculating unit for calculating a magnitude of a motion vector obtained by motion compensation prediction and a difference between a motion vector of an encoding target block and a block encoded immediately before the encoding target block. And a second calculating unit that calculates a variance of luminance in a small block obtained by dividing the current block into a plurality of blocks, and calculates a difference between a maximum value and a minimum value of the variance. A magnitude, a difference between the motion vectors, and a difference between a maximum value and a minimum value of the variance, wherein the control unit determines that the magnitude of the motion vector is greater than 0 and larger than 0 in the unidirectional prediction encoding. When the difference is larger than 0 and smaller than a second threshold value in bidirectional prediction encoding when the difference is smaller than the threshold value, the first determination is made to determine that the current block is a candidate for encoding omission. And a second determining unit that determines the current block to be a candidate for coding omission when the difference calculated by the second calculating unit is smaller than a third threshold value. 2. The control unit according to claim 1, wherein when both of the two determination units determine that the candidate for encoding is to be omitted, encoding of the current block is omitted.
An encoding device according to claim 1.
【請求項4】 前記第2判定部は、 第2算出部により算出される前記差分が第3しきい値よ
り小さい場合、かつ、第2算出部により算出される前記
分散の最大値が第4しきい値より小さい場合に当該符号
化対象ブロックを符号化省略の候補と判定することを特
徴とする請求項3記載の符号化装置。
4. The method according to claim 1, wherein the difference calculated by the second calculation unit is smaller than a third threshold value, and the maximum value of the variance calculated by the second calculation unit is set to a fourth value. The encoding apparatus according to claim 3, wherein the encoding target block is determined as a candidate for encoding when the encoding target block is smaller than the threshold value.
【請求項5】 前記算出手段は、さらに、 前記指標の一部として、符号化対象ブロックの輝度の平
均値を算出する第3算出部を備え、 前記制御手段は、さらに、 前記第1判定部による判定の前に前記平均値が第5しき
い値より小さいか否かを判定し、小さいと判定した場合
には、前記第1しきい値及び前記第2しきい値の代わり
にそれぞれを桁上げした値を用いて第1判定部に判定を
行わせるしきい値可変部を備えることを特徴とする請求
項3又は請求項4記載の符号化装置。
5. The calculation unit further includes: a third calculation unit that calculates, as a part of the index, an average value of luminance of an encoding target block, the control unit further includes: the first determination unit. It is determined whether or not the average value is smaller than a fifth threshold value before the determination by (1), and if it is determined that the average value is smaller, each of the first and second threshold values is replaced by a digit. The encoding device according to claim 3 or 4, further comprising a threshold variable unit that causes the first determination unit to make a determination using the increased value.
【請求項6】 動画像データのブロック毎に、符号化対
象ブロックに対して動き補償予測を含む符号化を行う符
号化方法であって、 符号化対象ブロックの符号化を省略した場合における画
素ずれの目立ちやすさを示す指標を算出する算出ステッ
プと、 前記指標に応じて符号化対象ブロックの符号化を省略す
るよう制御する制御ステップとからなることを特徴とす
る符号化方法。
6. An encoding method for performing encoding including motion compensation prediction on an encoding target block for each block of moving image data, wherein a pixel shift occurs when encoding of the encoding target block is omitted. An encoding method comprising: a calculating step of calculating an index indicating the degree of conspicuousness of a target block; and a control step of performing control so as to omit encoding of a current block according to the index.
【請求項7】 動画像データのブロック毎に、符号化対
象ブロックに対して動き補償予測を含む符号化をコンピ
ュータに実行させるためのプログラムを記録したコンピ
ュータ読み取り可能な記録媒体であって、当該プログラ
ムはコンピュータに、 符号化対象ブロックの符号化を省略した場合における画
素ずれの目立ちやすさを示す指標を算出する算出ステッ
プと、 前記指標に応じて符号化対象ブロックの符号化を省略す
るよう制御する制御ステップとを実行させることを特徴
とするプログラムを記録した記録媒体。
7. A computer-readable recording medium in which a program for causing a computer to execute coding including motion compensation prediction on a block to be coded for each block of moving image data is recorded. Calculates a step of calculating an index indicating the degree of conspicuousness of pixel shift when encoding of the encoding target block is omitted, and controls the computer to omit encoding of the encoding target block according to the index. A recording medium having recorded thereon a program for executing a control step.
JP2000059549A 2000-03-03 2000-03-03 Encoding device, encoding method, and recording medium recording program Pending JP2001251627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000059549A JP2001251627A (en) 2000-03-03 2000-03-03 Encoding device, encoding method, and recording medium recording program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000059549A JP2001251627A (en) 2000-03-03 2000-03-03 Encoding device, encoding method, and recording medium recording program

Publications (1)

Publication Number Publication Date
JP2001251627A true JP2001251627A (en) 2001-09-14

Family

ID=18579983

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000059549A Pending JP2001251627A (en) 2000-03-03 2000-03-03 Encoding device, encoding method, and recording medium recording program

Country Status (1)

Country Link
JP (1) JP2001251627A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004049726A1 (en) * 2002-11-25 2004-06-10 Matsushita Electric Industrial Co., Ltd. Motion compensation method, image encoding method, and image decoding method
WO2007105590A1 (en) * 2006-03-09 2007-09-20 Nec Corporation Dynamic image encoding method and device and program using the same
JP2008301212A (en) * 2007-05-31 2008-12-11 Canon Inc Coding device and method
JP2009177353A (en) * 2008-01-22 2009-08-06 Canon Inc Encoder, method of controlling the same, and computer program
JP2009302755A (en) * 2008-06-11 2009-12-24 Sony Corp Storage reproducer, storage device, reproducer, and storage reproduction method
JP2010022058A (en) * 2001-11-21 2010-01-28 General Instr Corp Adaptive frame/field coding in macro block level of digital video content
WO2010070818A1 (en) * 2008-12-16 2010-06-24 株式会社日立製作所 Moving image encoding device, moving image encoding method, moving image decoding device and moving image decoding method
JP2011044767A (en) * 2009-08-19 2011-03-03 Canon Inc Device and method for correcting image
JP2011050090A (en) * 2003-05-12 2011-03-10 Google Inc Video compression method
US7983337B2 (en) 2007-12-27 2011-07-19 Kabushiki Kaisha Toshiba Moving picture coding device, moving picture coding method, and recording medium with moving picture coding program recorded thereon
JP2013157662A (en) * 2012-01-26 2013-08-15 Nippon Telegr & Teleph Corp <Ntt> Moving image encoding method, moving image encoding device, and moving image encoding program
US8630350B2 (en) 2001-11-27 2014-01-14 Motorola Mobility Llc Picture level adaptive frame/field coding for digital video content

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010022058A (en) * 2001-11-21 2010-01-28 General Instr Corp Adaptive frame/field coding in macro block level of digital video content
US8630350B2 (en) 2001-11-27 2014-01-14 Motorola Mobility Llc Picture level adaptive frame/field coding for digital video content
US9088795B2 (en) 2002-11-25 2015-07-21 Godo Kaisha Ip Bridge 1 Picture coding and decoding system for coding and decoding macroblocks in direct mode
US9473786B2 (en) 2002-11-25 2016-10-18 Godo Kaisha Ip Bridge 1 Coding and decoding system for coding and decoding a picture in direct mode
US10057595B2 (en) 2002-11-25 2018-08-21 Godo Kaisha Ip Bridge 1 Motion compensation method, picture coding method and picture decoding method
US9554148B2 (en) 2002-11-25 2017-01-24 Godo Kaisha Ip Bridge 1 Picture coding method and picture coding apparatus for coding a current picture in direct mode
US9485516B2 (en) 2002-11-25 2016-11-01 Godo Kaisha Ip Bridge 1 Picture decoding apparatus and picture decoding method for decoding a current picture in direct mode
CN101827265A (en) * 2002-11-25 2010-09-08 松下电器产业株式会社 Picture coding apparatus and method, picture decoding apparatus and method, and recording method
KR100985366B1 (en) 2002-11-25 2010-10-04 파나소닉 주식회사 Motion compensation method, picture coding method and picture decoding method
KR100985236B1 (en) 2002-11-25 2010-10-04 파나소닉 주식회사 Motion compensating method, picture encoding method and picture decoding method
US9241171B2 (en) 2002-11-25 2016-01-19 Godo Kaisha Ip Bridge 1 Motion compensation method, picture coding method and picture decoding method
US9204153B2 (en) 2002-11-25 2015-12-01 Godo Kaisha Ip Bridge 1 Motion compensation method, picture coding method and picture decoding method
WO2004049726A1 (en) * 2002-11-25 2004-06-10 Matsushita Electric Industrial Co., Ltd. Motion compensation method, image encoding method, and image decoding method
US8009731B2 (en) 2002-11-25 2011-08-30 Panasonic Corporation Motion compensation method, picture coding method and picture decoding method
US8861607B2 (en) 2002-11-25 2014-10-14 Panasonic Intellectual Property Corporation Of America Motion compensation method, picture coding method and picture decoding method
US8660185B2 (en) 2002-11-25 2014-02-25 Panasonic Corporation Picture decoding apparatus and method for decoding a picture using motion compensation
US8897367B2 (en) 2002-11-25 2014-11-25 Panasonic Intellectual Property Corporation Of America Motion compensation method, picture coding method and picture decoding method
JP2011050090A (en) * 2003-05-12 2011-03-10 Google Inc Video compression method
JP5423948B2 (en) * 2006-03-09 2014-02-19 日本電気株式会社 Moving picture encoding method, and apparatus and program using the same
US8428136B2 (en) 2006-03-09 2013-04-23 Nec Corporation Dynamic image encoding method and device and program using the same
WO2007105590A1 (en) * 2006-03-09 2007-09-20 Nec Corporation Dynamic image encoding method and device and program using the same
JP2008301212A (en) * 2007-05-31 2008-12-11 Canon Inc Coding device and method
US7983337B2 (en) 2007-12-27 2011-07-19 Kabushiki Kaisha Toshiba Moving picture coding device, moving picture coding method, and recording medium with moving picture coding program recorded thereon
JP2009177353A (en) * 2008-01-22 2009-08-06 Canon Inc Encoder, method of controlling the same, and computer program
JP2009302755A (en) * 2008-06-11 2009-12-24 Sony Corp Storage reproducer, storage device, reproducer, and storage reproduction method
WO2010070818A1 (en) * 2008-12-16 2010-06-24 株式会社日立製作所 Moving image encoding device, moving image encoding method, moving image decoding device and moving image decoding method
JP2011044767A (en) * 2009-08-19 2011-03-03 Canon Inc Device and method for correcting image
JP2013157662A (en) * 2012-01-26 2013-08-15 Nippon Telegr & Teleph Corp <Ntt> Moving image encoding method, moving image encoding device, and moving image encoding program

Similar Documents

Publication Publication Date Title
US9699459B2 (en) Image encoding apparatus, image encoding method, image decoding apparatus, and image decoding method
RU2720975C2 (en) Method of encoding and decoding images, an encoding and decoding device and corresponding computer programs
RU2577320C1 (en) Video decoding device, video coding device, video decoding method and video coding method
JP5133290B2 (en) Video encoding apparatus and decoding apparatus
JP4246723B2 (en) Intraframe predictive coding control method, intraframe predictive coding control apparatus, intraframe predictive coding control program, and computer-readable recording medium storing the program
KR20050089838A (en) Video encoding with skipping motion estimation for selected macroblocks
US6748114B1 (en) Moving picture encoding method and moving picture encoding apparatus
JP4732184B2 (en) Moving picture encoding apparatus and control method therefor, computer program, and storage medium
KR100561398B1 (en) Apparatus and method for detecting and compensating for luminance changes for each section in a moving picture
JP2001251627A (en) Encoding device, encoding method, and recording medium recording program
JP3429429B2 (en) Visual error processing method and image coding apparatus using this method
JP2001036908A (en) Dynamic image compressing device
JP5649296B2 (en) Image encoding device
JP5178616B2 (en) Scene change detection device and video recording device
JP2009089267A (en) Method and device for intra predictive coding, and program
JP4216769B2 (en) Moving picture coding method, moving picture coding apparatus, moving picture coding program, and computer-readable recording medium recording the program
EP2687011A1 (en) Method for reconstructing and coding an image block
JP3812808B2 (en) Skip region detection type moving image encoding apparatus and recording medium
JP2002064823A (en) Apparatus for detecting scene change of compressed moving image, method of detecting scene change of compressed moving image, and recording medium recording program thereof
JP2001346208A (en) Image signal decoding apparatus and method
KR100613732B1 (en) Digital Image Compression System and Method
JP5579730B2 (en) Brightness change coding
JP2005303555A (en) Moving picture coding apparatus and moving picture coding method
JPH07336684A (en) Picture signal decoding device
JP4196929B2 (en) Noise detection apparatus and noise detection program