JPH04294685A - Method and device for encoding color image signal - Google Patents

Method and device for encoding color image signal

Info

Publication number
JPH04294685A
JPH04294685A JP3083474A JP8347491A JPH04294685A JP H04294685 A JPH04294685 A JP H04294685A JP 3083474 A JP3083474 A JP 3083474A JP 8347491 A JP8347491 A JP 8347491A JP H04294685 A JPH04294685 A JP H04294685A
Authority
JP
Japan
Prior art keywords
encoding
value
prediction error
data
image 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.)
Withdrawn
Application number
JP3083474A
Other languages
Japanese (ja)
Inventor
Masahiro Iwahashi
政宏 岩橋
Shunichi Masuda
増田 俊一
Seiji Kato
誠治 加藤
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.)
Nippon Steel Corp
Original Assignee
Nippon Steel 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 Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP3083474A priority Critical patent/JPH04294685A/en
Publication of JPH04294685A publication Critical patent/JPH04294685A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To perform the compressive encoding of data with high efficiency in the encoding of a color image where digital color signal data is compression- encoded, and accumulated, and original data is decoded and reproduced. CONSTITUTION:A prediction error value between the prediction value of a prescribed picture element value and an actual picture element value is found at a prediction error arithmetic part 2. Multilevelvalue/binary conversion is performed at a multilevelvalue/binary conversion part 3 so as to decrease an entropy rate by using a conversion table, and data with fixed length can be obtained. After that, arithmetic encoding is performed at an arithmetic encoding part 4, thereby, compression efficiency by the arithmetic encoding can be improved.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、カラー画像信号の符号
化方法および装置に関し、特にカメラや写真入力装置な
どから入力されたディジタルカラー画像信号を圧縮符号
化して蓄積し、蓄積されたデータから元の画像信号を復
号再生することを可能とする、画像データベースや画像
の圧縮伝送機器に適するカラー画像信号の符号化方法お
よび装置に関する。
[Field of Industrial Application] The present invention relates to a method and apparatus for encoding color image signals, and in particular to a method and apparatus for encoding color image signals, and in particular for compressing and encoding digital color image signals input from cameras, photo input devices, etc. and storing them, and from the stored data. The present invention relates to a method and apparatus for encoding color image signals, which are suitable for image databases and image compression and transmission equipment, and which enable decoding and reproduction of original image signals.

【0002】0002

【従来の技術】カラー画像のディジタル信号を圧縮符号
化して蓄積し、これを復号再生することにより再び元の
データを再現するための可逆の符号化方法には、例えば
文献「JPEG−8−R5.2草案書」(Joint 
Photographic Experts Grou
p, ISO/IEC JTC1/SC2/WG8, 
SG−15 編、1989年発行)に記載され標準化勧
告が進められている方式(以下JPEG方式という)が
ある。
2. Description of the Related Art A reversible encoding method for reproducing the original data by compressing and encoding a digital signal of a color image, storing it, and decoding and reproducing it is known, for example, in the document "JPEG-8-R5". .2 draft document” (Joint
Photographic Experts Group
p, ISO/IEC JTC1/SC2/WG8,
There is a method (hereinafter referred to as the JPEG method) that is described in the SG-15 edition, published in 1989) and is being recommended for standardization.

【0003】JPEG方式の一般的な符号化方法は、予
測、多値/二値変換、算術符号化の3つの部分から構成
されている。予測部においては、下記の(1)式に従い
、画像の第mライン(m番目の走査線)上の第n画素(
n番目の画素)の画素値x(m,n) の予測誤差y(
m,n) を計算して求める。
[0003] The general encoding method of the JPEG system consists of three parts: prediction, multilevel/binary conversion, and arithmetic encoding. In the prediction unit, the n-th pixel (
The prediction error y(
m, n).

【0004】   y(m,n) =x(m,n) −(x(m−1,
n) +x(m,n−1) )/2      式(1
y(m,n) =x(m,n)−(x(m−1,
n) +x(m, n-1) )/2 Formula (1
)

【0005】上式のように、予測誤差y(m,n) 
は、画素値x(m,n) とこの画素値の予測値(x(
m−1,n) +x(m,n−1))/2との差を求め
ることにより算出される。
As shown in the above equation, the prediction error y(m,n)
is the pixel value x(m,n) and the predicted value of this pixel value (x(
m-1, n) +x(m, n-1))/2.

【0006】一般に、画像信号x(m,n) は各画素
位置において周辺画素との相関が強いので、上記(1)
式で求められる予測誤差y(m,n) は、ゼロ近傍に
偏ったデータとなる。
Generally, the image signal x(m,n) has a strong correlation with surrounding pixels at each pixel position, so the above (1)
The prediction error y(m,n) obtained by the formula becomes data biased near zero.

【0007】次に、多値/二値変換部においては、多値
データであるところの予測誤差y(m,n) を2値デ
ータ系列に変換する。具体的には、出現頻度の高い予測
誤差に、より少ないビット長の二値符号を割り当てる(
可変長符号化)ことにより、結果として全体の平均符号
長を短くする。二値符号の割当方法は、デシジョン・ツ
リーによる。このような二値符号系列を算術符号化部に
入力することにより、さらなるデータの圧縮を行おうと
するものである。
Next, the multi-value/binary conversion section converts the prediction error y(m,n), which is multi-value data, into a binary data series. Specifically, a binary code with a smaller bit length is assigned to prediction errors that occur frequently (
(variable length encoding), the overall average code length is shortened as a result. The binary code assignment method is based on a decision tree. By inputting such a binary code sequence to the arithmetic coding section, further data compression is attempted.

【0008】[0008]

【発明が解決しようとする課題】前記従来技術としての
JPEG方式による画像符号化においては、予測部と多
値/二値変換部の処理を終わった時点で、既にデータの
エントロピーレートが1に近い状態、すなわち圧縮限界
に近い状態になっていた。言い換えれば、画像データの
圧縮効果は、そのほとんどが予測部と多値/二値変換部
によって達成されており、最後段の算術符号化部の圧縮
効果が十分に生かされていないという方式上の解決すべ
き問題点があった。また、多値/二値変換部は、その出
力符号の長さが一定でない可変長符号化アルゴリズムと
なっているため、回路構成が複雑になるという実施上の
解決すべき問題点があった。
[Problem to be Solved by the Invention] In image encoding using the JPEG method as the prior art, the entropy rate of the data is already close to 1 at the time when the processing in the prediction unit and the multi-value/binary conversion unit is completed. In other words, the condition was close to the compression limit. In other words, the compression effect of image data is mostly achieved by the prediction section and the multi-value/binary conversion section, and the compression effect of the arithmetic coding section at the last stage is not fully utilized. There were problems that needed to be resolved. Furthermore, since the multilevel/binary converter uses a variable length encoding algorithm in which the length of the output code is not constant, there is a problem in implementation that the circuit configuration becomes complicated.

【0009】本発明は、予測誤差値を固定長の二値デー
タに変換して算術符号化することにより、算術符号化部
の圧縮効果を高めたカラー画像信号の符号化方法および
装置を提供することを目的とする。
The present invention provides a color image signal encoding method and apparatus that improves the compression effect of an arithmetic encoder by converting prediction error values into fixed-length binary data and performing arithmetic encoding. The purpose is to

【0010】0010

【課題を解決するための手段】前記課題を解決するため
に、本発明は、まず、画像信号の各画素位置における信
号値を予測し、次にその予測誤差値の出現頻度の高い順
にエントロピーレートが低くなるような順番に定めた固
定長コードからなる変換表を用いてその予測誤差を二値
データの配列に変換し、最後に、当該二値データ配列を
算術符号化によりデータ圧縮することを特徴とする。
[Means for Solving the Problems] In order to solve the above problems, the present invention first predicts the signal value at each pixel position of an image signal, and then calculates the entropy rate in descending order of the frequency of occurrence of the prediction error value. The prediction error is converted into an array of binary data using a conversion table consisting of fixed-length codes determined in the order of decreasing Features.

【0011】[0011]

【作用】本発明によれば前記の特徴により、多値/二値
変換部では、データの圧縮よりも、むしろ、多値/二値
変換後の出力符号の平均エントロピーレートを下げる変
換を行うことにより、算術符号化部での圧縮効果を高め
、結果として全体の圧縮効果を高めることが可能となる
。また、多値/二値変換部は固定長の処理となるため、
その後の符号化・復号演算ともに簡単なテーブル参照処
理のみで済み、回路の簡略化・処理の高速化が極めて容
易となる。
[Operation] According to the present invention, due to the above-mentioned features, the multi-value/binary converter performs conversion that lowers the average entropy rate of the output code after multi-value/binary conversion, rather than compressing data. This makes it possible to enhance the compression effect in the arithmetic encoding section and, as a result, to enhance the overall compression effect. In addition, since the multivalue/binary conversion section processes a fixed length,
Subsequent encoding and decoding operations require only simple table reference processing, making it extremely easy to simplify the circuit and speed up the processing.

【0012】0012

【実施例】次に、図面を参照して本発明の一実施例を詳
細に説明する。一般にカラー画像は、RGBやYUV、
CMYK等の3つないし4つのカラーコンポーネント信
号として取り扱われる。本実施例は、図2のRGB信号
符号化回路の構成例に示す様に、各カラーコンポーネン
ト信号毎に同様な回路構成からなるデータ圧縮回路を並
列に設けた構成である。図2に示すように、カメラ31
から入力される画素データは信号線51、52、53を
通してアナログ/ディジタル変換部32、33、34に
それぞれ入力され、アナログ/ディジタル変換される。 アナログ/ディジタル変換部32、33、34からの出
力は、信号線54、55、56を通して符号化回路35
、36、37へ送られ、RGBの各カラーコンポーネン
ト信号が圧縮符号化される。圧縮符号化された画像デー
タは信号線57、58、59を通して出力端子41、4
2、43へそれぞれ出力される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, one embodiment of the present invention will be described in detail with reference to the drawings. Generally, color images are RGB, YUV,
It is handled as three or four color component signals such as CMYK. In this embodiment, as shown in the configuration example of the RGB signal encoding circuit in FIG. 2, a data compression circuit having a similar circuit configuration is provided in parallel for each color component signal. As shown in FIG.
The pixel data inputted from the pixel data is inputted to analog/digital converters 32, 33, and 34 through signal lines 51, 52, and 53, respectively, and is converted into analog/digital data. Outputs from the analog/digital converters 32, 33, and 34 are sent to the encoding circuit 35 through signal lines 54, 55, and 56.
, 36, and 37, and each RGB color component signal is compressed and encoded. Compression-encoded image data is sent to output terminals 41 and 4 through signal lines 57, 58, and 59.
2 and 43, respectively.

【0013】以下に、図2のそれぞれのコンポーネント
信号毎に設けられた図1に示す符号化回路について、詳
しく説明する。
The encoding circuit shown in FIG. 1 provided for each component signal in FIG. 2 will be explained in detail below.

【0014】カメラ等の画像入力手段によって撮影され
た画像の映像信号は、アナログ/ディジタル変換された
後、信号入力端子11から入力され、信号線21を通し
て入力画像メモリ1に送られ記憶される。
A video signal of an image photographed by an image input means such as a camera is input from a signal input terminal 11 after analog/digital conversion, and is sent to the input image memory 1 through a signal line 21 and stored therein.

【0015】入力画像メモリ1は、ディジタル化された
画像の画素数に応じた、縦方向画素数M、横方向画素数
Nからなる、M行N列の2次元配列状のメモリである。 本実施例では、各画素値は、8ビットの整数値(0から
255)として記憶される。
The input image memory 1 is a memory in a two-dimensional array of M rows and N columns, with M vertical pixels and N horizontal pixels corresponding to the number of pixels of a digitized image. In this example, each pixel value is stored as an 8-bit integer value (0 to 255).

【0016】入力画像メモリ1に記憶された画像データ
は、信号線22を通して予測誤差演算部2に送られる。 予測誤差演算部2は、入力画像メモリ1から送られた画
像データの、縦方向M画素、横方向N画素の全(MxN
)画素について、特定の一画素値を近隣の画素値を用い
て予測し、両者の差、すなわち予測された画素値と実際
の画素値との予測誤差を算出する。この演算は、例えば
、当該画素の上隣と左隣の2画素を用いた場合、次の(
2)式に従い実行される。
The image data stored in the input image memory 1 is sent to the prediction error calculating section 2 through a signal line 22. The prediction error calculation unit 2 calculates all M pixels in the vertical direction and N pixels in the horizontal direction of the image data sent from the input image memory 1 (MxN
) For a pixel, predict a specific pixel value using neighboring pixel values, and calculate the difference between the two, that is, the prediction error between the predicted pixel value and the actual pixel value. For example, when using the two pixels above and to the left of the pixel, this calculation is performed using the following (
2) Executed according to the formula.

【0017】   y(m,n) =  x(m,n) −(x(m−
1,n) +x(m,n−1) )/2       
 (2)式
y(m,n) = x(m,n) −(x(m−
1, n) +x(m, n-1) )/2
(2) Formula

【0018】ここで、x(m,n) は入力
画像メモリ1内の第m番目のライン上の第n番目の画素
点における画像データを信号線22を介して予測誤差演
算部2に読み込んだもの、x(m−1,n) は入力画
像メモリ1内の第(m−1) 番目のライン上の第n番
目の画素点における画像データ(当該画素の上隣の画素
値に相当)を信号線22を介して予測誤差演算部2に読
み込んだもの、x(m,n−1) は入力画像メモリ1
内の第m番目のライン上の第(n−1) 番目の画素点
における画像データ(当該画素の左隣の画素値に相当)
を信号線22を介して予測誤差演算部2に読み込んだも
の、をそれぞれ表す。ただし、mが「ゼロ」、かつ、n
が「ゼロ」でない場合の予測誤差y(m,n) の算出
においては、上隣のデータが存在しないので、次の(3
)式に従って予測誤差を演算する。
Here, x(m, n) is the image data at the n-th pixel point on the m-th line in the input image memory 1 read into the prediction error calculation unit 2 via the signal line 22. , x(m-1,n) is the image data at the n-th pixel point on the (m-1)th line in the input image memory 1 (corresponding to the pixel value next to the above pixel). What is read into the prediction error calculation unit 2 via the signal line 22, x(m, n-1) is the input image memory 1
Image data at the (n-1)th pixel point on the mth line (corresponding to the pixel value to the left of the pixel)
are read into the prediction error calculation unit 2 via the signal line 22. However, if m is "zero" and n
When calculating the prediction error y(m,n) when is not "zero", the following (3
) Calculate the prediction error according to the formula.

【0019】   y(m,n) =  x(m,n) −x(m,n
−1)                      
       (3)式
y(m,n) = x(m,n) −x(m,n
-1)
(3) Formula

【0020】また、mが「ゼロ
」、かつ、nが「ゼロ」の場合は、予測誤差計算時の初
期値として、当該画素データの初期値x(0,0) そ
のものを予測誤差とする。
Further, when m is "zero" and n is "zero", the initial value x(0,0) of the pixel data itself is used as the initial value when calculating the prediction error.

【0021】上記の予測演算により、画素間に強い相関
を持つ自然画像の場合には、画像の種類にかかわらずほ
ぼ共通して、絶対値が「ゼロ」に近い予測誤差値ほど高
頻度で出現する。以下に説明する多値/二値変換はこの
性質を応用している。
[0021] Through the above prediction calculation, in the case of natural images in which there is a strong correlation between pixels, it is almost common that the prediction error value whose absolute value is closer to "zero" appears more frequently regardless of the type of image. do. The multi-value/binary conversion described below applies this property.

【0022】なお、上記の(2)、(3)、(4)式は
、当該画素の近隣2画素を用いた予測の一例を示してお
り、予測に利用する画素数の増減や係数値の変更により
予測精度を変更させることも可能である。
[0022] Equations (2), (3), and (4) above show an example of prediction using two neighboring pixels of the pixel in question, and the number of pixels used for prediction or the coefficient value can be increased or decreased. It is also possible to change the prediction accuracy by making changes.

【0023】多値/二値変換部3は、予測誤差演算部2
から予測誤差データを信号線23を介して読み込み、多
値/二値変換部に格納された、図3に示すような後述す
る多値/二値変換テーブルを用いて、図3の‘多値’欄
に示されるような予測誤差データに対応する、‘二値符
号’欄に示されるような二値符号を出力する。
[0023] The multi-value/binary conversion unit 3 includes the prediction error calculation unit 2
3 through the signal line 23, and using a multi-value/binary conversion table, which will be described later and shown in FIG. A binary code as shown in the 'Binary code' column is output, which corresponds to the prediction error data as shown in the 'Binary code' column.

【0024】多値/二値変換テーブルは、図3に示すよ
うに、一連の‘多値’とそれに対応する‘二値符号’の
組み合せからなる。本実施例においては、各画素値は8
ビットであり、その予測誤差も8ビットで表現できるこ
とから、多値/二値変換テーブルは256個の要素から
構成される。本テーブルは、‘多値’欄に相当する予測
誤差データに対応する、‘二値符号’欄に相当する二値
符号を定義するものである。多値/二値変換テーブルは
、頻繁に生起する予測誤差データほど、‘エントロピー
’欄に相当するエントロピーが低いエントロピーレート
となる二値符号が対応するよう作成されている。なお、
エントロピーは次の式により定義される。ここでPi 
はiの発生確率である。
The multivalue/binary conversion table, as shown in FIG. 3, consists of a series of combinations of 'multivalues' and corresponding 'binary codes'. In this example, each pixel value is 8
Since the prediction error can also be expressed in 8 bits, the multi-value/binary conversion table is composed of 256 elements. This table defines the binary code corresponding to the 'binary code' column, which corresponds to the prediction error data corresponding to the 'multi-value' column. The multi-value/binary conversion table is created such that the more frequently occurring prediction error data is associated with a binary code having a lower entropy rate, the entropy corresponding to the 'entropy' column. In addition,
Entropy is defined by the following formula. Here Pi
is the probability of occurrence of i.

【0025】[0025]

【数1】[Math 1]

【0026】本実施例では、最も頻出する予測誤差(多
値)は「ゼロ」であり、これに「0000 0000 
」で表される二値符号が与えられている。以下、2番目
に生起確率の高い予測誤差値「1」と「−1」にそれぞ
れ、「0000 0001 」と「0000 0010
 」が与えられ、同様にして、順次符号を割り当てるこ
とにより、変換テーブルが作成されている。
In this embodiment, the most frequently occurring prediction error (multi-value) is "zero", and "0000 0000
” is given. Below, the prediction error values "1" and "-1" with the second highest probability of occurrence are "0000 0001" and "0000 0010," respectively.
'' is given, and a conversion table is created by sequentially assigning codes in the same way.

【0027】本変換により、頻出する多値に低エントロ
ピーレートの固定長二値符号が一意に対応づけられる。 その結果、画像情報を変換して得られた二値符号全体の
エントロピーレートが下がり、算術符号化による圧縮効
率が向上する。
By this conversion, a fixed length binary code with a low entropy rate is uniquely associated with a frequently occurring multi-value. As a result, the entropy rate of the entire binary code obtained by converting image information is reduced, and the compression efficiency by arithmetic coding is improved.

【0028】算術符号化部4は、多値/二値変換部から
二値符号データ系列を信号線24を通して逐次読み込み
、後述する算術符号化アルゴリズムに従って、データの
圧縮(エントロピー符号化)演算を行う。
[0028] The arithmetic encoding unit 4 sequentially reads the binary code data series from the multilevel/binary conversion unit through the signal line 24, and performs data compression (entropy encoding) operation according to the arithmetic encoding algorithm described later. .

【0029】算術符号化演算は、例えば、文献「画像符
号化アルゴリズム(エントロピー符号化)」(加藤茂夫
著、テレビジョン学会誌、1989年12月号第57ペ
ージより第65ページ)に記載のL−R型算術符号化ア
ルゴリズムによる。
[0029] Arithmetic coding operations can be performed using, for example, the L - By R-type arithmetic coding algorithm.

【0030】算術符号化部4で算術符号化された符号化
データは、信号線25を通して出力端子12へ出力され
る。
The encoded data arithmetic encoded by the arithmetic encoder 4 is output to the output terminal 12 through the signal line 25.

【0031】以上の説明は、符号化(データ圧縮)回路
の説明である。一方、画像の復号(元のデータの再現)
においては、上記圧縮符号化の各演算を逆の順に行う。
The above description is of the encoding (data compression) circuit. On the other hand, decoding the image (reproducing the original data)
In the above, each compression encoding operation is performed in the reverse order.

【0032】まず符号化された符号化データ系列を、算
術復号回路に入力し、算術復号演算を行い、二値符号デ
ータ系列を得る。この算術復号演算は、例えば、文献「
画像符号化アルゴリズム(エントロピー符号化)」(加
藤茂夫著、テレビジョン学会誌、1989年12月号第
64ページ)に記載のL−R型算術復号アルゴリズムを
用いる。
First, the coded data sequence is input to an arithmetic decoding circuit, and an arithmetic decoding operation is performed to obtain a binary code data sequence. This arithmetic decoding operation is described, for example, in the literature “
The LR type arithmetic decoding algorithm described in "Image Coding Algorithm (Entropy Coding)" (written by Shigeo Kato, Journal of the Television Society, December 1989 issue, page 64) is used.

【0033】次に、図3のテーブルを符号化演算時とは
逆に用いて、当該二値符号データ系列(図3の‘二値符
号’欄に相当)に対応する予測誤差データ(図3の‘多
値’欄に相当)を求める二値/多値変換演算を行う。
Next, by using the table in FIG. 3 in the opposite way to the encoding calculation, the prediction error data (FIG. 3) corresponding to the binary code data series (corresponding to the 'binary code' column in FIG. (equivalent to the 'multi-value' column).

【0034】最後に、このように復号された予測誤差か
ら、画素値を復元する。第mライン上の第n番目の画素
値x(m,n) は、(2)式の逆演算により、予測誤
差y(m,n)と、すでに復号化済みの画素値x(m−
1,n) およびx(m,n−1) を用いて、次の(
5)式に示す演算により求められる。
Finally, pixel values are restored from the prediction errors decoded in this way. The nth pixel value x(m,n) on the mth line is calculated by the inverse operation of equation (2), and the prediction error y(m,n) and the already decoded pixel value x(m-
1, n) and x(m, n-1), the following (
5) It is obtained by the calculation shown in the formula.

【0035】   x(m,n) =  y(m,n) +(x(m−
1,n) +x(m,n−1) )/2       
 (5)式
x(m,n) = y(m,n) +(x(m-
1, n) +x(m, n-1) )/2
(5) Formula

【0036】ここで、mが「ゼロ」の場合の
画素値x(m,n) は、上隣の復号済みデータが存在
しないので、次の(6)式に従って演算する。
Here, the pixel value x(m,n) when m is "zero" is calculated according to the following equation (6) since there is no decoded data adjacent above.

【0037】   x(m,n) =  y(m,n) +x(m,n
−1)                      
       (6)式
x(m,n) = y(m,n) +x(m,n
-1)
(6) Formula

【0038】また、nが「ゼロ
」の場合の画素値x(m,n) は、左隣の復号済みデ
ータが存在しないので、次の(7)式に従って演算する
Furthermore, when n is "zero", the pixel value x(m, n) is calculated according to the following equation (7) since there is no decoded data on the left.

【0039】   x(m,n) =  y(m,n) +x(m−1
,n)                      
       (7)式
x(m,n) = y(m,n) +x(m−1
, n)
(7) Formula

【0040】また、全画面の左
上端の画素位置、すなわち、nが「ゼロ」、かつ、mが
「ゼロ」の場合の画素値x(m,n) は、当該画素の
予測誤差値データの初期値y(0,0) そのものを画
素値とする。
[0040] Furthermore, the pixel position at the upper left end of the entire screen, that is, the pixel value x (m, n) when n is "zero" and m is "zero", is the pixel value x (m, n) of the prediction error value data of the relevant pixel. Let the initial value y(0,0) itself be the pixel value.

【0041】[0041]

【発明の効果】本発明は以上述べたような構成となって
いるため、以下に記載されるような効果を発揮する。画
像信号の各画素位置における信号値を予測して実際の信
号値との差、すなわち予測誤差値を求め、次に、予測誤
差値の出現頻度の高い順にエントロピレートが低くなる
ような順番に定めた固定長コードからなる変換表によっ
て当該予測誤差を二値データの配列に変換し、当該二値
データ配列を算術符号化によりデータ圧縮する。したが
って、算術符号化部による圧縮効果を高めることが可能
となる。また、多値/二値変換は簡単なテーブル参照処
理のみで済み、しかも固定長処理となるため、回路の簡
略化・処理の高速化が可能となる。
[Effects of the Invention] Since the present invention has the structure as described above, it exhibits the effects as described below. The signal value at each pixel position of the image signal is predicted and the difference from the actual signal value, that is, the prediction error value, is calculated. Next, the prediction error values are determined in order of decreasing entropy rate in descending order of appearance frequency. The prediction error is converted into a binary data array using a conversion table consisting of fixed length codes, and the binary data array is data compressed by arithmetic coding. Therefore, it is possible to enhance the compression effect by the arithmetic encoding section. Furthermore, since multivalue/binary conversion requires only simple table reference processing and fixed length processing, it is possible to simplify the circuit and speed up the processing.

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

【図1】本発明のカラー画像符号化装置によるデータ圧
縮回路の概略構成図である。
FIG. 1 is a schematic configuration diagram of a data compression circuit according to a color image encoding device of the present invention.

【図2】本発明のカラー画像符号化装置の全体の構成を
示す図である。
FIG. 2 is a diagram showing the overall configuration of a color image encoding device according to the present invention.

【図3】図1の多値/二値変換部に格納される多値デー
タから二値符号データへの変換テーブルを示す図である
FIG. 3 is a diagram showing a conversion table from multi-value data to binary code data stored in the multi-value/binary conversion unit of FIG. 1;

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

1  入力画像メモリ 2  予測誤差演算部 3  多値/二値変換部 4  算術符号化演算部 11  入力端子 12  出力端子 31  カメラ 32、33、34  アナログディジタル変換部35、
36、37  符号化回路 41、42、43  出力端子
1 Input image memory 2 Prediction error calculation unit 3 Multi-value/binary conversion unit 4 Arithmetic coding calculation unit 11 Input terminal 12 Output terminal 31 Cameras 32, 33, 34 Analog-digital conversion unit 35,
36, 37 Encoding circuit 41, 42, 43 Output terminal

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】  入力されるディジタルカラー画像信号
を圧縮符号化するカラー画像信号の符号化方法において
、該方法は、前記画像信号の各画素位置における信号値
を予測して各画素位置における信号値と予測された信号
値との間の予測誤差値を求め、前記予測誤差値を、その
発生頻度に応じて固定長の二値データに変換し、前記変
換された二値データを算術符号化することによりデータ
圧縮することを特徴とするカラー画像信号の符号化方法
1. A color image signal encoding method for compressing and encoding an input digital color image signal, the method comprises predicting a signal value at each pixel position of the image signal and calculating the signal value at each pixel position. and the predicted signal value, convert the prediction error value into fixed-length binary data according to its frequency of occurrence, and arithmetic encode the converted binary data. A method for encoding a color image signal, characterized in that data is compressed by compressing the data.
【請求項2】  前記予測誤差値の前記固定長の二値デ
ータへの変換は、高頻度で発生する前記予測誤差値ほど
、エントロピーレートの低い二値コードを対応させるこ
とを特徴とする請求項1に記載のカラー画像信号の符号
化方法。
2. The conversion of the prediction error value into the fixed length binary data is characterized in that the prediction error value that occurs more frequently is associated with a binary code having a lower entropy rate. 1. The method for encoding a color image signal according to 1.
【請求項3】  入力されるディジタルカラー画像信号
を圧縮符号化するカラー画像信号の符号化装置において
、該装置は、前記画像信号の各画素位置における信号値
を予測して各画素位置における信号値と予測された信号
値との間の予測誤差値を求める予測誤差演算手段と、前
記予測誤差演算手段により求められた予測誤差値を、そ
の発生頻度に応じて固定長の二値データに変換する二値
データ変換手段と、前記二値データ変換手段により変換
された前記二値データを算術符号化することによりデー
タ圧縮する符号化手段とを有することを特徴とするカラ
ー画像信号の符号化装置。
3. A color image signal encoding device for compressing and encoding an input digital color image signal, the device predicting a signal value at each pixel position of the image signal and calculating the signal value at each pixel position. and a prediction error calculation means for calculating a prediction error value between the predicted signal value and the predicted signal value, and converting the prediction error value calculated by the prediction error calculation means into fixed-length binary data according to the frequency of occurrence thereof. A color image signal encoding device comprising: binary data converting means; and encoding means for compressing data by arithmetic coding the binary data converted by the binary data converting means.
【請求項4】  前記二値データ変換手段は、高頻度で
発生する前記予測誤差値ほど、エントロピーレートの低
い二値コードを対応させることを特徴とする請求項3に
記載のカラー画像信号の符号化装置。
4. The code of the color image signal according to claim 3, wherein the binary data conversion means associates a binary code with a lower entropy rate with the prediction error value that occurs more frequently. conversion device.
JP3083474A 1991-03-22 1991-03-22 Method and device for encoding color image signal Withdrawn JPH04294685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3083474A JPH04294685A (en) 1991-03-22 1991-03-22 Method and device for encoding color image signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3083474A JPH04294685A (en) 1991-03-22 1991-03-22 Method and device for encoding color image signal

Publications (1)

Publication Number Publication Date
JPH04294685A true JPH04294685A (en) 1992-10-19

Family

ID=13803466

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3083474A Withdrawn JPH04294685A (en) 1991-03-22 1991-03-22 Method and device for encoding color image signal

Country Status (1)

Country Link
JP (1) JPH04294685A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9255013B2 (en) 2012-03-19 2016-02-09 Sumitomo Metal Mining Co., Ltd. Method for producing hematite for ironmaking
US9828256B2 (en) 2013-03-26 2017-11-28 Sumitomo Metal Mining Co., Ltd. Method for producing hematite for ironmaking

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9255013B2 (en) 2012-03-19 2016-02-09 Sumitomo Metal Mining Co., Ltd. Method for producing hematite for ironmaking
US9828256B2 (en) 2013-03-26 2017-11-28 Sumitomo Metal Mining Co., Ltd. Method for producing hematite for ironmaking

Similar Documents

Publication Publication Date Title
US4454546A (en) Band compression device for shaded image
JP4493215B2 (en) Image compression using directional prediction coding method of wavelet coefficients
EP0696873A2 (en) Method and apparatus for conversion of compressed bit stream representation of video signal
CN103918186A (en) Context adaptive data encoding
KR100683380B1 (en) Method and apparatus for transformation and inverse transformation of image for image compression coding
US6396955B1 (en) Image compression and expansion device
US20040006582A1 (en) Digital image coding device and method
EP0283798A2 (en) Compression and decompression of column-interlaced, row-interlaced graylevel digital images
JPH04282780A (en) Hierarchical coding system for false gradation image
JPH07143488A (en) Method and device for decoding image data
US7450769B2 (en) Image processing method for facilitating data transmission
US7218786B2 (en) Method of compressing and decompressing images
US20090304073A1 (en) Systems and Methods for the Bandwidth Efficient Processing of Data
JPH04294685A (en) Method and device for encoding color image signal
JPH1175183A (en) Image signal processing method and device and storage medium
JPS63164575A (en) Encoding system for image data
JPH02122767A (en) Encoding/decoding system for picture signal
JPH08275153A (en) Image compressor and image decoder
JPH0310486A (en) Moving picture encoder
JPH04269084A (en) Image converter
JP3359214B2 (en) Multi-level image coding device
KR100495001B1 (en) Image compression encoding method and system
JPH09121286A (en) Method and device for compressing picture data
JPH0437367A (en) Data compression control method
JPS63296564A (en) Bit plane predicting coding method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514