JPH0548902A - Image data compressor - Google Patents

Image data compressor

Info

Publication number
JPH0548902A
JPH0548902A JP3199237A JP19923791A JPH0548902A JP H0548902 A JPH0548902 A JP H0548902A JP 3199237 A JP3199237 A JP 3199237A JP 19923791 A JP19923791 A JP 19923791A JP H0548902 A JPH0548902 A JP H0548902A
Authority
JP
Japan
Prior art keywords
circuit
processing
image
block
activity
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
JP3199237A
Other languages
Japanese (ja)
Inventor
Tomoko Ono
朋子 小野
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3199237A priority Critical patent/JPH0548902A/en
Publication of JPH0548902A publication Critical patent/JPH0548902A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To suppress the picture quality deterioration and to hold the high picture quality by erasing the number of the processing blocks at the time of the image with fine patterns and increasing the code quantity for the block to be processed. CONSTITUTION:At a first pass, an activity sum S equivalent to one screen outputted from an integrating circuit 16 is supplied to a processing block deciding circuit 28, the number of the processing blocks is decided based on this and the processing block pattern corresponding to it is selected. At this time, as the sum S is increased, the processing block pattern with the small number of the blocks is selected. The address data in correspondence to the deciding processing block pattern are sent to an image memory 13, at a second pass, the image data are read from the memory 13 based on the address data, and by a regularization factor alpha generated in accordance with activity sums S1, S2 and S3 selected by a selecting circuit 29 at the first pass and the bit distribution result, the encoding processing is executed. Thus, the picture quality deterioration can be prevented for the image with fine patterns.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、デジタル化された画
像データを、蓄積メディア系に記録したり伝送したりす
るために、直交変換系を用いてデータ圧縮する画像デー
タ圧縮装置の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement in an image data compression apparatus for compressing digitized image data by using an orthogonal transformation system for recording or transmitting it in a storage medium system.

【0002】[0002]

【従来の技術】周知のように、画像機器の分野では、画
像信号をデジタル化データに変換して、半導体メモリ等
を用いた蓄積メディア系に記録したり伝送したりするた
めに、データを直交変換系を用いてデータ圧縮すること
が行なわれている。
2. Description of the Related Art As is well known, in the field of image equipment, data is orthogonalized in order to convert the image signal into digitized data and record or transmit it in a storage medium system using a semiconductor memory or the like. Data compression is performed using a conversion system.

【0003】図4は、このような直交変換系を用いた従
来の画像データ圧縮装置を示しており、データ圧縮処理
は2パスで行なわれる。すなわち、図中11は入力端子
で、アナログ系の画像信号が供給されている。この入力
端子11に供給された画像信号は、A/D(アナログ/
デジタル)変換回路12に供給されてデジタル画像デー
タに変換され、画像メモリ13に記録された後、例えば
8×8ブロック単位で読み出される。
FIG. 4 shows a conventional image data compression apparatus using such an orthogonal transformation system, and the data compression processing is performed in two passes. That is, reference numeral 11 in the drawing is an input terminal to which an analog image signal is supplied. The image signal supplied to the input terminal 11 is A / D (analog /
It is supplied to the (digital) conversion circuit 12, converted into digital image data, recorded in the image memory 13, and then read out in units of 8 × 8 blocks, for example.

【0004】1パス目の処理として、まず、画像メモリ
13からブロック単位で読み出されたデジタル画像デー
タは、DC(直流)成分抽出回路14に供給されて、そ
のブロック内平均値からDC成分が求められるととも
に、アクティビティ算出回路15に供給されて、各ブロ
ックの変化量を示すアクティビティが算出される。この
アクティビティ算出回路15で算出されたアクティビテ
ィは、積分回路16に供給されて1画面分のアクティビ
ティ和Sが求められる。
As the processing of the first pass, first, the digital image data read out in block units from the image memory 13 is supplied to the DC (direct current) component extraction circuit 14, and the DC component is extracted from the average value in the block. While being obtained, it is supplied to the activity calculation circuit 15 and the activity indicating the amount of change in each block is calculated. The activity calculated by the activity calculating circuit 15 is supplied to the integrating circuit 16 to obtain the activity sum S for one screen.

【0005】アクティビティの算出手法としては、画像
メモリ13からブロック単位で読み出されたデジタル画
像データをBPF(帯域通過フィルタ)に通して後述す
る正規化因子αとビット配分とを決定するためのパラメ
ータデータを抽出し、このパラメータデータの絶対値を
とり1ブロック分積分することによって実行される。な
お、上記パラメータデータの抽出手段としては、標準偏
差やピーク−ピーク等を使用することもできる。
As a method of calculating the activity, a parameter for determining a normalization factor α and a bit allocation, which will be described later, by passing digital image data read in block units from the image memory 13 through a BPF (band pass filter). It is executed by extracting data, taking the absolute value of this parameter data, and integrating by one block. Note that standard deviation, peak-peak, or the like can be used as the means for extracting the parameter data.

【0006】そして、量子化ステップサイズの決定が行
なわれる。すなわち、予め実験的に求めた正規化係数テ
ーブル17を設けておき、この正規化係数テーブル17
の出力と、上記積分回路16から出力される1画面分の
アクティビティ和Sに基づいて正規化因子発生回路18
で発生される正規化因子αとを、乗算回路19で乗算す
ることにより、量子化ステップが求められる。なお、ア
クティビティ和Sが大きくなるにつれて、正規化因子α
も大きくなるように設定されている。そして、ここまで
が、1パス処理である。
Then, the quantization step size is determined. That is, the normalization coefficient table 17 that is experimentally obtained in advance is provided, and the normalization coefficient table 17 is provided.
Of the normalizing factor generating circuit 18 based on the output of 1 and the activity sum S for one screen output from the integrating circuit 16.
The quantization step is obtained by multiplying the normalization factor α generated in 1) by the multiplication circuit 19. Note that as the activity sum S increases, the normalization factor α
Is also set to be large. The processing up to this point is the one-pass processing.

【0007】次に、2パス目の処理で符号化が行なわれ
る。すなわち、画像メモリ13から再びブロック単位に
デジタル画像データが読み出され、アクティビティ算出
回路15及び積分回路16を介して得られる1画面分の
アクティビティ和Sが、ビット配分回路20に供給され
る。このビット配分回路20は、入力された1画面分の
アクティビティ和Sと、上記アクティビティ算出回路1
5で算出された各ブロックのアクティビティとに基づい
て、各ブロックに与えるビット数を比例配分する。
Next, encoding is performed in the processing of the second pass. That is, digital image data is read again in block units from the image memory 13, and the activity sum S for one screen obtained via the activity calculation circuit 15 and the integration circuit 16 is supplied to the bit allocation circuit 20. The bit allocation circuit 20 is provided with the input activity sum S for one screen and the activity calculation circuit 1 described above.
Based on the activity of each block calculated in step 5, the number of bits given to each block is proportionally distributed.

【0008】また、画像メモリ13からブロック単位で
読み出されたデジタル画像データは、直交変換回路21
に供給されて直交変換された後、量子化回路22によっ
て、1パス目の処理で求められた量子化ステップに基づ
いて量子化されて、符号化回路23に供給される。この
符号化回路23には、上記正規化因子発生回路18で発
生される正規化因子αと、上記DC成分抽出回路14の
出力を量子化回路24で量子化した出力とが供給される
とともに、上記ビット配分回路20の出力が加算回路2
5を介して供給されている。
Further, the digital image data read out from the image memory 13 in units of blocks is processed by the orthogonal transformation circuit 21.
Is supplied to the encoding circuit 23 after being quantized by the quantization circuit 22 based on the quantization step obtained in the processing of the first pass. The encoding circuit 23 is supplied with the normalization factor α generated by the normalization factor generation circuit 18 and the output obtained by quantizing the output of the DC component extraction circuit 14 by the quantization circuit 24, and The output of the bit allocation circuit 20 is the addition circuit 2
5 is supplied.

【0009】そして、符号化回路23は、ビット配分回
路20で求められた割り当てビット数を越えないよう
に、量子化回路22の出力データをハフマン符号化し出
力端子26を介して出力する。
Then, the encoding circuit 23 Huffman-encodes the output data of the quantization circuit 22 so as not to exceed the number of allocated bits calculated by the bit allocation circuit 20, and outputs it via the output terminal 26.

【0010】ここで、上記符号化回路23による符号化
処理においては、可変長符号化であることも原因して、
大部分のブロックで割り当てビット数よりも実際に符号
化に使用したビット数の方が少なくなることが知られて
いる。このため、上記加算回路25から出力される割り
当てビット数と、符号化回路23で符号化に使用したビ
ット数とを、減算回路27に供給して両ビット数の差分
を求め、この差分を余剰ビットとして加算回路25に供
給し、ビット配分回路20から出力される次のブロック
の割り当てビット数に加算するようにしている。以下、
符号化時に発生する余剰ビットが、次のブロックの割り
当てビットに順次繰り越されるようになる。
Here, in the encoding process by the encoding circuit 23, because of the variable length encoding,
It is known that the number of bits actually used for encoding is smaller than the number of allocated bits in most blocks. Therefore, the number of allocated bits output from the adder circuit 25 and the number of bits used for encoding by the encoding circuit 23 are supplied to the subtraction circuit 27 to obtain the difference between both bit numbers, and this difference is a surplus. The bits are supplied to the adder circuit 25 and added to the allocated bit number of the next block output from the bit allocation circuit 20. Less than,
The surplus bits generated at the time of encoding are sequentially carried over to the allocated bits of the next block.

【0011】しかしながら、上記のような従来の画像デ
ータ圧縮装置では、各ブロックへのビット配分を行なう
ことにより、ある程度の画質の劣化は抑えられるもの
の、変化の大きい絵柄の細かい画像は、滑らかで平坦な
画像に比して画像の劣化が激しくなるという問題が生じ
ている。
However, in the conventional image data compression apparatus as described above, although the deterioration of the image quality is suppressed to some extent by allocating the bits to each block, an image with a large change and a fine pattern is smooth and flat. There is a problem that the deterioration of an image becomes more severe than that of a normal image.

【0012】[0012]

【発明が解決しようとする課題】以上のように、従来の
画像データ圧縮装置では、絵柄の細かい画像は平坦な画
像に比して画像の劣化が激しくなるという問題を有して
いる。
As described above, the conventional image data compression apparatus has a problem that an image with a fine pattern is more deteriorated than an image with a flat pattern.

【0013】そこで、この発明は上記事情を考慮してな
されたもので、絵柄の細かい画像に対しても高画質を保
持し得る極めて良好な画像データ圧縮装置を提供するこ
とを目的とする。
Therefore, the present invention has been made in view of the above circumstances, and an object thereof is to provide an extremely good image data compression apparatus capable of maintaining high image quality even for images with fine patterns.

【0014】[0014]

【課題を解決するための手段】この発明に係る画像デー
タ圧縮装置は、デジタル画像データを所定のブロック単
位に分割し、各ブロック毎に直交変換及び量子化処理を
行ない、各ブロックのアクティビティの1画面分の和に
基づいて決定された各ブロックの配分ビット数にしたが
って符号化処理を行なうものを対象としている。そし
て、1画面分のアクティビティ和が多くなるにつれて1
画面の処理ブロック数を削減し、処理すべきブロックに
対するビットレートを増加させるように構成している。
An image data compression apparatus according to the present invention divides digital image data into predetermined block units, performs orthogonal transformation and quantization processing on each block, and outputs 1 activity of each block. It is intended for those that perform encoding processing according to the number of distributed bits of each block determined based on the sum of screens. And as the activity sum for one screen increases, 1
The number of processing blocks on the screen is reduced, and the bit rate for the blocks to be processed is increased.

【0015】[0015]

【作用】上記のような構成によれば、1画面分のアクテ
ィビティ和から絵柄の細かさを判断し、アクティビティ
和の多い画像つまり絵柄の細かい画像ほど処理ブロック
数を削除して、処理すべきブロックに対してビットレー
ト(符号量)を増加させるようにしたので、絵柄の細か
い画像に対しても画質劣化を抑え高画質を保持すること
ができる。
According to the above configuration, the fineness of the pattern is judged from the activity sum for one screen, and the number of processing blocks is deleted for the image with more activity sum, that is, the image with the smaller pattern, and the block to be processed is deleted. However, since the bit rate (code amount) is increased, it is possible to suppress the image quality deterioration and maintain the high image quality even for an image with a fine pattern.

【0016】[0016]

【実施例】以下、この発明の一実施例について図面を参
照して詳細に説明する。図1において、図4と同一部分
には同一符号を付している。すなわち、1パス目におい
て、積分回路16から出力される1画面分のアクティビ
ティ和Sは、処理ブロック決定回路28に供給される。
この処理ブロック決定回路28は、入力されたアクティ
ビティ和Sに基づいて処理ブロック数を決定し、そのブ
ロック数に対応した処理ブロックパタンを選択する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings. 1, the same parts as those in FIG. 4 are designated by the same reference numerals. That is, in the first pass, the activity sum S for one screen output from the integration circuit 16 is supplied to the processing block determination circuit 28.
The processing block determination circuit 28 determines the number of processing blocks based on the input activity sum S, and selects a processing block pattern corresponding to the number of blocks.

【0017】この処理ブロックパタンは、例えば図2
(a),(b),(c)に示すような3種類が予め用意
されている。すなわち、1画面を水平Hブロック,垂直
Vブロックとしたとき、図2(a)は処理ブロック数が
H×Vであるブロック削除なしの処理ブロックパタンを
示し、図2(b),(c)はそれぞれ処理ブロック数が
H×(V−n),(H−n)×(V−n)であるブロッ
ク削除ありの処理ブロックパタンを示している。
This processing block pattern is shown in FIG.
Three types shown in (a), (b), and (c) are prepared in advance. That is, when one screen is a horizontal H block and a vertical V block, FIG. 2A shows a processing block pattern without block deletion in which the number of processing blocks is H × V, and FIGS. 2B and 2C. Indicates a processing block pattern with block deletion in which the number of processing blocks is H × (V−n) and (H−n) × (V−n), respectively.

【0018】そして、処理ブロック決定回路28では、
図3に示すように、1画面分のアクティビティ和Sが多
くなるにつれて、ブロック数の少ない処理ブロックパタ
ンを選択する。また、積分回路16内には、上記3種類
の処理ブロックパタンに対応した積分器が備えられ、各
パタンに応じたアクティビティ和S1,S2,S3がそ
れぞれ求められ、選択回路29に供給されている。この
選択回路29は、処理ブロック決定回路28で決定した
処理ブロックパタンに対応するアクティビティ和S1,
S2,S3を、正規化因子発生回路18及びビット配分
回路20に導出するように動作される。
Then, in the processing block decision circuit 28,
As shown in FIG. 3, as the activity sum S for one screen increases, the processing block pattern with the smaller number of blocks is selected. Further, the integrator circuit 16 is provided with integrators corresponding to the above-mentioned three types of processing block patterns, and the activity sums S1, S2, and S3 corresponding to the respective patterns are respectively obtained and supplied to the selection circuit 29. . This selection circuit 29 has an activity sum S1, corresponding to the processing block pattern determined by the processing block determination circuit 28.
It is operated so as to derive S2 and S3 to the normalization factor generation circuit 18 and the bit allocation circuit 20.

【0019】また、処理ブロック決定回路28からは、
決定した処理ブロックパタンに対応したアドレスデータ
が画像メモリ13に送出され、2パス目において、この
アドレスデータに基づいて画像メモリ13から画像デー
タが読み出され、1パス目で選択回路29により選択さ
れたアクティビティ和S1,S2,S3に応じて生成さ
れた正規化因子α及びビット配分結果に基づいて符号化
処理が行なわれる。
From the processing block decision circuit 28,
Address data corresponding to the determined processing block pattern is sent to the image memory 13, the image data is read from the image memory 13 based on this address data in the second pass, and selected by the selection circuit 29 in the first pass. The encoding process is performed based on the normalization factor α and the bit allocation result generated according to the activity sums S1, S2, and S3.

【0020】したがって、上記実施例のような構成によ
れば、1画面分のアクティビティ和Sから絵柄の細かさ
を判断し、アクティビティ和Sの多い画像つまり絵柄の
細かい画像ほど処理ブロック数を削除するようにしたの
で、処理すべきブロックに対してビットレート(符号
量)を増加させるとともに、量子化ステップを小さくす
ることができるため、絵柄の細かい画像に対しても画質
劣化を抑え高画質を保持することができる。また、削除
されたブロック部分については、再生時に黒レベルのデ
ータを付加する等の対策を施せばよい。なお、この発明
は上記実施例に限定されるものではなく、この外その要
旨を逸脱しない範囲で種々変形して実施することができ
る。
Therefore, according to the configuration of the above embodiment, the fineness of the design is judged from the activity sum S for one screen, and the number of processing blocks is deleted for the image having the larger activity sum S, that is, the finer the design. As a result, the bit rate (code amount) can be increased for the block to be processed, and the quantization step can be reduced, so image quality deterioration is suppressed and high image quality is maintained even for images with fine patterns. can do. Further, with respect to the deleted block portion, a measure such as adding black level data at the time of reproduction may be taken. The present invention is not limited to the above-described embodiments, but can be variously modified and implemented without departing from the scope of the invention.

【0021】[0021]

【発明の効果】以上詳述したようにこの発明によれば、
絵柄の細かい画像に対しても高画質を保持し得る極めて
良好な画像データ圧縮装置を提供することができる。
As described in detail above, according to the present invention,
It is possible to provide an extremely good image data compression device that can maintain high image quality even for images with fine patterns.

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

【図1】この発明に係る画像データ圧縮装置の一実施例
を示すブロック構成図。
FIG. 1 is a block diagram showing an embodiment of an image data compression device according to the present invention.

【図2】同実施例の処理ブロックパタンの例を示す図。FIG. 2 is a diagram showing an example of a processing block pattern of the same embodiment.

【図3】同実施例のアクティビティ和Sと処理ブロック
パタンとの関係を示す図。
FIG. 3 is a diagram showing a relationship between an activity sum S and a processing block pattern of the embodiment.

【図4】従来の画像データ圧縮装置を示すブロック構成
図。
FIG. 4 is a block configuration diagram showing a conventional image data compression device.

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

11…入力端子、12…A/D変換回路、13…画像メ
モリ、14…DC成分抽出回路、15…アクティビティ
算出回路、16…積分回路、17…正規化係数テーブ
ル、18…正規化因子発生回路、19…乗算回路、20
…ビット配分回路、21…直交変換回路、22…量子化
回路、23…符号化回路、24…量子化回路、25…加
算回路、26…出力端子、27…減算回路、28…処理
ブロック決定回路、29…選択回路。
11 ... Input terminal, 12 ... A / D conversion circuit, 13 ... Image memory, 14 ... DC component extraction circuit, 15 ... Activity calculation circuit, 16 ... Integration circuit, 17 ... Normalization coefficient table, 18 ... Normalization factor generation circuit , 19 ... Multiplier circuit, 20
... Bit allocation circuit, 21 ... Orthogonal transformation circuit, 22 ... Quantization circuit, 23 ... Encoding circuit, 24 ... Quantization circuit, 25 ... Addition circuit, 26 ... Output terminal, 27 ... Subtraction circuit, 28 ... Processing block determination circuit , 29 ... Selection circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 デジタル画像データを所定のブロック単
位に分割し、各ブロック毎に直交変換及び量子化処理を
行ない、各ブロックのアクティビティの1画面分の和に
基づいて決定された各ブロックの配分ビット数にしたが
って符号化処理を行なう画像データ圧縮装置において、
前記1画面分のアクティビティ和が多くなるにつれて1
画面の処理ブロック数を削減し、処理すべきブロックに
対するビットレートを増加させるように構成してなるこ
とを特徴とする画像データ圧縮装置。
1. Allocation of each block determined by dividing the digital image data into a predetermined block unit, performing orthogonal transformation and quantization processing for each block, and determining the sum of the activity of each block for one screen. In an image data compression device that performs encoding processing according to the number of bits,
As the activity sum for one screen increases, 1
An image data compression apparatus, which is configured to reduce the number of processing blocks on a screen and increase a bit rate for blocks to be processed.
JP3199237A 1991-08-08 1991-08-08 Image data compressor Pending JPH0548902A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3199237A JPH0548902A (en) 1991-08-08 1991-08-08 Image data compressor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3199237A JPH0548902A (en) 1991-08-08 1991-08-08 Image data compressor

Publications (1)

Publication Number Publication Date
JPH0548902A true JPH0548902A (en) 1993-02-26

Family

ID=16404443

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3199237A Pending JPH0548902A (en) 1991-08-08 1991-08-08 Image data compressor

Country Status (1)

Country Link
JP (1) JPH0548902A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60181742A (en) * 1984-02-29 1985-09-17 Konishiroku Photo Ind Co Ltd Thermodevelopable color photosensitive material
US5672466A (en) * 1995-02-24 1997-09-30 Fuji Photo Film Co., Ltd. Method for forming an image and silver halide photographic light-sensitive material
US7874676B2 (en) 2005-09-02 2011-01-25 Nidek Co., Ltd. Vision tester

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60181742A (en) * 1984-02-29 1985-09-17 Konishiroku Photo Ind Co Ltd Thermodevelopable color photosensitive material
US5672466A (en) * 1995-02-24 1997-09-30 Fuji Photo Film Co., Ltd. Method for forming an image and silver halide photographic light-sensitive material
US7874676B2 (en) 2005-09-02 2011-01-25 Nidek Co., Ltd. Vision tester

Similar Documents

Publication Publication Date Title
US5629779A (en) Image coding method and apparatus therefor
US5809178A (en) Elimination of visible quantizing artifacts in a digital image utilizing a critical noise/quantizing factor
JP2828997B2 (en) Adaptive transform coding device
EP0296608B1 (en) Encoding of a picture signal in consideration of contrast in each picture and decoding corresponding to the encoding
JPH0723383A (en) Method and apparatus for compressing/ expanding image for bit fixation
JPH02305182A (en) Picture signal compressing and encoding device
JPH03501550A (en) digital video compression system
JPH0563996A (en) Image processor
JPH1198341A (en) Electronic watermark superimposing device and electronic watermark detecting device
JP3446237B2 (en) Variable length code table generation method and apparatus
JPH031662A (en) Picture signal compression coding device
US6704455B1 (en) Image processing system and image processing method
JPH0548902A (en) Image data compressor
JPH0993132A (en) Device and method for coding decoding
JP2806944B2 (en) How to improve the resolution of digital signals
JP2793402B2 (en) Image coding device
JP2802629B2 (en) Image data compression device and image processing device
JPH07288845A (en) Image compressor and red data detector
JP3232160B2 (en) Encoding device and method
JPH03186067A (en) Picture compressing device and picture restoring device
JP2552382B2 (en) Image signal compression coding device
JPH10222640A (en) Picture processor
JPS63306768A (en) Image encoding system
JP3831955B2 (en) Class classification adaptive processing apparatus and method
JP2992992B2 (en) Image coding device