JP2002016922A - Image encoder - Google Patents

Image encoder

Info

Publication number
JP2002016922A
JP2002016922A JP2000194251A JP2000194251A JP2002016922A JP 2002016922 A JP2002016922 A JP 2002016922A JP 2000194251 A JP2000194251 A JP 2000194251A JP 2000194251 A JP2000194251 A JP 2000194251A JP 2002016922 A JP2002016922 A JP 2002016922A
Authority
JP
Japan
Prior art keywords
orthogonal transform
unit
image
coefficient
transform coefficient
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
JP2000194251A
Other languages
Japanese (ja)
Inventor
Kanji Sakate
寛治 坂手
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2000194251A priority Critical patent/JP2002016922A/en
Publication of JP2002016922A publication Critical patent/JP2002016922A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image encoder capable of obtaining an image code high in quality and stability by controlling the amount of the generated code so as not to cause a change in quantization accuracy. SOLUTION: A frame memory A 1 rearranges an input image frame. An orthogonal converter 2 orthogonally converts either an input image or a difference between a predictive image and the input image. An orthogonal conversion coefficient separator 10 divides the orthogonal conversion coefficient calculated by the orthogonal converter 2 into an encoding coefficient and a non-encoding coefficient. A distortion volume calculator 11 calculates the distortion volume of an image that is induced by cutting off the non-encoding coefficient. An orthogonal conversion coefficient corrector 12 corrects the encoding coefficient so as to lessen the distortion volume. An encoding coefficient output 13 outputs either an encoding coefficient separated by the orthogonal conversion coefficient separator 10 or an encoding coefficient corrected by the orthogonal conversion coefficient corrector 12 to a quantization part 3 to select one of them.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、ディジタル画像
データを圧縮符号化する画像符号化装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding apparatus for compressing and encoding digital image data.

【0002】[0002]

【従来の技術】図7は例えば、テレビジョン学会誌Vol.
49 NO.4に示された従来の画像符号化装置であり、図に
おいて、1は入力画像を一時的に蓄積するフレームメモ
リA、2はフレームメモリA 1に蓄積された画像に対し
て離散コサイン変換(DCT:Discrete Cosine Transfo
rm)等の直交変換を行なう直交変換部、3は直交変換部
2によって算出された直交変換係数を量子化する量子化
部、4は量子化部3から出力される量子化データやその
他の符号化データを所定の形式で可変長符号化(以下、
VLC:Variable Length Coding)するVLC部、5はVLC部
4の出力を一時的に蓄積するためのバッファ、6は量子
化部3から出力される量子化データを逆量子化して直交
変換係数を出力する逆量子化部、7は逆量子化部6から
出力される直交変換係数に対して逆直交変換を行なう逆
直交変換部、8は逆直交変換部7の出力として得られる
画像、または逆直交変換部7の出力として得られる後述
の画像差分データと該差分データの生成に用いた予測画
像を足し合わせた画像を一時的に蓄積するフレームメモ
リB、9はフレームメモリB 8に蓄積された画像と新た
に符号化される画像との間の動きを動きベクトルとして
検出する動き補償部である。
2. Description of the Related Art FIG.
49 is a conventional image encoding device shown in NO.4, in which 1 is a frame memory A for temporarily storing an input image, and 2 is a discrete cosine image for the image stored in the frame memory A1. Transform (DCT: Discrete Cosine Transfo
rm), 3 is a quantization unit for quantizing the orthogonal transformation coefficient calculated by the orthogonal transformation unit 2, 4 is quantization data output from the quantization unit 3, and other codes. Variable-length encoding of encoded data in a predetermined format (hereinafter, referred to as
VLC unit for performing variable length coding (VLC), 5 a buffer for temporarily storing the output of the VLC unit 4, and 6 dequantizing the quantized data output from the quantizing unit 3 and outputting an orthogonal transform coefficient. 7 is an inverse orthogonal transform unit that performs inverse orthogonal transform on the orthogonal transform coefficient output from the inverse quantizer 6, and 8 is an image obtained as an output of the inverse orthogonal transform unit 7, or an inverse orthogonal transform. Frame memories B and 9 for temporarily storing an image obtained by adding image difference data described later obtained as an output of the conversion unit 7 and a prediction image used for generating the difference data are images stored in the frame memory B 8 A motion compensating unit that detects a motion between the image and a newly encoded image as a motion vector.

【0003】次に、動作を説明する。画像符号化装置の
外部より入力された画像はいったんフレームメモリA
1に蓄積される。符号化方式として例えばISO/IEC 138
18-2を用いる場合には、画像フレームの表示順序と符号
化順序が異なることがあり、この場合、フレームメモリ
A 1は、フレームの並び替えを行なう。次に、フレー
ムメモリA 1に蓄積された画像の1フレーム(1画面
分の画像)が取り出され、直交変換部2に入力される。
直交変換部2は、入力画像そのものか、あるいはフレー
ムメモリB 8に蓄積された画像に動き補償を施して得
られる予測画像と入力画像との差分データのいずれかに
対して直交変換を行う。量子化部3は、直交変換部2か
ら出力される直交変換係数に対して適切な量子化ステッ
プで量子化を行う。量子化ステップはフレームやマクロ
ブロックの単位で変更可能である。量子化部3によって
量子化された直交変換係数は、VLC部4によってその他
の符号化情報とともに可変長符号化される。VLC部4に
よって可変長符号化された画像データは符号化ビット列
として一旦バッファ5に蓄積された後、画像符号化装置
の外部へ出力される。
Next, the operation will be described. The image input from the outside of the image encoding device is temporarily stored in the frame memory A.
1 is stored. For example, ISO / IEC 138
When using 18-2, the display order and the encoding order of the image frames may be different.
A1 rearranges frames. Next, one frame (an image for one screen) of the image stored in the frame memory A 1 is extracted and input to the orthogonal transformation unit 2.
The orthogonal transform unit 2 performs an orthogonal transform on either the input image itself or difference data between a predicted image obtained by performing motion compensation on the image stored in the frame memory B8 and the input image. The quantization unit 3 performs quantization on the orthogonal transform coefficient output from the orthogonal transform unit 2 at an appropriate quantization step. The quantization step can be changed for each frame or macroblock. The orthogonal transform coefficients quantized by the quantization unit 3 are variable-length coded by the VLC unit 4 together with other coded information. The image data variable-length coded by the VLC unit 4 is temporarily stored in the buffer 5 as a coded bit string, and then output to the outside of the image coding apparatus.

【0004】量子化部3から出力される量子化された直
交変換係数は逆量子化部6にも入力される。逆量子化部
6は、該直交変換係数を量子化部2と同等の量子化ステ
ップで逆量子化を行なう。逆直交変換部7は、逆量子化
部6によって逆量子化された直交変換係数に対して逆直
交変換を行なう。逆直交変換部によって求められた画像
はフレームメモリB 8に蓄積される。
[0004] The quantized orthogonal transform coefficients output from the quantization unit 3 are also input to an inverse quantization unit 6. The inverse quantization unit 6 inversely quantizes the orthogonal transform coefficients in a quantization step equivalent to that of the quantization unit 2. The inverse orthogonal transform unit 7 performs an inverse orthogonal transform on the orthogonal transform coefficient inversely quantized by the inverse quantizer 6. The image obtained by the inverse orthogonal transform unit is stored in the frame memory B8.

【0005】フレームメモリB 8に蓄積された画像
は、直交変換部2、量子化部3、VLC部4の一連の処理
で得られる符号化ビット列を復号したものに等しいが、
原画像とは必ずしも一致しない。これは量子化部3の処
理で発生する直交変換係数の誤差が画像の歪みとなるた
めである。一般に量子化ステップが大きくなるほど歪み
の程度も大きくなる傾向がある。
[0005] The image stored in the frame memory B 8 is equivalent to a decoded coded bit string obtained by a series of processes of the orthogonal transform unit 2, the quantization unit 3, and the VLC unit 4.
It does not always match the original image. This is because an error of the orthogonal transform coefficient generated in the processing of the quantization unit 3 causes image distortion. In general, the degree of distortion tends to increase as the quantization step increases.

【0006】ところで、直交変換部2、量子化部3、VL
C部4の一連の処理で生成される符号化ビット列の符号
量(以下、発生符号量)は、画像の内容や符号化パラメ
ータによって変化する。バッファ5は発生符号量と出力
ビットレートの差を吸収する目的で存在するが、その差
が大きくなるとバッファ5はアンダーフローまたはオー
バーフローし、正常な符号化ビット列を出力できなくな
る。そこで量子化部3において、バッファ5の蓄積量に
応じて量子化ステップサイズを上下させることで発生符
号量の制御を行なう手段が用いられる。
By the way, the orthogonal transformation unit 2, the quantization unit 3, the VL
The code amount (hereinafter, generated code amount) of a coded bit string generated by a series of processes of the C unit 4 changes depending on the content of an image and coding parameters. The buffer 5 exists for the purpose of absorbing the difference between the generated code amount and the output bit rate. However, if the difference is large, the buffer 5 underflows or overflows and cannot output a normal encoded bit string. Therefore, means for controlling the generated code amount by increasing or decreasing the quantization step size according to the accumulation amount of the buffer 5 in the quantization unit 3 is used.

【0007】[0007]

【発明が解決しようとする課題】従来の画像符号化装置
は量子化部3で量子化ステップサイズを上下させて発生
符号量を制御することが可能であるが、マクロブロック
等の単位で量子化ステップが激しく変化した場合には、
量子化精度のばらつきにより画質が極端に劣化して見え
てしまう等の問題点があった。特に直交変換係数の低周
波数成分の量子化精度が激しく変化した場合には非常に
激しい画質劣化を招く恐れがあった。
The conventional image coding apparatus can control the generated code amount by increasing or decreasing the quantization step size in the quantization unit 3, but the quantization is performed in units of macroblocks or the like. If the steps change drastically,
There has been a problem that the image quality is extremely deteriorated due to a variation in the quantization accuracy, and the like. In particular, when the quantization accuracy of the low-frequency component of the orthogonal transform coefficient changes drastically, there is a possibility that very severe image quality deterioration may occur.

【0008】この発明は上記のような問題点を解決する
ためになされたもので、量子化精度の変化を発生しない
ように発生符号量を制御することで、高画質化および高
安定化を実現する画像符号化装置を提供することを目的
とする。
The present invention has been made to solve the above problems, and realizes high image quality and high stability by controlling the generated code amount so as not to cause a change in quantization accuracy. It is an object of the present invention to provide an image encoding device that performs the following.

【0009】[0009]

【課題を解決するための手段】この発明に係る画像符号
化装置は、入力画像フレームの符号化順序の並び替えを
行う第1のフレームメモリと、該第1のフレームメモリ
に蓄積された画像フレームに対して離散コサイン変換
(DCT:Discrete Cosine Transform)等の直交変換を
行なう直交変換部と、該直交変換部によって算出された
直交変換係数を量子化して量子化データを出力する量子
化部と、前記量子化データを所定の形式で可変長符号化
(以下、VLC:Variable Length Coding)するVLC部
と、該VLC部の出力を一時的に蓄積するためのバッファ
と、前記量子化部から出力される前記量子化データを逆
量子化して直交変換係数を出力する逆量子化部と、該逆
量子化部から出力される前記直交変換係数に対して逆直
交変換を行なう逆直交変換部と、該逆直交変換部の出力
として得られる画像データを一時的に蓄積する第2のフ
レームメモリと、該第2のフレームメモリに蓄積された
画像と新たに符号化される画像との間の動きを動きベク
トルとして検出する動き補償部とを備え、前記入力画像
フレームに直交変換を適用して圧縮符号化する画像符号
化装置において、前記直交変換部から出力される前記直
交変換係数のうち、特定の周波数成分の直交変換係数を
符号化せずに切り落とす直交変換係数分離部と、直交変
換係数を切り落とすことで生じる画像の歪み量を計算す
る歪み量計算部を備えたものである。
An image encoding apparatus according to the present invention comprises a first frame memory for rearranging the encoding order of input image frames, and an image frame stored in the first frame memory. An orthogonal transform unit that performs an orthogonal transform such as a discrete cosine transform (DCT), a quantizing unit that quantizes orthogonal transform coefficients calculated by the orthogonal transform unit and outputs quantized data, A VLC unit that performs variable length coding (hereinafter, VLC: Variable Length Coding) of the quantized data in a predetermined format, a buffer for temporarily storing the output of the VLC unit, and a buffer output from the quantizer. An inverse quantization unit that inversely quantizes the quantized data to output an orthogonal transformation coefficient, an inverse orthogonal transformation unit that performs an inverse orthogonal transformation on the orthogonal transformation coefficient output from the inverse quantization unit, Inverse orthogonal transform A second frame memory for temporarily storing image data obtained as a force, and a motion for detecting a motion between an image stored in the second frame memory and a newly encoded image as a motion vector And a compensating unit, wherein the image coding apparatus compresses and encodes the input image frame by applying an orthogonal transform to the input image frame, among the orthogonal transform coefficients output from the orthogonal transform unit, orthogonal transform coefficients of a specific frequency component Is provided with an orthogonal transform coefficient separation unit that cuts off the image without encoding, and a distortion amount calculation unit that calculates the amount of image distortion caused by cutting off the orthogonal transform coefficient.

【0010】また、歪み量計算部は、切り落とす直交変
換係数に対して逆直交変換を行うものである。
[0010] The distortion amount calculator performs inverse orthogonal transform on the orthogonal transform coefficient to be cut off.

【0011】また、歪み量計算部は、切り落とす直交変
換係数の累算値等から予測するものである。
Further, the distortion amount calculating section makes a prediction from an accumulated value of orthogonal transform coefficients to be cut off or the like.

【0012】また、直交変換係数分離部は、直交変換係
数を切り落とすことで生じる画像の歪み量が大きくなら
ないように、切り落としの対象とする周波数成分を決定
するものである。
The orthogonal transform coefficient separating section determines a frequency component to be cut off so that the amount of image distortion caused by cutting off the orthogonal transform coefficient does not increase.

【0013】また、直交変換係数分離手段は、バッファ
の蓄積量に応じて切り落としの対象となる周波数成分を
変更するものである。
The orthogonal transform coefficient separating means changes a frequency component to be cut off in accordance with the amount of data stored in the buffer.

【0014】また、直交変換係数分離手段は、バッファ
蓄積量が増加するに従い、切り落としの対象とする周波
数成分を増加させるものである。
The orthogonal transform coefficient separating means increases the frequency components to be cut off as the buffer storage amount increases.

【0015】また、直交変換係数分離部が直交変換係数
を分離して出力した、切り落とす直交変換係数と、切り
落とさない直交変換係数の内、前記切り落とす直交変換
係数を用いて前記切り落とさない直交変換係数を補正す
る直交変換係数補正部を備えるものである。
Further, of the orthogonal transform coefficients to be cut off and the orthogonal transform coefficients not to be cut off, which are output by the orthogonal transform coefficient separating section by separating the orthogonal transform coefficients, the orthogonal transform coefficients to be not cut off are selected by using the orthogonal transform coefficients to be cut off. It has an orthogonal transform coefficient correction unit for correcting.

【0016】また、直交変換係数補正部は、切り落とす
直交変換係数を逆直交変換する逆直交変換手段と、前記
逆直交変換によって得られる画像信号を変形する信号変
形手段と、変形した信号を直交変換する直交変換手段を
備え、前記直交変換によって得られる直交変換係数を用
いて、切り落とさない直交変換係数を補正するものであ
る。
The orthogonal transform coefficient correction unit includes an inverse orthogonal transform unit for performing an inverse orthogonal transform on an orthogonal transform coefficient to be cut off, a signal transforming unit for transforming an image signal obtained by the inverse orthogonal transform, and an orthogonal transform unit for transforming the transformed signal. And an orthogonal transformation unit that corrects an orthogonal transformation coefficient that is not cut off using the orthogonal transformation coefficient obtained by the orthogonal transformation.

【0017】また、信号変形手段は、フィルタを使用す
るものである。
Further, the signal transformation means uses a filter.

【0018】また、切り落としの対象とする周波数成分
の決定において、視覚特性に関する情報を用いる視覚特
性情報処理部を備えたものである。
In addition, the image processing apparatus further includes a visual characteristics information processing unit that uses information on visual characteristics in determining a frequency component to be cut off.

【0019】[0019]

【発明の実施の形態】実施の形態1.図1は、この発明
に係る画像符号化装置の実施の形態1を示すブロック図
である。図において、1は入力画像を一時的に蓄積する
フレームメモリA、2はフレームメモリA 1の画像に対
して離散コサイン変換(DCT:Discrete Cosine Transfo
rm)などの直交変換を行なう直交変換部、3は直交変換
部2による直交変換によって得られる直交変換係数を量
子化する量子化部、4は量子化部3から出力される量子
化データやその他の符号化情報を所定の形式で可変長符
号化(以下、VLC:Variable Length Coding)するVLC
部、5はVLC部4の出力を一時的に蓄積するためのバッ
ファ、6は量子化部3から出力される量子化データを逆
量子化する逆量子化部、7は逆量子化部6から出力され
る直交変換係数に対して逆直交変換を行なう逆直交変換
部、8は逆直交変換部7の出力として得られる画像を一
時的に蓄積するフレームメモリB、9はフレームメモリB
8に蓄積された画像と直交変換部2に新たに入力され
る画像との間の動きを動きベクトルとして検出する動き
補償部である。また、10は直交変換部2から出力され
る直交変換係数を、符号化する周波数成分の係数(以
下、符号化係数という)と符号化せず切り落とす周波数
成分の係数(以下、非符号化係数という)に分離する直
交変換係数分離部、11は上記非符号化係数を切り落と
すことで生じる画像の歪みの大きさ(以下、歪み量とい
う)を計算する歪み量計算部、12は該歪み量を小さく
する目的で直交変換係数の補正を行なう直交変換係数補
正部、13は符号化する直交変換係数を量子化部3へ出
力する符号化係数出力部である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 FIG. 1 is a block diagram showing Embodiment 1 of an image coding apparatus according to the present invention. In the figure, 1 is a frame memory A for temporarily storing an input image, and 2 is a discrete cosine transform (DCT) for the image of the frame memory A 1.
rm), 3 is a quantizer for quantizing orthogonal transform coefficients obtained by the orthogonal transform by the orthogonal transformer 2, 4 is quantized data output from the quantizer 3, and others. VLC that performs variable length coding (hereinafter, VLC: Variable Length Coding) of the coded information in a predetermined format
5, a buffer for temporarily storing the output of the VLC unit 4, 6 a dequantizing unit for dequantizing the quantized data output from the quantizing unit 3, and 7 a dequantizing unit An inverse orthogonal transform unit that performs inverse orthogonal transform on the output orthogonal transform coefficient, 8 is a frame memory B for temporarily storing an image obtained as an output of the inverse orthogonal transform unit 7, and 9 is a frame memory B
8 is a motion compensating unit that detects a motion between an image stored in 8 and an image newly input to the orthogonal transformation unit 2 as a motion vector. Reference numeral 10 denotes a coefficient of a frequency component to be encoded (hereinafter, referred to as an encoding coefficient) and a coefficient of a frequency component to be cut off without encoding (hereinafter, referred to as an unencoded coefficient). The orthogonal transform coefficient separating unit 11 for separating the non-coding coefficients is used to calculate the magnitude of image distortion caused by cutting off the non-coding coefficients (hereinafter referred to as “distortion amount”). An orthogonal transform coefficient correction unit 13 corrects the orthogonal transform coefficients for the purpose of performing the coding. An encoding coefficient output unit 13 outputs the orthogonal transform coefficients to be encoded to the quantization unit 3.

【0020】次に、動作について説明する。画像符号化
装置外部より入力された画像データは、一旦フレームメ
モリA 1に蓄積される。符号化方式として例えばISO/I
EC 13818-2を用いる場合には、画像フレームの表示順
序と符号化順序が異なる場合があるので、フレームメモ
リA1においてフレームの並び替えを行なう。次に、フ
レームメモリA 1に蓄積された画像の1フレームが取
り出され、直交変換部2に入力される。直交変換部2
は、入力画像そのものか、あるいはフレームメモリB
8に蓄積された画像を動きベクトルを用いて補間するこ
とで得られる予測画像と入力画像との差分データ、のい
ずれかに対して直交変換を行う。
Next, the operation will be described. Image data input from outside the image encoding device is temporarily stored in the frame memory A1. For example, ISO / I as an encoding method
When EC 13818-2 is used, the display order of the image frames and the encoding order may be different, so the frames are rearranged in the frame memory A1. Next, one frame of the image stored in the frame memory A 1 is taken out and input to the orthogonal transformation unit 2. Orthogonal transformation unit 2
Is the input image itself or the frame memory B
The orthogonal transformation is performed on any of the difference data between the predicted image obtained by interpolating the image stored in 8 using the motion vector and the input image.

【0021】次に、直交変換係数分離部10は、直交変
換部2によって算出された直交変換係数を、符号化する
符号化係数と符号化しない非符号化係数とに分離する。
非符号化係数には、なるべく高周波成分の係数が選ばれ
るように非符号化係数の周波数成分を決定する。どの周
波数成分の係数を非符号化係数とするかは、バッファ5
の蓄積量等に応じて変更できるようにしておくことが望
ましい。例えば、図2のようにバッファ蓄積量が増加す
るにしたがい、非符号化係数とする周波数成分を増加さ
せるようにすれば不要な画質劣化を防ぐことができる。
Next, the orthogonal transform coefficient separating section 10 separates the orthogonal transform coefficients calculated by the orthogonal transform section 2 into coded coefficients to be coded and non-coded coefficients not to be coded.
As the non-coding coefficient, the frequency component of the non-coding coefficient is determined so that the coefficient of the high-frequency component is selected as much as possible. The buffer 5 determines which frequency component coefficient is used as the non-coding coefficient.
It is desirable to be able to change it according to the accumulated amount of data. For example, as the buffer storage amount increases as shown in FIG. 2, by increasing the frequency components used as the non-coding coefficients, unnecessary image quality degradation can be prevented.

【0022】歪み量計算部11は、非符号化係数を切り
落とすことで生じる画像の歪み量を計算する。計算方法
としては、非符号化係数に対して逆直交変換を行なう方
法や非符号化係数の累算値等から予測する方法などがあ
る。これらの方法により、歪みの量を正確かつ容易に求
めることができるので、有効である。
The distortion calculator 11 calculates the amount of distortion of the image caused by cutting off the non-coding coefficients. As a calculation method, there are a method of performing an inverse orthogonal transform on an uncoded coefficient, a method of performing prediction from an accumulated value of the uncoded coefficient, and the like. These methods are effective because the amount of distortion can be accurately and easily obtained.

【0023】直交変換係数分離部10および歪み量計算
部11の処理の順序は上記の逆であってもよい。例え
ば、非符号化係数とする周波数成分選択方法を、f0
(f0>0)以上、f1(f1>f0)以上、f2(f
2>f1)以上、f3(f3>f2)以上……という具
合にあらかじめ幾つか用意しておき、歪み量計算部10
が各方法について歪みを計算した後、直交変換係数分離
部10が最も歪みが小さくなるように符号化係数と非符
号化係数の分離を行なうこともできる。
The order of the processing performed by the orthogonal transform coefficient separating unit 10 and the distortion amount calculating unit 11 may be reversed. For example, a method of selecting a frequency component to be an uncoded coefficient is f0
(F0> 0) or more, f1 (f1> f0) or more, f2 (f
2> f1) or more, f3 (f3> f2) or more.
After calculating the distortion for each method, the orthogonal transform coefficient separation unit 10 can also separate the coded coefficients and the non-coded coefficients so that the distortion is minimized.

【0024】直交変換係数補正部12は、符号化係数の
値を補正することで非符号化係数を切り落とすことで生
じる歪みが小さくなるように低域通過フィルタなどの手
段を用いて係数の補正を行なう。補正された係数は符号
化係数出力部13へ出力される。符号化係数出力部13
は、直交変換係数分離部10によって分離された符号化
係数か、または直交変換係数補正部12によって補正さ
れた符号化係数のいずれか一方を選択して量子化部3へ
出力する。
The orthogonal transform coefficient correction unit 12 corrects the coefficient by using a low-pass filter or the like so that the distortion caused by cutting off the non-coded coefficient by correcting the value of the coded coefficient is reduced. Do. The corrected coefficients are output to the coding coefficient output unit 13. Coding coefficient output unit 13
Selects one of the coded coefficients separated by the orthogonal transform coefficient separating unit 10 and the coded coefficients corrected by the orthogonal transform coefficient correcting unit 12, and outputs the selected coefficient to the quantizing unit 3.

【0025】量子化部3は、符号化係数出力部13から
出力される直交変換係数か、あるいは直交変換部2から
出力される直交変換係数のいずれかを選択して量子化を
行う。この場合、量子化部3に許容時間等の条件を予め
設けておいて、例えば直交変換係数分離手段21による
直交変換係数分離から直交変換係数補正部27による直
交変換係数の補正までに要する時間が上記許容時間以内
の場合には、符号化係数出力部13から出力される直交
変換係数を選択し、上記直交変換係数分離手段21によ
る直交変換係数分離から直交変換係数補正部27による
直交変換係数の補正までに要する時間が上記許容時間を
超えた場合には、直交変換部2から出力される直交変換
係数を選択する。歪み量計算部11の結果も用いること
ができる。量子化の際、量子化ステップは通常どおり変
更してもよい。
The quantization unit 3 performs quantization by selecting either the orthogonal transform coefficient output from the coded coefficient output unit 13 or the orthogonal transform coefficient output from the orthogonal transform unit 2. In this case, a condition such as an allowable time is provided in advance in the quantization unit 3, and, for example, the time required from the orthogonal transformation coefficient separation by the orthogonal transformation coefficient separation unit 21 to the correction of the orthogonal transformation coefficient by the orthogonal transformation coefficient correction unit 27. If the time is within the allowable time, the orthogonal transform coefficient output from the encoding coefficient output unit 13 is selected, and the orthogonal transform coefficient separation by the orthogonal transform coefficient separation unit 21 and the orthogonal transform coefficient If the time required for the correction exceeds the allowable time, the orthogonal transform coefficient output from the orthogonal transform unit 2 is selected. The result of the distortion amount calculator 11 can also be used. During quantization, the quantization step may be changed as usual.

【0026】VLC部4は、量子化部3が出力する量子化
情報のほか、動き補償部9が検出する動きベクトル等の
符号化データを可変長符号化し、(この信号線は図示せ
ず)生成される符号化ビット列をバッファ5へ出力す
る。バッファ5は、符号化ビット列を一時的に蓄積した
後、所定のビットレートで画像符号化装置の外部へ出力
する。
The VLC unit 4 performs variable-length encoding of encoded data such as a motion vector detected by the motion compensating unit 9 in addition to the quantization information output by the quantizing unit 3 (this signal line is not shown). The generated encoded bit string is output to the buffer 5. After temporarily storing the coded bit sequence, the buffer 5 outputs the coded bit sequence to the outside of the image coding device at a predetermined bit rate.

【0027】量子化部3から出力される量子化された直
交変換係数は逆量子化部6にも入力される。逆量子化部
6は、量子化部3と同等の量子化ステップで逆量子化を
行う。次に、量子化された直交変換係数を逆直交変換部
7によって逆直交変換する。逆直交変換によって得られ
た画像はフレームメモリB 8に蓄積される。フレーム
メモリB 8に蓄積された画像は、後に符号化する画像
の予測画像を生成するために使用される。
The quantized orthogonal transform coefficients output from the quantization unit 3 are also input to the inverse quantization unit 6. The inverse quantization unit 6 performs inverse quantization at the same quantization step as the quantization unit 3. Next, the quantized orthogonal transform coefficient is subjected to inverse orthogonal transform by the inverse orthogonal transform unit 7. The image obtained by the inverse orthogonal transform is stored in the frame memory B8. The image stored in the frame memory B8 is used to generate a predicted image of an image to be encoded later.

【0028】図3は、図1の直交変換係数分離部10、
歪み量計算部11、直交変換係数補正部12、および符
号化係数出力部13が行なう一連の符号化係数補正処理
の実施例を示すブロック図である。まず、直交変換係数
分離手段21は、直交変換部2から出力された直交変換
係数を符号化する符号化係数と符号化しない非符号化係
数に分離する。次に、符号化係数ゼロ化手段22は、直
交変換係数分離手段21から分離された符号化係数と非
符号化係数の双方を入力し、符号化係数の0置換を行な
う。例えば8×8画素単位のブロックのうち、符号化係
数にあたる周波数成分の係数を0に置換する。従って、
符号化係数ゼロ化手段22からは残りの非符号化係数の
みが出力される。同様に非符号化係数ゼロ化手段23
は、直交変換係数分離手段21から分離された符号化係
数と非符号化係数の双方を入力し、非符号化係数にあた
る周波数成分の係数を0に置換する。従って、非符号化
係数ゼロ化手段23からは残りの符号化係数のみが出力
される。次に逆直交変換手段24は、符号化係数ゼロ化
手段22から出力される非符号化係数に対して逆直交変
換を行なう。これにより非符号化係数を切り落とすこと
で生じる画像の歪みが離散信号として得られる。歪み量
計算手段25は、得られた離散信号を解析して歪みの大
きさを計算する。歪みの大きさに応じて直交変換係数分
離手段21での直交変換数の分離をやり直してもよい。
これにより、画像符号化装置は切り落とすべき最適な周
波数成分とそのときの補正するべき歪み量を知ることが
できる。
FIG. 3 shows the orthogonal transform coefficient separating unit 10 shown in FIG.
FIG. 3 is a block diagram illustrating an example of a series of encoding coefficient correction processes performed by a distortion amount calculation unit 11, an orthogonal transformation coefficient correction unit 12, and an encoding coefficient output unit 13. First, the orthogonal transform coefficient separating unit 21 separates the orthogonal transform coefficients output from the orthogonal transform unit 2 into coded coefficients to be coded and uncoded coefficients not to be coded. Next, the coded coefficient zeroing means 22 inputs both the coded coefficients and the non-coded coefficients separated from the orthogonal transform coefficient separating means 21 and performs zero substitution of the coded coefficients. For example, in a block of 8 × 8 pixels, a coefficient of a frequency component corresponding to a coding coefficient is replaced with 0. Therefore,
Only the remaining uncoded coefficients are output from the coded coefficient zeroing means 22. Similarly, the non-coding coefficient zeroing means 23
Inputs both the coded coefficient and the non-coded coefficient separated from the orthogonal transform coefficient separating unit 21, and replaces the coefficient of the frequency component corresponding to the non-coded coefficient with 0. Therefore, only the remaining coded coefficients are output from the non-coded coefficient zeroing means 23. Next, the inverse orthogonal transform unit 24 performs an inverse orthogonal transform on the non-coded coefficients output from the coded coefficient zeroing unit 22. As a result, image distortion caused by cutting off the non-coding coefficient is obtained as a discrete signal. The distortion amount calculating means 25 analyzes the obtained discrete signal and calculates the magnitude of the distortion. The orthogonal transform coefficient separating means 21 may separate the number of orthogonal transforms again according to the magnitude of the distortion.
Thereby, the image coding apparatus can know the optimal frequency component to be cut off and the distortion amount to be corrected at that time.

【0029】次に、逆直交変換手段24によって得られ
た歪みの離散信号を信号変形手段26に入力する。信号
変形手段26は、上記離散信号を近似の信号に変形す
る。直交変換手段27は、この近似信号に対して、直交
変換を行なう。
Next, the discrete signal of the distortion obtained by the inverse orthogonal transformation means 24 is input to the signal transformation means 26. The signal transformation means 26 transforms the discrete signal into an approximate signal. The orthogonal transform means 27 performs an orthogonal transform on the approximate signal.

【0030】図4は信号変形手段26による信号変形の
方法を示す説明図である。実際は成分は2次元で示され
るが、ここでは説明を簡単にするために、1次元で示し
てある。信号変形手段26は信号変形を行う際に、例え
ば低域通過フィルタを用いる。なお、この低域通過フィ
ルタとして、高周波成分をカットするものではなく、高
周波成分を平滑してより低周波の成分に変換するような
ものを選ぶ必要がある。信号変形手段26による信号変
形の結果、直交変換手段27からは、図4(a)に示す直
交変換係数の内、非符号化係数である高周波成分が図4
(b)に示すように低周波成分に変換された形で出力され
る。この場合、直交変換係数分離部10において、非符
号化係数ゼロ化手段23からは、図4(a)に示す直交変
換係数の内、低周波数成分である符号化係数が出力され
る。図4(b)に示す直交変換手段27から出力される直
交変換係数を、非符号化係数ゼロ化手段23から出力さ
れる符号化係数(図4(a)に示す直交変換係数の内の低
周波成分)に図4(c)に示すように加算することで、非
符号化係数を切り落とす代わりに、非符号化係数に近似
の係数成分を足し合わせた補正が施される。符号化係数
出力手段28は、上記図4(c)に示すような足し合わせ
による補正が施された符号化係数か、あるいは非符号化
係数ゼロ化手段23から出力される符号化係数、のいず
れか一方を選択して図1の量子化部3へ出力する。この
ように低域通過フィルタを用いることにより切り落とし
による画面歪みの補正が可能な画像符号化装置の実現が
容易となる。
FIG. 4 is an explanatory diagram showing a method of signal transformation by the signal transformation means 26. The components are actually shown in two dimensions, but are shown here in one dimension for simplicity. When performing signal deformation, the signal deformation means 26 uses, for example, a low-pass filter. Note that it is necessary to select a low-pass filter that does not cut high-frequency components but that smoothes high-frequency components and converts them into lower-frequency components. As a result of the signal transformation by the signal transformation unit 26, the orthogonal transformation unit 27 outputs a high-frequency component, which is an uncoded coefficient, from the orthogonal transformation coefficients shown in FIG.
As shown in (b), it is output in a form converted to a low frequency component. In this case, in the orthogonal transform coefficient separating unit 10, the non-coding coefficient zeroing means 23 outputs a coded coefficient which is a low frequency component among the orthogonal transform coefficients shown in FIG. The orthogonal transform coefficient output from the orthogonal transform means 27 shown in FIG. 4B is replaced with the coded coefficient output from the non-coding coefficient zeroing means 23 (lower of the orthogonal transform coefficients shown in FIG. As shown in FIG. 4 (c), the correction is performed by adding the approximate coefficient component to the non-coded coefficient instead of cutting off the non-coded coefficient. The coded coefficient output means 28 outputs either the coded coefficient corrected by addition as shown in FIG. 4C or the coded coefficient output from the non-coded coefficient zeroing means 23. One of them is selected and output to the quantization unit 3 in FIG. By using a low-pass filter in this way, it is easy to realize an image encoding device capable of correcting screen distortion due to clipping.

【0031】以上のように、実施の形態1によれば、直
交変換係数のうち特定の周波数成分を切り落とす手段を
備えるので、量子化ステップを大きく変動させなくて発
生符号量を制御することができ、量子化精度のばらつき
に起因する画質劣化を抑えることができる。また、直交
変換係数を切り落とすことによる画像歪み量を計算し、
この計算結果を直交変換係数分離手段へフィードバック
することにより、この画像歪み量が最小になるように直
交変換係数の内切り落とす周波数成分を調整でき、過剰
な画質劣化を防止することができる。また、歪み量を計
算した結果を用いて直交変換係数の値を補正することに
より、直交変換係数を切り落とすことによる画質劣化を
緩和することができる。
As described above, according to the first embodiment, since the means for cutting off a specific frequency component from the orthogonal transform coefficients is provided, it is possible to control the generated code amount without greatly changing the quantization step. In addition, it is possible to suppress image quality deterioration due to variation in quantization accuracy. Also, the amount of image distortion due to cutting off the orthogonal transform coefficient is calculated,
By feeding back the result of the calculation to the orthogonal transform coefficient separating means, the frequency component of the orthogonal transform coefficient to be cut off can be adjusted so as to minimize the amount of image distortion, and excessive image quality deterioration can be prevented. In addition, by correcting the value of the orthogonal transform coefficient using the result of calculating the distortion amount, it is possible to reduce the image quality deterioration caused by cutting off the orthogonal transform coefficient.

【0032】ところで、信号変形手段26としてフィル
タを用いる場合、符号化係数と非符号化係数の周波数成
分の切り分け方や直交変換の特性などを考慮してフィル
タの種類を選択することが望ましい。
When a filter is used as the signal transforming means 26, it is desirable to select the type of the filter in consideration of how to separate the frequency components of the coded coefficients and the non-coded coefficients and the characteristics of the orthogonal transform.

【0033】実施の形態2.人間の視覚特性に関する情
報が得られる場合には、その情報を用いて直交変換係数
分離手段21が分離する周波数成分を調整する処理を行
なえば、画質劣化を少なくすることが可能である。実施
の形態1では視覚特性に関する情報を扱う手段を備えて
いないが、実施の形態2では視覚特性情報処理部を備え
る。図5はこの発明の画像符号化装置の実施の形態1を
示すブロック図である。図5において、図1と同符号は
同一または相当部分である。視覚特性情報処理部14は
例えば画像に含まれる輝度や色差の値、分布、特定領域
での輝度や色差の平均値、分散値などの計算や、計算値
に基づく視覚特性の解析を行なうものである。これらの
情報を用いれば、例えば図6に示すように視覚的に劣化
が目立ちやすい領域では非符号化係数とする周波数成分
を狭くとり、劣化が目立ちにくい領域では非符号化係数
とする周波数成分を広くとるといった処理が可能とな
る。
Embodiment 2 FIG. When information on human visual characteristics can be obtained, if the information is used to adjust the frequency components to be separated by the orthogonal transform coefficient separation means 21, image quality degradation can be reduced. The first embodiment does not include a means for handling information on visual characteristics, but the second embodiment includes a visual characteristics information processing unit. FIG. 5 is a block diagram showing Embodiment 1 of the image encoding apparatus of the present invention. 5, the same reference numerals as those in FIG. 1 denote the same or corresponding parts. The visual characteristic information processing unit 14 calculates, for example, values and distributions of luminance and color differences contained in an image, averages and variances of luminance and color differences in a specific area, and analyzes visual characteristics based on the calculated values. is there. By using these pieces of information, for example, as shown in FIG. 6, the frequency component to be used as a non-coding coefficient is narrowed in a region where deterioration is conspicuous visually, and the frequency component to be used as a non-coding coefficient is specified in a region where deterioration is not conspicuous. Processing such as widening becomes possible.

【0034】以上のように、この実施の形態2によれ
ば、実施の形態1による効果に加え、視覚特性に関する
情報を用いることで、過剰な画質劣化を防ぎ、効率のよ
い画質制御が可能となる。
As described above, according to the second embodiment, in addition to the effect of the first embodiment, by using information on visual characteristics, excessive image quality deterioration can be prevented and efficient image quality control can be performed. Become.

【発明の効果】【The invention's effect】

【0035】以上説明したように、この発明によれば、
直交変換部から出力される前記直交変換係数のうち、特
定の周波数成分の直交変換係数を符号化せずに切り落と
す直交変換係数分離部と、直交変換係数を切り落とすこ
とで生じる画像の歪み量を計算する歪み量計算部を備え
たので、画像の歪みを抑制しながら発生符号量を制御す
ることができるという効果を奏する。
As described above, according to the present invention,
Among the orthogonal transform coefficients output from the orthogonal transform unit, an orthogonal transform coefficient separating unit that cuts off an orthogonal transform coefficient of a specific frequency component without encoding, and calculates an image distortion amount caused by cutting off the orthogonal transform coefficient. With the provision of the distortion amount calculating section, the amount of generated codes can be controlled while suppressing image distortion.

【0036】また、歪み量計算部は、切り落とす直交変
換係数に対して逆直交変換を行うので、歪みの量を正確
かつ容易に求めることができるという効果を奏する。
Further, since the distortion amount calculation unit performs inverse orthogonal transformation on the orthogonal transformation coefficient to be cut off, there is an effect that the distortion amount can be accurately and easily obtained.

【0037】また、歪み量計算部は、切り落とす直交変
換係数の累算値等から予測するので、歪みの量を正確か
つ容易に求めることができるという効果を奏する。
Further, since the distortion amount calculation unit makes predictions based on the accumulated value of the orthogonal transform coefficients to be cut off, it is possible to obtain the amount of distortion accurately and easily.

【0038】また、直交変換係数分離部は、直交変換係
数を切り落とすことで生じる画像の歪み量が大きくなら
ないように、切り落としの対象とする周波数成分を決定
するので、高画質を維持することができるという効果を
奏する。
Further, since the orthogonal transform coefficient separating section determines the frequency component to be cut off so as not to increase the distortion amount of the image caused by cutting off the orthogonal transform coefficient, high image quality can be maintained. This has the effect.

【0039】また、直交変換係数分離手段は、バッファ
の蓄積量に応じて切り落としの対象となる周波数を変更
するので、不要な画質劣化を防ぐことができるという効
果を奏する。
Further, since the orthogonal transform coefficient separating means changes the frequency to be cut off in accordance with the accumulation amount of the buffer, there is an effect that unnecessary image quality deterioration can be prevented.

【0040】また、直交変換係数分離手段は、バッファ
蓄積量が増加するに従い、切り落としの対象とする周波
数成分を増加させるので、不要な画質劣化を防ぐことが
できるという効果を奏する。
Further, since the orthogonal transform coefficient separating means increases the frequency components to be cut off as the buffer storage amount increases, there is an effect that unnecessary image quality deterioration can be prevented.

【0041】また、直交変換係数分離部が直交変換係数
を分離して出力した、切り落とす直交変換係数と、切り
落とさない直交変換係数の内、前記切り落とす直交変換
係数を用いて前記切り落とさない直交変換係数を補正す
る直交変換係数補正部を備えるので、直交変換係数の切
り落としによる画質劣化を緩和することができるという
効果を奏する。
Further, of the orthogonal transform coefficients to be cut off and the orthogonal transform coefficients not to be cut off, which are output by the orthogonal transform coefficient separating section by separating the orthogonal transform coefficients, the orthogonal transform coefficients to be not cut off are selected by using the orthogonal transform coefficients to be cut off. The provision of the orthogonal transform coefficient correction unit for performing the correction makes it possible to alleviate the image quality deterioration due to the cutoff of the orthogonal transform coefficient.

【0042】また、直交変換係数補正部は、切り落とす
直交変換係数を逆直交変換する逆直交変換手段と、前記
逆直交変換によって得られる画像信号を変形する信号変
形手段と、変形した信号を直交変換する直交変換手段を
備え、前記直交変換によって得られる直交変換係数を用
いて、直交変換係数を補正するので、直交変換係数の切
り落としによる画質劣化の抑制を効率よく実現すること
ができるという効果を奏する。
The orthogonal transform coefficient correction unit includes an inverse orthogonal transform unit for performing an inverse orthogonal transform on an orthogonal transform coefficient to be cut off, a signal transforming unit for transforming an image signal obtained by the inverse orthogonal transform, and an orthogonal transform unit for transforming the transformed signal. Since the orthogonal transformation coefficient is corrected by using the orthogonal transformation coefficient obtained by the orthogonal transformation, there is an effect that the suppression of the image quality deterioration due to the cutoff of the orthogonal transformation coefficient can be efficiently realized. .

【0043】また、信号変形手段は、フィルタを使用す
るので、直交変換係数の一部切り落としによる画面歪み
の補正が可能な画像符号化装置の実現が容易となるとい
う効果を奏する。
Further, since the signal transformation means uses a filter, it is easy to realize an image coding apparatus capable of correcting screen distortion due to partial cut-off of orthogonal transform coefficients.

【0044】また、切り落としの対象とする周波数成分
の決定において、視覚特性に関する情報を用いるので、
過剰な画質劣化を防ぎ、効率のよい画質制御が可能とな
るという効果を奏する。
In determining the frequency components to be cut off, information on visual characteristics is used.
This has the effect of preventing excessive image quality deterioration and enabling efficient image quality control.

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

【図1】 この発明に係る画像符号化装置の実施の形態
1を示すブロック図である。
FIG. 1 is a block diagram illustrating Embodiment 1 of an image encoding device according to the present invention.

【図2】 符号化係数と非符号化係数の分離例である。FIG. 2 is an example of separation of coded coefficients and uncoded coefficients.

【図3】 図1の直交変換係数分離部10、歪み量計算
部11、直交変換係数補正部12、および符号化係数出
力部13が行なう一連の符号化係数補正処理の実施例を
示すブロック図である。
3 is a block diagram showing an embodiment of a series of encoding coefficient correction processes performed by an orthogonal transformation coefficient separation unit 10, a distortion amount calculation unit 11, an orthogonal transformation coefficient correction unit 12, and an encoding coefficient output unit 13 in FIG. It is.

【図4】 直交変換係数補正の方法を示す説明図であ
る。
FIG. 4 is an explanatory diagram showing a method of orthogonal transform coefficient correction.

【図5】 この発明に係る画像符号化装置の実施の形態
2を示すブロック図である。
FIG. 5 is a block diagram illustrating Embodiment 2 of an image encoding device according to the present invention.

【図6】 バッファの蓄積量と画質変化の目立ちやすさ
との関係を示す図である。
FIG. 6 is a diagram illustrating a relationship between a buffer accumulation amount and a conspicuous change in image quality.

【図7】 従来の画像符号化装置を示すブロック図であ
る。
FIG. 7 is a block diagram illustrating a conventional image encoding device.

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

1 フレームメモリA 2 直交変換部 3 量子化部 4 VLC部 5 バッファ 6 逆量子化部 7 逆直交変換部 8 フレームメモリB 9 動き補償部 10 直交変換係数分離部 11 歪み量計算部 12 直交変換係数補正部 13 符号化係数出力部 14 視覚特性情報処理部 21 直交変換係数分離手段 22 符号化係数ゼロ化手段 23 非符号化係数ゼロ化手段 24 逆直交変換手段 25 歪み量計算手段 26 信号変形手段 27 直交変換手段 28 符号化係数出力手段。 Reference Signs List 1 frame memory A 2 orthogonal transformation unit 3 quantization unit 4 VLC unit 5 buffer 6 inverse quantization unit 7 inverse orthogonal transformation unit 8 frame memory B 9 motion compensation unit 10 orthogonal transformation coefficient separation unit 11 distortion calculation unit 12 orthogonal transformation coefficient Correction unit 13 Coding coefficient output unit 14 Visual characteristic information processing unit 21 Orthogonal transformation coefficient separation unit 22 Coding coefficient zeroization unit 23 Non-coding coefficient zeroization unit 24 Inverse orthogonal transformation unit 25 Distortion amount calculation unit 26 Signal deformation unit 27 Orthogonal transformation means 28 Coding coefficient output means.

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 入力画像フレームの符号化順序の並び替
えを行う第1のフレームメモリと、該第1のフレームメ
モリに蓄積された画像フレームに対して離散コサイン変
換(DCT:Discrete Cosine Transform)等の直交変換
を行なう直交変換部と、該直交変換部によって算出され
た直交変換係数を量子化して量子化データを出力する量
子化部と、前記量子化データを所定の形式で可変長符号
化(以下、VLC:Variable Length Coding)するVLC部
と、該VLC部の出力を一時的に蓄積するためのバッファ
と、前記量子化部から出力される前記量子化データを逆
量子化して直交変換係数を出力する逆量子化部と、該逆
量子化部から出力される前記直交変換係数に対して逆直
交変換を行なう逆直交変換部と、該逆直交変換部の出力
として得られる画像データを一時的に蓄積する第2のフ
レームメモリと、該第2のフレームメモリに蓄積された
画像と新たに符号化される画像との間の動きを動きベク
トルとして検出する動き補償部とを備え、前記入力画像
フレームに直交変換を適用して圧縮符号化する画像符号
化装置において、前記直交変換部から出力される前記直
交変換係数のうち、特定の周波数成分の直交変換係数を
符号化せずに切り落とす直交変換係数分離部と、直交変
換係数を切り落とすことで生じる画像の歪み量を計算す
る歪み量計算部を備えたことを特徴とする画像符号化装
1. A first frame memory for rearranging the coding order of input image frames, and a discrete cosine transform (DCT) for image frames stored in the first frame memory. An orthogonal transform unit that performs orthogonal transform of the above, a quantizer that quantizes the orthogonal transform coefficient calculated by the orthogonal transform unit, and outputs quantized data, and a variable-length encoding of the quantized data in a predetermined format ( Hereinafter, a VLC unit for performing Variable Length Coding (VLC), a buffer for temporarily storing the output of the VLC unit, and an orthogonal transform coefficient obtained by dequantizing the quantized data output from the quantization unit. An inverse quantizer for outputting, an inverse orthogonal transformer for performing inverse orthogonal transform on the orthogonal transform coefficient output from the inverse quantizer, and temporarily storing image data obtained as an output of the inverse orthogonal transformer. The first to accumulate A second frame memory, and a motion compensator for detecting a motion between the image stored in the second frame memory and the newly encoded image as a motion vector. In the image encoding apparatus that performs compression encoding by applying, among the orthogonal transform coefficients output from the orthogonal transform unit, an orthogonal transform coefficient separating unit that cuts off without encoding the orthogonal transform coefficient of a specific frequency component. Image encoding apparatus, comprising: a distortion amount calculation unit that calculates an image distortion amount caused by cutting off orthogonal transform coefficients.
【請求項2】 歪み量計算部は、切り落とす直交変換係
数に対して逆直交変換を行うことを特徴とする請求項1
記載の画像符号化装置。
2. The distortion calculation unit according to claim 1, wherein the orthogonal transform coefficient to be cut off is subjected to inverse orthogonal transform.
The image encoding device according to claim 1.
【請求項3】 歪み量計算部は、切り落とす直交変換係
数の累算値等から予測することを特徴とする請求項1記
載の画像符号化装置。
3. The image encoding apparatus according to claim 1, wherein the distortion amount calculating unit performs prediction based on an accumulated value of orthogonal transform coefficients to be cut off.
【請求項4】 直交変換係数分離部は、直交変換係数を
切り落とすことで生じる画像の歪み量が大きくならない
ように、切り落としの対象とする周波数成分を決定する
ことを特徴とする請求項1に記載の画像符号化装置。
4. The method according to claim 1, wherein the orthogonal transform coefficient separating unit determines a frequency component to be cut off so that an amount of distortion of an image caused by cutting off the orthogonal transform coefficient does not increase. Image encoding device.
【請求項5】 直交変換係数分離手段は、バッファの蓄
積量に応じて切り落としの対象となる周波数成分を変更
することを特徴とする請求項1記載の画像符号化装置。
5. The image encoding apparatus according to claim 1, wherein the orthogonal transform coefficient separating unit changes a frequency component to be cut off in accordance with a storage amount of the buffer.
【請求項6】 直交変換係数分離手段は、バッファ蓄積
量が増加するに従い、切り落としの対象とする周波数成
分を増加させることを特徴とする請求項5記載の画像符
号化装置。
6. The image encoding apparatus according to claim 5, wherein the orthogonal transform coefficient separating unit increases the frequency components to be cut off as the buffer storage amount increases.
【請求項7】 直交変換係数分離部が直交変換係数を分
離して出力した、切り落とす直交変換係数と、切り落と
さない直交変換係数の内、前記切り落とす直交変換係数
を用いて前記切り落とさない直交変換係数を補正する直
交変換係数補正部を備えることを特徴とする請求項1か
ら請求項6に記載の画像符号化装置。
7. An orthogonal transform coefficient to be cut off, which is output by an orthogonal transform coefficient separation unit separating and outputting an orthogonal transform coefficient, and an orthogonal transform coefficient that is not cut off using the orthogonal transform coefficient to be cut off, among the orthogonal transform coefficients to be cut off. The image coding apparatus according to claim 1, further comprising an orthogonal transform coefficient correction unit that corrects the image.
【請求項8】 直交変換係数補正部は、切り落とす直交
変換係数を逆直交変換する逆直交変換手段と、前記逆直
交変換によって得られる画像信号を変形する信号変形手
段と、変形した信号を直交変換する直交変換手段を備
え、前記直交変換によって得られる直交変換係数を用い
て、切り落とさない直交変換係数を補正することを特徴
とする請求項7記載の画像符号化装置
8. An orthogonal transform coefficient correction unit, comprising: an inverse orthogonal transform unit for performing an inverse orthogonal transform on an orthogonal transform coefficient to be cut off; a signal transforming unit for transforming an image signal obtained by the inverse orthogonal transform; 8. The image coding apparatus according to claim 7, further comprising an orthogonal transform unit that corrects an orthogonal transform coefficient that is not cut off using the orthogonal transform coefficient obtained by the orthogonal transform.
【請求項9】 信号変形手段は、フィルタを使用するこ
とを特徴とする請求項8記載の画像符号化装置
9. The image encoding apparatus according to claim 8, wherein the signal transformation unit uses a filter.
【請求項10】 切り落としの対象とする周波数成分の
決定において、視覚特性に関する情報を用いる視覚特性
情報処理部を備えたことを特徴とする請求項1乃至請求
項9に記載の画像符号化装置
10. The image encoding apparatus according to claim 1, further comprising a visual characteristic information processing unit that uses information relating to visual characteristics in determining a frequency component to be cut off.
JP2000194251A 2000-06-28 2000-06-28 Image encoder Pending JP2002016922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000194251A JP2002016922A (en) 2000-06-28 2000-06-28 Image encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000194251A JP2002016922A (en) 2000-06-28 2000-06-28 Image encoder

Publications (1)

Publication Number Publication Date
JP2002016922A true JP2002016922A (en) 2002-01-18

Family

ID=18693111

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000194251A Pending JP2002016922A (en) 2000-06-28 2000-06-28 Image encoder

Country Status (1)

Country Link
JP (1) JP2002016922A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020100672A1 (en) * 2018-11-16 2020-05-22 ソニー株式会社 Image processing device and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020100672A1 (en) * 2018-11-16 2020-05-22 ソニー株式会社 Image processing device and method

Similar Documents

Publication Publication Date Title
US7206453B2 (en) Dynamic filtering for lossy compression
US8031769B2 (en) Method and device for controlling quantization scales of a video encoding bit stream
KR0170937B1 (en) Image data encoder
JPH0686261A (en) Statistical multiplexer for multichannel image compression system
JPWO2009157577A1 (en) Image processing apparatus and image processing method
EP2978219B1 (en) Variable rate video encoder
US7965768B2 (en) Video signal encoding apparatus and computer readable medium with quantization control
US6509929B1 (en) Apparatus and method for coding a moving picture
JP4736619B2 (en) Image processing apparatus and image processing method
JP2010245734A (en) Decoding apparatus of video compression encoded data
KR19980017213A (en) Image Decoding System with Compensation Function for Degraded Image
JP2005210502A (en) Image recompression device and method
US20220201288A1 (en) Image encoding device, image encoding method, image decoding device, image decoding method, and non-transitory computer-readable storage medium
JP4492777B2 (en) Video encoding device
US7801214B2 (en) Method and apparatus for controlling encoding rate and quantization scales
JP2002016922A (en) Image encoder
JP2010213187A (en) Video coding transmission apparatus
US20020114389A1 (en) Compressing a digital signal
US7623720B2 (en) Image processing apparatus and method
JPH07236137A (en) Picture encoding control system
JP2820636B2 (en) Video compression device
JP7121584B2 (en) Image encoding device and its control method and program
KR100234239B1 (en) Method and apparatus of quantizing for decreasing blocking effect
JPH10336656A (en) Image encoding device and method
WO2020084929A1 (en) Video coding or decoding device, video coding or decoding method, program, and recording medium