JPH09116899A - Method for compressing image data - Google Patents

Method for compressing image data

Info

Publication number
JPH09116899A
JPH09116899A JP26867095A JP26867095A JPH09116899A JP H09116899 A JPH09116899 A JP H09116899A JP 26867095 A JP26867095 A JP 26867095A JP 26867095 A JP26867095 A JP 26867095A JP H09116899 A JPH09116899 A JP H09116899A
Authority
JP
Japan
Prior art keywords
component
image data
components
run
length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP26867095A
Other languages
Japanese (ja)
Inventor
Shinichi Hirata
晋一 平田
Masaichi Oyamada
応一 小山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kokusai Electric Corp
Original Assignee
Kokusai Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kokusai Electric Corp filed Critical Kokusai Electric Corp
Priority to JP26867095A priority Critical patent/JPH09116899A/en
Publication of JPH09116899A publication Critical patent/JPH09116899A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve the compression efficiency of image data. SOLUTION: A band split section 1 divides image data into plural spatial frequency band components LL, LH, HL, HH, and coding sections 3-5 applies modified Huffman coding to O-run length of the LH, HL, HH components in which at least one of horizontal/vertical directions is a high frequency component. Furthermore, the scanning direction of the coding is selected in horizontal, vertical and tilt direction and the coded data are more reduced.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は画像データの圧縮方
法に係り、特に画像データを空間周波数帯域で分割し
て、その各帯域の情報を符号化して圧縮する画像データ
の圧縮方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data compression method, and more particularly to an image data compression method in which image data is divided into spatial frequency bands and information in each band is encoded and compressed.

【0002】[0002]

【従来の技術】サブバント符号化やウェーブレット変換
符号化法を用いた画像データの圧縮技術では、画像デー
タをその空間周波数により高域、低域に分割し、それぞ
れの帯域成分を符号化して圧縮を行う。この場合、高域
成分は0近傍にその値が集中しやすいことや、エッジ等
の部分を除くと値0が連続しやすいという性質、即ちエ
ントロピが低いという性質があり、そのような性質を利
用した符号化による圧縮が効率的に行える。
2. Description of the Related Art In image data compression technology using sub-band coding or wavelet transform coding, image data is divided into high band and low band by its spatial frequency, and each band component is coded for compression. To do. In this case, the high-frequency component has the property that its value tends to concentrate in the vicinity of 0, and the property that the value 0 tends to be continuous except for the edge and the like, that is, the property of low entropy, and such property is used. The compressed data can be efficiently compressed.

【0003】[0003]

【発明が解決しようとする課題】上記した従来技術で
は、空間周波数で分割した各成分を、JPEG方式のよ
うに、たて8×よこ8個のデータのブロックに分割し、
その各ブロックに対して量子化及び可変長符号化を行っ
ている。しかし、高域成分についてみると、上記のブロ
ックサイズ8よりもずっと長い個数の0が続く場合で
も、これをわざわざブロックに細分して別々に符号化す
ることになるから、高域成分の持っている低エントロピ
という性質を十分生かした符号化が行えないという問題
があった。
In the above-mentioned conventional technique, each component divided by the spatial frequency is divided into blocks of vertical 8 × horizontal 8 data as in the JPEG system,
Quantization and variable length coding are performed on each block. However, regarding the high-frequency component, even if the number of 0s that is much longer than the block size 8 continues, it is purposely subdivided into blocks and separately coded. There was a problem in that encoding could not be performed making full use of the property of low entropy.

【0004】本発明の目的は、各周波数帯域成分ごとの
特徴に適した符号化を行うことにより、より効率よく圧
縮が行える画像データの圧縮方法を提供するにある。
It is an object of the present invention to provide a method of compressing image data which enables more efficient compression by performing encoding suitable for the characteristics of each frequency band component.

【0005】[0005]

【課題を解決するための手段】本発明は、画像データを
複数の空間周波数帯域に分割してその各々を量子化した
成分を生成し、前記成分の少なくとも1つに対してその
構成要素を走査し、値0が連続した0ランの長さをモデ
ィファイドハフマン符号化法で符号化したことを特徴と
する画像データの圧縮方法を開示する。
According to the present invention, image data is divided into a plurality of spatial frequency bands, each of which is quantized to generate a component, and the component is scanned for at least one of the components. However, a method for compressing image data is disclosed in which a length of 0 runs in which the value 0 is continuous is encoded by the modified Huffman encoding method.

【0006】更に本発明は、前記空間周波数成分への分
割は、画面の水平方向及び垂直方向の双方が低周波成分
の第1成分、一方が低周波成分で他方が高周波成分の第
2及び第3成分、双方が高周波成分の第4成分の4成分
への分割であり、かつその分割方法はハール変換法を用
いたものであることを特徴とする請求項1記載の画像デ
ータの圧縮方法を開示する。
Further, according to the present invention, the division into the spatial frequency components is performed by first and second low frequency components in both the horizontal and vertical directions of the screen, one low frequency component and the other high frequency component. 3. The image data compression method according to claim 1, wherein the three components, both of which are high-frequency components, are divided into four components, and the fourth component is a Haar transform method. Disclose.

【0007】[0007]

【発明の実施の形態】以下、本発明を図面を用いて説明
する。図1は、本発明の圧縮方法の1つの実施の形態を
示す図で、帯域分割部1、LL成分符号化部2、HL成
分符号化部3、HH成分符号化部4、及び合成部5から
構成されている。ここで各部は、それぞれの処理を行う
プログラムで構成してもよいし、あるいは専用のハード
ウェアを用いて構成してもよい。また、入力される画像
データは、モノクロの多階調データ(2値も含む)また
はカラー画像の1プレーン分の画像データである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing an embodiment of a compression method of the present invention, in which a band division unit 1, an LL component encoding unit 2, an HL component encoding unit 3, an HH component encoding unit 4, and a combining unit 5 are provided. It consists of Here, each unit may be configured by a program that performs each process, or may be configured by using dedicated hardware. The input image data is monochrome multi-tone data (including binary) or image data for one plane of a color image.

【0008】図2は、帯域分割部1に於る画像データの
帯域分割例を示すもので、空間周波数の帯域分割に用い
るフィルタは周知のハール基底を用いた帯域分割フィル
タとし、これによりLL、LH、HL、及びHH成分の
4帯域に分割するものとしている。ここでLは、低域成
分、Hは高域成分を表し、2文字の内の左側が画面水平
方向の成分、右側が垂直方向の成分を表している。例え
ばLH成分は水平方向が低域成分で垂直方向が高域成分
である。この4成分を空間周波数平面でかくと図2とな
る。
FIG. 2 shows an example of band division of image data in the band division unit 1. A band division filter using a well-known Haar basis is used as a filter used for band division of spatial frequency, whereby LL, It is supposed to be divided into four bands of LH, HL, and HH components. Here, L represents a low frequency component, H represents a high frequency component, and the left side of the two characters represents a horizontal component of the screen and the right side thereof represents a vertical component. For example, the LH component is a low frequency component in the horizontal direction and a high frequency component in the vertical direction. FIG. 2 shows the four components in the spatial frequency plane.

【0009】図3〜図5は、上記の帯域分割部1による
分割データの例を示すもので、画像データは簡単のため
4×4画素としている。図3は、同図(a)の画像デー
タD1に示したように水平方向のエッジを有する画面の
場合であり、これを空間周波数で帯域分割すると図2に
対応する各成分が同図(b)となる。水平方向のエッジ
は垂直方向の変化成分(高域成分)を意味するから、L
L成分の他にはLH成分のみが0でない値を示してお
り、他の方向の変化はないのでその他の各成分はすべて
0となっている。
FIGS. 3 to 5 show examples of divided data by the band division unit 1 described above. The image data is 4 × 4 pixels for simplicity. FIG. 3 shows a case of a screen having horizontal edges as shown in the image data D1 of FIG. 3A. When this is band-divided by spatial frequency, each component corresponding to FIG. ). Since the edge in the horizontal direction means a change component (high frequency component) in the vertical direction, L
In addition to the L component, only the LH component shows a non-zero value, and since there is no change in other directions, all other components are 0.

【0010】図4(a)の画像データD2は、今度は垂
直方向のみにエッジがある場合で、その帯域分割結果は
同図(b)に示したように、LL成分と水平方向の変化
を示すHL成分に0でない値が現れ、他の成分はすべて
0となっている。
The image data D2 in FIG. 4A has an edge only in the vertical direction this time, and the band division result shows the change in the LL component and the horizontal direction as shown in FIG. A value other than 0 appears in the HL component shown, and all other components are 0.

【0011】また図5(a)の画像データD3は、斜め
45゜方向にエッジを有した画面の例で、その帯域分割
結果は同図(b)に示したように、水平、垂直両方向の
高域成分を示すHH成分がLL成分とともに値をもち、
他の成分はすべて0となっている。以上のように、ハー
ル基底を用いた帯域分割では、4×4画素の画像データ
が4つの成分に分割され、その各成分は半分のサイズの
2×2データとなっているが、一般の場合も同様であ
る。即ちn×n画素の画像データを上記のように帯域分
割すると各成分は(n/2)×(n/2)データとな
る。
Further, the image data D3 in FIG. 5A is an example of a screen having an edge in an oblique 45 ° direction, and the result of the band division is, as shown in FIG. 5B, horizontal and vertical directions. The HH component indicating the high frequency component has a value together with the LL component,
All other components are 0. As described above, in the band division using the Haar basis, the image data of 4 × 4 pixels is divided into four components, and each component is 2 × 2 data of half the size. Is also the same. That is, when the image data of n × n pixels is divided into bands as described above, each component becomes (n / 2) × (n / 2) data.

【0012】次に、本発明の特徴とする各成分の符号化
部2〜5に於る処理を説明する。まず、帯域分割部1に
より分割された各成分は、それぞれの成分対応に定めら
れた量子化係数で除算して量子化される。この量子化後
の処理方法は、水平、垂直両方向とも低域成分のLL成
分と、少なくとも一方の成分が高域であるLH成分、H
L成分、及びHH成分とで異なってくる。
Next, the processing in the encoding units 2 to 5 for each component, which is a feature of the present invention, will be described. First, each component divided by the band division unit 1 is quantized by being divided by a quantization coefficient determined for each component. This post-quantization processing method uses the LL component of the low frequency component in both the horizontal and vertical directions and the LH component of which at least one component is the high frequency component, H
The L component and the HH component differ.

【0013】LL成分は、特に0のラン長が長いといっ
た統計的な片よりは一般にないから、これは周知の一般
的な符号化方法、例えばDPCM、JPEG等により符
号化する。量子化後のLH成分、HL成分、及びHH成
分の場合には、値0が連続した0のランに対しては0の
連続数をラン長とした可変長符号化を行う。また0以外
の値が連続した非0のランに対しては、ハフマン符号
化、算術符号化等のエントロピ符号化により符号化した
可変長符号化を行う。
Since the LL component is generally less than a statistical piece such as a long run length of 0, it is encoded by a well-known general encoding method such as DPCM or JPEG. In the case of the quantized LH component, HL component, and HH component, variable length coding is performed with a run length of the number of consecutive 0s for a run of 0s having consecutive 0s. For non-zero runs in which values other than 0 are consecutive, variable-length coding is performed by entropy coding such as Huffman coding and arithmetic coding.

【0014】ここで0のラン長を可変長符号化するのに
は、例えばファクシミリで使われているMH符号(Modi
fied Huffman Code)を用いるのが有効である。このM
H符号は、ラン長iを
Here, in order to perform variable length coding of the run length of 0, for example, the MH code (Modi
It is effective to use fied Huffman Code). This M
H code is run length i

【数1】i=64M+T の形、即ち64進数で表し、この64MとTのそれぞれ
の値に対するコード(前者をMake up Codes、後者をTerm
inating Codesという)を図6、図7のように定めたも
のである。(数1)のように表すのは、画面1ラインの
画素数がG3方式のファクシミリで1728画素あるか
ら、この数だけのラン長の各々にすべて別のコードを割
り当てたのでは能率が悪く、装置の規模が大きくなって
しまうためである。また図6、7のコードは、上記64
MとTの各値に対する出現確率から、エントロピを小さ
くするように定められている。
## EQU1 ## The form of i = 64M + T, that is, expressed in 64-base number, the codes for the respective values of 64M and T (the former is Make up Codes, the latter is Term
Inating Codes) is defined as shown in FIGS. 6 and 7. The expression (Equation 1) means that the number of pixels in one line of the screen is 1728 pixels in the G3 type facsimile, so it is inefficient to assign different codes to each of the run lengths of this number. This is because the scale of the device becomes large. Also, the code of FIGS.
The entropy is determined to be small from the appearance probabilities for the respective values of M and T.

【0015】図6、7に示したように、MH符号化する
場合には白ラン長符号語と黒ラン長符号語とがある。従
って、この各々を用いて符号化を行い、全体の符号量が
少ない方の符号語を用いる。また図6、7に示されてい
るように、(数1)の64M及びTの最大値は2560
及び63であるので、このMH符号で表現可能な最大ラ
ン長は2623(=2560+63)である。従って0
のラン長がこれをこえるときは、それを2623以下に
なるように分割し、その区切りに区切りであることを示
す符号EOLを挿入する。以上のようにして、LH成
分、HL成分、及びHH成分の0のラン長を可変長符号
化するにあたり、画素の走査方向を各成分で考慮するこ
とで、以下に示すようにより効率的な符号化が可能にな
る。
As shown in FIGS. 6 and 7, there are a white run length code word and a black run length code word in the case of MH coding. Therefore, encoding is performed using each of these, and the code word having the smaller total code amount is used. Also, as shown in FIGS. 6 and 7, the maximum value of 64M and T in (Equation 1) is 2560.
And 63, the maximum run length that can be represented by this MH code is 2623 (= 2560 + 63). Therefore 0
When the run length of the above exceeds this, it is divided so that it becomes 2623 or less, and a code EOL indicating that it is a break is inserted into the break. As described above, when the run length of 0 of the LH component, the HL component, and the HH component is variable-length coded, the scanning direction of pixels is taken into consideration in each component, so that a more efficient code is obtained as shown below. Becomes possible.

【0016】まずLH成分は、図3で説明したように水
平方向のエッジを抽出した成分を表すので、この成分の
可変長符号化に際しては、図8のように水平方向に画素
を走査すると、より長いラン長の0が検出できる。但し
図8は10×10画素として走査方向を示しており、こ
れは以下でも同様である。また、図3(a)の画像デー
タD1のように水平方向に直線状エッジがあったとき
は、0以外の同一値がやはり水平方向に連続して存在し
ている可能性が大きく、こちらの方のエントロピ符号化
も効率よくなる。
First, the LH component represents a component obtained by extracting edges in the horizontal direction as described with reference to FIG. 3. Therefore, in variable length coding of this component, when pixels are scanned in the horizontal direction as shown in FIG. A longer run length of 0 can be detected. However, FIG. 8 shows the scanning direction as 10 × 10 pixels, and this is the same in the following. Further, when there is a linear edge in the horizontal direction as in the image data D1 of FIG. 3A, it is highly possible that the same value other than 0 still exists continuously in the horizontal direction. The other entropy coding is also efficient.

【0017】HL成分は、図4で説明したように、その
性質が図3のLH成分と垂直、水平方向が入れ替わるだ
けである。従って、図9のように垂直方向に画素を走査
することによってより長い0のラン長が検出でき、かつ
0以外の部分のエントロピ符号化も効率よく行える。
As described with reference to FIG. 4, the HL component has only the property that the vertical and horizontal directions are interchanged with the LH component of FIG. Therefore, by scanning pixels in the vertical direction as shown in FIG. 9, a longer run length of 0 can be detected, and entropy coding of a portion other than 0 can be efficiently performed.

【0018】HH成分は、図5で説明したように、斜め
方向のエッジを抽出した成分を表すので、この成分の可
変長符号化に際しては図10又は図11のように、斜め
方向に画素を走査すると、より長いラン長の0が検出で
きる。但し図10の場合は傾きを右上がりの45゜とし
ているが、図11のように右下がり45゜の場合もあ
る。また45゜以外の他の角度の場合も考えると、スキ
ャン方向を図8〜図11の各方向に変えてみて、符号長
が最小となるスキャン方向を使うようにすれば効率がよ
い。
As described with reference to FIG. 5, the HH component represents a component obtained by extracting an edge in the diagonal direction. Therefore, when variable length coding this component, pixels are diagonally arranged as shown in FIG. 10 or 11. A longer run length of 0 can be detected by scanning. However, in the case of FIG. 10, the inclination is 45 ° to the right, but it may be 45 ° to the right as shown in FIG. Considering the case of an angle other than 45 °, it is efficient to change the scan direction to each of the directions shown in FIGS. 8 to 11 and use the scan direction with the smallest code length.

【0019】以上では、特に0が連続した部分をMH符
号により効率よく符号化する方法を述べたが、0以外の
値の部分についての符号化については次のように対策が
有効である。その1つは図12に示したように、0以外
の値が走査方向に沿って連続したとき、その隣接画素値
の差をとってから符号化する方法である。即ち図12
(a)に於て、走査方向を図8と同じ水平方向としたと
き、太線で囲う部分が0以外の値が連続して現れている
部分である。一般にこのような部分の隣接した値も急激
に変化することは少なく相関が強い。そこでこの太線枠
内で走査方向に沿って隣接値間の差分値を図12(b)
のように求め、これをエントロピ符号化すると圧縮率が
向上する。但し差分を求めるとき、先頭位置では0との
差分を求めるものとする。
In the above, the method of efficiently coding the part in which 0s are continuous by the MH code has been described, but the following measures are effective for the coding of the part of the value other than 0. One of them is a method in which, as shown in FIG. 12, when a value other than 0 is continuous along the scanning direction, the difference between the adjacent pixel values is calculated and then encoded. That is, FIG.
In (a), when the scanning direction is the same horizontal direction as in FIG. 8, a portion surrounded by a thick line is a portion where values other than 0 continuously appear. In general, adjacent values of such a part do not change abruptly and the correlation is strong. Therefore, the difference value between the adjacent values along the scanning direction in this bold line frame is shown in FIG.
And entropy-encoding this, the compression rate is improved. However, when the difference is obtained, the difference with 0 at the head position is obtained.

【0020】また、図13(a)の太線で囲った画素の
ように、その上下左右の画素がすべて0であるような画
素はノイズのようなものである場合が多く、これを同図
(b)のように特異点として0に置き換えることもでき
る。こうすると特異点の部分も0のランに含まれてしま
うので、符号化の効率が向上する。
Further, like the pixels surrounded by the thick line in FIG. 13A, pixels in which the pixels on the upper, lower, left and right sides are all 0 are often like noise, which is shown in FIG. It can be replaced with 0 as a singular point as in b). In this case, the portion of the singular point is included in the run of 0, so that the coding efficiency is improved.

【0021】図1の4つの符号化部2〜5の処理は以上
に詳述したが、これらの処理で生成された符号化データ
は合成部6に於て合成される。この合成は、例えばLL
成分、LH成分、HL成分、HH成分の順にそれぞれの
符号化データを1つの時系列データとしてまとめるもの
である。ここでLL成分については、前述のようにDP
CMあるいはJPEG等の方法を用いて生成した符号化
データである。一方、LH、HL、HH成分の場合は、
前述のように0のラン、非0のランが交互に符号化され
ている。従って例えばLH成分だけでみると、第1の0
のランの符号化データ、第1の非0のランの符号化デー
タ、第2の0のランの符号化データ、第2の非0のラン
の符号化データ、…という構成になる。図14及び図1
5はその例を示したもので、図14では、第1の0ラン
のラン長をMH符号化したデータCO(1)、第1の非
0ランを符号化したデータCN(1)とその末尾を示す
ための符号EOD、第2の0ランのラン長をMH符号化
したデータCO(2)、第2の非0ランを符号化したデ
ータCN(2)とその末尾を示すための符号EOD、…
という構成になっている。また図15の場合は、非0ラ
ンの末尾を示す符号EODに代わって、非0ランを符号
化したデータの長さを示す符号LN(1)、LN(2)
を用いたものである。但しこの符号LN(1)、LN
(2)…は、0ランのラン長と同様にMH符号で符号化
されたものとする。
The processing of the four coding sections 2 to 5 in FIG. 1 has been described in detail above, but the coded data generated by these processings are combined in the combining section 6. This synthesis is, for example, LL
The coded data of each of the component, the LH component, the HL component, and the HH component is collected as one time series data. Here, for the LL component, as described above, DP
It is encoded data generated using a method such as CM or JPEG. On the other hand, in the case of LH, HL and HH components,
As described above, the run of 0 and the run of non-zero are alternately encoded. Therefore, for example, looking only at the LH component, the first 0
, Encoded data of the first non-zero run, encoded data of the second zero run, encoded data of the second non-zero run, and so on. FIG. 14 and FIG.
FIG. 5 shows an example thereof. In FIG. 14, data CO (1) obtained by MH encoding the run length of the first 0 run, data CN (1) obtained by encoding the first non-zero run and its Code EOD for indicating the end, data CO (2) obtained by MH encoding the run length of the second 0 run, data CN (2) obtained by encoding the second non-zero run, and a code indicating the end thereof. EOD, ...
It is configured as. Also, in the case of FIG. 15, instead of the code EOD indicating the end of the non-zero run, codes LN (1) and LN (2) indicating the length of the data obtained by encoding the non-zero run are shown.
Is used. However, this code LN (1), LN
It is assumed that (2) ... Are coded by the MH code similarly to the run length of 0 run.

【0022】以上のようにして、特に高域成分がその統
計的性質を利用して効率よく圧縮された画像データが生
成される。なお、LL成分だけは従来のDPCMやJP
EG法によるものとしたが、このLL成分のデータを1
つの画像データとみなしてさらに図2と同様な帯域分割
を行い、その各成分について同様な可変長符号化を行う
ことができる。このような帯域分割の細分化を再帰的に
繰り返せばさらに効率及び精度のよい圧縮が可能にな
る。
As described above, the image data in which the high frequency components are efficiently compressed by utilizing the statistical property thereof is generated. The only LL component is the conventional DPCM or JP.
Although the EG method is used, the data of this LL component is 1
The image data can be regarded as one image data, and the band division similar to that in FIG. By recursively repeating such subdivision of band division, more efficient and accurate compression becomes possible.

【0023】[0023]

【発明の効果】本発明によれば、従来の小さい符号化単
位の符号化方法に比べ、0のランを効率よく符号化でき
る効果があり、従来と同程度のデータ長を用いれば、よ
り画像歪みを抑えた精度のよい符号化が可能になる効果
がある。
As described above, according to the present invention, there is an effect that a run of 0 can be efficiently coded as compared with the conventional coding method of a small coding unit. This has the effect of enabling accurate encoding with suppressed distortion.

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

【図1】本発明の圧縮方法のフローを示す図である。FIG. 1 is a diagram showing a flow of a compression method of the present invention.

【図2】画像データの空間周波数帯域分割の説明図であ
る。
FIG. 2 is an explanatory diagram of spatial frequency band division of image data.

【図3】ハール変換の説明図である。FIG. 3 is an explanatory diagram of Haar transformation.

【図4】ハール変換の説明図である。FIG. 4 is an explanatory diagram of Haar transform.

【図5】ハール変換の説明図である。FIG. 5 is an explanatory diagram of Haar transformation.

【図6】MH符号のMake up Codesを示す図である。FIG. 6 is a diagram showing Make up Codes of an MH code.

【図7】MH符号のTerminating Codesを示す図であ
る。
FIG. 7 is a diagram showing Terminating Codes of MH code.

【図8】LH帯域のスキャン順序の例を示した図であ
る。
FIG. 8 is a diagram showing an example of an LH band scan order.

【図9】HL帯域のスキャン順序の例を示した図であ
る。
FIG. 9 is a diagram showing an example of an HL band scan order.

【図10】HH帯域のスキャン順序の例を示した図であ
る。
FIG. 10 is a diagram showing an example of an HH band scan order.

【図11】HH帯域のスキャン順序の別の例を示した図
である。
FIG. 11 is a diagram showing another example of the scanning order of the HH band.

【図12】0以外の値の差分符号化の例を示したもので
ある。
FIG. 12 shows an example of differential encoding of values other than 0.

【図13】0以外の値の特異点を削除する例を示したも
のである。
FIG. 13 shows an example of deleting a singular point having a value other than 0.

【図14】符号化データの説明図である。FIG. 14 is an explanatory diagram of encoded data.

【図15】符号化データの説明図である。FIG. 15 is an explanatory diagram of encoded data.

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

1 帯域分割部 2 LL成分符号化部 3 LH成分符号化部 4 HL成分符号化部 5 HH成分符号化部 6 合成部 1 band division unit 2 LL component coding unit 3 LH component coding unit 4 HL component coding unit 5 HH component coding unit 6 combining unit

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 画像データを複数の空間周波数帯域に分
割してその各々を量子化した成分を生成し、 前記成分の少なくとも1つに対してその構成要素を走査
し、値0が連続した0ランの長さをモディファイドハフ
マン符号化法で符号化したことを特徴とする画像データ
の圧縮方法。
1. The image data is divided into a plurality of spatial frequency bands, each of which is quantized to generate a component, the constituent element is scanned for at least one of the components, and the value 0 is consecutive 0. A method for compressing image data, characterized in that the run length is encoded by a modified Huffman encoding method.
【請求項2】 前記空間周波数成分への分割は、画面の
水平方向及び垂直方向の双方が低周波成分の第1成分、
一方が低周波成分で他方が高周波成分の第2及び第3成
分、双方が高周波成分の第4成分の4成分への分割であ
り、かつその分割方法はハール変換法を用いたものであ
ることを特徴とする請求項1に記載の画像データの圧縮
方法。
2. The division into the spatial frequency components includes the first component of low frequency components in both the horizontal and vertical directions of the screen,
One is a low frequency component, the other is a high frequency component of the second and third components, both are high frequency components of a fourth component into four components, and the method of division is the Haar transform method. The image data compression method according to claim 1.
【請求項3】 前記第1の成分はJPEG法又はDPC
M法により符号化し、他の3つの成分に対して前記モデ
ィファイドハフマン符号化により前記0ランの長さを符
号化することを特徴とする請求項2に記載の画像データ
の圧縮方法。
3. The first component is JPEG method or DPC
3. The method of compressing image data according to claim 2, wherein the length of the 0 run is encoded by the M method, and the other three components are encoded by the modified Huffman encoding.
【請求項4】 前記構成要素の走査の前に、前記構成要
素をその隣接する要素間の差に置き換えることを特徴と
する請求項1〜3のうちの1つに記載の画像データの圧
縮方法。
4. The method of compressing image data according to claim 1, wherein the component is replaced with a difference between its adjacent components before scanning the component. .
【請求項5】 前記構成要素の走査の前に、水平及び垂
直の両方向に隣接した構成要素の値が0の要素値を強制
的に0とすることを特徴とする請求項1〜3のうちの1
つに記載の画像データの圧縮方法。
5. The method according to claim 1, wherein before the scanning of the component, the component value of the component adjacent to each other in both the horizontal and vertical directions is set to 0 forcibly. Of 1
The method of compressing image data described in 1.
【請求項6】 前記0ランの長さの符号化を、モディフ
ァイドハフマン符号の白ラン長符号語と、黒ラン長符号
語の各々で行い、生成された符号化データが短くなる方
の符号語による符号化データを当該0ランの符号化デー
タとすることを特徴とする請求項1〜3のうちの1つに
記載の画像データの圧縮方法。
6. The code word of which the length of the 0 run is encoded by each of the white run length code word and the black run length code word of the modified Huffman code, and the generated encoded data becomes shorter. 4. The image data compression method according to claim 1, wherein the coded data according to claim 1 is coded data of the 0 run.
【請求項7】 前記構成要素の走査方向を画面の水平方
向としたことを特徴とする請求項1〜3のうちの1つに
記載の画像データの圧縮方法。
7. The method of compressing image data according to claim 1, wherein the scanning direction of the constituent elements is the horizontal direction of the screen.
【請求項8】 前記構成要素の走査方向を画面の垂直方
向としたことを特徴とする請求項1〜3のうちの1つに
記載の画像データの圧縮方法。
8. The method of compressing image data according to claim 1, wherein the scanning direction of the constituent elements is a vertical direction of the screen.
【請求項9】 前記構成要素の走査方向を画面の右上が
り45゜又は右下がり45゜方向としたことを特徴とす
る請求項1〜3のうちの1つに記載の画像データの圧縮
方法。
9. The method of compressing image data according to claim 1, wherein the scanning direction of the constituent elements is set to the direction of upward 45 ° or downward 45 ° of the screen.
【請求項10】 前記構成要素の走査方向を画面の水
平、垂直、右上がり45゜、及び右下がり45゜方向の
各々について符号化データを生成し、該生成した符号化
データの内最も短いものを当該成分の符号化データとす
ることを特徴とする請求項1〜3のうちの1つに記載の
画像データの圧縮方法。
10. Coded data is generated for each of the scanning directions of the constituent elements in the horizontal, vertical, upward 45 ° rightward, and downward 45 ° rightward directions of the screen, and the shortest one of the generated encoded data is generated. The encoded data of the said component is used, The compression method of the image data of Claim 1 characterized by the above-mentioned.
【請求項11】 前記0ランの長さをモディファイドハ
フマン符号化法で符号化する成分の、非0値が連続した
非0ランの各々を、ハフマン符号化法あるいは算術符号
化法により符号化したことを特徴とする請求項1〜5の
うちの1つに記載の画像データの圧縮方法。
11. A non-zero run in which non-zero values are consecutive in a component for coding the length of the zero run by the modified Huffman coding method is coded by a Huffman coding method or an arithmetic coding method. The method for compressing image data according to claim 1, wherein the image data is compressed.
【請求項12】 前記非0ランの符号化データの末尾
を、データ区切りを示すための区切り符号で示すことを
特徴とする請求項11に記載の画像データの圧縮方法。
12. The method for compressing image data according to claim 11, wherein the end of the coded data of the non-zero run is indicated by a delimiter code for indicating a data delimiter.
【請求項13】 前記非0ランの符号化データの長さ
を、該長さを示す符号で表して前記非0ランの符号化デ
ータの先頭に付加したことを特徴とする請求項11に記
載の画像データの圧縮方法。
13. The non-zero run coded data is represented by a code indicating the length and added to the head of the non-zero run coded data. Image data compression method.
【請求項14】 前記非0ランの長さを示す符号を、モ
ディファイドハフマン符号としたことを特徴とする請求
項13に記載の画像データの圧縮方法。
14. The method of compressing image data according to claim 13, wherein the code indicating the length of the non-zero run is a modified Huffman code.
【請求項15】 前記空間周波数成分への分割を、 まず画面の水平方向及び垂直方向の双方が低周波数成分
の第1成分、一方が低周波数成分で他方が高周波数成分
の第2成分及び第3成分、双方が高周波数成分の第4成
分に分割し、 さらに前記第1成分を画像データとみなしてその画面の
水平方向及び垂直方向の双方が低周波数成分の第5成
分、一方が低周波数成分で他方が高周波数成分の第6成
分及び第7成分、双方が高周波数成分の第8成分に分割
し、 かかる分割を繰り返すことにより、双方が低周波数成分
の成分を複数回分割するとともに、その分割はハール変
換を用いることを特徴とする請求項1に記載の画像デー
タの圧縮方法。
15. The division into the spatial frequency components is first performed by first and second components of a low frequency component in both horizontal and vertical directions of the screen, one of which is a low frequency component and the other of which is a second component of a high frequency component. The third component is divided into a fourth component, which is a high-frequency component, and the first component is regarded as image data. A fifth component, which is a low-frequency component in both the horizontal and vertical directions of the screen, and one of which is a low-frequency component. The sixth component and the seventh component of the component are the high-frequency components, and the second component is the eighth component of the high-frequency component. By repeating this division, both components divide the low-frequency component a plurality of times, The image data compression method according to claim 1, wherein Haar transform is used for the division.
JP26867095A 1995-10-17 1995-10-17 Method for compressing image data Pending JPH09116899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26867095A JPH09116899A (en) 1995-10-17 1995-10-17 Method for compressing image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26867095A JPH09116899A (en) 1995-10-17 1995-10-17 Method for compressing image data

Publications (1)

Publication Number Publication Date
JPH09116899A true JPH09116899A (en) 1997-05-02

Family

ID=17461769

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26867095A Pending JPH09116899A (en) 1995-10-17 1995-10-17 Method for compressing image data

Country Status (1)

Country Link
JP (1) JPH09116899A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000510616A (en) * 1995-11-08 2000-08-15 ストーム テクノロジー,インコーポレイテッド Method and format for storing and selectively retrieving image data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000510616A (en) * 1995-11-08 2000-08-15 ストーム テクノロジー,インコーポレイテッド Method and format for storing and selectively retrieving image data

Similar Documents

Publication Publication Date Title
KR100530681B1 (en) How to send and receive coded video images
JP3967405B2 (en) Image signal encoding method
JP4113114B2 (en) DCT compression using GOLOMB-RICE coding
US6263109B1 (en) Context-based ordering and coding of transform coefficient bit-planes for embedded bitstreams
US5854857A (en) Using encoding cost data for segmentation and background suppression in JPEG-compressed images
JP3743384B2 (en) Image encoding apparatus and method, and image decoding apparatus and method
JP2005516553A (en) Coder-matched layer separation for compound document compression
US6912318B2 (en) Method and system for compressing motion image information
EP1423971A2 (en) Lossless intraframe encoding using golomb-rice
JP2005515727A (en) Coder-matched layer separation and interpolation for compound document compression
US6501861B1 (en) Scalable coding/decoding methods and apparatus for producing still image using wavelet transformation
AU2002316546A1 (en) Lossless intraframe encoding using golomb-rice
JPH08186815A (en) Sub band coding method
JPH06205388A (en) Picture coder
JP2004533181A (en) Selective chrominance decimation for digital images
EP0675460B1 (en) Method and apparatus for encoding a segmented image without loss of information
JP2004528791A (en) Inter-frame encoding method and apparatus
US6847736B2 (en) In image compression, selecting field or frame discrete wavelet transformation based on entropy, power, or variances from the high frequency subbands
US6631161B1 (en) Method and system for compressing motion image information
JPH09116899A (en) Method for compressing image data
JPH1175182A (en) Method and system for compressing moving image information
KR20020055864A (en) The encoding and decoding method for a colored freeze frame
JP2839987B2 (en) Image signal decoder
WO2002013539A1 (en) Sub-optimal variable length coding
Sathappan et al. Block based prediction with Modified Hierarchical Prediction image coding scheme for Lossless color image compression