JPH0681307B2 - Orthogonal transform coding method for image data - Google Patents
Orthogonal transform coding method for image dataInfo
- Publication number
- JPH0681307B2 JPH0681307B2 JP61058803A JP5880386A JPH0681307B2 JP H0681307 B2 JPH0681307 B2 JP H0681307B2 JP 61058803 A JP61058803 A JP 61058803A JP 5880386 A JP5880386 A JP 5880386A JP H0681307 B2 JPH0681307 B2 JP H0681307B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- image data
- sequence
- code length
- transform
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T9/00—Image coding
- G06T9/004—Predictors, e.g. intraframe, interframe coding
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
Description
【発明の詳細な説明】 (発明の分野) 本発明はデータ圧縮を目的とした画像データの符号化方
法、特に詳細には直交変換を利用した画像データの符号
化方法に関するものである。Description: FIELD OF THE INVENTION The present invention relates to an image data encoding method for data compression, and more particularly to an image data encoding method using orthogonal transformation.
(発明の技術的背景および先行技術) 例えばTV信号等、中間調画像を担持する画像信号は膨大
な情報量を有しているので、その伝送には広帯域の伝送
路が必要である。そこで従来より、このような画像信号
は冗長性が大きいことに着目し、この冗長性を抑圧する
ことによって画像データを圧縮する試みが種々なされて
いる。また最近では、例えば光ディスクや磁気ディスク
等に中間調画像を記録すること広く行なわれており、こ
の場合には記録媒体に効率良く画像信号を記録すること
を目的として画像データ圧縮が広く適用されている。(Technical Background of the Invention and Prior Art) Since an image signal carrying a halftone image, such as a TV signal, has an enormous amount of information, its transmission requires a wide band transmission line. Therefore, conventionally, attention has been paid to the fact that such an image signal has large redundancy, and various attempts have been made to compress the image data by suppressing this redundancy. Recently, it has been widely practiced to record a halftone image on, for example, an optical disk or a magnetic disk, and in this case, image data compression is widely applied for the purpose of efficiently recording an image signal on a recording medium. There is.
このような画像データ圧縮方法の一つとして、画像デー
タの直交変換を利用するものがよく知られている。この
方法は、ディジタルの2次元画像データを適当な標本数
ずつのブロックに分け、このブロック毎に標本値からな
る数値列を直交変換し、この変換により特定の成分にエ
ネルギーが集中するので、エネルギーの大きな成分は長
い符号長を割当てて符号化(量子化)し、他方低エネル
ギーの成分は短い符号長で粗く符号化することにより、
各ブロック当りの符号数を低減させるものである。上記
直交変換としては、フーリエ(Fourier)変換、コサイ
ン(Cosine)変換、アダマール(Hadamard)変換、カル
ーネンレーベ(Karhunen−Loeve)変換、ハール(Haa
r)変換等がよく用いられるが、ここでアダマール変換
を例にとって上記方法をさらに詳しく説明する。まず第
2図に示すように、ディジタルの2次元画像データを所
定の1次元方向に2個ずつ区切って上記ブロックを形成
するものとする。このブロックにおける2つの標本値x
(0)とx(1)とを直交座標系で示すと、前述のよう
にそれらは相関性が高いので、第3図に示すようにx
(1)=x(0)なる直線の近傍に多く分布することに
なる。そこでこの直交座標系を第3図図示のように45°
変換して、新しいy(0)−y(1)座標系を定める。
この座標系においてy(0)は変換前の原画像データの
低周波成分を示すものとなり、該y(0)は、x
(0)、x(1)よりもやや大きい値 をとるが、その一方原画像データの高周波成分を示すy
(1)はy(0)軸に近い非常に狭い範囲にしか分布し
ないことになる。そこで例えば上記x(0)、x(1)
の符号化にそれぞれ7ビットの符号長を必要としていた
とすると、y(0)については7ビットあるいは8ビッ
ト程度必要となるが、その一方y(1)は例えば4ビッ
ト程度の符号長で符号化できることになり、結局1ブロ
ック当りの符号長が低減され、画像データ圧縮が実現さ
れる。As one of such image data compression methods, a method using orthogonal transformation of image data is well known. In this method, the digital two-dimensional image data is divided into blocks each having an appropriate number of samples, and a numerical sequence consisting of sample values is orthogonally transformed for each block, and energy is concentrated on a specific component by this transformation. The large component of is encoded (quantized) by assigning a long code length, while the low energy component is roughly encoded with a short code length,
The number of codes per block is reduced. The orthogonal transform may be a Fourier transform, a cosine transform, a Hadamard transform, a Karhunen-Loeve transform, or a Haa transform.
Although r) transformation and the like are often used, the above method will be described in more detail here by taking the Hadamard transformation as an example. First, as shown in FIG. 2, the block is formed by dividing digital two-dimensional image data into two pieces in a predetermined one-dimensional direction. Two sample values x in this block
When (0) and x (1) are shown in an orthogonal coordinate system, they have a high correlation as described above, and therefore x as shown in FIG.
There are many distributions near the straight line (1) = x (0). Therefore, this Cartesian coordinate system is set to 45 ° as shown in Fig. 3.
Transform to define a new y (0) -y (1) coordinate system.
In this coordinate system, y (0) represents the low frequency component of the original image data before conversion, and y (0) is x
(0), a value slightly larger than x (1) However, on the other hand, y indicating the high frequency component of the original image data
(1) is distributed only in a very narrow range near the y (0) axis. So, for example, x (0), x (1) above
If a code length of 7 bits is required for each encoding of y, 0 or 7 bits are required for y (0), while y (1) has a code length of, for example, 4 bits. As a result, the code length per block is reduced, and image data compression is realized.
以上、2つの画像データ毎に1ブロックを構成する2次
の直交変換について説明したが、この次数を上げるにし
たがって特定の成分にエネルギーが集中する傾向が強く
なり、ビット数低減の効果を高めることができる。一般
的には、直交関数行列を用いることによって上記の変換
を行なうことができ、極限的には上記直交関数行列とし
て対象画像の固有関数を選べば、変換画像はその固有値
行列となり、行列の対角成分のみで元の画像を表現でき
ることになる。また上記の例は画像データを1次元方向
のみにまとめてブロック化しているが、このブロックは
2次元方向に亘るいくつかの画像データで構成してもよ
く、その場合には1次元直交変換の場合よりもより顕著
なビット数低減効果が得られる。The quadratic orthogonal transformation that forms one block for each two image data has been described above. However, as the order is increased, the energy tends to concentrate on a specific component, and the effect of reducing the number of bits is increased. You can Generally, the above transformation can be performed by using an orthogonal function matrix. In the limit, if the eigenfunction of the target image is selected as the orthogonal function matrix, the transformed image becomes the eigenvalue matrix, and the matrix pair The original image can be represented only by the corner components. Further, in the above example, the image data is grouped into blocks only in the one-dimensional direction, but this block may be composed of several image data in the two-dimensional direction. A more significant bit number reduction effect can be obtained than in the case.
上述の2次元直交変換で得られた変換データは、各ブロ
ック内で変換に利用された直交関数のシーケンシー(0
を横切る数)順に並べられる。このシーケンシーは空間
周波数と対応が有るので、各変換データは第4図に示す
ように縦横方向に周波数順に並ぶことになる。そこで低
周波成分を担う変換データ(第4図の左上方側のデー
タ)には比較的長い符号長を割当て(前述の1次元2次
直交変換においてy(0)に長い符号長を割当てたこと
と対応する)、高周波成分を担う変換データ(第4図の
右下方側のデータ)には比較的短い符号長を割当てる
か、あるいは切り捨てることにより、ブロック当りの符
号長が低減される。The transformation data obtained by the above-mentioned two-dimensional orthogonal transformation is the sequence (0) of the orthogonal functions used for transformation in each block.
(Number crossing) is arranged in order. Since this sequence corresponds to the spatial frequency, each conversion data is arranged in the order of frequency in the vertical and horizontal directions as shown in FIG. Therefore, a relatively long code length is assigned to the transform data (data on the upper left side in FIG. 4) that bears the low-frequency component (a long code length was assigned to y (0) in the above-described one-dimensional second-order orthogonal transform). The corresponding code length per block is reduced by assigning or truncating a relatively short code length to the converted data (data on the lower right side in FIG. 4) that carries the high frequency component.
ところで従来より、上記符号長の割当ては予め定められ
たパターンに従ってなされているが、あるシーケンシー
の変換データを示すのに必要な符号長は画像毎、ブロッ
ク毎に異なるので、予め定められて割当てられた符号長
では足りなくて変換データを正確に表わせない、という
事態が生じることもある。その場合は割当て符号長で表
わせる最大値あるいは最小値を符号化データとすること
になるが、そうすると当然ながら、復号、逆変換によっ
て得られる再生画像の画質が劣化することになる。この
ような符号長不足を招かないためには、予め定める割当
て符号長をそれぞれ十分に長くしておけばよいが、そう
すると画像データを十分に圧縮できなくなる。By the way, conventionally, the code length is assigned according to a predetermined pattern, but since the code length required to show conversion data of a certain sequence is different for each image and for each block, it is assigned in advance. In some cases, the code length is insufficient and the converted data cannot be represented accurately. In that case, the maximum value or the minimum value that can be represented by the assigned code length is used as the encoded data, but of course, the quality of the reproduced image obtained by decoding and inverse conversion will deteriorate. In order to prevent such a shortage of code length, it is sufficient to make the predetermined assigned code lengths sufficiently long, but if this is done, the image data cannot be compressed sufficiently.
(発明の目的) そこで本発明は、データ圧縮率を十分に高めることが可
能で、しかもその一方前述のような符号長不足による再
生画像の画質劣化を最少限に抑えうる、画像データの直
交変換符号化方法を提供することを目的とするものであ
る。(Object of the invention) Therefore, the present invention is capable of sufficiently increasing the data compression rate, and on the other hand, it is possible to minimize the deterioration of the image quality of the reproduced image due to the insufficient code length as described above. An object is to provide an encoding method.
(発明の構成) 本発明の画像データの直交変換符号化方法は、前述のよ
うにブロック毎の画像データに直交変換をかけて変換デ
ータを得、これらの変換データをそれぞれ固有の符号長
で符号化する画像データの直交変換符号化方法におい
て、 各ブロックから同一のシーケンシーに関する変換データ
を抽出して、該変換データの絶対値の平均値をシーケン
シー毎に求め、 各シーケンシーの変換データに対する符号長を、それぞ
れ上記平均値に基づいて決定するようにしたことを特徴
とするものである。(Structure of the Invention) As described above, the orthogonal transform coding method for image data according to the present invention obtains transform data by subjecting image data of each block to orthogonal transform, and codes these transform data with a unique code length. In the orthogonal transform encoding method of image data to be converted, the transform data regarding the same sequence is extracted from each block, the average value of the absolute value of the transform data is obtained for each sequence, and the code length for the transform data of each sequence is calculated. It is characterized in that each is determined based on the average value.
(実施態様) 以下、図面に示す実施態様に基づいて本発明を詳細に説
明する。(Embodiment) Hereinafter, the present invention will be described in detail based on an embodiment shown in the drawings.
第1図は本発明の画像データの直交変換符号化方法を実
施する装置を概略的に示すものである。中間調画像を示
す画像データ(原画像データ)xは、まず前処理回路10
に通され、雑音除去のための平滑化等、データ圧縮効率
を上げるための前処理を受ける。この前処理を受けた画
像データxは直交変換回路11に通され、まず2次元直交
変換を受ける。この2次元直交変換は例えば第5図に示
すように、上記画像データxが示す中間調画像F内の標
本数(画素数)MXNの矩形ブロックB毎に行なわれる。
なおこの直交変換としては、例えば前述のアダマール変
換が用いられる。このアダマール変換は、その変換マト
リクスが+1と−1のみからなるので、他の直交変換に
比べればより簡単な変換回路によって実行されうる。ま
た周知の通り2次元直交変換は1次元直交変換に縮退す
ることができる。つまり上記2次元のブロックB内のMX
N画素に関する画像データに対して縦方向に1次元直交
変換をかけ、さらに、得られたMXNの変換データに対し
て横方向に1次元直交変換をかけることによって2次元
直交変換が行なわれる。なお、縦方向、横方向の変換の
順序は逆であってもよい。FIG. 1 schematically shows an apparatus for carrying out the orthogonal transform coding method for image data according to the present invention. The image data (original image data) x indicating the halftone image is first obtained by the preprocessing circuit 10.
And undergoes preprocessing such as smoothing for noise removal to improve data compression efficiency. The image data x subjected to this pre-processing is passed through the orthogonal transformation circuit 11 and first subjected to two-dimensional orthogonal transformation. This two-dimensional orthogonal transformation is performed for each rectangular block B of the number of samples (number of pixels) MXN in the halftone image F indicated by the image data x, as shown in FIG. 5, for example.
As the orthogonal transform, for example, the Hadamard transform described above is used. This Hadamard transform can be executed by a simpler transform circuit than other orthogonal transforms because its transform matrix consists of only +1 and -1. Further, as is well known, the two-dimensional orthogonal transform can be degenerated into the one-dimensional orthogonal transform. In other words, the MX in the above two-dimensional block B
Two-dimensional orthogonal transformation is performed by subjecting image data relating to N pixels to one-dimensional orthogonal transformation in the vertical direction and further subjecting the obtained transformed data of MXN to one-dimensional orthogonal transformation in the horizontal direction. The order of conversion in the vertical direction and the conversion in the horizontal direction may be reversed.
上記の2次元直交変換によって得られた変換データy
は、第4図に示すように各ブロック内Bで、上記直交変
換の基になった関数(例えばアダマール変換にあっては
Walsh関数、フーリエ変換にあっては三角関数等)のシ
ーケンシー順に縦横方向に並べられる。前述のようにこ
のシーケンシーは空間周波数と対応しているので、変換
データyは上記ブロックB内で、縦横方向に空間周波数
順に(つまり画像のディテール成分の粗密の順に)並べ
られることになる。なおこの第4図では、最上行左端列
の変換データy(1,1)がシーケンシー0(ゼロ)に対
応するものであり、周知のようにこの変換データy(1,
1)はブロックB内の平均画像濃度を示すものとなる。Transformation data y obtained by the above two-dimensional orthogonal transformation
Is the function that is the basis of the above orthogonal transformation in each block B as shown in FIG. 4 (for example, in the Hadamard transformation,
Walsh function, in the Fourier transform, trigonometric functions, etc.) are arranged in the vertical and horizontal directions in the order of sequence. As described above, since this sequence corresponds to the spatial frequency, the converted data y is arranged in the block B in the order of spatial frequency in the vertical and horizontal directions (that is, in the order of the density of detail components of the image). In FIG. 4, the conversion data y (1,1) in the leftmost column of the top row corresponds to the sequence 0 (zero), and as is well known, this conversion data y (1,1)
1) shows the average image density in the block B.
このように並べられた変換データyは第1図図示のよう
に符号化回路12に送られ、符号化される。この符号化回
路12は、後述のようにして作成される割当てビット配分
表に従った符号長(ビット数)で、ブロックB内の各変
換データyを符号化する。上記ビット配分表は例えば第
6図に示すように、前記シーケンシー毎に固有のビット
数を割当てたものであり、前述のように変換データyは
低周波成分にエネルギーが集中しているから、このエネ
ルギーが高い低周波成分には比較的長い符号長を与え、
一方エネルギーが低い高周波成分には比較的短い符号長
を与えることにより、ブロックB当りの必要なビット数
が低減され、画像データ圧縮が達成される。The converted data y arranged in this way is sent to the encoding circuit 12 and encoded as shown in FIG. The encoding circuit 12 encodes each conversion data y in the block B with a code length (the number of bits) according to the allocation bit allocation table created as described later. For example, as shown in FIG. 6, the bit allocation table is one in which a unique number of bits is allocated for each sequence, and as described above, the conversion data y has energy concentrated in the low frequency component. A relatively long code length is given to low-frequency components with high energy,
On the other hand, by giving a relatively short code length to the high-frequency component having low energy, the number of bits required per block B is reduced and image data compression is achieved.
ここで上記のビット配分表において、各変換データyに
対する割当てビット数が短いと、前述のように再生画像
の画質が損われるし、反対に割当てビット数が長過ぎる
と十分なデータ圧縮効果が得られない。以下、このよう
な不具合を解消する、本発明方法の特徴部分について説
明する。符号化回路12は、すべてのブロックBから、シ
ーケンシー同一の変換データyどうしを抽出する(第7
図に、シーケンシー0の変換データyを抽出する様子を
示す)。このデータ抽出は、すべてのシーケンシーにつ
いて行なわれる。そして該符号化回路12は、抽出した変
換データyの絶対値の平均値mを求め、該絶対値の平均
値mに基づいて前記符号長(ビット数)を求め、このビ
ット数を当該シーケンシーに関する符号長とする。つま
り、各ブロックBから抽出されたシーケンシーnの変換
データyの平均値mnに基づいて求めた符号長を、シーケ
ンシーnに関する符号長とする(なおmnの値は、画像毎
に求めてもよいし、予め定められたいくつかの標準画像
から求めてもよい)。このように絶対値の平均値mに基
づくビット数Dbは例えば、 Db=[log2(2m+1)] (ただし小数点以下は四捨五入) として求められる。同一シーケンシーの変換データy
は、互いに近似した値をとるものが多いので、それらの
分布は概略第8図に示すようなものとなる。なおこの第
8図中σは標準偏差であり、上記絶対値の平均値mは経
験的にこの標準偏差σに近い値をとる。したがって、こ
の平均値mの2倍の値(上記式では、mの値が0.5未満
の場合Db値がマイナスとなるので、それを防ぐため2mに
1を加えてある)に対して不足の無い符号長は、シーケ
ンシーnの変換データyの大部分に対して十分な長さの
ものとなる。以上の操作をすべてのシーケンシーに関し
て行なうことにより、前記第6図に示すようなビット配
分表が得られる。Here, in the above bit allocation table, if the number of allocated bits for each converted data y is short, the quality of the reproduced image is impaired as described above. Conversely, if the number of allocated bits is too long, a sufficient data compression effect is obtained. I can't. Hereinafter, a characteristic part of the method of the present invention which solves such a problem will be described. The encoding circuit 12 extracts the conversion data y having the same sequence from all the blocks B (seventh).
The figure shows how the conversion data y of sequence 0 is extracted). This data extraction is done for all sequences. Then, the encoding circuit 12 obtains the average value m of the absolute values of the extracted converted data y, obtains the code length (the number of bits) based on the average value m of the absolute values, and relates the number of bits to the sequence. The code length. That is, the code length obtained based on the average value mn of the conversion data y of the sequence n extracted from each block B is set as the code length regarding the sequence n (note that the value of mn may be obtained for each image. , May be obtained from some predetermined standard images). In this way, the number of bits Db based on the average value m of absolute values is obtained as, for example, Db = [log 2 (2m + 1)] (however, the fractional part is rounded off). Conversion data y with the same sequence
Are often close to each other, their distribution is as shown in FIG. In FIG. 8, σ is a standard deviation, and the average value m of the absolute values is empirically close to the standard deviation σ. Therefore, there is no deficiency in the value twice this average value m (in the above formula, if the value of m is less than 0.5, the Db value becomes negative, so 1 is added to 2m to prevent it). The code length is long enough for most of the conversion data y of the sequence n. By performing the above operation for all the sequences, the bit allocation table as shown in FIG. 6 can be obtained.
なおシーケンシーnの変換データyのうち特に値が大き
いもの、小さいものは、上記のビット数Dbでは正確に符
号化され得ないことになるが、符号化の際にクリップし
た変換データyに対しては適宜符号長を所定長拡張する
等して、この不具合を解消することもできる。It should be noted that, of the conversion data y of the sequence n, the one having a particularly large value or the one having a small value cannot be accurately encoded with the above-mentioned number of bits Db, but with respect to the conversion data y clipped at the time of encoding. It is also possible to eliminate this inconvenience by appropriately expanding the code length by a predetermined length.
なお特にこのような符号長拡張を行なわない場合にあっ
ては、重要な画像情報を含む低周波域の変換データyが
クリップして符号化されることは避けたいので、シーケ
ンシーが所定値以下の変換データyについては上記方法
で符号長を決定せず、予め決められた十分に余裕の有る
符号長で符号化するようにしてもよい。Note that, especially when such code length extension is not performed, it is desired to avoid that the converted data y in the low frequency region including important image information is clipped and coded, so that the sequence is equal to or less than a predetermined value. The code length of the converted data y may not be determined by the above method, but may be encoded by a predetermined code length having a sufficient margin.
以上のようにして定められたビット配分表に従って符号
化された画像データf(y)は、第1図図示のように記
録再生装置13において例えば光ディスクや磁気ディスク
等の記録媒体(画像ファイル)に記録される。上記の通
りこの画像データf(y)は原画像データxに対して大
幅な圧縮がなされているから、光ディスク等の記録媒体
には、大量の画像が記録されうるようになる。画像再生
に際してこの画像データf(y)は記録媒体から読み出
され、復号回路14において前記変換データyに復号され
る。こうして復号された変換データyは逆変換回路15に
送られて、前記2次元直交変換との逆変換を受ける。そ
れにより原画像データxが復元され、この原画像データ
xが画像再生装置16に送られ、該データxが担持する画
像が再生される。The image data f (y) coded according to the bit allocation table determined as described above is recorded in a recording medium (image file) such as an optical disk or a magnetic disk in the recording / reproducing apparatus 13 as shown in FIG. Will be recorded. As described above, since the image data f (y) is significantly compressed with respect to the original image data x, a large amount of images can be recorded on the recording medium such as an optical disk. At the time of image reproduction, the image data f (y) is read from the recording medium and is decoded by the decoding circuit 14 into the converted data y. The transformed data y thus decoded is sent to the inverse transform circuit 15 and subjected to the inverse transform of the two-dimensional orthogonal transform. As a result, the original image data x is restored, the original image data x is sent to the image reproducing device 16, and the image carried by the data x is reproduced.
なお周知の通り、低空間周波数に対応するシーケンシー
(第6図の左上方のシーケンシー)の変換データy、特
にシーケンシー0(ゼロ)の変換データy(1,1)は原
画像を再生する上で特に重要なものであるから、これら
の変換データyが符号化の際にクリップすることは極力
回避したい。そこで、上記のように変換データyに対す
る符号長を該データyの絶対値の平均値に基づいて決定
する処理は、所定値以上の空間周波数に対応するシーケ
ンシーに関してのみ行ない、上記所定値未満の低空間周
波数に対応するシーケンシーに関しては、変換データy
に対する符号長を、各シーケンシーでとりうる該データ
yの最大値を表わすのに必要な長さに設定するようにし
てもよい。なお各シーケンシーでとりうる変換データy
の最大値は、実験的、経験的に求めることもできるし、
画素値のダイナミックレンジとブロックの大きさから求
めることもできる。As is well known, the conversion data y of the sequence corresponding to the low spatial frequency (the sequence in the upper left of FIG. 6) y, especially the conversion data y (1,1) of the sequence 0 (zero) is used for reproducing the original image. Since it is particularly important, it is desired to avoid clipping of these converted data y during encoding as much as possible. Therefore, as described above, the process of determining the code length for the converted data y based on the average value of the absolute values of the data y is performed only for the sequence corresponding to the spatial frequency equal to or higher than a predetermined value, and the processing of the low value less than the predetermined value is performed. Regarding the sequence corresponding to the spatial frequency, the converted data y
May be set to a length required to represent the maximum value of the data y that can be taken in each sequence. The conversion data y that can be taken in each sequence
The maximum value of can be obtained experimentally and empirically,
It can also be obtained from the dynamic range of pixel values and the block size.
(発明の効果) 以上詳細に説明した通り本発明の画像データの直交変換
符号化方法においては直交変換データを符号化する際
に、各データに関する符号長を、不要に長過ぎずその一
方大きく不足するようなことのない、最適な長さに設定
することが可能となっている。したがって本発明方法に
よれば、復号、逆変換して得られた再生画像の画質が符
号長不足のために劣化してしまうことを防止した上で、
符号化データの量を極限まで少なくして、データ圧縮率
を大いに高めることができる。(Effects of the Invention) As described in detail above, in the orthogonal transform coding method for image data of the present invention, when the orthogonal transform data is coded, the code length relating to each data is not unnecessarily too long, and on the other hand, it is largely insufficient. It is possible to set the optimum length that does not occur. Therefore, according to the method of the present invention, while preventing the image quality of the reproduced image obtained by decoding and inverse conversion from deteriorating due to insufficient code length,
The amount of encoded data can be reduced to the utmost and the data compression rate can be greatly improved.
第1図は本発明の一実施態様方法を実施する装置の概略
構成を示すブロック図、 第2図および第3図は本発明に係る直交変換を説明する
説明図、 第4、5、6、7および8図は、本発明方法を説明する
説明図である。 11…直交変換回路、12…符号化回路 B…画像データのブロック、x…原画像データ y…変換データ f(y)…符号化された画像データFIG. 1 is a block diagram showing a schematic configuration of an apparatus for carrying out a method according to an embodiment of the present invention, FIGS. 2 and 3 are explanatory diagrams for explaining orthogonal transform according to the present invention, and FIGS. 7 and 8 are explanatory views for explaining the method of the present invention. 11 ... Orthogonal transform circuit, 12 ... Encoding circuit B ... Image data block, x ... Original image data y ... Transformed data f (y) ... Encoded image data
Claims (3)
数に基づいてブロック毎に直交変換をかけた後、 この変換を受け前記ブロック内で前記直交関数のシーケ
ンシー順に並べられた変換データをそれぞれ固有の符号
長で符号化する画像データの直交変換符号化方法におい
て、 各ブロックから同一のシーケンシーに関する前記変換デ
ータを抽出して、該変換データの絶対値の平均値をシー
ケンシー毎に求め、 各シーケンシーの変換データに対する前記符号長を、そ
れぞれ前記平均値に基づいて決定することを特徴とする
画像データの直交変換符号化方法。1. Two-dimensional image data is subjected to orthogonal transformation for each block based on a predetermined orthogonal function, and after this transformation, the transformed data arranged in the sequence of the orthogonal functions in the block is received. In the orthogonal transform coding method of image data to be coded with each unique code length, the above-mentioned transform data regarding the same sequence is extracted from each block, and the average value of the absolute values of the transform data is obtained for each sequence. An orthogonal transform coding method for image data, characterized in that the code lengths of the sequence transform data are determined based on the average values, respectively.
る処理を、所定値以上の空間周波数に対応するシーケン
シーにおいて行ない、 所定値未満の空間周波数に対応するシーケンシーにおい
ては前記符号長を、各シーケンシーでとりうる最大の変
換データ値を表わすのに必要な長さとすることを特徴と
する特許請求の範囲第1項記載の画像データの直交変換
符号化方法。2. The process of determining the code length based on the average value is performed in a sequence corresponding to a spatial frequency equal to or higher than a predetermined value, and the code length is determined in a sequence corresponding to a spatial frequency lower than a predetermined value. The orthogonal transform coding method for image data according to claim 1, wherein the length is set to represent a maximum transform data value that can be taken in each sequence.
してほぼ不足の無いものとすることを特徴とする特許請
求の範囲第1項または第2項記載の画像データの直交変
換符号化方法。3. The orthogonality of the image data according to claim 1 or 2, wherein the code length is substantially equal to a value twice the average value. Transform coding method.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61058803A JPH0681307B2 (en) | 1986-03-17 | 1986-03-17 | Orthogonal transform coding method for image data |
| EP87101107A EP0231021B1 (en) | 1986-01-27 | 1987-01-27 | Image signal encoding method by orthogonal transformation |
| DE3750853T DE3750853T2 (en) | 1986-01-27 | 1987-01-27 | Method for coding image signals by means of orthogonal transformation. |
| US07/007,143 US4797944A (en) | 1986-01-27 | 1987-01-27 | Image signal encoding method by orthogonal transformation |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61058803A JPH0681307B2 (en) | 1986-03-17 | 1986-03-17 | Orthogonal transform coding method for image data |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62216484A JPS62216484A (en) | 1987-09-24 |
| JPH0681307B2 true JPH0681307B2 (en) | 1994-10-12 |
Family
ID=13094752
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61058803A Expired - Lifetime JPH0681307B2 (en) | 1986-01-27 | 1986-03-17 | Orthogonal transform coding method for image data |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0681307B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01276980A (en) * | 1988-04-28 | 1989-11-07 | Sharp Corp | Orthogonal transform coding system for picture data |
| JPH0214672A (en) * | 1988-06-30 | 1990-01-18 | Dainippon Screen Mfg Co Ltd | Picture data compression method |
| JPH0832039B2 (en) * | 1989-08-19 | 1996-03-27 | 日本ビクター株式会社 | Variable length coding method and apparatus thereof |
| JPH0379182A (en) * | 1989-08-23 | 1991-04-04 | Fujitsu Ltd | Image encoding control system |
-
1986
- 1986-03-17 JP JP61058803A patent/JPH0681307B2/en not_active Expired - Lifetime
Non-Patent Citations (2)
| Title |
|---|
| IEEETRANSACTIONSONCOMMUNICATIONS,23〔7〕(1975)P.785−786 |
| IEEETRANSACTIONSONCOMMUNICATIONS,25〔11〕(1977)P.1285−1292 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62216484A (en) | 1987-09-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2811175B2 (en) | Orthogonal transform coding method for image data | |
| EP0231021B1 (en) | Image signal encoding method by orthogonal transformation | |
| JP2745301B2 (en) | Orthogonal transform coding method for image data | |
| US4807029A (en) | Method of reconstructing image from compression-processed image signals | |
| EP0339589A2 (en) | Orthogonal transform coding system for image data | |
| JPH0681307B2 (en) | Orthogonal transform coding method for image data | |
| EP0280313B1 (en) | Method of compressing image signals by vector quantization | |
| JPH0714210B2 (en) | Orthogonal transform coding method for image data | |
| JP2582549B2 (en) | Orthogonal transform coding method for image data | |
| JP2745300B2 (en) | Orthogonal transform coding method for image data | |
| JP2527352B2 (en) | Image data compression device by vector quantization | |
| JPH0716248B2 (en) | Orthogonal transform coding method for image data | |
| EP0235566B1 (en) | Method of image signal encoding by orthogonal transformation | |
| JPS62172884A (en) | Orthogonal transform coding method for picture data | |
| JPH067673B2 (en) | Orthogonal transform coding method for image data | |
| JPH0722393B2 (en) | Orthogonal transform coding method for image data | |
| JPS62196990A (en) | Orthogonal transform coding method for picture data | |
| JPS62172883A (en) | Orthogonal transform coding method for picture data | |
| JPH0650912B2 (en) | Orthogonal transform coding method for image data | |
| JPH0775103A (en) | Image coding device | |
| JPH01276980A (en) | Orthogonal transform coding system for picture data | |
| JPS62185484A (en) | Orthogonal transformation encoding method for picture data | |
| JPH0748858B2 (en) | Image data orthogonal transform coding method | |
| JPH0775102A (en) | Image coding device | |
| JPH03166825A (en) | Image processing method and device |