JP2597003B2 - Image signal compression coding device - Google Patents

Image signal compression coding device

Info

Publication number
JP2597003B2
JP2597003B2 JP1041628A JP4162889A JP2597003B2 JP 2597003 B2 JP2597003 B2 JP 2597003B2 JP 1041628 A JP1041628 A JP 1041628A JP 4162889 A JP4162889 A JP 4162889A JP 2597003 B2 JP2597003 B2 JP 2597003B2
Authority
JP
Japan
Prior art keywords
data
normalization
color difference
signal data
luminance signal
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 - Fee Related
Application number
JP1041628A
Other languages
Japanese (ja)
Other versions
JPH02222394A (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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP1041628A priority Critical patent/JP2597003B2/en
Publication of JPH02222394A publication Critical patent/JPH02222394A/en
Application granted granted Critical
Publication of JP2597003B2 publication Critical patent/JP2597003B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Color Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

【発明の詳細な説明】 技術分野 本発明は画像信号圧縮符号化装置に関し、特に、カラ
ー画像信号を効率的に圧縮符号化する画像信号符号化装
置に関する。
Description: TECHNICAL FIELD The present invention relates to an image signal compression encoding device, and more particularly, to an image signal encoding device for efficiently compressing and encoding a color image signal.

背景技術 電子スチルカメラにより撮影された画像データのよう
なディジタル画像データをメモリに記憶する場合には、
データ量を減らしてメモリの記憶容量を少なくするた
め、各種の圧縮符号化が行われている。特に2次元直交
変換符号化は、大きな圧縮率で符号化を行うことがで
き、かつ符号化に伴う画像歪も抑圧できることから、広
く用いられている。
BACKGROUND ART When digital image data such as image data captured by an electronic still camera is stored in a memory,
In order to reduce the amount of data and the storage capacity of the memory, various types of compression encoding are performed. In particular, two-dimensional orthogonal transform coding is widely used because it can perform coding at a large compression rate and can suppress image distortion due to coding.

このような2次元直交変換符号化においては、画像デ
ータは所定の数のブロックに分割され、それぞれのブロ
ック内の画像データが2次元直交変換される。直交変換
された画像データ、すなわち変換係数は、所定の閾値と
比較され、閾値以下の部分の切り捨て(係数切り捨て)
が行われる。これにより閾値以下の変換係数は、その
後、0のデータとして処理される。次に係数切り捨てが
行われた変換係数は、所定の量子化ステップ値、すなわ
ち正規化係数により除算され、ステップ幅による量子
化、すなわち正規化が行われる。これにより、変換係数
の値、すなわち振幅のダイナミックレンジを抑圧するこ
とができる。その後、2次元ハフマン符号化等の符号化
が行われ、圧縮されたデータが得られる。
In such two-dimensional orthogonal transform coding, image data is divided into a predetermined number of blocks, and image data in each block is subjected to two-dimensional orthogonal transform. The orthogonally transformed image data, that is, the transform coefficient, is compared with a predetermined threshold, and a portion below the threshold is truncated (coefficient truncation).
Is performed. As a result, the conversion coefficient equal to or smaller than the threshold value is thereafter processed as 0 data. Next, the transform coefficient subjected to coefficient truncation is divided by a predetermined quantization step value, that is, a normalization coefficient, and quantization by a step width, that is, normalization is performed. Thereby, the value of the conversion coefficient, that is, the dynamic range of the amplitude can be suppressed. Thereafter, encoding such as two-dimensional Huffman encoding is performed, and compressed data is obtained.

カラー画像信号に対してこのような2次元直交変換符
号化を行う場合には、カラー画像信号を構成する輝度信
号Yおよび色差信号R−Y,B−Yをそれぞれ2次元直交
変換し、正規化係数により正規化する。その場合に、処
理される輝度信号Yおよび色差信号R−Y,B−Yのデー
タ量の比率は、通常、Y:R−Y:B−Y=4:2:2とされてい
る。すなわち、輝度信号と、R−YとB−Yの双方から
なる色差信号との比率は1:1である。したがって、直交
変換符号化により得られた輝度信号と色差信号とのデー
タ量の比率も1:1となる。
When such a two-dimensional orthogonal transform coding is performed on a color image signal, the luminance signal Y and the color difference signals RY and BY constituting the color image signal are respectively two-dimensional orthogonally transformed and normalized. Normalize by coefficient. In this case, the ratio of the data amounts of the luminance signal Y and the color difference signals RY and BY to be processed is usually Y: RY: BY = 4: 2: 2. That is, the ratio of the luminance signal to the color difference signal composed of both RY and BY is 1: 1. Therefore, the ratio of the data amount between the luminance signal and the color difference signal obtained by the orthogonal transform coding is also 1: 1.

従来は、このように輝度信号および色差信号を同じ圧
縮率で圧縮符号化ていちたため、これらの信号の特性を
考慮した効率的なデータの圧縮を行うことができなかっ
た。すなわち、例えば圧縮後のデータ量が制限されてい
る場合には、データ量を少なくすることによってこれに
応じて画質が低下するという問題があった。
Conventionally, since the luminance signal and the chrominance signal were compression-coded at the same compression rate, efficient data compression in consideration of the characteristics of these signals could not be performed. That is, for example, when the amount of data after compression is limited, there is a problem that the image quality is correspondingly reduced by reducing the amount of data.

目 的 本発明はこのような従来技術の問題点を解消し、2次
元直交変換後の正規化において、輝度信号、または色差
信号に応じた正規化係数を用い、カラー画像信号を効率
的に直交変換符号化する画像信号圧縮符号化装置を提供
することを目的とする。
Objective The present invention solves such a problem of the prior art, and in the normalization after the two-dimensional orthogonal transformation, a color image signal is efficiently orthogonalized by using a normalization coefficient corresponding to a luminance signal or a color difference signal. It is an object of the present invention to provide an image signal compression encoding device for performing transform encoding.

発明の開示 本発明によれば、1つの画面を構成するカラー画像デ
ータを、輝度信号データおよび色度信号データについて
それぞれ2次元直交変換符号化を行う画像信号圧縮符号
化装置は、画像データの2次元直交変換する直交変換手
段と、直交変換手段により直交変換されたデータを正規
化する正規化手段と、正規化手段により正規化されたデ
ータを符号化する符号化手段と、輝度信号データおよび
色度信号データについて正規化係数を設定する正規化係
数設定手段とを有し、正規化係数設定手段は、輝度信号
データについて使用される正規化係数を色度信号データ
について使用される正規化係数よりも小さい値に設定
し、正規化手段は、正規化係数設定手段により設定され
た正規化係数を用いて正規化を行うことにより、色度信
号データを輝度信号データよりも大きな圧縮率で圧縮す
るものである。
DISCLOSURE OF THE INVENTION According to the present invention, an image signal compression encoding apparatus that performs two-dimensional orthogonal transform encoding on color image data constituting one screen with respect to luminance signal data and chromaticity signal data, respectively, comprises: Orthogonal transformation means for performing dimensional orthogonal transformation, normalization means for normalizing data orthogonally transformed by the orthogonal transformation means, encoding means for encoding data normalized by the normalization means, luminance signal data and color Normalization coefficient setting means for setting a normalization coefficient for the degree signal data, wherein the normalization coefficient setting means calculates a normalization coefficient used for the luminance signal data from a normalization coefficient used for the chromaticity signal data. Is also set to a small value, and the normalization means performs normalization using the normalization coefficient set by the normalization coefficient setting means, thereby converting the chromaticity signal data. The compression is performed at a higher compression ratio than the luminance signal data.

実施例の説明 次に添付図面を参照して本発明による画像信号圧縮符
号化装置の実施例を詳細に説明する。
DESCRIPTION OF THE EMBODIMENTS Next, with reference to the accompanying drawings, embodiments of the image signal compression encoding apparatus according to the present invention will be described in detail.

第1図には本発明による画像信号圧縮符号化装置の一
実施例が示されている。
FIG. 1 shows an embodiment of an image signal compression encoding apparatus according to the present invention.

本装置は入力端子10を有し、入力端子10の3つの端子
からは、輝度信号Yおよび色差信号R−Y,B−Yが順次
入力される。輝度信号Yおよび色差信号R−Y,B−Y
は、例えばイメージセンサにより撮像されたスチル画像
の映像信号を、色分離およびマトリックス化して作成さ
れる。また、輝度信号Yおよび色差信号R−Y,B−Yは
図示しないブロック化部により、1フレーム分のスチル
画像データが複数のブロックに分割されてブロックごと
に第3図に示すような画素データが入力される。
This device has an input terminal 10, and a luminance signal Y and color difference signals RY and BY are sequentially input from three terminals of the input terminal 10. Luminance signal Y and color difference signals RY, BY
Is created by color separation and matrixing of a video signal of a still image captured by an image sensor, for example. The luminance signal Y and the color difference signals RY and BY are divided into a plurality of blocks of still image data for one frame by a blocking unit (not shown), and pixel data as shown in FIG. Is entered.

入力端子10から入力される輝度信号Yおよび色差信号
R−Y,B−Yは、スイッチ12へ送られる。スイッチ12は
制御部40からの制御信号に応じて切り換えられ、入力端
子10から入力される輝度信号Y、色差信号R−Yまたは
B−Yのいずれかを2次元直交変換部14に出力する。
The luminance signal Y and the color difference signals RY and BY input from the input terminal 10 are sent to the switch 12. The switch 12 is switched according to a control signal from the control unit 40, and outputs one of the luminance signal Y and the color difference signals RY or BY input from the input terminal 10 to the two-dimensional orthogonal transform unit 14.

2次元直交変換部14は、順次入力される輝度信号Yお
よび色差信号R−Y,B−Yのブロックごとの画像データ
を2次元直交変換する。2次元直交変換としては、ディ
スクリートコサイン変換、アダマール変換等の周知の直
交変換が用いられる。
The two-dimensional orthogonal transformation unit 14 performs two-dimensional orthogonal transformation on the image data for each block of the luminance signal Y and the color difference signals RY and BY that are sequentially input. As the two-dimensional orthogonal transform, a known orthogonal transform such as a discrete cosine transform or a Hadamard transform is used.

2次元直交変換部14において2次元直交変換されたブ
ロックごとの画像データは縦横に配列され、左上の部分
に低次のデータが配列され、右下の方向に向かうにつれ
て高次のデータとなる。2次元直交変換部14の出力は正
規化部16に送られる。
The image data for each block subjected to the two-dimensional orthogonal transformation in the two-dimensional orthogonal transformation unit 14 is arranged vertically and horizontally, low-order data is arranged in the upper left part, and becomes higher-order data in the lower right direction. The output of the two-dimensional orthogonal transformation unit 14 is sent to the normalization unit 16.

正規化部16は、2次元直交変換部14において2次元直
交変換されさ画像データ、すなわち変換係数に対して係
数切り捨てを行った後、正規化を行う。係数切り捨て
は、直交変換された変換係数を所定の閾値と比較し、閾
値以下の部分を切り捨てるものである。正規化は、係数
切り捨てが行われた変換係数を所定の量子化ステップ
値、すなわち正規化係数により除算し、正規化係数によ
る量子化を行うものである。
The normalizing unit 16 normalizes the image data subjected to the two-dimensional orthogonal transform in the two-dimensional orthogonal transform unit 14, that is, after performing coefficient truncation on the transform coefficients. The coefficient truncation is to compare the orthogonally transformed transform coefficient with a predetermined threshold value and to cut off a portion below the threshold value. In the normalization, the transform coefficient subjected to coefficient truncation is divided by a predetermined quantization step value, that is, a normalization coefficient, and quantization is performed using the normalization coefficient.

正規化部16にはスイッチ44を介して重みテーブル46、
48および50が接続されている。スイッチ44は、制御部40
からの制御信号に応じて切り換えられ、重みテーブル4
6、48または50のいずれかを選択してそのデータを正規
化部16へ入力させる。重みテーブル46、48および50は、
それぞれ輝度信号Y、色差信号R−YおよびB−Yの正
規化に使用される正規化係数のデータのテーブルであ
る。これらの重みテーブルは第4図に示すように、ブロ
ックを構成する画素数と同数のデータからなっている。
変換係数は低域の成分がデータとして重要であり、高域
の成分は重要性が低いから、第4図に示すような重みテ
ーブルは、低域成分のデータを重視し、高域成分のデー
タを切り捨てるように、データが割り当てられている。
A weight table 46 is provided to the normalization unit 16 via a switch 44,
48 and 50 are connected. The switch 44 is connected to the control unit 40
Is switched according to the control signal from the
One of 6, 48, and 50 is selected, and the data is input to the normalization unit 16. The weight tables 46, 48 and 50 are
It is a table of the data of the normalization coefficient used for normalization of the luminance signal Y, the color difference signals RY, and BY, respectively. As shown in FIG. 4, these weight tables are composed of the same number of data as the number of pixels constituting the block.
As for the conversion coefficient, since the low-frequency component is important as data and the high-frequency component is low in importance, the weight table as shown in FIG. 4 emphasizes the low-frequency component data and the high-frequency component data. The data is assigned so that it is truncated.

重みテーブル46は輝度信号Y用のテーブルテータであ
り、色差信号R−YおよびB−Y用の重みテーブル48お
よび50よりも小さなデータにより構成されている。した
がって、輝度信号Yの画像データは色差信号R−Yおよ
びB−Yの画像データよりも小さな値のテーブルデータ
で除算されるため、正規化後の輝度信号Yのデータは色
差信号R−YおよびB−Yのデータよりも大きくなる。
これにより、輝度信号Yは色差信号R−YおよびB−Y
よりも小さな圧縮率で直交変換符号化される。いいかえ
ると、色差信号R−YおよびB−Yは輝度信号Yよりも
大きく圧縮符号化される。重みテーブル46と重みテーブ
ル48および50との重みの比は、例えば符号化され出力さ
れる輝度信号Yと色差信号R−YおよびB−Yの合計の
比が3:1となるように、すなわち、色差信号R−Yまた
はB−Yはそれぞれ輝度信号Yの6分の1となるよう
に、設定するのが好ましい。
The weight table 46 is a table data for the luminance signal Y, and is composed of data smaller than the weight tables 48 and 50 for the color difference signals RY and BY. Therefore, since the image data of the luminance signal Y is divided by the table data having a smaller value than the image data of the color difference signals RY and BY, the data of the normalized luminance signal Y is obtained by dividing the color difference signals RY and It becomes larger than BY data.
As a result, the luminance signal Y becomes the color difference signals RY and BY.
The orthogonal transform coding is performed with a smaller compression ratio. In other words, the color difference signals RY and BY are compression-coded to be larger than the luminance signal Y. The weight ratio between the weight table 46 and the weight tables 48 and 50 is, for example, such that the ratio of the sum of the encoded and output luminance signal Y and the color difference signals RY and BY becomes 3: 1, that is, , And the color difference signal RY or BY is preferably set to be one sixth of the luminance signal Y.

正規化部16はスイッチ44により選択され送られる重み
テーブル46、48または50のデータを用いて正規化を行
う。すなわち、輝度信号Y、色差信号R−YおよびB−
Yのブロックごとの画像データを重みテーブル46、48ま
たは50からのデータによって除算する。輝度信号Yには
重みテーブル46からのデータ、色差信号R−Yには重み
テーブル48からのデータ、色差信号B−Yには重みテー
ブル50からのデータがそれそれ使用され、正規化が行わ
れる。
The normalization unit 16 performs normalization using the data of the weight table 46, 48, or 50 selected and transmitted by the switch 44. That is, the luminance signal Y, the color difference signals RY and B-
The image data for each Y block is divided by the data from the weight table 46, 48 or 50. The data from the weight table 46 is used for the luminance signal Y, the data from the weight table 48 is used for the color difference signal RY, and the data from the weight table 50 is used for the color difference signal BY, and normalization is performed. .

なお、前記テーブルデータTによって変換係数を除算
し、正規化を行う場合に、あらかじめ1/Tを求め、この
値を変換係数に除算するようにすれば、除算器を少なく
することができるため、装置の規模を小さくすることが
できる。
In addition, when the conversion coefficient is divided by the table data T and normalization is performed, 1 / T is obtained in advance, and if this value is divided by the conversion coefficient, the number of dividers can be reduced. The size of the device can be reduced.

正規化された変換係数は第3図に示す画素データと同
様にブロック状に配列され、第5図に示されるように低
域成分から順にジグザグ状にスキャンされて出力され
る。
The normalized transform coefficients are arranged in blocks in the same manner as the pixel data shown in FIG. 3, and are scanned and output in a zigzag manner in order from the low-frequency component as shown in FIG.

正規化部16の出力は、2次元ハフマン符号化部28に出
力される。2次元ハフマン符号化部28は、前記のように
ジグザグ状にスキャンされて入力される正規化された変
換係数において零が連続することが多いため、零の値の
データを連続する量すなわち零のラン長を検出し、零ラ
ン長および非零の振幅を求め、これを2次元ハフマン符
号化する。2次元ハフマン符号化部28からの出力は出力
端子32へ出力される。出力端子32へ送られたデータは、
図示しない伝送路へ伝送され、または磁気ディスク等の
記録媒体に記録される。
The output of the normalization unit 16 is output to a two-dimensional Huffman encoding unit 28. Since the two-dimensional Huffman encoding unit 28 often has consecutive zeros in the normalized transform coefficients scanned and input in a zigzag manner as described above, the two-dimensional Huffman encoding unit 28 converts the data of zero value into a continuous amount, that is, zero. The run length is detected, zero run length and non-zero amplitude are obtained, and these are subjected to two-dimensional Huffman coding. The output from the two-dimensional Huffman encoding unit 28 is output to an output terminal 32. The data sent to output terminal 32
The data is transmitted to a transmission path (not shown) or recorded on a recording medium such as a magnetic disk.

制御部40は本装置の各機能部を制御する制御部であ
り、特に入力端子10から順次入力される輝度信号Y、色
差信号R−YおよびB−Yを2次元直交変換部14へ入力
させるため、スイッチ12の切り換えを制御する。また、
正規化部に入力された輝度信号Y、色差信号R−Yおよ
びB−Yに応じて重みテーブル46、48または50からのデ
ータを正規化部16へ送るため、スイッチ44の切り換えを
制御する。
The control section 40 is a control section for controlling each functional section of the present apparatus. In particular, the control section 40 inputs the luminance signal Y, the color difference signals RY, and BY sequentially input from the input terminal 10 to the two-dimensional orthogonal transform section 14. Therefore, switching of the switch 12 is controlled. Also,
The switching of the switch 44 is controlled in order to send the data from the weight table 46, 48 or 50 to the normalization unit 16 according to the luminance signal Y, the color difference signals RY and BY input to the normalization unit.

本装置によれば、入力端子10からまず輝度信号Yのデ
ータが入力されるようにスイッチ12が切り換えられ、重
みテーブル46からのテーブルデータが正規化部16に入力
されるようにスイッチ44が切り換えられる。これによっ
て、輝度信号Yのデータが入力端子10からスイッチ12を
通して2次元直交変換部14に入力され、直交変換され、
正規換部16に送られる。正規換部16には重みテーブル46
から輝度信号Y用の正規化係数データが入力され、これ
により正規化が行われる。正規化された輝度信号Yのデ
ータは2次元ハフマン符号化部28で符号化され、出力端
子32へ出力される。
According to the present apparatus, the switch 12 is first switched so that the data of the luminance signal Y is input from the input terminal 10, and the switch 44 is switched so that the table data from the weight table 46 is input to the normalization unit 16. Can be As a result, the data of the luminance signal Y is input from the input terminal 10 to the two-dimensional orthogonal transform unit 14 through the switch 12, and is orthogonally transformed.
It is sent to the regular conversion unit 16. Weight conversion table 46
, Normalization coefficient data for the luminance signal Y is input, and normalization is performed by this. The data of the normalized luminance signal Y is encoded by the two-dimensional Huffman encoding unit 28 and output to the output terminal 32.

次に、入力端子10から色差信号R−Yのデータが入力
されるようにスイッチ12が切り換えられ、重みテーブル
48からのテーブルデータが正規化部16に入力されるよう
にスイッチ44が切り換えられる。これによって、色差信
号R−Yのデータが入力端子10からスイッチ12を通して
2次元直交変換部14に入力され、直交変換され、正規化
部16に送られる。正規化部16には重みテーブル48から色
差信号R−Y用の正規化係数データが入力され、これに
より正規化が行われる。正規化された色差信号R−Yの
データは2次元ハフマン符号化28で符号化され、出力端
子32へ出力される。
Next, the switch 12 is switched so that the data of the color difference signal RY is input from the input terminal 10, and the weight table
The switch 44 is switched so that the table data from 48 is input to the normalization unit 16. As a result, the data of the color difference signal RY is input from the input terminal 10 to the two-dimensional orthogonal transform unit 14 through the switch 12, is orthogonally transformed, and sent to the normalization unit 16. The normalization section 16 receives normalization coefficient data for the color difference signal RY from the weight table 48, and performs normalization. The data of the normalized color difference signal RY is encoded by a two-dimensional Huffman encoding 28 and output to an output terminal 32.

同様に色差信号B−Yのデータが入力端子10から入力
され、色差信号B−Yの重みテーブル50のデータによっ
て正規化され、出力端子32へ出力される。
Similarly, the data of the color difference signal BY is input from the input terminal 10, normalized by the data of the weight table 50 of the color difference signal BY, and output to the output terminal 32.

上記のように輝度信号Y、色差信号R−YおよびB−
Yについてそれぞれ異なる重みテーブルを使用して正規
化を行う。色差信号R−YおよびB−Yの正規化に使用
される重みテーブル48および50は、輝度信号Yの正規化
に使用される重みテーブル46に比較して大きな値に設定
されている。したがって、色差信号R−YおよびB−Y
の正規化においては輝度信号Yの正規化に比較してデー
タの圧縮率が大きくなり、例えば出力端子32に出力され
る符号化後の色差信号R−YおよびB−Yのデータの合
計は輝度信号Yのデータの3分の1となる。
As described above, the luminance signal Y, the color difference signals RY and B-
Y is normalized using different weight tables. The weight tables 48 and 50 used for normalizing the color difference signals RY and BY are set to larger values than the weight table 46 used for normalizing the luminance signal Y. Therefore, the color difference signals RY and BY
In the normalization of the luminance signal Y, the data compression ratio becomes larger than that of the normalization of the luminance signal Y. For example, the sum of the data of the encoded chrominance signals RY and BY output to the output terminal 32 is the luminance This is one third of the data of the signal Y.

再生画像においては、色差信号R−YおよびB−Yは
輝度信号に比較して画質に対する影響が少ない。したが
って上記のように色差信号R−YおよびB−Yの圧縮率
を大きくしても、画像はそれほど劣化しない。このよう
に本装置によれば、比較的良好な画質を保ちつつ、画像
データの圧縮率を大きくすることができる。
In the reproduced image, the color difference signals RY and BY have less influence on the image quality than the luminance signal. Therefore, even if the compression ratio of the color difference signals RY and BY is increased as described above, the image does not deteriorate so much. As described above, according to the present apparatus, it is possible to increase the compression ratio of image data while maintaining relatively good image quality.

第2図には本発明による画像信号圧縮符号化装置の他
の実施例が示されている。
FIG. 2 shows another embodiment of the image signal compression encoding apparatus according to the present invention.

この装置においては、入力端子10から入力される輝度
信号Yおよび色差信号R−Y,B−Yのブロックごとの画
像データはアクティビティ算出部20にも送られる。アク
ティビティ算出部20は、輝度信号Yおよび色差信号R−
Y,B−Yのブロックごとのアクティビティを算出し、ブ
ロックごとの合計値を算出することによって画像全体の
総アクティビティを、輝度信号Yおよび色差信号R−Y,
B−Yごとに算出する。アクティビティ算出部20からの
出力は制御部40に送られる。
In this device, the image data for each block of the luminance signal Y and the color difference signals RY and BY input from the input terminal 10 are also sent to the activity calculating section 20. The activity calculator 20 calculates the luminance signal Y and the color difference signal R-
The activity of each block of Y, BY is calculated, and the total activity of the entire image is calculated by calculating the total value of each block, so that the luminance signal Y and the color difference signals RY,
Calculate for each BY. The output from the activity calculator 20 is sent to the controller 40.

テーブル52、54、56は第1図の装置と同様に、それぞ
れ輝度信号Y、色差信号R−Y,B−Y用の正規化係数の
データが格納されている。テーブル52、54、56にはそれ
ぞれ重み設定部58、60、62が接続されている。重み設定
部58、60、62はそれぞれテーブル52、54、56のデータT
に乗算する重みデータを出力する。制御部40はアクティ
ビティ算出部20から送られる輝度信号Yおよび色差信号
R−Y,B−Yのアクティビティの値に応じて、重み設定
部58、60、62に重みを指示する信号を出力する。重み設
定部58、60、62は制御部40からの信号に応じて重みを設
定する。アクティビティの値に応じた重みの設定は、例
えば第6A図および第6B図に示されるような関係によって
正規化係数の重みを設定する。重み設定部58、60、62に
より設定された重みは、それぞれテーブル52、54、56へ
出力される。テーブル52、54、56において、重み設定部
58、60、62から送られた重みがテーブルデータに乗算さ
れ、スイッチ44に送られる。スイッチ44は第1図の装置
と同様に、制御部40からの制御信号によって切り換えら
れ、輝度信号Y、色差信号R−YまたはB−Yが正規化
部16に送られた時に、これに応じてテーブル52、54、ま
たは56のデータを正規化部16へ出力させる。
The tables 52, 54 and 56 store the data of the normalization coefficients for the luminance signal Y and the color difference signals RY and BY similarly to the apparatus of FIG. Weight setting units 58, 60, 62 are connected to the tables 52, 54, 56, respectively. The weight setting units 58, 60, and 62 store the data T of the tables 52, 54, and 56, respectively.
The weight data to be multiplied is output. The control unit 40 outputs a signal for instructing weights to the weight setting units 58, 60 and 62 according to the activity values of the luminance signal Y and the color difference signals RY and BY sent from the activity calculating unit 20. The weight setting units 58, 60, and 62 set weights according to signals from the control unit 40. For setting the weight according to the value of the activity, for example, the weight of the normalization coefficient is set according to the relationship shown in FIGS. 6A and 6B. The weights set by the weight setting units 58, 60, 62 are output to the tables 52, 54, 56, respectively. In tables 52, 54, and 56, the weight setting unit
The weights sent from 58, 60 and 62 are multiplied by the table data and sent to the switch 44. The switch 44 is switched by a control signal from the control unit 40 in the same manner as in the apparatus shown in FIG. 1, and responds when the luminance signal Y, the color difference signal RY or BY is sent to the normalization unit 16. Then, the data of the table 52, 54, or 56 is output to the normalization unit 16.

また、この装置においては、2次元ハフマン符号化部
からの出力はマルチプレクサ64に送られる。一方、重み
設定部58、60、62の出力もまた、順次アルチプレクサ64
へ出力される。マルチプレクサ64は、2次元ハフマン符
号化部28からの入力および重み設定部58、60、62からの
入力を選択し、出力端子32へ出力させる。これにより圧
縮符号化された画像データと正規化のための重みのデー
タが出力端子32へ送られる。
In this device, the output from the two-dimensional Huffman encoding unit is sent to the multiplexer 64. On the other hand, the outputs of the weight setting units 58, 60, and 62 are also sequentially output to the multiplexer 64.
Output to The multiplexer 64 selects an input from the two-dimensional Huffman encoding unit 28 and an input from the weight setting units 58, 60, and 62, and outputs the input to the output terminal 32. Thus, the compression-coded image data and the data of the weight for normalization are sent to the output terminal 32.

この装置のその他の動作は第1図の装置と同様である
ので説明を省略する。
Other operations of this apparatus are the same as those of the apparatus shown in FIG.

本装置によれば、第1図の装置と同様に、輝度信号
Y、色差信号R−YまたはB−Yが正規化部16に入力さ
れるとこれに応じてテーブル52、54または56が選択さ
れ、正規化が行われる。したがって色差信号R−Yおよ
びB−Yの正規化においては輝度信号Yの正規化に比較
してデータの圧縮率が大きくなり、出力される符号化デ
ータも色差信号R−YおよびB−Yの圧縮率が大きくな
るから、比較的良好な画質を保ちつつ、圧縮率を大きく
することができる。
According to the present apparatus, similarly to the apparatus of FIG. 1, when the luminance signal Y and the chrominance signal RY or BY are input to the normalization unit 16, the table 52, 54 or 56 is selected accordingly. And normalization is performed. Therefore, in the normalization of the chrominance signals RY and BY, the data compression ratio is higher than in the normalization of the luminance signal Y, and the encoded data to be output is also the coded data of the color difference signals RY and BY. Since the compression ratio increases, the compression ratio can be increased while maintaining relatively good image quality.

しかも、輝度信号Y、色差信号R−YまたはB−Yの
それぞれのアクティビティに応じて、重み設定部58、6
0、62により正規化係数の重みを設定しているから、各
信号の周波数成分に応じて適切な圧縮符号を行うことが
できる。
In addition, the weight setting units 58 and 6 are set according to the activities of the luminance signal Y, the color difference signals RY and BY.
Since the weights of the normalization coefficients are set by 0 and 62, it is possible to perform an appropriate compression code according to the frequency component of each signal.

また、正規化のための各信号についての重みのデータ
も符号化された画像データとともに出力されるから、再
生装置においてはこの正規化係数を用いて復号を行うこ
とができる。
In addition, since the data of the weight for each signal for normalization is also output together with the encoded image data, the reproducing apparatus can perform decoding using the normalization coefficient.

効 果 本発明によれば、圧縮符号化装置は、直交変換後の正
規化において輝度信号についての正規化係数を色差信号
についての正規化係数よりも小さく設定し、色差信号デ
ータを輝度信号データよりも大きな圧縮率で圧縮する。
したがって、輝度信号データを小さな圧縮率で、色差信
号データを大きな圧縮率で圧縮符号化するから、画像デ
ータの圧縮率を大きくし、しかも比較的良好な画質とす
ることができる。
According to the present invention, the compression encoding apparatus sets the normalization coefficient for the luminance signal to be smaller than the normalization coefficient for the chrominance signal in the normalization after the orthogonal transformation, and converts the chrominance signal data from the luminance signal data. Also compress with a large compression ratio.
Therefore, since the luminance signal data is compression-coded with a small compression ratio and the chrominance signal data is compression-coded with a large compression ratio, the compression ratio of the image data can be increased and the image quality can be relatively good.

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

第1図は、本発明による画像信号圧縮符号化装置の一実
施例を示すブロック図、 第2図は、本発明による画像信号圧縮符号化装置の他の
実施例を示すブロック図、 第3図は、ブロックを構成する画素データの例を示す
図、 第4図は、重みテーブルデータの例を示す図、 第5図は、ランレングスおよび非零の振幅の符号化を行
う順序を示す図、 第6A図および第6B図は、アクティビティの合計値を正規
化係数の重みに変換するルックアップテーブルの例を示
す図である。 主要部分の符号の説明 14……2次元直交変換部 16……正規化部 20……アクティビティ算出部 46,48,50……重みテーブル 52,54,56……テーブル 58,60,62……重み設定部 64……マルチプレクサ
FIG. 1 is a block diagram showing an embodiment of an image signal compression encoding apparatus according to the present invention. FIG. 2 is a block diagram showing another embodiment of an image signal compression encoding apparatus according to the present invention. FIG. 4 is a diagram showing an example of pixel data constituting a block, FIG. 4 is a diagram showing an example of weight table data, FIG. 5 is a diagram showing an order for encoding run length and non-zero amplitude, 6A and 6B are diagrams showing examples of a look-up table for converting a total value of activities into a weight of a normalization coefficient. Description of Signs of Main Parts 14 Two-Dimensional Orthogonal Transformer 16 Normalizer 20 Activity Calculators 46, 48, 50 Weight Tables 52, 54, 56 Tables 58, 60, 62 Weight setting unit 64: Multiplexer

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】1つの画面を構成するカラー画像データ
を、輝度信号データおよび色差信号データについてそれ
ぞれ2次元直交変換符号化を行う画像信号圧縮符号化装
置において、該装置は、 前記画像データを2次元直交変換する直交変換手段と、 該直交変換手段により直交変換されたデータを正規化す
る正規化手段と、 該正規化手段により正規化されたデータを符号化する符
号化手段と、 前記輝度信号データおよび色差信号データについて正規
化係数を設定する正規化係数設定手段とを有し、 前記正規化係数設定手段は、前記輝度信号データについ
て使用される正規化係数を前記色差信号データについて
使用される正規化係数よりも小さい値に設定し、 前記正規化手段は、前記正規化係数設定手段により設定
された正規化係数を用いて正規化を行うことにより、前
記色差信号データを前記輝度信号データよりも大きな圧
縮率で圧縮することを特徴とする画像信号圧縮符号化装
置。
1. An image signal compression coding apparatus for performing two-dimensional orthogonal transform coding on color image data constituting one screen with respect to luminance signal data and color difference signal data, wherein the apparatus converts the image data into two. Orthogonal transformation means for performing dimensional orthogonal transformation, normalization means for normalizing data orthogonally transformed by the orthogonal transformation means, encoding means for encoding data normalized by the normalization means, and the luminance signal Normalization coefficient setting means for setting a normalization coefficient for data and color difference signal data, wherein the normalization coefficient setting means uses a normalization coefficient used for the luminance signal data for the color difference signal data. The normalization means sets a value smaller than the normalization coefficient, and the normalization means uses the normalization coefficient set by the normalization coefficient setting means to make a positive By performing reduction, image signal compression coding apparatus characterized by compressing the color difference signal data with greater compression than the luminance signal data.
【請求項2】請求項1に記載の装置において、 該装置はさらに、前記輝度信号データおよび色差信号デ
ータのアクティビティを算出するアクティビティ算出手
段を有し、 前記正規化係数設定手段は、前記アクティビティ算出手
段により得られた、前記輝度信号データおよび色差信号
データのアクティビティに応じて、前記輝度信号データ
および色差信号データについて正規化係数を設定するこ
とを特徴とする画像信号圧縮符号化装置。
2. The apparatus according to claim 1, further comprising: activity calculating means for calculating activities of said luminance signal data and color difference signal data; and said normalization coefficient setting means comprising: An image signal compression encoding apparatus, wherein a normalization coefficient is set for the luminance signal data and the color difference signal data according to the activities of the luminance signal data and the color difference signal data obtained by the means.
【請求項3】請求項1または2に記載の装置において、 前記正規化係数設定手段は、前記アクティビティに応じ
て係数を設定する手段と、前記輝度信号データおよび色
差信号データについて重みテーブルを選択する手段とを
有し、前記設定された係数と選択された重みテーブルと
を乗算した値を前記正規化係数として設定することを特
徴とする画像信号圧縮符号化装置。
3. The apparatus according to claim 1, wherein the normalization coefficient setting means selects a coefficient according to the activity, and selects a weight table for the luminance signal data and the chrominance signal data. Means for setting the normalized coefficient and a value obtained by multiplying the set coefficient by the selected weight table.
JP1041628A 1989-02-23 1989-02-23 Image signal compression coding device Expired - Fee Related JP2597003B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1041628A JP2597003B2 (en) 1989-02-23 1989-02-23 Image signal compression coding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1041628A JP2597003B2 (en) 1989-02-23 1989-02-23 Image signal compression coding device

Publications (2)

Publication Number Publication Date
JPH02222394A JPH02222394A (en) 1990-09-05
JP2597003B2 true JP2597003B2 (en) 1997-04-02

Family

ID=12613595

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1041628A Expired - Fee Related JP2597003B2 (en) 1989-02-23 1989-02-23 Image signal compression coding device

Country Status (1)

Country Link
JP (1) JP2597003B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5748245A (en) 1993-03-29 1998-05-05 Canon Kabushiki Kaisha Encoding apparatus for encoding input information data while controlling a code quantity of encoded information data
JP3858528B2 (en) 1999-08-17 2006-12-13 株式会社ニコン Electronic camera and recording medium on which image processing program is recorded

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2575351B1 (en) * 1984-12-21 1988-05-13 Thomson Csf ADAPTIVE METHOD OF ENCODING AND DECODING A SUITE OF IMAGES BY TRANSFORMATION, AND DEVICES FOR CARRYING OUT SAID METHOD
JPS6264168A (en) * 1985-09-13 1987-03-23 Matsushita Electric Ind Co Ltd Color picture encoder
JPS62222783A (en) * 1986-03-24 1987-09-30 Kokusai Denshin Denwa Co Ltd <Kdd> Highly efficient encoding system for animation picture
JPH0797829B2 (en) * 1986-05-31 1995-10-18 キヤノン株式会社 Color image input / output device
JPS63158971A (en) * 1986-12-23 1988-07-01 Matsushita Electric Works Ltd Image compression system

Also Published As

Publication number Publication date
JPH02222394A (en) 1990-09-05

Similar Documents

Publication Publication Date Title
US6553142B2 (en) Quantization table adjustment
EP0550012B1 (en) Apparatus for compression encoding video signals
JPH06189285A (en) Quantization/inverse quantization circuit for picture data compression/expansion device
JPH05219385A (en) Picture compression expansion method and device
JPH1118089A (en) Image data compressor
JP2625012B2 (en) Image signal compression coding device
WO2002080574A1 (en) Image processing device, image processing method, image processing program, and recording medium
JP3900155B2 (en) Image processing apparatus, image processing method and image processing program, and quantization control apparatus, quantization control method and quantization control program
JP2597003B2 (en) Image signal compression coding device
JP3870428B2 (en) Image information conversion apparatus and method, and coefficient data generation apparatus and method
JPH03283989A (en) Color picture coding system
JP2597003C (en)
JPH06113140A (en) Picture processor
JP2638179B2 (en) Image signal compression / encoding device and image signal compression / decompression system
Nasiopoulos et al. A high-quality fixed-length compression scheme for color images
JP2700355B2 (en) Image data compression device
JP2795171B2 (en) Image compression method and apparatus
JP2710135B2 (en) Adaptive coding between frames / intra-frame
JPH0487467A (en) Coding system
JP2021103818A (en) Image encoding device, imaging device, control method of image encoding device, and program
JP2839055B2 (en) Image editing device
JPH0583569A (en) Image encoder
JP2619535B2 (en) Image signal compression encoding apparatus and decoding reproduction apparatus
KR100209879B1 (en) Apparatus for emphasizing image quality partially using variable quantization
JPH09224246A (en) Image compression coding and image compression decoding device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080109

Year of fee payment: 11

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090109

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees