JPH04307894A - Compression and display system for color picture data and compressing device for color picture data - Google Patents

Compression and display system for color picture data and compressing device for color picture data

Info

Publication number
JPH04307894A
JPH04307894A JP3072890A JP7289091A JPH04307894A JP H04307894 A JPH04307894 A JP H04307894A JP 3072890 A JP3072890 A JP 3072890A JP 7289091 A JP7289091 A JP 7289091A JP H04307894 A JPH04307894 A JP H04307894A
Authority
JP
Japan
Prior art keywords
bits
color
data
bit
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.)
Pending
Application number
JP3072890A
Other languages
Japanese (ja)
Inventor
Mikio Fujiwara
藤原 美貴雄
Takayuki Minemaru
峰丸 貴行
Hisashi Takayama
久 高山
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3072890A priority Critical patent/JPH04307894A/en
Publication of JPH04307894A publication Critical patent/JPH04307894A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Color Television Systems (AREA)

Abstract

PURPOSE:To hold 1.5n bits with the frame memory capacity of n bits per picture element by converting 3n-bit full color data consisting of n-bit R, G, and B color data to an YIQ signal system and allowing an average value to represent each picture element of a signal Y and allowing average values to represent plural adjacent picture elements of I and Q and quantizing respective average values. CONSTITUTION:A color signal is converted to a luminance signal Y(i, j) and color information I(i, j) and Q(i, j) by a 3X3 matrix converter 1. Average values of two adjacent picture elements are obtained by adders 3 and 4 with respect to color information I and Q and are quantized by quantizers 5 and 6. The signal Y is quantized by a quantizer 2. The time difference between the Y processing system and the I and Q processing system is absorbed by a delay buffer 7, and a an output signal Y''(i, j) from the delay buffer and an output I''(2i, j) in the even picture element period and an output Q''(2i+1, J) in the odd picture element period from a multiplexer 8 are synthesized to obtain a picture signal having 8 bits per picture element (upper four bits are Y''(i, j) and lower four bits are I'' or Q'').

Description

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

【0001】0001

【産業上の利用分野】本発明は、RGB各色がnビット
で表現される3nビットのカラー画像データを、一画素
がnビット長のフレームメモリを具備しルックアップテ
ーブルを用いて23n色中2(1.5n)色まで表示可
能なカラー画像表示装置のためのカラー画像データの圧
縮及び表示方式とカラー画像データの圧縮装置に関する
[Industrial Application Field] The present invention is a method for processing color image data of 3n bits in which each color of RGB is expressed by n bits by using a look-up table with a frame memory in which each pixel has a length of n bits. This invention relates to a color image data compression and display method for a color image display device capable of displaying up to (1.5n) colors, and a color image data compression device.

【0002】0002

【従来の技術】RGB各色が8ビットで表現される24
ビットのカラーデータを、一画素が8ビット長のフレー
ムメモリしか持たないシステムで表示を行なう場合、従
来の方法では、(1)RGB各8ビットより各色のMS
B側よりRについて3ビット、Gについて3ビット、B
について2ビットと言うように線形に量子化する方法や
、(2)RGB各色について、処理対象の1フレーム分
のカラー画像データのヒストグラムを計算し、累積ヒス
トグラムを写像関数として、ヒストグラム平滑化の手法
で非線形量子化を行ないRを3ビット、Gを3ビット、
Bを2ビットとする方法がある。
[Prior Art] Each color of RGB is represented by 8 bits.
When displaying bit color data in a system where one pixel only has a frame memory of 8 bits long, the conventional method is to (1) display the MS of each color from 8 bits each of RGB;
From the B side, 3 bits for R, 3 bits for G, B
(2) For each RGB color, calculate the histogram of one frame of color image data to be processed, and use the cumulative histogram as a mapping function to smooth the histogram. Perform nonlinear quantization with R to 3 bits, G to 3 bits,
There is a method of setting B to 2 bits.

【0003】0003

【発明が解決しようとする課題】しかしながら、これら
の方法では、データ長を短くするための量子化処理が、
各色要素単位になされるために、それらの組み合わせで
表現される色相、彩度、明度でのずれが著しくなり、原
画像の画質色合いともにかけ離れたものになってしまう
という問題点があった。
[Problem to be Solved by the Invention] However, in these methods, the quantization process to shorten the data length is
Since this is done for each color element, there is a problem in that the hue, saturation, and lightness expressed by the combination of these elements are significantly different from each other, and the quality and tone of the original image are far different from each other.

【0004】本発明はかかる点に鑑み、人間の色彩に対
する生理的認識要素を考慮し、カラー画像データを1/
3に圧縮することで、従来パソコンや低価格なワークス
テーションで用いられているフレームメモリ量を増やす
ことなく、一画素に対する情報を1.5nビットまで保
持することが可能であることを特徴とするカラー画像デ
ータの圧縮方式とカラー画像データの圧縮装置を提供す
ることを目的とする。
[0004] In view of this, the present invention takes into consideration the physiological recognition factors of human beings regarding colors, and reduces color image data to 1/1/2.
3, it is possible to hold up to 1.5n bits of information for one pixel without increasing the amount of frame memory conventionally used in personal computers and low-cost workstations. An object of the present invention is to provide a color image data compression method and a color image data compression device.

【0005】また本発明は上記量子化の逆変換に対応す
るカラールックアップテーブルを準備することにより、
色彩再現性の優れたカラー画像データの表示方式を提供
することを目的とする。
[0005] Furthermore, the present invention provides a color look-up table corresponding to the inverse transformation of the quantization, so that
The purpose of the present invention is to provide a method for displaying color image data with excellent color reproducibility.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明のカラー画像データの圧縮方式は、原画像
のRGB信号を輝度信号と二種類の色情報、たとえばN
TSCのYIQ信号系やSECAMのY,Y−R,Y−
B信号系等、に変換し、輝度信号は一画素単位で量子化
し、色情報は、隣接する複数画素から、間引きや平均値
算出により代表値を求め、その後に量子化することで、
データ量を圧縮するものである。
[Means for Solving the Problems] In order to achieve the above object, the color image data compression method of the present invention converts the RGB signals of the original image into a luminance signal and two types of color information, for example, N
TSC's YIQ signal system and SECAM's Y, Y-R, Y-
The luminance signal is quantized on a pixel-by-pixel basis, and the color information is obtained by thinning out or calculating the average value from adjacent pixels, and then quantizing it.
It compresses the amount of data.

【0007】また本発明のカラー画像データの圧縮方式
は、その後前記量子化の逆変換に対応するルックアップ
テーブルを用いて表示することを特徴とする。
Furthermore, the color image data compression method of the present invention is characterized in that the data is then displayed using a lookup table corresponding to the inverse transformation of the quantization.

【0008】また、本発明のカラー画像データ圧縮装置
は、RGB信号を入力とし、各々がnビットからなる輝
度信号と二種類の色情報、たとえばNTSCのYIQ信
号系やSECAMのY,Y−R,Y−B信号系等に変換
する3×3マトリックス変換器と、前記輝度情報を一画
素毎にn/2ビットに量子化する第1の量子化器と、前
記の二種類の色情報を隣接する複数の画素から間引きや
平均値算出により代表値を取り出す第1、第2の代表値
演算回路と、この第1、第2の代表値演算回路の出力を
n/2ビットに量子化する第2、第3の量子化器と、前
記第2量子化器の出力と前記第3量子化器の出力を切り
替えるマルチプレクサと、前記第1の量子化器出力を遅
延させる遅延バッファと、この遅延バッファの出力をM
SB側のn/2ビットに取り込み、前記マルチプレクサ
の出力をLSB側のn/2ビットに取り込むnビットレ
ジスタと、そのnビットレジスタの出力を記憶する一画
素nビットのフレームメモリとを備えたものである。
The color image data compression device of the present invention receives RGB signals as input, and includes a luminance signal each consisting of n bits and two types of color information, such as the YIQ signal system of NTSC or the Y, Y-R of SECAM. , a 3×3 matrix converter that converts the luminance information into a Y-B signal system, etc.; a first quantizer that quantizes the luminance information into n/2 bits for each pixel; First and second representative value calculation circuits extract representative values from a plurality of adjacent pixels by thinning out or calculating an average value, and quantize the outputs of the first and second representative value calculation circuits to n/2 bits. second and third quantizers, a multiplexer that switches between the output of the second quantizer and the output of the third quantizer, a delay buffer that delays the output of the first quantizer, and a delay buffer that delays the output of the first quantizer; The output of the buffer is M
An n-bit register that captures the output of the multiplexer into n/2 bits on the SB side and n/2 bits on the LSB side, and a frame memory of n bits per pixel that stores the output of the n-bit register. It is.

【0009】[0009]

【作用】本発明は、色彩に対する生理的認識は色相、彩
度、明度によってなされることに着目し、原画像のRG
B信号を輝度信号と二種類の色情報たとえばNTSCの
YIQ信号系やSECAMのY,Y−R,Y−B信号系
等、に変換し、輝度信号については一画素毎にn/2ビ
ットに量子化し、色情報については、画面上の変化が輝
度信号よりも緩慢であることに着目し、隣接する複数画
素に対して、間引くか平均値を用いることでデータ量を
圧縮し、その後にn/2ビットに量子化することで、一
画素当たりのデータ量を1/3に圧縮することができ、
同時に、一画素当たりnビットのフレームメモリ容量で
、一画素に対する情報を1.5nビットまで保持するこ
とが可能である。また従来の手法に比較して、原画の再
現性の優れたカラー表示を実現することができる。
[Operation] The present invention focuses on the fact that physiological recognition of colors is done by hue, saturation, and brightness, and the RG of the original image.
The B signal is converted into a luminance signal and two types of color information, such as the NTSC YIQ signal system or the SECAM Y, Y-R, Y-B signal system, etc., and the luminance signal is converted into n/2 bits for each pixel. For color information, we focused on the fact that changes on the screen are slower than luminance signals, and compressed the amount of data by thinning out or using the average value for multiple adjacent pixels, and then By quantizing to /2 bits, the amount of data per pixel can be compressed to 1/3,
At the same time, with a frame memory capacity of n bits per pixel, it is possible to hold up to 1.5n bits of information for one pixel. Furthermore, compared to conventional methods, it is possible to realize color display with excellent reproducibility of the original image.

【0010】0010

【実施例】本発明の一実施例として、RGB 各8ビッ
トよりなる24ビットのフルカラー画像を、一画素当た
り8ビット長のデータに変換する方式と変換後のデータ
から12ビット入力のカラーパレットを用いて、近似的
にフルカラー表示を行なう場合を図を用いて説明する。
[Example] As an example of the present invention, we will introduce a method for converting a 24-bit full-color image consisting of 8 bits each for RGB into data with a length of 8 bits per pixel, and a method for converting a 12-bit input color palette from the converted data. A case in which approximate full-color display is performed by using the method will be explained with reference to the drawings.

【0011】図1は、RGB各8ビットよりなるフルカ
ラー画像(R(i,j),G(i,j),B(i,j)
)を入力データとし、YIQ各4ビットのデータに変換
し、8ビット長の信号列((Y’’(2i,j),I’
’(2i,j)),((Y’’(2i+1,j),Q’
’(2i+1,j))を合成する画像データの圧縮装置
をブロックレベルで示したものである。
FIG. 1 shows a full-color image (R(i,j), G(i,j), B(i,j) consisting of 8 bits each for RGB).
) as input data, convert it to 4-bit data for each YIQ, and create an 8-bit signal string ((Y'' (2i, j), I'
'(2i,j)), ((Y''(2i+1,j),Q'
'(2i+1,j)) is shown on a block level.

【0012】3×3のマトリックス変換器1は、(R(
i,j),G(i,j),B(i,j))の色信号を(
Y(i,j),I(i,j),Q(i,j))のYIQ
信号系に変換し、線形あるいは非線形の量子化器2は8
ビットのY(i,j)を4ビットのY’(i,j)に変
換する。第1の代表値演算回路となる加算器3はI(2
i,j)とI(2i+1,j)より平均値を求めるため
のもので、この結果I’(2i,j)=I’(2i+1
,j)=(I(2i,j)+I(2i+1,j))/2
となる。第2の代表値演算回路となる加算器4はQ(2
i,j)とQ(2i+1,j)より平均値を求めるため
のもので、この結果Q’(2i,j)=Q’(2i+1
,j)=(Q(2i,j)+Q(2i+1,j))/2
となる。線形あるいは非線形の量子化器5は加算器4よ
りの出力であるQ’(2i,j)及びQ’(2i+1,
j)を4ビットのQ’’(2i,j)及びQ’’(2i
+1,j)に変換する。線形あるいは非線形の量子化器
6は加算器3よりの出力であるI’(2i,j)及びI
’(2i+1,j)を4ビットのI’’(2i,j)及
びI’’(2i+1,j)に変換する。遅延バッファ7
はY信号の処理系とI,Q信号の処理系との処理時間の
差を吸収するための同期調整用で、マルチプレクサ8は
偶数画素時間ではI’’(2i,j)を選択し、奇数画
素時間ではQ’’(2i+1,j)を選択する。レジス
タ9は遅延バッファ7の出力である4ビットのY’’(
i,j)とマルチプレクサ8の出力であるI’’(2i
,j)およびQ’’(2i+1,j)より一画素当たり
8ビットの信号にまとめるためのものであり、この出力
が一画素8ビットの画像信号として記録及び表示に用い
られる。
The 3×3 matrix transformer 1 has the following functions: (R(
i, j), G(i, j), B(i, j)) as (
YIQ of Y(i,j), I(i,j), Q(i,j))
The linear or nonlinear quantizer 2 converts into a signal system, and the linear or nonlinear quantizer 2
Convert bit Y(i,j) to 4-bit Y'(i,j). The adder 3 serving as the first representative value arithmetic circuit is I(2
This is to find the average value from i, j) and I(2i+1, j), and the result is I'(2i, j)=I'(2i+1
,j)=(I(2i,j)+I(2i+1,j))/2
becomes. The adder 4 serving as the second representative value arithmetic circuit has Q(2
This is to calculate the average value from Q'(2i+1,j) and Q'(2i+1,j), and the result is Q'(2i,j)=Q'(2i+1
,j)=(Q(2i,j)+Q(2i+1,j))/2
becomes. A linear or nonlinear quantizer 5 outputs Q'(2i,j) and Q'(2i+1,
j) into 4-bit Q''(2i, j) and Q''(2i
+1,j). A linear or non-linear quantizer 6 outputs I'(2i,j) and I which are the outputs from the adder 3.
'(2i+1,j) is converted into 4-bit I''(2i,j) and I''(2i+1,j). delay buffer 7
is for synchronization adjustment to absorb the difference in processing time between the Y signal processing system and the I, Q signal processing system, and the multiplexer 8 selects I'' (2i, j) for even number pixel time and Q'' (2i+1,j) is selected for the pixel time. Register 9 stores the 4-bit Y'' (
i, j) and I'' (2i
, j) and Q'' (2i+1, j) into an 8-bit signal per pixel, and this output is used for recording and display as an 8-bit image signal per pixel.

【0013】次のこの処理系の動作を説明する。まず、
3×3マトリックス変換器1では(数1)が実行され、
RGB の色信号がYIQの信号系に変換される。この
時、有効ビット長は変化せず、変換後のY(i,j),
I(i,j),Q(i,j)は、それぞれ8ビットであ
る。Y(i,j)は輝度信号であり,I(i,j)とQ
(i,j)は色情報である。
Next, the operation of this processing system will be explained. first,
In the 3×3 matrix converter 1, (Equation 1) is executed,
RGB color signals are converted to YIQ signal system. At this time, the effective bit length does not change, and the converted Y(i,j),
I(i,j) and Q(i,j) are each 8 bits. Y(i,j) is the luminance signal, and I(i,j) and Q
(i, j) is color information.

【0014】[0014]

【数1】[Math 1]

【0015】次に輝度信号Y(i,j)は、線形あるい
は非線形量子化器2により、8ビットから4ビットに量
子化される。線形量子化の場合は、8ビットから上位4
ビットを選択することにより量子化される。非線形量子
化の場合は、従来例で述べたのと同様にY(i,j)の
ヒストグラムを一画面のデータに対して作成し、その累
積ヒストグラムを写像関数として非線形量子化を行なう
。色情報I,Qは一画面内での隣接画素間での変化が輝
度信号に比較して緩慢であることを利用して、複数の隣
接する画素での色情報I,Qをその領域での代表値を用
いることにより、データ量の圧縮をはかる。この例では
、加算器3,4により、隣接する二画素に対して平均値
を求める。この操作によりI’(2i,j)=I’(2
i+1,j)=(I(2i,j)+I(2i+1,j)
)/2とQ’(2i,j)=Q’(2i+1,j)=(
Q(2i,j)+Q(2i+1,j))/2となる。
Next, the luminance signal Y(i,j) is quantized from 8 bits to 4 bits by a linear or nonlinear quantizer 2. In the case of linear quantization, the upper 4 bits are
It is quantized by selecting bits. In the case of non-linear quantization, a histogram of Y(i, j) is created for one screen of data in the same way as described in the conventional example, and non-linear quantization is performed using the cumulative histogram as a mapping function. Taking advantage of the fact that the color information I, Q changes slowly between adjacent pixels within one screen compared to the luminance signal, the color information I, Q of multiple adjacent pixels is calculated in that area. By using representative values, the amount of data is compressed. In this example, adders 3 and 4 calculate the average value for two adjacent pixels. By this operation, I'(2i,j)=I'(2
i+1,j)=(I(2i,j)+I(2i+1,j)
)/2 and Q'(2i,j)=Q'(2i+1,j)=(
Q(2i,j)+Q(2i+1,j))/2.

【0016】この後に、輝度信号Yと同様に、線形ある
いは非線形量子化器5,6により、8ビットから4ビッ
トに量子化される。線形量子化の場合は、8ビットから
上位4ビットを選択することにより量子化される。非線
形量子化の場合は、従来例で述べたのと同様にI(i,
j),Q(i,j)のヒストグラムを一画面のデータに
対して作成し、その累積ヒストグラムを写像関数として
非線形量子化を行なう。その後に、遅延バッファ7によ
りYの処理系とI,Qの処理系の処理時間の差を吸収し
、遅延バッファ7からの出力信号Y’’(i,j)とマ
ルチプレクサ8から偶数画素時間に出力されるI’’(
2i,j)と奇数画素時間に出力されるQ’’(2i+
1,j)から、一画素8ビットの画像信号に合成する。 この時、8ビットの上位4ビットがY’’(i,j)と
なり、下位4ビットがI’’(2i,j)あるいはQ’
’(2i+1,j)となる。
Thereafter, like the luminance signal Y, it is quantized from 8 bits to 4 bits by linear or nonlinear quantizers 5 and 6. In the case of linear quantization, quantization is performed by selecting the upper 4 bits from 8 bits. In the case of nonlinear quantization, I(i,
A histogram of Q(i, j) is created for one screen of data, and nonlinear quantization is performed using the cumulative histogram as a mapping function. After that, the delay buffer 7 absorbs the difference in processing time between the Y processing system and the I and Q processing systems, and outputs the output signal Y'' (i, j) from the delay buffer 7 and the multiplexer 8 into the even-numbered pixel time. The output I'' (
2i, j) and Q''(2i+
1, j) into an image signal of 8 bits per pixel. At this time, the upper 4 bits of the 8 bits are Y'' (i, j), and the lower 4 bits are I'' (2i, j) or Q'
'(2i+1,j).

【0017】次に図2は、上述のように圧縮された画像
データをフレームメモリーに格納し、RGB各8ビット
のD/Aコンバータを介してブラウン管等のディスプレ
イに表示する場合のデータ処理方式をブロックレベルで
示したものである。
Next, FIG. 2 shows a data processing method when the compressed image data as described above is stored in a frame memory and displayed on a display such as a cathode ray tube via a D/A converter with 8 bits each for RGB. This is shown at the block level.

【0018】図2において、フレームメモリ10には、
先に述べた方式で圧縮された画像データが少なくとも一
画面分格納されている。8ビット長のデータロード機能
付きシフトレジスタ11〜14は、フレームメモリ10
から4バイト分のデータを同時に読みだす、前述の表記
に基づき8ビット長のデータロード機能付きシフトレジ
スタ11に画像データ(Y’’(4i,j),I’’(
4i,j))がロードされるとすると、8ビット長のデ
ータロード機能付きシフトレジスタ12に画像データ(
Y’’(4i+1,j),Q’’(4i+1,j))が
ロードされ、8ビット長のデータロード機能付きシフト
レジスタ13に画像データ(Y’’(4i+2,j),
I’’(4i+2,j))がロードされ、8ビット長の
データロード機能付きシフトレジスタ14に画像データ
(Y’’(4i+3,j),Q’’(4i+3,j))
がロードされる。
In FIG. 2, the frame memory 10 includes:
At least one screen worth of image data compressed using the method described above is stored. The 8-bit length shift registers 11 to 14 with a data load function are connected to the frame memory 10.
Image data (Y'' (4i, j), I'' (
4i, j)) is loaded, the image data (
Y''(4i+1,j),Q''(4i+1,j)) is loaded, and the image data (Y''(4i+2,j),
I''(4i+2,j)) is loaded, and the image data (Y''(4i+3,j),Q''(4i+3,j)) is loaded into the shift register 14 with an 8-bit data load function.
is loaded.

【0019】この後に、8ビット長のデータロード機能
付きシフトレジスタ11,12のデータは画素クロック
に同期したシフト動作により、2個の8ビット長のレジ
スタ15,16に送られ、8ビット長のデータロード機
能付きシフトレジスタ13,14のデータは画素クロッ
クに同期したシフト動作により、8ビット長のデータロ
ード機能付きシフトレジスタ11,12に送られる。こ
の動作を二画素クロック期間繰り返し、8ビット長のデ
ータロード機能付きシフトレジスタ13,14のデータ
が、8ビット長のレジスタ15,16に送られると、フ
レームメモリ10より次の4バイトのデータを8ビット
長のデータロード機能付きシフトレジスタ11〜14に
読みだし、上述の動作を1フレームデータ分繰り返す。
Thereafter, the data in the 8-bit long shift registers 11 and 12 with a data load function is sent to two 8-bit long registers 15 and 16 by a shift operation synchronized with the pixel clock, and the data is transferred to the 8-bit long shift registers 11 and 12 by a shift operation synchronized with the pixel clock. The data in the shift registers 13 and 14 with a data load function is sent to the 8-bit shift registers 11 and 12 with a data load function by a shift operation synchronized with the pixel clock. This operation is repeated for two pixel clock periods, and when the data in the 8-bit shift registers 13 and 14 with a data load function is sent to the 8-bit registers 15 and 16, the next 4 bytes of data are transferred from the frame memory 10. The data is read into the 8-bit length shift registers 11 to 14 with a data loading function, and the above-described operation is repeated for one frame data.

【0020】2個の8ビットレジスタ15,16では、
上位4ビットのデータが輝度信号Y’’(2i,j)と
Y’’(2i+1,j)であり、下位4ビットの信号が
色情報のI’’(2i,j)とQ’’(2i+1,j)
である。この中で上位4ビットの輝度信号Y’’は、マ
ルチプレクサ17により、偶数画素タイミングでは8ビ
ットレジスタ15の上位4ビットのデータY’’(2i
,j)が選択され12ビットレジスタ18のMSB側4
ビットにセットされ、奇数画素タイミングでは8ビット
レジスタ16の上位4ビットのデータY’’(2i+1
,j)が選択され12ビットレジスタ18のMSB側4
ビットにセットされる。
In the two 8-bit registers 15 and 16,
The upper 4 bits of data are the luminance signals Y''(2i,j) and Y''(2i+1,j), and the lower 4 bits of data are the color information I''(2i,j) and Q''( 2i+1,j)
It is. Among these, the upper 4 bits of the luminance signal Y'' are sent to the upper 4 bits of the 8-bit register 15 by the multiplexer 17 at even pixel timing.
, j) is selected and the MSB side 4 of the 12-bit register 18
bit, and at odd pixel timing, the upper 4 bits of data Y'' (2i+1
, j) is selected and the MSB side 4 of the 12-bit register 18
bit is set.

【0021】一方、色情報I’’とQ’’ は、二画素
クロック期間は同一のデータが用いられ、8ビットレジ
スタ15の下位4ビットのデータI’’(2i,j)は
、12ビットレジスタ18のMSB側から5ビット目か
ら8ビット目までの4ビットにセットされる。8ビット
レジスタ16の下位4ビットのデータQ’’(2i+1
,j)は、12ビットレジスタ18のLSB側からの4
ビットにセットされる。12ビットレジスタ18の出力
は、先に述べた変換及び量子化処理の逆変換に対応する
RGBデータを保持する再書き込み可能なRAM及びP
ROM等により構成されたカラールックアップテーブル
19のアドレス信号として用いられ、(Y’’(2i,
j),I’’(2i,j),Q’’(2i,j))に対
応するR’(2i,j),G’(2i,j),B’(2
i,j)各8ビットの信号を出力する。このRGB信号
がD/Aコンバーターを介してディスプレイ上に表示さ
れる。
On the other hand, for the color information I'' and Q'', the same data is used during two pixel clock periods, and the lower 4 bits of data I'' (2i, j) of the 8-bit register 15 are 12 bits. It is set to 4 bits from the 5th bit to the 8th bit from the MSB side of the register 18. The lower 4 bits of data Q'' (2i+1
, j) are the 4 bits from the LSB side of the 12-bit register 18.
bit is set. The output of the 12-bit register 18 is a rewritable RAM and
It is used as an address signal for the color lookup table 19 configured by ROM etc., and (Y''(2i,
R' (2i, j), G' (2i, j), B' (2
i, j) Each outputs an 8-bit signal. This RGB signal is displayed on the display via a D/A converter.

【0022】以上のように、本実施例によれば、RGB
各色が8ビットからなる24ビットのフルカラーデータ
をYIQ信号系に変換し、Y信号については一画素毎に
量子化し、I及びQについては、隣接する複数の画素に
ついて平均値を代表させ、その後に量子化することで、
データ量を三分の一に圧縮し、一画素当たり8ビットの
フレームメモリで、一画素に対する情報を一部複数の画
素で共用することにより12ビット保持することが可能
であり、上記の変換及び量子化の逆変換に対応するルッ
クアップテーブルを用いて1677万7216色中40
96色までの表示が可能で、原画像の再現性の優れたフ
ルカラー画像の圧縮及び表示方式を提供することが出来
る。
As described above, according to this embodiment, RGB
The 24-bit full color data consisting of 8 bits for each color is converted into a YIQ signal system, the Y signal is quantized for each pixel, the I and Q signals are represented by the average value of multiple adjacent pixels, and then By quantizing,
By compressing the amount of data to one-third and using a frame memory of 8 bits per pixel, it is possible to hold 12 bits of information for one pixel by sharing part of the information with multiple pixels, and the above conversion and 40 out of 16,777,216 colors using a lookup table corresponding to inverse quantization
It is possible to provide a full-color image compression and display method that can display up to 96 colors and has excellent reproducibility of the original image.

【0023】なお、本実施例では輝度信号と色情報とし
てNTSC方式で採用されているYIQ信号系を用いた
が、SECAM方式で採用されているY,R−Y,B−
Y信号などRBG信号とアフィン変換可能な信号系であ
ればよい。また色情報の代表値として平均値を用いたが
、平均値の代わりに間引きを行なってもよい。
In this embodiment, the YIQ signal system adopted in the NTSC system was used as the luminance signal and color information, but the Y, R-Y, B-signal system adopted in the SECAM system was used.
Any signal system capable of affine transformation with the RBG signal, such as the Y signal, may be used. Further, although the average value is used as the representative value of the color information, thinning may be performed instead of the average value.

【0024】また本実施例ではRBG各8ビットの場合
を述べたが、RBGのビット長は任意のnビット長でも
よい。
Further, in this embodiment, the case where each RBG is 8 bits has been described, but the bit length of RBG may be any n bit length.

【0025】[0025]

【発明の効果】以上説明したように、本発明では、RG
B各nビットからなるカラー画像データを、1/3のデ
ータ量に圧縮することが出来、且つ、一画素あたりの情
報として1.5nビット保持することが出来るので、従
来手法に比べて原画像の再現性の優れている。そのため
、従来パソコンや低価格のワークステーション等でルッ
クアップテーブルを用いてフルカラー表示を行なうシス
テムにおいて、フレームメモリを増やさすことなく、フ
レームメモリ容量よりも大きなカラー画像データを扱う
ことが出来るという効果がある。
[Effects of the Invention] As explained above, in the present invention, RG
B Color image data consisting of n bits each can be compressed to 1/3 the amount of data, and 1.5n bits of information per pixel can be retained, so the original image data can be compressed compared to conventional methods. Excellent reproducibility. Therefore, in systems that conventionally perform full-color display using lookup tables on personal computers and low-cost workstations, it is possible to handle color image data larger than the frame memory capacity without increasing the frame memory. be.

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

【図1】本発明における、RGB各色が8ビットからな
る24ビットのフルカラーデータを一画素当たり8ビッ
トのフレームメモリに格納できるデータに圧縮する処理
方式の一実施例のブロック図である。
FIG. 1 is a block diagram of an embodiment of a processing method according to the present invention for compressing 24-bit full-color data in which each color of RGB is 8 bits into data that can be stored in a frame memory of 8 bits per pixel.

【図2】本発明における、圧縮された画像データをフレ
ームメモリから読みだし、カラールックアップテーブル
を用いて1677万7216色中4096色までを表示
する表示方式の一実施例のブロック図である。
FIG. 2 is a block diagram of an embodiment of a display method according to the present invention that reads compressed image data from a frame memory and displays up to 4096 colors out of 16,777,216 colors using a color lookup table.

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

1  3×3のマトリックス変換器 2,5,6  量子化器 3,4  加算器 7  遅延バッファ 8,17  マルチプレクサ 9  レジスタ 10  フレームメモリ 11〜14  8ビット長のデータロード機能付きシフ
トレジスタ 15,16  8ビット長のレジスタ 18  12ビットレジスタ 19  カラールックアップテーブル
1 3×3 matrix converter 2, 5, 6 Quantizer 3, 4 Adder 7 Delay buffer 8, 17 Multiplexer 9 Register 10 Frame memory 11 to 14 8-bit length shift register with data load function 15, 16 8 Bit length register 18 12-bit register 19 Color lookup table

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】RGB各色がnビットからなる3nビット
のカラーデータを、一次的にフレームメモリに蓄積し、
CRTあるいはカラーLCDに表示するカラー表示装置
において、RGB信号を輝度信号と色情報に変換し、輝
度信号についてはn/2ビットに量子化し、色情報につ
いては隣接する複数画素に対して、間引くか平均値を用
いることでデータ量を圧縮し、その後にn/2ビットに
量子化することで、一画素当たりのデータ量を1/3に
圧縮し、一画素当たりnビットのフレームメモリ容量で
、一画素に対する情報を1.5nビットまで保持するこ
とが可能であることを特徴とするカラー画像データの圧
縮方式。
Claim 1: Temporarily storing 3n-bit color data in which each color of RGB consists of n bits in a frame memory,
In a color display device that displays on a CRT or color LCD, RGB signals are converted into a luminance signal and color information, the luminance signal is quantized to n/2 bits, and the color information is thinned out for multiple adjacent pixels. By using the average value, the amount of data is compressed, and then by quantizing it to n/2 bits, the amount of data per pixel is compressed to 1/3, and with a frame memory capacity of n bits per pixel, A color image data compression method characterized by being able to hold up to 1.5n bits of information for one pixel.
【請求項2】請求項1記載の量子化法が線形量子化ある
いは非線形量子化であることを特徴とするカラー画像デ
ータの圧縮方式。
2. A compression method for color image data, wherein the quantization method according to claim 1 is linear quantization or nonlinear quantization.
【請求項3】RGB各色がnビットからなる3nビット
のカラーデータを、一次的にフレームメモリに蓄積し、
CRTあるいはカラーLCDに表示するカラー表示装置
において、RGB信号を輝度信号と色情報に変換し、輝
度信号についてはn/2ビットに量子化し、色情報につ
いては隣接する複数画素に対して、間引くか平均値を用
いることでデータ量を圧縮し、その後にn/2ビットに
量子化することで、一画素当たりのデータ量を1/3に
圧縮し、一画素当たりnビットのフレームメモリ容量で
、一画素に対する情報を1.5nビットまで保持し、そ
の後前記量子化の逆変換に対応するルックアップテーブ
ルを用いて表示することを特徴とするカラー画像データ
の表示方式。
3. Temporarily storing 3n-bit color data in which each color of RGB consists of n bits in a frame memory,
In a color display device that displays on a CRT or color LCD, RGB signals are converted into a luminance signal and color information, the luminance signal is quantized to n/2 bits, and the color information is thinned out for multiple adjacent pixels. By using the average value, the amount of data is compressed, and then by quantizing it to n/2 bits, the amount of data per pixel is compressed to 1/3, and with a frame memory capacity of n bits per pixel, A display method for color image data, characterized in that information for one pixel is held up to 1.5n bits, and then displayed using a lookup table corresponding to the inverse transformation of the quantization.
【請求項4】請求項3記載の量子化法が線形量子化ある
いは非線形量子化であることを特徴とするカラー画像デ
ータの表示方式。
4. A display method for color image data, wherein the quantization method according to claim 3 is linear quantization or nonlinear quantization.
【請求項5】RGB各色がnビットからなる3nビット
のカラーデータを、一次的にフレームメモリに蓄積し、
CRTあるいはカラーLCDに表示するカラー表示装置
において、RGB信号を入力とし、各々がnビットから
なる輝度信号と二種類の色情報、たとえばNTSCのY
IQ信号系やSECAMのY,Y−R,Y−B信号系等
に変換する3×3マトリックス変換器と、前記輝度情報
を一画素毎にn/2ビットに量子化する第1の量子化器
と、前記の二種類の色情報を隣接する複数の画素から間
引きや平均値算出により代表値を取り出す第1、第2の
代表値演算回路と、この第1、第2の代表値演算回路の
出力をn/2ビットに量子化する第2、第3の量子化器
と、前記第2量子化器の出力と前記第3量子化器の出力
を切り替えるマルチプレクサと、前記第1の量子化器出
力を遅延させる遅延バッファと、この遅延バッファの出
力をMSB側のn/2ビットに取り込み、前記マルチプ
レクサの出力をLSB側のn/2ビットに取り込むnビ
ットレジスタと、そのnビットレジスタの出力を記憶す
る一画素nビットのフレームメモリとを備えたカラー画
像データ圧縮装置。
5. Temporarily storing 3n-bit color data in which each RGB color has n bits in a frame memory,
In a color display device that displays on a CRT or color LCD, RGB signals are input, and a luminance signal each consisting of n bits and two types of color information, such as NTSC Y, are input.
A 3×3 matrix converter that converts into an IQ signal system, SECAM Y, Y-R, Y-B signal system, etc., and a first quantizer that quantizes the luminance information to n/2 bits for each pixel. first and second representative value calculation circuits that take out representative values of the two types of color information from a plurality of adjacent pixels by thinning out or calculating an average value; and the first and second representative value calculation circuits. second and third quantizers that quantize the output of the second quantizer to n/2 bits, a multiplexer that switches between the output of the second quantizer and the output of the third quantizer, and the first quantizer. a delay buffer that delays the output of the device; an n-bit register that captures the output of this delay buffer into n/2 bits on the MSB side; an n-bit register that captures the output of the multiplexer into n/2 bits on the LSB side; and an output of the n-bit register. A color image data compression device comprising a frame memory of n bits per pixel for storing.
JP3072890A 1991-04-05 1991-04-05 Compression and display system for color picture data and compressing device for color picture data Pending JPH04307894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3072890A JPH04307894A (en) 1991-04-05 1991-04-05 Compression and display system for color picture data and compressing device for color picture data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3072890A JPH04307894A (en) 1991-04-05 1991-04-05 Compression and display system for color picture data and compressing device for color picture data

Publications (1)

Publication Number Publication Date
JPH04307894A true JPH04307894A (en) 1992-10-30

Family

ID=13502396

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3072890A Pending JPH04307894A (en) 1991-04-05 1991-04-05 Compression and display system for color picture data and compressing device for color picture data

Country Status (1)

Country Link
JP (1) JPH04307894A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6693644B1 (en) 1999-11-16 2004-02-17 Renesas Technology Corp. Graphic accelerator reducing and processing graphics data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6693644B1 (en) 1999-11-16 2004-02-17 Renesas Technology Corp. Graphic accelerator reducing and processing graphics data

Similar Documents

Publication Publication Date Title
US5124688A (en) Method and apparatus for converting digital YUV video signals to RGB video signals
KR100782818B1 (en) Method and system for luminance preserving color conversion from YUV to RGB
JP2519000B2 (en) Image display device and operating method thereof
US6201530B1 (en) Method and system of optimizing a digital imaging processing chain
US20140321769A1 (en) Image processing apparatus having a plurality of image processing blocks that are capable of real-time processing of an image signal
US20050024380A1 (en) Method for reducing random access memory of IC in display devices
US6778187B1 (en) Methods and devices to process graphics and/or video data
US6774953B2 (en) Method and apparatus for color warping
US5272468A (en) Image processing for computer color conversion
JPH08147453A (en) Method and device for look-up table generation
JPH02271389A (en) Full-color liquid crystal display device
JP3024568B2 (en) Digital X-ray image processing device
JPH04307894A (en) Compression and display system for color picture data and compressing device for color picture data
US7463286B2 (en) Image data processing apparatus
EP0543511A1 (en) Method and apparatus for data conversion
JPH0564000A (en) Method for compressing and expanding image data
KR100874849B1 (en) How to convert video format
JP2002247376A (en) Image processor
JP3214517B2 (en) Gamma correction circuit
JPS63307953A (en) Gradation converter
JPH0453390A (en) Coding circuit for color picture
JP3412835B2 (en) Display control device
JPH01183685A (en) Multi-media image display device using look-up table
JPH0294868A (en) Video correction circuit
JPH07226845A (en) Picture transmission device