JPH0650912B2 - Orthogonal transform coding method for image data - Google Patents
Orthogonal transform coding method for image dataInfo
- Publication number
- JPH0650912B2 JPH0650912B2 JP61015265A JP1526586A JPH0650912B2 JP H0650912 B2 JPH0650912 B2 JP H0650912B2 JP 61015265 A JP61015265 A JP 61015265A JP 1526586 A JP1526586 A JP 1526586A JP H0650912 B2 JPH0650912 B2 JP H0650912B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- block
- image data
- bits
- orthogonal
- 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 - Fee Related
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)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Transmission Systems Not Characterized By The Medium Used For Transmission (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. In this case, image data compression is widely applied for the purpose of efficiently recording an image signal on a recording medium. ing.
このような画像データ圧縮方法の一つとして、画像デー
タの直交変換を利用するものがよく知られている。この
方法は、ディジタルの2次元画像データを適当な標本数
ずつのブロックに分け、このブロック毎に標本値からな
る数値列を直交変換し、この変換により特定の成分にエ
ネルギーが集中するので、エネルギーの大きな成分は長
い符号長を割当てて符号化(量子化)し、他方低エネル
ギーの成分は短い符号長で粗く符号化することにより、
各ブロック当りの符号数の低減させるものである。上記
直交変換としては、フーリエ(Fourier)変換、
コサイン(Cosine)変換、アダマール(Hada
mard)変換、カルーネン−レーベ(Karhune
n−Love)変換、ハール(Haar)変換等がよ
く用いられるが、ここでアダマール変換を例にとって上
記方法をさらに詳しく説明する。まず第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)よりもやや大きい値(約√2倍)をとるが、その
一方原画像データの高周波成分を示す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. As the orthogonal transform, a Fourier transform,
Cosine transformation, Hadamard (Hada)
mard transform, Karhunen-Lewe (Karhune)
Although n-Love transformation, Haar transformation and the like are often used, the above method will be described in more detail by taking 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 (0) and x in this block
When (1) and (1) are shown in an orthogonal coordinate system, they have a high correlation as described above, and therefore x (1) = x as shown in FIG.
Many are distributed near the straight line (0). Therefore, this orthogonal coordinate system is converted by 45 ° as shown in FIG. 3 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), x
It takes a value slightly larger than (1) (about √2 times), while y (1) indicating the high-frequency component of the original image data is y.
It is distributed only in a very narrow range near the (0) axis. Therefore, for example, if it is assumed that a code length of 7 bits is required for encoding x (0) and x (1),
For y (0), about 7 bits or 8 bits are required, while on the other hand, y (1) can be coded with a code length of, for example, about 4 bits, which eventually reduces the code length per block and reduces the 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, although the code length (the number of bits) is assigned according to a predetermined pattern, the number of bits required to show the conversion data of a certain sequence is different for each image and for each block, and therefore is assigned in advance. In some cases, the converted data cannot be represented accurately due to insufficient number of bits. In that case, the maximum value or the minimum value that can be represented by the number of allocated bits is used as the encoded data, but of course, the quality of the reproduced image obtained by decoding and inverse conversion deteriorates.
In order to avoid such a shortage of the number of bits, it is sufficient to set the predetermined number of allocated bits to be 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 at the same time, on the other hand, does not cause deterioration of the image quality of a reproduced image due to the shortage of the number of bits as described above. The purpose of the present invention is to provide a conversion method.
(発明の構成) 本発明の画像データの直交変換符号化方法は、前述のよ
うに画像データに直交変換をかけて変換データを得、こ
れらの変換データをそれぞれ固有のビット数で符号化す
る画像データの直交変換符号化方法において、 既に符号化がなされたブロックの符号化データとビット
数配分とに基づいて、該ブロックに隣接するブロックに
おける最適なビット数配分を予測し、 この予測したビット数配分に従って、上記隣接するブロ
ックを各変換データを符号化するようにしたことを特徴
とするものである。(Structure of the Invention) An orthogonal transform coding method for image data according to the present invention is an image in which orthogonal transform is performed on image data to obtain converted data as described above, and these converted data are each encoded with a unique number of bits. In the orthogonal transform coding method for data, based on the coded data of a block that has already been coded and the bit number distribution, the optimum bit number distribution in the block adjacent to the block is predicted, and the predicted bit number is calculated. According to the distribution, each of the conversion data of the adjacent blocks is encoded.
(実施態様) 以下、図面に示す実施態様に基づいて本発明を詳細に説
明する。(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内の標本
数(画像数)M×Nの矩形ブロックB毎に行なわれる。
なおこの直交変換としては、例えば前述のアダマール変
換が用いられる。このアダマール変換は、その変換マト
リクスが+1と−1のみからなるので、他の直交変換に
比べればより簡単な変換回路によって実行されうる。ま
た周知の通り2次元直交変換は1次元直交変換に縮退す
ることができる。つまり上記2次元ブロックB内のM×
N画素に関する画像データに対して縦方向に1次元直交
変換をかけ、さらに、得られたM×Nの変換データに対
して横方向に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. For example, as shown in FIG. 5, this two-dimensional orthogonal transformation is performed for each rectangular block B of the sample number (image number) M × N in the halftone image F indicated by the image data x.
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. That is, M × in the 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 M × N transformed data 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内で、上記直交変
換の基になった関数(例えばアダマール変換にあっては
Waish関数、フーリエ変換にあっては三角関数等)
のシーケンシー順に縦横方向に並べられる。前述のよう
にこのシーケンシーは空間周波数と対応しているので、
変換データ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 orthogonal transformation in each block B as shown in FIG. 4 (for example, the Wash function in the Hadamard transform, the trigonometric function in the Fourier transform, etc.).
The sequence is arranged vertically and horizontally. As mentioned above, this sequence corresponds to the spatial frequency, so
The converted data y are arranged in the block B in the order of spatial frequency in the vertical and horizontal directions (that is, in the order of density of detail components of the image).
Will be lined up. 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, the conversion data y (1,1) is in the block B. Is the average image density.
このように並べられた変換データyは符号化回路12に送
られ、符号化される。以下、この符号化回路12における
変換データyの符号化について、第6図を参照して説明
する。なお第5図に矢印Aで示すようにこの符号化は、
ブロックBの並び順に逐次行なわれる。この符号化がn
番目に行なわれるブロックをB(n)と表わすこととす
る。符号化回路12は予め定められた割当てビット配分表
T1を例えばROMに記憶しており、最初に符号化を行
なうブロックB(1)内の各変換データyをこの配分表
T1に従った符号長(ビット数)で符号化する(ステッ
プP1)。上記ビット配分表T1は例えば第4図に示す
ように、前記シーケンシー毎に固有のビット数を割当て
たものであり、前述のように変換データyは低周波成分
にエネルギーが集中しているから、このエネルギーが高
い低周波成分には比較的長い符号長を与え、一方エネル
ギーが低い高周波成分には比較的短い符号長を与えるこ
とにより、ブロックB当りの必要なビット数が低減さ
れ、画像データ圧縮が達成される。なお後述する通り後
にもう1つのビット配分表T2が作成されるが、1番目
のブロックB(1)内の変換データyを符号化する際に
は、上記ROMに記憶されたビット配分表T1がステッ
プP2において選択され、符号化に利用される。The converted data y arranged in this way is sent to the encoding circuit 12 and encoded. The encoding of the converted data y in the encoding circuit 12 will be described below with reference to FIG. As shown by the arrow A in FIG. 5, this encoding is
The blocks B are sequentially performed in the order of arrangement. This encoding is n
The block to be performed next is denoted by B (n). The encoding circuit 12 stores a predetermined allocation bit allocation table T 1 in, for example, a ROM, and the conversion data y in the block B (1) in which encoding is performed first follows the allocation table T 1 . Encoding is performed with the code length (the number of bits) (step P1). The bit allocation table T 1 is, for example, as shown in FIG. 4, in which a unique number of bits is allocated to each sequence, and as described above, the converted data y has energy concentrated in the low frequency component. By giving a relatively long code length to the low-frequency component with high energy and a relatively short code length to the high-frequency component with low energy, the number of bits required per block B is reduced, and the image data Compression is achieved. As will be described later, another bit allocation table T 2 is created later, but when the conversion data y in the first block B (1) is encoded, the bit allocation table T 2 stored in the ROM is stored. 1 is selected in step P2 and used for encoding.
このようにして符号化されたデータf(y)は、ブロッ
クB(1)に関する符号化データとして符号化回路12か
ら出力される。それとともに上記符号化データf(y)
はステップP3に送られ、各変換データyを符号化する
のに厳密には最低どれだけの符号長が必要であるかを識
別するために利用される。例えばあるシーケンシーの変
換データyの、前記ビット配分表T1で定められた割当
てビット数が4ビットであるとする。そして下表に示す
ように、この4ビットの2進数により、最小−8から最
大+7までの16の値の変換データyを符号化するもの
とする。The data f (y) coded in this way is output from the coding circuit 12 as coded data for the block B (1). At the same time, the encoded data f (y)
Is sent to step P3 and is used to identify exactly what code length is required to encode each transformed data y. For example, it is assumed that the conversion data y of a certain sequence has the number of allocated bits defined by the bit allocation table T 1 of 4 bits. Then, as shown in the table below, the conversion data y having 16 values from a minimum of -8 to a maximum of +7 is encoded by the 4-bit binary number.
先に述べたように、ブロックB(1)内で上記4ビット
が割当てられたシーケンシーの変換データyが、この4
ビットの符号長では表わせないほど大きな値、あるいは
小さな値をとることも起こりうる。つまり上記例では、
変換データyが−9以下あるいは8以上の値をとったと
き、そのデータyは4ビットデータでは正確に表わし得
ず、それぞれ「1000」、「0111」と符号化され
ることになる。そこでこのような符号化データとなった
シーケンシーに関しては、さらに例えば1ビットを拡張
して5ビットとし、それを例えばRAMからなるビット
配分表T2に書き込む(ステップP4)。なお符号化デ
ータが「1000」となった場合、符号化前の変換デー
タyの値が−8であるか−9以下であるかは判別できな
いので、安全をみてこの場合はすべて前述の通り符号長
を拡張する。符号化データが「0111」となった場合
も同様である。一方反対に、例えば変換データyが0、
1の値をとった場合には、そのデータyは2ビットでも
表わせるし、2、3の値をとった変換データyは3ビッ
トでも表わせることになる。そこでこのような符号化デ
ータとなったシーケンシーに関してはそれぞれ2ビッ
ト、1ビット短縮させて2ビット、3ビットとし、それ
を上記と同様にビット配分表T2に書き込む。 As described above, the conversion data y of the sequence in which the above 4 bits are allocated in the block B (1) is
It may happen that the value is too large or too small to be represented by the code length of bits. So in the above example,
When the converted data y takes a value of -9 or less or 8 or more, the data y cannot be accurately represented by 4-bit data and is encoded as "1000" and "0111", respectively. Therefore, with respect to the sequence that has become such encoded data, for example, 1 bit is further expanded to 5 bits, and this is written in the bit allocation table T 2 including , for example, RAM (step P4). When the encoded data is “1000”, it is impossible to determine whether the value of the converted data y before encoding is −8 or −9 or less. Therefore, for safety, in this case Extend the length. The same applies when the encoded data is "0111". On the other hand, on the other hand, for example, the converted data y is 0,
When the value of 1 is taken, the data y can be represented by 2 bits, and the converted data y having the values of 2 and 3 can be represented by 3 bits. Therefore, with respect to the sequence of such encoded data, 2 bits and 1 bit are respectively shortened to 2 bits and 3 bits, which are written in the bit allocation table T 2 in the same manner as described above.
符号化順番が2番目のブロックB(2)の変換データy
を符号化するに際しては、上記のようにして作成された
ビット配分表T2が符号化に利用されるように切換えが
なされる(ステップP2)。この状態は、すべてのブロ
ックBについて符号化が終了するまで維持される。また
上記ステップP3における符号長識別とステップP4に
おける書込み(書換え)も最後まで順次なされるので、
結局第n番目に符号化がなされるブロックB(n)のシ
ーケンシーkの変換データyは、1つ前のブロックB
(n−1)のシーケンシーkの符号化データf(y)か
ら予想された符号長で符号化されることになる。互いに
隣接するブロックB(n)とブロックB(n−1)内の
画像データは強い相関性を有するので、上述のようにし
て予測された符号長は、ブロックB(n)内の各変換デ
ータyを符号化する上で大きく過不足しないものとな
る。なお前記第4図には以上述べた符号長の変更の例を
示してある。矢印a、bで示すのがそれぞれ、符号長が
拡張、短縮されたシーケンシーである。Transformed data y of block B (2), which is the second in the encoding order
At the time of encoding, the bit allocation table T 2 created as described above is switched so as to be used for encoding (step P2). This state is maintained until coding is completed for all blocks B. Further, since the code length identification in step P3 and the writing (rewriting) in step P4 are sequentially performed until the end,
Eventually, the conversion data y of the sequence k of the block B (n) to be encoded in the nth is the previous block B.
The coded data f (y) having the sequence (n-1) and the sequence k is encoded with the expected code length. Since the image data in the block B (n) and the image data in the block B (n-1) that are adjacent to each other have a strong correlation, the code length predicted as described above corresponds to each conversion data in the block B (n). There will be no significant excess or deficiency in encoding y. Note that FIG. 4 shows an example of changing the code length described above. The arrows a and b indicate the sequence in which the code length is extended and shortened, respectively.
以上述べたようにして符号化された画像データf(y)
は、記録再生装置13において例えば光ディスクや磁気デ
ィスク等の記録媒体(画像ファイル)に記録される。上
記の通りこの画像データf(y)は原画像データxに対
して大幅な圧縮がなされているから、光ディスク等の記
録媒体には、大量の画像が記録されうるようになる。画
像再生に際してこの画像データf(y)は記録媒体から
読み出され、復合回路14において前記変換データyに復
合される。こうして復合された変換データyは逆変換回
路15に送られて、前記2次元直交変換との逆変換を受け
る。それにより原画像データxが復元され、この原画像
データxが画像再生装置16に送られ、該データxが担持
する画像が再生される。Image data f (y) coded as described above
Is recorded in a recording medium (image file) such as an optical disk or a magnetic disk in the recording / reproducing device 13. 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, this image data f (y) is read from the recording medium and is combined in the decoding circuit 14 into the converted data y. The transformed data y thus decoded is sent to the inverse transformation circuit 15 and undergoes the inverse transformation of the two-dimensional orthogonal transformation. 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.
なお上記実施態様においては、ブロックB(n)の各変
換データyに対する最適なビット数を、符号化順が1つ
前のブロックB(n−1)の符号化データから予測する
ようにしているが、その他のブロックの符号化データか
ら最適ビット数を予測することもできる。例えば前記第
7図に示すように矢印A′の順序で各ブロックBの符号
化がなされる場合には、ブロックB(n)と同列で1行
上のブロックB(n−m)[mはブロックBの列数]
や、ブロックB(n−m−1)、ブロックB(n−m+
1)の符号化データから最適ビット数を予測することが
できる。In the above embodiment, the optimum number of bits for each converted data y of the block B (n) is predicted from the coded data of the block B (n-1) which is one before in the coding order. However, the optimum number of bits can be predicted from the coded data of other blocks. For example, when each block B is encoded in the order of arrow A'as shown in FIG. 7, block B (n-m) [m Number of columns in block B]
, Block B (n-m-1), block B (n-m +)
The optimum number of bits can be predicted from the encoded data of 1).
(発明の効果) 以上詳細に説明した通り本発明の画像データの直交変換
符号化方法においては直交変換データを符号化する際
に、各データに関するビット数を、既に得られた符号化
データを利用して過不足のない最適な長さに設定するこ
とが可能となっている。したがって本発明方法によれ
ば、復号、逆変換して得られた再生画像の画質がビット
数不足のために劣化してしまうことを防止した上で、符
号化データの量を極限まで少なくして、データ圧縮率を
大いに高めることができる。(Effects of the Invention) As described in detail above, in the orthogonal transform coding method for image data of the present invention, when coding the orthogonal transform data, the number of bits relating to each data is used as the already obtained coded data. Then, it is possible to set the optimum length without excess or deficiency. Therefore, according to the method of the present invention, it is possible to prevent the quality of a reproduced image obtained by decoding and inverse conversion from being deteriorated due to a shortage of the number of bits, and reduce the amount of encoded data to the maximum. , The data compression rate can be greatly increased.
第1図は本発明の一実施態様方法を実施する装置の概略
構成を示すブロック図、 第2図および第3図は本発明に係る直交変換を説明する
説明図、 第4図および第5図は、本発明方法を説明する説明図、 第6図は上記第1図の装置における直交変換データの符
号化処理の流れを示すフローチャート、 第7図は他の符号化順における本発明方法を説明する説
明図である。 11……直交変換回路、12……符号化回路 B、B(n)、B(n−1)……画像データのブロック x……原画像データ、y……変換データ f(y)……符号化された画像データFIG. 1 is a block diagram showing a schematic configuration of an apparatus for carrying out a method of an embodiment of the present invention, FIGS. 2 and 3 are explanatory diagrams for explaining orthogonal transformation according to the present invention, FIGS. 4 and 5 Is an explanatory view for explaining the method of the present invention, FIG. 6 is a flow chart showing a flow of an encoding process of orthogonal transform data in the apparatus of FIG. 1, and FIG. 7 is an explanation of the method of the present invention in another encoding order. FIG. 11 ... Orthogonal transformation circuit, 12 ... Encoding circuit B, B (n), B (n-1) ... Block of image data x ... Original image data, y ... Transformation data f (y). Encoded image data
Claims (1)
数に基づいてブロック毎に直交変換をかけた後、 この変換を受け前記ブロック内で前記直交関数のシーケ
ンシー順に並べられた変換データをそれぞれ固有のビッ
ト数で符号化する画像データの直交変換符号化方法にお
いて、 既に前記符号化がなされたブロックの符号化データとビ
ット数配分とに基づいて、該ブロックに隣接するブロッ
クにおける最適なビット数配分を予測し、 この予測したビット数配分に従って、前記隣接するブロ
ックの各変換データを符号化することを特徴とする画像
データの直交変換符号化方法。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 an orthogonal transform coding method of image data to be coded with a unique number of bits, respectively, based on the coded data of the already coded block and the bit number distribution, the optimum bit in a block adjacent to the block A method for orthogonal transform coding of image data, which predicts a number distribution, and codes each transform data of the adjacent blocks according to the predicted bit number distribution.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61015265A JPH0650912B2 (en) | 1986-01-27 | 1986-01-27 | 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 |
|---|---|---|---|
| JP61015265A JPH0650912B2 (en) | 1986-01-27 | 1986-01-27 | Orthogonal transform coding method for image data |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62173871A JPS62173871A (en) | 1987-07-30 |
| JPH0650912B2 true JPH0650912B2 (en) | 1994-06-29 |
Family
ID=11884026
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61015265A Expired - Fee Related JPH0650912B2 (en) | 1986-01-27 | 1986-01-27 | Orthogonal transform coding method for image data |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0650912B2 (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US342227A (en) | 1886-05-18 | Potato-digger |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US3422227A (en) * | 1965-09-30 | 1969-01-14 | Bell Telephone Labor Inc | Dual code differential encoding scheme for video signals |
| JPS56136093A (en) * | 1980-03-26 | 1981-10-23 | Fuji Photo Film Co Ltd | Adaptive quantizer |
| JPS5992688A (en) * | 1982-11-19 | 1984-05-28 | Fuji Photo Film Co Ltd | Adaptive picture compression system |
-
1986
- 1986-01-27 JP JP61015265A patent/JPH0650912B2/en not_active Expired - Fee Related
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US342227A (en) | 1886-05-18 | Potato-digger |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62173871A (en) | 1987-07-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2811175B2 (en) | Orthogonal transform coding method for image data | |
| US4807029A (en) | Method of reconstructing image from compression-processed image signals | |
| US4797944A (en) | Image signal encoding method by orthogonal transformation | |
| EP0260139B1 (en) | Image processing | |
| JP2527351B2 (en) | Image data compression method | |
| EP0339589A2 (en) | Orthogonal transform coding system for image data | |
| US20010041015A1 (en) | System and method for encoding a video sequence using spatial and temporal transforms | |
| JP2745301B2 (en) | Orthogonal transform coding method for image data | |
| EP0280313B1 (en) | Method of compressing image signals by vector quantization | |
| JPH0650912B2 (en) | Orthogonal transform coding method for image data | |
| JPH0714210B2 (en) | Orthogonal transform coding method for image data | |
| JP2527352B2 (en) | Image data compression device by vector quantization | |
| JPH0681307B2 (en) | Orthogonal transform coding method for image data | |
| JPS62172884A (en) | Orthogonal transform coding method for picture data | |
| JP2745300B2 (en) | Orthogonal transform coding method for image data | |
| JPH067673B2 (en) | Orthogonal transform coding method for image data | |
| JP2563450B2 (en) | Image processing device for files | |
| JPH0722393B2 (en) | Orthogonal transform coding method for image data | |
| JP2582549B2 (en) | Orthogonal transform coding method for image data | |
| EP0235566B1 (en) | Method of image signal encoding by orthogonal transformation | |
| JPS63171087A (en) | Orthogonal transform coding method for picture data | |
| JPS62196990A (en) | Orthogonal transform coding method for picture data | |
| JPH01879A (en) | Image data compression device using vector quantization | |
| JP2521359B2 (en) | Image coding device | |
| JPS62172883A (en) | Orthogonal transform coding method for picture data |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |