Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2940913B2 - Color image data encoding device - Google Patents
[go: Go Back, main page]

JP2940913B2 - Color image data encoding device - Google Patents

Color image data encoding device

Info

Publication number
JP2940913B2
JP2940913B2 JP62015943A JP1594387A JP2940913B2 JP 2940913 B2 JP2940913 B2 JP 2940913B2 JP 62015943 A JP62015943 A JP 62015943A JP 1594387 A JP1594387 A JP 1594387A JP 2940913 B2 JP2940913 B2 JP 2940913B2
Authority
JP
Japan
Prior art keywords
information
color
brightness
conversion
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP62015943A
Other languages
Japanese (ja)
Other versions
JPS63185167A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP62015943A priority Critical patent/JP2940913B2/en
Publication of JPS63185167A publication Critical patent/JPS63185167A/en
Priority to US07/342,583 priority patent/US4887151A/en
Application granted granted Critical
Publication of JP2940913B2 publication Critical patent/JP2940913B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はカラー画像データの符号化装置に関する。 [従来の技術] 従来より、画像の伝送若しくは蓄積の際に、その効率
を考慮して、符号化により冗長度を圧縮抑圧するのが一
般的である。白黒及び2値画像は勿論のこと、カラー画
像等も情報量が膨大となり、その符号化は必須となる。
特に、カラー画像の場合は情報量も多いから効率的な符
号化法の実現が望まれている。 [発明が解決しようとする問題点] しかしながら、従来各々の色成分データが多値で表さ
れるカラー画像データを効率良く符号化する方法は未だ
確立されていなかった。 本発明は上記問題点を解決するためになされたもので
あり、その目的は、カラー画像の複数成分の、効率的な
符号化と符号化画像の画質の維持の両立を目的とする。 [問題点を解決するための手段] 上記課題を達成するために本発明のカラー画像データ
符号化装置は、 カラー画像データをブロックに分割する分割手段と、 該ブロック中から、明度に関連する明度情報と、色に
関連する色情報と、を抽出する第1の抽出手段と、 前記明度情報を直交変換することにより、該ブロック
内の平均明度情報と該ブロック内の明度の構造情報とを
抽出すると共に、前記色情報から該ブロック内の平均色
情報を抽出する第2の抽出手段と、 量子化により情報量の圧縮を行う量子化手段であっ
て、前記抽出された平均明度情報と構造情報と平均色情
報とを、平均明度情報についての量子化率>平均色情報
についての量子化率>明度の構造情報についての量子化
率という設定で量子化する量子化手段とを具備したこと
を特徴とする。 [実施例] 以下添付図面を参照しつつ本発明に係る実施例を詳細
に説明する。 〈実施例の原理〉 RGB表色系によるカラー情報は、RGB信号間の相関が強
いために、R,G,B夫々単独で圧縮符号化すると欠落する
情報が多くなるという性質を有する。そのため、RGB信
号系は圧縮符号化には向かない。そこで、本実施例で
は、RGB3原色系のカラー画像データを信号間相関のより
少ない表色系に変換し、この新たな表色系のカラー画像
データを、小ブロツクに切出す。そして、第2図に示し
た如く、このブロツク毎に圧縮符号化するものである。
第2図中、Lはブロツク内の明度に関する明度情報を、
Sはブロツク内におけるエツジ等の構造に関する構造情
報を、Cはブロツク内の色に関する色情報を表わす。こ
のように、RGB表色系のカラー画像データから、明度情
報,構造情報,色情報を抽出して符号化することによ
り、高能率の圧縮符号化が達成される。 更に、上記のように符号化処理されたカラー画像デー
タを変換処理する場合、例えば、明度のみを変換する場
合は第3図のように明度情報部分のみを変換処理すれば
よく、又、色変換する場合は第4図のように色情報部分
のみを変換すればよいことになり、前述した従来の欠点
は解消する。 さて、信号間相関の少ない表色系として、以下説明す
る実施例では、CIE1976均等色空間のL表色
系を採用する。 〈RGB→Lへ変換〉 第5図(a)〜(b)は、対象画像におけるRGB系→
系への変換及び4×4ブロツクの切り出し
の様子を示している。201は原稿、原稿201中には「A」
の文字が描かれている。202はブロツクであり、原稿の
隅から順に4×4サイズで切り出されて行く。203は、
前記文字「A」上にかかつたブロツクの1つであり、エ
ツヂ部が含まれた場合を示す。 第5図(b)はブロツク203のRGB別のカラー画像デー
タの分布を示し、特にブロツク203の文字が赤文字であ
つた場合を示す。その場合のRGB3原色は、図の様にな
り、Rにだけエツジが現われる。第5図(c)は第5図
(b)に示したRGB信号をLに変換した場合
を示す。図中、L0〜LF等はブロツク中のL成分を示
す。尚、添字中の等は便宜的に10〜15を表わす。 ここで、RGBからL信号に変換する変換式
を以下に示す。 X=XrR+XgG+XbB Y=YrR+YgG+YbB Z=ZrR+ZgG+ZbB 但し、Xr,Xg,Xb,Yr,Yg,Yb,Zb等は定数である。 これより、 L=116・(Y/Y01/3−16 a=500・(X/X01/3−(Y/Y01/3=200・(Y/Y01/3−(Z/Z01/3 但し、X0,Y0,Z0は基準白色光の値であり、Y/Y0>0.00
8856とする。 〈Lの圧縮符号化〉 L系は信号間相関の少ない事は述べた。こ
のL系から第2図に示したような符号化には
直交変換、特にHadamard変換、離散的COS変換が適して
いる。即ち、Lは明度情報の他に構造情報も含んでい
るから、上記直交変換を施せば、Lから明度情報成分
と構造情報成分が抽出される。以下の実施例では、これ
らの直交変換のうち、2次のHadamard変換を用いる。一
般的な2次Hadamard変換は、 {F}=(1/m・n)1/2{H}{L}{HT} で表わされる。ここで、 {L}:m×nの元マトリクス {H}:Hadamardマトリクス {HT}:{H}の転置行列 {F}:m×nの変換後のマトリクス である。 ここで、として、{L}を前述のL系のLとすれ
ば、{F}は{L}からHadamard変換して得た、明度情
報,構造情報抽出された画像データを表わことになる。
この場合、(1/mn)1/2=4となる。又、便宜上、
{L}{F}をベクトル表示で行なえば、上式は、 但し、i=0〜15(即ち、)で、Hijは16×16Had
amardマトリクスを表わす。従つて、上式は となる。尚、Hadamardマトリクス中の+は1を、−は−
1を表わす。 上式からも分かるようにF0はブロツク内の平均明度、
即ち、ブロツクの明度情報を表わす。又、F0以外のF
i(i=1〜F)によりブロツクに含まれるエツジ等の
構造情報を表わす。 〈符号化回路の実施例〉 第1図は本発明に係る符号化の実施例を示している。
301は入力されたRGB信号をブロツク切り出しの為に一時
蓄える4ラインのバツフアである。即ち、一旦蓄えられ
た4ライン分の信号を、4×4のサイズで読み出す事に
より、ブロツク切り出しを行う。302は、RGB→L
変換を行う回路であり、先に示した変換式に基づき
変換される。その具体例を示したのが第6図の回路であ
り、変換は第6図の401,402,403のルツクアツプテーブ
ル方式により実現可能である。303は、L
換部302からのL出力であり、第5図(c)に示した
のブロツクL0,L1,…,LFの順に出力される信号であ
る。 第1図の304は直交変換部であり、直交変換としてHad
amard変換を行う場合の具体的回路を第7図に示す。第
7図において、410はマトリクス演算を行う際の行方向
のアドレスを発生するHadamardマトリクスアドレス発生
器であり、上記マトリクス演算を行うために、入力のLi
に同期して、Hijを出力する。411等は入力LiにHadamard
行列の係数を乗算して出力するルツクアツプテーブル
(LUT)であり、上記マトリクス演算を行うために、Had
amardマトリクスアドレス発生器410が入力のLiに同期し
てルツクアツプテーブルをアドレスすると、ルツクアツ
プテーブルでは、Hadamard係数が出力されると共に、Li
とHadamard係数の乗算が行われる。412は累積加算を行
う加算器であり、例えば加算器411では、L0+L1+L2
…+LFが演算される。413は1/4除算器である。以下、41
5〜418は同様であり、計16組存在する。即ち、Fi毎に存
在し、以下の様な演算が実行される。 第1図中、305は上記のF0を示し、これは前述したよ
うにブロツクの明度を代表する係数である。307はこれ
を量子化する量子化器で、F0の10ビツトを8ビツトに量
子化し、L(明度情報」308を出力する。この量子化に
より、最大210個の状態数の明度情報は、最大28個の状
態数に圧縮される。以下、本明細書では、量子化前後に
おけるデータの取り得る状態数の比を量子化率と呼ぶ。 306はF0以外のF1〜FFの係数であり、これは前述した
ようにブロツクに含まれるエツヂの構造を代表する係数
であり、量子化器309により12ビツトにコード化され
る。即ち、構造情報(S)として事前に定めた4096種の
パターンに丸められる事となる。 第1図の311,312は各々L変換器302の出力
であるa,bの夫々についてブロツク平均をとる平均
回路であり、加算器と除算器で構成される。313は、a
のブロツク平均値をまとめて量子化する量子化器
であり、12ビツトの色情報(C)に量子化する。尚、30
7,309,313のいずれの量子化器も通常、ベクトル量子化
器で構成されれば効率が良いことが知られている。 第1図の315は、これまで説明したL(明度)308、S
(構造)310、C(色情報)314を一つの符号にまとめる
マルチプレクサである。316はこれの出力信号、即ち、
第2図に示した符号化コードである。これが、伝送路、
又は蓄積器に送られる事になる。そして、このように符
号化されたカラー画像データは高能率に圧縮されたもの
であると同様に、次に述べるデータ変換に対しても、デ
ータ変換が簡単になる等、その特長を大いに発揮する。 〈データ変換=復号化〉 第3図,第4図に関連して説明したように、第2図の
ように符号化されたカラー画像データは、明度変換又は
色変換に好都合である。先ず明度変換について説明す
る。 〈明度変換〉 第8図中、320は伝送路又は蓄積器、321はマルチプレ
クサ315と逆の作用を施すDMUXである。即ち、シリアル
の明度情報,構造情報等をパラレルに変換する。322は
明度変換を行う変換部、明度変換部322に入力する323
は、明度変換の度合を入力するもので、8ビツトの制御
量である。第9図に明度変換部322をルツクアツプテー
ブル(LUT)で構成した場合の回路例を示す。この明度
変換が行われると、LからL′となる。第10図は8ビツ
トの明度変換量323の一例であり、この場合のとり得る
値の範囲は0〜255である。全部で256段階の用るさに変
化でき、128が変化無しのデフオルト値である。 第8図の325は直交逆変換器であり、符号時に使用し
た第1図の直交変換器304と同じハードで構成可能なも
のである。又、326はS(構造情報)の復号用、327はそ
の出力、328,329は各々a復号用、330,331,332は
各々復号されたL信号であり、333,335,337
は各々R′,G′,B′復号の為の、334,336,338は復号さ
れたR′,G′,B′の出力ラインである。このようにし
て、明度の変換が簡単に行われる。 〈色変換〉 第11図はC(色情報)のデータ形式を表わしており、
C(色情報)は、a−b空間で、色相(θ)と彩度
(h)により表わされる。色相hと彩度θとの関係は第
12図(a)のごときである。第12図(c)は、a−b
空間上での分割の様子を示しており、501で示す様な
各格子点が、第1図の量子化回路313により代表色とし
て選択される。 第13図に、色変換を行つて復号化を行う変換復号化回
路の実施例を示す。第8図の明度変換を行う回路と異な
る部分は明度変換部322の代りに、色データ変換部100が
具備されていることである。どのように色データを変換
するかを指示する量は色変換量制御線101により色デー
タ変換部100に入力される。色変換された色情報はC′
となる。第14図に色データ変換部100をルツクアツプテ
ーブルにて構成した場合の回路例を示す。 次に色の変換方法であるが、第15図(a)(b)に示
す様に行われる。尚、変換量データの内分けは8ビツト
の内、上記4ビツトで色相θを、下位4ビツトで彩度h
の変化量を与える。 〈変形例〉 以上説明してきた実施例では、Lで示した
が、L、又はNTSC方式のYIQ,PAL、又はYUV等
でも対応可能である。 また、直交変換はHadamard変換で示したが、離散的CO
S変換、又はスラント変換等でも可能である。 また量子化器はベクトル量子化と記したが、特に限定
はしない。尚、明度情報L,構造情報S,色情報Cのビツト
配分も、前述の実施例に示したものに限らない。 また入力信号はRGBに限らず、センサによつてはYGC等
の入力も考えられる。 又、第1図中、aは平均値で代表するようにし
たが、もつと詳細に保存しても良い。又、実施例中、C
(色情報)の表わし方は、色相+彩度で示したが、この
限りではない。 [発明の効果] 以上説明したように本発明によれば、カラー画像デー
タを明度、構造、色の情報に分割して符号化するので効
率の良い符号化を行うことができる。その一方、これら
複数の情報(明度情報と構造情報と色情報)を量子化す
る際の量子化率を、明度情報>色情報>構造情報の順と
なるようにしたので、画質の劣化をできるだけ抑えた効
率の良い符号化を行うことができる。即ち、圧縮の効率
化と画質維持とを両立させることができる。
Description: TECHNICAL FIELD The present invention relates to an apparatus for encoding color image data. [Prior Art] Conventionally, when transmitting or storing an image, it is common to suppress the redundancy by encoding in consideration of the efficiency. Not only black and white and binary images, but also color images and the like have an enormous amount of information, and their encoding is essential.
Particularly, in the case of a color image, since the amount of information is large, it is desired to realize an efficient encoding method. [Problems to be Solved by the Invention] However, a method of efficiently encoding color image data in which each color component data is represented by a multi-value has not been established yet. The present invention has been made to solve the above problems, and an object thereof is to achieve both efficient encoding of a plurality of components of a color image and maintenance of the image quality of the encoded image. [Means for Solving the Problems] In order to achieve the above object, a color image data encoding apparatus according to the present invention comprises: a division unit for dividing color image data into blocks; First extraction means for extracting information and color information related to a color; and extracting the average brightness information in the block and the structure information of the brightness in the block by orthogonally transforming the brightness information. A second extraction unit for extracting average color information in the block from the color information; and a quantization unit for compressing an information amount by quantization, wherein the extracted average brightness information and structure information are extracted. And quantization means for quantizing the average color information and the average color information in a setting of a quantization rate for the average brightness information> a quantization rate for the average color information> a quantization rate for the structure information of the brightness. And butterflies. Embodiment An embodiment according to the present invention will be described below in detail with reference to the accompanying drawings. <Principle of the embodiment> Since color information in the RGB color system has a strong correlation between RGB signals, there is a property that a large amount of information is lost when R, G, and B are individually compression-coded. Therefore, the RGB signal system is not suitable for compression coding. Therefore, in the present embodiment, the RGB primary color system color image data is converted into a color system having less correlation between signals, and this new color system color image data is cut out into small blocks. Then, as shown in FIG. 2, compression encoding is performed for each block.
In FIG. 2, L represents lightness information on the lightness in the block,
S represents structural information on a structure such as an edge in the block, and C represents color information on a color in the block. As described above, by extracting and encoding brightness information, structure information, and color information from color image data of the RGB color system, highly efficient compression encoding is achieved. Further, when the color image data encoded as described above is converted, for example, when only the brightness is converted, only the brightness information portion needs to be converted as shown in FIG. In this case, only the color information portion needs to be converted as shown in FIG. 4, and the above-mentioned conventional disadvantage is solved. By the way, in the embodiment described below, the L * a * b * color system of the CIE1976 uniform color space is adopted as the color system with little correlation between signals. <RGB → Conversion to L * a * b * > FIGS. 5 (a) and 5 (b) show the RGB system in the target image.
The conversion to the L * a * b * system and the cutting out of 4 × 4 blocks are shown. 201 is a manuscript, "A" is in manuscript 201
Is drawn. Reference numeral 202 denotes a block which is cut out in a 4 × 4 size in order from the corner of the document. 203 is
This is one of the blocks on the character "A", and indicates a case where an ending part is included. FIG. 5B shows the distribution of color image data for each RGB of the block 203, and particularly shows a case where the character of the block 203 is a red character. In this case, the RGB primary colors are as shown in the figure, and an edge appears only in R. FIG. 5C shows a case where the RGB signals shown in FIG. 5B are converted into L * a * b * . In the figure, L 0 ~L F, etc. are shown, the L * component in block. The letters A to F in the suffix represent 10 to 15 for convenience. Here, a conversion formula for converting RGB into an L * a * b * signal is shown below. X = X r R + X g G + X b B Y = Y r R + Y g G + Y b B Z = Z r R + Z g G + Z b B where, X r, X g, X b, Y r, Y g, Y b, Z b , etc. Is a constant. From this, L * = 116 · (Y / Y 0 ) 1/3 −16 a * = 500 · (X / X 0 ) 1/3 − (Y / Y 0 ) 1/3 b * = 200 · (Y / Y 0 ) 1/3 − (Z / Z 0 ) 1/3 where X 0 , Y 0 , and Z 0 are values of reference white light, and Y / Y 0 > 0.00
8856. <L * compression encoding> L * a * b * system said that less inter-signal correlation. From the L * a * b * system, an orthogonal transform, particularly a Hadamard transform and a discrete COS transform are suitable for encoding as shown in FIG. That is, since L * includes structural information in addition to brightness information, if the above orthogonal transformation is performed, a brightness information component and a structural information component are extracted from L * . In the following embodiment, a quadratic Hadamard transform is used among these orthogonal transforms. A general second-order Hadamard transform is represented by {F} = (1 / m · n) 1/2 {H} L {H T }. Here, {L}: an original matrix of m × n, {H}: Hadamard matrix, {H T }: transposed matrix of {H}, and a transformed matrix of {F}: m × n. here, As, when the {L} aforementioned L * a * b * system of L * a, {F} was obtained by Hadamard converting from {L}, brightness information, the image data extracted structure information table Will be.
In this case, (1 / mn) 1/2 = 4. Also, for convenience,
If {L} {F} is expressed in vector, the above equation becomes However, i = 0 to 15 (i.e., 0 ~ F) in, H ij is 16 × 16Had
Represents an amard matrix. Therefore, the above equation is Becomes In the Hadamard matrix, + represents 1 and-represents-.
Represents 1. As can be seen from the above equation, F 0 is the average lightness in the block,
That is, it represents the brightness information of the block. Also, F other than F 0
i (i = 1 to F) represents structural information such as an edge included in the block. <Embodiment of Encoding Circuit> FIG. 1 shows an embodiment of encoding according to the present invention.
Reference numeral 301 denotes a 4-line buffer for temporarily storing an input RGB signal for block extraction. In other words, block signals are extracted by reading out the stored signals for four lines in a 4 × 4 size. 302 is RGB → L * a *
b * A circuit that performs conversion, and is converted based on the above-described conversion formula. A specific example is shown in the circuit of FIG. 6, and the conversion can be realized by the look-up table method of 401, 402, 403 in FIG. 303 is an L * output from the L * a * b * conversion unit 302, block L 0 of L * as shown in FIG. 5 (c), L 1, ... , a signal is output in the order of L F is there. In FIG. 1, reference numeral 304 denotes an orthogonal transform unit, which has Had as an orthogonal transform.
FIG. 7 shows a specific circuit for performing amard conversion. In Figure 7, 410 is a Hadamard matrix address generator for generating a row address when performing matrix operation, in order to perform the matrix operation, the input L i
Hij is output in synchronization with. Hadamard to the input L i is 411, etc.
This is a lookup table (LUT) that multiplies the matrix coefficients and outputs the result.
When the amard matrix address generator 410 addresses the look-up table in synchronization with the input L i , the look-up table outputs Hadamard coefficients and outputs L i
And Hadamard coefficients are multiplied. An adder 412 performs cumulative addition. For example, in the adder 411, L 0 + L 1 + L 2 +
... + L F is calculated. 413 is a 1/4 divider. Below, 41
5 to 418 are the same, and there are a total of 16 pairs. That is, present in each F i, following such operations are performed. In FIG. 1, 305 denotes the F 0 above, this is a factor that represents the brightness of blocks, as described above. 307 is a quantizer for quantizing which quantizes the 10 bits of the F 0 to 8 bits, and outputs the L (lightness information "308. This quantization, brightness information of the maximum 2 number 10 states , is compressed to a maximum 2 number eight states. hereinafter, in this specification, referred to as the ratio of the number of possible states of the data before and after the quantization with the quantization index. 306 F 0 non F 1 to F F This is a coefficient representing the structure of the edge included in the block, as described above, and is coded into 12 bits by the quantizer 309. That is, the coefficient is predetermined as the structure information (S). In Fig. 1, reference numerals 311 and 312 denote averaging circuits for calculating block averages of a * and b * output from the L * a * b * converter 302, respectively. 313 is a
This is a quantizer that quantizes the block average value of * b * collectively, and quantizes it to 12-bit color information (C). In addition, 30
It is known that the efficiency of any of the quantizers 7,309,313 is generally higher if it is constituted by a vector quantizer. 315 of FIG. 1 is L (lightness) 308, S
(Structure) 310, a multiplexer that combines C (color information) 314 into one code. 316 is the output signal of this, that is,
This is the encoded code shown in FIG. This is the transmission path,
Or it will be sent to a storage. The color image data coded in this way has the same advantages as the data compressed in a highly efficient manner, as well as the data conversion described below. . <Data Conversion = Decoding> As described with reference to FIGS. 3 and 4, color image data encoded as shown in FIG. 2 is convenient for brightness conversion or color conversion. First, the brightness conversion will be described. <Brightness Conversion> In FIG. 8, reference numeral 320 denotes a transmission line or a storage, and 321 denotes a DMUX which performs the reverse operation of the multiplexer 315. That is, serial brightness information, structure information, and the like are converted into parallel. Reference numeral 322 denotes a conversion unit for performing brightness conversion, and 323 to be input to the brightness conversion unit 322.
Is used to input the degree of brightness conversion, and is a control amount of 8 bits. FIG. 9 shows an example of a circuit in the case where the brightness conversion section 322 is configured by a look-up table (LUT). When this lightness conversion is performed, L changes to L '. FIG. 10 shows an example of an 8-bit lightness conversion amount 323. In this case, the range of possible values is 0 to 255. The total value can be changed to 256 levels, and 128 is the default value without change. Reference numeral 325 in FIG. 8 denotes an orthogonal inverse transformer, which can be configured with the same hardware as the orthogonal transformer 304 in FIG. 1 used at the time of encoding. 326 is for decoding S (structure information), 327 is its output, 328 and 329 are for a * b * decoding, 330,331 and 332 are respectively decoded L * a * b * signals, and 333,335 and 337.
Are the output lines of the decoded R ', G', B ', respectively, for decoding R', G ', B'. In this way, brightness conversion is easily performed. <Color Conversion> FIG. 11 shows the data format of C (color information).
C (color information) is represented by hue (θ) and saturation (h) in a * -b * space. The relationship between hue h and saturation θ is
This is as shown in FIG. FIG. 12 (c) shows a * -b
* The state of division in space is shown, and each grid point as indicated by 501 is selected as a representative color by the quantization circuit 313 in FIG. FIG. 13 shows an embodiment of a conversion decoding circuit that performs color conversion and performs decoding. The difference from the circuit for performing the brightness conversion in FIG. 8 is that a color data conversion unit 100 is provided instead of the brightness conversion unit 322. The amount instructing how to convert the color data is input to the color data conversion unit 100 via the color conversion amount control line 101. The converted color information is C '
Becomes FIG. 14 shows a circuit example in the case where the color data conversion unit 100 is configured by a look-up table. Next, a color conversion method is performed as shown in FIGS. 15 (a) and 15 (b). The conversion amount data is divided into 8 bits. Of the 8 bits, the hue θ is determined by the above 4 bits, and the saturation h is determined by the lower 4 bits.
Gives the amount of change. <Modification> In the embodiment described above, L * a * b * is used, but L * u * v * , or NTSC YIQ, PAL, or YUV can also be used. The orthogonal transform is shown by Hadamard transform, but discrete CO
S conversion or slant conversion is also possible. Although the quantizer is described as vector quantization, it is not particularly limited. Note that the bit distribution of the brightness information L, the structure information S, and the color information C is not limited to that described in the above embodiment. Further, the input signal is not limited to RGB, and input of YGC or the like may be considered depending on the sensor. Further, in FIG. 1, a * b * is represented by an average value, but it may be stored in detail when it is available. In the examples, C
The expression of (color information) is represented by hue + saturation, but is not limited to this. [Effects of the Invention] As described above, according to the present invention, since color image data is divided into information on brightness, structure, and color and encoded, efficient encoding can be performed. On the other hand, the quantization rate at the time of quantizing the plurality of pieces of information (brightness information, structure information, and color information) is set in the order of brightness information> color information> structure information. It is possible to perform suppressed and efficient encoding. That is, it is possible to achieve both efficiency of compression and maintenance of image quality.

【図面の簡単な説明】 第1図は本発明の実施例に係る符号化回路の構成図、 第2図は本実施例の符号化により符号化されたカラー画
像データの構成を示す図、 第3図,第4図はそれぞれ、明度変換,色変換におい
て、データ加工する部分を示す図、 第5図(a)は実施例中のカラー画像データの一例を示
す図、 第5図(b)(c)は夫々、カラー画像データのエツジ
部分をRGB又はLで表わしたときの図、 第6図はL変換部の構成図、 第7図は直交変換部の構成図、 第8図,第9図は明度変換を行なつて復号化する回路
図、 第10図は明度変換の変換例を示す図、 第11図は色情報Cの構成を示す図、 第12図(a)(b)は色情報のうち、色相θと彩度hと
の関係を示す図、 第13図,第14図は色変換を行なつて復号化する実施例の
回路図、 第15図(a)(b)は色データ変換の変換例を示す図で
ある。 図中、 100……色データ変換部、302……L変換部、
304……直交変換部、307,309,313……量子化部、311…
…a平均部、312……b平均部、315……MUXであ
る。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a configuration diagram of an encoding circuit according to an embodiment of the present invention, FIG. 2 is a diagram illustrating a configuration of color image data encoded by encoding according to the embodiment, FIG. FIGS. 3 and 4 are diagrams each showing a part to be processed in brightness conversion and color conversion. FIG. 5 (a) is a diagram showing an example of color image data in the embodiment, and FIG. 5 (b). (C) is a diagram when the edge portion of the color image data is represented by RGB or L * a * b * , FIG. 6 is a configuration diagram of the L * a * b * conversion unit, and FIG. 8 and 9 are circuit diagrams for performing brightness conversion and decoding, FIG. 10 is a diagram showing a conversion example of brightness conversion, and FIG. 11 is a diagram showing a configuration of color information C. FIGS. 12 (a) and 12 (b) are diagrams showing the relationship between hue θ and saturation h in the color information, and FIGS. 13 and 14 are diagrams showing decoding by performing color conversion. 15 (a) and 15 (b) are diagrams showing conversion examples of color data conversion. In the figure, 100... Color data converter, 302... L * a * b * converter,
304: orthogonal transformation unit, 307, 309, 313: quantization unit, 311
... a * average part, 312 ... b * average part, 315 ... MUX.

Claims (1)

(57)【特許請求の範囲】 1.カラー画像データをブロックに分割する分割手段
と、 該ブロック中から、明度に関連する明度情報と、色に関
連する色情報と、を抽出する第1の抽出手段と、 前記明度情報を直交変換することにより、該ブロック内
の平均明度情報と該ブロック内の明度の構造情報とを抽
出すると共に、前記色情報から該ブロック内の平均色情
報を抽出する第2の抽出手段と、 量子化により情報量の圧縮を行う量子化手段であって、
前記抽出された平均明度情報と構造情報と平均色情報と
を、平均明度情報についての量子化率>平均色情報につ
いての量子化率>明度の構造情報についての量子化率と
いう設定で量子化する量子化手段とを具備したことを特
徴とするカラー画像データ符号化装置。
(57) [Claims] Division means for dividing the color image data into blocks; first extraction means for extracting lightness information related to lightness and color information related to colors from the blocks; and orthogonal transformation of the lightness information A second extracting means for extracting the average brightness information in the block and the structure information of the brightness in the block, and extracting the average color information in the block from the color information; A quantizing means for compressing the quantity,
The extracted average brightness information, structure information, and average color information are quantized by setting quantization factor for average brightness information> quantization ratio for average color information> quantization ratio for structure information of brightness. A color image data encoding device, comprising: a quantization unit.
JP62015943A 1986-06-30 1987-01-28 Color image data encoding device Expired - Lifetime JP2940913B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP62015943A JP2940913B2 (en) 1987-01-28 1987-01-28 Color image data encoding device
US07/342,583 US4887151A (en) 1986-06-30 1989-04-19 Encoding apparatus for color image data with block-by-block individual quantizing or individual encoding of luminosity, structure, and color information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62015943A JP2940913B2 (en) 1987-01-28 1987-01-28 Color image data encoding device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP6008721A Division JPH0787333A (en) 1994-01-28 1994-01-28 Color image data encoding method

Publications (2)

Publication Number Publication Date
JPS63185167A JPS63185167A (en) 1988-07-30
JP2940913B2 true JP2940913B2 (en) 1999-08-25

Family

ID=11902845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62015943A Expired - Lifetime JP2940913B2 (en) 1986-06-30 1987-01-28 Color image data encoding device

Country Status (1)

Country Link
JP (1) JP2940913B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4974071A (en) * 1987-04-28 1990-11-27 Canon Kabushiki Kaisha Color image data encoding apparatus having improved resolution/efficiency characteristics

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS621373A (en) * 1985-06-27 1987-01-07 Toshiba Corp Picture encoding system

Also Published As

Publication number Publication date
JPS63185167A (en) 1988-07-30

Similar Documents

Publication Publication Date Title
KR100880039B1 (en) Method and system for achieving coding gain in wavelet based image codec
US4887151A (en) Encoding apparatus for color image data with block-by-block individual quantizing or individual encoding of luminosity, structure, and color information
JP4367880B2 (en) Image processing apparatus and method, and storage medium
US5818970A (en) Image encoding apparatus
JP3830009B2 (en) Data processing system and color conversion method
JP2006025459A (en) Forward conversion device and inverse conversion device
EP0509743B1 (en) Image processing method and device for the same
JP2005191956A (en) Display data compression/expansion method
JP3857509B2 (en) Image processing apparatus, image processing system, image encoding method, and storage medium
JPH06350854A (en) Picture compression encoding device
JPH11164152A (en) Color image data compression device
JP2605028B2 (en) Color image data converter
JP2940913B2 (en) Color image data encoding device
JP2002077657A (en) Image processing apparatus and method, and storage medium
JP2618944B2 (en) Coding method of color image information
JP3824259B2 (en) Encoding method, decoding method, encoding device, decoding device, and recording medium
JP2992189B2 (en) Decryption method
JP2833649B2 (en) Image processing device
JP2006005478A (en) Image encoding apparatus and image decoding apparatus
JP3347488B2 (en) Image processing apparatus and method
JPH0787333A (en) Color image data encoding method
JPH0797829B2 (en) Color image input / output device
JPS639282A (en) Image information encoding device
JP2698641B2 (en) Color image data encoding method and decoding method
JPH0799853B2 (en) Image data compression / decompression method for printing

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term