JP2908459B2 - Image coding method - Google Patents
Image coding methodInfo
- Publication number
- JP2908459B2 JP2908459B2 JP22641588A JP22641588A JP2908459B2 JP 2908459 B2 JP2908459 B2 JP 2908459B2 JP 22641588 A JP22641588 A JP 22641588A JP 22641588 A JP22641588 A JP 22641588A JP 2908459 B2 JP2908459 B2 JP 2908459B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- block
- coding
- partial
- bits
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000000034 method Methods 0.000 title claims description 39
- 230000001131 transforming effect Effects 0.000 claims 4
- 238000010586 diagram Methods 0.000 description 15
- 238000013139 quantization Methods 0.000 description 11
- 238000004364 calculation method Methods 0.000 description 10
- 238000011156 evaluation Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000003044 adaptive effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 230000001174 ascending effect Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/90—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
- H04N19/98—Adaptive-dynamic-range coding [ADRC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/115—Selection of the code volume for a coding unit prior to coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/124—Quantisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/136—Incoming video signal characteristics or properties
- H04N19/14—Coding unit complexity, e.g. amount of activity or edge presence estimation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/146—Data rate or code amount at the encoder output
- H04N19/149—Data rate or code amount at the encoder output by estimating the code amount by means of a model, e.g. mathematical model or statistical model
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/162—User input
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/184—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being bits, e.g. of the compressed video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/189—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
- H04N19/192—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding the adaptation method, adaptation tool or adaptation type being iterative or recursive
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/146—Data rate or code amount at the encoder output
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Algebra (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Image Processing (AREA)
Description
【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は静止画像あるいは動画像の圧縮符号化方式
に係る画像符号化方式である。[Detailed Description of the Invention] [Object of the Invention] (Industrial application field) The present invention is an image coding method according to a compression coding method for a still image or a moving image.
(従来の技術) 静止画像、あるいは動画像の圧縮符号化を行なう際
に、一画面を予め定められた符号化ビット数以内で、で
きるだけ効率よく符号化したいという要求がある。(Prior Art) When compressing and encoding a still image or a moving image, there is a demand for encoding one screen within a predetermined number of encoding bits as efficiently as possible.
この様な要求に対し、従来は、一画面の総符号化ビッ
ト数Bに対し、一画面内の符号化すべきブロック数をN
とすると、1ブロック当りの符号化ビット数をB/Nで規
定し、各ブロックの符号化ビット数がB/に近い値になる
様な調整を行ないながら符号化処理を進める手法(W・
H・Chen,W・K・Pratt,“Scene Adaptive Coder",IEEE
Trans.COM−32,No.3.1984参照)や、各ブロックをDCT
(離散コサイン変換)し、その変換係数のうちの伝送す
べきものについて、低域から数えて1番目の係数だけを
一画面内の伝送ブロックすべてについて伝送し、次に2
番目の係数だけを同様に伝送する、という操作をくり返
し、規定のビット数になったところでその操作を打ち切
る手法などが行われていた。Conventionally, in response to such a request, the number of blocks to be coded in one screen is N for the total number of coded bits B in one screen.
Then, the number of coded bits per block is defined as B / N, and the coding process is performed while adjusting the number of coded bits of each block to a value close to B / (W ·
H.Chen, W.K.Pratt, "Scene Adaptive Coder", IEEE
Trans.COM-32, No.3.1984) and DCT for each block
(Discrete cosine transform), and among the transform coefficients to be transmitted, only the first coefficient counted from the low band is transmitted for all the transmission blocks in one screen.
There has been a method of repeating the operation of transmitting only the third coefficient in the same manner, and aborting the operation when the specified number of bits is reached.
しかしながら、これらの手法はいずれも画面内の局所
的性質を考慮しておらず、符号化誤差がブロックによっ
て異なる再生画像が得られるため、ブロック歪の増大、
あるいは絵柄の細かい部分のエッジのぼけ等が生じ、主
観評価によっても著しい低下を招くという欠点があっ
た。However, none of these methods takes into account the local properties in the screen, and a reproduced image in which the coding error differs depending on the block is obtained.
Alternatively, there is a drawback that the edge of a fine portion of the picture is blurred and the like, which causes a remarkable decrease even in the subjective evaluation.
(発明が解決しようとする課題) この様に従来は、予め定められた符号化ビット数で一
画面を符号化する際に、画面内の局所的性質を考慮せず
に距離を行なっていたため、絵柄の細かな部分へのビッ
ト配分の不足、あるいは絵柄の粗い部分への過剰ビット
配分等により、符号化誤差がブロックによって異なり、
主観評価の低下を招いていた。(Problems to be Solved by the Invention) As described above, conventionally, when one screen is encoded with a predetermined number of encoding bits, the distance is determined without considering local properties in the screen. Due to lack of bit allocation to small parts of the picture, or excessive bit allocation to coarse parts of the picture, etc., the coding error differs depending on the block,
This has led to a decrease in subjective evaluation.
そこで、本発明はこれらの問題点を解決し、画面内の
局所的性質に応じた符号化ビットの適応的配分、つまり
絵柄の細かさの度合、あるいは高周波成分の存在割合に
比例したビット配分を行ない、さらに、一画面内を予め
定められた符号化ビット数の範囲内で符号化することを
条件として、しかもブロックによって符号化誤差のかた
よりが少なく、主観評価によっても良い再生画が得られ
る新規な画像符号化方式を提供することを目的としてい
る。Therefore, the present invention solves these problems, and adaptively allocates coded bits according to local characteristics in a screen, that is, bit allocation in proportion to the degree of fineness of a picture or the existence ratio of high-frequency components. And a condition that coding within one screen within a predetermined number of coding bits is required, and further, a coding error is small depending on blocks, and a good reproduced image can be obtained by subjective evaluation. It is an object of the present invention to provide a simple image coding method.
[発明の構成] (課題を解決するための手段) 上記目的を達成するために本発明の画像符号化方式
は、まず入力された一画面内の局所的性質、つまり各ブ
ロックごとの高周波成分電力、あるいはブロック内画素
値の標準偏差や分散又はブロック内画素の最大画素値と
最小画素値との差を画面の一部、あるいは全体から求
め、その後、予め定められている一画面を符号化するた
めの総ビット数を上記局所的性質に応じて画面内のブロ
ック毎に適応的(例えば分散に比例したビット数配分)
にビット数を割り当てる。実際の符号化に際してはこの
割り当てられたビット数で各ブロックが符号化できる様
に数値評価上(例えばSNR等)、あるいは主観評価上重
要でないものを切り捨てることにより、又は重要なもの
から優先して伝送することにより、各ブロックを割り当
てビット数で符号化し、画面全体としては予め定められ
た符号化ビット数の範囲内で符号化する様にしたもので
ある。[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, an image encoding method according to the present invention firstly uses a local property within one input screen, that is, a high-frequency component power for each block. Or the standard deviation or variance of the pixel values in the block or the difference between the maximum pixel value and the minimum pixel value of the pixels in the block is obtained from a part or the whole of the screen, and thereafter, one predetermined screen is encoded. The total number of bits for each block in the screen according to the above-mentioned local property (for example, the number of bits is proportional to the variance)
Assign the number of bits to. At the time of actual encoding, the numerical value evaluation (for example, SNR) or the subjective evaluation is discarded so that each block can be encoded with the allocated number of bits, or by discarding those which are not important, or by giving priority to the important ones. By transmitting, each block is encoded with the number of allocated bits, and the entire screen is encoded within a predetermined range of the number of encoded bits.
(作 用) この様に予め定められている一画面を符号化するため
の総ビット数を画面内の局所的性質に応じて割り当て、
その各割り当てられたビット数に基づいて各ブロックの
符号化処理を行なうことにより、予め定められた符号化
ビット数で一画面が符号化でき、しかもその符号化ビッ
ト数の範囲内で符号化誤差のかたよりを極力抑えて主観
評価の良好な再生画を得ることが可能となる。(Operation) In this way, the predetermined total number of bits for encoding one screen is allocated according to the local property in the screen,
By performing the encoding process of each block based on the assigned bit number, one screen can be encoded with a predetermined encoding bit number, and the encoding error is within the range of the encoding bit number. It is possible to obtain a reproduced image with good subjective evaluation while minimizing the deflection.
(実施例) 以下、図面を参照して本発明の実施例を説明する。(Example) Hereinafter, an example of the present invention is described with reference to drawings.
第1図は本発明の第1の実施例に係るブロック図であ
る。まずブロック分割回路110で入力画面が所定のブロ
ック(ここでは例えば8×8画素のブロック)に分割さ
れ、次に各ブロック毎の発生情報量(例えばブロック内
の各画素値の分散や標準偏差、あるいは画素値の中の最
大値と最小値との差、等で決定する)が発生情報量計算
回路111で計算される。さらにビット配分決定回路112で
は、予め定められている一画面を符号化するのに使用で
きる総ビット数を発生情報量計算回路111で求めた発生
情報量に比例された形、あるいは視覚特性が向上する様
に輝度変化がゆるやかに変化する部分に重み付けをする
等の処理を行なった形で各ブロックに分配する。このこ
とによって、各ブロック毎の符号化ビット数を例えば (X:ブロックの割り当てビット数,A:一画面の符号化に
使用できる総ビット数、N:ブロックの発生情報量の一画
面についての和,n:所定ブロックの発生情報量)で決定
する。その後DCT(離散コサイン変換)回路113で各ブロ
ック単位にDCTが施され、量子化回路114で量子化(線形
量子化、あるいは非線形量子化)される。FIG. 1 is a block diagram according to a first embodiment of the present invention. First, the input screen is divided into predetermined blocks (here, for example, a block of 8 × 8 pixels) by the block dividing circuit 110, and then the amount of generated information for each block (for example, the variance and standard deviation of each pixel value in the block, Alternatively, the generated information amount calculation circuit 111 calculates the difference between the maximum value and the minimum value of the pixel values. Further, in the bit allocation determination circuit 112, the total number of bits that can be used to encode one predetermined screen is proportional to the generated information amount obtained by the generated information amount calculation circuit 111, or the visual characteristics are improved. In such a manner, a portion where the luminance changes gradually changes is weighted and distributed to each block. This allows the number of encoded bits for each block to be, for example, (X: the number of allocated bits of a block, A: the total number of bits that can be used for encoding one screen, N: the sum of the amount of information generated in a block per screen, n: the amount of information generated in a predetermined block). Thereafter, a DCT (Discrete Cosine Transform) circuit 113 applies DCT to each block, and a quantization circuit 114 performs quantization (linear quantization or non-linear quantization).
なお、ここでは発生情報量回路111で計算された一画
面内の総発生情報量をもとに量子化器のステップサイズ
を変化させる(図の点線により操作)適応ステップサイ
ズ方式の導入も可能である。ただしこの場合は一画面に
一回(あるいは一画面内でステップサイズを数回にわた
って変化させる場合はその回数だけ)ステップサイズ情
報を伝送する必要がある。又、ブロック分割回路110か
らはブロック毎の終りを知らせるブロック信号が発生情
報計算回路111に逐次入力される。さらにビット配分決
定回路112には上記の一画面(1フレーム)を符号化す
るのに使用できる総ビット数(情報量)を外部よりの選
択手段によりマニュアル等により決定できるように構成
してもよい。Here, it is also possible to introduce an adaptive step size method for changing the step size of the quantizer based on the total amount of generated information in one screen calculated by the generated information amount circuit 111 (operated by the dotted line in the figure). is there. However, in this case, it is necessary to transmit the step size information once per screen (or only when the step size is changed several times within one screen). Further, a block signal notifying the end of each block is sequentially input from the block division circuit 110 to the generation information calculation circuit 111. Further, the bit allocation determination circuit 112 may be configured so that the total number of bits (amount of information) that can be used for encoding one screen (one frame) can be manually determined by an external selection means. .
次段の構成について説明する。 The configuration of the next stage will be described.
121が固定長化回路部であり、ここでは量子化後の各D
CT係数が直流成分(DC成分)と交流成分(AC成分)とに
分けられ、DC成分についてはDC成分用のハフマンテーブ
ル115によりハフマン符号化回路116でハフマン符号化す
る(第4図ステップ1)。またこの場合、DC成分値をそ
のまま符号化するのではなく、ブロック間の相関を利用
して、前ブロックのDC成分との差分値をハフマン符号化
してもよい。Reference numeral 121 denotes a fixed-length circuit unit, where each D after quantization is
The CT coefficient is divided into a DC component (DC component) and an AC component (AC component), and the DC component is Huffman-encoded by a Huffman encoding circuit 116 by a DC component Huffman table 115 (FIG. 4, step 1). . Further, in this case, instead of encoding the DC component value as it is, a difference value between the DC component of the previous block and the DC component of the previous block may be encoded using Huffman encoding.
一方、AC成分については、各ブロック毎に量子化され
た係数値に対するAC用ハフマンテーブル118と0ラン
(ランレングス)に対する0ラン用ハフマンテーブル11
9を用いてハフマン符号化する。この際、例えば第2図
に示す様に変換係数のAC成分を低域の方からジグザグス
キャン(IEEE Trans.COM−32,No.3.1984参照)で伝送す
る場合に、実際に伝送すべき計数値が20,30,50,25,10,1
5,…と並んでおり、それらの間に0ランがAC係数のう
ち、0が連続している部分)が存在しているとする。固
定長符号化回路117では、まず、これらの0でないAC成
分値と0ランをすべて伝送すると仮定した場合に要する
ビット係数N1をまず計算する(第4図ステップ2)。こ
のビット数N1が予めビット配分決定回路112で定められ
たこのブロックに割り当てられた符号化ビット係数Xに
対し、X≧N1であればそのまま符号化するが、X<N1で
ある場合(第4ステップ3)には第3図に示すように0
以外の絶対値最小係数(この例では10)を0とする(第
4図ステップ4)。従ってAC成分値25から15までは1つ
の0ランとなり、しかも10という値のAC成分は伝送され
ないことになる。この状態で、このブロックの符号化ビ
ット係数N2を再び計算する。On the other hand, regarding the AC component, the Huffman table for AC 118 for the coefficient value quantized for each block and the Huffman table for 0 run 11 for the 0 run (run length).
Huffman coding is performed using 9. At this time, for example, as shown in FIG. 2, when the AC component of the transform coefficient is transmitted by zigzag scan (see IEEE Trans.COM-32, No. 3.1984) from the lower band, the count value to be actually transmitted Is 20,30,50,25,10,1
It is assumed that there is a portion where AC runs of 0 run exist between them. In the fixed-length coding circuit 117, first, these first calculates the bit coefficients N 1 necessary for assuming all transmitting AC component value and zero-run non-zero (Fig. 4 step 2). If the number of bits N 1 is X ≧ N 1 with respect to the coded bit coefficient X assigned to this block determined in advance by the bit allocation determination circuit 112, the coding is performed as it is, but if X <N 1 (Fourth step 3) includes 0 as shown in FIG.
The absolute value minimum coefficient (10 in this example) other than the above is set to 0 (Step 4 in FIG. 4). Therefore, the AC component values 25 to 15 constitute one zero run, and the AC component having the value of 10 is not transmitted. In this state, re-calculate the encoded bit coefficient N 2 of this block.
以上の操作をくり返し、最終的にこのブロックの符号
化ビット数NiがX≧Niとなった段階でそれらの係数と0
ランをそれぞれハフマン符号で伝送する。The above operation is repeated, and finally, when the number of encoded bits Ni of this block becomes X ≧ Ni, those coefficients and 0
Each run is transmitted in Huffman code.
なお、ここではブロックの符号化ビット数NiをX以下
にする手法としてAC成分値の小さなものから消去してい
く手法を用いたが、再生画の主観評価を考慮して高周波
成分から順に消去する手法等も考えられる。また、消去
法ではなく、AC成分値の大きなものから順に伝送してい
く方法、あるいは低周波成分から順に伝送していく方法
によってXになったところで伝送をやめるという手法も
可能である。Here, as a method of reducing the number of encoded bits Ni of the block to X or less, a method of erasing small AC component values is used, but erasing is performed in order from high-frequency components in consideration of subjective evaluation of reproduced images. Techniques are also conceivable. In addition, instead of the erasure method, a method of transmitting the AC component value in descending order or a method of transmitting the low frequency component in order may be used to stop the transmission at X.
ここで、ブロック毎の固定長符号化を行なう際に、あ
るブロックについてX>Niとなった場合(つまり、実際
の割り当てビット数に対してX−Niビットだけ余りが出
た場合)に、X−Niビット次のブロックの割り当てビッ
トに加算してから次ブロック符号化を行う方法を採って
もよい。つまり、次ブロックの割り当てビット数を今Xa
とすると第4図ステップ3で求められたNiからXa+(X
−Ni)を新たにXaとし(ステップ5)1ブロックの処理
を終了する。このようにすると、限られたビット内で有
効なビット配分ができる。なお、このブロックごとの情
報はEOB(エンド・オブ・ブロック)信号を伝送するこ
とによって区切られる。ハフマン符号化回路116,固定符
号化回路117でハフマン符号化されたDC成分及びAC成分
は多重化回路120で多量化され、受信側へ伝送される。Here, when performing fixed-length encoding for each block, if X> Ni for a certain block (that is, X-Ni bits are left over the actual number of allocated bits), X A method may be employed in which the next block is encoded after adding to the assigned bits of the next block. In other words, the number of bits allocated to the next block is now Xa
Then, from the Ni obtained in step 3 in FIG. 4, Xa + (X
-Ni) is newly set as Xa (step 5), and the processing of one block is ended. In this way, effective bit allocation can be performed within limited bits. Note that the information for each block is separated by transmitting an EOB (end of block) signal. The DC and AC components Huffman-coded by the Huffman coding circuit 116 and the fixed coding circuit 117 are multiplied by the multiplexing circuit 120 and transmitted to the receiving side.
なお、送信側の前半部分の処理においては、ブロック
分離回路110から量子化回路114までの順序は第11図に示
す様に、まずブロック分離回路110でブロックに分離さ
れた後DCT113で離散コサイン変換を施し、その後発生情
報量計算回路111においてDCT係数の全部、あるいは一部
(たとえば交流成分すべて、あるいは第12図の変換面ブ
ロック図の交流成分のうちの中域周波数部分701)を用
いて発生情報量を計算し、ビット配分決定回路112で各
ブロックごとのビット配分を決定する手段も考えられ
る。In the processing of the first half of the transmitting side, the order from the block separation circuit 110 to the quantization circuit 114 is first separated into blocks by the block separation circuit 110 and then by the discrete cosine transform by the DCT 113 as shown in FIG. After that, the generated information amount calculation circuit 111 generates all or part of the DCT coefficients (for example, all of the AC components, or the middle frequency portion 701 of the AC components of the AC component block diagram in FIG. 12). Means of calculating the information amount and determining the bit allocation for each block by the bit allocation determining circuit 112 may be considered.
送信側から多重化され伝送された信号はまず受信側の
分離回路122においてAC成分とDC成分に分離された復号
部123に入力される。ここでは一方のDC成分が送信側と
同じDC用ハフマンテーブル124に基づいてハフマン復号
化回路125で復号化され、他方のAC成分は送信側と同じA
C用ハフマンテーブル127,0ラン用ハフマンテーブル128
の基に復号化回路126で復号化される。復号化されたDC
成分、AC成分は合成回路129で合成され逆量子化回路130
で逆量子化される。この信号はさらに逆離散コサイン変
換131で送信側とは逆の変換が施され、フレーム合成回
路132で各ブロックがフレーム合成され、元の信号に戻
されて表示装置(CRT等)に送信された信号が表示され
る。なお、この様な送受信装置はおもに静止画伝送に適
している方式である。The signal multiplexed and transmitted from the transmitting side is first input to the decoding unit 123, which is separated into an AC component and a DC component by the separating circuit 122 on the receiving side. Here, one DC component is decoded by the Huffman decoding circuit 125 based on the same DC Huffman table 124 as the transmitting side, and the other AC component is the same A as the transmitting side.
Huffman table for C 127,0 Run Huffman table 128
Is decoded by the decoding circuit 126 based on Decrypted DC
The component and the AC component are combined by the combining circuit 129 and the inverse quantization circuit 130
Is inversely quantized. This signal is further subjected to an inverse discrete cosine transform 131, which is the inverse of the conversion on the transmitting side, and each block is frame-synthesized by a frame synthesizing circuit 132, returned to the original signal, and transmitted to a display device (CRT or the like). A signal is displayed. It should be noted that such a transmission / reception device is a system mainly suitable for still image transmission.
第1図に示す上記の発生情報量計算回路111について
詳しく説明する。ここでは上述したように各ブロック毎
の発生情報量を画素値中の最大値と最小値との差により
計算される方法について第13図及び第14図を用いて説明
する。第13図は本回路の構成図、第14図はフロー図であ
る。前段のブロック分割回路110からの信号は、ブロッ
ク内画素値比較回路701において画素値が順に比較され
昇べきあるいは降べき順に並べられる(ステップ1)。
ブロック分割回路からのブロック信号によりブロックの
終りが知らされると直ちに1ブロックの最大画素値、最
小画素値が各々回路702,703で選択されこれらの差aが
減算回路704において計算(Max−Min=a)される(ス
テップ2)。1ブロックのaが求められるとこの値がメ
モリ705に格納される(ステップ3)。この操作が1フ
レームの各ブロックについて行われ1フレーム分の処理
が終了した時点(ステップ4)で演算706において上記
最大画素値・最小画素値の差ai(i−=1,…,N;Nは1フ
レーム内のブロック数)の加算値A が演算され各ブロック毎に (i=1,…,N)が後段のビット配分決定回路に送られ
る。ここで各ブロックのビットbiの割当てが行われる( i=1,…,N;Bは1フレーム全ビット数、尚Bは上記選択
回路により可変である)。The above-described generated information amount calculation circuit 111 shown in FIG. 1 will be described in detail. Here, a method of calculating the amount of generated information for each block based on the difference between the maximum value and the minimum value in the pixel values as described above will be described with reference to FIGS. 13 and 14. FIG. 13 is a block diagram of this circuit, and FIG. 14 is a flowchart. The signals from the preceding block division circuit 110 are compared in order in the pixel value in the in-block pixel value comparison circuit 701 and are arranged in ascending or descending order (step 1).
As soon as the end of the block is notified by the block signal from the block dividing circuit, the maximum pixel value and the minimum pixel value of one block are selected by the circuits 702 and 703, respectively, and their difference a is calculated by the subtraction circuit 704 (Max-Min = a). ) (Step 2). When a of one block is obtained, this value is stored in the memory 705 (step 3). When this operation is performed for each block of one frame and the processing for one frame is completed (step 4), the difference ai (i− = 1,..., N; N) between the maximum pixel value and the minimum pixel value is calculated in operation 706. Is the number of blocks in one frame). Is calculated for each block. (I = 1,..., N) are sent to the subsequent bit allocation determination circuit. Here, the bit bi of each block is assigned ( i = 1,..., N; B is the total number of bits in one frame, and B is variable by the selection circuit.
次に本発明の別の実施例について説明する。 Next, another embodiment of the present invention will be described.
第5図は本発明の別の一実施例の送信側のブロック図
である。ブロック分割回路301で入力画像がブロック
(例えば8×8、あるいは16×16等)に分割され、減算
回路302では予測器312で予測された信号との差分(予測
誤差)が算出される。なお、予測器での処理としては、
動き補償、フレーム間予測、フレーム内予測、背景メモ
リを用いた予測等の処理が考えられる。差分信号は有意
ブロック判定回路303に送られ、ここで予め定められた
スレッショルド以上の値(例えばブロック内の平均輝度
値が4以上等)を持つもののみが有意ブロックとして伝
送対象となる。ビット配分回路304では一画面内の有意
ブロックすべてについてそのブロック内の情報量を算出
し、一画面を符号化するために予め定められている符号
化ビット数をその情報量に応じて分配することにより各
ブロック毎の符号化ビット数を決定する。その後、各有
意ブロックごとに符号化回路305で符号化(例えばDCT)
され、量子化器306で量子化された後、固定長化回路307
で、第1図における固定長符号化回路121での処理と同
様な手順により固定長化を行なう。その後この信号は逆
量子化回路308で逆量子化され、復号化回路309で復号化
された後、加算回路310で予測器312からの予測信号と加
算され再生ブロックがつくられ、フレームメモリ311内
に格納される。FIG. 5 is a block diagram on the transmitting side according to another embodiment of the present invention. An input image is divided into blocks (for example, 8 × 8 or 16 × 16) by a block dividing circuit 301, and a difference (prediction error) from a signal predicted by a predictor 312 is calculated by a subtraction circuit 302. In addition, as processing in the predictor,
Processing such as motion compensation, inter-frame prediction, intra-frame prediction, and prediction using a background memory can be considered. The difference signal is sent to the significant block determination circuit 303, and only a signal having a value equal to or greater than a predetermined threshold (for example, an average luminance value in the block of 4 or more) is transmitted as a significant block. The bit allocation circuit 304 calculates the amount of information in all significant blocks in one screen, and distributes a predetermined number of coded bits for encoding one screen in accordance with the amount of information. To determine the number of coded bits for each block. After that, each significant block is encoded by the encoding circuit 305 (for example, DCT).
After being quantized by the quantizer 306, the fixed length circuit 307
Then, the fixed-length encoding is performed in the same procedure as the processing in the fixed-length encoding circuit 121 in FIG. Thereafter, this signal is inversely quantized by an inverse quantization circuit 308, decoded by a decoding circuit 309, added to a prediction signal from a predictor 312 by an addition circuit 310 to form a reproduction block, and stored in a frame memory 311. Is stored in
なお、符号化に際してベクトル量子化(VQ)を用いる
場合は、第5図の点線部分を第6図の様に変更すれば良
い。つまり大きさの異なるコードブロックC1,C2,…,CN
を複数個用意したマクロコードブロック403を利用し、
ビット配分回路401で決定されたビット数に最も近いビ
ット数で表わされる大きさのコードブロックあるいはビ
ット配分回路401で決定されたビット数以下で表わされ
るコードブックの中の最大ビットのコードブックをマク
ロコードブロック403の中から選択し、そのコードブッ
クを用いてベクトル量子化回路402でベクトル量子化(V
Q)を行なう。ただしこの場合C1,C2,…,CNのいずれのコ
ードブックを用いたかの情報を受信側に伝送する必要が
ある。When vector quantization (VQ) is used for encoding, the dotted line in FIG. 5 may be changed as shown in FIG. That is, code blocks C 1 , C 2 ,…, C N of different sizes
Using the macro code block 403 prepared a plurality of
A code block of a size represented by the number of bits closest to the number of bits determined by the bit allocation circuit 401 or a codebook of the largest bit in the codebook represented by the number of bits equal to or less than the number of bits determined by the bit allocation circuit 401 A code block is selected from the code blocks 403, and the vector quantization circuit 402 performs vector quantization (V
Perform Q). However, in this case C 1, C 2, ..., it is necessary to transmit or information using any of the codebook C N to the receiver.
第5図で説明した方式はおもに動画像の符号化に用い
られる方式である。The method described with reference to FIG. 5 is a method mainly used for coding moving images.
次に本発明に係るその他の実施例について第7図乃至
第10図を用いて説明す。まず第7図はこの実施例に関す
る送信側のブロック図である。ブロック分割回路501及
び発生情報計算回路502については第1図で説明したも
のと同じである。発生情報量計算回路502によってブロ
ック内の情報量(アクティビティ)が計算されるとこの
情報量の信号が順次メモリ503に1フレーム分記憶され
て行く。又、この信号はソーティング計算部504にも入
力され1フレーム分の信号がソーティングされ(ステッ
プ1)、最大値記憶部505,最小値記憶部506に各々最大
値最小値が更新して記憶される。フレーム単位で求めら
れたこれらの値を用いグラス作成部507において例えば
最大値最小値の間を4分割するクラスを作成する。4つ
のクラスが定義されるとクラス分類部508において1フ
レーム分の各ブロックの情報量が記憶されたメモリ503
から読み出され上記4つのクラス、クラス1〜クラス4
に各ブロックが分類分けされる。この様子は第9図に示
すように1フレーム分の各ブロック521が1〜4のクラ
スに分類分けされる。Next, another embodiment according to the present invention will be described with reference to FIGS. 7 to 10. FIG. FIG. 7 is a block diagram on the transmitting side according to this embodiment. The block division circuit 501 and the generation information calculation circuit 502 are the same as those described in FIG. When the amount of information (activity) in the block is calculated by the generated information amount calculation circuit 502, signals of this information amount are sequentially stored in the memory 503 for one frame. This signal is also input to a sorting calculation unit 504, a signal for one frame is sorted (step 1), and the maximum value and minimum value are updated and stored in the maximum value storage unit 505 and the minimum value storage unit 506, respectively. . Using these values obtained for each frame, the glass creation unit 507 creates, for example, a class that divides the interval between the maximum value and the minimum value into four. When four classes are defined, the class classifying unit 508 stores the information amount of each block for one frame in the memory 503.
Read from the above four classes, class 1 to class 4
Each block is classified. In this situation, as shown in FIG. 9, each block 521 for one frame is classified into classes 1 to 4.
クラス分類部508からのグラス情報(1〜4)によっ
てビット配分決定回路511により予め設定された4つの
ビット配分の内の1つが選択される。このビット配分決
定回路511からのビット配分情報(ビット数)を基に、
符号化回路510においてクラス分類部508からの各ブロッ
クの情報のAC成分が符号化される。又ハフマン符号化回
路509においてDC成分が符号化される。符号化について
は第1図において説明したものと同様である。これらの
情報は上記したものと同様多重化回路512によって多量
化され伝送される。One of four preset bit allocations is selected by the bit allocation determining circuit 511 according to the glass information (1 to 4) from the class classification unit 508. Based on the bit allocation information (number of bits) from the bit allocation determination circuit 511,
In the encoding circuit 510, the AC component of the information of each block from the class classification unit 508 is encoded. In the Huffman coding circuit 509, the DC component is coded. The encoding is the same as that described in FIG. Such information is multiplied and transmitted by the multiplexing circuit 512 in the same manner as described above.
上記ビット配分決定回路511について第10図を用いて
説明する。前段のクラス分類部によって決定された分類
情報によりスイッチ530及び533の1〜4が設定される。
例えばクラスi(i=1…4)が選択されるとビット配
分部531の情報Xi(=i/10,(i=1…4))を用いビッ
ト配分計算部532においてブロック毎のビット配分bi(b
i=B・Xi/Ni;Bは1フレームの総符号化ビット数、Ni
(i=1,…,4)は各クラスに分類されたブロックの個
数)が計算され各ブロックのビット配分biが次段の符号
化回路へ出力される。尚、回路531及び532は予め計算さ
れていてもよいが、本例は外部より1フレームの総符号
化ビット数Bが可変である場合に有効である。The bit allocation determination circuit 511 will be described with reference to FIG. Switches 1 to 4 of switches 530 and 533 are set according to the classification information determined by the preceding class classification unit.
For example, when the class i (i = 1... 4) is selected, the bit allocation calculation unit 532 uses the information Xi (= i / 10, (i = 1... 4)) of the bit allocation unit 531 and the bit allocation bi for each block. (B
i = B · Xi / Ni; B is the total number of coded bits in one frame, Ni
(Where i = 1,..., 4) is the number of blocks classified into each class), and the bit allocation bi of each block is output to the encoding circuit in the next stage. The circuits 531 and 532 may be calculated in advance, but this example is effective when the total number of encoded bits B per frame is variable from outside.
これにより設定されたビット数で符号化できしかもこ
のビット数の範囲内で符号化誤差のかたよりを極力抑え
た良好な再生画が得られる。As a result, it is possible to perform encoding with the set number of bits, and to obtain a good reproduced image in which the degree of encoding error is minimized within the range of the number of bits.
[発明の効果] 以上本発明によれば、予め定められた符号化ビット数
の範囲内で一画面の符号化処理が可能となり、しかも発
生情報量の多い部分に多くのビット配分がなされる様な
適応的ビット配分となるため、画面内の局所的性質によ
って符号化誤差のかたよりが発生するのを極力おさえる
ことが可能であり、主観評価によっても良好な再生画を
得ることができる。[Effects of the Invention] As described above, according to the present invention, it is possible to perform encoding processing of one screen within a predetermined range of the number of encoded bits, and to allocate a large number of bits to a portion with a large amount of generated information. Since adaptive bit allocation is performed, it is possible to minimize occurrence of coding error due to local characteristics in a screen, and a good reproduced image can be obtained even by subjective evaluation.
第1図は本発明の実施例を示したブロック図、第2図は
DCTを行なった後の変換面の様子を示した図、第3図は
固定長化処理を行なうことによって0以外の絶対値最小
係数が0で置き変えられたことを説明している図、第4
図は一ブロック単位での固定長化処理のアルゴリズムを
説明したフローチャート、第5図,第6図は本発明の他
の実施例を示したブロック図、第7図は本発明のその他
の実施例を示したブロック図、第8図は第7図を説明す
るためのフローチャート、第9図はクラス分けを説明す
るための図、第10図は第7図の構成を説明するための
図、第11図は第1図の構成の変形例を説明するためのブ
ロック図、第12図は変換面ブロック図、第13図は発生情
報量計算回路を示すブロック図、第14図は第13図を説明
するためのフローチャートである。 121……固定長化処理部, 200……変換面ブロック, 201……直流成分, 202……交流成分, 203……交流成分係数の中で0以外の最も小さな値の係
数, 204……0で置きかえられた交流成分係数, 205……0ラン, 403……複数のコードブックを備えているマクロコード
ブック。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG.
FIG. 3 is a diagram showing a state of a conversion surface after performing DCT, and FIG. 3 is a diagram for explaining that absolute value minimum coefficients other than 0 are replaced with 0 by performing fixed length processing. 4
FIG. 5 is a flowchart for explaining an algorithm of the fixed length processing in units of one block, FIGS. 5 and 6 are block diagrams showing another embodiment of the present invention, and FIG. 7 is another embodiment of the present invention. , FIG. 8 is a flowchart for explaining FIG. 7, FIG. 9 is a diagram for explaining the classification, FIG. 10 is a diagram for explaining the configuration of FIG. 11 is a block diagram for explaining a modification of the configuration of FIG. 1, FIG. 12 is a block diagram of a conversion plane, FIG. 13 is a block diagram showing a generated information amount calculation circuit, and FIG. 14 is a block diagram of FIG. It is a flowchart for explaining. 121: fixed length processing unit, 200: conversion surface block, 201: DC component, 202: AC component, 203: coefficient of the smallest value other than 0 among the AC component coefficients, 204: 0 AC component coefficient replaced by 205,... 0 run, 403... Macro codebook with multiple codebooks.
Claims (8)
ロック毎の発生符号量に相当する画像の局所的性質を求
め、当該入力画像を符号化するための総符号化ビット数
を前記画像の局所的性質の分布に応じて各ブロックに割
り当てた後、それぞれのブロックに割り当てられた符号
化ビット数に従ってブロック毎の画像を直交変換符号化
する画像符号化方式において、 ブロック毎の画像を直交変換した後、変換係数の直流成
分の値及び高周波成分の値のうち値の大きいものから優
先的に前記ブロック毎に割り当てられた符号化ビット数
を使用することにより、発生符号量が各ブロックに割り
当てられた符号化ビット数に収まるよう変換係数を選択
することを特徴とする画像符号化方式。1. A local characteristic of an image corresponding to a generated code amount of each block of an input image divided into a plurality of blocks is obtained, and a total number of coding bits for coding the input image is determined. In an image coding method in which an image of each block is orthogonally transformed according to the number of coding bits allocated to each block after being allocated to each block according to the distribution of local properties, an image of each block is orthogonally transformed. After that, the generated code amount is allocated to each block by preferentially using the number of coded bits allocated to each block from the larger value of the DC component value and the high frequency component value of the transform coefficient. An image coding method, wherein a transform coefficient is selected so as to be within the number of coding bits obtained.
ロック毎の発生符号量に相当する画像の局所的性質を求
め、当該入力画像を符号化するための総符号化ビット数
を前記画像の局所的性質の分布に応じて各ブロックに割
り当てた後、それぞれのブロックに割り当てられた符号
化ビット数に従ってブロック毎の画像を直交変換符号化
する画像符号化方式において、 ブロック毎の画像を直交変換した後、変換係数の各周波
数成分のうち周波数の低い成分の値から優先的に前記ブ
ロックに割り当てられた符号化ビット数を使用すること
により、発生符号量が各ブロックに割り当てられた符号
化ビット数に収まるよう変換係数を選択することを特徴
とする画像符号化方式。2. A local characteristic of an image corresponding to a generated code amount for each block of an input image divided into a plurality of blocks, and the total number of coding bits for encoding the input image is determined. In an image coding method in which an image of each block is orthogonally transformed according to the number of coding bits allocated to each block after being allocated to each block according to the distribution of local properties, an image of each block is orthogonally transformed. After that, by using the number of coded bits assigned to the block preferentially from the value of the low-frequency component of each frequency component of the transform coefficient, the generated code amount is assigned to each block. An image coding method characterized in that transform coefficients are selected so as to fall within a number.
ロック毎の発生符号量に相当する画像の局所的性質を求
め、当該入力画像を符号化するための総符号化ビット数
を前記画像の局所的性質の分布に応じて各ブロックに割
り当てた後、それぞれのブロックに割り当てられた符号
化ビット数に従ってブロック毎の画像を直交変換符号化
する画像符号化方式において、 ブロック毎の画像を直交変換した後、変換係数の直流成
分の値及び高周波成分の値のうち値の小さいものを順に
除いて前記ブロック毎に割り当てられた符号化ビット数
を使用することにより、発生符号量が各ブロックに割り
当てられた符号化ビット数に収まるよう変換係数を選択
することを特徴とする画像符号化方式。3. A local property of an image corresponding to a generated code amount for each block of an input image divided into a plurality of blocks is obtained, and a total number of coding bits for coding the input image is determined. In an image coding method in which an image of each block is orthogonally transformed according to the number of coding bits allocated to each block after being allocated to each block according to the distribution of local properties, an image of each block is orthogonally transformed. After that, by removing the DC component value and the high frequency component value of the transform coefficient in order from the smaller value, the generated code amount is assigned to each block by using the number of coded bits assigned to each block. An image coding method, wherein a transform coefficient is selected so as to be within the number of coding bits obtained.
ロック毎の発生符号量に相当する画像の局所的性質を求
め、当該入力画像を符号化するための総符号化ビット数
を前記画像の局所的性質の分布に応じて各ブロックに割
り当てた後、それぞれのブロックに割り当てられた符号
化ビット数に従ってブロック毎の画像を直交変換符号化
する画像符号化方式において、 ブロック毎の画像を直交変換した後、変換係数の直流成
分の値及び高周波成分の値のうち周波数の高い成分の値
を順に除いて前記ブロック毎に割り当てられた符号化ビ
ット数を使用することにより、発生符号量が各ブロック
に割り当てられた符号化ビット数に収まるよう変換係数
を選択することを特徴とする画像符号化方式。4. A local property of an image corresponding to a generated code amount for each block of an input image divided into a plurality of blocks, and a total number of coding bits for coding the input image is determined. In an image coding method in which an image of each block is orthogonally transformed according to the number of coding bits allocated to each block after being allocated to each block according to the distribution of local properties, an image of each block is orthogonally transformed. Then, by using the number of coded bits allocated to each block except for the value of the DC component of the transform coefficient and the value of the high-frequency component in order of the value of the high-frequency component, the generated code amount is reduced for each block. An image coding method characterized in that a transform coefficient is selected so as to be within the number of coding bits assigned to.
画像毎の絵柄の細かさの度合に相当する入力画像の局所
的性質に応じて、当該入力画像を符号化するために予め
定められた総符号化ビット数を各部分画像に割り当てた
後、それぞれの部分画像に割り当てられた符号化ビット
数に従って部分画像を直交変換符号化する画像符号化方
式において、 部分画像を直交変換した後、変換係数の直流成分の値及
び高周波成分の値のうち値の大きいものから優先的に選
択して、出力すべき符号量が各部分画像に割り当てられ
た符号化ビット数を越えないよう選択的に変換係数を符
号化することを特徴とする画像符号化方式。5. A method according to claim 1, wherein the input image is divided into a plurality of partial images, and predetermined to encode the input image in accordance with local characteristics of the input image corresponding to the degree of fineness of a picture for each partial image. After allocating the total number of coded bits to each partial image, and then orthogonally transforming the partial image in the image coding method of orthogonally transform-encoding the partial image according to the number of coded bits allocated to each partial image, , Which is preferentially selected from the DC component value and the high-frequency component value of the transform coefficient having a larger value, so that the amount of code to be output does not exceed the number of coded bits assigned to each partial image. An image coding method characterized by coding a transform coefficient.
画像毎の絵柄の細かさの度合に相当する入力画像の局所
的性質に応じて、当該入力画像を符号化するために予め
定められた総符号化ビット数を各部分画像に割り当てた
後、それぞれの部分画像に割り当てられた符号化ビット
数に従って部分画像を直交変換符号化する画像符号化方
式において、 部分画像を直交変換した後、変換係数の各周波数成分の
うち周波数の低い成分の値から優先的に選択して、出力
すべき符号量が各部分画像に割り当てられた符号化ビッ
ト数を越えないよう選択的に変換係数を符号化すること
を特徴とする画像符号化方式。6. A method for dividing an input image into a plurality of partial images and determining the input image in advance in accordance with local characteristics of the input image corresponding to the degree of fineness of a pattern for each partial image. After allocating the total number of coded bits to each partial image, and then orthogonally transforming the partial image in the image coding method of orthogonally transform-encoding the partial image according to the number of coded bits allocated to each partial image, Of the frequency components of the transform coefficients are preferentially selected from the values of the low frequency components, and the transform coefficients are selectively selected so that the amount of code to be output does not exceed the number of coding bits allocated to each partial image. An image encoding method characterized by encoding.
画像毎の絵柄の細かさの度合に相当する入力画像の局所
的性質に応じて、当該入力画像を符号化するために予め
定められた総符号化ビット数を各部分画像に割り当てた
後、それぞれの部分画像に割り当てられた符号化ビット
数に従って部分画像を直交変換符号化する画像符号化方
式において、 部分画像を直交変換した後、変換係数の直流成分の値及
び高周波成分の値のうち値の小さいものを順に除いて変
換係数を選択することにより、出力すべき符号量が各部
分画像に割り当てられた符号化ビット数を越えないよう
選択的に変換係数を符号化することを特徴とする画像符
号化方式。7. An input image is divided into a plurality of partial images, and predetermined to encode the input image according to a local property of the input image corresponding to a degree of fineness of a picture for each partial image. After allocating the total number of coded bits to each partial image, and then orthogonally transforming the partial image in the image coding method of orthogonally transform-encoding the partial image according to the number of coded bits allocated to each partial image, By selecting a transform coefficient by removing the DC component value and the high-frequency component value of the transform coefficient in order from the smallest value, the code amount to be output exceeds the number of encoded bits assigned to each partial image. An image coding method characterized in that transform coefficients are selectively coded so as not to exist.
画像毎の絵柄の細かさの度合に相当する入力画像の局所
的性質に応じて、当該入力画像を符号化するために予め
定められた総符号化ビット数を各部分画像に割り当てた
後、それぞれの部分画像に割り当てられた符号化ビット
数に従って部分画像を直交変換符号化する画像符号化方
式において、 部分画像を直交変換した後、変換係数の直流成分の値及
び高周波成分の値のうち周波数の高い成分の値から順に
除いて変換係数を選択することにより、出力すべき符号
量が各部分画像に割り当てられた符号化ビット数を越え
ないよう選択的に変換係数を符号化することを特徴とす
る画像符号化方式。8. An input image is divided into a plurality of partial images, and predetermined to encode the input image according to a local property of the input image corresponding to a degree of fineness of a picture for each partial image. After allocating the total number of coded bits to each partial image, and then orthogonally transforming the partial image in the image coding method of orthogonally transform-encoding the partial image according to the number of coded bits allocated to each partial image, By selecting the transform coefficient by sequentially removing the DC component value and the high-frequency component value of the transform coefficient from the value of the higher frequency component, the code amount to be output is the number of coded bits assigned to each partial image. An image coding method characterized in that transform coefficients are selectively coded so as not to exceed.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22641588A JP2908459B2 (en) | 1988-07-27 | 1988-09-12 | Image coding method |
US07/385,437 US4984076A (en) | 1988-07-27 | 1989-07-26 | Image compression coding system |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63-185513 | 1988-07-27 | ||
JP18551388 | 1988-07-27 | ||
JP22641588A JP2908459B2 (en) | 1988-07-27 | 1988-09-12 | Image coding method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH02124690A JPH02124690A (en) | 1990-05-11 |
JP2908459B2 true JP2908459B2 (en) | 1999-06-21 |
Family
ID=26503150
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP22641588A Expired - Lifetime JP2908459B2 (en) | 1988-07-27 | 1988-09-12 | Image coding method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2908459B2 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03129987A (en) * | 1989-10-14 | 1991-06-03 | Sony Corp | Method for coding video signal |
DE69126396T2 (en) * | 1990-10-25 | 1997-12-18 | Matsushita Electric Ind Co Ltd | Video signal recording and reproducing apparatus |
JP2883449B2 (en) * | 1990-12-27 | 1999-04-19 | 株式会社東芝 | Recording device |
JPH04358486A (en) * | 1991-06-04 | 1992-12-11 | Toshiba Corp | High efficiency code signal processing unit |
JP2012160985A (en) * | 2011-02-02 | 2012-08-23 | Fuji Xerox Co Ltd | Information processor and information processing program |
JP6672363B2 (en) * | 2018-03-23 | 2020-03-25 | シャープ株式会社 | Encoding device, display device, encoding device control method, and control program |
-
1988
- 1988-09-12 JP JP22641588A patent/JP2908459B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH02124690A (en) | 1990-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3699425B2 (en) | Image compression method and system with adaptive block size | |
US4984076A (en) | Image compression coding system | |
JP5107495B2 (en) | Quality-based image compression | |
KR100197385B1 (en) | Motion Video Compression System with Buffer Empty / Fill Look-Ahead Bit Allocator | |
JP3109854B2 (en) | Image coding method and apparatus | |
KR0184905B1 (en) | Code amount control device and encoding apparatus using the same | |
EP0857394B1 (en) | Apparatus and method for optimizing the rate control in a coding system | |
US6912255B2 (en) | Bit rate control through selective modification of DCT coefficients | |
US5638126A (en) | Method and apparatus for deciding quantization parameter | |
EP0861003B1 (en) | Code-amount control device and video coding device including the code-amount control device | |
KR20040018400A (en) | Dct compression using golomb-rice coding | |
JPH09172634A (en) | Video data compression method | |
JPH09307904A (en) | Quantizer for video signal coding system | |
JPH05276501A (en) | Method for variable-length-compressing adaptive video and device therefor | |
US5748244A (en) | Adaptive runlength coding based on zero and non-zero subblocks | |
JP2003018599A (en) | Method and apparatus for encoding image | |
JP3067628B2 (en) | Image coding device | |
US6205254B1 (en) | Image coding apparatus and method, and image decoding apparatus and method | |
US5822000A (en) | Video encoding using rearrangement of transform coefficients and inter-block correlation | |
JP2908459B2 (en) | Image coding method | |
JP2914549B2 (en) | Image coding method | |
US5724096A (en) | Video signal encoding method and apparatus employing inter-block redundancies | |
JPH09149412A (en) | Video data compression method | |
JP2841197B2 (en) | Method of compressing gradation image data | |
JPH0388488A (en) | Picture coding system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080402 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090402 Year of fee payment: 10 |
|
EXPY | Cancellation because of completion of term | ||
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090402 Year of fee payment: 10 |