JPH07170407A - Image data compression system - Google Patents

Image data compression system

Info

Publication number
JPH07170407A
JPH07170407A JP5313580A JP31358093A JPH07170407A JP H07170407 A JPH07170407 A JP H07170407A JP 5313580 A JP5313580 A JP 5313580A JP 31358093 A JP31358093 A JP 31358093A JP H07170407 A JPH07170407 A JP H07170407A
Authority
JP
Japan
Prior art keywords
processing section
processing unit
processing
image data
quantized
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
JP5313580A
Other languages
Japanese (ja)
Inventor
Koji Numata
考司 沼田
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
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP5313580A priority Critical patent/JPH07170407A/en
Publication of JPH07170407A publication Critical patent/JPH07170407A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide an image data compression system applying high speed expansion processing to compressed data. CONSTITUTION:The system is provided with a discrete cosine transformation (DCT) processing section 5, a quantization processing section 6, an inverse quantization processing section 9, a coding processing section 7, and a correction processing section 13 correcting a signal after DC transformation by a limiter. Then the DCT processing section 5 applies DC transformation to an input picture signal for each block, a quantization processing section 6 quantizes a transformation coefficient being a DC transformation output, an inverse quantization processing section 9 applies inverse quantization to a quantized output signal, the correction processing section 13 corrects a transformation coefficient of a DC transformation output to the inverse quantization output signal so that the level of the output signal does not exceeds a threshold level for the inverse quantization processing section 9, the quantization processing section 6 quantizes the transformation coefficient of the DC transformation and the coding processing section 7 codes the quantization output signal.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、高能率の圧縮符号化シ
ステムの一つの離散コサイン(DCT)変換符号化シス
テムに関するものであり、特に、符号化された圧縮デー
タを伸張時に高速に処理する画像データ圧縮システムに
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a discrete cosine (DCT) transform coding system which is one of highly efficient compression coding systems, and more particularly, to process coded compressed data at a high speed during decompression. The present invention relates to an image data compression system.

【0002】[0002]

【従来の技術】従来、この種の画像データ圧縮システム
では、一度量子化したあと、逆量子化によって信号を復
元した場合、この復元値は量子化誤差を含んでいるた
め、元の入力レベルを越えてしまう可能性がある。この
ため、逆量子化処理時に、復元後のレベルが入力信号の
しきい値を越えないようにするため、しきい値を越えた
信号については、しきい値を越えない範囲内でいちばん
近い信号に置き換える処理を施している。
2. Description of the Related Art Conventionally, in this type of image data compression system, when a signal is reconstructed by inverse quantization after being quantized once, the reconstructed value contains a quantization error, so that the original input level is There is a possibility that it will be exceeded. Therefore, in order to prevent the restored level from exceeding the threshold value of the input signal during dequantization processing, the signal that exceeds the threshold value is the closest signal within the range that does not exceed the threshold value. Has been replaced with.

【0003】また、画像データ圧縮時の量子化処理前に
リミッタ処理を行う従来例が、特開平4−188951
号に開示されている。この場合、変換符号化の符号化デ
ータが量子化される前に、この符号化データにリミッタ
をかけ、量子化可能レベルを越える符号化データが量子
化処理されないようにしたものであり、データのオーバ
ーフローによる量子化雑音を抑えている。
A conventional example in which limiter processing is performed before quantization processing during image data compression is disclosed in Japanese Patent Laid-Open No. 188951/1992.
No. In this case, before the coded data of the transform coding is quantized, the coded data is limited so that the coded data exceeding the quantizable level is not quantized. Quantization noise due to overflow is suppressed.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の画像デ
ータ圧縮システムでは、伸張時に逆量子化後の係数の数
だけ、信号のチェックを行う必要があり、多くの処理時
間を要するという問題があった。
In the above-mentioned conventional image data compression system, it is necessary to check the signals by the number of the dequantized coefficients when decompressing, and there is a problem that a lot of processing time is required. It was

【0005】本発明の目的は、高速に圧縮デ−タの伸張
処理ができる画像データ圧縮システムを提供することに
ある。
It is an object of the present invention to provide an image data compression system capable of decompressing compression data at high speed.

【0006】[0006]

【課題を解決するための手段】本発明は、画像データを
所定の変換符号により近似して符号化データを得、か
つ、この符号化データを量子化して圧縮データを得る画
像データ圧縮システムにおいて、量子化処理時に一旦逆
量子化処理を施し、逆量子化出力信号を逆量子化処理に
おいてしきい値を越えないレベルになるように補正する
ことを特徴とする。
SUMMARY OF THE INVENTION The present invention provides an image data compression system for approximating image data by a predetermined transform code to obtain coded data, and quantizing the coded data to obtain compressed data. The method is characterized in that the inverse quantization process is performed once during the quantization process and the inversely quantized output signal is corrected so as not to exceed the threshold value in the inverse quantization process.

【0007】また、本発明は、離散コサイン変換処理部
と、量子化処理部と、逆量子化処理部と、符号化処理部
と、離散コサイン変換処理後の信号をリミッタにより補
正する補正処理部とを備え、入力画像信号をブロック毎
に、前記離散コサイン変換処理部において離散コサイン
変換を施し、前記量子化処理部において前記離散コサイ
ン変換出力の変換係数を量子化し、前記逆量子化処理部
において量子化出力信号を逆量子化し、前記補正処理部
において逆量子化出力信号を逆量子化処理においてしき
い値を越えないレベルになるように前記離散コサイン変
換出力の変換係数を補正し、再度前記量子化処理部にお
いて前記離散コサイン変換出力の変換係数を量子化し、
かつ、前記符号化処理部において量子化出力信号を符号
化することを特徴とする。
The present invention also provides a discrete cosine transform processing section, a quantization processing section, an inverse quantization processing section, an encoding processing section, and a correction processing section for correcting the signal after the discrete cosine transform processing by a limiter. And for each block of the input image signal, performs a discrete cosine transform in the discrete cosine transform processing unit, quantizes the transform coefficient of the discrete cosine transform output in the quantization processing unit, in the inverse quantization processing unit. Dequantize the quantized output signal, correct the transform coefficient of the discrete cosine transform output so that the dequantized output signal in the correction processing unit has a level that does not exceed the threshold value in the dequantized process, and again Quantize the transform coefficient of the discrete cosine transform output in the quantization processing unit,
In addition, the quantized output signal is encoded in the encoding processing unit.

【0008】[0008]

【作用】本発明によれば、入力画像信号をブロック毎
に、DCT変換処理部においてDCT変換を施し、量子
化処理部に於いてCDT変換出力の変換係数を量子化
し、逆量子化処理部において量子化出力信号を逆量子化
し、補正処理部において逆量子化出力信号を逆量子化処
理に於いてしきい値を越えないレベルになるようにDC
T変換出力の変換係数を補正し、再度量子化処理部にお
いてDCT変換出力の変換係数を量子化し、符号化処理
部において量子化出力信号を符号化するため、復号時の
逆量子化処理では、信号のチェックを行わないように
し、処理を高速にすることが可能となる。
According to the present invention, the input image signal is subjected to DCT conversion in the DCT conversion processing unit for each block, the conversion coefficient of the CDT conversion output is quantized in the quantization processing unit, and the inverse quantization processing unit is operated. The quantized output signal is inversely quantized, and the correction processing unit sets the inverse quantized output signal to a DC level that does not exceed the threshold value in the inverse quantization process.
The transform coefficient of the T transform output is corrected, the transform coefficient of the DCT transform output is quantized again in the quantization processing unit, and the quantized output signal is encoded in the encoding processing unit. Therefore, in the inverse quantization process at the time of decoding, It is possible to speed up the processing by not checking the signal.

【0009】[0009]

【実施例】次に、本発明について図面を参照して詳細に
説明する。
The present invention will be described in detail with reference to the drawings.

【0010】画像データにDCT変換を施した後、量子
化及び符号化処理を行い、画像データを圧縮し、圧縮デ
ータに復号化、逆量子化及び、逆DCT変換を施し、圧
縮データを伸張する処理系において、画像データを圧縮
する際に、逆量子化処理時にしきい値を越えないように
DCT変換出力の変換係数を補正し、逆量子化処理時に
は、信号のチェックを行わないようにする手段を図面を
用いて説明する。
After performing DCT transformation on the image data, quantization and coding processing is performed to compress the image data, and the compressed data is subjected to decoding, inverse quantization and inverse DCT transformation, and the compressed data is expanded. In the processing system, when compressing image data, the transform coefficient of the DCT transform output is corrected so that the threshold value is not exceeded during dequantization processing, and the signal is not checked during dequantization processing. Means will be described with reference to the drawings.

【0011】図1は、本発明の1実施例を示すブロック
図である。中央処理部(CPU)1は、制御用RAM3
を作業領域とし、制御用ROM2に格納されたプログラ
ムを実行する。
FIG. 1 is a block diagram showing an embodiment of the present invention. The central processing unit (CPU) 1 has a control RAM 3
Is used as a work area to execute the program stored in the control ROM 2.

【0012】ファイル装置4には圧縮する原画像データ
が入っており、CPU1はファイル装置4をアクセスし
てデータを読み込んで圧縮処理を行い、圧縮された画像
データはファイル装置4に書き込まれる。この圧縮され
たデータを表示する際には、CPU1はファイル装置4
をアクセスして圧縮画像データを読み込んで伸張処理を
施し、伸張画像データをフレームバッファメモリ11に
書き込むことによって表示装置12に画像表示する。
Original image data to be compressed is stored in the file device 4, and the CPU 1 accesses the file device 4 to read the data and perform a compression process, and the compressed image data is written in the file device 4. When displaying the compressed data, the CPU 1 uses the file device 4
Is accessed, the compressed image data is read, decompression processing is performed, and the decompressed image data is written in the frame buffer memory 11 to display an image on the display device 12.

【0013】以上の処理、特に伸張処理を高速に行うた
めの圧縮処理及び伸張処理の流れを図2及び図3にそれ
ぞれ示す。
2 and 3 show the flow of compression processing and decompression processing for performing the above-mentioned processing, especially decompression processing at high speed.

【0014】圧縮処理について図2の流れ図を用いて説
明する。
The compression process will be described with reference to the flowchart of FIG.

【0015】圧縮処理を開始すると、ファイル装置4よ
り原画像ファイルを読み込み(ステップS201)、ブ
ロックの切り出しを行う(ステップS202)。この例
では、原画像データを縦8画素、横8画素のブロック単
位で処理しており、このため8×8画素の1ブロック分
データを切り出す処理が必要となる。ステップS203
ではDCT変換処理部5により1ブロック分の画像デー
タにDCT変換を施し、データを低周波成分から高周波
成分に分解する。ステップS204では量子化処理部6
により低周波成分から高周波成分にかけて情報量を減ら
す為の量子化処理を行う。その後、ステップS205で
逆量子化処理部9により逆量子化処理を行い、ステップ
S206で逆量子化処理後のデータがしきい値を越えて
いないかのチェックを行う。
When the compression process is started, the original image file is read from the file device 4 (step S201), and blocks are cut out (step S202). In this example, the original image data is processed in blocks of 8 pixels in the vertical direction and 8 pixels in the horizontal direction. Therefore, it is necessary to cut out data for one block of 8 × 8 pixels. Step S203
Then, the DCT conversion processing unit 5 performs DCT conversion on one block of image data, and decomposes the data from low frequency components to high frequency components. In step S204, the quantization processing unit 6
Thus, the quantization processing for reducing the amount of information is performed from the low frequency component to the high frequency component. Then, in step S205, the inverse quantization unit 9 performs the inverse quantization process, and in step S206, it is checked whether the data after the inverse quantization process exceeds the threshold value.

【0016】通常、一度量子化したあと、逆量子化によ
って値を復元した場合、この復元値は量子化誤差を含ん
でいるため、元の入力レベルを越えてしまう可能性があ
る。もし、復元後のレベルがしきい値を越えている場合
は補正処理部13によりDCT変換後のータを補正して
(ステップ207)、元の入力値のレンジ内におさまる
ように制限し、再び量子化処理を行う。
Usually, when a value is restored by dequantization after being quantized once, the restored value includes a quantization error, so that the original input level may be exceeded. If the level after restoration exceeds the threshold value, the correction processing unit 13 corrects the DCT-converted data (step 207) and limits the value so that it falls within the range of the original input value. Quantization processing is performed again.

【0017】量子化処理後のデータは、ステップS20
8で符号化処理部7により符号化され、1ブロック分の
データの圧縮は終了となる。前記ステップS202から
S208までの処理を1ブロック毎に画像データサイズ
分、全ブロック終了するとステップS210でファイル
装置4に圧縮データを書き込み、圧縮処理終了となる。
The data after the quantization processing is performed in step S20.
The data is encoded by the encoding processing unit 7 at 8, and the compression of the data for one block is completed. When the processing of steps S202 to S208 is completed for each block for the image data size and all blocks are completed, the compressed data is written to the file device 4 in step S210, and the compression processing ends.

【0018】図3にデータの補正手段を示す。図3
(a)はDCT変換後の信号を示した図であり、この信
号を量子化すると図3(b)に示すようになる。このよ
うに単に量子化するだけではデータがしきい値を越える
場合がある。このため、図3(c)に示すようにしきい
値を越えた信号についてはデータを補正し、デ−タがし
きい値を越えないようにする。
FIG. 3 shows data correction means. Figure 3
FIG. 3A is a diagram showing a signal after DCT conversion, and when this signal is quantized, it becomes as shown in FIG. In this way, the data may exceed the threshold value by simply quantizing. Therefore, as shown in FIG. 3 (c), the data is corrected for the signal exceeding the threshold so that the data does not exceed the threshold.

【0019】次に、伸張処理について図4の流れ図を用
いて説明する。
Next, the decompression process will be described with reference to the flowchart of FIG.

【0020】伸張処理を開始すると、ファイル装置4よ
り圧縮データを読み込み(ステップS301)、復号化
処理部8をアクセスして圧縮データを復号し(ステップ
S303)、逆量子化処理部9により逆量子化処理を行
う(ステップS304)。逆量子化後のデータは、圧縮
時にしきい値を越えるようなデータを生成しないため、
デ−タの伸張処理時に逆量子化後の係数だけの信号のチ
ェックは不要となる。逆量子化後のデータは、ステップ
S305で逆DCT変換処理部10をアクセスして逆D
CT変換を施し、画像データとしてフレームバッファメ
モリ11に書き込む(ステップS306)。
When the decompression processing is started, the compressed data is read from the file device 4 (step S301), the decoding processing unit 8 is accessed to decode the compressed data (step S303), and the inverse quantization processing unit 9 performs inverse quantization. Conversion processing is performed (step S304). Since the data after dequantization does not generate data that exceeds the threshold value when compressed,
It is not necessary to check the signal of only the coefficient after the dequantization during the data expansion processing. The data after the inverse quantization is accessed by the inverse DCT transform processing unit 10 in step S305 and the inverse D is obtained.
CT conversion is performed and the image data is written in the frame buffer memory 11 (step S306).

【0021】[0021]

【発明の効果】以上説明したように本発明の画像データ
圧縮システムによれば、いかなる入力画像信号の形式で
あっても逆変換時のリミッタのチェックを不要とするこ
とが可能であり、CPUの少ないステップ数で高速に圧
縮データの伸張処理が可能となる。
As described above, according to the image data compression system of the present invention, it is possible to eliminate the need for checking the limiter at the time of inverse conversion regardless of the format of the input image signal. The compressed data can be decompressed at high speed with a small number of steps.

【0022】また、本発明は、DCTシステムに特有の
ものではなく、一般に量子化及び逆量子化処理を有する
画像データ圧縮システム全般に対し、高速に圧縮データ
の伸張処理が可能となる。
Further, the present invention is not peculiar to a DCT system, and generally enables high-speed decompression processing of compressed data with respect to general image data compression systems having quantization and inverse quantization processing.

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

【図1】本発明の1実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1の実施例における圧縮処理を示す流れ図で
ある。
FIG. 2 is a flow chart showing a compression process in the embodiment of FIG.

【図3】本発明における信号の補正処理を説明する図で
ある。
FIG. 3 is a diagram illustrating a signal correction process according to the present invention.

【図4】図1の実施例における伸張処理を示す流れ図で
ある。
FIG. 4 is a flowchart showing a decompression process in the embodiment of FIG.

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

1 CPU 2 制御用ROM 3 制御用RAM 4 ファイル装置 5 DCT変換処理部 6 量子化処理部 7 符号化処理部 8 復号化処理部 9 逆量子化処理部 10 逆DCT変換処理部 11 フレームバッファメモリ 12 表示装置 13 補正処理部 DESCRIPTION OF SYMBOLS 1 CPU 2 Control ROM 3 Control RAM 4 File device 5 DCT conversion processing unit 6 Quantization processing unit 7 Encoding processing unit 8 Decoding processing unit 9 Inverse quantization processing unit 10 Inverse DCT conversion processing unit 11 Frame buffer memory 12 Display device 13 Correction processing unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 画像データを所定の変換符号により近似
して符号化データを得、かつ、この符号化データを量子
化して圧縮データを得る画像データ圧縮システムにおい
て、量子化処理時に一旦逆量子化処理を施し、逆量子化
出力信号を逆量子化処理においてしきい値を越えないレ
ベルになるように補正することを特徴とする画像データ
圧縮システム。
1. An image data compression system for approximating image data by a predetermined transform code to obtain coded data, and quantizing the coded data to obtain compressed data. An image data compression system characterized by performing processing and correcting an inversely quantized output signal so that the inversely quantized processing does not exceed a threshold value.
【請求項2】 離散コサイン変換処理部と、量子化処理
部と、逆量子化処理部と、符号化処理部と、離散コサイ
ン変換処理後の信号をリミッタにより補正する補正処理
部とを備え、入力画像信号をブロック毎に、前記離散コ
サイン変換処理部において離散コサイン変換を施し、前
記量子化処理部において前記離散コサイン変換出力の変
換係数を量子化し、前記逆量子化処理部において量子化
出力信号を逆量子化し、前記補正処理部において逆量子
化出力信号を逆量子化処理においてしきい値を越えない
レベルになるように前記離散コサイン変換出力の変換係
数を補正し、再度前記量子化処理部において前記離散コ
サイン変換出力の変換係数を量子化し、かつ、前記符号
化処理部において量子化出力信号を符号化することを特
徴とする画像データ圧縮システム。
2. A discrete cosine transform processing section, a quantization processing section, an inverse quantization processing section, an encoding processing section, and a correction processing section for correcting the signal after the discrete cosine conversion processing by a limiter. For each block of the input image signal, the discrete cosine transform processing unit performs discrete cosine transform, the quantization processing unit quantizes the transform coefficient of the discrete cosine transform output, and the inverse quantization processing unit quantizes the output signal. Is inversely quantized, and the transform processing unit corrects the transform coefficient of the discrete cosine transform output so that the inverse quantized output signal has a level not exceeding a threshold value in the inverse quantized processing, and the quantized processing unit again. In the image data, the transform coefficient of the discrete cosine transform output is quantized, and the quantized output signal is coded in the coding processing unit. Compression system.
JP5313580A 1993-12-14 1993-12-14 Image data compression system Pending JPH07170407A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5313580A JPH07170407A (en) 1993-12-14 1993-12-14 Image data compression system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5313580A JPH07170407A (en) 1993-12-14 1993-12-14 Image data compression system

Publications (1)

Publication Number Publication Date
JPH07170407A true JPH07170407A (en) 1995-07-04

Family

ID=18043026

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5313580A Pending JPH07170407A (en) 1993-12-14 1993-12-14 Image data compression system

Country Status (1)

Country Link
JP (1) JPH07170407A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0378382A (en) * 1989-08-21 1991-04-03 Mitsubishi Electric Corp Adaptive quantizing encoder/decoder

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0378382A (en) * 1989-08-21 1991-04-03 Mitsubishi Electric Corp Adaptive quantizing encoder/decoder

Similar Documents

Publication Publication Date Title
US8059903B2 (en) Data compression-decompression method, program, and electronic device
US5719961A (en) Adaptive technique for encoder and decoder signal transformation
JP4831547B2 (en) Method for image compression and decompression acceleration
KR100651316B1 (en) Method and apparatus for increasing memory resource utilization in an information stream decoder
US6298087B1 (en) System and method for decoding a variable length code digital signal
US6160920A (en) Cosine transforming and quantizing device, method of reducing multiplication operations in a video compressing apparatus
US6509929B1 (en) Apparatus and method for coding a moving picture
JPH07170407A (en) Image data compression system
US6657576B2 (en) Quantization unit setting apparatus, quantization unit setting method, coding apparatus, coding method, and information record medium
US8000394B2 (en) Program, method, and apparatus for decoding coded data
JP2960446B2 (en) Image processing method
JP2993212B2 (en) How to combine images
JPH09205552A (en) Image coding method and device therefor
JP2792760B2 (en) Image coding device
JPH0775103A (en) Image encoder
JPH05211612A (en) Data compression and expansion device
JPH06338802A (en) Re-compression device
JPH1051768A (en) Image coder and image decoder
JPH08181990A (en) Image decoder
JPH07240920A (en) Compression and extension for digital image data
JPH06141299A (en) Picture data communication method, picture compression or decoder
US20050276332A1 (en) Method of communicating data within a coder
JPH07135652A (en) Method and device for compression still picture data and method and device for expanding still picture data
JPH07222152A (en) Picture processor and compressed data control method in the picture processor
JPH06169453A (en) Picture data encoding and decoding device and method thereof

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970722