JP2827314B2 - Image compression circuit - Google Patents

Image compression circuit

Info

Publication number
JP2827314B2
JP2827314B2 JP1210752A JP21075289A JP2827314B2 JP 2827314 B2 JP2827314 B2 JP 2827314B2 JP 1210752 A JP1210752 A JP 1210752A JP 21075289 A JP21075289 A JP 21075289A JP 2827314 B2 JP2827314 B2 JP 2827314B2
Authority
JP
Japan
Prior art keywords
circuit
data
processing
dct
color conversion
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
JP1210752A
Other languages
Japanese (ja)
Other versions
JPH0376398A (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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP1210752A priority Critical patent/JP2827314B2/en
Publication of JPH0376398A publication Critical patent/JPH0376398A/en
Application granted granted Critical
Publication of JP2827314B2 publication Critical patent/JP2827314B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は画像の圧縮を行う画像圧縮回路に係わり、特
に色変換、DCT−SQおよび可変長符号化等の処理を高速
化することのできる画像圧縮回路に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image compression circuit that compresses an image, and in particular, can speed up processing such as color conversion, DCT-SQ, and variable-length coding. The present invention relates to an image compression circuit.

〔従来の技術〕[Conventional technology]

大量の画像データをファイリングしたり通信するため
には、その処理にかなりの時間を要する。これらの時間
を短縮するために画像データの圧縮を行う技術が活用さ
れている。画像データの圧種の方式には各種あり、2次
元離散コサイン−スカラ量子化法によって周波数成分に
変換するDCT−SQ方式もその1つである。
In order to file and communicate a large amount of image data, the processing requires a considerable amount of time. Techniques for compressing image data are used to reduce these times. There are various types of compression types of image data, and one of them is the DCT-SQ method for converting to frequency components by a two-dimensional discrete cosine-scalar quantization method.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

DCT−SQ方式による画像データの圧縮は、色変換処
理、DCT−SQ処理およびVLC(可変長符号化)処理に分か
れる。したがって、これらの処理をシーケンシャルに行
うと、処理に時間を要し、大量の画像データを高速で処
理することができない。
Image data compression by the DCT-SQ method is divided into color conversion processing, DCT-SQ processing, and VLC (variable length coding) processing. Therefore, if these processes are performed sequentially, it takes time for the processes, and a large amount of image data cannot be processed at high speed.

そこで本発明の目的は、これら色変換処理、DCT−SQ
処理およびVLC処理を高速で行うことのできる画像圧縮
回路を提供することにある。
Therefore, an object of the present invention is to perform these color conversion processing, DCT-SQ
An object of the present invention is to provide an image compression circuit capable of performing high-speed processing and VLC processing.

〔課題を解決するための手段〕[Means for solving the problem]

本発明では、(i)赤、緑および黄の3色の多値画像
データを縦、横それぞれn×mピクセルサイズの輝度な
らびに色差データに変換する色変換回路と、(ii)この
色変換回路の変換した所定単位ずつのデータを入力する
第1の先入れ先出しメモリと、(iii)この第1の先入
れ先出しメモリから所定単位ずつのデータを入力し、こ
のn×mピクセルサイズについての輝度ならびに色差デ
ータを2次元離散コサイン−スカラ量子化法によって周
波数成分に変換するDCT−SQ回路と、(iv)このDCT−SQ
回路の処理した所定単位ずつのデータを入力する第2の
先入れ先出しメモリと、(v)この第2の先入れ先出し
メモリから所定単位ずつのデータを入力し、符号化を行
う可変長符号化回路とを画像圧縮回路に具備させる。
According to the present invention, (i) a color conversion circuit for converting multi-valued image data of three colors of red, green and yellow into luminance and color difference data of n × m pixel size in each of vertical and horizontal directions, and (ii) this color conversion circuit (Iii) a first-in first-out memory for inputting data of a predetermined unit, and (iii) input data of a predetermined unit from the first first-in first-out memory, and obtain luminance and color difference data for the n × m pixel size. A DCT-SQ circuit for converting to a frequency component by a two-dimensional discrete cosine-scalar quantization method, and (iv) the DCT-SQ
A second first-in first-out memory for inputting data of a predetermined unit processed by the circuit, and (v) a variable-length encoding circuit for inputting data of a predetermined unit for each predetermined unit from the second first-in first-out memory and performing encoding. A compression circuit is provided.

そして、先入れ先出し(FIFO)回路を用いることによ
って色変換処理、DCT−SQ処理およびVLC処理の並列的な
処理を可能とし、これによりDCT−SQ方式による画像デ
ータの圧縮の高速化を図る。
By using a first-in-first-out (FIFO) circuit, parallel processing of color conversion processing, DCT-SQ processing, and VLC processing can be performed, thereby speeding up the compression of image data by the DCT-SQ method.

〔実施例〕〔Example〕

以下、実施例につき本発明を詳細に説明する。 Hereinafter, the present invention will be described in detail with reference to examples.

第1図は本発明の画像圧縮回路の一態様として画像の
圧縮と伸長の双方を行うことのできる画像圧縮伸長回路
を表わしたものである。
FIG. 1 shows an image compression / decompression circuit capable of performing both compression and decompression of an image as one embodiment of the image compression circuit of the present invention.

赤、緑および黄(R,G,B)の3色の多値画像データ11
は、この画像圧縮伸長回路の色変換回路12に入力される
ようになっている。色変換回路12では、縦、横それぞれ
n×mピクサルサイズの輝度および色差(Y,Cb,Cr)の
画像データ13に変換され、IC(集積回路)によって構成
された第1のFIFO回路14に供給される。全ピクセルの色
変換が終了してこの第1のFIFO回路14への入力が行われ
たら、ここからデータ15がDCT−SQ回路16に供給され、
それぞれの輝度および色差(Y,Cb,Cr)が2次元離散コ
サイン−スカラ量子化法によって周波数成分に変換さ
れ、周波性成分のデータ17となる。この周波数成分のデ
ータ17は同じくICによって構成された第2のFIFO回路18
に入力される。
Red, green and yellow (R, G, B) multi-valued image data of three colors 11
Are input to the color conversion circuit 12 of the image compression / decompression circuit. The color conversion circuit 12, a vertical, luminance and color difference horizontal respectively n × m Pikusarusaizu (Y, C b, C r ) is converted into the image data 13 of first FIFO circuit 14 configured by an IC (integrated circuit) Supplied to When the color conversion of all the pixels is completed and the input to the first FIFO circuit 14 is performed, the data 15 is supplied to the DCT-SQ circuit 16 from there.
Each luminance and chrominance (Y, C b, C r ) is two-dimensional discrete cosine - is transformed into frequency components by the scalar quantization method, the data 17 of the frequency components. The data 17 of this frequency component is stored in a second FIFO circuit 18 also constituted by an IC.
Is input to

全ピクセルデータについてDCT−SQ回路16による処理
が終了したら、第2のFIFO回路18からデータ19がVLC20
に転送され、ここで符号化すなわち不等長圧縮処理が行
われる。このようにして作成された圧種データ21は、例
えば他の装置に送信されることになる。
When the processing by the DCT-SQ circuit 16 is completed for all pixel data, the data 19 is transmitted from the second FIFO circuit 18 to the VLC 20.
, Where encoding, that is, unequal-length compression processing is performed. The pressure type data 21 created in this manner is transmitted to, for example, another device.

圧縮データ21がVLC20に入力された場合の逆変換は、
今説明した変換処理と逆のシーケンスで行われることに
なる。
The reverse conversion when the compressed data 21 is input to the VLC 20 is as follows:
This is performed in the reverse sequence to the conversion process just described.

第2図は、符号化時および復号化時の処理シーケンス
を表わしたものである。まず、符号化時の画像圧縮伸長
回路の動作について説明する。同図Aaの色変換処理すな
わち赤、緑および黄(R,G,B)の3色が輝度および色差
(Y,Cb,Cr)に変換される処理の結果、時刻t1に第1のF
IFO回路14(Fと略して図示)に最初の画像データ13
が入力されたら、これは直ちにDCT−SQ回路16に供給さ
れる。この結果、色変換回路12によって次の色変換処理
が行われている時間と並行してDCT−SQ回路16でDCT−SQ
処理が行われる(第2図Ab)。
FIG. 2 shows a processing sequence at the time of encoding and decoding. First, the operation of the image compression / decompression circuit during encoding will be described. The color conversion processing i.e. red figure Aa, green and yellow (R, G, B) 3-color luminance and color difference (Y, C b, C r ) results of the processing to be converted into, first at time t 1 F
First image data 13 is stored in an IFO circuit 14 (shown as F).
Is supplied to the DCT-SQ circuit 16 as soon as is input. As a result, in parallel with the time when the next color conversion processing is performed by the color conversion circuit 12, the DCT-SQ
Processing is performed (FIG. 2, Ab).

時刻t2に色変換回路12から次の画像データ13が第1の
FIFO回路14に入力されるが、第1のFIFO回路14ではDCT
−SQ回路16の処理が終了するまで、これをバッファリン
グしておく。そして、この終了した時刻t3に第1のFIFO
回路14からこのデータ15をDCT−SQ回路16に供給する。
これと同一時刻にDCT−SQ回路16の処理が終了したデー
タ17が第2のFIFO回路18(Fと略して図示)に入力さ
れ、第2のFIFO回路18はこれをデータ19として直ちにVL
C20に供給する。これにより、DCT−SQ回路16による処理
と並列にVLC20による処理が開始することになる(第2
図Ac)。なお、色変換回路12も、通常最も長時間を要す
るDCT−SQ処理との兼ね合いでその色変換処理を時間的
に並行して開始させる。
Next image data 13 from the color conversion circuit 12 at time t 2 is the first
The signal is input to the FIFO circuit 14, but the first FIFO circuit 14
This is buffered until the processing of the SQ circuit 16 is completed. Then, the first FIFO in time t 3, which was the end
The data 15 is supplied from the circuit 14 to the DCT-SQ circuit 16.
At the same time, the data 17 for which the processing of the DCT-SQ circuit 16 has been completed is input to a second FIFO circuit 18 (shown as F), and the second FIFO circuit 18 immediately converts this to data VL.
Supply to C20. As a result, the processing by the VLC 20 starts in parallel with the processing by the DCT-SQ circuit 16 (second processing).
Figure Ac). Note that the color conversion circuit 12 also starts the color conversion processing in parallel with time in consideration of the DCT-SQ processing that usually requires the longest time.

以下同様にして、第1および第2のFIFO回路14、18で
データのバッファリングを行いながらこれらが所望のタ
イミングでDCT−SQ回路16およびVLC20に供給され、色変
換回路12、DCT−SQ回路16およびVLC20の3つの回路が並
列して処理を行うことになる。
Similarly, while buffering data in the first and second FIFO circuits 14 and 18, these are supplied to the DCT-SQ circuit 16 and the VLC 20 at desired timing, and the color conversion circuit 12 and the DCT-SQ circuit The three circuits 16 and VLC 20 perform processing in parallel.

第2図Ba〜Bcに示した逆変換についても同様である。
ここで同図Baは復号化におけるVLC処理のタイミングを
表わしており、同図Bbは逆DCT−SQ処理のタイミングを
表わしている。同図Bcは色変換処理すなわち輝度および
色差(Y,Cb,Cr)から赤、緑および黄(R,G,B)の3色に
逆変換される処理のタインミングを表わしている。
The same applies to the inverse transformation shown in FIGS.
Here, FIG. 9B shows the timing of the VLC process in decoding, and FIG. 10B shows the timing of the inverse DCT-SQ process. FIG Bc represents the color conversion processing i.e. luminance and chrominance (Y, C b, C r ) to red, green and yellow (R, G, B) the Tainmingu inverse transformed are processed three colors.

なお、以上説明した実施例では画像の圧縮のみならず
伸長についても時間的に並列して処理するようにしたの
で、画データの圧縮のみならず、圧縮された画データの
伸長時においても処理時間の短縮を行うことができる。
In the above-described embodiment, not only the image compression but also the decompression are processed in parallel in time, so not only the compression of the image data but also the processing time is not limited to the decompression of the compressed image data. Can be shortened.

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

このように本発明によれば、色変換処理とDCT−SQ処
理、およびDCT−SQ処理とVLC処理の間に先入れ先出しメ
モリを配置して、3つの処理を所定の単位ずつ時間的に
並列処理できるようにしたので、全体としての圧縮処理
時間を短縮することができる。
As described above, according to the present invention, a first-in first-out memory is arranged between the color conversion processing and the DCT-SQ processing, and between the DCT-SQ processing and the VLC processing, so that the three processings can be processed in parallel in time by a predetermined unit. As a result, the overall compression processing time can be reduced.

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

図面は本発明の一実施例を説明するためのもので、この
うち第1図は画像圧縮伸長回路の回路構成を示すブロッ
ク図、第2図はこの回路による並列処理の様子を示した
タイミング図である。 11……多値画像データ、 12……色変換回路、 14……第1のFIFO回路、 16……DCT−SQ回路、 18……第2のFIFO回路、 20……VLC、 21……圧縮データ。
1 is a block diagram showing a circuit configuration of an image compression / expansion circuit, and FIG. 2 is a timing chart showing a state of parallel processing by this circuit. It is. 11: Multi-valued image data, 12: Color conversion circuit, 14: First FIFO circuit, 16: DCT-SQ circuit, 18: Second FIFO circuit, 20: VLC, 21: Compression data.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】赤、緑および黄の3色の多値画像データを
縦、横それぞれn×mピクセルサイズの輝度ならびに色
差データに変換する色変換回路と、 この色変換回路の変換した所定単位ずつのデータを入力
する第1の先入れ先出しメモリと、 この第1の先入れ先出しメモリから所定単位ずつのデー
タを入力し、このn×mピクセルサイズについての輝度
ならびに色差データを2次元離散コサイン−スカラ量子
化法によって周波数成分に変換するDCT−SQ回路と、 このDCT−SQ回路の処理した所定単位ずつのデータを入
力する第2の先入れ先出しメモリと、 この第2の先入れ先出しメモリから所定単位ずつのデー
タを入力し、符号化を行う可変長符号化回路 とを具備することを特徴とする画像圧縮回路。
1. A color conversion circuit for converting multi-valued image data of three colors of red, green and yellow into luminance and color difference data of n × m pixel size in each of vertical and horizontal directions, and a predetermined unit converted by the color conversion circuit A first-in first-out memory for inputting data of each unit, and data of predetermined units are input from the first first-in-first-out memory, and two-dimensional discrete cosine-scalar quantization of luminance and chrominance data for this n × m pixel size A DCT-SQ circuit for converting to a frequency component by a method, a second first-in first-out memory for inputting data of a predetermined unit processed by the DCT-SQ circuit, and a predetermined unit of data input from the second first-in first-out memory And a variable-length encoding circuit that performs encoding.
JP1210752A 1989-08-17 1989-08-17 Image compression circuit Expired - Lifetime JP2827314B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1210752A JP2827314B2 (en) 1989-08-17 1989-08-17 Image compression circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1210752A JP2827314B2 (en) 1989-08-17 1989-08-17 Image compression circuit

Publications (2)

Publication Number Publication Date
JPH0376398A JPH0376398A (en) 1991-04-02
JP2827314B2 true JP2827314B2 (en) 1998-11-25

Family

ID=16594539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1210752A Expired - Lifetime JP2827314B2 (en) 1989-08-17 1989-08-17 Image compression circuit

Country Status (1)

Country Link
JP (1) JP2827314B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001275116A (en) 2000-03-24 2001-10-05 Sharp Corp Image processor

Also Published As

Publication number Publication date
JPH0376398A (en) 1991-04-02

Similar Documents

Publication Publication Date Title
US7349579B2 (en) Image processing device, image processing method, and image reading method
CN111726634B (en) High-resolution video image compression transmission method and system based on FPGA
JPH0955884A (en) Image pickup device
US7701466B2 (en) Method and system for providing accelerated video processing in a communication device
JP2827314B2 (en) Image compression circuit
CN101247474B (en) Image processing device and method
US7787690B2 (en) Image compression and expansion device
JP2005005925A (en) Image compressing device and image processing system
KR970010047B1 (en) A signal processing system for image signal compression/decompression
JPH08180194A (en) Method and device for coding
JPH0564000A (en) Method for compressing and expanding image data
JP2841643B2 (en) Image processing device
JPS61184052A (en) Picture data compressing method
JPH0525142B2 (en)
JPH03291059A (en) Color picture encoding device
JP3002619B2 (en) Image processing control device
JP2821614B2 (en) Image transmission apparatus and image transmission method
JPH07220051A (en) Picture data conversion system
JP2667314B2 (en) Image compression and decompression device
JP3322683B2 (en) Image data converter
JPH11164160A (en) Image processor
JP2003143625A (en) Image compressor, image compression method, image compression program, electronic camera processor, and electronic camera processing method
JP3018713B2 (en) Image communication device
JPH1075463A (en) Image compressor and image expander
KR0160624B1 (en) Data compressor