JPH0775101A - Device and method for encoding image - Google Patents

Device and method for encoding image

Info

Publication number
JPH0775101A
JPH0775101A JP5159542A JP15954293A JPH0775101A JP H0775101 A JPH0775101 A JP H0775101A JP 5159542 A JP5159542 A JP 5159542A JP 15954293 A JP15954293 A JP 15954293A JP H0775101 A JPH0775101 A JP H0775101A
Authority
JP
Japan
Prior art keywords
unit
quantization
image
threshold
zero
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.)
Withdrawn
Application number
JP5159542A
Other languages
Japanese (ja)
Inventor
Hiroki Horikoshi
宏樹 堀越
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP5159542A priority Critical patent/JPH0775101A/en
Publication of JPH0775101A publication Critical patent/JPH0775101A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To provide the image encoding device which can efficiently allocate a data amount. CONSTITUTION:When a zero detection part 101 detects zero in an output from a quantizing part, the increment of a threshold value is instructed to a quantizing threshold value update part 102. When zero is detected in a quantized DCT coefficient by the zero detection part 101, at this quantizing threshold value update part 102, the quantizing threshold value is incremented. On the other hand, when any one quantizing DCT coefficient exceeds the threshold value and the zero detection part 101 detects any quantizing output value excepting for zero, the quantizing threshold value is returned to the initial value by the quantizing threshold value update part 102.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、入力画像情報を画素ブ
ロック単位で直交変換した変換係数を量子化する画像符
号化装置及びその方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image coding apparatus and method for quantizing transform coefficients obtained by orthogonally transforming input image information in pixel block units.

【0002】[0002]

【従来の技術】従来より、画像符号化装置の量子化部で
は、その画像符号化制御部からの量子化特性制御信号に
従って選択されたステップ・サイズで、入力されたDC
T係数を量子化している。そして、この量子化の際、量
子化データ列中のゼロランが長くなるように、ある閾値
以下のDCT係数についてはゼロに切り捨てている。
2. Description of the Related Art Conventionally, in a quantizer of an image coding apparatus, an input DC is input with a step size selected according to a quantization characteristic control signal from the image coding controller.
The T coefficient is quantized. At the time of this quantization, DCT coefficients below a certain threshold value are rounded down to zero so that the zero run in the quantized data string becomes long.

【0003】一般的に量子化特性については、量子化ス
テップサイズを小さく設定すれば画質は向上するが、有
為データが増加して伝送ビット数の増加につながり、ま
た、量子化ステップサイズを大きく設定すれば、データ
量は減少するが画質は劣化する。また、CCITT勧告
によれば、1フレームを符号化する際に発生するビット
数には上限が規定されており、画像の高精細化のための
大幅な量子化特性の向上には限界がある。そして、動き
に対する画質の劣化も考慮し、駒落し(フレームスキッ
プ)等の処理も必要になる。つまり、画質の高精細化は
伝送ビット数の増加を意味し、そのままフレームレート
の減少につながる。
Regarding the quantization characteristic, generally, if the quantization step size is set to be small, the image quality is improved, but significant data increases and the number of transmission bits increases, and the quantization step size is increased. If set, the amount of data will decrease but the image quality will deteriorate. Further, according to the CCITT recommendation, the upper limit is defined for the number of bits generated when encoding one frame, and there is a limit to the significant improvement of the quantization characteristic for high definition of an image. Then, in consideration of the deterioration of the image quality due to the movement, it is also necessary to perform processing such as dropping frames (frame skip). In other words, higher definition image quality means an increase in the number of transmission bits, which leads to a reduction in the frame rate.

【0004】画質(空間解像度)と、動きに対する追従
性(時間解像度)とは相反するものであり、高画質を追
求すると必然的に動きに対する追従性は大きく劣化する
ことになる。従って、量子化ステップサイズについて
は、入力画像の特性だけでなく、バッファのデータ蓄積
量に応じて適宜効率的に設定する必要がある。図11
は、従来の画像符号化装置におけるDCT係数に対する
量子化閾値の更新の動作例を示す図である。ここでは、
量子化ステップサイズをg、更新時のインクリメント量
を1、閾値の上限を量子化ステップサイズgに対し、
1.5gの場合を例に示されている。また、量子化閾値
の初期値は、量子化ステップサイズに等しく設定され
る。
Image quality (spatial resolution) and motion followability (temporal resolution) are contradictory, and pursuing high image quality inevitably greatly deteriorates motion followability. Therefore, the quantization step size needs to be set efficiently according to not only the characteristics of the input image but also the amount of data accumulated in the buffer. Figure 11
FIG. 9 is a diagram showing an operation example of updating a quantization threshold for a DCT coefficient in a conventional image encoding device. here,
The quantization step size is g, the increment amount at the time of updating is 1, and the upper limit of the threshold is set to the quantization step size g,
The case of 1.5 g is shown as an example. Further, the initial value of the quantization threshold is set equal to the quantization step size.

【0005】同図に示すように、直流成分から高周波成
分にかけて入力されるDCT係数に対して閾値以下のデ
ータが入力されると、閾値が1だけインクリメントされ
る。ただし、閾値には上限(1.5g)があり、それ以
上には更新されない。また、閾値を越えるDCT係数デ
ータが入力されると、閾値は初期値(量子化ステップサ
イズg)に戻る。
As shown in the figure, when the DCT coefficient input from the DC component to the high frequency component is less than the threshold value, the threshold value is incremented by 1. However, the threshold has an upper limit (1.5 g) and is not updated beyond that. When the DCT coefficient data exceeding the threshold is input, the threshold returns to the initial value (quantization step size g).

【0006】以上の動作により、ゼロの発生を促し、ゼ
ロランを発生しやすく、伝送するデータ量を抑制する。
一般に、画像のスペクトル中には、高周波成分は非常に
少なく、低周波領域に集中しており、また、視覚の空間
周波数は高域で低下するという視覚特性も考慮して、符
号化データ量の削減のために、DCT係数における高周
波成分を切り捨てて伝送しないといったことも行なわれ
ている。
By the above operation, generation of zero is promoted, zero run is easily generated, and the amount of data to be transmitted is suppressed.
In general, the spectrum of an image has very few high-frequency components and is concentrated in the low-frequency region. Also, considering the visual characteristics that the visual spatial frequency decreases in the high range, the encoded data amount For the purpose of reduction, it is also practiced to cut off the high frequency component in the DCT coefficient and not transmit it.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記従
来の画像符号化装置では、実画像を、そのままDCT処
理した(INTRAモード)場合に対して、フレーム間
差分をDCT処理した(INTERモード)場合には、
DCT係数の電力は高周波領域にも多く分布している。
また、高い周波数成分は本質的に重要であり、DCT係
数の高周波領域を切り捨ててしまうと細かな変化が失わ
れてしまい、ボケた画像になってしまうという問題があ
る。
However, in the above-mentioned conventional image coding apparatus, when the actual image is directly DCT processed (INTRA mode), the interframe difference is DCT processed (INTER mode). Is
A large amount of DCT coefficient power is distributed in the high frequency region.
Further, the high frequency component is essentially important, and if the high frequency region of the DCT coefficient is cut off, a fine change is lost, resulting in a blurred image.

【0008】本発明は、上記の課題に鑑みてなされたも
のであり、その目的とするところは、DCT係数の重要
な高周波成分を切り捨てたり、量子化特性を不必要に下
げることなく、効率的にデータ量を割り当てることがで
きる画像符号化装置を提供することである。
The present invention has been made in view of the above problems, and it is an object of the present invention to efficiently cut off an important high frequency component of a DCT coefficient and unnecessarily lower the quantization characteristic. It is an object of the present invention to provide an image encoding device capable of allocating a data amount to the.

【0009】[0009]

【課題を解決するための手段】上述の目的を達成するた
め、本発明は、入力画像を画素ブロック単位で直交変換
した変換係数を量子化する画像符号化装置において、前
記変換係数の値を検索する検索手段と、前記検索の結
果、前記変換係数が特定の値を含む場合、前記量子化に
対する量子化閾値の更新幅を可変にする設定手段と、前
記設定手段で設定された前記量子化閾値に従って量子化
を行なう量子化手段とを備える。
In order to achieve the above object, the present invention provides an image coding apparatus for quantizing a transform coefficient obtained by orthogonally transforming an input image in pixel block units, and searching for the value of the transform coefficient. Search means for setting, when the conversion coefficient includes a specific value as a result of the search, setting means for varying the update width of the quantization threshold for the quantization, and the quantization threshold set by the setting means. Quantizing means for performing quantization in accordance with.

【0010】[0010]

【作用】以上の構成において、入力画像を画素ブロック
単位で直交変換した変換係数を量子化する際に量子化閾
値の更新幅を可変にし、その量子化閾値を用いて量子化
を行なうことで、効率的な画像情報の符号化を実現す
る。
In the above configuration, when the transform coefficient obtained by orthogonally transforming the input image in pixel block units is quantized, the update width of the quantization threshold is made variable, and the quantization is performed using the quantization threshold. To realize efficient encoding of image information.

【0011】[0011]

【実施例】以下、添付図面を参照して、本発明に係る好
適な実施例を詳細に説明する。図1は、本発明の実施例
に係る画像符号化装置を採用した、CCITT勧告H.
261に従う画像通信電話機の回路構成を示す概略ブロ
ック図である。図1において、符号301は、本装置に
おける画像入力手段の1つであり、自画像等を入力する
ためのカメラ入力部、302は、本装置の画像入力手段
の1つであり、図面や地図、文書等の画像を入力する書
画カメラ入力部、303は、カメラ入力部301、ある
いは書画カメラ入力部302からの入力画像や、通信相
手から受信した画像、操作画面等を表示する表示部であ
る。また、304は、後述するシステム制御部314の
指示により、上記画像入力手段の切り換え処理等を行な
う画像入力インタフェース部、305は、画像出力手段
の切り換え処理等を行なう画像出力インタフェース部で
ある。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings. 1 is a block diagram of CCITT Recommendation H.264 that employs an image coding apparatus according to an embodiment of the present invention.
FIG. 261 is a schematic block diagram showing a circuit configuration of an image communication telephone according to H.261. In FIG. 1, reference numeral 301 is one of image input means in this apparatus, a camera input section for inputting a self-portrait and the like, and 302 is one of image input means in this apparatus, a drawing, a map, A document camera input unit 303 for inputting an image such as a document is a display unit for displaying an input image from the camera input unit 301 or the document camera input unit 302, an image received from a communication partner, an operation screen, or the like. Reference numeral 304 denotes an image input interface unit that performs the switching process of the image input unit and the like according to an instruction from a system control unit 314 described later, and 305 is an image output interface unit that performs the switching process of the image output unit and the like.

【0012】符号306は、システム制御部314の指
示によりピクチャー・イン・ピクチャー処理や画面フリ
ーズ処理等を行なうための画像編集部、307は、送信
画像信号の符号化処理及び受信画像信号の復号化処理を
行なう画像符号化/復号化部であり、307aは、この
画像符号化/復号化部307を構成する画像符号化部、
307bは、画像符号化/復号化部307中の画像復号
化部である。
Reference numeral 306 is an image editing unit for performing picture-in-picture processing, screen freeze processing, etc. according to an instruction from the system control unit 314, and 307 is a transmission image signal encoding process and a reception image signal decoding process. Reference numeral 307a denotes an image encoding / decoding unit that performs processing, and 307a denotes an image encoding unit that configures the image encoding / decoding unit 307.
An image decoding unit 307b is included in the image encoding / decoding unit 307.

【0013】符号308は、本装置の音声入出力手段の
一つであるハンドセット部、309は、本装置の音声入
力手段の一つであるマイク部、また、310は、本装置
の音声出力手段の一つであるスピーカ部である。さら
に、311は、システム制御部314の指示により、エ
コーキャンセル処理や、ダイヤルトーン,呼出音,ビジ
ートーン,着信音等のトーンの生成処理、あるいは上記
の音声入出力手段の切り換え処理等を行なう音声入出力
インタフェース部である。
Reference numeral 308 is a handset unit which is one of the voice input / output means of the present apparatus, 309 is a microphone section which is one of the voice input means of the present apparatus, and 310 is a voice output section of the present apparatus. It is a speaker unit which is one of the above. Further, 311 is a voice input for performing an echo canceling process, a tone generating process such as a dial tone, a ringing tone, a busy tone, a ringing tone or the like, or a switching process of the voice inputting / outputting means according to an instruction of the system control section 314. The output interface unit.

【0014】符号312は、システム制御部314の指
示により送信音声信号の符号化処理及び受信音声信号の
復号化処理を行なう音声符号化/復号化部であり、31
2aは、この音声符号化/復号化部312中の音声符号
化部、312bは、音声符号化/復号化部312中の音
声復号化部である。また、313は、本装置に対する制
御情報入力のために使用するキーボードやタッチパネル
等を有する操作部である。
Reference numeral 312 is a voice encoding / decoding unit that performs a transmission voice signal encoding process and a reception voice signal decoding process according to an instruction from the system control unit 314.
Reference numeral 2a is a voice encoding unit in the voice encoding / decoding unit 312, and reference numeral 312b is a voice decoding unit in the voice encoding / decoding unit 312. Reference numeral 313 is an operation unit having a keyboard, a touch panel, etc. used for inputting control information to this apparatus.

【0015】符号315は、画像符号化/復号化部30
7からの画像信号、音声符号化/復号化部312からの
音声信号、そして、システム制御部314からの制御信
号を送信フレーム単位に多重化するとともに、受信フレ
ームを画像信号、音声信号、及び制御信号に分離して各
部に受け渡す分離多重化部である。また、314は、不
図示のCPU,ROM,RAM,補助記憶装置等を備
え、上記各部の状態を監視して、装置全体の制御や状態
に応じた操作・表示画面の作成、さらに、アプリケーシ
ョンプログラムの実行等を行なうシステム制御部であ
る。そして、316は、ISDNユーザ網インタフェー
スに従って回線を制御する回線インタフェース部、31
7は、通信回線である。
Reference numeral 315 is an image encoding / decoding unit 30.
7, the audio signal from the audio encoding / decoding unit 312, and the control signal from the system control unit 314 are multiplexed in a transmission frame unit, and the reception frame is an image signal, an audio signal, and a control signal. It is a demultiplexing / multiplexing unit that separates the signal and transfers it to each unit. Reference numeral 314 includes a CPU, a ROM, a RAM, an auxiliary storage device, and the like (not shown), monitors the states of the above-mentioned units, controls the entire apparatus, creates an operation / display screen according to the state, and further an application program. This is a system control unit that executes, for example. Reference numeral 316 is a line interface unit for controlling the line according to the ISDN user network interface, 31
7 is a communication line.

【0016】次に、上記の構成をとる画像通信電話機の
動作について説明する。カメラ入力部301、あるいは
書画カメラ入力部302からの入力画像は、画像入力イ
ンタフェース部304、画像編集部306を経て画像符
号化部307aに入力される。また、ハンドセット部3
08あるいはマイク部309から入力された音声は、音
声入出力インタフェース部311を経て音声符号化部3
12aに入力される。そして、画像符号化部307aで
符号化された入力画像と、音声符号化部312aで符号
化された入力音声は、分離多重化部315で多重化さ
れ、回線インタフェース部316を経て通信回路317
へ送出される。
Next, the operation of the image communication telephone having the above configuration will be described. An input image from the camera input unit 301 or the document camera input unit 302 is input to the image coding unit 307a via the image input interface unit 304 and the image editing unit 306. Also, the handset unit 3
08 or the voice input from the microphone unit 309 passes through the voice input / output interface unit 311 and the voice encoding unit 3
12a is input. Then, the input image encoded by the image encoding unit 307a and the input voice encoded by the voice encoding unit 312a are multiplexed by the demultiplexing and multiplexing unit 315, and the communication circuit 317 is passed through the line interface unit 316.
Sent to.

【0017】一方、通信回線317からの受信信号は、
回線インタフェース部316を経て分離多重化部315
で画像信号と音声信号に分離され、各々が画像符号化部
307b、音声符号化部312bに入力される。その
内、画像復号化部307bで復号化された受信画像は、
画像編集部306、画像出力インタフェース部305を
経て表示部303に表示され、また、音声復号化部31
2bで復号された受信音声は、音声入出力インタフェー
ス部311を経てハンドセット部308あるいはスピー
カ部310に出力される。
On the other hand, the received signal from the communication line 317 is
Demultiplexing and multiplexing unit 315 via line interface unit 316
Then, it is separated into an image signal and an audio signal, and each is input to the image encoding unit 307b and the audio encoding unit 312b. Among them, the received image decoded by the image decoding unit 307b is
It is displayed on the display unit 303 via the image editing unit 306 and the image output interface unit 305, and also the audio decoding unit 31.
The received voice decoded in 2b is output to the handset unit 308 or the speaker unit 310 via the voice input / output interface unit 311.

【0018】図2は、本実施例に係る画像通信電話機を
構成する画像符号化部307aの構成を示す概略ブロッ
ク図である。図2において、符号201は符号化モード
選択部であり、ここでは、入力された画素値データ、参
照フレーム(前フレーム)からの予測値データ、入力画
素値データの差分値(予測誤差)との間のエネルギー比
較結果と画像符号化制御部215からの指示により、マ
クロブロック単位で入力された画素値データに対してフ
レーム間差分値(予測誤差値)を符号化する(INTE
Rモード)か、あるいは入力画素値をそのまま符号化す
る(INTRAモード)かを選択する。そして、INT
RAモードを選択した場合は入力画素値を、また、IN
TERモードを選択した場合には予測誤差値を出力す
る。
FIG. 2 is a schematic block diagram showing the configuration of the image encoding unit 307a which constitutes the image communication telephone according to this embodiment. In FIG. 2, reference numeral 201 denotes an encoding mode selection unit, and here, the input pixel value data, the prediction value data from the reference frame (previous frame), and the difference value (prediction error) of the input pixel value data The inter-frame difference value (prediction error value) is encoded with respect to the pixel value data input in macroblock units according to the energy comparison result between the two and the instruction from the image encoding control unit 215 (INTE).
R mode) or the input pixel value is directly encoded (INTRA mode). And INT
When RA mode is selected, input pixel value
When the TER mode is selected, the prediction error value is output.

【0019】減算部202は、入力画素値データと参照
データとの減算処理を行なう。また、DCT部203
は、入力された画素値データに対して、直交変換の一種
であるDCT(離散コサイン変換)処理を行ない、量子
化部204では、画像符号化制御部215からの指示に
より量子化ステップサイズを選択し、入力されたDCT
係数データを量子化する。そして、量子化閾値設定部2
05は、量子化部204の量子化出力におけるゼロラン
を長くするための量子化閾値の設定を行なう。
The subtraction unit 202 performs a subtraction process between the input pixel value data and the reference data. In addition, the DCT unit 203
Performs a DCT (discrete cosine transform) process, which is a kind of orthogonal transform, on the input pixel value data, and the quantizer 204 selects a quantization step size according to an instruction from the image coding controller 215. And input DCT
Quantize coefficient data. Then, the quantization threshold setting unit 2
Reference numeral 05 sets a quantization threshold for increasing the zero run in the quantized output of the quantizer 204.

【0020】なお、ここでは、画像符号化制御部215
の指示により、量子化閾値の更新幅が設定制御される。
可変長符号化部206は、量子化されたDCT係数デー
タに対して可変長符号化を行なう。また、送信バッファ
部207は、送信データを蓄積する。逆量子化部208
では、量子化されたDCT係数データを逆量子化し、I
DCT部209は、入力されたDCT係数データのID
CT(逆離散コサイン変換)処理を行なう。そして、加
算部210は、INTERモードで処理されたデータに
対しては予測値を加算する。
Here, the image coding control unit 215 is used.
Is set, the update width of the quantization threshold is set and controlled.
The variable length coding unit 206 performs variable length coding on the quantized DCT coefficient data. The transmission buffer unit 207 also stores transmission data. Inverse quantizer 208
Then, the quantized DCT coefficient data is dequantized and I
The DCT unit 209 is the ID of the input DCT coefficient data.
Perform CT (Inverse Discrete Cosine Transform) processing. Then, the addition unit 210 adds the predicted value to the data processed in the INTER mode.

【0021】フレーム・メモリ部211は、動き補償フ
レーム間予測のためのフレーム・メモリであり、動きベ
クトル検出部212では、現フレームの処理マクロブロ
ックの前フレームに対する動きベクトルを検出する。ま
た、動き補償部213では、動きベクトル検出部212
で検出された動きベクトルに従って、前フレームにおけ
る、該当するマクロブロック単位の画素値データを選択
する。
The frame memory unit 211 is a frame memory for motion-compensated inter-frame prediction, and the motion vector detection unit 212 detects a motion vector for the previous frame of the processing macroblock of the current frame. In addition, the motion compensation unit 213 includes a motion vector detection unit 212.
According to the motion vector detected in, the pixel value data of the corresponding macroblock unit in the previous frame is selected.

【0022】フィルタ部214は、動き補償フレーム間
予測を行なうブロックに対するローパスフィルタであ
り、画像符号化制御部215は、図1に示すシステム制
御部314からの画質信号や送信バッファ部207のバ
ッファ蓄積量をもとに、符号化モード選択や量子化ステ
ップ・サイズ選択,可変閾値制御,有意ブロック判定,
駒落し(フレームスキップ)等の各種符号化制御を行な
う。
The filter unit 214 is a low-pass filter for a block for performing motion-compensated inter-frame prediction, and the image coding control unit 215 stores the image quality signal from the system control unit 314 and the buffer storage of the transmission buffer unit 207 shown in FIG. Coding mode selection, quantization step size selection, variable threshold control, significant block judgment,
Performs various encoding controls such as frame drop (frame skip).

【0023】なお、本画像符号化部307aの符号化モ
ード選択部201に入力されるデータは、CCITT勧
告H.261に従う共通中間フォーマット(CIF、ま
たはQCIF)である。図4〜図7は、CIFフォーマ
ットの構成を、また、図8は、QCIFフォーマットの
構成を示す図である。CIFフォーマットの画像は、図
4に示す1枚のフレームが、図5に示すGOB(グルー
プ・オブ・ブロック)と呼ばれるブロック12個から構
成され、1つのGOBは、33個のマクロブロックと呼
ばれるブロックにて構成される。さらに、1つのマクロ
ブロックは、図6に示すように、6個のブロック(4つ
のYブロック、Cbブロック,Crブロック各1つ)か
ら構成されており、1つのブロックは、8画素×8ライ
ン(図7参照)から成る。
The data input to the coding mode selection unit 201 of the main image coding unit 307a is CCITT Recommendation H.264. 261 is a common intermediate format (CIF or QCIF). 4 to 7 are diagrams showing the configuration of the CIF format, and FIG. 8 is a diagram showing the configuration of the QCIF format. In the CIF format image, one frame shown in FIG. 4 is composed of 12 blocks called GOB (group of blocks) shown in FIG. 5, and one GOB is called a block called 33 macro blocks. Composed of. Further, as shown in FIG. 6, one macroblock is composed of six blocks (one for each of four Y blocks, Cb blocks, and Cr blocks), and one block is 8 pixels × 8 lines. (See FIG. 7).

【0024】ここでの符号化処理は、フレーム内では、
図4におけるGOBの1から12の順に、また、各GO
B内では、図5におけるマクロブロックの1から33の
順に、さらに、各マクロブロック内では、図6における
Y(輝度)のブロック1から4、Cb(色差)のブロッ
ク、そして、Cr(色差)のブロックの順に行なう。ま
た、QCIFフォーマットは、図8に示すように、CI
Fフォーマットの画素とライン数を各々1/2したもの
である。符号化伝送は、GOB単位、動き補償や量子化
ステップ・サイズ、符号化モードの選択は、マクロブロ
ック単位、そして、DCT(離散コサイン変換)やフィ
ルタ処理は、ブロック単位でそれぞれ行なう。
The encoding process here is performed within a frame.
The order of GOBs 1 to 12 in FIG.
In B, the macroblocks 1 to 33 in FIG. 5 are arranged in that order, and in each macroblock, Y (luminance) blocks 1 to 4, Cb (color difference) blocks, and Cr (color difference) in FIG. Perform in the order of blocks. In addition, the QCIF format, as shown in FIG.
The number of pixels in the F format and the number of lines are each halved. Coded transmission is performed on a GOB basis, motion compensation and quantization step sizes are selected on a macroblock basis, and DCT (discrete cosine transform) and filter processing are performed on a block basis.

【0025】そこで、上記の構成をとる画像符号化部3
07aの動作について説明する。図2の減算部202に
は、マクロブロック単位の画素値データと前フレームの
予測値データが入力され、それら画素値データと予測値
データとの差分値(予測誤差)を符号化モード選択部2
01へ出力する。また、符号化モード選択部201に
は、マクロブロック単位で画素値データと、画素値デー
タと予測値との差分値が入力され、これら入力された画
素値データと、画素値データと予測値との差分値(予測
誤差値)との間のエネルギー比較を行なう。そして、そ
のエネルギー比較結果と、画像符号化制御部215から
の符号化モード制御信号に従って符号化モードを選択
し、INTERモードを選択した場合には入力画素値
を、また、INTRAモードでは、予測誤差値をDCT
部203へ出力する。
Therefore, the image coding unit 3 having the above configuration
The operation of 07a will be described. The pixel value data in macroblock units and the prediction value data of the previous frame are input to the subtraction unit 202 of FIG. 2, and the difference value (prediction error) between the pixel value data and the prediction value data is input to the encoding mode selection unit 2
Output to 01. Further, the pixel mode data and the difference value between the pixel value data and the prediction value are input to the encoding mode selection unit 201 in macroblock units, and the input pixel value data, the pixel value data and the prediction value are input. Energy comparison with the difference value (prediction error value) of. Then, the coding mode is selected according to the energy comparison result and the coding mode control signal from the image coding control unit 215. When the INTER mode is selected, the input pixel value is selected, and in the INTRA mode, the prediction error is selected. Value is DCT
It is output to the unit 203.

【0026】DCT部203では、符号化モード選択部
201からの画素値データを、ブロック単位で、直交変
換の一種であるDCT(離散コサイン変換)処理を行な
い、その結果得られたDCT係数データを量子化部20
4へ出力する。ここで、DCT部203出力は、図9に
示すように、左上(直流成分)から右下(高周波成分)
にかけて、ジグザグにスキャンされたデータ列である。
The DCT unit 203 performs a DCT (discrete cosine transform) process, which is a kind of orthogonal transform, on the pixel value data from the coding mode selection unit 201 in block units, and the resulting DCT coefficient data is obtained. Quantizer 20
Output to 4. Here, the output of the DCT unit 203 is, as shown in FIG. 9, from the upper left (DC component) to the lower right (high frequency component).
It is a data string that is scanned in a zigzag pattern.

【0027】量子化部204は、画像符号化制御部21
5からの量子化特性制御信号に従って選択されたステッ
プ・サイズで、入力されたDCT係数を量子化する。こ
の量子化の際、量子化データ列中のゼロランが長くなる
ように、ある閾値以下のDCT係数については、切り捨
ててゼロにする。また、量子化閾値設定部205では、
量子化出力にゼロが発生した場合、閾値を高く更新す
る。
The quantizing unit 204 includes an image coding control unit 21.
Quantize the input DCT coefficient with a step size selected according to the quantization characteristic control signal from 5. At the time of this quantization, DCT coefficients below a certain threshold value are rounded down to zero so that the zero run in the quantized data string becomes long. Further, in the quantization threshold setting unit 205,
If zero occurs in the quantized output, the threshold is updated to a higher value.

【0028】ここで、量子化閾値の更新幅は可変であ
り、画像符号化制御部215からの閾値更新幅設定信号
により設定される。可変長符号化部206では、画像符
号化制御部215による符号化制御信号に基づいて有意
ブロック判定等を行ない、量子化されたDCT係数をC
CITT勧告H.261に従って可変長符号化し、それ
を送信バッファ部207へ出力する。この送信バッファ
部207はバッファメモリで構成され、可変長符号化デ
ータをバッファリングして分離多重化部315へ出力す
ると同時に、バッファ蓄積量を画像符号化制御部215
へ通知する。
Here, the update width of the quantization threshold is variable and is set by the threshold update width setting signal from the image coding control unit 215. In the variable length coding unit 206, a significant block determination or the like is performed based on the coding control signal from the image coding control unit 215, and the quantized DCT coefficient is C
CITT Recommendation H.264 The variable length coding is performed according to H.261 and is output to the transmission buffer unit 207. The transmission buffer unit 207 is composed of a buffer memory, buffers the variable-length coded data and outputs the variable-length coded data to the demultiplexing and multiplexing unit 315, and at the same time, stores the buffer storage amount in the image coding control unit 215.
Notify to.

【0029】他方、逆量子化部208には、量子化部2
04からのDCT係数量子化出力が入力され、量子化部
204において選択された量子化ステップ・サイズを用
いて逆量子化を行ない、DCT係数を出力する。IDC
T部209では、逆量子化部208からのDCT係数出
力をIDCT(逆離散コサイン変換)処理し、それを加
算部210へ出力する。
On the other hand, the inverse quantizer 208 includes the quantizer 2
The DCT coefficient quantized output from 04 is input, inverse quantization is performed using the quantization step size selected in the quantization unit 204, and the DCT coefficient is output. IDC
The T unit 209 performs IDCT (inverse discrete cosine transform) processing on the DCT coefficient output from the inverse quantization unit 208, and outputs it to the addition unit 210.

【0030】加算部210では、INTERモードで処
理されたマクロブロックのデータに対しては、対応する
予測値をIDCT部209からの出力に加算して出力
し、また、INTRAモードで処理されたマクロブロッ
クのデータに対しては、IDCT部209からの出力を
そのまま出力する。フレームメモリ部211は、少なく
とも2フレーム分のフレームメモリで構成される、動き
補償フレーム間予測のためのフレームメモリであり、加
算部210からの画素値出力を蓄積すると同時に、動き
補償フレーム間予測のために、動き補償部213からの
指示により前フレームの画素値データを出力する。ま
た、動きベクトル検出部212では、現フレームの処理
マクロブロック位置付近の前フレーム画素値データを、
動きベクトル・サーチウィンドウとしてフレームメモリ
部211より読み出し、ブロックマッチング演算を行な
って動きベクトルを検出する。
For the data of the macroblock processed in the INTER mode, the addition unit 210 adds the corresponding prediction value to the output from the IDCT unit 209 and outputs it, and also, the macro processed in the INTRA mode. For block data, the output from the IDCT unit 209 is output as it is. The frame memory unit 211 is a frame memory for motion-compensated inter-frame prediction, which is composed of a frame memory for at least two frames. The frame memory unit 211 accumulates the pixel value output from the addition unit 210 and simultaneously performs motion-compensated inter-frame prediction. Therefore, the pixel value data of the previous frame is output according to an instruction from the motion compensation unit 213. In addition, the motion vector detection unit 212 calculates the previous frame pixel value data near the processing macroblock position of the current frame as
A motion vector search window is read from the frame memory unit 211, and a block matching operation is performed to detect a motion vector.

【0031】動き補償部213では、動きベクトル検出
部212で検出された動きベクトルに従って、前フレー
ムの該当するマクロブロック単位の画素値データをフレ
ームメモリ部211より読み出し、出力する。なお、フ
ィルタ部214は、動き補償を行なったことによる、ブ
ロック境界における不連続性の緩和を目的としたローパ
スフィルタであり、動き補償を行なったデータに対して
フィルタリング処理を施し、それを上述の予測値データ
として減算部202へ出力する。
The motion compensation unit 213 reads out pixel value data of the corresponding macroblock unit of the previous frame from the frame memory unit 211 according to the motion vector detected by the motion vector detection unit 212 and outputs it. The filter unit 214 is a low-pass filter for the purpose of alleviating the discontinuity at the block boundary due to the motion compensation, and performs the filtering process on the motion-compensated data, The predicted value data is output to the subtraction unit 202.

【0032】画像符号化制御部215は、画像符号化部
全体のタイミングを制御していると同時に、常に、画像
符号化部307a全体、あるいは、システム制御部31
4(図1)からの画質信号や書画モード信号等を監視し
ており、送信バッファ部207がオーバーフローするこ
とのないよう、送信バッファ部207のデータ蓄積量を
もとに、入力画像の変化やシーンチェンジ等、あるい
は、通信操作者による画質設定に応じて、適応的に、量
子化特性制御信号による量子化部204における量子化
ステップサイズの選択や可変閾値の制御、符号化モード
制御信号による符号化モード選択部201における符号
化モード判定制御、符号化制御信号による可変長符号化
部206における有意ブロック判定、あるいは、駒落し
(フレームスキップ)等の符号化制御を行なう。
The image coding control section 215 controls the timing of the entire image coding section, and at the same time, it always controls the entire image coding section 307a or the system control section 31.
4 (FIG. 1), the image quality signal and the writing mode signal are monitored, and changes in the input image based on the amount of data accumulated in the transmission buffer unit 207 are monitored so that the transmission buffer unit 207 does not overflow. Depending on the scene change or the like, or according to the image quality setting by the communication operator, the quantization step size is adaptively selected by the quantization characteristic control signal, the quantization step size is controlled, the variable threshold is controlled, and the encoding mode control signal is used. Encoding mode determination control in the encoding mode selection unit 201, significant block determination in the variable length encoding unit 206 based on the encoding control signal, or encoding control such as frame dropping (frame skip) is performed.

【0033】次に、図2に示す、実施例に係る画像符号
化制御部215における符号化制御について説明する。
符号化モードについては、前フレーム(予測値)との差
分を符号化するINTERモードと、差分をとらずその
まま符号化するINTRAモードがある。そこで、動き
や変化の少ない画像は、現フレームと前フレームとが非
常に似ているため、前フレームとの差分を符号化するI
NTERモードを用いることにより、その時間的冗長度
を削減し、また、動きが大きい画像やシーンチェンジの
際等には、フレーム間の相関が小さいため、同一フレー
ム内の符号化が効果的であるので、前フレームとの差分
をとらずにそのまま符号化する、INTRAモードを用
いる等、2つのモードを適応的に切り換える。
Next, the encoding control in the image encoding controller 215 according to the embodiment shown in FIG. 2 will be described.
As for the encoding mode, there are an INTER mode in which the difference from the previous frame (predicted value) is encoded and an INTRA mode in which the difference is encoded without any difference. Therefore, in an image with little movement or change, the current frame and the previous frame are very similar to each other.
By using the NTER mode, the temporal redundancy is reduced, and when an image with a large motion or a scene change has a small correlation between frames, the coding within the same frame is effective. Therefore, two modes are adaptively switched, such as encoding as it is without taking the difference from the previous frame and using the INTRA mode.

【0034】量子化特性については、量子化ステップサ
イズを小さく設定すれば画質は向上するが、有意データ
が増加して伝送ビット数の増加につながり、フレームレ
ートの低下を招くことになる。また、量子化ステップサ
イズを大きく設定すれば、データ量は減少するが画質は
劣化する。そのため、送信バッファのデータ蓄積量を常
に監視し、適宜、効率的に設定する必要がある。さら
に、発生する符号化ビット数により駒落し(フレーム・
スキップ)等の処理を行なう。
Regarding the quantization characteristic, if the quantization step size is set to be small, the image quality is improved, but significant data is increased, which leads to an increase in the number of transmission bits and a decrease in frame rate. Further, if the quantization step size is set large, the data amount decreases but the image quality deteriorates. Therefore, it is necessary to constantly monitor the amount of data stored in the transmission buffer and set it appropriately and efficiently. Furthermore, depending on the number of encoded bits generated, dropping frames (frame
Processing such as skip).

【0035】量子化の前処理として、ステップサイズに
対してある程度(量子化閾値)以下のDCT係数をゼロ
に切り捨てることによりゼロの発生を促し、ゼロランを
発生しやすくすることによって、発生するデータ量を減
少させている。ここで、ゼロに切り捨てる閾値は、ゼロ
の発生によりさらに高く更新するVariable Threshold
(可変閾値)としている。
As a pre-processing of the quantization, the amount of data to be generated is reduced by truncating the DCT coefficient which is below a certain level (quantization threshold value) to zero by stepping to zero and facilitating the generation of zero run. Is decreasing. Here, the threshold value for rounding down to zero is the Variable Threshold value that is updated to a higher value due to occurrence of zero.
(Variable threshold).

【0036】次に、量子化閾値の更新及び閾値の更新幅
の設定動作について説明する。図3は、本実施例に係る
量子化閾値設定部205の構成を示す概略ブロック図で
ある。図3において、符号101はゼロ検出部であり、
図2に示す量子化部204からの出力におけるゼロを検
出し、その後段の量子化閾値更新部102へ閾値のイン
クリメントを指示する。この量子化閾値更新部102で
は、ゼロ検出部101が量子化されたDCT係数にゼロ
を検出すると量子化閾値をインクリメントする。また、
量子化閾値更新部102は、量子化DCT係数が一つで
も閾値を越え、ゼロ検出部101がゼロ以外の量子化出
力値を検出すると、量子化閾値を初期値に戻す。
Next, the operation of updating the quantization threshold and setting the threshold update width will be described. FIG. 3 is a schematic block diagram showing the configuration of the quantization threshold setting unit 205 according to this embodiment. In FIG. 3, reference numeral 101 is a zero detector,
Zero is detected in the output from the quantization unit 204 shown in FIG. 2, and the quantization threshold updating unit 102 in the subsequent stage is instructed to increment the threshold. The quantization threshold updating unit 102 increments the quantization threshold when the zero detecting unit 101 detects zero in the quantized DCT coefficient. Also,
When even one quantized DCT coefficient exceeds the threshold value and the zero detection unit 101 detects a quantized output value other than zero, the quantization threshold updating unit 102 returns the quantization threshold value to the initial value.

【0037】カウンタ103は、量子化されたDCT係
数(ゼロも含む)の個数をカウントし、閾値更新幅設定
部104は、カウンタ103からの出力により、閾値の
更新幅を選択設定する。量子化閾値更新部102及びカ
ウンタ103は、画像符号化制御部215からのブロッ
ク同期信号により初期値にリセットされる。次に、本実
施例における量子化閾値設定部205の動作について説
明する。
The counter 103 counts the number of quantized DCT coefficients (including zero), and the threshold update width setting unit 104 selectively sets the update width of the threshold according to the output from the counter 103. The quantization threshold updating unit 102 and the counter 103 are reset to initial values by the block synchronization signal from the image coding control unit 215. Next, the operation of the quantization threshold setting unit 205 in this embodiment will be described.

【0038】量子化部204(図2参照)において量子
化されたDCT係数データは、図3に示すゼロ検出部1
01及びカウンタ103に入力される。ここで、量子化
部204からの出力は、図10に示すように、直流成分
から高周波成分にかけてジグザグにスキャンされたデー
タ列である。ゼロ検出部101では、入力された量子化
DCT係数データ中にゼロ係数を検出すると、その後段
の量子化閾値更新部102に対して量子化閾値のインク
リメントを指示する。また、ゼロ以外の係数を検出する
と、量子化閾値の初期化を指示する。
The DCT coefficient data quantized by the quantizer 204 (see FIG. 2) is the zero detector 1 shown in FIG.
01 and the counter 103. Here, the output from the quantization unit 204 is a data string scanned in zigzag from the DC component to the high frequency component, as shown in FIG. When the zero detection unit 101 detects a zero coefficient in the input quantized DCT coefficient data, the zero detection unit 101 instructs the quantization threshold updating unit 102 at the subsequent stage to increment the quantization threshold. When a coefficient other than zero is detected, the initialization of the quantization threshold is instructed.

【0039】量子化閾値更新部102は、前段のゼロ検
出部101が係数ゼロを検出すると、量子化閾値をイン
クリメントする。ここで、インクリメント量(閾値更新
幅)は、閾値更新幅設定部104によって設定される。
ただし、量子化閾値には上限が設けられている。また、
図1の量子化部204に、1つでも量子化閾値を越えた
DCT係数が入力され、ゼロ以外の量子化係数が発生し
て、前段のゼロ検出部101がゼロ以外の係数を検出す
ると、上記のように量子化閾値は初期値にリセットされ
る。
The quantizing threshold updating unit 102 increments the quantizing threshold when the zero detecting unit 101 in the preceding stage detects the coefficient zero. Here, the increment amount (threshold update width) is set by the threshold update width setting unit 104.
However, the quantization threshold has an upper limit. Also,
If at least one DCT coefficient exceeding the quantization threshold is input to the quantizer 204 of FIG. 1 and a quantized coefficient other than zero is generated and the zero detector 101 in the previous stage detects a coefficient other than zero, As described above, the quantization threshold value is reset to the initial value.

【0040】カウンタ103は、ゼロ係数も含む量子化
係数をカウントし、処理ブロック中の何番目のDCT係
数の量子化処理が行なわれているかを、その後段の閾値
更新幅設定部104に知らせる。閾値更新幅設定部10
4は、画像符号化制御部215からの閾値更新幅制御信
号、及びカウンタ103の出力に応じて、量子化閾値更
新部102に対して閾値の更新幅を指示する。
The counter 103 counts the quantized coefficients including the zero coefficient, and informs the threshold update width setting unit 104 at the subsequent stage of which DCT coefficient in the processing block is quantized. Threshold update width setting unit 10
Reference numeral 4 instructs the quantization threshold updating unit 102 on the threshold updating width according to the threshold updating width control signal from the image coding control unit 215 and the output of the counter 103.

【0041】なお、閾値更新幅制御信号は、閾値の更新
幅をカウンタ103の出力に応じて可変にするか、固定
するかを制御する信号である。また、画像符号化制御部
215からのブロック同期信号により、カウンタ103
におけるカウンタ値と量子化閾値更新部102における
閾値は初期化される。さらに、量子化閾値更新部102
の出力、及び画像符号化制御部215からの量子化ステ
ップサイズ指示信号をもとに、量子化部204では、入
力されたDCT係数に対して量子化処理を施す。
The threshold update width control signal is a signal for controlling whether the update width of the threshold is variable or fixed according to the output of the counter 103. In addition, the counter 103 receives the block synchronization signal from the image encoding control unit 215.
The counter value in and the threshold in the quantization threshold updating unit 102 are initialized. Furthermore, the quantization threshold updating unit 102
And the quantization step size instruction signal from the image coding control unit 215, the quantization unit 204 performs a quantization process on the input DCT coefficient.

【0042】次に、本実施例における量子化閾値設定の
動作について、具体的な例を挙げて説明する。図10
は、本実施例の画像符号化装置における、量子化閾値の
具体的な更新動作を示す図である。ここでは、閾値の初
期値は、量子化ステップサイズ(gとする)であり、量
子化閾値の上限を1.5gとする。さらに、閾値のイン
クリメント量(更新幅)は、後述するように、カウンタ
出力により、直流成分より32番目の係数を境に、
“1”と“3”を切り換えるものとする。
Next, the operation of setting the quantization threshold value in this embodiment will be described with reference to a concrete example. Figure 10
FIG. 6 is a diagram showing a specific operation of updating a quantization threshold value in the image coding apparatus according to the present embodiment. Here, the initial value of the threshold is a quantization step size (given), and the upper limit of the quantization threshold is 1.5 g. Further, as will be described later, the increment amount (update width) of the threshold value is determined by the counter output at the 32nd coefficient from the DC component as a boundary.
It is assumed that "1" and "3" are switched.

【0043】図2に示す量子化部204では、DCT部
203より、直流成分から高周波成分に渡って入力され
るDCT係数が、量子化閾値設定部205によって設定
された閾値以下であると、量子化係数として“ゼロ”
を、量子化閾値設定部205内のゼロ検出部101(図
3)に出力する。そして、ゼロ検出部101によりゼロ
係数が検出されると、量子化閾値がインクリメントされ
る。
In the quantizing unit 204 shown in FIG. 2, when the DCT coefficient input from the DCT unit 203 from the DC component to the high frequency component is less than or equal to the threshold set by the quantization threshold setting unit 205, "Zero" as conversion factor
Is output to the zero detection unit 101 (FIG. 3) in the quantization threshold setting unit 205. Then, when the zero coefficient is detected by the zero detection unit 101, the quantization threshold is incremented.

【0044】図10に示すように、閾値の更新幅は、直
流成分より32個の係数については“1”を用い、それ
以降の32個の係数については“3”を用いる。また、
閾値は、1.5gを上限としているので、それ以上には
更新されない。そして、量子化閾値を越えるDCT係数
が量子化部204に入力され、ゼロ以外の係数が1つで
もゼロ検出部101に入力されると、閾値は初期値(量
子化ステップサイズg)にリセットされる。また、1ブ
ロック(64個のDCT係数)の処理が完了すると、ブ
ロック同期信号により量子化閾値は初期化される。
As shown in FIG. 10, the update width of the threshold value is "1" for 32 coefficients from the DC component and "3" for the subsequent 32 coefficients. Also,
Since the upper limit of the threshold is 1.5 g, it is not updated any further. When the DCT coefficient exceeding the quantization threshold is input to the quantization unit 204 and even one coefficient other than zero is input to the zero detection unit 101, the threshold is reset to the initial value (quantization step size g). It When the processing of one block (64 DCT coefficients) is completed, the quantization threshold is initialized by the block synchronization signal.

【0045】以上説明したように、本実施例によれば、
高周波成分に対しては量子化の閾値の更新幅を、直流成
分及び低周波成分に比べて大きく設定して、係数ゼロの
発生により素早く閾値を引き上げることで、高周波成分
を完全に切り捨てることなく、十分に小さいDCT係数
に対してのみDCT係数をゼロに切り捨てることがで
き、効率的にゼロランの発生を促して、伝送するデータ
の抑制が可能となる。
As described above, according to this embodiment,
For the high frequency component, the update width of the quantization threshold is set larger than that of the direct current component and the low frequency component, and the threshold value is quickly raised by the occurrence of the coefficient zero, so that the high frequency component is not completely discarded, The DCT coefficient can be rounded down to zero only for a sufficiently small DCT coefficient, so that the generation of zero run can be efficiently promoted and the data to be transmitted can be suppressed.

【0046】なお、上記実施例においては、閾値更新幅
を2通り用意し、閾値の上限が固定である場合について
述べたが、本発明はこれに限定されず、例えば、複数の
可変更新幅を有するようにしたり、あるいは、閾値の上
限が可変にしてもよい。また、本発明は、システムある
いは装置にプログラムを供給することによって達成され
る場合にも適用できることは言うまでもない。
In the above embodiment, two threshold update widths are prepared and the upper limit of the threshold is fixed, but the present invention is not limited to this. For example, a plurality of variable update widths may be set. Alternatively, the upper limit of the threshold may be variable. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.

【0047】[0047]

【発明の効果】以上に説明したように、本発明によれ
ば、入力された画像を画素ブロック単位で直交変換した
変換係数を量子化する際、更新幅を可変に設定した量子
化閾値に従って量子化を行なうことにより、効率的な画
像情報の圧縮符号化処理が可能となる。
As described above, according to the present invention, when a transform coefficient obtained by orthogonally transforming an input image in pixel block units is quantized, the quantization is performed in accordance with the quantization threshold value in which the update width is variably set. By performing the encoding, it is possible to perform efficient compression encoding processing of image information.

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

【図1】本発明の実施例に係る画像符号化装置を採用し
た画像通信電話機の回路構成を示す概略ブロック図であ
る。
FIG. 1 is a schematic block diagram showing a circuit configuration of an image communication telephone adopting an image encoding device according to an embodiment of the present invention.

【図2】実施例に係る画像通信電話機を構成する画像符
号化部307aの構成を示す概略ブロック図である。
FIG. 2 is a schematic block diagram showing a configuration of an image encoding unit 307a included in the image communication telephone according to the embodiment.

【図3】実施例に係る量子化閾値設定部205の構成を
示す概略ブロック図である。
FIG. 3 is a schematic block diagram showing the configuration of a quantization threshold setting unit 205 according to the embodiment.

【図4】実施例におけるCIFフォーマットの構成を示
す図である。
FIG. 4 is a diagram showing a configuration of a CIF format in the embodiment.

【図5】実施例におけるCIFフォーマットの構成を示
す図である。
FIG. 5 is a diagram showing a structure of a CIF format in the embodiment.

【図6】実施例におけるCIFフォーマットの構成を示
す図である。
FIG. 6 is a diagram showing a configuration of a CIF format in the embodiment.

【図7】実施例におけるCIFフォーマットの構成を示
す図である。
FIG. 7 is a diagram showing a configuration of a CIF format in the embodiment.

【図8】実施例におけるQCIFフォーマットの構成を
示す図である。
FIG. 8 is a diagram showing a configuration of a QCIF format in the embodiment.

【図9】空間周波数を示すマトリックスである。FIG. 9 is a matrix showing spatial frequencies.

【図10】実施例の画像符号化装置における量子化閾値
の具体的な更新動作を示す図である。
FIG. 10 is a diagram showing a specific operation of updating a quantization threshold value in the image coding apparatus according to the embodiment.

【図11】従来の画像符号化装置における量子化閾値の
更新動作を示す図である。
FIG. 11 is a diagram showing a quantization threshold updating operation in a conventional image encoding device.

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

301 カメラ入力部 302 書画カメラ入力部 303 表示部 304 画像入力インタフェース部 305 画像出力インタフェース部 306 画像編集部 307 画像符号化/復号化部 307a 画像符号化部 307b 画像復号化部 308 ハンドセット部 309 マイク部 310 スピーカ部 311 音声入出力インタフェース部 312 音声符号化/復号化部 312a 音声符号化部 312b 音声復号化部 313 操作部 314 システム制御部 315 分離多重化部 316 回線インタフェース部 317 通信回線 301 camera input unit 302 document camera input unit 303 display unit 304 image input interface unit 305 image output interface unit 306 image editing unit 307 image encoding / decoding unit 307a image encoding unit 307b image decoding unit 308 handset unit 309 microphone unit 310 speaker unit 311 voice input / output interface unit 312 voice encoding / decoding unit 312a voice encoding unit 312b voice decoding unit 313 operation unit 314 system control unit 315 demultiplexing unit 316 line interface unit 317 communication line

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 入力画像を画素ブロック単位で直交変換
した変換係数を量子化する画像符号化装置において、 前記変換係数の値を検索する検索手段と、 前記検索の結果、前記変換係数が特定の値を含む場合、
前記量子化に対する量子化閾値の更新幅を可変にする設
定手段と、 前記設定手段で設定された前記量子化閾値に従って量子
化を行なう量子化手段とを備えることを特徴とする画像
符号化装置。
1. An image coding apparatus for quantizing a transform coefficient obtained by orthogonally transforming an input image in pixel block units, a search means for searching a value of the transform coefficient, and as a result of the search, the transform coefficient is specified. If it contains a value,
An image coding apparatus comprising: a setting unit for varying an update width of a quantization threshold for the quantization; and a quantization unit for performing a quantization according to the quantization threshold set by the setting unit.
【請求項2】 前記設定手段は、周波数領域に応じて前
記量子化閾値の更新幅を可変にすることを特徴とする請
求項1に記載の画像符号化装置。
2. The image coding apparatus according to claim 1, wherein the setting unit makes the update width of the quantization threshold variable according to the frequency domain.
【請求項3】 前記設定手段は、高周波数領域において
前記量子化閾値の更新幅を大きくすることを特徴とする
請求項2に記載の画像符号化装置。
3. The image coding apparatus according to claim 2, wherein the setting unit increases the update width of the quantization threshold value in a high frequency region.
【請求項4】 前記設定手段は、前記変換係数中に0が
含まれる場合、前記量子化閾値を高く設定し、また、該
変換係数中に0以外の係数が含まれる場合、該量子化閾
値を初期化することを特徴とする請求項1に記載の画像
符号化装置。
4. The setting means sets the quantization threshold value high when 0 is included in the transform coefficient, and the quantization threshold value when the coefficient other than 0 is included in the transform coefficient. The image encoding device according to claim 1, wherein the image encoding device is initialized.
【請求項5】 入力画像を画素ブロック単位で直交変換
した変換係数を量子化する画像符号化方法において、 前記変換係数の値を検索する工程と、 前記検索の結果、前記変換係数が特定の値を含む場合、
前記量子化に対する量子化閾値の更新幅を可変にする工
程と、 前記更新幅を有する量子化閾値に従って量子化を行なう
工程とを備えることを特徴とする画像符号化方法。
5. An image coding method for quantizing a transform coefficient, which is obtained by orthogonally transforming an input image in pixel block units, in the step of searching the value of the transform coefficient, and as a result of the search, the transform coefficient has a specific value. Contains
An image coding method comprising: a step of varying an update width of a quantization threshold for the quantization; and a step of performing quantization according to a quantization threshold having the update width.
JP5159542A 1993-06-29 1993-06-29 Device and method for encoding image Withdrawn JPH0775101A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5159542A JPH0775101A (en) 1993-06-29 1993-06-29 Device and method for encoding image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5159542A JPH0775101A (en) 1993-06-29 1993-06-29 Device and method for encoding image

Publications (1)

Publication Number Publication Date
JPH0775101A true JPH0775101A (en) 1995-03-17

Family

ID=15696037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5159542A Withdrawn JPH0775101A (en) 1993-06-29 1993-06-29 Device and method for encoding image

Country Status (1)

Country Link
JP (1) JPH0775101A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5333449B2 (en) * 2008-07-25 2013-11-06 ソニー株式会社 Image processing apparatus and method, program, and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5333449B2 (en) * 2008-07-25 2013-11-06 ソニー株式会社 Image processing apparatus and method, program, and recording medium
JP2013243759A (en) * 2008-07-25 2013-12-05 Sony Corp Image processing device and method, program, and record medium

Similar Documents

Publication Publication Date Title
JP3748717B2 (en) Video encoding device
EP1486065B1 (en) Method for coding motion in a video sequence
EP1497990B1 (en) Method and device for indicating quantizer parameters in a video coding system
US5357281A (en) Image processing apparatus and terminal apparatus
JP3043599B2 (en) Quantization step size controller using neural network
CN110740336B (en) Image processing apparatus and method
KR20010021879A (en) Apparatus and method for macroblock based rate control in a coding system
KR100305485B1 (en) Video encoding method, system and computer program product for optimizing center of picture quality
JP3651706B2 (en) Video encoding device
WO2006074043A2 (en) Method and apparatus for providing motion estimation with weight prediction
JPH04219089A (en) Image encoding device
JPH08102940A (en) Moving picture processing unit and its method
JPH0630402A (en) Image coding device
JPH0775101A (en) Device and method for encoding image
KR100770873B1 (en) Method and apparatus of controling bit rate in image encoding
JPH09214977A (en) Method and device for encoding video
JPH09214965A (en) Method and device for encoding moving image
JPH09261530A (en) Video recorder
JP3382292B2 (en) Image encoding apparatus and method
KR20010104058A (en) Adaptive quantizer according to DCT mode in MPEG2 encoder
JPH05328139A (en) Device for picture encoder and method therefor
JPH07111653A (en) Encoder
KR100778473B1 (en) Bit rate control method
JPH0646411A (en) Picture coder
KR100764767B1 (en) Coding mode selection method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000905