JPH01134681A - System for converting color picture data - Google Patents

System for converting color picture data

Info

Publication number
JPH01134681A
JPH01134681A JP62292143A JP29214387A JPH01134681A JP H01134681 A JPH01134681 A JP H01134681A JP 62292143 A JP62292143 A JP 62292143A JP 29214387 A JP29214387 A JP 29214387A JP H01134681 A JPH01134681 A JP H01134681A
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.)
Granted
Application number
JP62292143A
Other languages
Japanese (ja)
Other versions
JP2833649B2 (en
Inventor
Masafumi Wataya
雅文 綿谷
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 JP29214387A priority Critical patent/JP2833649B2/en
Publication of JPH01134681A publication Critical patent/JPH01134681A/en
Application granted granted Critical
Publication of JP2833649B2 publication Critical patent/JP2833649B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16CSHAFTS; FLEXIBLE SHAFTS; ELEMENTS OR CRANKSHAFT MECHANISMS; ROTARY BODIES OTHER THAN GEARING ELEMENTS; BEARINGS
    • F16C11/00Pivots; Pivotal connections
    • F16C11/04Pivotal connections
    • F16C11/06Ball-joints; Other joints having more than one degree of angular freedom, i.e. universal joints
    • F16C11/0604Construction of the male part
    • F16C11/0609Construction of the male part made from two or more parts
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16CSHAFTS; FLEXIBLE SHAFTS; ELEMENTS OR CRANKSHAFT MECHANISMS; ROTARY BODIES OTHER THAN GEARING ELEMENTS; BEARINGS
    • F16C11/00Pivots; Pivotal connections
    • F16C11/04Pivotal connections
    • F16C11/06Ball-joints; Other joints having more than one degree of angular freedom, i.e. universal joints
    • F16C11/0614Ball-joints; Other joints having more than one degree of angular freedom, i.e. universal joints the female part of the joint being open on two sides
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16HGEARING
    • F16H59/00Control inputs to control units of change-speed-, or reversing-gearings for conveying rotary motion
    • F16H59/02Selector apparatus
    • F16H2059/026Details or special features of the selector casing or lever support
    • F16H2059/0269Ball joints or spherical bearings for supporting the lever

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Processing (AREA)
  • Color Television Systems (AREA)
  • Color Image Communication Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Mechanical Engineering (AREA)

Abstract

PURPOSE:To attain the structure conversion, color conversion or brightness conversion of encoded color picture data as they are by providing respective working means to add a work processing to respective quantized structure information, brightness information and color information. CONSTITUTION:The output signal 316 of the quantized brightness information, structure information and color information is converted to a parallel signal from an MUX through a transmission path 320 and a DMUX. Brightness information (L) 308 is inputted to a brightness converting part 322, brightness- converted in correspondence to control quantity 323 and outputted through an orthogonal inverse transformer 325, R, G and B decoders 333, 335 and 337. On the other hand, color information (C) 314 are converted by a color data converter 100 in correspondence to color conversion control quantity 101 and outputted through decoders 328 and 329 and the R, G and B decoders 333, 335 and 337. Structure information (S) 310 are inputted to an S data converter 200, structure-converted and outputted through a decoder 326, the orthogonal transformer 325 and Y, M and C decoders 333', 335' and 337'.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はカラー画像データ変換方式、特に符号化された
カラー画像データに対して回転等の構造変換をするカラ
ー画像データ変換方式に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a color image data conversion method, and particularly to a color image data conversion method that performs structural transformation such as rotation on encoded color image data. .

[従来の技術] 従来より、画像の伝送若しくは蓄積の際に、その効率を
考慮して、符号化により冗長度を圧縮抑圧するのが一般
的である。白黒及び2値画像は勿論のこと、カラー画像
等も情報量が膨大となり、その符号化は必須、となる。
[Prior Art] Conventionally, when transmitting or storing images, it has been common to compress and suppress redundancy through encoding in consideration of efficiency. Not only black-and-white and binary images, but also color images and the like have a huge amount of information, and their encoding is essential.

特に、カラー画像の場合は情報量も多いから効率的な符
号化法の実現が望まれている。
In particular, in the case of color images, since the amount of information is large, it is desired to realize an efficient encoding method.

又一方で、ファクシミリ、電子ファイル。On the other hand, fax and electronic files.

複写機等において、バッフアメそり等に伝送又は蓄積さ
れたデータに対して、構造変換、明度変換1色変換等を
行う必要がある場合がある。
In a copying machine or the like, there are cases where it is necessary to perform structural conversion, brightness conversion, single color conversion, etc. on data transmitted or stored in a buffer or the like.

この様な場合、符号化されたデータのままで変換する事
が効率的で望ましい。しかし、これまでの符号化法では
、符号化されたカラー画像データを直接変換する事はで
きなかった。
In such cases, it is efficient and desirable to convert the encoded data as it is. However, with conventional encoding methods, it has not been possible to directly convert encoded color image data.

そこで、従来この様な必要性が生じた場合、ファクシミ
リ等においては、受は取り側から変換に関する情報を送
り側へ伝え、送り側は変換した上で再送するようにして
いた。従って、この場合は当然の事ながら多くの時間を
要し、相互通信の内容も複雑になるという欠点があった
。また、電子ファイル等においては、上記の手段が使え
ないため、符号化されたデータを一旦復号化し、復号し
たデータを変換するという手順を取らざるを得ない事に
よる処理の繰返しによる画質の劣化や、ワーキングメモ
リーが必要等による符号化データを取り扱う長所が生か
されていなかった。
Conventionally, when such a need arises, in facsimiles and the like, the receiving side transmits information regarding the conversion from the receiving side to the sending side, and the sending side converts the information and resends it. Therefore, in this case, as a matter of course, it takes a lot of time and the content of mutual communication becomes complicated. In addition, since the above methods cannot be used for electronic files, it is necessary to first decode the encoded data and then convert the decoded data, which may cause deterioration in image quality due to repeated processing. , the advantages of handling encoded data due to the need for working memory, etc., were not utilized.

[発明が解決しようとする問題点] 本発明は、上述従来例の欠点を除去するために提案され
たもので、その目的は符号化されたカラー画像データを
そのまま構造変換、あるいは色変換若しくは明度変換す
るようなカラー画像データ変換方式を提案する点にある
[Problems to be Solved by the Invention] The present invention has been proposed in order to eliminate the drawbacks of the above-mentioned conventional examples. The purpose of this invention is to propose a color image data conversion method that performs color image data conversion.

[問題点を解決するための手段] 上記課題を達成するための本発明の構成は、カラー画像
データをブロックに分割する分割手段と、該ブロック中
から明度に関連する明度情報と、構造に関連する構造情
報と、色に関連する色情報とを抽出する抽出手段と、前
記抽出された明度情報と構造情報と色情報とを量子化す
る量子化手段と、これら量子化された情報のうち、構造
情報に加工処理を加える加工手段とを備える。
[Means for Solving the Problems] The configuration of the present invention for achieving the above-mentioned problems includes a dividing means for dividing color image data into blocks, brightness information related to brightness from the blocks, and a method for dividing color image data into blocks. an extracting means for extracting structural information related to the color and color information related to the color; a quantizing means for quantizing the extracted lightness information, structural information and color information; and among these quantized information, and processing means for applying processing to the structural information.

又、カラー画像データをブロックに分割する分割手段と
、該ブロック中から明度に関連する明度情報と、構造に
関連する構造情報と、色に関連する色情報とを抽出する
抽出手段と、前記抽出された明度情報と構造情報と色情
報とを量子化する量子化手段と、これら量子化された情
報のうち、構造情報に加工処理を加える加工手段と、こ
れら量子化された情報のうち、明度情報もしくは色情報
に加工処理を加える第2の加工手段とを備える。
Further, a dividing means for dividing color image data into blocks, an extraction means for extracting brightness information related to brightness, structural information related to structure, and color information related to color from the blocks, and the extraction means quantization means for quantizing the brightness information, structure information, and color information; processing means for processing the structure information among these quantized information; and second processing means for applying processing to the information or color information.

[作用コ 上記構成において、加工手段は構造変換をするときは、
構造情報のみを変換加工するだけで済む。更に、明度変
換するときは、明度情報のみを変換加工し、色変換する
ときは色情報のみを変換加工するだけで済む。
[Operation] In the above configuration, when the processing means performs structural transformation,
All you need to do is convert and process only the structural information. Furthermore, when converting the brightness, only the brightness information needs to be converted, and when converting the color, only the color information needs to be converted and processed.

[実施例] 以下添付図面を参照しつつ本発明に係る実施例を詳細に
説明する。
[Examples] Examples according to the present invention will be described in detail below with reference to the accompanying drawings.

〈実施例の原理〉 RGB表色系によるカラー情報は、RGB信号間の相関
が強いために、R,G、B夫々単独で圧縮符号化すると
欠落する情報が多くなるという性質を有する。そのため
、RGB信号系は圧縮符号化には向かない。そこで、本
実施例では、RGB3原色系のカラー画像データをイム
分間相関のより少ない表色系に変換し、この新たな表色
系のカラー画像データを、小ブロックに切出す。そして
、第2図(a)に示した如く、このブロック毎に圧縮符
号化するものである。
<Principle of Embodiment> Color information based on the RGB color system has a property that since there is a strong correlation between RGB signals, a large amount of information will be missing if each of R, G, and B is compressed and encoded individually. Therefore, the RGB signal system is not suitable for compression encoding. Therefore, in this embodiment, the color image data of the RGB three primary color system is converted to a color system with less inter-im correlation, and the color image data of this new color system is cut into small blocks. Then, as shown in FIG. 2(a), each block is compressed and encoded.

第2図(a)中、Lはブロック内の明度に関する明度情
報を、Sはブロック内におけるエツジ等の構造に関する
構造情報を、Cはブロック内の色に関する色情報を表わ
す。このように、RGB表色系のカラー画像データから
、明度情報、構造情報1色情報を抽出して符号化するこ
とにより、高能率の圧縮符号化が達成される。
In FIG. 2(a), L represents brightness information regarding the brightness within the block, S represents structural information regarding structures such as edges within the block, and C represents color information regarding the color within the block. In this way, highly efficient compression encoding is achieved by extracting and encoding brightness information, structural information, and single-color information from color image data in the RGB color system.

更に、上記のように符号化処理されたカラー画像データ
を変換処理する場合、例えば、構造のみを変換する場合
は第2図(b)のように構造情報部分のみを変換処理す
ればよく、明度のみを変換する場合は第3図のように明
度情報部分のみを変換処理すればよく、又、色変換する
場合は第4図のように色情報部分のみを変換すればよい
ことになり、前述した従来の欠点は解消する。
Furthermore, when converting color image data that has been encoded as described above, for example, when converting only the structure, it is only necessary to convert only the structure information part as shown in Figure 2 (b), and the brightness If you want to convert only the brightness information part as shown in Figure 3, you only need to convert the brightness information part, and if you want to convert the color, you only need to convert the color information part as shown in Figure 4. This eliminates the drawbacks of the conventional method.

さて、信号間相関の少ない表色系として、以下説明する
実施例では、CIE1976均等色空間のL” a″b
″表色系を採用する。
Now, as a color system with little correlation between signals, in the embodiment described below, L"a"b of CIE1976 uniform color space is used.
``Adopt a color system.

<RGB4L” a” b” への変換〉第5図(a)
〜(C)は、対象画像におけるRGB系→L″a* b
*系への変換及び4×4ブロツクの切り出しの様子を示
している。201は原稿であり、原稿201中には’A
Jの文字が描かれている。202はブロックであり、原
稿の隅から順に4X4サイズで切り出されて行く。
<Conversion to RGB4L"a"b"> Figure 5 (a)
~(C) is the RGB system in the target image → L″a* b
*It shows the conversion to the system and the cutting out of 4×4 blocks. 201 is a manuscript, and 'A' is included in the manuscript 201.
The letter J is drawn on it. Blocks 202 are cut out in 4×4 size starting from the corner of the document.

203は前記文字「Aj上にかかったブロックの1つで
あり、エッヂ部が含まれた場合を示す。
203 is one of the blocks extending over the character "Aj," indicating a case where an edge portion is included.

第5図(b)はブロック203のRGB別のカラー画像
データの分布を示し、特にブロック203の文字が赤文
字であった場合を示す。その場合のRGB3原色は、図
の様になり、Rにだけエツジが現われる。第5図(C)
は第5図(b)に示したRGB信号をL” a’ b”
に変換した場合を示す。図中、L、−L、等はブロック
中のL′酸成分示す。尚、添字中の、〜1等は便宜的に
10〜15を表わす。
FIG. 5(b) shows the distribution of color image data of the block 203 by RGB, and particularly shows the case where the characters of the block 203 are red characters. In that case, the three primary colors of RGB are as shown in the figure, and edges appear only in R. Figure 5 (C)
converts the RGB signals shown in Figure 5(b) to L"a'b"
This shows the case when converted to . In the figure, L, -L, etc. indicate the L' acid component in the block. Incidentally, the subscripts such as ~1 represent 10 to 15 for convenience.

ここで、RGBからし“a”b“信号に変換する変換式
を以下に示す。
Here, a conversion formula for converting from RGB to "a" and "b" signals is shown below.

X =X r R+ X g G + X b BY 
=Y 、 R+ Y 、 G + Y b BZ =Z
 r R+ Z t G + Z b B但し、X r
、x 、、x b+Y r、y 、、y b、Z b等
は定数である。
X =X r R+ X g G + X b BY
=Y, R+Y, G+Yb BZ=Z
r R+ Z t G + Z b B However, X r
,x,,xb+Yr,y,,yb,Zb, etc. are constants.

これより、 L” =  116・(Y/ Y o) l / 3 
++ 16a’ =  50(1(X/Xo)”’  
 (y/Yoν/3b ” =  2001Y/ Y 
o)”3(Z / Z oν′3但し、xo、yo、Z
oは基準白色光の値であり、Y / Y o > 0.
008856 とする。
From this, L” = 116・(Y/ Y o) l/3
++ 16a' = 50(1(X/Xo)"'
(y/Yov/3b” = 2001Y/Y
o)”3(Z / Z oν′3However, xo, yo, Z
o is the value of the reference white light, Y/Y o > 0.
008856.

(L″の圧縮符号化〉 L″a’b“系は信号間相関の少ない事は述べた。この
L″a″b″系から第2図に示したような符号化には直
交変換、特にHadamard変換。
(Compression encoding of L'') It has been mentioned that the L''a'b'' system has little correlation between signals.The encoding shown in Figure 2 from this L''a''b'' system requires orthogonal transformation, Especially the Hadamard transformation.

離散的CO5変換が適している。即ち、L″は明度情報
の他に構造情報も含んでいるから、上記直交変換を施せ
ば、L”から明度情報成分と構造情報成分が抽出される
。以下の実施例では、これらの直交変換のうち、2次の
Hadamard変換を用いる。−数的な2次Hada
mard変換は、(F) = (1/m−n ) ”2
(H)(L)(H”)で表わされる。ここで、 (L):  mxnの元マトリクス (H)  :  Hadamardマトリクス(H”)
:   (H)の転置行列 (F)  :  rr、xnの変換後のマトリクスであ
る。
Discrete CO5 conversion is suitable. That is, since L'' includes structural information in addition to brightness information, by performing the above orthogonal transformation, the brightness information component and the structural information component are extracted from L''. In the following embodiments, a second-order Hadamard transform among these orthogonal transforms is used. -Numerical second-order Hada
The mard transformation is (F) = (1/m-n) ”2
It is expressed as (H) (L) (H"). Here, (L): mxn original matrix (H): Hadamard matrix (H")
: Transposed matrix of (H) (F) : Matrix after transformation of rr, xn.

ここで、 として、(L)を前述のL” a’ b’″系のLlと
すれば、(F)は(L)から)Iadamard変換し
て得た、明度情報、構造情報抽出された画像データを表
ねことになる。この場合、(1/mn) l/2〜4と
なる。又、便宜上、(L)(F)をベクトル表示で行な
えば、上式は、 F 皿    =(1/4)  Σ HIjLj但し、
i=o〜15(即ち、。〜2)で、、HIJは16 x
 16  Hadamardマトリクスを表わす。
Here, if (L) is Ll of the above-mentioned L"a'b'" system, then (F) is the image obtained by Iadamard transformation from (L), from which brightness information and structure information have been extracted. It will represent the data. In this case, it is (1/mn) l/2 to 4. Also, for convenience, if (L) and (F) are expressed in vector representation, the above equation becomes: F plate = (1/4) Σ HIjLj However,
i=o~15 (i.e. ~2), and HIJ is 16 x
16 represents the Hadamard matrix.

従って、上式は となる。尚、Hadamardマトリクス中の+は1を
、−は−1を表わす。
Therefore, the above formula becomes. Note that + in the Hadamard matrix represents 1, and - represents -1.

上式からも分かるようにF。はブロック内の平均明度、
即ち、ブロックの明度情報を表わす。
As can be seen from the above formula, F. is the average brightness within the block,
That is, it represents the brightness information of the block.

又、F0以外のFl  (i=1〜F)によりプロツり
に含まれるエツジ等の構造情報を表わす。
Further, Fl (i=1 to F) other than F0 represents structural information such as edges included in the plot.

〈符号化回路の実施例〉 第1図は本発明に係る符号化の実施例を示している。3
01は入力されたRGB信号をブロック切り出しの為に
一時蓄える4ラインのバッファである。即ち、−旦蓄え
られた4ライン分の信号を、4×4のサイズで読み出す
事により、ブロック切り出しを行う。302は、RGB
−+L” a”b″変換行う回路であり、先に示した変
換式に基づき変換される。その具体例を示したのが第6
図の回路であり、変換は第6図の401゜402.40
3のルックアップテーブル方式により実現可能である。
<Embodiment of Encoding Circuit> FIG. 1 shows an embodiment of encoding according to the present invention. 3
01 is a 4-line buffer that temporarily stores input RGB signals for block extraction. That is, blocks are cut out by reading out signals for four lines that have been stored in a size of 4×4. 302 is RGB
-+L"a"b" conversion circuit, which is converted based on the conversion formula shown earlier. A specific example of this is shown in the sixth section.
This is the circuit shown in the figure, and the conversion is 401°402.40 in Fig.6.
This can be realized using the look-up table method described in No. 3.

303は、L″a″b″変換部302からのL”出力で
あり、第5図(C)に示したし“のブロックし。、LL
+・・・、L、の順に出力される信号である。
303 is the L" output from the L"a"b" converting unit 302, and is the block shown in FIG. 5(C).
The signals are output in the order of +..., L, and so on.

第1図の304は直交変換部であり、直交変換としてt
l a d a [Oa r d変換を行う場合の具体
的回路を第7図に示す。第7図において、410はマト
リクス演算を行う際の行方向のアドレスを発生するHa
daiardマトリクスアドレス発生器であり、上記マ
トリクス演算を行うために、入力のLlに同期してHI
Jを出力する。411等は人力Llに11 a d a
 m a r d行列の係数を乗算して出力するルック
アップテーブル(LUT)であり、上記マトリクス演算
を行うために、 Hadamardマトリクスアドレス
発生器410が入力のLlに同期してルックアップテー
ブルをアドレスすると、ルックアップテーブルでは、H
adamard係数が出力されると共に、Llと 11
 a d a m a r d係数め乗算が行われる。
304 in FIG. 1 is an orthogonal transform unit, and t
A specific circuit for performing l a d a [O a r d conversion is shown in FIG. In FIG. 7, 410 is a Ha that generates addresses in the row direction when performing matrix operations.
This is a daird matrix address generator, and in order to perform the above matrix operation, it is HI in synchronization with the input Ll.
Output J. 411 etc. is 11 a da a to human power Ll
This is a look-up table (LUT) that multiplies the coefficients of the m a r d matrix and outputs the result. In order to perform the above matrix operation, when the Hadamard matrix address generator 410 addresses the look-up table in synchronization with the input Ll. , in the lookup table, H
The adamard coefficient is output, and Ll and 11
Multiplication is performed by the ad a m a r d coefficient.

412は累積加算を行う加算器であり、例えば加算器4
11では、Lo +LljL2 +=+LPが演算され
る。413は 1/4除算器である。
412 is an adder that performs cumulative addition; for example, adder 4
11, Lo +LljL2 +=+LP is calculated. 413 is a 1/4 divider.

以下、415〜418は同様であり、計16組存在する
。即ち、F、毎に存在し、以下の様な演算が実行される
Below, 415 to 418 are the same, and there are a total of 16 sets. That is, it exists for each F, and the following operations are executed.

FO=  1/4(Lo +t、、 +t、2+・・・
+LF)Fr =  1/4(Lo  Ll−L2+・
・・+LF)第1図中、305はこの出の内のF。であ
り、これは前述したようにブロックの明度を代表する係
数である。307はこれを量子化する量子化器で、Fo
の10ビツトを8ビツトに量子化し、しく明度情報)3
08を出力する。
FO = 1/4 (Lo +t,, +t, 2+...
+LF) Fr = 1/4 (Lo Ll-L2+・
...+LF) In Figure 1, 305 is F in this output. As mentioned above, this is a coefficient representing the brightness of the block. 307 is a quantizer that quantizes this, and Fo
The 10 bits of the image are quantized to 8 bits to obtain brightness information) 3
Outputs 08.

306はF0以外のF1〜F「の係数であり、これは前
述したようにブロックに含まれるエッチの構造を代表す
る係数であり、量子化器309により12ビツトにコー
ド化される。即ち、構造情報(S)として事前に定めた
4096種のパターンに丸められる事となる。
306 is a coefficient of F1 to F'' other than F0, and as described above, this is a coefficient representing the structure of the etch included in the block, and is encoded into 12 bits by the quantizer 309. That is, the structure The information (S) is rounded into 4096 predetermined patterns.

第1図の311,312は各々L’ a” l)”変換
器302の出力であるa”、b”の夫々についてブロッ
ク平均をとる平均回路であり、加算器と除算器で構成さ
れる。313は、a″b′のブロック平均値をまとめて
量子化する量子化器であり、12ビツトの色情報(C)
に量子化する。
Reference numerals 311 and 312 in FIG. 1 denote averaging circuits for taking block averages of a'' and b'', respectively, which are the outputs of the L'a''l)'' converter 302, and are composed of an adder and a divider. 313 is a quantizer that collectively quantizes the block average values of a″b′, and quantizes the 12-bit color information (C).
Quantize to

尚、307,309,313のいずれの量子化器も通常
、ベクトル量子化器で構成されれば効率が良いことが知
られている。
Incidentally, it is known that all of the quantizers 307, 309, and 313 are generally efficient if they are configured as vector quantizers.

第1図の315は、これまで説明した明度情報(L)3
08.構造情報(S)310、色情報(C)314を一
つの符号にまとめるマルチブレフサである。316はこ
れの出力信号、即ち、第2図(a)に示した符号化コー
ドである。これが、伝送路又は蓄積器に送られる事にな
る。そして、このように符号化されたカラー画像データ
は高能率に圧縮されたものであると同時に、次に述べる
データ変換に対しても、データ変換が簡単になる等、そ
の特長を大いに発揮する。
315 in FIG. 1 is the brightness information (L) 3 explained so far.
08. This is a multi-blephr that combines structure information (S) 310 and color information (C) 314 into one code. 316 is the output signal thereof, that is, the encoded code shown in FIG. 2(a). This will be sent to the transmission line or accumulator. The color image data encoded in this manner is highly efficiently compressed, and at the same time exhibits its advantages, such as the ease of data conversion described below.

〈データ変換=復号化〉 第2図(b)、第3図、第4図に関連して説明したよう
に、第2図(a)のように符号化されたカラー画像デー
タは、構造変換、明度変換又は色変換に好都合である。
<Data conversion = decoding> As explained in relation to FIG. 2(b), FIG. 3, and FIG. 4, the color image data encoded as shown in FIG. 2(a) undergoes structural transformation. , convenient for brightness conversion or color conversion.

先ず明度変換について説明する。First, brightness conversion will be explained.

く明度変換〉 第8図中、320は伝送路又は蓄積器、321はマルチ
プレクサ315と逆の作用を施すDMUXである。即ち
、シリアルの明度情報、構造情報等をパラレルに変換す
る。322は明度変換を行う変換部、明度変換部322
に人力する323は、明度変換の度合を入力するもので
、8ビツトの制御量である。第10図に明度変換部32
2をルックアップテーブル(LUT)で構成した場合の
回路例を示す。この明度変換が行われると、LからL′
となる。第11図は8ビツトの明度変換量323の一例
であり、この場合のとり得る値の範囲は0〜255であ
る。全部で256段階の明るさに変化でき、128が変
化無しのデフォルト値である。
Brightness Conversion> In FIG. 8, 320 is a transmission line or an accumulator, and 321 is a DMUX that performs an operation opposite to that of the multiplexer 315. That is, serial brightness information, structure information, etc. are converted into parallel information. 322 is a conversion unit that performs brightness conversion; brightness conversion unit 322
The manual input 323 is for inputting the degree of brightness conversion, which is an 8-bit control amount. Figure 10 shows the brightness conversion section 32.
An example of a circuit when 2 is configured with a look-up table (LUT) is shown below. When this brightness conversion is performed, L to L'
becomes. FIG. 11 shows an example of the 8-bit brightness conversion amount 323, and the range of possible values in this case is 0 to 255. The brightness can be changed to 256 levels in total, and 128 is the default value with no change.

第8図の325は直交逆変換器であり、符号時に使用し
た第1図の直交変換器304と同じハードで構成可能な
ものである。又、326は構造情報(S)の復号用、3
27はその出力、328.329は各々a’b”復号用
、33o。
Reference numeral 325 in FIG. 8 is an orthogonal inverse transformer, which can be configured with the same hardware as the orthogonal transformer 304 in FIG. 1 used for encoding. Further, 326 is for decoding the structure information (S), 3
27 is its output, 328 and 329 are each for a'b'' decoding, and 33o.

331.332は各々復号されたLll aIl b−
信号であり、333,335,337は各々R’、G’
、B’復号の為の、334,336゜338は復号され
たR’、G’、B’の出力ラインである。このようにし
て、明度の変換が簡単に行われる。
331.332 are each decoded Lll aIl b-
333, 335, 337 are R', G' respectively.
, B' for decoding, 334, 336° and 338 are output lines of decoded R', G', and B'. In this way, the brightness conversion is easily performed.

く色変換〉 第11図は色情報(C)のデータ形式を表わしており、
色情報(C)は、a *  b *空間で、色相(θ)
と彩度(h)により表わされる。色相りと彩度θとの関
係は第12図(a)のごときである。第12図(C)は
、a”−b″空間上での分割の様子を示しており、50
1で示す様な各格子点が、第1図の量子化回路313に
より代表色として選択される。
Color conversion〉 Figure 11 shows the data format of color information (C).
Color information (C) is the hue (θ) in a*b* space.
and saturation (h). The relationship between hue and saturation θ is as shown in FIG. 12(a). FIG. 12(C) shows the state of division on the a"-b" space, with 50
Each grid point as indicated by 1 is selected as a representative color by the quantization circuit 313 in FIG.

第13図に、色変換を行って復号化を行う変換復号化回
路の実施例を示す。第8図の明度変換を行う回路と異な
る部分は明度変換部322の代りに、色データ変換部1
00が具備されていることである。どのように色データ
を変換するかを指示する量は色変換量制御線101によ
り色データ変換部100に入力される。色変換された色
情報はC′となる。第14図に色データ変換部100を
ルックアップテーブルにて構成した場合の回路例を示す
FIG. 13 shows an embodiment of a conversion/decoding circuit that performs color conversion and decoding. The circuit that differs from the brightness conversion circuit shown in FIG.
00 is provided. A quantity instructing how to convert color data is input to the color data converting section 100 via a color conversion amount control line 101. The color information after color conversion becomes C'. FIG. 14 shows an example of a circuit in which the color data converter 100 is configured with a look-up table.

次に色の変換方法であるが、第15図(a)(b)に示
す様に行われる。尚、変換量データの内分けは8ビツト
の内、上位4ビツトで色相θを、下位4ビツトで彩度り
の変化量を与える。
Next, the color conversion method is performed as shown in FIGS. 15(a) and 15(b). The conversion amount data is internally divided into 8 bits, with the upper 4 bits giving the hue θ and the lower 4 bits giving the amount of change in saturation.

〈構造変換ン 第16図に構造変換の回路例を示す。尚、第8図、第1
3図と同じ参照番号は同じ機能を果たすものである。第
16図中、320は伝送路又は蓄積器、321はマルチ
プレクサ315と逆の作用を施すDMUXである。即ち
、シリアルの色情報、明度情報、構造情報等をパラレル
に変換する。200は構造変換を行う構造変換部(以下
Sデータ変換部)、Sデータ変換部200に人力する2
23は、構造変換の有無を入力するものである。
<Structural Conversion> Figure 16 shows an example of a circuit for structural conversion. In addition, Fig. 8, 1st
The same reference numbers as in Figure 3 serve the same function. In FIG. 16, 320 is a transmission path or an accumulator, and 321 is a DMUX that performs the opposite action to that of the multiplexer 315. That is, serial color information, brightness information, structure information, etc. are converted into parallel information. 200 is a structure conversion unit (hereinafter referred to as S data conversion unit) that performs structural conversion;
23 is for inputting whether or not there is structural conversion.

第17図にSデータ変換部200をルックアップテーブ
ル(LUT)で構成した場合の回路例を示す。この構造
変換が行われるとSからS′となる。339は、伝送路
又は蓄積器に設けられている最低1画面分のバッファメ
モリ部のアドレス管理部である。
FIG. 17 shows an example of a circuit in which the S data conversion section 200 is configured with a look-up table (LUT). When this structural conversion is performed, S becomes S'. Reference numeral 339 denotes an address management section of a buffer memory section for at least one screen provided in a transmission line or an accumulator.

以下に構造変換の例として、アダマール変換の特性を利
用した90°回転の方法について説明する。第18図は
90°回転の様子を示している。
As an example of structural transformation, a 90° rotation method using Hadamard transformation characteristics will be described below. FIG. 18 shows a 90° rotation.

これについて第19図(a)、(b)、第20図により
説明する。
This will be explained with reference to FIGS. 19(a), (b) and FIG. 20.

第11図(a)、(b)は元データXとアダマール変換
後のデータYの例であり、第11図(a)のXに対して
矢印方向に回転したものが、第11図(b)のXである
。一方、アダマール変換後のデータYの(a)と(b)
との関係は、A′軸に対して鏡像の関係にある。即ち、
第3図(a)の構造情報について、非変換情報のA′軸
鏡像にあるデータの符号を変換情報として置き換えれば
、画像の90°回転が可能になる。
Figures 11(a) and (b) are examples of original data X and data Y after Hadamard transformation. ) is X. On the other hand, (a) and (b) of data Y after Hadamard transformation
The relationship is a mirror image with respect to the A' axis. That is,
Regarding the structural information in FIG. 3(a), if the code of the data in the A'-axis mirror image of the unconverted information is replaced as the converted information, it becomes possible to rotate the image by 90 degrees.

この様子を示しているのが第20図である。FIG. 20 shows this situation.

図中、aは原画像であり、第19図(a)。In the figure, a is the original image, FIG. 19(a).

(b)で説明した処理により得られた画像がbであり、
aの鏡像となっている。但し、図中矢印で示しているの
は走査方向であり、伝送路又は蓄積器320へ書き込ま
れる方向とは異なっている(書き込みは水平方向へ)こ
れを操作するのがバッファメモリ・アドレス管理部33
9である。
The image obtained by the process described in (b) is b,
It is a mirror image of a. However, the direction indicated by the arrow in the figure is the scanning direction, which is different from the direction in which data is written to the transmission path or the storage device 320 (writing is in the horizontal direction).The buffer memory address management unit operates this direction. 33
It is 9.

この様にして得られた鏡像に対して、プリンタへ出力す
る際のバッファメモリ(ラインメモリ又はページメモリ
)への書き込み読み出し方向を逆にすることで、鏡像を
正しい位置の像に修正する。
The mirror image obtained in this manner is corrected to an image in the correct position by reversing the writing/reading direction of the buffer memory (line memory or page memory) when outputting to the printer.

即ち、第20図のCに示す矢印の方向に読み出された画
像データを、プリンタではdに示す矢印の方向に印字す
る。
That is, the image data read out in the direction of the arrow shown at C in FIG. 20 is printed in the direction of the arrow shown at d in the printer.

第16図の325は直交逆変換器であり、符号時に使用
した第1図の直交変換器304と同じハードで構成可能
なものである。又、326は構造情報(S)の復号用、
327はその出力、328.329は各々a″b1復号
用、33o。
Reference numeral 325 in FIG. 16 is an orthogonal inverse transformer, which can be configured with the same hardware as the orthogonal transformer 304 in FIG. 1 used for encoding. Also, 326 is for decoding the structure information (S),
327 is its output, 328 and 329 are each for a″b1 decoding, and 33o.

331.332は各々復号されたL” a″b0b0信
号、333’、335’、337’は各々Y、M、C復
号の為の、334′、336”。
331 and 332 are respectively decoded L"a"b0b0 signals, 333', 335' and 337' are 334' and 336" for Y, M and C decoding, respectively.

338′は復号されたY(イエロー)1M(マゼンタ)
、C(シアン)の出力ラインである。このようにして、
構造の変換が簡単に行われる。
338' is decoded Y (yellow) 1M (magenta)
, C (cyan) output line. In this way,
Structural transformations are easily performed.

く変形例〉 以上説明してきた実施例では、L” a” b′で示し
たが、L” u’ v” 、又はNTSC方式のYIQ
、PAL、又はYUV等でも対応可能である。
In the embodiments described above, L"a"b' is used, but L"u'v" or NTSC YIQ
, PAL, YUV, etc. are also applicable.

また、直交変換はHadamard変換で示したが、離
散的COS変換、又はスラント変換等でも可能である。
Further, although the orthogonal transformation is shown as Hadamard transformation, it is also possible to use discrete COS transformation, slant transformation, or the like.

また量子化器はベクトル量子化と記したが、特に限定は
しない。尚、明度情報り、構造情報S1色情報Cのビッ
ト配分も、前述の実施例に示したものに限らない。
Further, although the quantizer is described as vector quantization, there is no particular limitation. Note that the bit allocation of the brightness information, structure information S1, and color information C is not limited to that shown in the above embodiment.

また入力信号はRGBに限らず、センサによってはYG
C等の入力も考えられる。
In addition, the input signal is not limited to RGB, but depending on the sensor, YG
An input such as C may also be considered.

又、第1図中、a″b″は平均値で代表するようにした
が、もつと詳細に保存しても良い。又、実施例中、C(
色情報)の表わし方は、色相十彩度で示したが、この限
りではない。
Further, in FIG. 1, a"b" is represented by an average value, but it may be stored in more detail. In addition, in the examples, C(
Although the color information is expressed in terms of hue and saturation, it is not limited to this.

本実施例では復号時に変換する例で示したが、第21図
に示す様に、復号する以前、即ち蓄積部で変換した後に
復号する方法、あるいは第22図に示した様に符号化後
に変換して蓄積、又は伝送部へと出力する方法もある。
In this embodiment, an example of conversion at the time of decoding is shown, but as shown in FIG. 21, there is a method of decoding before decoding, that is, after conversion in the storage section, or a method of decoding after conversion as shown in FIG. 22, after encoding. There is also a method of storing it or outputting it to a transmission section.

[発明の効果コ 以上説明したように、本発明によれば、明度。[Effects of invention As explained above, according to the present invention, brightness.

構造8色度各々を代表する要素に分離・符号化されたカ
ラー画像データは、符号化データのまま、構造情報のみ
ならず明度情報1色度情報のみをも変換加工する事が可
能となる。
Color image data that has been separated and encoded into elements representing each of the eight structural chromaticities can be converted and processed not only for the structural information but also for the lightness information and chromaticity information, while remaining as encoded data.

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

第1図は本発明の実施例に係る符号化回路の構成図、 第2図(a)は本実施例の符号化により符号化されたカ
ラー画像データの構成を示す図、第2図(b)は構造変
換において、データ加工する部分を示す図、 第3図、第4図はそれぞれ明度変換2色変換において、
データ加工する部分を示す図、第5図(a)は実施例中
のカラー画像データの一例を示す図、 第5図(b)、(C)は夫々、カラー画像データのエツ
ジ部分をRGB又はL’ a” b”で表わしたときの
図、 第6図はL″a’b′変換部の構成図、第7図は直交変
換部の構成図、 第8図、第9図は明度変換を行なって復号化する回路図
、 第10図は明度変換の変換例を示す図、第11図は色情
報Cの構成を示す図、 第12図(a)、(b)は色情報のうち、色相θと彩度
りとの関係を示す図、 第13図、第14図は色変換を行なって復号化する実施
例の回路図、 第15図(a)、(b)は色データ変換の変換例を示す
図である。 第16図、第17図は構造変換を行って復号化する回路
図、 第18図は構造変換の一つ、90°回転の様子を示す図
、 第19図(a)、(b)はアダマール変換による対称性
の説明図、 第20図は一連の処理を示す図、 第21図、第22図は構造変換の他の実施例である。 図中、100・・・色データ変換部、200・・・Sデ
ータ変換部、302・・・L″a’b“変換部、304
・・・直交変換部、307,309,313・・・量子
化部、311・・・a”平均部、312・・・b″平均
部、315・・・MUX、320・・・伝送路又は蓄積
器、321・・・DMUX、322・・・Lデータ変換
部、325・・・直交逆変換部、326・・・Y復号L
UT、328・”a”復号LUT、329・ b”復号
LUT、333・・・R復号LUT、333′・・・Y
復号LUT、335・・・G復号LUT。 335′・・・M復号LUT、337・・・B復号LU
T、337 ’−C復号LUT、339・・・バッファ
メモリ・アドレス管理部である。
FIG. 1 is a block diagram of an encoding circuit according to an embodiment of the present invention, FIG. 2(a) is a diagram showing the structure of color image data encoded by the encoding of this embodiment, ) is a diagram showing the data processing part in structural conversion, Figures 3 and 4 are respectively in brightness conversion and two-color conversion,
FIG. 5(a) is a diagram showing an example of color image data in the example. FIGS. Figure 6 is a block diagram of the L'a'b' conversion section, Figure 7 is a block diagram of the orthogonal transformation section, and Figures 8 and 9 are the brightness conversion. Fig. 10 is a diagram showing an example of brightness conversion, Fig. 11 is a diagram showing the structure of color information C, and Fig. 12 (a) and (b) are diagrams showing the configuration of color information C. , a diagram showing the relationship between hue θ and saturation, Figures 13 and 14 are circuit diagrams of an embodiment that performs color conversion and decoding, and Figures 15 (a) and (b) are color data conversion Fig. 16 and Fig. 17 are circuit diagrams for performing structural conversion and decoding, Fig. 18 is a diagram showing one of the structural conversions, 90° rotation, and Fig. 19. (a) and (b) are explanatory diagrams of symmetry by Hadamard transformation, Figure 20 is a diagram showing a series of processing, and Figures 21 and 22 are other examples of structural transformation. In the figure, 100 . . . Color data conversion section, 200 . . . S data conversion section, 302 . . . L"a'b" conversion section, 304
...Orthogonal transformation section, 307, 309, 313... quantization section, 311...a" averaging section, 312...b" averaging section, 315...MUX, 320... transmission line or Accumulator, 321...DMUX, 322...L data conversion section, 325...Orthogonal inverse transformation section, 326...Y decoding L
UT, 328・“a” decoding LUT, 329・b” decoding LUT, 333...R decoding LUT, 333'...Y
Decoding LUT, 335...G decoding LUT. 335'...M decoding LUT, 337...B decoding LU
T, 337'-C decoding LUT, 339...Buffer memory address management section.

Claims (7)

【特許請求の範囲】[Claims] (1)カラー画像データをブロックに分割する分割手段
と、 該ブロック中から明度に関連する明度情報と、構造に関
連する構造情報と、色に関連する色情報とを抽出する抽
出手段と、 前記抽出された明度情報と構造情報と色情報とを量子化
する量子化手段と、 これら量子化された情報のうち、構造情報に加工処理を
加える加工手段とを備える事を特徴とするカラー画像デ
ータ変換方式。
(1) dividing means for dividing color image data into blocks; extraction means for extracting brightness information related to brightness, structural information related to structure, and color information related to color from the blocks; Color image data characterized by comprising: quantization means for quantizing the extracted brightness information, structure information, and color information; and processing means for processing the structure information among these quantized information. Conversion method.
(2)前記加工手段は、符号化後の構造を表わすコード
同志で行う事を特徴とする特許請求の範囲第1項に記載
のカラー画像データ変換方式。
(2) The color image data conversion method according to claim 1, wherein the processing means performs the processing using codes representing a structure after encoding.
(3)前記加工手段は、直交変換マトリクスが持つ対称
性を利用した事を特徴とする特許請求の範囲を第1項に
記載のカラー画像データ変換方式。
(3) The color image data conversion method according to claim 1, wherein the processing means utilizes symmetry of an orthogonal transformation matrix.
(4)前記カラー画像データは、信号間相関が弱い信号
系で表わされる事を特徴とする特許請求の範囲第1項に
記載のカラー画像データ変換方式。
(4) The color image data conversion method according to claim 1, wherein the color image data is represented by a signal system with weak inter-signal correlation.
(5)前記カラー画像データはL^*a^*b^*で表
わされる事を特徴とする特許請求の範囲第4項に記載の
カラー画像データ符号化方式。
(5) The color image data encoding method according to claim 4, wherein the color image data is expressed as L^*a^*b^*.
(6)前記抽出手段は直交変換手段を含みブロック内の
明るさの成分について直交変換を行い、前記明度情報及
び構造情報を抽出する事を特徴とする特許請求の範囲第
1項記載のカラー画像データ変換方式。
(6) The color image according to claim 1, wherein the extraction means includes orthogonal transformation means and performs orthogonal transformation on brightness components within the block to extract the brightness information and structure information. Data conversion method.
(7)カラー画像データをブロックに分割する分割手段
と、 該ブロック中から明度に関連する明度情報と、構造に関
連する構造情報と、色に関連する色情報とを抽出する抽
出手段と、 前記抽出された明度情報と構造情報と色情報とを量子化
する量子化手段と、 これら量子化された情報のうち、構造情報に加工処理を
加える加工手段と、 これら量子化された情報のうち、明度情報もしくは色情
報に加工処理を加える第2の加工手段とを備える事を特
徴とするカラー画像データ変換方式。
(7) a dividing means for dividing color image data into blocks; an extracting means for extracting brightness information related to brightness, structural information related to structure, and color information related to color from the blocks; quantization means for quantizing the extracted brightness information, structure information, and color information; processing means for processing the structure information among these quantized information; A color image data conversion method comprising: second processing means for applying processing to brightness information or color information.
JP29214387A 1987-11-20 1987-11-20 Image processing device Expired - Fee Related JP2833649B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29214387A JP2833649B2 (en) 1987-11-20 1987-11-20 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29214387A JP2833649B2 (en) 1987-11-20 1987-11-20 Image processing device

Publications (2)

Publication Number Publication Date
JPH01134681A true JPH01134681A (en) 1989-05-26
JP2833649B2 JP2833649B2 (en) 1998-12-09

Family

ID=17778099

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29214387A Expired - Fee Related JP2833649B2 (en) 1987-11-20 1987-11-20 Image processing device

Country Status (1)

Country Link
JP (1) JP2833649B2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IEEE TRANSACTIONS ON COMMUNICAATION TECHNOLOGY=1971 *

Also Published As

Publication number Publication date
JP2833649B2 (en) 1998-12-09

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
JP5052569B2 (en) Image compression apparatus, image compression method, image expansion apparatus, image expansion method, image forming apparatus, computer program, and recording medium
US6097838A (en) Color correction of a compressed image
US7499592B2 (en) Image decoding apparatus and its control method
US7551796B2 (en) Image processing apparatus, image data generation and transmission method and image data generation and transmission program
US20050276500A1 (en) Image encoding apparatus, and image processing apparatus and its control method
CN101064766B (en) Image processing method and image processing apparatus
KR100730614B1 (en) Image data processing apparatus and method using error diffusion
JP2000138836A (en) Compressor for digital image including background pixels
JPH11313210A (en) Communication equipment and communication method
JP2605028B2 (en) Color image data converter
JP3199828B2 (en) Color image processing equipment
JP2618944B2 (en) Coding method of color image information
JPH01134681A (en) System for converting color picture data
JP2940913B2 (en) Color image data encoding device
JPH01135266A (en) System for converting color image data
JP2992189B2 (en) Decryption method
JPH0797829B2 (en) Color image input / output device
JPH0763177B2 (en) Image information coding device
JP2001016457A (en) Picture processor and picture processing method
JPH0799853B2 (en) Image data compression / decompression method for printing
JPH0353767A (en) Picture data compression and restoration system for print
JPH0787333A (en) Color image data coding method
JPH06152973A (en) Method and device for compressing color picture
JPH07245711A (en) Color facsimile equipment

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees