JPH0437367A - Data compression control method - Google Patents

Data compression control method

Info

Publication number
JPH0437367A
JPH0437367A JP2143478A JP14347890A JPH0437367A JP H0437367 A JPH0437367 A JP H0437367A JP 2143478 A JP2143478 A JP 2143478A JP 14347890 A JP14347890 A JP 14347890A JP H0437367 A JPH0437367 A JP H0437367A
Authority
JP
Japan
Prior art keywords
data
encoding
huffman
quantized
encoded
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
JP2143478A
Other languages
Japanese (ja)
Inventor
Tadashi Yatsuno
八野 正
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.)
Fujitsu General Ltd
Original Assignee
Fujitsu General Ltd
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 Fujitsu General Ltd filed Critical Fujitsu General Ltd
Priority to JP2143478A priority Critical patent/JPH0437367A/en
Publication of JPH0437367A publication Critical patent/JPH0437367A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/005Statistical coding, e.g. Huffman, run length coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To devise the method such that run length encoding and Huffman encoding are easily applied to a data after DCT operation in the case of applying DCT operation to the picture data for compression by storing the data being quantized picture data, dividing the data into bit planes from the MSB and the LSB bits and applying run length encoding and Huffman encoding to the data. CONSTITUTION:An input data is quantized by a Discrete Cosine Transform(DCT) computing element 3 for each block, the quantized data is stored in a conversion data memory 4, the stored data is divided into bit planes, data '1', '0' for each plane are encoded by a run length encoder 7, the data subject to run length encoding is encoded by a Huffman encoder 8 to compress the input data. The run length encoding and Huffman encoding for compression are easily implemented by adopting the method employing a binarization data resulting from DCT operation to the picture data.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は自然画像を扱う画像装置に用いられ、画像デ
ータ(画像情報)等をl) CT (Discrete
 Co51ne Transfor@)演算し、このD
CT演算したデータを量子化、ランレングス(Run 
Length)符号化し、この符号化したデータを符号
化するデータ圧縮制御方法に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is used for an image device that handles natural images, and is used to process image data (image information), etc. using CT (Discrete).
Co51ne Transfer@) and calculate this D
CT-calculated data is quantized and run length
The present invention relates to a data compression control method for encoding the encoded data (Length) and encoding the encoded data.

[従 来 例] 従来、この種データ圧縮制御方法においては、例えば第
4図の矢印に示すように、所定ブロック1の画像データ
をDCT演算し、このDCT演算したデータを図面上で
左に寄せ、さらに図面上で上に寄せて、その所定ブロッ
ク1の上限に集積する・この後、所定ブロック1のDC
T演算したデータを所定しきい値で量子化してランレン
グス符号化する。しかる後、そのランレングス符号化し
たデータをハフマン符号化し、画像データを圧縮してい
る。
[Conventional example] Conventionally, in this type of data compression control method, for example, as shown by the arrow in FIG. , further move it upward on the drawing and accumulate it at the upper limit of the predetermined block 1. After this, the DC of the predetermined block 1
The T-operated data is quantized using a predetermined threshold value and run-length encoded. Thereafter, the run-length encoded data is Huffman encoded to compress the image data.

このように、画像データを圧縮することにより、画信号
の電送時間を速めることができ、自然画像伝送等に利用
されている。
By compressing image data in this way, it is possible to speed up the transmission time of image signals, and this is used for natural image transmission and the like.

[発明が解決しようとする問題点] ところで、上記データ圧縮制御方法において、DCT演
算結果によるデータ値が2値でなく、−方ランレングス
符号化、ハフマン符号化は2値データに適しているため
、上記DCT演算したデータはランレングス符号化、ハ
フマン符号化に適したものでない。
[Problems to be Solved by the Invention] By the way, in the data compression control method described above, the data value resulting from the DCT operation is not binary, and -way run-length encoding and Huffman encoding are suitable for binary data. , the data subjected to the DCT operation is not suitable for run-length encoding or Huffman encoding.

この発明は上記課題に鑑みなされたものであり、その目
的は画像データをDCT演算して圧縮する際、そのDC
T演算をランレングス符号化、ハフマン符号化をし易く
することができるようにしたデータ圧縮制御方法を提供
することにある。
This invention was made in view of the above problems, and its purpose is to reduce the DC
An object of the present invention is to provide a data compression control method that makes it easy to perform run-length encoding and Huffman encoding of T operations.

[問題点を解決するための手段] 上記目的を達成するために、この発明は画像データをD
CT演算、量子化し、この量子化したデータをランレン
グス符号化、ハフマン符号化するデータ圧縮制御方法に
おいて、その量子化したデータを記憶し、この記憶した
データをMSB (MostSignificant 
Bit)からLSB(Least 51gn1fica
ntBit)までの各ビットのプレーンに分け、この各
プレーンのデータ(1”JjQ”)をランレングス符号
化、ハフマン符号化し、前記画像データを圧縮するよう
にしたことを要旨とする。
[Means for Solving the Problems] In order to achieve the above object, the present invention converts image data into
In a data compression control method that performs CT calculation, quantization, and run-length encoding and Huffman encoding of the quantized data, the quantized data is stored, and the stored data is converted into MSB (Most Significant
Bit) to LSB (Least 51gn1fica
The gist is that the image data is divided into planes of each bit up to ntBit), the data of each plane (1"JjQ") is run-length encoded and Huffman encoded, and the image data is compressed.

[作  用] 上記方法としたので、例えば元像メモリに記憶されてい
るデータをブロック毎にDCT演算、量子化し、この量
子化したデータを変換データメモリに記憶する。この変
換データメモリのデータをスキャンするが、このスキャ
ンにより読み出したデータをMSBからLSBまでの各
ビットの各プレーンにセレクトする。この場合、例えば
第2図に示されているように、9 bit/画像の10
X8画素のDCTのマトリックスとすると、X Hyg
 Z(10X8X9)のブロック毎にスキャンが行われ
、かつ、そのZ軸方法のビットのプレーンがセレクトさ
れる。したがって、そのブロックでは9枚のプレーンが
セレクトされ、このセレクトされたプレーンのデータが
ランレングス符号化、ハフマン符号化される。
[Operation] Since the above method is adopted, for example, the data stored in the original image memory is subjected to DCT calculation and quantized for each block, and the quantized data is stored in the transformed data memory. The data in this conversion data memory is scanned, and the data read out by this scanning is selected into each plane of each bit from MSB to LSB. In this case, for example, as shown in FIG.
Assuming a DCT matrix of X8 pixels, X Hyg
Scanning is performed for each block of Z (10×8×9), and the bit plane of the Z-axis method is selected. Therefore, nine planes are selected in that block, and the data of the selected planes is run-length encoded and Huffman encoded.

このように、DCT演算したデータがビットの各プレー
ンのデータ(“1”、′O”)にされるため、以後のラ
ンレングス符号化、ハフマン符号化による符号化がし易
くなる。
In this way, since the data subjected to the DCT operation is converted into data of each plane of bits ("1", 'O'), subsequent encoding by run-length encoding and Huffman encoding becomes easier.

[実 施 例] 以下、この発明の実施例を第1図乃至第2図に基づいて
説明する。
[Example] Hereinafter, an example of the present invention will be described based on FIGS. 1 and 2.

この発明のデータ圧縮制御方法においては、入力データ
を1ブロツク毎にD CT (Discrete Co
−5ine Transform)演算、量子化し、こ
の量子化したデータを記憶し、この記憶したデータをビ
ットのプレーンに分け、このプレーン毎のデータ(“1
″“O”)をランレングス符号化、ハフマン符号化し、
入力データを圧縮している。
In the data compression control method of the present invention, input data is processed by DCT (Discrete Copy) for each block.
-5ine Transform) operation, quantization, storing this quantized data, dividing this stored data into planes of bits, and converting the data for each plane (“1
”“O”) is run-length encoded and Huffman encoded,
Compressing input data.

そのために1例えば第1図に示されているように、元像
メモリ2に記憶されている画像データをDCT演算して
量子化するDCT演算器3と、このDCT演算、量子化
したデータを記憶する変換データメモリ4と、この変換
データメモリ4のデータをスキャンして読み出すための
スキャン部5と、この読み出したデータをMSBからL
SBまでの各ビットのプレーンに分けてセレクトするセ
レクタ部6と、このセレクタされた各ビットのプレーン
毎のデータ(“1″JIQ?+)をランレングス符号化
するランレングス符号化器7と、このランレングス符号
化したデータをハフマン符号化するハフマン符号化器8
と、上記データのスキャンおよび各ビットのプレーン分
けを制御するビットセレクト制御部9とが備えられてい
る。なお、上記変換データメモリ4には、例えば第2図
に示されているように、量子化された画像データが記憶
されており、同図の2軸方向の各ビットのプレーン(Z
平面)毎のデータがセレクタ部6にてセレクトされる。
For this purpose, for example, as shown in FIG. a conversion data memory 4 for scanning, a scanning section 5 for scanning and reading out the data in the conversion data memory 4, and a scanning unit 5 for scanning and reading out the data in the conversion data memory 4;
A selector unit 6 that divides and selects each bit into planes up to SB, and a run-length encoder 7 that performs run-length encoding on the data (“1” JIQ?+) for each plane of each selected bit. A Huffman encoder 8 that Huffman encodes this run-length encoded data.
and a bit select control section 9 that controls scanning of the data and plane division of each bit. The conversion data memory 4 stores, for example, quantized image data as shown in FIG.
The data for each plane is selected by the selector unit 6.

また、その変換データメモリ4には同図のブロックが元
像メモリ2に記憶されている画像データに応じた数だけ
記憶される。
Further, the converted data memory 4 stores the blocks shown in the figure in a number corresponding to the image data stored in the original image memory 2.

次に、上記構成のデータ圧縮器に適用されるデータ圧縮
制御方法を第2図および第3図を参照して詳しく説明す
る。
Next, a data compression control method applied to the data compressor having the above configuration will be explained in detail with reference to FIGS. 2 and 3.

まず、元像メモリ2には映像信号がディジタルに変換さ
れて記憶されており、その元像メモリ2のデータが読み
出されているものとする。すると、その読み出されたデ
ータがDCT演算部3にてDCT演算、量子化されて変
換データメモリ4に記憶される。続いて、スキャン部5
にて変換データメモリ4のデータがスキャンされるが、
変換データメモリ4に記憶されているデータは量子化さ
れた“1”、′O”であり、例えば第2図に示されてい
るように、x * y ? X (10X 8 X 9
 )の立方体単位(ブロック単位)でそのスキャンが行
われる。また、セレクタ部6にて2軸方向のビットのプ
レーン毎にそのスキャンしたデータがセレクトされる。
First, it is assumed that a video signal is digitally converted and stored in the original image memory 2, and the data in the original image memory 2 is read out. Then, the read data is subjected to DCT calculation and quantization in the DCT calculation section 3 and is stored in the converted data memory 4. Next, scan section 5
The data in the conversion data memory 4 is scanned at
The data stored in the conversion data memory 4 is quantized "1", 'O', and as shown in FIG. 2, for example, x * y?
) is scanned in cubic units (block units). Further, the scanned data is selected by the selector unit 6 for each plane of bits in two axis directions.

すなわち、例えば第2図に示すブロックの場合、Z軸方
向も1ビツト目が指定されていると、第3図に示されて
いるように、セレクタ部6にてその1ビツト目のプレー
ンのデータがセレクトされる。
For example, in the case of the block shown in FIG. 2, if the first bit is also specified in the Z-axis direction, the selector unit 6 selects the data of the plane of the first bit as shown in FIG. is selected.

また、z軸方向が9ビツトであるため、上記セレクタ部
6においては、9枚のプレーンのデータがセレクトされ
ることになる。
Furthermore, since there are 9 bits in the z-axis direction, the selector section 6 selects data of nine planes.

続いて、上記セレクトされた各プレーンのデータがラン
レングス符号化器7にてランレングス符号化され、この
ランレングス符号化されたデータがハフマン符号化器8
にてハフマン符号化されるため、上記光像メモリ2の画
像データの圧縮データを得ることができる。
Subsequently, the data of each selected plane is run-length encoded by a run-length encoder 7, and this run-length encoded data is encoded by a Huffman encoder 8.
Since the image data is Huffman encoded in , compressed data of the image data in the optical image memory 2 can be obtained.

このように、DCT演算したデータ値をビットのプレー
ン単位で読み出すことで、そのデータ値を2値(“1″
“0”)のデータとすることができるため、ランレング
ス、ハフマン符号化が行ない易くなる。
In this way, by reading the DCT-calculated data value in bit plane units, the data value can be converted into a binary value (“1”
Since the data can be set to "0"), run-length encoding and Huffman encoding can be easily performed.

[発明の効果コ 以上説明したように、この発明のデータ圧縮制御方法に
よれば、画像データをDCT演算、量子化し、この量子
化したデータをランレングス符号化し、ハフマン符号化
するデータ圧縮制御方法において、上記量子化したデー
タをMSBからLSBまでの各ビットのプレーンに分け
、この各プレーンのデータC4I IT 、 u OT
l )をランレングス符号化し、このランレングス符号
化したデータをハフマン符号化し、上記画像データを圧
縮するようにしたので、上記DCT演算したデータ値を
2値のデータとしとして得られることがら、ランレング
ス符号化、ハフマン符号化がし易いという効果がある。
[Effects of the Invention] As explained above, according to the data compression control method of the present invention, image data is subjected to a DCT operation and quantized, and the quantized data is run-length encoded and Huffman encoded. , the above quantized data is divided into planes of each bit from MSB to LSB, and the data of each plane C4I IT , u OT
l) is run-length encoded, the run-length encoded data is Huffman encoded, and the above image data is compressed, so that the data values subjected to the above DCT operation can be obtained as binary data. This has the effect of making length encoding and Huffman encoding easier.

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

、第1図はこの発明の一実施例を示し、データ圧縮制御
方法が適用される回路ブロック図、第2図および第3図
は上記データ圧縮制御方法を説明するための模式図、第
4図はデータのDCT演算を説明する模式図である。 図中、1はブロック、2は光像メモリ、3はDCT演算
器、4は変換データメモリ、5はスキャン部、6はセレ
クタ部、7はランレングス符号化器、8はハフマン符号
化器、9はビットセレクト制御部である。 第4図 特許出願人  株式会社 富士通ゼネラル代理人 弁理
士  大 原 拓 也
, FIG. 1 shows an embodiment of the present invention, a circuit block diagram to which the data compression control method is applied, FIGS. 2 and 3 are schematic diagrams for explaining the data compression control method, and FIG. FIG. 2 is a schematic diagram illustrating DCT calculation of data. In the figure, 1 is a block, 2 is an optical image memory, 3 is a DCT calculator, 4 is a conversion data memory, 5 is a scan section, 6 is a selector section, 7 is a run length encoder, 8 is a Huffman encoder, 9 is a bit selection control section. Figure 4 Patent applicant: Fujitsu General Co., Ltd. Agent Patent attorney: Takuya Ohara

Claims (1)

【特許請求の範囲】[Claims] (1)画像データをDCT演算、量子化し、この量子化
したデータをランレングス符号化、ハフマン符号化する
データ圧縮制御方法において、前記量子化したデータを
記憶し、該記憶したデータをMSBからLSBの各ビッ
トのプレーンに分け、該各プレーンのデータ(“1”、
“0”)をランレングス符号化、ハフマン符号化し、前
記画像データを圧縮するようにしたことを特徴とするデ
ータ圧縮制御方法。
(1) In a data compression control method in which image data is subjected to DCT calculation and quantized, and the quantized data is run-length encoded and Huffman encoded, the quantized data is stored, and the stored data is converted from MSB to LSB. The data of each plane (“1”,
1. A data compression control method, characterized in that the image data is compressed by run-length encoding and Huffman encoding.
JP2143478A 1990-06-01 1990-06-01 Data compression control method Pending JPH0437367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2143478A JPH0437367A (en) 1990-06-01 1990-06-01 Data compression control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2143478A JPH0437367A (en) 1990-06-01 1990-06-01 Data compression control method

Publications (1)

Publication Number Publication Date
JPH0437367A true JPH0437367A (en) 1992-02-07

Family

ID=15339635

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2143478A Pending JPH0437367A (en) 1990-06-01 1990-06-01 Data compression control method

Country Status (1)

Country Link
JP (1) JPH0437367A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0618727A4 (en) * 1992-10-15 1995-03-01 Sony Corp Encoder and decoder.
WO1997010659A1 (en) * 1995-09-13 1997-03-20 Hitachi, Ltd. Method and device for compressing and ciphering data
US6411714B1 (en) 1995-09-13 2002-06-25 Hitachi, Ltd. Data decompression/decryption method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0618727A4 (en) * 1992-10-15 1995-03-01 Sony Corp Encoder and decoder.
WO1997010659A1 (en) * 1995-09-13 1997-03-20 Hitachi, Ltd. Method and device for compressing and ciphering data
US6122378A (en) * 1995-09-13 2000-09-19 Hitachi, Ltd. Data compression/encryption method and system
US6411714B1 (en) 1995-09-13 2002-06-25 Hitachi, Ltd. Data decompression/decryption method and system

Similar Documents

Publication Publication Date Title
US4193096A (en) Half tone encoder/decoder
US5327254A (en) Method and apparatus for compressing and decompressing image data
JP2656897B2 (en) Image data compression and decompression device
US6560369B1 (en) Conversion of wavelet coded formats depending on input and output buffer capacities
JPS61161871A (en) Apparatus for compression of data of binary bit indicating pixel of image dithered in digital picture processing process
JPH1118087A (en) Device and method for converting image data
JP2511158B2 (en) Image compression device
JPH0437367A (en) Data compression control method
US7450769B2 (en) Image processing method for facilitating data transmission
JPH065888B2 (en) Image data quantization method and apparatus
JP2776284B2 (en) Image coding device
JP3590648B2 (en) Method of compressing original image data and method of expanding original image data
JPH02122767A (en) Encoding/decoding system for picture signal
JP3559419B2 (en) Method and apparatus for decompressing compressed image data
JPH04269084A (en) Image converter
KR100530745B1 (en) Method of displaying a high-resolution digital image on a low-resolution display
JPH06245200A (en) Method and device for scanning two-dimensional data by energy distribution
JP3437346B2 (en) Image encoding / decoding device
JPH07236110A (en) Digital still camera
JPH06315143A (en) Image processor
JP2841643B2 (en) Image processing device
JP3136523B2 (en) Image conversion device
JP2839055B2 (en) Image editing device
JPS63155957A (en) Binary picture information compressing device
JP2758159B2 (en) Image compression / decompression device