Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0614738B2 - Image compression method - Google Patents
[go: Go Back, main page]

JPH0614738B2 - Image compression method - Google Patents

Image compression method

Info

Publication number
JPH0614738B2
JPH0614738B2 JP61116155A JP11615586A JPH0614738B2 JP H0614738 B2 JPH0614738 B2 JP H0614738B2 JP 61116155 A JP61116155 A JP 61116155A JP 11615586 A JP11615586 A JP 11615586A JP H0614738 B2 JPH0614738 B2 JP H0614738B2
Authority
JP
Japan
Prior art keywords
image
allocation table
bit allocation
data
bit
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
Application number
JP61116155A
Other languages
Japanese (ja)
Other versions
JPS62274887A (en
Inventor
良洋 後藤
一弘 佐藤
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.)
Hitachi Healthcare Manufacturing Ltd
Original Assignee
Hitachi Medical 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 Hitachi Medical Corp filed Critical Hitachi Medical Corp
Priority to JP61116155A priority Critical patent/JPH0614738B2/en
Publication of JPS62274887A publication Critical patent/JPS62274887A/en
Publication of JPH0614738B2 publication Critical patent/JPH0614738B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は画像圧縮方法に係り、特に、再生画像中のノイ
ズを少なくするのに好適な画像圧縮方法に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image compression method, and more particularly to an image compression method suitable for reducing noise in a reproduced image.

〔発明の背景〕[Background of the Invention]

膨大な情報量を持つ画像を情報媒体として使用する場
合、画像情報を圧縮する技術が不可欠になってきてい
る。
When using an image having an enormous amount of information as an information medium, a technique for compressing image information has become indispensable.

画像情報を圧縮する従来技術として、例えば電子通信学
会論文誌’85/9VoL.J68−BNO.9の1088に、原画像を
アダマール変換して変換データを得、各変換データに配
分するビット数を変換データの特徴に応じて変える方法
が記載されている。
As a conventional technique for compressing image information, for example, the Institute of Electronics and Communication Engineers, '85 / 9VoL. J88-BNO.9, 1088 describes a method of Hadamard-converting an original image to obtain converted data, and changing the number of bits to be distributed to each converted data according to the characteristics of the converted data.

圧縮率を上げるには配分ビット数を少なくすればよい。
しかし、配分ビット数を少なくすると、再生画像中にノ
イズが多くなり原画像との差が大きくなってしまう。そ
こで、画像の特定の箇所だけ配分ビット数を多くするの
が一般的である。どこに多くのビット数を配分するかで
再生画像の画質が決まるが、上記従来の画像圧縮方法
は、アダマール変換データの特徴だけを用いてビットを
配分しているため、非可逆圧縮した画像を再生したと
き、再生画像中にノイズが多く含まれ、視覚特性が十分
でないという問題がある。
To increase the compression rate, the number of allocated bits may be reduced.
However, if the number of allocated bits is reduced, noise will increase in the reproduced image and the difference from the original image will increase. Therefore, it is general to increase the number of allocated bits only at a specific portion of the image. Although the quality of the reproduced image is determined by where many bits are allocated, the above-mentioned conventional image compression method allocates bits using only the characteristics of Hadamard-converted data. When doing so, there is a problem that the reproduced image contains a lot of noise and the visual characteristics are not sufficient.

〔発明の目的〕[Object of the Invention]

本発明の目的は、再生画像中のノイズが少なく視覚特性
が良好な画像圧縮方法を提供することにある。
An object of the present invention is to provide an image compression method in which noise in reproduced images is small and visual characteristics are good.

〔発明の概要〕[Outline of Invention]

上記目的を達成するため、本発明では、原画像と、該原
画像の縮小画像を拡大した画像との差画像を直交変換
し、該直交変換データをビット配分テーブルを参照しな
がら桁落させる非可逆画像圧縮方法において、ビット配
分テーブルを参照して桁落させた前記差画像の直交変換
データを当該ビット配分テーブルを参照して桁上げし、
桁落前と桁上後の両直交変換データの差データを調べて
ビット配分テーブルのビット配分を修正し、該修正ビッ
ト配分テーブルを用いて前記差画像の直交変換データを
桁落させて圧縮する。
To achieve the above object, in the present invention, a difference image between an original image and an image obtained by enlarging a reduced image of the original image is orthogonally transformed, and the orthogonal transformation data is digitized by referring to a bit allocation table. In the lossless image compression method, the orthogonal transformation data of the difference image that has been digit-carried by referring to the bit allocation table is carried by referring to the bit allocation table.
The difference data between the orthogonal transform data before the carry and the carry after carry is checked to correct the bit allocation of the bit allocation table, and the orthogonal conversion data of the difference image is subjected to the digit compression by using the modified bit allocation table and compressed. .

〔発明の実施例〕Example of Invention

以下、本発明の一実施例を図面を参照して説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第6図は本発明の一実施例に係る画像圧縮方法を行なう
ハード構成図であり、中央処理装置(CPU)1と、高
速演算回路2と、記憶媒体3と、ディスプレイ4と、図
示しない画像読取装置とは、バス5により相互に接続さ
れている。CPU1は、高速演算回路2や記憶媒体3を
制御・アクセスし後述する直交変換を高速演算回路2に
命令したり、記憶媒体3にデータを格納したりする。
FIG. 6 is a hardware configuration diagram for carrying out an image compression method according to an embodiment of the present invention, which includes a central processing unit (CPU) 1, a high-speed arithmetic circuit 2, a storage medium 3, a display 4, and an image (not shown). The reading device is connected to each other by a bus 5. The CPU 1 controls / accesses the high-speed arithmetic circuit 2 and the storage medium 3 to instruct the high-speed arithmetic circuit 2 to perform orthogonal transformation, which will be described later, and store data in the storage medium 3.

第1図は本発明の一実施例に係る画像圧縮方法の説明図
である。本実施例では、まず第一段階として、原画像
(a)6を縮小して縮小画像(S)7を得、この縮小画像(S)
7を記憶媒体3に格納する。また、縮小画像(S)7を補
間拡大して拡大画像(a′)8を作る。
FIG. 1 is an explanatory diagram of an image compression method according to an embodiment of the present invention. In this embodiment, as the first step, the original image
(a) 6 is reduced to obtain a reduced image (S) 7, and this reduced image (S)
7 is stored in the storage medium 3. Further, the reduced image (S) 7 is interpolated and enlarged to make an enlarged image (a ′) 8.

第2段階として、原画像(a)6と拡大画像(a′)8との差
画像(A=a−a′)9を作り、これとビット配分テーブ
ル(BAT)10とを用い、ビット配分テーブル修正処理
11を行って修正ビット配分テーブル(BAT′)を作る。
As a second step, a difference image (A = a−a ′) 9 between the original image (a) 6 and the enlarged image (a ′) 8 is created, and using this and a bit allocation table (BAT) 10, bit allocation is performed. Table correction process
11 is performed to create a modified bit allocation table (BAT ').

ビット配分テーブル修正処理11の詳細を第2図で説明す
る。ビット配分テーブル修正処理は、大きく分けて段階
Iと段階IIに分けられる。段階Iでは、先ず、画像(A
=a−a′)9にマダマール変換等の直交変換を施して変
換データ(B)13を得る。次に、ビット配分テーブル10を
参照しながら変換データ13を桁落させ、桁落変換データ
14を作る。ビット配分テーブル10は、最初は適当に決め
てよい。例えばデータのヒストグラムを求めて配分ビッ
トを一様に4ビットとする。そして、変換データ13を16
ビットのうち12ビットシフトさせて値を小さくし桁落変
換データ14を作る。その後、再びビット配分テーブル10
を参照し、桁落変換データ14を逆に12ビットシフトして
桁上げし、変換データ(B′)15を得る。この変換データ1
5を直交逆変換することで画像(A)9の再生画像(A′)16
を作る。変換データ(B′)15は、粗く作ったビット配分
テーブル10を参照しながら変換データ(B)13を桁落ち・
桁上げして作成したため、B≠Bである。従って、画像
A≠再生画像A′である。
Details of the bit allocation table correction processing 11 will be described with reference to FIG. The bit allocation table correction process is roughly divided into stage I and stage II. In stage I, first, the image (A
= A-a ') 9 is subjected to orthogonal transformation such as Madamale transformation to obtain transformed data (B) 13. Next, referring to the bit allocation table 10, the converted data 13 is digit-decimated and the digit-converted data is digitized.
Make 14 The bit allocation table 10 may be appropriately determined initially. For example, a histogram of data is obtained and the distribution bits are uniformly set to 4 bits. Then, the converted data 13 is converted to 16
Shift 12 bits out of the bits to reduce the value, and generate the digit conversion data 14. Then bit allocation table 10 again
The digit conversion data 14 is reversed by 12 bits to carry a digit to obtain converted data (B ′) 15. This converted data 1
Image (A) 9 reproduced image (A ') 16
make. Converted data (B ') 15 is digitized from converted data (B) 13 with reference to the roughly made bit allocation table 10.
Since it was created by carrying, B ≠ B. Therefore, image A ≠ reproduced image A ′.

段階IIとして、画像Aから再生画像A′を差し引いた差
画像(A-A′)17を作り、これを直交変換して変換データ1
8を求める。この変換データ18を調べ、他より大きな値
をとる箇所をさがす。他より大きな箇所がx,yであっ
たとすると、ビット配分テーブル10の当該箇所x,yの
配分ビット数を大きくし、修正ビット配分テーブル12を
得る。
In step II, a difference image (AA ') 17 is created by subtracting the reproduced image A'from the image A, and this is orthogonally transformed to obtain the transformed data 1
Ask for 8. The converted data 18 is examined to find a portion having a larger value than the others. Assuming that the larger portion than the other is x, y, the distribution bit number of the corresponding portion x, y of the bit distribution table 10 is increased, and the modified bit distribution table 12 is obtained.

このようにして修正された修正ビット配分テーブル12
は、もとのビット配分テーブル10よりも正確になってい
る。より正確な修正ビット配分テーブルを欲する場合
は、修正ビット配分テーブル12を段階Iのビット配分テ
ーブル10として段階I,IIの手順を繰り返すことで得ら
れる。
Modified Bit Allocation Table 12 modified in this way
Is more accurate than the original bit allocation table 10. If a more accurate modified bit allocation table is desired, it can be obtained by repeating the procedure of steps I and II with the modified bit allocation table 12 as the bit allocation table 10 of step I.

第2図に示すビット配分テーブル修正処理では、画像
(A)とその再生画像(A′)との差画像(A-A′)を直交変換
した変換データ18を調べてビット配分修正箇所x,yを
さがしたが、第3図に示すように、段階Iにおける変換
データ(B)13と変換データ(B′)15との差18′を調べてビ
ット配分修正箇所x,yをさがしても、数学的に等価で
ある。
In the bit allocation table correction process shown in FIG.
The difference image (AA ') between (A) and its reproduced image (A') is orthogonally transformed to find the bit allocation correction points x and y. As shown in FIG. The difference 18 'between the converted data (B) 13 and the converted data (B') 15 in I is checked to find the bit allocation correction points x and y, but they are mathematically equivalent.

以上のようにして修正ビット配分テーブル12を作成した
後、第1図の第三段階で、差画像(A=a-a′)9を修正ビ
ット配分テーブル12を用いて圧縮する。まず、差画像9
を直交変換して変換データ19を作る。そして、修正ビッ
ト配分テーブル12を参照しながら桁落させて桁落変換デ
ータ20を作り、容量を少なくするためにこれを後述する
ように充填して充填データ(CP)21を得、記憶媒体3
に格納する。また、修正ビット配分テーブル12も充填し
て充填ビット配分テーブル22を得、記録媒体3に格納す
る。
After the modified bit allocation table 12 is created as described above, the difference image (A = aa ') 9 is compressed using the modified bit allocation table 12 in the third stage of FIG. First, the difference image 9
Is orthogonally transformed to create transformed data 19. Then, with reference to the modified bit allocation table 12, digit cancellation is performed to generate the digit conversion data 20, and this is filled as described later to obtain the filling data (CP) 21 in order to reduce the capacity, and the storage medium 3 is obtained.
To store. Further, the modified bit allocation table 12 is also filled to obtain the filled bit allocation table 22 and stored in the recording medium 3.

「充填」とは、次の様な処理をいう。例えば画像の各画
素に夫々16ビットを割り振って画像をデジタル信号化し
メモリ内に格納する場合、16ビット単位に構成されたメ
モリの各アドレスに1画素づつ格納すると膨大なメモリ
容量を必要とする。そこで、ハフマン符号等の可変長符
号を用い、出現確率の高い画素情報ほど短い符号長(ビ
ット数)を割り振ることで画像をデジタル化し、これを
メモリに格納するときは、メモリの構成単位に関係なく
隙間なく順次つめて格納する。これを充填という。つま
り、4ビット構成,5ビット構成,7ビット構成と異な
る符号長で表わされた画素データを、16ビット単位のメ
モリに隙間なく順次つめて格納する。これにより、例え
ば第4図に示すように、夫々16ビットで表わされた6つ
の画素をメモリに格納する場合、6アドレス×16ビット
の容量を必要としていたものが、充填処理により、2ア
ドレス×16ビットの容量で済むようになる。充填して格
納したメモリから画像データを読み出す場合は、ハフマ
ン符号等の可変長符号の規則を格納したテーブルを参照
しながら読み出すことで充填前の元のデータを復元する
ことができる。これを「伸長」という。
"Filling" refers to the following processing. For example, when 16 bits are allocated to each pixel of the image and the image is converted into a digital signal and stored in the memory, storing one pixel at each address of the memory configured in 16 bits requires a huge memory capacity. Therefore, when a variable-length code such as Huffman code is used, and the pixel information with a higher appearance probability is assigned a shorter code length (bit number), the image is digitized and stored in the memory. Store them together without any gaps. This is called filling. That is, pixel data represented by a code length different from the 4-bit configuration, 5-bit configuration, and 7-bit configuration are sequentially stored in a 16-bit unit memory without any space. As a result, for example, as shown in FIG. 4, when 6 pixels each represented by 16 bits are stored in the memory, a capacity of 6 addresses × 16 bits is required. × 16-bit capacity will be enough. When the image data is read from the filled and stored memory, the original data before the filling can be restored by referring to the table storing the rule of the variable length code such as Huffman code. This is called "extension".

次に、画像aを再生する手順を第5図を参照して説明す
る。記憶媒体3から、縮小画像(S)7と、充填データ(C
P)21と、充填ビット配分テーブル22を読み出す。縮小画
像7を補間拡大して拡大画像(a′)8を作る。充填デー
タ21,充填ビット配分テーブル22は、夫々前述した「伸
長」処理を行なうことで桁落変換データ20,修正ビット
配分テーブル12に戻す。そして、桁落変換データ20を、
修正ビット配分テーブル12を参照しながら桁上げし、桁
上変換データ23を作る。この桁上変換データ23を直交逆
変換すると、差画像(a-a′)の再生画像24が得られる。
この再生差画像(a-a′)24と、拡大画像(a′)8とを加算
すると、画像aの再生画像25が得られる。
Next, the procedure for reproducing the image a will be described with reference to FIG. From the storage medium 3, the reduced image (S) 7 and filling data (C
P) 21 and the filling bit allocation table 22 are read. The reduced image 7 is interpolated and enlarged to form an enlarged image (a ′) 8. The filling data 21 and the filling bit allocation table 22 are returned to the digit conversion data 20 and the correction bit allocation table 12 by performing the above-mentioned "expansion" processing, respectively. And the digit conversion data 20
The carry is carried out while referring to the modified bit allocation table 12, and the carry conversion data 23 is created. When this carry-converted data 23 is subjected to inverse orthogonal transform, a reproduced image 24 of the difference image (aa ') is obtained.
By adding the reproduced difference image (aa ') 24 and the enlarged image (a') 8, a reproduced image 25 of the image a is obtained.

以上のようにして得られた再生画像25は、原画像6(第
1図)を高精度に再現するもので、ノイズが少なく視覚
特性が優れている。
The reproduced image 25 obtained as described above reproduces the original image 6 (FIG. 1) with high accuracy and has little noise and excellent visual characteristics.

〔発明の効果〕〔The invention's effect〕

本発明によれば、再生画像中のノイズが少なく原画像と
の差が小さくなるので、再生画像の視覚特性,忠実性が
向上する。
According to the present invention, since the noise in the reproduced image is small and the difference from the original image is small, the visual characteristics and fidelity of the reproduced image are improved.

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

第1図は本発明の一実施例に係る画像圧縮方法の説明
図、第2図は第1図に示すビット配分テーブル修正処理
の詳細説明図、第3図はビット配分テーブル修正処理の
別手順を示す説明図、第4図は第1図に示す充填方法の
説明図、第5図は画像再生方法の説明図、第6図はハー
ド構成図である。 3…記憶媒体、6…原画像、7…縮小画像、8…拡大画
像、9…差画像、10…ビット配分テーブル、12…修正ビ
ット配分テーブル、24…再生差画像、25…再生画像。
FIG. 1 is an explanatory diagram of an image compression method according to an embodiment of the present invention, FIG. 2 is a detailed explanatory diagram of the bit allocation table correction processing shown in FIG. 1, and FIG. 3 is another procedure of the bit allocation table correction processing. 4 is an explanatory view of the filling method shown in FIG. 1, FIG. 5 is an explanatory view of the image reproducing method, and FIG. 6 is a hardware configuration diagram. 3 ... Storage medium, 6 ... Original image, 7 ... Reduced image, 8 ... Enlarged image, 9 ... Difference image, 10 ... Bit allocation table, 12 ... Modified bit allocation table, 24 ... Reproduction difference image, 25 ... Reproduction image.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】原画像と、該原画像の縮小画像を拡大した
画像との差画像を直交変換し、該直交変換データをビッ
ト配分テーブルを参照しながら桁落させる非可逆画像圧
縮方法において、ビット配分テーブルを参照して桁落さ
せた前記差画像の直交変換データを当該ビット配分テー
ブルを参照して桁上げし、桁落前と桁上後の両直交変換
データの差データを調べてビット配分テーブルのビット
配分を修正する修正処理を行ない、得られた修正ビット
配分テーブルを用いて前記差画像の直交変換データを圧
縮することを特徴とする画像圧縮方法。
1. A irreversible image compression method for orthogonally transforming a difference image between an original image and an image obtained by enlarging a reduced image of the original image, and carrying out digit shift of the orthogonal transformation data while referring to a bit allocation table, The orthogonal transformation data of the difference image, which has been digit-shifted by referring to the bit allocation table, is carried by the digit by referring to the bit-allocation table, and the difference data between the orthogonal transformation data before and after the digit cancellation is checked to determine the bit. An image compression method, characterized in that a correction process for correcting the bit distribution of a distribution table is performed and the orthogonal transformation data of the difference image is compressed using the obtained modified bit distribution table.
JP61116155A 1986-05-22 1986-05-22 Image compression method Expired - Lifetime JPH0614738B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61116155A JPH0614738B2 (en) 1986-05-22 1986-05-22 Image compression method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61116155A JPH0614738B2 (en) 1986-05-22 1986-05-22 Image compression method

Publications (2)

Publication Number Publication Date
JPS62274887A JPS62274887A (en) 1987-11-28
JPH0614738B2 true JPH0614738B2 (en) 1994-02-23

Family

ID=14680130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61116155A Expired - Lifetime JPH0614738B2 (en) 1986-05-22 1986-05-22 Image compression method

Country Status (1)

Country Link
JP (1) JPH0614738B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3152394B2 (en) * 1988-12-13 2001-04-03 株式会社東芝 Image coding method

Also Published As

Publication number Publication date
JPS62274887A (en) 1987-11-28

Similar Documents

Publication Publication Date Title
JPH0352071B2 (en)
US5202670A (en) Image processing apparatus
JPS62173870A (en) Orthogonal transform coding method for picture data
US5502778A (en) Image data compression method for applying different compression ratios to different portions of an image
US5619629A (en) Drawing data producing apparatus and drawing data producing method
JP2806945B2 (en) Method and circuit arrangement for improving the resolution of a digital signal
JPH069061B2 (en) Smoothing method for image data
US6313767B1 (en) Decoding apparatus and method
JPH0564015A (en) Image encoding device and image decoding device
JPH10190478A (en) Data compression apparatus and method, recording medium, and data decompression apparatus and method
JPH0614738B2 (en) Image compression method
JP2702408B2 (en) Image conversion system
CN119512462A (en) Data storage method, device and electronic device in direct mode
JP2806944B2 (en) How to improve the resolution of digital signals
JP3661964B2 (en) Image enlargement processing apparatus and method, and recording medium recorded with image enlargement processing control program
JPH05268470A (en) Image signal processor
JP2882986B2 (en) Image conversion system
JPH04354068A (en) Method and device for interpolating picture data
JPH0818791A (en) Image processing apparatus and method thereof
JPS6342587A (en) Data compressing method
JP2638179B2 (en) Image signal compression / encoding device and image signal compression / decompression system
JP2504582B2 (en) Matrix scan circuit
JPH0537793A (en) Picture data storage read system and picture data conversion system
JP2000182024A (en) Image processing apparatus and method, and providing medium
JPS63155954A (en) Image signal processing device