JPH07108018B2 - Color image coding device - Google Patents
Color image coding deviceInfo
- Publication number
- JPH07108018B2 JPH07108018B2 JP5159811A JP15981193A JPH07108018B2 JP H07108018 B2 JPH07108018 B2 JP H07108018B2 JP 5159811 A JP5159811 A JP 5159811A JP 15981193 A JP15981193 A JP 15981193A JP H07108018 B2 JPH07108018 B2 JP H07108018B2
- Authority
- JP
- Japan
- Prior art keywords
- color
- block
- signal
- encoding
- color image
- 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
Links
Landscapes
- Image Processing (AREA)
- Color Television Systems (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、カラー原稿読み取り装
置又はカラーTVカメラ等により取り込まれた多値カラ
ー画像情報の符号化を行うカラー画像符号化装置に関す
るものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image coding apparatus for coding multivalued color image information captured by a color original reading apparatus, a color TV camera or the like.
【0002】[0002]
【従来の技術】従来より、画像情報の伝送、蓄積の際に
は、その効率を考慮し、符号化により冗長度を抑圧する
のが一般的である。この様な符号化においては、その対
象となる画像情報は、2値の白/黒又はカラー情報が大
半であった。2. Description of the Related Art Conventionally, in transmitting and storing image information, it is general to consider the efficiency and suppress redundancy by encoding. In such encoding, most of the target image information is binary white / black or color information.
【0003】[0003]
【発明が解決しようとする課題】しかし、近年、画像情
報の多値化が進み高精細化が計られており、さらにカラ
ーの多値化も行われている。However, in recent years, multi-valued image information has been developed and high definition has been attempted, and multi-valued color has also been used.
【0004】従って、多値カラー画像情報に対しても符
号化を行わなければならないのであるが、これまでは、
従来の白/黒用の手法を、R(レッド)、G(グリー
ン)、B(ブルー)の三原色各々に施したり、又、各画
素毎に、RGB3原色間の色相関を利用し量子化する等
が考えられている。前者の手法では、当然効率も悪く、
しかも場合によっては色ズレの原因ともなる。又、後者
の場合は色ズレは発生しにくいが、RGB3原色の相関
が強すぎる為、高効率は望めないものであった。Therefore, it is necessary to perform coding on multi-valued color image information as well.
The conventional white / black method is applied to each of the three primary colors of R (red), G (green), and B (blue), or each pixel is quantized by utilizing the color correlation between the RGB three primary colors. Etc. are considered. The former method is naturally inefficient,
Moreover, in some cases, it may cause color misregistration. Further, in the latter case, color shift is unlikely to occur, but high efficiency cannot be expected because the RGB three primary colors have too strong a correlation.
【0005】本発明は、上述従来例の欠点を除去する事
を目的とし、カラー画像情報を効率良く、しかも、カラ
ー再現性良く符号化することができるカラー画像符号化
装置を提供することを目的とするものである。An object of the present invention is to eliminate the above-mentioned drawbacks of the conventional example, and an object thereof is to provide a color image encoding apparatus capable of encoding color image information efficiently and with good color reproducibility. It is what
【0006】[0006]
【課題を解決するための手段及び作用】上記課題を解決
するため、本発明のカラー画像符号化装置は、複数の色
成分信号を入力する入力手段と、前記入力手段から入力
された複数の色成分信号から明度信号と色信号を分離す
る分離手段と、前記明度信号について所定サイズのブロ
ック毎に直交変換を行い変換係数を出力する変換手段
と、前記変換係数のうち直流成分を符号化する第1の符
号化手段と、前記変換係数のうち交流成分を符号化する
第2の符号化手段と、前記色信号について所定サイズの
ブロック毎に代表値を抽出する抽出手段と、前記抽出手
段により抽出された色信号の代表値を符号化する第3の
符号化手段とを有することを特徴とする。In order to solve the above-mentioned problems, a color image coding apparatus according to the present invention comprises an input means for inputting a plurality of color component signals, and a plurality of colors input from the input means. Separation means for separating the lightness signal and the color signal from the component signal, a conversion means for orthogonally converting the lightness signal for each block of a predetermined size and outputting a conversion coefficient, and a DC component of the conversion coefficient for encoding a DC component. 1 encoding means, second encoding means for encoding an AC component of the conversion coefficient, extraction means for extracting a representative value for each block of a predetermined size for the color signal, and extraction by the extraction means And a third encoding unit that encodes the representative value of the generated color signal.
【0007】[0007]
【実施例】以下本発明を好ましい実施例を用いて詳細に
説明する。The present invention will be described in detail below with reference to preferred embodiments.
【0008】まず、本発明によるカラー画像情報の符号
化の概要を述べると、R(レッド)、G(グリーン)、
B(ブルー)の3原色を信号間相関のより弱く、且つ、
明度情報と色情報に分離可能な信号形態に変換し、更
に、その信号を小ブロックに切り出し、このブロック毎
に、ブロック内明度、ブロック内のエッヂ等に関する構
造情報及びブロック内の色情報を表わす情報配列に符号
化するものである。First, the outline of the encoding of color image information according to the present invention will be described. R (red), G (green),
The three primary colors of B (blue) have weaker correlation between signals, and
The signal is converted into a signal form that can be separated into lightness information and color information, and the signal is further cut into small blocks. For each block, the lightness within the block, the structural information regarding the edge within the block, and the color information within the block are expressed. It is to be encoded into an information array.
【0009】図1はカラー画像情報の符号化の基本的考
え方を示すものである。即ち、R、G、B信号を、まず
信号間相関のより小さい信号形態の一例としてCIE1
976均等色空間のL* a* b* 信号に変換し、更に小
ブロック内の情報を図1に示すL(明度)、S(構造情
報)及びC(色情報)の3要素からなる情報形態に符号
化する。FIG. 1 shows the basic concept of encoding color image information. That is, the R, G, and B signals are first processed as CIE1 as an example of a signal form having a small signal correlation.
976 uniform color space converted into L * a * b * signal, and the information in the small block is composed of three elements of L (brightness), S (structure information) and C (color information) shown in FIG. To be encoded.
【0010】図2は対象画像における、RGB→L* a
* b* 変換及び4画素×4画素の正方形ブロックの切り
出しの様子を示している。201は原稿、202はブロ
ックであり、原稿の隅から順に4×4サイズでブロック
が切り出されて行く。また203は、そのブロックの内
の1つであり、ブロックにエッヂ部が含まれた場合を示
す。FIG. 2 shows RGB → L * a in the target image.
The state of * b * conversion and cutout of a square block of 4 pixels × 4 pixels is shown. Reference numeral 201 is a document, and reference numeral 202 is a block, and blocks are sequentially cut out in 4 × 4 size from the corners of the document. Further, 203 is one of the blocks, and shows a case where the block includes an edge portion.
【0011】図2(b)は、原稿201に書かれた文字
が赤文字であった場合のブロック203を構成する3原
色(R、G、B)の様子を示し、そのRGB3原色は図
の様にRにだけエッヂが現われる。FIG. 2B shows the state of the three primary colors (R, G, B) forming the block 203 when the characters written on the original 201 are red, and the RGB three primary colors are as shown in the figure. Similarly, the edge appears only in R.
【0012】図2(c)は、図2(b)に示したRGB
信号をL* a* b* に変換した場合を示す。FIG. 2C shows the RGB shown in FIG. 2B.
The case where the signal is converted into L * a * b * is shown.
【0013】ここで、RGBからL* a* b* 信号に変
換する変換式を以下に示す。Here, the conversion formula for converting RGB to L * a * b * signals is shown below.
【0014】[0014]
【外1】 これより[Outer 1] Than this
【0015】[0015]
【外2】 [Outside 2]
【0016】図3は、図1に示した形態の符号化を達成
するための回路構成の実施例を示している。301はカ
ラースキャナ等から1ライン毎に順次入力されたRGB
信号を前述したブロックに切り出す為に一時蓄える4ラ
インバッファである。即ち一旦4ラインバッファ301
に蓄えられた4ライン分の信号を4×4のサイズで読み
出す事により4×4ブロックの切り出しを行う。302
はRGB→L* a* b* 変換を行うL* a* b* 変換部
であり、先に示した変換式に基づき変換動作する。FIG. 3 shows an embodiment of a circuit configuration for achieving the encoding shown in FIG. Reference numeral 301 denotes RGB sequentially input line by line from a color scanner or the like.
It is a 4-line buffer that temporarily stores the signal in order to cut it into the above-mentioned blocks. That is, once the 4-line buffer 301
The 4 × 4 block is cut out by reading out the signals of 4 lines stored in the 4 × 4 size. 302
Is an L * a * b * conversion unit that performs RGB → L * a * b * conversion, and performs a conversion operation based on the conversion formula shown above.
【0017】L* a* b* 変換部302の具体例を示し
たのが、図4であり、L* a* b*への変換テーブルの
書込まれたメモリテーブル401、402、403をR
GB信号によりアクセスするルックアップテーブル方式
により実現される。このようにして、RGB信号は信号
間相関の小さいL* a* b* 信号に変換される。FIG. 4 shows a specific example of the L * a * b * conversion unit 302, in which the memory tables 401, 402, and 403 in which the conversion tables for L * a * b * are written are stored in R.
It is realized by a look-up table method accessed by a GB signal. In this way, the RGB signal is converted into an L * a * b * signal having a small signal correlation.
【0018】303は、L* a* b* 変換部302か
ら、図2(c)のL* のブロックにおけるX11、X12、
・・・X21、X22、・・・、X44の順に出力されるL*
信号である。304はL* 信号を直交変換する直交変換
部であり、その手法としてアダマール(Hadamar
d)変換、離散的CoS変換等がある。この直交変換は
ブロック毎に、ブロックに含まれるエッヂの形態を抽出
するために行うもので、これにより、後の量子化処理を
効率化せしめる。Numeral 303 indicates from the L * a * b * conversion section 302 that X 11 , X 12 , and L 12 in the L * block of FIG.
... X 21, X 22, is output.., In the order of X 44 L *
It is a signal. Reference numeral 304 denotes an orthogonal transform unit that performs an orthogonal transform on the L * signal, and its method is Hadamard (Hadamar).
d) Transform, discrete CoS transform and the like. This orthogonal transformation is performed for each block in order to extract the form of the edge included in the block, which makes the subsequent quantization process efficient.
【0019】以下に、直交変換の一例として2次のアダ
マール変換の式を示す。The expression of the quadratic Hadamard transform is shown below as an example of the orthogonal transform.
【0020】2次アダマール変換は、The second-order Hadamard transform is
【0021】[0021]
【外3】 と表せる。ここで、[Outside 3] Can be expressed as here,
【0022】[0022]
【外4】 とすれば、上式は[Outside 4] Then, the above formula is
【0023】[0023]
【外5】 となり、例えば、[Outside 5] And, for example,
【0024】[0024]
【外6】 となる。[Outside 6] Becomes
【0025】図5は直交変換部304にアダマール変換
を用いた場合の具体例を示す。410はマトリクス演算
を行う際の行方向のアドレスを発生するアダマール・マ
トリクス・アドレス発生器である。411、412、4
13は上式において、Xijを入力してY11を発生するた
めの回路であって、411は入力Xijにアダマール行列
の係数を乗算して出力するルックアップテーブルであ
り、412はルックアップテーブル411の出力を加算
する加算器、413は加算器412の加算結果に1/4
を乗算する1/4除算器である。以下、415〜417
は同様に、Xijを入力してY44を発生する回路である。
そして、Xijを入力してY11〜Y14、Y21〜Y24、Y31
〜Y34及びY41〜Y44を出力するため回路が計16組存
在する。即ちYij毎に存在し、以下の様な演算が夫々実
行される。FIG. 5 shows a specific example in which the Hadamard transform is used in the orthogonal transform unit 304. Reference numeral 410 is a Hadamard matrix address generator that generates an address in the row direction when performing a matrix operation. 411, 412, 4
13 In the above equation, a circuit for by entering X ij to generate a Y 11, 411 is a look-up table and outputting the multiplying coefficients of the Hadamard matrix to the input X ij, 412 lookup The adder 413 that adds the outputs of the table 411 adds 1/4 to the addition result of the adder 412.
It is a 1/4 divider that multiplies by. Below, 415-417
Is a circuit which similarly inputs X ij to generate Y 44 .
Then, by inputting X ij , Y 11 to Y 14 , Y 21 to Y 24 , and Y 31.
There are a total of 16 circuits for outputting .about.Y 34 and Y 41 to Y 44 . That is, it exists for each Y ij and the following operations are executed respectively.
【0026】[0026]
【外7】 [Outside 7]
【0027】図3中、305は直交変換部304の出力
の内のY11であり、このY11の値は、Yijのブロック毎
の平均値に近い直流成分を表し、これはブロックの明度
を代表する係数である。307は、このY11を量子化す
る量子化器で、10ビットのY11を8ビットに量子化
し、L(明度)308を出力する。In FIG. 3, 305 is Y 11 in the output of the orthogonal transformation unit 304, and the value of this Y 11 represents a DC component close to the average value of Y ij for each block, which is the brightness of the block. Is a coefficient representing. A quantizer 307 quantizes Y 11 and quantizes 10-bit Y 11 into 8 bits, and outputs L (brightness) 308.
【0028】306は、Y11以外の15個のY12〜Y44
の係数であり、これはブロックに含まれるエッヂの構造
を代表する係数であり、量子化器309により12ビッ
トにコード化し、即ち、構造情報310として事前に定
めた409b種のパターンに丸められる事となる。これ
により、構造情報310は各ブロックに含まれるエッヂ
の形態を表わす。Reference numeral 306 denotes fifteen Y 12 to Y 44 other than Y 11.
Is a coefficient representative of the structure of the edge included in the block, and is coded into 12 bits by the quantizer 309, that is, the structure information 310 is rounded to a predetermined 409b type pattern. Becomes As a result, the structure information 310 represents the form of the edge included in each block.
【0029】311、312は各々L* a* b* 変換部
302の出力であるa* 、b* の各ブロックにおける夫
々の平均a* 、b* をとる平均回路であり、加算器と除
算器で構成される。311 and 312 are averaging circuits that take the respective averages a * and b * in each block of a * and b * which are the outputs of the L * a * b * converter 302, and are adder and divider. Composed of.
【0030】313は、a* b* のブロック平均値をま
とめて量子化する量子化器であり、12ビットに量子化
する。これにより各ブロックの色情報314を形成す
る。A quantizer 313 collectively quantizes the block average values of a * b * , and quantizes them to 12 bits. Thereby, the color information 314 of each block is formed.
【0031】尚、307、309、313のいずれの量
子化器も通常ベクトリ量子化器で構成されれば効率が良
い事が知られている。It is known that if any of the quantizers 307, 309, and 313 are usually vector quantizers, the efficiency is good.
【0032】315は、これまで説明した様にして得ら
れるL(明度)308、S(構造)310、C(色情
報)314をブロック毎に一つの符号にまとめるマルチ
プレクサである。316はマルチプレクサ315の出力
信号、即ち、図1に示した符号化済コードである。Reference numeral 315 is a multiplexer for collecting L (brightness) 308, S (structure) 310, and C (color information) 314 obtained as described above into one code for each block. Reference numeral 316 is the output signal of the multiplexer 315, that is, the encoded code shown in FIG.
【0033】この様にしてカラースキャナ等から入力さ
れるRGB信号を所定サイズの単位ブロック毎に信号間
相関の小さいL* a* b* 信号に変換し、このL* a*
b*信号に基づいて、各ブロックの色画像を、明度、構
造及び色情報で表わす。In this way, the RGB signals input from the color scanner or the like are converted into L * a * b * signals having a small signal correlation for each unit block of a predetermined size, and this L * a * is converted .
The color image of each block is represented by lightness, structure and color information based on the b * signal.
【0034】この様に符号化されたコードを復号して、
カラー画像を再現する場合には、構造情報による各ブロ
ックのエッヂで区切られる各領域を明度及び色情報によ
り表わされる色で塗り分ける。これによりカラー原稿画
像が良好に再現される。By decoding the code encoded in this way,
When a color image is reproduced, each area divided by the edge of each block according to the structure information is painted with a color represented by lightness and color information. As a result, the color original image is reproduced well.
【0035】尚、本実施例ではRGB信号をL* a* b
* で示したが、L* a* ν* 、又はNTSCのYIQ、
PAL、YUV等でも対応可能である。In this embodiment, RGB signals are converted into L * a * b.
As indicated by * , L * a * ν * , or NTSC YIQ,
It is also possible to use PAL, YUV, etc.
【0036】また、直交変換はアダマール変換で示した
が離散的COS変換、スラント変換等でも可能である。Further, the orthogonal transform is shown by Hadamard transform, but it is also possible to use discrete COS transform, slant transform, or the like.
【0037】また、量子化器はベクトル量子化と記した
が特に限定はしない。尚、L、S、Cのビット配分も実
施例に示したものに限らない。Although the quantizer is described as vector quantizer, it is not particularly limited. The bit allocation of L, S, and C is not limited to that shown in the embodiment.
【0038】また入力信号はRGBに限らず、センサに
よってはY(イエロ)G(グリーン)C(シアン)等の
入力も考えられる。The input signal is not limited to RGB, and depending on the sensor, Y (yellow) G (green) C (cyan) or the like may be input.
【0039】更にa* b* は平均値で代表したが、もっ
と詳細に保存しても良い。Further, a * b * is represented by an average value, but it may be stored in more detail.
【0040】[0040]
【効果】以上説明した様に、本発明のカラー画像符号化
装置によれば効率的な符号化を実現することが可能とな
るものである。As described above, according to the color image coding apparatus of the present invention, efficient coding can be realized.
【図1】符号化された後のデータ配列を示す図。FIG. 1 is a diagram showing a data array after being encoded.
【図2】ブロック切り出しと信号変換の様子を示す図。FIG. 2 is a diagram showing a state of block cutout and signal conversion.
【図3】本発明の符号化を行うための一実施例のブロッ
ク図。FIG. 3 is a block diagram of an embodiment for performing encoding according to the present invention.
【図4】L* a* b* 変換部の一構成例を示す図。FIG. 4 is a diagram showing a configuration example of an L * a * b * conversion unit.
【図5】直交変換部の一構成例を示す図。FIG. 5 is a diagram showing a configuration example of an orthogonal transformation unit.
301 4ラインバッファ 302 L* a* b* 変換部 304 直交変換部 311、312 平均回路 307、309、313 量子化器 315 マルチプレクサ301 4 line buffer 302 L * a * b * converter 304 Orthogonal converter 311, 312 Average circuit 307, 309, 313 Quantizer 315 Multiplexer
Claims (1)
と、 前記入力手段から入力された複数の色成分信号から明度
信号と色信号を分離する分離手段と、 前記明度信号について所定サイズのブロック毎に直交変
換を行い変換係数を出力する変換手段と、 前記変換係数のうち直流成分を符号化する第1の符号化
手段と、 前記変換係数のうち交流成分を符号化する第2の符号化
手段と、 前記色信号について所定サイズのブロック毎に代表値を
抽出する抽出手段と、 前記抽出手段により抽出された色信号の代表値を符号化
する第3の符号化手段とを有することを特徴とするカラ
ー画像符号化装置。1. An input unit for inputting a plurality of color component signals, a separating unit for separating a lightness signal and a color signal from the plurality of color component signals input from the input unit, and a block of a predetermined size for the lightness signal. Transform means for performing orthogonal transform for each and outputting transform coefficients, first coding means for coding a DC component of the transform coefficients, and second coding for coding an AC component of the transform coefficients. Means for extracting the representative value of the color signal for each block of a predetermined size, and a third encoding means for encoding the representative value of the color signal extracted by the extracting means. And a color image encoding device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5159811A JPH07108018B2 (en) | 1993-06-30 | 1993-06-30 | Color image coding device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5159811A JPH07108018B2 (en) | 1993-06-30 | 1993-06-30 | Color image coding device |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61152958A Division JPH0763177B2 (en) | 1986-06-30 | 1986-06-30 | Image information coding device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH06225155A JPH06225155A (en) | 1994-08-12 |
| JPH07108018B2 true JPH07108018B2 (en) | 1995-11-15 |
Family
ID=15701774
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5159811A Expired - Lifetime JPH07108018B2 (en) | 1993-06-30 | 1993-06-30 | Color image coding device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07108018B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61123280A (en) * | 1984-11-19 | 1986-06-11 | Nec Corp | Image data compressing device |
-
1993
- 1993-06-30 JP JP5159811A patent/JPH07108018B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH06225155A (en) | 1994-08-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4887151A (en) | Encoding apparatus for color image data with block-by-block individual quantizing or individual encoding of luminosity, structure, and color information | |
| US5905579A (en) | Image processing method and apparatus which separates an input image into character and non-character areas | |
| JP3072776B2 (en) | Image processing device | |
| JP4559622B2 (en) | Color image compression based on two-dimensional discrete wavelet transform yielding perceptually lossless images | |
| EP0507601B1 (en) | Image processing method and apparatus | |
| EP0651562A1 (en) | An electronic camera utilizing image compression feedback for improved color processing | |
| KR20040007687A (en) | Method and system for achieving coding gains in wavelet-based image codecs | |
| EP0509743B1 (en) | Image processing method and device for the same | |
| JP2011015347A (en) | Apparatus and method for processing image, program and recording medium | |
| US5761342A (en) | Image processing apparatus and method | |
| JP3108133B2 (en) | Adaptive coding of color document images | |
| JPH07108018B2 (en) | Color image coding device | |
| JPH0763177B2 (en) | Image information coding device | |
| JP2605028B2 (en) | Color image data converter | |
| JP3101597B2 (en) | Image storage method and apparatus | |
| JP2877448B2 (en) | Image coding device | |
| US20090202165A1 (en) | Image decoding method and image decoding apparatus | |
| JP2940913B2 (en) | Color image data encoding device | |
| JP3842909B2 (en) | Image processing device | |
| JPH0797829B2 (en) | Color image input / output device | |
| JP2001309189A (en) | Image processing apparatus and method | |
| JP2833649B2 (en) | Image processing device | |
| JPH07298259A (en) | Image data processor | |
| JPH0440074A (en) | image encoding device | |
| JPH0342968A (en) | Color picture information encoding system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |