JPS60176180A - Picture data compression system - Google Patents

Picture data compression system

Info

Publication number
JPS60176180A
JPS60176180A JP59030285A JP3028584A JPS60176180A JP S60176180 A JPS60176180 A JP S60176180A JP 59030285 A JP59030285 A JP 59030285A JP 3028584 A JP3028584 A JP 3028584A JP S60176180 A JPS60176180 A JP S60176180A
Authority
JP
Japan
Prior art keywords
processing
data
partial
differential processing
picture
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
JP59030285A
Other languages
Japanese (ja)
Inventor
Koichi Morishita
森下 孝一
Nobutake Yamagata
山縣 振武
Tetsuo Yokoyama
哲夫 横山
Kazuhiro Sato
一弘 佐藤
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 Ltd
Hitachi Healthcare Manufacturing Ltd
Original Assignee
Hitachi Ltd
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 Ltd, Hitachi Medical Corp filed Critical Hitachi Ltd
Priority to JP59030285A priority Critical patent/JPS60176180A/en
Publication of JPS60176180A publication Critical patent/JPS60176180A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding

Abstract

PURPOSE:To obtain a data compression ratio efficient for various pictures and to improve processing efficiency by deciding automatically the most suitable number of differential processings at every partial area in accordance with the partial data characteristic of a picture. CONSTITUTION:After a picture written from a film reader unit 61 is A/D-converted, it is stored in a magnetic disk 63. An image processor 62 chops a partial picture from the picture in the magnetic disk 63, executes differential processing at every partial area and compresses data. Then the processor 63 evaluates the result after the differential processing, and decides whether or not additional differential processing is necessary. When the additional differential processing is necessary, the differential processing is executed, its result is evaluated again. When the additional differential processing is unnecessary, data are encoded and their partial pictures are stored in, for instant, an optical disk 64, etc. By repeating such processing by one picture, compressed pictures are stored in the optical disk 64.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、画像データの圧縮方式に係わシ、特にディジ
タルX線画像の如く大容量のデータを効率良く圧縮する
のに好適な画像データ圧縮方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to an image data compression method, and particularly to an image data compression method suitable for efficiently compressing large amounts of data such as digital X-ray images. Regarding the method.

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

従来の差分処理に代表される画像データの帯域圧縮処理
では、1つの画像に対して画一的な処理を行なっていた
。そのため、1つの画像内でデータの帯域あるいは特性
が異なっていても全く同一な処理を行なってしまうため
データの圧縮効率が悪いという欠点があった。
In band compression processing of image data, typified by conventional differential processing, uniform processing is performed on one image. Therefore, even if data bands or characteristics differ within one image, the same processing is performed, resulting in poor data compression efficiency.

従って、画像毎に圧縮率が異なるだけではなく、圧縮率
を上げるためには、差分回数等を試行錯誤的に変えて実
験を〈夛返す必要があった。
Therefore, not only does the compression ratio differ for each image, but in order to increase the compression ratio, it is necessary to repeat experiments by changing the number of differences and the like through trial and error.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、画像の部分的なデータ特性に応じて、
最適な差分処理回数を自動的に決定することによシ、大
容量の画像データを効率よく圧縮する方式を提供する仁
とにある。
The object of the present invention is to, depending on the partial data characteristics of an image,
The purpose of this invention is to provide a method for efficiently compressing large amounts of image data by automatically determining the optimal number of differential processing steps.

〔発明の概要〕[Summary of the invention]

通常、データの圧縮処理は第1図に示すように三つの処
理に分けられる。第1は2次元の画像データの走査12
であり、水平方向の2スター走査が一般的である。第2
はデータの帯域(ダイナミックレンジ)の圧縮でアシ、
画素間の相間が高いことを利用し、差分予測符号化方式
(略してDPCM )等が広く用いられている。第3は
データのコード化であり、ナチュラルコード、ハフマン
コード等が代表的なものである。
Normally, data compression processing is divided into three processes as shown in FIG. The first is scanning 12 of two-dimensional image data.
, and two-star scanning in the horizontal direction is common. Second
is achieved by compressing the data bandwidth (dynamic range).
Differential predictive coding (abbreviated as DPCM) and the like are widely used, taking advantage of the high correlation between pixels. The third is data encoding, and natural codes, Huffman codes, etc. are typical examples.

本発明は、上記中の第2の処理に関連したものである。The present invention relates to the second process described above.

以下、第2図によシ本発明の基本的な考え方を説明する
。従来は、21に示すように例えばDPCMを1回画像
全体に適用することによシデータ帯域の圧縮をはかつて
いたが、本発明では、22に示すように画像をいくつか
の部分領域に分け、その領域毎に、例えば原画像そのも
のを用いた。9(216のDPCM’ )差分を2回実
行する(215のDPCM” )といったようにくシ返
し回数を部分領域毎に変えて、よシ高い圧縮率を実現し
ようとするものである。
The basic idea of the present invention will be explained below with reference to FIG. Conventionally, the data band was compressed by applying DPCM once to the entire image as shown in 21, but in the present invention, the image is divided into several partial areas as shown in 22, For each region, for example, the original image itself was used. 9 (216 DPCM') difference is executed twice (215 DPCM''), and the number of repetitions is changed for each partial area to achieve a higher compression ratio.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第3図〜第5図によシ説明す
る。
An embodiment of the present invention will be described below with reference to FIGS. 3 to 5.

第3図は、本発明の処理フローを示したものである。ま
ずステップ31で画像を部分領域に分ける。以後の説明
では、矩形領域に分割した例で説明するが、他にも高度
な領域分割法により、意味のある領域(例えば人体の部
位等)に分割するととも熱論可能である。
FIG. 3 shows the processing flow of the present invention. First, in step 31, the image is divided into partial areas. In the following explanation, an example in which the area is divided into rectangular areas will be explained, but it is also possible to divide the area into meaningful areas (for example, parts of the human body) using other advanced area division methods.

ステップ32では、部分領移毎に差分処理を行ないデー
タの圧縮を計る。差分処理は、いわゆる予測符号化方式
の最も単純な、前値予測に相当する処理である。即ち現
在の値をXiとするとその1つ前の値X1−1に予測係
数aを乗以予測誤差ε魚をめる処理である。つまシ、ε
l””XI−aXI−1となる。ここでは、a=1の場
合を例として述べている。
In step 32, differential processing is performed for each partial region to compress the data. The differential processing is the simplest processing of a so-called predictive coding method, and corresponds to previous value prediction. That is, when the current value is Xi, the previous value X1-1 is multiplied by the prediction coefficient a to calculate the prediction error ε. Tsumashi, ε
l""XI-aXI-1. Here, the case where a=1 is described as an example.

ステップ33では、差分処理後の結果を評価し、再度差
分処理をするべきか否かを決定する。これは、具体的に
は、以下のような評価基準を用いる。本処理ついては、
差分処理に続くコード化処理方式別に、以下の3つの例
について述べる。
In step 33, the result after the difference processing is evaluated, and it is determined whether the difference processing should be performed again. Specifically, the following evaluation criteria are used. Regarding this process,
The following three examples will be described for each encoding processing method following differential processing.

(1)差分データそのものを保存する場合この場合には
、差分処理後の画像データの最大値を捜し、その値が前
回の値よシ小さければさらに差分処理をくシ返すという
処理となる。
(1) When saving the difference data itself In this case, the maximum value of the image data after the difference processing is searched, and if that value is smaller than the previous value, the difference processing is repeated again.

(2)ナチュラルコード この場合には、圧縮率はデータの種類の故によって決ま
る。従って差分データからデータ種をカウントし、前回
の値上シ小さければさらに差分処理をくシ返すという処
理を行なう。
(2) Natural code In this case, the compression ratio depends on the type of data. Therefore, the data types are counted from the difference data, and if the previous value is smaller than the previous value, further difference processing is performed.

(3)ハフマンコード この場合には、圧縮率はデータの種類の数、およびその
度数分布によシ決まる。この場合には、第4図a、bに
示すような度数分布をめ、r′れによシ評価を行なう。
(3) Huffman code In this case, the compression rate depends on the number of data types and their frequency distribution. In this case, the r' error is evaluated based on the frequency distribution shown in FIGS. 4a and 4b.

まずデータ種をカウントし、前回よシ少ない場合には差
分処理をくシ返す。又、データ種が前回とほぼ同一であ
る時には、その度数についての分散値、即ち度数をDl
とした時、 (Nは、データ個数) にてめfcDa″の大小によシ判定を下す。第4図の例
では、aとbの分布を比較するとハフマンコード化を前
提としfc場合には、aの方が圧縮率が高い。この場合
のDo″をめてみると、aの方が約36、bの方が約4
.8となシ大きな差が出る。従ってDσ2が前回よシ大
きい時には差分処理をくシ返す。
First, count the data types, and if there are fewer data types than last time, perform differential processing and return. Also, when the data type is almost the same as the previous time, the variance value for that frequency, that is, the frequency, is Dl
When (N is the number of data), a judgment is made based on the size of fcDa''.In the example in Figure 4, comparing the distributions of a and b, assuming Huffman coding, in the case of fc , a has a higher compression ratio. Looking at Do'' in this case, a is about 36 and b is about 4
.. There is a huge difference between 8 and 8. Therefore, when Dσ2 is larger than the previous time, the differential processing is returned.

尚、上記のやシ方以外にも、実際にノ・7マンコード化
した後に、圧縮率を比較して判定を行なうことも熱論可
能である。
In addition to the method described above, it is also possible to make a determination by comparing the compression ratios after actually converting into 7-man code.

ステップ34は、差分処理のくシ返しの判定、ステップ
35はすべての部分領域を終了したか否かの判定、ステ
ップ36は次に処理すべき部分領域の設定を行なう。
In step 34, it is determined whether to repeat the differential processing. In step 35, it is determined whether all partial areas have been completed. In step 36, the partial area to be processed next is set.

次に第5図により具体的に数値例を挙げ、部分領域毎に
帯域圧縮方法を変えた場合の効釆について説明する。5
1.52はもとの部分画像、511゜512は1回差分
処理を行なったもの、522は2回差分処理をした値で
ある。まず、51と511を比較してみると1回の差分
て十分に帯域が圧縮されていることがわかる。絶対的な
帯域中は最大20(5ビツト)から4(3ビツト)へと
60優に圧縮され、データ種も13から4へと約30チ
に減っている。
Next, the effect of changing the band compression method for each partial area will be explained using a specific numerical example with reference to FIG. 5
1.52 is the original partial image, 511° and 512 are the values that have been subjected to differential processing once, and 522 are the values that have been subjected to differential processing twice. First, when comparing 51 and 511, it can be seen that the band is sufficiently compressed by one difference. The absolute bandwidth has been compressed by more than 60 bits, from a maximum of 20 bits (5 bits) to 4 bits (3 bits), and the number of data types has also been reduced from 13 bits to 4 bits, to about 30 bits.

52は、51と比較して濃度値の変動の巾が大きい場合
を示しておシ、1回の差分処理の結果521では、絶対
帯域中は、最大2’00(8ピツト〕から40(6ビツ
ト)へと約75 *、データ種は13から4へと約30
チに減っている。又、2回目の差分処理の結果では、絶
対帯域中は、最大20G(8ビツト)から−10(5ピ
ツト)へと約62チ、データ種は13から3へと約11
に減少している、 第6図は本発明の処理を実現するためのシステム構成例
、又、第7図は、#I6図の構成図と処理過程との対応
関係を示している。フィルムリーダユニット61から読
み込まれた画像はA/D変換された後、磁気ディスク6
3に格納される。イメージプロセッサ62は、63の画
像から部分画を切り出し、第3図に示す処理によシ帝域
圧縮処理を行ない符号化した後例えば光デイスク64等
に部分画を格納する。上記に述べた処理を1画面分くシ
返すことによシ、光ディスク64に圧縮された画像が格
納される。
52 indicates a case where the width of density value fluctuation is larger than 51. In 521, which is the result of one-time difference processing, the absolute band ranges from a maximum of 2'00 (8 pits) to 40 (6 pits). bit) to about 75 *, the data type goes from 13 to 4, about 30
It has decreased to chi. In addition, the results of the second difference processing show that the absolute bandwidth has changed from maximum 20G (8 bits) to -10 (5 pits), about 62 inches, and the data type has changed from 13 to 3, about 11
FIG. 6 shows an example of a system configuration for realizing the processing of the present invention, and FIG. 7 shows a correspondence relationship between the configuration diagram of FIG. #I6 and the processing process. The image read from the film reader unit 61 is A/D converted and then transferred to the magnetic disk 6.
3. The image processor 62 cuts out a partial image from the image 63, performs an image compression process as shown in FIG. 3, encodes it, and stores the partial image on, for example, an optical disk 64. A compressed image is stored on the optical disk 64 by repeating the above-described processing for one screen.

〔発明の効果」 本発明によれば、画像の部分的データ特性に応じて最も
適した差分処理回数を部分領域毎に自動的に決定するこ
とができ、櫨々の画像に対し効率の良いデータ圧縮率を
達成できるため処理効率の向上、ならびに大容画像デー
タの蓄積容易化に有効である。
[Effects of the Invention] According to the present invention, it is possible to automatically determine the most suitable number of times of difference processing for each partial region according to the partial data characteristics of an image, and to perform efficient data processing for a straight image. Since it is possible to achieve a high compression ratio, it is effective in improving processing efficiency and facilitating the storage of large image data.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はデータ圧縮処理の概要を示す図、第2図は本発
明の詳細な説明図、第3図は本発明の全体処理フロー、
第4図a、bは差分データのヒストグラム、第5図は本
発明の一実施態様を示す説明図、第6図は本発明の実施
に好適なシステム構成例、第7図はシステム構成と処理
過程の関係を示す模式図である。 22・・・部分領域に分割された画像、52・・・もと
の部分画像データ、521・・・1回差分データ、52
2・・・2回差分データ、62・・・イメージプロセッ
サ。 y 1 図 第 2 ロ Y 3 国 %4 口 (A) 第 5 図 第 2 目 第 72 第1頁の続き ■Int、CI、’ 識別記号 庁内整理番号0発 明
 者 佐 藤 −弘 相市新十余二2−タ内
Fig. 1 is a diagram showing an overview of data compression processing, Fig. 2 is a detailed explanatory diagram of the present invention, Fig. 3 is an overall processing flow of the present invention,
Figures 4a and b are histograms of differential data, Figure 5 is an explanatory diagram showing one embodiment of the present invention, Figure 6 is an example of a system configuration suitable for implementing the present invention, and Figure 7 is the system configuration and processing. It is a schematic diagram showing the relationship between processes. 22... Image divided into partial areas, 52... Original partial image data, 521... One-time difference data, 52
2... Twice difference data, 62... Image processor. y 1 Figure 2 Ro Y 3 Country% 4 Port (A) Figure 5 Figure 2 Item 72 Continuation of page 1 ■Int, CI,' Identification code Internal reference number 0 Inventor Sato-Hiroshi Aiichi New 10-Year-Old 22-Ta

Claims (1)

【特許請求の範囲】[Claims] 1、画像を記憶する手段と、差分処理によシ画像データ
の帯域を圧縮する手段と、圧縮された画像データをコー
ド化する手段とを有し、該画像を複数の領域に分割し、
領域毎に差分処理を複数回くシ返すこと、並びにくシ返
し処理を一定の基準により停止する手段を設けたことを
特徴とする画像データ圧縮方式。
1. It has means for storing an image, means for compressing the band of image data by differential processing, and means for encoding the compressed image data, and divides the image into a plurality of regions,
An image data compression method characterized by repeating differential processing multiple times for each area and providing means for stopping the repeating processing based on a certain standard.
JP59030285A 1984-02-22 1984-02-22 Picture data compression system Pending JPS60176180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59030285A JPS60176180A (en) 1984-02-22 1984-02-22 Picture data compression system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59030285A JPS60176180A (en) 1984-02-22 1984-02-22 Picture data compression system

Publications (1)

Publication Number Publication Date
JPS60176180A true JPS60176180A (en) 1985-09-10

Family

ID=12299443

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59030285A Pending JPS60176180A (en) 1984-02-22 1984-02-22 Picture data compression system

Country Status (1)

Country Link
JP (1) JPS60176180A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62191914A (en) * 1986-02-18 1987-08-22 Fuji Facom Corp Data accumulator
JP2013066115A (en) * 2011-09-20 2013-04-11 Yokogawa Electric Corp Method for compressing measurement data and device for compressing measurement data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62191914A (en) * 1986-02-18 1987-08-22 Fuji Facom Corp Data accumulator
JP2013066115A (en) * 2011-09-20 2013-04-11 Yokogawa Electric Corp Method for compressing measurement data and device for compressing measurement data

Similar Documents

Publication Publication Date Title
US6961736B1 (en) Compact color feature vector representation
US5661822A (en) Data compression and decompression
US5414527A (en) Image encoding apparatus sensitive to tone variations
US20100128797A1 (en) Encoding Of An Image Frame As Independent Regions
US4992954A (en) Method of storing character patterns and character pattern utilization system
CN107886560B (en) Animation resource processing method and device
JP2001519608A (en) Apparatus and method for performing fixed-speed block-by-block image compression based on estimated pixel values
CN105933708B (en) A kind of method and apparatus of data compression and decompression
KR20020031015A (en) Non-linear quantization and similarity matching methods for edge histogram bins
US5862264A (en) Image compression device and image compression method for compressing images by smoothing them, reversibly compressing the residual images and compressing the smoothed images based on fractal theory
WO2004075556A1 (en) Image compression device, image compression method, image compression program, compression/encoding method, compression/encoding device, compression/encoding program, decoding method, decoding device, and decoding program
US5502778A (en) Image data compression method for applying different compression ratios to different portions of an image
US5960119A (en) Method of and system for encoding digital images
JPH0832037B2 (en) Image data compression device
US6266375B1 (en) Method and apparatus for selecting a quantization table for encoding a digital image
JPS60176180A (en) Picture data compression system
JPS6192073A (en) Picture data compression system
Ohm et al. The MPEG-7 color descriptors
JPH0622143A (en) Transmission of image signal and encoding system for enhancement of reduction efficiency of data in storage
US20020001414A1 (en) System for building a data compression encoder
US6021225A (en) Image processing apparatus
US20070230805A1 (en) Coded Data Recording Apparatus, Decoding Apparatus and Program
US20040096198A1 (en) Adaptive digital video recorder and method of controlling the same
JP3954032B2 (en) Image coding apparatus, image coding method, image coding program, and computer-readable recording medium on which image coding program is recorded
CN113691818B (en) Video target detection method, system, storage medium and computer vision terminal