JPH06243244A - Color image display method - Google Patents

Color image display method

Info

Publication number
JPH06243244A
JPH06243244A JP5024606A JP2460693A JPH06243244A JP H06243244 A JPH06243244 A JP H06243244A JP 5024606 A JP5024606 A JP 5024606A JP 2460693 A JP2460693 A JP 2460693A JP H06243244 A JPH06243244 A JP H06243244A
Authority
JP
Japan
Prior art keywords
color
representative
area
colors
representative color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP5024606A
Other languages
Japanese (ja)
Inventor
Shigeru Fukunaga
茂 福永
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP5024606A priority Critical patent/JPH06243244A/en
Publication of JPH06243244A publication Critical patent/JPH06243244A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To improve the reproducibility for such a color that has a large local change, to improve the impression received from an entire image, and to shorten processing time in regard of a color image display method. CONSTITUTION:The image data are inputted (S1) and then divided into partial areas (S2). Then the number of representative colors is decided at every partial area (S3), and a representative color having the number of colors is selected from each area (S4). Furthermore all picture elements are compared with a part or all of representative colors, and the nearest representative color is decided as the display color of the picture element (S5). Thus a look-up table LUT is produced (S6). Then the input image data are converted into the RGB signals based on the table LUT (S7). These RGB signals are converted into the analog signals (S8) and then displayed on a display (S9).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ルックアップテーブル
(カラーマップともいい、以下LUTという)を用いた
カラー画像表示方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image display method using a look-up table (also called a color map, hereinafter referred to as LUT).

【0002】[0002]

【従来の技術】従来、このような分野の技術としては、
例えば次のような文献に記載されるものがあった。 文献;監修 高木幹雄、下田陽久「画像解析ハンドブッ
ク」初版(1991−1−17)東京大学出版会、P.
505−516 前記文献に記載されているように、近年、多くの分野で
画像処理技術が用いられ、パーソナルコンピュータやワ
ークステーション等上でカラー画像を表示する技術が重
要になってきており、それらの一般的なカラー画像表示
システムの概略図を図2(a),(b)に示す。
2. Description of the Related Art Conventionally, as a technique in such a field,
For example, some documents were described in the following documents. Reference: Supervised by Mikio Takagi, Yoshihisa Shimoda "Image Analysis Handbook", first edition (1991-1-17), University of Tokyo Press, P.
505-516 As described in the above literature, image processing technology has been used in many fields in recent years, and technology for displaying a color image on a personal computer, a workstation or the like has become important. A schematic diagram of a general color image display system is shown in FIGS.

【0003】図2(a)はフルカラー方式のカラー画像
表示システム、及び同図(b)はLUT方式のカラー画
像表示システムである。通常の自然画像は数万〜数千万
色の色を有しており、これらの色を全て表示するには、
図2(a)のようなフルカラー方式が用いられている。
このフルカラー方式では、1画素当り赤(R),緑
(G),青(B)の各8ビット程度のフレームバッファ
(又は、リフレッシュメモリ)1R,1G,1Bを持
ち、その出力側に、ディジタル/アナログ変換器(以
下、D/A変換器という)2R,2G,2Bを介して表
示装置であるCRT3が接続され、約1600万色(=
24=28×28 ×28 )が同時に表示できるようにな
っている。このフルカラー方式では、通常の自然画像を
カラー表示するのに適しているが、その自然画像の多数
の色を全て表示するには多くのフレームバッファ1R,
1G,1Bを必要とする。そのため、パーソナルコンピ
ュータやワークステーション等の装置に図2(a)のフ
ルカラー方式を用いると、その装置の規模が大きくな
り、高価になる。そこで、一般のワークステーション等
では、フレームバッファメモリ1R,1G,1Bのメモ
リ容量の制限から、同時に表示できる色数を8〜256
色(以下、N色とする)程度に限定し、図2(b)に示
すようなLUT方式を用いることによって、同時に表示
する色(代表色という)の選択に自由度を与えている。
図2(b)のLUT方式では、フレームバッファ5のメ
モリ上に、各画素値に対応した色番号が記憶されてお
り、原画像の元色と代表色の対応を登録したLUT6に
従い、D/A変換器7R,7G,7Bを介してCRT8
で画像を表示するようになっている。この際、どのよう
な代表色を元の色に対応させるかが、色調再現の鍵とな
るが、この手法(アルゴリズム)を限定色表示手法(限
定色表示アルゴリズム)といい、例えば次のように分類
できる。
FIG. 2A shows a full-color color image display system, and FIG. 2B shows a LUT color image display system. A normal natural image has tens of thousands to tens of millions of colors, and to display all these colors,
A full-color system as shown in FIG. 2A is used.
In this full color system, each pixel has a frame buffer (or refresh memory) 1R, 1G, 1B of about 8 bits of red (R), green (G), and blue (B), and a digital buffer is provided on the output side thereof. A CRT3, which is a display device, is connected via an analog converter (hereinafter referred to as a D / A converter) 2R, 2G, and 2B, and approximately 16 million colors (=
2 24 = 2 8 × 2 8 × 2 8 ) can be displayed at the same time. This full-color method is suitable for displaying a normal natural image in color, but in order to display all the many colors of the natural image, many frame buffers 1R,
Requires 1G and 1B. Therefore, if the full color system shown in FIG. 2A is used for a device such as a personal computer or a workstation, the scale of the device becomes large and the cost becomes high. Therefore, in a general workstation or the like, the number of colors that can be simultaneously displayed is 8 to 256 due to the limitation of the memory capacity of the frame buffer memories 1R, 1G, and 1B.
By limiting the number of colors (hereinafter, referred to as N colors) and using the LUT method as shown in FIG. 2B, a degree of freedom is given to the selection of colors (representative colors) to be displayed at the same time.
In the LUT method of FIG. 2B, the color number corresponding to each pixel value is stored in the memory of the frame buffer 5, and according to the LUT 6 in which the correspondence between the original color of the original image and the representative color is registered, D / CRT8 via A converters 7R, 7G, 7B
To display the image. At this time, what kind of representative color corresponds to the original color is the key to color tone reproduction. This method (algorithm) is called the limited color display method (limited color display algorithm). Can be classified.

【0004】限定色表示アルゴリズム (1) 代表色選定ステップ (a)均等量子化法 (b)細分化量子化法 ・頻度法(ポピュラリティアルゴリズム、Popularity A
lgorithm)等 (2) 表示色選定ステップ ・最近隣探索法 (3) (1),(2)ステップ ・メディアンカットアルゴリズム(Median Cut Algorit
hm)法 限定色表示アルゴリズムは、(1)代表色選定ステップ
と(2)表示色選定ステップとの2つのステップに分け
て考えることができる。(1)代表色選定ステップは、
原画像の色分布の統計量を計算し、その画像を再現する
のに最適なN色の代表色を選定するステップである。こ
れに対し、(2)表示色選定ステップは、原画像の各画
素値に最も近い色をN色の中から選定して表示するステ
ップである。この限定色表示アルゴリズムには、従来か
ら様々な手法がある。
Limited Color Display Algorithm (1) Representative Color Selection Step (a) Uniform Quantization Method (b) Subdivision Quantization Method-Frequency Method (Popularity Algorithm, Popularity A)
lgorithm) etc. (2) Display color selection step-Nearest neighbor search method (3) (1), (2) steps-Median Cut Algorithm
hm) method The limited color display algorithm can be considered by dividing it into two steps of (1) representative color selection step and (2) display color selection step. (1) The representative color selection step is
This is a step of calculating the statistic of the color distribution of the original image and selecting the optimum representative color of N colors for reproducing the image. On the other hand, the (2) display color selection step is a step of selecting and displaying a color closest to each pixel value of the original image from N colors. There are various conventional methods for this limited color display algorithm.

【0005】(1)代表色選定ステップには、(a)均
等量子化法と(b)細分化量子化法とがあり、その
(b)細分化量子化法の例としては、頻度法がある。こ
の頻度法は、色分布統計量の多い色(上位N色)から順
に代表色を選定するアルゴリズムである。(2)表示色
選定ステップの例としては、最近隣探索法があり、各画
素値毎に全ての代表色と比較し、その差が最小のものを
代表色とする。2つの(1),(2)ステップを同時に
論じたアルゴリズムとしては、メディアンカットアルゴ
リズム法がある。R,G,Bの3原色を3次元の直交座
標とした空間をRGB色空間という。メディアンカット
アルゴリズム法では、まず、原画像の色空間における分
布に外接する直方体を考え、分布画素数が等しくなるよ
うに、この直方体を2等分していく。分割された直方体
の数がN個になった時点で分割を終了し、それぞれの直
方体の画素の平均値をそれぞれの代表色とし、その直方
体中にある画素を全てその代表色で表示する。
(1) The representative color selection step includes (a) a uniform quantization method and (b) a subdivision quantization method. An example of the (b) subdivision quantization method is a frequency method. is there. This frequency method is an algorithm for selecting representative colors in order from the color with the most color distribution statistics (upper N colors). (2) As an example of the display color selection step, there is a nearest neighbor search method, in which each pixel value is compared with all the representative colors, and the one having the smallest difference is used as the representative color. The median cut algorithm method is an algorithm that discusses two steps (1) and (2) at the same time. A space in which the three primary colors of R, G, and B are three-dimensional orthogonal coordinates is called an RGB color space. In the median cut algorithm method, first, a rectangular parallelepiped circumscribing the distribution in the color space of the original image is considered, and this rectangular parallelepiped is divided into two equal parts so that the number of distribution pixels becomes equal. When the number of the divided rectangular parallelepipeds reaches N, the division is terminated, the average value of the pixels of each rectangular parallelepiped is set as each representative color, and all the pixels in the rectangular parallelepiped are displayed in the representative color.

【0006】図3は、従来の限定色表示アルゴリズムに
よるカラー画像表示システムの一例を示す構成ブロック
図であり、図2(b)中の要素と共通の要素には共通の
符号が付されている。この画像表示システムでは、図2
(b)のカラー画像表示システムに、限定色表示手段1
0が接続されている。限定色表示手段10では、入力さ
れたR,G,B各8ビット、計24ビットの画像データ
Pinをnビット(2n =N)の色番号データCに変換
し、フレームバッファ5へ供給する。又、この限定色表
示手段10は、各色番号データCと表示色(R,G,
B)の対応したLUTデータMを作成し、LUT6へ供
給する。すると、各画像データPinは、LUT6によ
って各8ビットのR,G,B信号に変換され、それぞれ
D/A変換器7R,7G,7Bでアナログ信号に変換さ
れた後、CRT8へ供給されて対応する色が表示され
る。
FIG. 3 is a block diagram showing an example of a color image display system according to the conventional limited color display algorithm. Elements common to those in FIG. 2B are designated by common reference numerals. . In this image display system, as shown in FIG.
In the color image display system of (b), limited color display means 1
0 is connected. The limited color display means 10 converts the input image data Pin of 8 bits for each of R, G, and B, that is, 24 bits in total into color number data C of n bits (2 n = N) and supplies it to the frame buffer 5. . In addition, the limited color display means 10 includes the color number data C and the display colors (R, G,
B) corresponding LUT data M is created and supplied to the LUT 6. Then, each image data Pin is converted into an 8-bit R, G, B signal by the LUT 6, converted into an analog signal by the D / A converters 7R, 7G, 7B, and then supplied to the CRT 8 for correspondence. The color to be displayed is displayed.

【0007】図4は、図3中の限定色表示手段10の構
成例を示す機能ブロック図である。この限定色表示手段
10は、24ビットの画像データPinから代表色を選
定して24ビットの代表色データC2を出力する代表色
選定手段11と、24ビットの画像データPinと24
ビットの代表色データC2から表示色を選定してLUT
データM及びnビットの色番号データCを出力する表示
色選定手段12とで、構成されている。画像データPi
nが代表色選定手段11及び表示色選定手段12へ入力
されると、該代表色選定手段11では、画像データPi
nからN色の代表色を選定し、その代表色データC2を
表示色選定手段12へ供給する。表示色選定手段12で
は、画像データPinと代表色データC2から、nビッ
トの色番号デ―タCと、LUTデータMを作成して出力
する。
FIG. 4 is a functional block diagram showing a configuration example of the limited color display means 10 in FIG. The limited color display means 10 selects a representative color from the 24-bit image data Pin and outputs the 24-bit representative color data C2, and the 24-bit image data Pin and 24.
Select a display color from the bit representative color data C2 and select LUT
The display color selection means 12 outputs data M and n-bit color number data C. Image data Pi
When n is input to the representative color selecting means 11 and the display color selecting means 12, the representative color selecting means 11 produces image data Pi.
The representative color of N colors is selected from n, and the representative color data C2 is supplied to the display color selection means 12. The display color selection means 12 creates and outputs n-bit color number data C and LUT data M from the image data Pin and the representative color data C2.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、従来の
限定色表示アルゴリズムを用いたカラー画像表示方法で
は、次のような問題があった。 (a) 従来の限定色表示アルゴリズムでは、画像全体
の色分布統計から限定代表色を選定するので、全体的に
見た色調再現はかなり良いが、出現頻度の低い色は原画
像とかなり異なる色で表示されることが多いので、細部
での色調がうまく再現されない。一般に、このことによ
る画質劣化はあまり目立たないことが多いが、画像の中
に出現頻度は低いが特徴的な色が存在する場合には、他
の部分がうまく再現されていても、画像全体から受ける
印象がかなり低いものとなる。例えば、人物の顔を含む
画像の場合、唇等は統計頻度が僅かであるので、従来の
方法では最適な色を割り当てることが少ない。 (b) 画像の中で多くの面積を占める背景は、空等の
ようになだらかに変化している場合が多いが、従来の方
法では単純に出現頻度の高い色に多くの色を割り当てる
ので、これら背景の色再現性は良いが、背景以外の主な
画像の色再現性が悪くなる。特に注視されるべき部分は
色の変化が激しい場合が多いので、これらの部分に色を
少なく割り当てると、エッジがシャープに再現できなく
なり、画像全体の主観的印象が低下する。 (c) 従来の方法では、表示色選定ステップの処理時
間がかなり大きい。特に、最近隣探索法のように、全て
の代表色と各画素を比較するような方法では、色の再現
性は向上するが、実行時間が大き過ぎてあまり現実的で
はない。
However, the conventional color image display method using the limited color display algorithm has the following problems. (A) In the conventional limited color display algorithm, since the limited representative color is selected from the color distribution statistics of the entire image, the color tone reproduction as a whole is quite good, but the color with low appearance frequency is a color that is considerably different from the original image. Since it is often displayed in, the color tones in the details are not reproduced well. In general, the image quality deterioration due to this is not so noticeable, but if the appearance frequency is low in the image but a characteristic color is present, even if other parts are well reproduced, The impression it receives is quite low. For example, in the case of an image including a person's face, lips and the like have a small statistical frequency, and thus the conventional method rarely assigns an optimum color. (B) In many cases, the background occupying a large area in the image changes gently like the sky. However, in the conventional method, many colors are simply assigned to frequently appearing colors. Although the color reproducibility of these backgrounds is good, the color reproducibility of main images other than the background is poor. In particular, there are many cases where the color that is to be watched is subject to drastic changes in color. Therefore, if a small number of colors are assigned to these areas, sharp edges cannot be reproduced, and the subjective impression of the entire image deteriorates. (C) In the conventional method, the processing time of the display color selection step is considerably long. Particularly, in the method of comparing each pixel with all the representative colors like the nearest neighbor search method, the color reproducibility is improved, but the execution time is too long, which is not so realistic.

【0009】本発明は、前記従来技術が持っていた問題
を解決し、次のようなカラー画像表示方法を提供するこ
とを目的とする。 (1) 画像を部分領域に分割し、領域毎に代表色を選
択することで、画像の一部分に現れるような出現頻度は
低いが特徴的な色を代表色に選択し、それらの色の再現
性を高めることで画像全体の主観的評価を高めたカラー
画像表示方法を提供することを目的とする。 (2) 背景等のなだらかに変化する部分からの代表色
選定を抑え、変化の激しい部分から多くの代表色を選定
することで、画像の主な部分の色再現性を高めたカラー
画像表示方法を提供することを目的とする。 (3) 表示色選定ステップにおいて、対象画素の含ま
れる領域及びその周囲の領域の代表色とだけ画素値の比
較を行うことで、処理時間を短縮したカラー画像表示方
法を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the problems of the prior art and to provide the following color image display method. (1) By dividing an image into partial areas and selecting a representative color for each area, a characteristic color that has a low appearance frequency but appears in a part of the image is selected as a representative color, and those colors are reproduced. An object of the present invention is to provide a color image display method in which the subjective evaluation of the entire image is enhanced by enhancing the property. (2) A color image display method in which the color reproducibility of the main part of the image is improved by suppressing the selection of representative colors from the part where the background changes gently and selecting a large number of representative colors from the part that changes drastically. The purpose is to provide. (3) An object of the present invention is to provide a color image display method in which the processing time is shortened by comparing pixel values only with the representative colors of the area including the target pixel and the surrounding area in the display color selection step. To do.

【0010】[0010]

【課題を解決するための手段】第1の発明は、前記課題
を解決するために、色データを格納したLUTを作成
し、そのLUTを参照してカラー画像を表示するカラー
画像表示方法において、原画像を部分領域に分割する領
域分割処理と、前記領域分割処理で分割された複数の部
分領域における色分布と領域の大きさを参照してそれら
の各部分領域から選定する代表色数を決定する代表色数
決定処理と、前記各部分領域から前記代表色数だけ代表
色を選定する代表色選定処理とを実行する。そして、前
記代表色選択処理で選定された代表色から、表示色選定
処理により全画素の表示色を選定して前記LUTを作成
している。第2の発明では、第1の発明の表示色選定処
理は、対象画像の含まれる領域及び周辺数領域の代表色
だけから表示色を選定する。第3の発明では、第1又は
第2の発明の領域分割処理は、限定色数Nをパラメータ
として領域数を決定し、画像の大きさと該領域数から各
領域の大きさを決定した後、原画像を部分領域に分割す
る。
In order to solve the above-mentioned problems, a first invention is a color image display method of creating an LUT storing color data and displaying a color image by referring to the LUT. Area division processing for dividing the original image into partial areas, and color distribution and size of the plurality of partial areas divided by the area division processing are referred to determine the number of representative colors selected from each of the partial areas. The representative color number determining process and the representative color selecting process for selecting the representative color number from each of the partial areas are performed. Then, the display color of all the pixels is selected by the display color selection process from the representative color selected by the representative color selection process to create the LUT. In the second invention, the display color selection processing of the first invention selects the display color only from the representative colors of the area including the target image and the peripheral several areas. In the third invention, the area dividing process of the first or second invention determines the number of areas by using the limited color number N as a parameter, and after determining the size of the image and the size of each area from the number of areas, The original image is divided into partial areas.

【0011】第4の発明では、第1又は第2の発明の領
域分割処理は、隣接する画素の画素値の差が閾値より小
さい部分を一つの領域としてまとめながら分割する。第
5の発明では、第1又は第2の発明の領域分割処理は、
まず大きな領域数個に分割し、領域内の色分布の分散が
大きい時は、部分領域が限定色数Nの1/i(但し、
i;閾値)の個数になるまでさらに分割する。そして、
代表色数決定処理では、各領域にi個ずつ代表色数を割
り当てる。第6の発明では、第1又は第2の発明の代表
色数決定処理は、まず各領域でそれぞれ代表色数を仮決
定し、次に、全領域の仮の代表色数の合計と限定色数N
とを比較して各領域の真の代表色数を決定する。第7の
発明では、第6の発明の代表色数決定処理は、領域内の
色分布が密集していたら代表色数を少なくし、分散して
いたら代表色を多くする。
In the fourth aspect of the invention, in the area dividing process of the first or second aspect, the areas in which the difference in pixel value between adjacent pixels is smaller than the threshold value are divided as one area. In the fifth invention, the area division processing of the first or second invention is
First, when the partial area is divided into several large areas and the distribution of the color distribution in the area is large, the partial area is 1 / i of the limited color number N (however,
i; threshold value). And
In the representative color number determination process, i representative color numbers are assigned to each area. In the sixth invention, in the representative color number determination process of the first or second invention, first, the representative color number is provisionally determined in each area, and then the total of the provisional representative color number of all areas and the limited color are defined. Number N
And the true representative color number of each area is determined. In the seventh invention, the representative color number determination process of the sixth invention reduces the number of representative colors when the color distribution in the area is dense, and increases the number of representative colors when they are dispersed.

【0012】第8の発明では、第7の発明の代表色数決
定処理は、色分布の密集度が閾値よりも高い領域で、周
辺領域との画素値平均の差が小さい場合に、その領域か
らは代表色を選定しないようにしている。第9の発明で
は、第7又は第8の発明の領域分割処理は、M×M(但
し、M;画像ブロックの大きさ)の正方矩形ブロックに
分割する。そして、代表色数決定処理では、各ブロック
の画像データに離散コンイン変換(以下、DCTとい
う)を行い、その変換係数の交流成分をパラメータと
し、該変換係数が大きい時は代表色を多く割り当て、小
さい時は少なく割り当てることで代表色数を決定する。
第10の発明では、第9の発明の代表色数決定処理にお
いて、DCTの変換係数を用いて代表色数を決定する際
に、画像ブロックの大きさMに関係なく低周波成分の個
数(m×m,M≧m)の係数のみを算出し、該低周波成
分の係数のみをパラメータとして代表色数を決定する。
第11の発明では、第9又は第10の発明の代表色数決
定処理において、DCTの変換係数を用いて代表色数を
決定する際に、該変換係数を周波数の近いものをまとめ
て数グループとし、それぞれのグループの変換係数の合
計をパラメータとしてその領域の代表色数を算出する。
In the eighth invention, in the representative color number determination processing of the seventh invention, when the density of the color distribution is higher than the threshold value and the difference in the average pixel value from the peripheral area is small, the area is determined. The representative color is not selected. In the ninth invention, the area division processing of the seventh or eighth invention divides into M × M (where M is the size of the image block) square rectangular blocks. Then, in the representative color number determination process, discrete Conin transform (hereinafter referred to as DCT) is performed on the image data of each block, the AC component of the transform coefficient is used as a parameter, and when the transform coefficient is large, many representative colors are assigned, When the number is small, the number of representative colors is determined by assigning a small number.
In the tenth invention, in the representative color number determination process of the ninth invention, when the representative color number is determined using the transform coefficient of the DCT, the number of low frequency components (m Xm, M ≧ m) only, and the number of representative colors is determined using only the coefficient of the low frequency component as a parameter.
In the eleventh invention, in the representative color number determination process of the ninth or tenth invention, when the representative color number is determined by using the transform coefficient of the DCT, the transform coefficients having a similar frequency are grouped together in several groups. Then, the number of representative colors in the area is calculated using the sum of the conversion coefficients of each group as a parameter.

【0013】第12の発明では、第1又は第2の発明の
代表色選定処理は、色空間において距離が閾値kよりも
近い画素をまとめて数グループにし、グループ数がその
領域に割り当てられた代表色数の数倍よりも少なくなる
までkを大きくして再グループ化する。そして、再グル
ープ化したグループを構成画素数の多い順に並べ、上位
から代表色数のグループを選択し、それぞれのグループ
から代表色を選定する。第13の発明では、第1又は第
2の発明の代表色選定処理は、周辺領域の代表色と比較
して、色空間の距離が閾値よりも近い画素を代表色の候
補から除外し、領域内の残りの画素から代表色を選定す
る。第14の発明では、第2の発明の表示色選定処理
は、対象画素の含まれる領域の平均画素値と比較して、
差が閾値よりも小さい周辺の領域を全て参照領域とし、
該参照領域の代表色から表示色を選定する。
In the twelfth invention, in the representative color selection processing of the first or second invention, pixels whose distance is closer than the threshold value k in the color space are grouped into several groups, and the number of groups is assigned to the area. Regroup by increasing k until the number is less than several times the number of representative colors. Then, the regrouped groups are arranged in descending order of the number of constituent pixels, the group having the representative color number is selected from the top, and the representative color is selected from each group. In the thirteenth invention, the representative color selection processing of the first or second invention excludes a pixel whose distance in a color space is closer than a threshold value from a representative color candidate as compared with a representative color of a peripheral area, A representative color is selected from the remaining pixels. In the fourteenth invention, the display color selection processing of the second invention compares the average pixel value of the area including the target pixel with
All the peripheral areas where the difference is smaller than the threshold value are used as reference areas,
A display color is selected from the representative colors of the reference area.

【0014】[0014]

【作用】第1の発明によれば、以上のようにカラー画像
表示方法を構成したので、代表色選定ステップにおい
て、領域分割処理により、原画像が部分領域に分割され
て代表色数決定処理へ送られる。代表色数決定処理で
は、各領域の色分布や領域の大きさを参照してその領域
から選択する代表色の色数を決定し、その決定結果を代
表色選定処理へ送る。代表色選定処理では、代表色をそ
れぞれの領域から色数だけ選定し、その選定結果を表示
色選定ステップにおける代表色選定処理へ送る。代表色
選定処理では、選定された代表色から、表示色を選定し
てLUTを作成する。その後、作成されたLUTを参照
してカラー画像が表示される。第2の発明によれば、第
1の発明の表示色選定ステップにおける表示色選定処理
において、対象画素の含まれる領域及び周辺領域の代表
色とだけ、例えば画素値の比較が行われ、表示色が選定
される。第3の発明によれば、第1又は第2の領域分割
処理において、限定色数Nをパラメータとして、分割す
る領域数が決定され、その決定された領域数と画像の大
きさとから各領域の大きさが決定された後、領域分割が
行われる。
According to the first aspect of the invention, since the color image display method is configured as described above, in the representative color selection step, the original image is divided into partial areas by the area division processing and the representative color number determination processing is performed. Sent. In the representative color number determination process, the number of representative colors to be selected from the region is determined by referring to the color distribution of each region and the size of the region, and the determination result is sent to the representative color selection process. In the representative color selection process, a representative color is selected from each area by the number of colors, and the selection result is sent to the representative color selection process in the display color selection step. In the representative color selection process, a display color is selected from the selected representative colors to create an LUT. Then, a color image is displayed with reference to the created LUT. According to the second invention, in the display color selection process in the display color selection step of the first invention, only the representative color of the region including the target pixel and the peripheral region, for example, the pixel value is compared, and the display color is displayed. Is selected. According to the third invention, in the first or second area division processing, the number of areas to be divided is determined using the limited color number N as a parameter, and each area is determined from the determined number of areas and the size of the image. After the size is determined, the area division is performed.

【0015】第4の発明によれば、第1又は第2の発明
の領域分割処理において、隣接する2つの画素の画素値
の差がある閾値よりも小さい時に、その2つの画素を同
じ領域に含めている。そして、全ての画素に対して同様
の処理を行い、いくつかの領域にまとめられて領域分割
が行われる。第5の発明によれば、第1又は第2の発明
の領域分割処理において、まず、原画像が大きないくつ
かの領域に分割され、それぞれの領域において、領域内
の色分布の分散が大きい時にはさらにその領域が小さな
領域に分割されていく。領域の数が限定色数Nの1/i
になるまで、以上の処理が繰り返され、全領域が分割さ
れる。さらに、代表色数を決定する際には、各領域にi
個ずつ代表色数が割り当てられる。第6の発明によれ
ば、第1又は第2の発明の代表色数決定処理において、
代表色数を決定する際に、まず、各領域でそれぞれの色
分布と画像の大きさをパラメータとして代表色数が仮決
定される。次に、全領域の仮の代表色数の合計と限定色
数Nとが比較され、例えば各領域の代表色数に補正が加
えられて真の代表色数が決定される。第7の発明によれ
ば、第6の発明の代表色数決定処理において、代表色数
を決定する際に、領域内の色分布が密集していたら(画
素値がなだらかに変化していたら)、代表色数を少なく
し、色分布が分散していたら(画素値の変化が激しかっ
たら)、代表色数を多くしている。
According to the fourth invention, in the area dividing process of the first or second invention, when the difference between the pixel values of two adjacent pixels is smaller than a certain threshold value, the two pixels are placed in the same area. I include it. Then, the same processing is performed on all the pixels, and the pixels are grouped into some areas and the areas are divided. According to the fifth invention, in the area dividing process of the first or second invention, first, when the original image is divided into several large areas, and in each area, the variance of the color distribution in the area is large, Further, the area is divided into smaller areas. The number of areas is 1 / i of the limited number of colors N
The above process is repeated until the whole area is divided. Further, when determining the number of representative colors, i
A representative color number is assigned to each. According to the sixth invention, in the representative color number determination process of the first or second invention,
When determining the number of representative colors, first, the number of representative colors is provisionally determined using the color distribution and image size of each area as parameters. Next, the total number of provisional representative colors of all areas is compared with the limited number of colors N, and the number of representative colors of each area is corrected to determine the true number of representative colors. According to the seventh invention, in the representative color number determination process of the sixth invention, when the representative color number is determined, if the color distribution in the area is dense (if the pixel value is gently changed). If the number of representative colors is reduced and the color distribution is dispersed (if the pixel value changes drastically), the number of representative colors is increased.

【0016】第8の発明では、第7の発明の代表色数決
定処理において、代表色数を決定する際に、色分布の密
集度が閾値よりも高い(画素値がほとんど変化していな
い)領域で、周辺領域との画素値平均の差が小さい(周
辺領域とほとんど同じ色をしている)場合に、その領域
からは代表色を選定しない(代表色数0)ように代表色
数の決定が行われる。第9の発明によれば、第7又は第
8の領域分割処理において、原画像を部分領域に分割す
る際に、M×Mの正方矩形ブロックに分割される。そし
て、代表色数を決定する際に、各ブロックの画像データ
にDCTが行われ、その変換係数の交流成分がパラメー
タとして用いられ、該係数が大きい時は代表色が多く割
り当てられ、小さい時は少なく割り当てられて代表色数
が決定される。第10の発明によれば、第9の発明の代
表色数決定処理において、代表色数を決定する際に、画
像ブロックの大きさMに関係なく、DCTの低周波成分
の個数の係数のみが算出され、該低周波成分の係数のみ
がパラメータとして用いられて代表色数が決定される。
第11の発明によれば、第9又は第10の発明の代表色
数決定処理において、代表色数を決定する際に、DCT
の変換係数を、周波数の近いものをまとめて数グループ
とし、それぞれのグループの係数の合計がパラメータと
して用いられ、その領域の代表色数が算出される。例え
ば、低周波成分の係数が大きい時は領域内で画素値が緩
やかに変化しているので、あまり多くの色を割り当てる
必要はないが、高周波成分の係数が大きい時は激しく変
化している部分なので、多くの色が割り当てられて最適
な色数が選定される。
In the eighth invention, in the representative color number determination process of the seventh invention, when the representative color number is determined, the density of the color distribution is higher than the threshold value (the pixel value hardly changes). When the difference in the average pixel value between the area and the peripheral area is small (the color is almost the same as that of the peripheral area), the representative color number is set so that no representative color is selected from that area (representative color number 0). A decision is made. According to the ninth aspect, in the seventh or eighth area division process, when the original image is divided into partial areas, the original image is divided into M × M square rectangular blocks. Then, when determining the number of representative colors, DCT is performed on the image data of each block, and the AC component of the conversion coefficient is used as a parameter. When the coefficient is large, a large number of representative colors are assigned, and when it is small, The number of representative colors is determined by assigning a small number. According to the tenth invention, in the representative color number determination process of the ninth invention, when determining the representative color number, only the coefficient of the number of low frequency components of the DCT is irrespective of the size M of the image block. The number of calculated representative colors is determined by using only the coefficient of the low frequency component as a parameter.
According to the eleventh aspect, in the representative color number determination process of the ninth or tenth aspect, when the representative color number is determined, the DCT
The conversion coefficients of (1) are grouped into those having similar frequencies, and the sum of the coefficients of each group is used as a parameter to calculate the number of representative colors in that area. For example, when the coefficient of the low frequency component is large, the pixel value changes gently in the area, so it is not necessary to allocate too many colors, but when the coefficient of the high frequency component is large, it changes drastically. Therefore, many colors are assigned and the optimum number of colors is selected.

【0017】第12の発明によれば、第1又は第2の発
明の代表色選定処理において、代表色を選定する際に、
色空間において距離が閾値kよりも近い画素(ほとんど
同じ色の画素)をまとめて数グループにし、そのグルー
プ数がその領域に割り当てられた代表色数の数倍よりも
少なくなるまでkを大きくして、再グループ化される。
そして、再グループ化されたグループが、構成画素数の
多い順に並べられ、上位から代表色数のグループが選択
され、それぞれのグループから代表色が選定される。第
13の発明によれば、第1又は第2の発明の代表色選定
処理において、代表色を選定する際に、周辺領域(第1
の発明に対しては近隣の数領域、第2の発明に対しては
表示色選定時に参照する周辺画素)の代表色と比較さ
れ、色空間の距離が閾値よりも近い画素(周辺領域で既
に代表色になっている色とほとんど同じ色の画素)が代
表色の候補から除外され、領域内の残りの画素から代表
色が選定される。第14の発明によれば、第2の発明の
表示色選定処理において、表示色を選定する際に、対象
画素の含まれる領域の平均画素値と比較され、その差が
閾値よりも小さい周辺の領域(ほとんど同じ色の周辺領
域)を全て参照領域とし、それらの参照画素の代表色か
ら表示色が選定される。従って、前記課題を解決できる
のである。
According to the twelfth invention, when the representative color is selected in the representative color selection processing of the first or second invention,
Pixels whose distance in the color space is closer than the threshold value k (pixels of almost the same color) are grouped together, and k is increased until the number of groups is less than several times the number of representative colors assigned to the area. Be regrouped.
Then, the regrouped groups are arranged in descending order of the number of constituent pixels, the group having the representative color number is selected from the top, and the representative color is selected from each group. According to the thirteenth invention, in the representative color selection processing of the first or second invention, when the representative color is selected, the peripheral region (first
The invention is compared with several neighboring areas, and the second invention is compared with a representative color of a peripheral pixel referred to when selecting a display color, and a pixel whose distance in the color space is closer than a threshold value (already in the peripheral area). Pixels having almost the same color as the representative color are excluded from the representative color candidates, and the representative color is selected from the remaining pixels in the area. According to the fourteenth invention, in the display color selection process of the second invention, when the display color is selected, the average pixel value of the area including the target pixel is compared, and the difference is smaller than the threshold value. All areas (peripheral areas of almost the same color) are used as reference areas, and display colors are selected from the representative colors of these reference pixels. Therefore, the above problem can be solved.

【0018】[0018]

【実施例】本発明の実施例のカラー画像表示方法を、図
面を参照しつつ説明する。カラー画像表示システム 図1は、本発明の実施例のカラー画像表示方法及びそれ
を実施するカラー画像表示システムの概略の構成図であ
る。本実施例で用いられるカラー画像表示システムは、
従来の図3と同様に、入力されたR,G,Bの画像デー
タPinをnビットの色番号データCに変換すると共
に、各色番号と表示色(RGB)の対応したLUTデー
タMを作成する限定色表示手段100を有し、その出力
側にフレームバッファ200及びLUT300が接続さ
れている。フレームバッファ200は、各画素値に対応
した色番号を記憶するメモリであり、その出力側がLU
T300に接続されている。LUT300は、LUTデ
ータMとフレームバッファ200の出力を入力し、各画
素データをR,G,B信号に変換する回路であり、その
出力側に、R,G,BのD/A変換器400を介してデ
ィスプレイ(例えば、CRT)500が接続されてい
る。R,G,BのD/A変換器400は、R,G,B信
号をアナログ信号に変換した後、CRT500で表示さ
せる機能を有している。このカラー画像表示システム
は、集積回路等を用いたハードウェア、あるいはプログ
ラム制御されるプロセッサ等のソフトウェアを用いて構
成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A color image display method according to an embodiment of the present invention will be described with reference to the drawings. Color Image Display System FIG. 1 is a schematic configuration diagram of a color image display method of an embodiment of the present invention and a color image display system for implementing the method. The color image display system used in this embodiment is
Similar to FIG. 3 of the related art, the input R, G, B image data Pin is converted into n-bit color number data C, and LUT data M corresponding to each color number and display color (RGB) is created. The limited color display unit 100 is provided, and the frame buffer 200 and the LUT 300 are connected to the output side thereof. The frame buffer 200 is a memory that stores a color number corresponding to each pixel value, and its output side is an LU.
It is connected to T300. The LUT 300 is a circuit that inputs the LUT data M and the output of the frame buffer 200 and converts each pixel data into R, G, B signals, and has an R, G, B D / A converter 400 on its output side. A display (for example, a CRT) 500 is connected via the. The R, G, B D / A converter 400 has a function of converting the R, G, B signals into analog signals and then displaying them on the CRT 500. This color image display system is configured by using hardware such as an integrated circuit or software such as a program-controlled processor.

【0019】このようなカラー画像表示システムを用い
た本実施例のカラー画像表示方法の概略を説明する。ま
ず、限定色表示手段100では、処理S1で、例えば2
4ビットの画像データPinを入力し、処理S2で、入
力された画像データPinを部分領域に分割する。そし
て、処理S3で、分割された各領域毎に代表色数を決定
し、処理S4で、各領域からその色数の代表色を選定す
る。代表色の選定後、処理S5では、全ての画素に対
し、一部又は全部の代表色と比較して最も近い代表色を
その画素の表示色とし、処理S6で、LUTデータMを
作成してLUT300へ与えると共に、色番号データC
を出力してフレームバッファ200へ与える。LUT3
00では、処理S7で、作成されたLUTデータMに従
って入力画像データPinをR,G,B信号に変換す
る。変換されたR,G,B信号は、R,G,BのD/A
変換器400における処理S8で、それぞれアナログ信
号に変換された後、CRT500における処理S9で、
ディスプレイに表示される。
An outline of the color image display method of this embodiment using such a color image display system will be described. First, in the limited color display means 100, in the process S1, for example, 2
4-bit image data Pin is input, and in step S2, the input image data Pin is divided into partial areas. Then, in step S3, the number of representative colors is determined for each of the divided areas, and in step S4, the number of representative colors is selected from each area. After the selection of the representative color, in step S5, for all pixels, the representative color closest to some or all of the representative colors is set as the display color of the pixel, and in step S6, the LUT data M is created. Color number data C is given to LUT300.
Is output and given to the frame buffer 200. LUT3
At 00, in step S7, the input image data Pin is converted into R, G, B signals according to the created LUT data M. The converted R, G, B signals are D / A of R, G, B.
After being converted into analog signals in the process S8 in the converter 400, in the process S9 in the CRT 500,
Appears on the display.

【0020】図5は、図1に示す限定色表示手段100
の機能ブロック図である。限定色表示手段100は、第
1の発明に相当する処理を行うもので、集積回路等を用
いたハードウェア、あるいはプログラム制御されるプロ
セッサ等を用いたソフトウェアで構成されている。この
限定色表示手段100は、図1のS1,S2の領域分割
処理を行って8ビットの領域データA1を出力する領域
分割手段110を有し、その出力側には、代表色数決定
手段120を介して代表色選定手段130が接続されて
いる。代表色数決定手段120は、原画像データPin
と領域データA1に基づき、図1のS3の代表色数決定
処理を行い、その処理結果である代表色数データC1を
代表色選定手段130へ与える機能を有している。代表
色選定手段130は、画像データPinと代表色数デー
タC1に基づき、図1のS4の代表色選定処理を行い、
24ビットの代表色データC2を表示色選定手段140
へ与える機能を有している。表示色選定手段140は、
24ビットの画像データPinと24ビットの代表色デ
ータC2とに基づき、図1のS5の表示色選定処理を行
い、LUTデータMとnビットの色番号データCを出力
する機能を有している。
FIG. 5 shows the limited color display means 100 shown in FIG.
It is a functional block diagram of. The limited color display means 100 performs a process corresponding to the first aspect of the invention, and is composed of hardware using an integrated circuit or the like, or software using a program-controlled processor or the like. The limited color display means 100 has area dividing means 110 for performing area dividing processing of S1 and S2 of FIG. 1 and outputting 8-bit area data A1, and on the output side thereof, a representative color number determining means 120. The representative color selection means 130 is connected via. The representative color number determination unit 120 uses the original image data Pin.
1 has a function of performing the representative color number determination process of S3 of FIG. 1 based on the area data A1 and supplying the representative color number data C1 as the processing result to the representative color selection means 130. The representative color selection means 130 performs the representative color selection process of S4 of FIG. 1 based on the image data Pin and the representative color number data C1.
The 24-bit representative color data C2 is displayed in the display color selection means 140.
It has a function to give to. The display color selection means 140 is
The display color selection process of S5 of FIG. 1 is performed based on the 24-bit image data Pin and the 24-bit representative color data C2, and the LUT data M and the n-bit color number data C are output. .

【0021】次に、図5の限定色表示手段100内にお
ける各処理内容を図6〜図8を参照しつつ、以下説明す
る。図6はブロック分割例、図7はライン分割例、及び
図8は対応テーブル例を示す図である。図5の限定色表
示手段100において、24ビットの画像データPin
が入力されると、領域分割手段110では、その画像デ
ータPinを部分領域に分割し、分割した領域データA
1を代表色数決定手段120へ送る。この領域分割処理
では、例えば、図6のように8×8画素等の正方形や長
方形の同じ大きさのブロックに分割したり、あるいは、
図7のように1ライン毎や数ライン毎に画像データPi
nを分割する。代表色数決定手段120では、24ビッ
トの画像データPinと領域データA1を入力し、領域
の大きさや色数等を参照して、分割された各領域から選
定する代表色の数を決定し、その代表色数データC1を
代表色選定手段130へ送る。この代表色数決定処理
は、例えば、閾値を10として、領域内の色数(種類)
が25ならば3色、色数が7ならば1色というように、
除算を利用した簡単な対応テーブル(図8)を用意して
おいて適用することで実現できる。又、領域分割処理に
おいて、領域の大きさが異なるように分割されている場
合、その大きさに比例して色数を決定することもでき
る。
Next, each processing content in the limited color display means 100 of FIG. 5 will be described below with reference to FIGS. FIG. 6 is a block division example, FIG. 7 is a line division example, and FIG. 8 is a correspondence table example. In the limited color display means 100 of FIG. 5, 24-bit image data Pin
Is input, the area dividing unit 110 divides the image data Pin into partial areas, and the divided area data A
1 is sent to the representative color number determination means 120. In this area division processing, for example, as shown in FIG. 6, the area is divided into blocks each having a square or rectangular shape of 8 × 8 pixels or the like, or
As shown in FIG. 7, the image data Pi
Divide n. The representative color number determining unit 120 inputs the 24-bit image data Pin and the area data A1, determines the number of representative colors to be selected from each divided area by referring to the size and the number of colors of the area, The representative color number data C1 is sent to the representative color selecting means 130. In this representative color number determination processing, for example, the threshold value is set to 10 and the number of colors (types) in the area is set.
If 25 is 3 colors, if the number of colors is 7, it is 1 color.
This can be achieved by preparing and applying a simple correspondence table (FIG. 8) using division. Further, in the area division processing, when the areas are divided so as to have different sizes, the number of colors can be determined in proportion to the size.

【0022】ここで、それぞれの領域で勝手に色数を決
定すると、全領域の色数の合計が、指定された限定色数
に合わなくなるので、予め各領域に限定数を設けておい
て、それを越えないようにしたり、あるいは、この代表
色数決定処理を終えた後で再度、従来の限定色手法を適
用して微調整しても良い。代表色選定手段130では、
24ビットの画像データPinと代表色数データC1を
入力し、各領域から割り当てられた色数だけ代表色を選
定し、24ビットの代表色データC2を表示色選定手段
140へ送る。この代表色選定処理では、例えば、頻度
法のように領域内で出現頻度の多い色から代表色を選定
する。表示色選定手段140では、24ビットの画像デ
ータPinと24ビットの代表色データC2とから、各
画素を表示する色を選定し、nビットの色番号データC
とLUTデータMを出力する。例えば、各領域から選定
された全ての代表色と画素とを比較して選定する最近隣
探索法等を適用することで実現できる。以上のように、
図5の限定色表示手段100では、原画像を部分領域に
分割し、それぞれの領域から特徴的な色を代表色として
いるので、これまで再現性の悪かった一部分に現れるよ
うな出現頻度は低いが特徴的な色に対して再現性が向上
する。つまり、局部的に変化の大きい色に対して再現性
が向上する。そのため、画像全体から受ける印象が向上
する。
Here, if the number of colors is arbitrarily determined in each area, the total number of colors in all areas does not match the specified limited number of colors. Therefore, a limited number is provided in each area in advance. It may not be exceeded, or the conventional limited color method may be applied again after the representative color number determination processing is finished to perform fine adjustment. In the representative color selection means 130,
The 24-bit image data Pin and the representative color number data C1 are input, the representative colors are selected from the respective regions by the assigned number of colors, and the 24-bit representative color data C2 is sent to the display color selecting means 140. In this representative color selection process, for example, a representative color is selected from colors that frequently appear in the area, as in the frequency method. The display color selection means 140 selects a color for displaying each pixel from the 24-bit image data Pin and the 24-bit representative color data C2, and the n-bit color number data C is selected.
And LUT data M are output. For example, it can be realized by applying a nearest neighbor search method or the like, in which all the representative colors selected from each area are compared with the pixels to be selected. As mentioned above,
In the limited color display unit 100 shown in FIG. 5, the original image is divided into partial areas, and the characteristic color from each area is used as the representative color. Therefore, the appearance frequency that appears in a part where the reproducibility is poor is low. However, the reproducibility is improved for characteristic colors. That is, the reproducibility is improved for a color that locally changes greatly. Therefore, the impression received from the entire image is improved.

【0023】限定色表示手段の実施例 図5の限定色表示手段100を構成する各手段110,
120,130,140の実施例(1)〜(4)を図9
〜図16を参照しつつ、以下説明する。 (1) 領域分割手段110(図9) 図9は、図5に示す領域分割手段110の機能ブロック
図である。この領域分割手段110は、第3の発明に相
当する処理を行うもので、24ビットの画像データPi
n及び限定色数Nに基づき領域数決定処理を行って領域
数データA2を出力する領域数決定手段111と、24
ビットの画像データPin及び領域数データA2に基づ
き小領域分割処理を行って領域データA1を出力する小
領域分割手段112とで、構成されている。
Embodiment of limited color display means Each means 110 constituting the limited color display means 100 of FIG.
FIG. 9 shows the embodiments (1) to (4) of 120, 130, 140.
The following is a description with reference to FIG. (1) Area dividing means 110 (FIG. 9) FIG. 9 is a functional block diagram of the area dividing means 110 shown in FIG. The area dividing means 110 performs the processing corresponding to the third aspect of the invention, and the 24-bit image data Pi
24, an area number determining means 111 for performing the area number determining process based on n and the limited color number N and outputting the area number data A2.
The small area dividing unit 112 performs a small area dividing process based on the bit image data Pin and the area number data A2 and outputs the area data A1.

【0024】次に、領域分割手段110の処理内容を説
明する。まず、24ビットの画像データPinと限定色
数Nが入力されると、領域数決定手段111では、その
画像データPinと限定色数Nから、分割する適切な領
域数を決定し、その領域数データA2を小領域分割手段
112へ送る。この領域数決定処理は、簡単には限定色
数Nを2や3で除した値を領域数とすることで実現でき
る。例えば、限定色数Nが256の場合には、128や
64を領域数とする。割り切れない時は、切り捨てれば
良い。小領域分割手段112では、24ビットの画像デ
ータPinと領域数データA2から、領域の大きさを決
定し、小領域に分割してその領域データA1を出力す
る。この小領域分割処理は、例えば、領域数決定手段1
11から供給された領域数が64で、画像の大きさが6
40×480のとき、64の平方根8で640と480
を除算すると、一つの領域の大きさが80×60とな
り、この大きさに分割することで実現できる。割り切れ
ない時は、切り捨てれば良い。以上のように、図9の領
域分割手段110では、画像の大きさや限定色数によら
ず、各領域では常に同じ閾値を用いて各処理を行うこと
ができる。
Next, the processing contents of the area dividing means 110 will be described. First, when the 24-bit image data Pin and the limited color number N are input, the area number determination unit 111 determines an appropriate number of areas to be divided from the image data Pin and the limited color number N, and the number of areas is determined. The data A2 is sent to the small area dividing unit 112. This area number determination processing can be easily realized by setting the value obtained by dividing the limited color number N by 2 or 3 as the area number. For example, when the limited color number N is 256, 128 or 64 is set as the number of areas. If you can't divide it, just cut it down. The small area dividing unit 112 determines the area size from the 24-bit image data Pin and the area number data A2, divides the area into small areas, and outputs the area data A1. This small area division processing is performed by, for example, the area number determination unit 1
The number of regions supplied from 11 is 64, and the size of the image is 6
When 40 × 480, 640 and 480 with the square root of 64
When divided by, the size of one region becomes 80 × 60, which can be realized by dividing into this size. If you can't divide it, just cut it down. As described above, in the area dividing unit 110 of FIG. 9, each processing can be performed using the same threshold value in each area regardless of the size of the image and the number of limited colors.

【0025】(2) 代表色数決定手段120(図1
0) 図10は、図5に示す代表色数決定手段120の機能ブ
ロック図である。この代表色数決定手段120は、第6
の発明に相当する処理を行うもので、24ビットの画像
データPin及び領域データA1に基づき代表色数仮決
定処理を行って代表色データC3を出力する代表色数仮
決定手段121と、限定色数N及び代表色数データC3
に基づき色数比較処理を行って代表色数データC1を出
力する色数比較手段122と、該色数比較手段122の
出力に基づき重み算出処理を行って重みデータW1を出
力する重み算出手段123と、該重みデータW1を入力
して色数調整処理を行う色数調整手段124とで、構成
されている。
(2) Representative color number determining means 120 (see FIG. 1)
0) FIG. 10 is a functional block diagram of the representative color number determination unit 120 shown in FIG. The representative color number determining means 120 is the sixth
The process corresponding to the present invention is performed. The representative color number tentative determination unit 121 that performs the representative color number tentative determination process based on the 24-bit image data Pin and the area data A1 and outputs the representative color data C3, and the limited color Number N and representative color number data C3
The color number comparing means 122 for performing the color number comparing processing based on the above and outputting the representative color number data C1 and the weight calculating means 123 for performing the weight calculating processing based on the output of the color number comparing means 122 and outputting the weight data W1. And the color number adjusting means 124 for inputting the weight data W1 and performing the color number adjusting process.

【0026】次に、代表色数決定手段120の処理内容
を図8及び図11を参照しつつ説明する。図11は、傾
きの比例関数例を示す図である。まず、代表色数仮決定
手段121では、24ビットの画像データPinと領域
データA1に基づき、各領域において代表色数を仮決定
し、その仮決定された代表色数データC3を色数比較手
段122へ送る。この代表色数仮決定処理は、例えば、
図5で説明したように、閾値を10として、領域内の色
数(種類)が25ならば3色、色数が7ならば1色とい
うように、除算を利用した簡単な図8の対応テーブルを
用意しておいて、適用することで実現できる。色数比較
手段122では、代表色数仮決定手段121から供給さ
れた代表色数データC3の合計と、限定色数Nとを比較
し、代表色数がNと等しい場合は入力された代表色数デ
ータC3をそのまま代表色数データC1として出力す
る。その他の場合は、代表色数データC1を重み算出手
段123へ供給する。この色数比較処理は、例えば、限
定色数Nが256で、仮代表色数の合計(C3)が40
0の場合は、144減らす微調整が必要であると判断で
きる。
Next, the processing contents of the representative color number determining means 120 will be described with reference to FIGS. 8 and 11. FIG. 11 is a diagram showing an example of a proportional function of inclination. First, the representative color number tentative determination means 121 tentatively determines the representative color number in each area based on the 24-bit image data Pin and the area data A1, and the tentatively determined representative color number data C3 is used in the color number comparison means. Send to 122. This representative color number tentative determination process is, for example,
As described with reference to FIG. 5, when the threshold value is 10, the number of colors (types) in the area is 25, the number of colors is 3, and when the number of colors is 7, the number of colors is 1, so that the simple correspondence of FIG. It can be realized by preparing a table and applying it. In the color number comparison means 122, the total of the representative color number data C3 supplied from the representative color number tentative determination means 121 is compared with the limited number of colors N. If the number of representative colors is equal to N, the input representative color The numerical data C3 is output as it is as the representative color number data C1. In other cases, the representative color number data C1 is supplied to the weight calculating means 123. In this color number comparison processing, for example, the limited color number N is 256 and the total number of temporary representative colors (C3) is 40.
In the case of 0, it can be determined that fine adjustment to reduce 144 is necessary.

【0027】重み算出手段123では、各領域の代表色
数データC1を参照して領域の色の重みを算出し、その
重みデータW1を色数調整手段124へ供給する。この
重み算出処理は、例えば、前記の例のように限定色数N
が256で、仮代表色数の合計(C3)が400の場合
のように調整幅が大きい時は、図11のように傾き25
6/400の比例関数を用いて、その値を下回らない整
数を調整後の代表色数とする重み関数を算出することで
実現できる。調整幅が小さい時は、色数の最も多い領域
から、色数を一つずつ減じ、微調整を行う。色数調整手
段124では、重み算出手段123から供給された重み
データW1を、代表色数データC3に対応させて、色数
を調整し、その代表色数データC3を色数比較手段12
2へ供給する。以上のように、図10の代表色数決定手
段120では、各領域での代表色数決定処理において、
画像全体の情報を全く扱う必要がなくなるので、処理が
簡単になり、ハードウェアで実現する際にも、メモリ量
を減少できる。
The weight calculating means 123 calculates the weight of the color of the area with reference to the representative color number data C1 of each area, and supplies the weight data W1 to the color number adjusting means 124. This weight calculation processing is performed by, for example, the limited number of colors N as in the above example.
Is 256, and when the adjustment range is large as in the case where the total number of temporary representative colors (C3) is 400, the inclination 25 is set as shown in FIG.
This can be realized by using a proportional function of 6/400 and calculating a weighting function with an adjusted representative color number being an integer that does not fall below that value. When the adjustment range is small, the number of colors is subtracted one by one from the area with the largest number of colors, and fine adjustment is performed. The color number adjusting unit 124 adjusts the number of colors by making the weight data W1 supplied from the weight calculating unit 123 correspond to the representative color number data C3, and the representative color number data C3 is compared with the representative color number data C3.
Supply to 2. As described above, in the representative color number determination means 120 of FIG. 10, in the representative color number determination processing in each area,
Since it is not necessary to handle the information of the entire image at all, the processing is simplified, and the memory amount can be reduced even when it is realized by hardware.

【0028】(3) 代表色選定手段130(図12) 図12は、図5に示す代表色選定手段130の機能ブロ
ック図である。この代表色選定手段130は、第12の
発明に相当するもので、24ビットの画像データPin
に基づき近傍画素マージ処理で近傍画像をマージ(統
合、merge )してグループデータGPを出力する近傍画
素マージ手段131と、代表色数データC1とグループ
データGPを比較して該近傍画素マージ手段131に対
して再グループ化を要求(Q)するグループ数判定処理
を行うグループ数判定手段132と、該近傍画素マージ
手段131で求められた画像グループを並べ直す画素グ
ループソート処理を行う画素グループソート手段133
と、該画素グループソート手段133の出力に基づき2
4ビットの画像データPinから代表色を算出して24
ビットの代表色データC2を出力する代表色算出処理を
行う代表色算出手段134とで、構成されている。
(3) Representative Color Selection Means 130 (FIG. 12) FIG. 12 is a functional block diagram of the representative color selection means 130 shown in FIG. The representative color selecting means 130 corresponds to the twelfth invention, and is the 24-bit image data Pin.
The neighboring pixel merging unit 131 that merges (merges) the neighboring images by the neighboring pixel merging process to output group data GP, and the neighboring pixel merging unit 131 that compares the representative color number data C1 and the group data GP. Group number determination means 132 for performing group number determination processing for requesting (Q) regrouping, and pixel group sorting means for performing pixel group sorting processing for rearranging the image groups obtained by the neighboring pixel merging means 131. 133
And 2 based on the output of the pixel group sorting means 133.
The representative color is calculated from the 4-bit image data Pin and calculated as 24
The representative color calculation unit 134 that performs the representative color calculation process that outputs the representative color data C2 of bits is configured.

【0029】次に、この代表色選定手段130の代表色
選定処理を、図13を参照しつつ説明する。図13は、
近傍画素X,Y,Zのマージ例を示す図である。まず、
近傍画素マージ手段131では、入力される24ビット
の画像データPinに基づき、領域内の全ての画素を比
較することによって、色空間で距離が閾値kよりも近い
画素をマージし、そのマージしたグループデータGPを
グループ数判定手段132へ送る。この近傍画素マージ
処理は、例えば、図13のように色空間内に画素X,
Y,Zが存在している場合では(簡単のため色空間を平
面で表している)、閾値kを20とすると、画素Yは画
素Xのグループにマージされ、画素Zはマージされな
い。以後、この画素Xのグループの画素値は暫定的にX
の画素値と同じとして、他の画素との比較、マージを行
う。グループ数判定手段132では、近傍画素マージ手
段131でマージされたグループデータ(グループ数)
GPと、その領域に割り当てられた代表色数データC1
とを比較し、該近傍画素マージ手段131に対して再グ
ループ化を要求(Q)する。このグループ数判定処理
は、例えば、グループ数が代表色数の2倍以下の場合は
再グループ化の要求を行う。近傍画素マージ手段131
では、再グループ化要求されると、閾値kを大きくし、
より広い範囲の画素をまとめ、グループの数を減少させ
る。例えば、図13の場合では、閾値kを30に増やす
と、画素Zも同一グループにマージされるので、グルー
プ数が減少する。
Next, the representative color selection processing of the representative color selection means 130 will be described with reference to FIG. Figure 13
It is a figure which shows the example of merging of neighboring pixel X, Y, and Z. First,
In the neighboring pixel merging unit 131, all pixels in the area are compared based on the input 24-bit image data Pin to merge the pixels whose distance is closer than the threshold value k in the color space, and the merged group. The data GP is sent to the group number determination means 132. This neighborhood pixel merging process is performed by, for example, as shown in FIG.
When Y and Z are present (the color space is represented by a plane for simplicity), if the threshold value k is 20, the pixel Y is merged into the group of pixels X and the pixel Z is not merged. After that, the pixel value of this group of pixels X is provisionally X.
The pixel value is the same as the pixel value of, and comparison and merging with other pixels are performed. In the group number determination means 132, the group data (number of groups) merged by the neighboring pixel merge means 131
GP and representative color number data C1 assigned to the area
And the re-grouping is requested (Q) to the neighboring pixel merging means 131. In the group number determination process, for example, when the number of groups is twice the number of representative colors or less, regrouping is requested. Neighborhood pixel merging means 131
Then, when regrouping is requested, the threshold value k is increased,
Group a wider range of pixels to reduce the number of groups. For example, in the case of FIG. 13, when the threshold value k is increased to 30, the pixel Z is also merged into the same group, so that the number of groups decreases.

【0030】一方、画素グループソート手段133で
は、近傍画素マージ手段131で求められた画素グルー
プを構成画素数の多い順に並べ、上位から代表色数グル
ープを選択し、代表色算出手段134へ供給する。代表
色算出手段134では、供給された各グループから、2
4ビットの画像データPinにおける適切な色を代表色
として選定し、24ビットの代表色データC2を出力す
る。この代表色算出処理は、例えば、グループ内の全画
素値の平均を代表色としたり、構成画素の最も多い色を
代表色とする。以上のように、図12の代表色選定手段
130では、ある程度差のある色を代表色に選定するこ
とができるので、色空間で距離の近いところに代表色が
集中せず、色再現性が向上する。
On the other hand, the pixel group sorting means 133 arranges the pixel groups obtained by the neighboring pixel merging means 131 in descending order of the number of constituent pixels, selects a representative color number group from the top, and supplies it to the representative color calculating means 134. . The representative color calculation unit 134 calculates 2 from each supplied group.
An appropriate color in the 4-bit image data Pin is selected as a representative color, and 24-bit representative color data C2 is output. In this representative color calculation processing, for example, the average of all pixel values in the group is set as the representative color, or the color having the largest number of constituent pixels is set as the representative color. As described above, the representative color selecting unit 130 of FIG. 12 can select colors having a certain degree of difference as the representative colors, so that the representative colors are not concentrated at a position close to each other in the color space and the color reproducibility is improved. improves.

【0031】(4) 表示色選定手段140 図14は、図5に示す表示色選定手段140の機能ブロ
ック図である。この表示色選定手段140は、第2の発
明に相当するもので、24ビットの画像データPinに
基づき参照領域選定処理で参照領域を選定して参照領域
データR1を出力する参照領域選定手段141と、該参
照領域データR1及び24ビットの代表色データC2に
基づき参照領域内表示色選定処理で該画像データPin
から参照領域内の表示色を選定してLUTデータM及び
nビットの色番号データCを出力する参照領域内表示色
選定手段142とで、構成されている。
(4) Display Color Selection Means 140 FIG. 14 is a functional block diagram of the display color selection means 140 shown in FIG. The display color selection means 140 corresponds to the second aspect of the present invention, and includes a reference area selection means 141 for selecting a reference area in a reference area selection process based on 24-bit image data Pin and outputting reference area data R1. , The image data Pin in the reference area display color selection processing based on the reference area data R1 and the 24-bit representative color data C2.
From the LUT data M and the n-bit color number data C to select the display color in the reference area and the display color selecting means 142 in the reference area.

【0032】次に、この表示色選定手段140での表示
色選定処理を、図15及び図16を参照しつつ説明す
る。図15及び図16は、参照領域例を示す図である。
まず、参照領域選定手段141では、24ビットの画像
データPinを入力し、表示色選定の対象画素の含まれ
る領域の周辺数領域から、参照すべき代表色を含む領域
を選定し、その参照領域データR1を参照領域内表示色
選定手段142へ送る。この参照領域選定処理は、例え
ば、図15のようにブロック分割している場合、対象領
域に隣接している9領域(対象領域を含む)を参照領域
としたり、あるいは近隣25領域を参照領域とする。
又、図16のようにライン分割している場合は、隣接し
ている3ライン、あるいは近隣5ラインを参照領域とし
て選定する。参照領域内表示色選定手段142では、参
照領域選定手段141で選定した参照領域内の代表色と
だけ画素値の比較を行って表示色を選定し、LUTデー
タM及びnビットの色番号データCを出力する。この参
照領域内表示色選定処理は、例えば、参照領域内の全代
表色と対象画素との画素値の差を計算し、最も差の小さ
い代表色をその画素の表示色としている。以上のよう
に、図14の表示色選定手段140では、参照する代表
色を限定し、一部の代表色とだけ比較を行うので、処理
時間が大幅に短縮し、ハードウェアで実現する際にもメ
モリ容量を減少できる。
Next, the display color selection processing by the display color selection means 140 will be described with reference to FIGS. 15 and 16. 15 and 16 are diagrams showing examples of reference areas.
First, the reference area selection means 141 inputs 24-bit image data Pin, selects an area including a representative color to be referred from the peripheral area of the area including the target pixel for display color selection, and then the reference area. The data R1 is sent to the reference area display color selection means 142. In the reference area selection process, for example, when the blocks are divided as shown in FIG. 15, 9 areas (including the target area) adjacent to the target area are used as the reference areas, or 25 neighboring areas are used as the reference areas. To do.
In the case of line division as shown in FIG. 16, three adjacent lines or five adjacent lines are selected as the reference area. In the reference area display color selecting means 142, the display color is selected by comparing the pixel value only with the representative color in the reference area selected by the reference area selecting means 141, and the LUT data M and the n-bit color number data C are selected. Is output. In this reference area display color selection processing, for example, the difference between the pixel values of all the representative colors in the reference area and the target pixel is calculated, and the representative color with the smallest difference is used as the display color of that pixel. As described above, the display color selection means 140 of FIG. 14 limits the representative colors to be referred to and compares only a part of the representative colors, so that the processing time is significantly shortened, and when it is realized by hardware. Can also reduce the memory capacity.

【0033】限定色表示手段の他の実施例 図5の限定色表示手段100内の各手段110〜140
を構成する他の実施例を、図17〜図33を参照しつつ
説明する。 (1−1) 領域分割手段110(図17) 図17は、図5に示す領域分割手段110の他の機能ブ
ロック図である。この領域分割手段110は、第4の発
明に相当するもので、24ビットの画像データPinに
基づき画素値判定処理で画素値の判定を行って領域デー
タA1又は画素データPE1を出力する画素値判定手段
113と、該画素データPE1の画素マージ処理を行う
画素マージ手段114とで、構成されている。次に、こ
の領域分割手段110の領域分割処理を、図18を参照
しつつ説明する。図18は、画素マージの例を示す図で
ある。まず、画素値判定手段113では、24ビットの
画像データPinを入力し、隣接する複数の画素の画素
値を比較して同領域にマージするか、異領域に分けるか
を判定し、マージする場合は画素データPE1を画素マ
ージ手段114へ供給し、マージしない場合にはさらに
他の隣接画素との比較を行い、マージする画素がなくな
ると、領域データA1を出力する。画素マージ手段11
4では、画素値判定手段113から供給された画素デー
タPE1をマージし、再び該画素値判定手段113へP
E1画素データを供給する。この画素マージ処理は、例
えば、図18のように画素が並んでいる場合、閾値を5
として、上下左右の隣接画素と比較して差が5以下の画
素を一つの領域にマージしている。図18の場合は、4
つの領域に分割している。以上のように、図17の領域
分割手段110では、近い色を持つ画素を同じ領域に含
めるようにしているので、代表色選定や表示色選定にお
いて、参照領域のマージ等の処理を行わないでも、適当
な色を選択することができる。
Other Embodiments of Limited Color Display Means Each of the means 110 to 140 in the limited color display means 100 of FIG.
Another embodiment of the present invention will be described with reference to FIGS. (1-1) Area dividing means 110 (FIG. 17) FIG. 17 is another functional block diagram of the area dividing means 110 shown in FIG. The area dividing means 110 corresponds to the fourth aspect of the invention, and determines the pixel value in the pixel value determination processing based on the 24-bit image data Pin and outputs the area data A1 or the pixel data PE1. It is composed of a means 113 and a pixel merging means 114 for carrying out a pixel merging process of the pixel data PE1. Next, the area division processing of the area division means 110 will be described with reference to FIG. FIG. 18 is a diagram illustrating an example of pixel merging. First, in the pixel value determination means 113, 24-bit image data Pin is input, pixel values of a plurality of adjacent pixels are compared, and it is determined whether to merge into the same region or different regions, and to merge. Supplies the pixel data PE1 to the pixel merging unit 114, compares the pixel data PE1 with another adjacent pixel when not merging, and outputs the area data A1 when there are no pixels to be merged. Pixel merging means 11
In 4, the pixel data PE1 supplied from the pixel value determination means 113 is merged, and the pixel value determination means 113 is merged with P.
Supply E1 pixel data. In this pixel merging process, for example, when pixels are arranged as shown in FIG. 18, the threshold value is set to 5
As a result, pixels having a difference of 5 or less as compared with adjacent pixels on the left, right, top and bottom are merged into one area. In the case of FIG. 18, 4
It is divided into two areas. As described above, since the area dividing unit 110 in FIG. 17 includes pixels having similar colors in the same area, it does not need to perform processing such as merging reference areas in the representative color selection and the display color selection. , You can choose a suitable color.

【0034】(2−1) 代表色数決定手段120(図
19) 図19は、図5に示す代表色数決定手段120の他の機
能ブロック図である。この代表色数決定手段120は、
第7の発明に相当するので、領域データA1及び24ビ
ットの画像データPinに基づき色分散算出処理で色分
散データCD1を算出する色分散算出手段125aと、
該色分散データCD1及び画像データPinに基づき代
表色数算出処理で代表色数データC1を算出する代表色
数算出手段125bとで、構成されている。次に、この
代表色数決定手段120の代表色数決定処理を、図20
を参照しつつ説明する。図20は、変換関数例を示す図
である。まず、色分散算出手段125aでは、領域デー
タA1及び24ビットの画像データPinを入力し、例
えば分散(平均と画素値の差の2乗の和)を利用するこ
とにより、領域内の色の統計的ばらつきを算出し、その
算出した色分散データCD1を代表色数算出手段125
bへ供給する。代表色数算出手段125bでは、24ビ
ットの画像データPinを入力し、色分散算出手段12
5aから供給された色分散データCD1を参照し、分散
の大きい領域には多くの色数を割り当て、分散の小さい
領域には少しの色数を割り当てる等して色数を算出し、
割り当てた色数、つまり算出した色数をその領域の代表
色数として代表色数データC1の形で出力する。この代
表色数算出処理は、例えば、図20のように分散値を1
00で除算しただけの簡単な変換関数を用意して色数を
算出することによって実現できる。以上のように、図1
9の代表色数決定手段120では、なだらかに変化して
いる部分の色数を減少させ、変化の激しい部分に多くの
色を割り当てることで、注目されるべき部分の色再現性
を高めており、画像全体から受ける印象も向上する。
(2-1) Representative Color Number Determination Means 120 (FIG. 19) FIG. 19 is another functional block diagram of the representative color number determination means 120 shown in FIG. The representative color number determining means 120
Since it corresponds to the seventh invention, a color dispersion calculating unit 125a that calculates the color dispersion data CD1 by the color dispersion calculation processing based on the area data A1 and the 24-bit image data Pin.
A representative color number calculating means 125b for calculating the representative color number data C1 by the representative color number calculating process based on the color dispersion data CD1 and the image data Pin. Next, the representative color number determination processing of the representative color number determination means 120 will be described with reference to FIG.
Will be described with reference to. FIG. 20 is a diagram showing an example of the conversion function. First, in the color variance calculating means 125a, the area data A1 and the 24-bit image data Pin are input, and, for example, the variance (the sum of the square of the difference between the average and the pixel value) is used to calculate the color statistics in the area. And calculating the color dispersion data CD1 as the representative color number calculating means 125.
supply to b. The 24-bit image data Pin is input to the representative color number calculating means 125b, and the color variance calculating means 12 is inputted.
By referring to the color dispersion data CD1 supplied from 5a, a large number of colors is allocated to a large dispersion area, a small number of colors is allocated to a small dispersion area, and the like.
The assigned color number, that is, the calculated color number is output as the representative color number of the area in the form of representative color number data C1. In this representative color number calculation process, for example, the variance value is set to 1 as shown in FIG.
This can be realized by preparing a simple conversion function that is simply divided by 00 and calculating the number of colors. As described above, FIG.
The representative color number determination unit 120 of 9 reduces the number of colors in the gently changing portion and allocates many colors to the rapidly changing portion to improve the color reproducibility of the notable portion. , The impression received from the entire image is also improved.

【0035】(2−2) 代表色数決定手段120(図
21) 図21は、図5に示す代表色数決定手段120の他の機
能ブロック図である。この代表色数決定手段120は、
第8の発明に相当するもので、図19と同様の色分散算
出処理を行う色分散算出手段125aと、該色分散算出
手段125aから出力された色分散データCD1、24
ビットの画像データPin及び参照領域データR1に基
づき平均値比較処理で平均値の比較を行い、最小差分デ
ータMDを出力する平均値比較手段126aと、該色分
散データCD1、画像データPin及び最小差分データ
MDに基づき代表色数算出処理で代表色数データC1を
算出する代表色数算出手段126bとで、構成されてい
る。次に、この代表色数決定手段120の代表色数決定
処理を説明する。まず、色分散算出手段125aでは、
図19と同様に、領域データA1及び24ビットの画像
データPinから、領域内の色の統計的ばらつきを算出
し、その算出した色分散データCD1を平均値比較手段
126aと代表色数算出手段126bへ供給する。平均
値比較手段126aでは、図14の参照領域選定手段1
41から出力された参照領域データR1の領域の平均値
を算出し、対象領域の平均値と比較して最小差分データ
MDを代表色数算出手段126bへ供給する。この平均
値比較処理は、例えば、参照領域が図15のように隣接
9ブロックである場合、対象領域と他の8ブロックの平
均値の差を算出し、その差が最も小さい最小差分データ
MDを出力する。代表色数算出手段126bでは、図1
9の代表色数算出手段125bと同様の機能を有すると
共に、色分散算出手段125aから供給される色分散が
小さく、かつ平均値比較手段126aから供給される最
小差分データMDが閾値より小さい場合、代表色数を0
として代表色数データC1の形で出力する機能も有して
いる。そのため、この代表色数算出処理では、例えば、
色分散閾値を20、平均値差分閾値を30とすると、色
分散が20以下で、かつ、平均値差分が30以下の領域
に対しては代表色数を0とする。但し、参照領域内の代
表色数が全て0になると、表示色選定時に比較する代表
色が存在しなくなるので、隣接領域の代表色数が全て0
の時は、例外的に代表色数を1として出力する。以上の
ように、図21の代表色数決定手段120では、なだら
かに変化する部分に割り当てる色数をさらに減少させる
ことによって、他の部分の色再現性を高めている。
(2-2) Representative Color Number Determining Unit 120 (FIG. 21) FIG. 21 is another functional block diagram of the representative color number determining unit 120 shown in FIG. The representative color number determining means 120
This is equivalent to the eighth invention, and color dispersion calculation means 125a for performing the same color dispersion calculation processing as in FIG. 19, and color dispersion data CD1, 24 output from the color dispersion calculation means 125a.
Mean value comparison means 126a for comparing the average values in the average value comparison processing based on the bit image data Pin and the reference area data R1 and outputting the minimum difference data MD, the color dispersion data CD1, the image data Pin and the minimum difference. And a representative color number calculating means 126b for calculating the representative color number data C1 based on the data MD. Next, the representative color number determination processing of the representative color number determination means 120 will be described. First, in the color variance calculating means 125a,
Similar to FIG. 19, the statistical dispersion of colors in the area is calculated from the area data A1 and the 24-bit image data Pin, and the calculated color dispersion data CD1 is used as the average value comparison means 126a and the representative color number calculation means 126b. Supply to. In the average value comparing means 126a, the reference area selecting means 1 of FIG.
The average value of the area of the reference area data R1 output from 41 is calculated, compared with the average value of the target area, and the minimum difference data MD is supplied to the representative color number calculating means 126b. In this average value comparison process, for example, when the reference area is adjacent 9 blocks as shown in FIG. 15, the difference between the average values of the target area and the other 8 blocks is calculated, and the minimum difference data MD having the smallest difference is calculated. Output. In the representative color number calculating means 126b, as shown in FIG.
9 has the same function as the representative color number calculation unit 125b, the color distribution supplied from the color dispersion calculation unit 125a is small, and the minimum difference data MD supplied from the average value comparison unit 126a is smaller than the threshold value. Number of representative colors is 0
Also, it has a function of outputting in the form of the representative color number data C1. Therefore, in this representative color number calculation process, for example,
When the color dispersion threshold is 20 and the average value difference threshold is 30, the number of representative colors is set to 0 for the region where the color dispersion is 20 or less and the average value difference is 30 or less. However, when the number of representative colors in the reference area becomes all 0, there is no representative color to be compared when selecting the display color, so the number of representative colors in the adjacent area is all 0.
In the case of, the number of representative colors is exceptionally set to 1 and output. As described above, the representative color number determining unit 120 of FIG. 21 further improves the color reproducibility of other portions by further reducing the number of colors assigned to the gently changing portions.

【0036】(2−3) 代表色数決定手段120(図
22) 図22は、図5に示す代表色数決定手段120の他の機
能ブロック図である。この代表色数決定手段120は、
第9の発明に相当するもので、領域データA1及び24
ビットの画像データPinに基づきDCT算出処理を行
って変換係数データCC1を出力するDCT算出手段1
27aと、該変換係数データCC1及び画像データPi
nに基づき代表色数算出処理を行って代表色数データC
1を出力する代表色数算出手段127bとで、構成され
ている。次に、この代表色数決定手段120の代表色数
決定処理を説明する。まず、DCT算出手段127aで
は、領域データA1と正方形ブロックの画像データPi
nとを入力し、該画像データPinに対しDCTを行っ
て変換係数を算出し、その変換係数データCC1を代表
色数算出手段127bへ供給する。ここで、DCTは、
画像データPinの全てのデータ(R,G,B等)に対
して行っても良いが、輝度データに対してのみ計算を行
うことでも良い結果が得られる。代表色数算出手段12
7bでは、変換係数データCC1と24ビットの画像デ
ータPinを入力し、該変換係数データCC1を参照し
て色数を割り当てる。即ち、変換係数の交流成分が大き
い時は、色のばらつきが大きいので色数を多く割り当
て、交流成分が小さい時は、色数を少なく割り当てる。
このようにして割り当てた色数を代表色数データC1と
して出力する。この代表色数算出処理は、例えば、交流
成分の変換係数を全て合計し、それを閾値で除した値を
色数とすることで実現している。以上のように、図22
の代表色数決定手段120では、領域内の画素値の変化
の様子が、分散よりも詳しく得られるので、より適切な
処理を行うことができる。
(2-3) Representative Color Number Determination Means 120 (FIG. 22) FIG. 22 is another functional block diagram of the representative color number determination means 120 shown in FIG. The representative color number determining means 120
This corresponds to the ninth aspect of the invention and includes area data A1 and 24.
DCT calculation means 1 for performing the DCT calculation process based on the bit image data Pin and outputting the conversion coefficient data CC1
27a, the conversion coefficient data CC1 and the image data Pi
Representative color number data C is calculated by performing a representative color number calculation process based on n.
And a representative color number calculating means 127b that outputs 1. Next, the representative color number determination processing of the representative color number determination means 120 will be described. First, the DCT calculation means 127a uses the area data A1 and the image data Pi of the square block.
n is input, DCT is performed on the image data Pin to calculate the conversion coefficient, and the conversion coefficient data CC1 is supplied to the representative color number calculation means 127b. Where DCT is
Although it may be performed for all the data (R, G, B, etc.) of the image data Pin, a good result can be obtained by performing the calculation only for the luminance data. Representative color number calculation means 12
In 7b, the conversion coefficient data CC1 and the 24-bit image data Pin are input, and the number of colors is assigned with reference to the conversion coefficient data CC1. That is, when the AC component of the conversion coefficient is large, the number of colors is large because the color variation is large, and when the AC component is small, the number of colors is small.
The number of colors thus assigned is output as the representative color number data C1. This representative color number calculation processing is realized, for example, by summing all the conversion coefficients of the AC components and dividing the sum by a threshold value to obtain the number of colors. As described above, FIG.
In the representative color number determining unit 120, the change of the pixel value in the area can be obtained in more detail than the variance, so that more appropriate processing can be performed.

【0037】(2−4) 代表色数決定手段120(図
23) 図23は、図5に示す代表色数決定手段120の他の機
能ブロック図である。この代表色数決定手段120は、
第10の発明に相当するもので、領域データA1及び2
4ビットの画像データPinに基づき簡略DCT算出処
理を行って変換係数データCC2を出力する簡略DCT
算出手段128と、図22と同一の代表色数算出手段1
27bとで、構成されている。次に、この代表色数決定
手段120の代表色数決定処理を、図24を参照しつつ
説明する。図24は、簡略DCT算出例を示す図であ
る。まず、簡略DCT算出手段128では、領域データ
A1及び24ビットの画像データPinを入力し、画像
のブロックサイズに関係なく、小さいサイズの変換係数
だけを算出し、その算出した変換係数データCC2を代
表色数算出手段127bへ送る。代表色は、領域内の色
を代表する色であるが、DCT係数の高周波成分の元に
なるようなかなり細かく変化している色は、人間の目に
鈍感であるので再現性が低くても良い。そこで、色数決
定には低周波成分の係数さえあれば算出できる。例え
ば、通常8×8の画像データPinからは8×8の変換
係数を求める。ところが、図24に示すように、色数算
出には4×4の係数(図中太枠内)があれば、色数決定
には充分であるので、この部分だけを算出することで、
簡略DCT算出処理を行っている。代表色数算出手段1
27bでは、図22と同様にして代表色数データC1を
出力する。以上のように、図23の代表色数決定手段1
20では、一部の係数のみを算出することで、処理時間
を短縮し、ハードウェア構成時の規模を縮小している。
(2-4) Representative Color Number Determination Unit 120 (FIG. 23) FIG. 23 is another functional block diagram of the representative color number determination unit 120 shown in FIG. The representative color number determining means 120
This is equivalent to the tenth invention and includes area data A1 and area data A2.
Simplified DCT that performs a simplified DCT calculation process based on 4-bit image data Pin and outputs transform coefficient data CC2
The calculation unit 128 and the same representative color number calculation unit 1 as in FIG.
And 27b. Next, the representative color number determination processing of the representative color number determination means 120 will be described with reference to FIG. FIG. 24 is a diagram showing an example of simplified DCT calculation. First, in the simplified DCT calculation means 128, the area data A1 and the 24-bit image data Pin are input, only a small size conversion coefficient is calculated regardless of the block size of the image, and the calculated conversion coefficient data CC2 is represented. It is sent to the color number calculation means 127b. The representative color is a color that is representative of the color in the region, but a color that changes considerably finely as a source of the high frequency component of the DCT coefficient is insensitive to the human eye, and thus has low reproducibility. good. Therefore, it is possible to calculate the number of colors only by the coefficient of the low frequency component. For example, an 8 × 8 conversion coefficient is normally obtained from the 8 × 8 image data Pin. However, as shown in FIG. 24, if there is a 4 × 4 coefficient (inside the thick frame in the figure) for color number calculation, it is sufficient for color number determination. Therefore, by calculating only this part,
A simple DCT calculation process is performed. Representative color number calculation means 1
In 27b, the representative color number data C1 is output in the same manner as in FIG. As described above, the representative color number determining unit 1 in FIG.
In 20, the processing time is shortened and the scale of the hardware configuration is reduced by calculating only a part of the coefficients.

【0038】(2−5) 代表色数決定手段120(図
25) 図25は、図5に示す代表色数決定手段120の他の機
能ブロック図である。この代表色数決定手段120は、
第11の発明に相当するもので、図22のDCT算出手
段127a又は図23の簡略DCT算出手段128と同
様の機能を有するDCT算出手段129aと、該DCT
算出手段129aから出力された変換係数データCC3
に対して変換係数マージ処理を行う変換係数マージ手段
129bと、該変換係数マージ手段129bの出力及び
24ビットの画像データPinに基づき代表色数算出処
理を行って代表色数データC1を出力する代表色数算出
手段129cとで、構成されている。次に、この代表色
数決定手段120の代表色数決定処理を、図26及び図
27を参照しつつ説明する。図26は変換係数マージ例
を示す図、図27は代表色数算出例を示す図である。ま
ず、DCT算出手段129aでは、領域データA1及び
24ビットの画像データPinを入力し、図22のDC
T算出手段127a又は図23の簡略DCT算出手段1
28と同様にしてDCTを算出し、その算出した変換係
数データCC3を変換係数マージ手段129bへ供給す
る。変換係数マージ手段129bでは、変換係数データ
CC3を入力し、その変換係数を周波数の近いもの同士
で加算し、例えば図26のように、3つのグループにま
とめる。このDCT算出手段129aを、図23の簡略
DCT算出手段128で構成した場合は、太枠の中のみ
であり、10係数を第3グループとすることで実現でき
る。又、DCT算出手段129aを、図22のDCT算
出手段127aで構成した場合は、58係数を第3グル
ープとすることで実現できる。代表色数算出手段129
cでは、変換係数マージ手段129bの出力及び24ビ
ットの画像データPinを入力し、それぞれのグループ
の係数の合計をパラメータとして色数を計算し、その代
表色数を代表色数データC1の形で出力する。この代表
色数算出処理は、例えば、それぞれのグループで係数を
合計し、それぞれに定めた閾値で除算したり、あるいは
比較したりして色数を算出し、全グループの色数の合計
を代表色として定めて代表色数データC1を出力する。
(2-5) Representative Color Number Determination Means 120 (FIG. 25) FIG. 25 is another functional block diagram of the representative color number determination means 120 shown in FIG. The representative color number determining means 120
The DCT calculating means 129a, which corresponds to the eleventh invention and has the same function as the DCT calculating means 127a in FIG. 22 or the simplified DCT calculating means 128 in FIG. 23, and the DCT calculating means 129a.
Transform coefficient data CC3 output from the calculation means 129a
A conversion coefficient merging unit 129b that performs conversion coefficient merging processing for the above, and a representative color number calculation process that performs representative color number calculation processing based on the output of the conversion coefficient merging unit 129b and the 24-bit image data Pin The color number calculation means 129c is included. Next, the representative color number determination processing of the representative color number determination means 120 will be described with reference to FIGS. 26 and 27. FIG. 26 is a diagram showing an example of conversion coefficient merging, and FIG. 27 is a diagram showing an example of representative color number calculation. First, in the DCT calculation means 129a, the area data A1 and the 24-bit image data Pin are input, and the DC in FIG.
T calculation means 127a or simplified DCT calculation means 1 of FIG.
The DCT is calculated in the same manner as 28, and the calculated conversion coefficient data CC3 is supplied to the conversion coefficient merging means 129b. The transform coefficient merging unit 129b inputs the transform coefficient data CC3, adds the transform coefficients having similar frequencies, and groups them into three groups as shown in FIG. 26, for example. When this DCT calculation means 129a is configured by the simplified DCT calculation means 128 of FIG. 23, it is only in the thick frame and can be realized by setting 10 coefficients to the third group. Further, when the DCT calculating means 129a is configured by the DCT calculating means 127a in FIG. 22, it can be realized by setting 58 coefficients in the third group. Representative color number calculation means 129
In c, the output of the conversion coefficient merging unit 129b and the 24-bit image data Pin are input, the number of colors is calculated using the total coefficient of each group as a parameter, and the representative number of colors is represented in the form of representative color number data C1. Output. In this representative color number calculation process, for example, the coefficients in each group are summed, and the number of colors is calculated by dividing by a threshold value set for each group or compared, and the total number of colors in all groups is represented. The number of representative colors C1 is determined and output as the color.

【0039】ここで、図26の第1グループの係数は、
超低周波成分の大きさを表しており、この値が大きいと
画像は大域的に大きく変化しているので、ある程度の色
数を割り当てれば充分である。又、第3グループの係数
は高周波成分の大きさを表しており、この値が大きいと
画像は激しく変化している。そこで、このグループの係
数が大きい時は、多くの色を割り当てれば良い。その具
体的な例が図27に示されている。図27において、そ
れぞれのグループの閾値は80、10、100としてお
り、第1グループと第2グループは閾値を越えていたら
色数を1とし、第3グループは閾値で除算した結果を色
数としている。又、合計色数が0の場合もあるので、代
表色数はこの合計に1加算したものとしている。以上の
ように、図25の代表色数決定手段120では、周波数
毎にまとめることによって、画素の大域的な変化と局部
的な変化に対応でき、いろいろな性質の画像に対して最
適な色数を割り当てることができる。
Here, the coefficients of the first group in FIG.
It represents the magnitude of the ultra-low frequency component. If this value is large, the image changes greatly globally, so it is sufficient to assign a certain number of colors. The coefficient of the third group represents the magnitude of the high frequency component, and if this value is large, the image changes drastically. Therefore, when the coefficient of this group is large, many colors may be assigned. A concrete example thereof is shown in FIG. In FIG. 27, the thresholds of the respective groups are set to 80, 10, and 100, the number of colors is set to 1 in the first group and the second group when the threshold is exceeded, and the result of dividing the third group by the threshold is set as the number of colors. There is. In addition, since the total number of colors may be 0, the number of representative colors is 1 added to this total. As described above, the representative color number determining unit 120 of FIG. 25 can handle global changes and local changes of pixels by grouping for each frequency, and the optimum number of colors for images of various characteristics. Can be assigned.

【0040】(2−6) 領域分割手段110・代表色
数決定手段120(図28) 図28は、図5に示す領域分割手段110と代表色数決
定手段120を併合した機能ブロック図である。この領
域分割手段110及び代表色数決定手段120は、第5
の発明に相当するもので、24ビットの画像データPi
nに基づき初期領域分割処理によって領域データA3を
出力する初期領域分割手段115と、該領域データA3
及び限定色数Nに基づき領域数判定処理を行って領域デ
ータA1及び代表色数データC1を出力する領域数判定
手段116と、該領域数判定手段116の出力及び画像
データPinに基づき色分散算出処理を行って色分散デ
ータCD2を出力する色分散算出手段117と、該色分
散データCD2を入力して分割領域選定処理を行う分割
領域選定手段118と、該初期領域分割手段115と同
等の機能を有し画像データPin及び分割領域選定手段
118の出力に対して再分割処理を行って領域データA
3を出力する再分割手段119とで、構成されている。
(2-6) Area dividing means 110 / representative color number determining means 120 (FIG. 28) FIG. 28 is a functional block diagram in which the area dividing means 110 and the representative color number determining means 120 shown in FIG. 5 are combined. . The area dividing means 110 and the representative color number determining means 120
Corresponding to the invention of 24 bits of 24-bit image data Pi
initial area dividing means 115 for outputting area data A3 by the initial area dividing processing based on n, and the area data A3
And the number-of-regions determination unit 116 that performs the number-of-regions determination process based on the limited number of colors N and outputs the region data A1 and the representative number-of-colors data C1, and the color variance calculation based on the output of the region number determination unit 116 and the image data Pin. Functions equivalent to the color dispersion calculation means 117 that performs processing and outputs the color dispersion data CD2, the division area selection means 118 that inputs the color dispersion data CD2 and performs division area selection processing, and the initial area division means 115. The image data Pin and the output of the divided area selection unit 118 are re-divided to obtain area data A.
And a re-dividing means 119 for outputting 3.

【0041】次に、図28の領域分割処理及び代表色数
決定処理を、図29を参照しつつ説明する。図29は、
初期領域分割例を示す図である。まず、初期領域分割手
段115は、24ビットの画像データPinを入力し、
その画像をいくつかの数領域に初期分割し、その分割し
た領域データA3を領域数判定手段116へ供給する。
例えば、図29の分割例では、原画像が4分割されてい
る。領域数判定手段116では、領域データA3及び限
定色数Nを入力し、その分割された領域数と限定色数N
とを比較(例えば、該領域数とN/i(但し、i;閾
値)を比較)し、さらに分割するか否かを判定する。さ
らに分割する場合は、領域データA1を色分散算出手段
117へ供給する。分割する必要がない場合は、領域デ
ータA1を出力し、さらに閾値iを代表色数データC1
として出力する。これにより、代表色数決定手段を省略
することができる。この領域数判定処理は、例えば、限
定色数Nを256、閾値iを4とすると、領域数が64
以下の時は、さらに分割する必要があると判断する。色
分散算出手段117では、領域数判定手段116からの
領域データA1と24ビットの画像データPinとを入
力し、既に分割されている領域の色分布の分散を算出
し、その算出された色分散データCD2を分割領域選定
手段118へ供給する。例えば、各領域の色分散は、平
均値と各画素値の差の2乗の和から求まる。分割領域選
定手段118では、色分散データCD2を入力し、色分
散の大きい領域を選定し、それを再分割手段119へ供
給する。再分割手段119は、分割領域選定手段118
で選定された領域をさらに小さな領域に再分割する機能
を有し、例えば、色分散の最も大きい領域を図29のよ
うに4分割する。ここで、初期領域分割手段115と再
分割手段119は、同等の機能を備えているので、一つ
にまとめても良い。以上のように、図28の手段では、
代表色数の決定処理を省略でき、簡単になる。
Next, the area division processing and the representative color number determination processing of FIG. 28 will be described with reference to FIG. FIG. 29 shows
It is a figure which shows the example of initial area division. First, the initial area dividing unit 115 inputs the 24-bit image data Pin,
The image is initially divided into several areas, and the divided area data A3 is supplied to the area number determination means 116.
For example, in the division example of FIG. 29, the original image is divided into four. In the area number determination means 116, the area data A3 and the limited color number N are input, and the number of divided areas and the limited color number N are input.
And (for example, the number of regions is compared with N / i (where i is a threshold value)) to determine whether or not to further divide. In the case of further division, the area data A1 is supplied to the color variance calculating means 117. If there is no need to divide, the area data A1 is output, and the threshold value i is further set to the representative color number data C1.
Output as. Thereby, the representative color number determining means can be omitted. In this area number determination processing, for example, when the limited color number N is 256 and the threshold value i is 4, the number of areas is 64.
In the following cases, it is determined that further division is necessary. The color variance calculation means 117 inputs the area data A1 and the 24-bit image data Pin from the area number determination means 116, calculates the distribution of the color distribution of the already divided areas, and calculates the calculated color dispersion. The data CD2 is supplied to the divided area selection means 118. For example, the color dispersion of each area is obtained from the sum of squares of the difference between the average value and each pixel value. The division area selection means 118 inputs the color dispersion data CD2, selects an area having a large color dispersion, and supplies it to the re-division means 119. The subdivision means 119 is a division area selection means 118.
It has a function of re-dividing the area selected in step 1 into smaller areas. For example, the area having the largest chromatic dispersion is divided into four as shown in FIG. Here, the initial area dividing unit 115 and the re-dividing unit 119 have the same functions, so they may be combined into one. As described above, the means of FIG.
The process of determining the number of representative colors can be omitted, which simplifies the process.

【0042】(3−1) 代表色選定手段130(図3
0) 図30は、図5に示す代表色選定手段130の他の機能
ブロック図である。この代表色選定手段130は、第1
3の発明に相当するもので、24ビットの画像データP
in及び参照領域データR1に基づき画像削除処理を行
って画像データPを出力する画像削除手段135と、該
画像データP及び代表色数データC1に基づき代表色算
出処理を行って24ビットの代表色データC2を出力す
る代表色算出手段136とで、構成されている。次に、
この代表色選定手段130の代表色選定処理を、図31
を参照しつつ説明する。図31は、参照領域を示す図で
ある。まず、画素削除手段135は、24ビットの画像
データPin及び参照領域データR1を入力し、その参
照領域の代表色と近い色の画素をその領域の代表色選定
の候補から削除し、その削除結果の画像データPを代表
色算出手段136へ供給する。この画素削除処理は、例
えば、図15のように隣接9ブロックを参照領域とした
場合、対象領域以外の8ブロックの代表色と対象画素と
を比較する。差が閾値よりも小さい画素(ほとんど同じ
色の画素)は新たに代表色に選定しなくても、参照領域
内で既に代表色となっているので、この対象画素を代表
色候補から削除する。但し、画素削除処理において、処
理の順序によっては参照領域のうち、代表色がまだ選定
されていない場合があるので、その時は既に選定されて
いる代表色のみを比較する。例えば、ラスター方向に処
理を行っている場合、図31のように隣接領域のうち、
4領域しか代表色選定を終えていないので、この4領域
の代表色とだけ比較を行う。代表色算出手段136で
は、画像データP及び代表色数データC1を入力し、例
えば出現画素の多い色から順に代表色とすることで、代
表色を算出してその代表色データC2を出力する。以上
のように、図30の代表色選定手段130では、近い色
を代表色に選定することを回避しているので、代表色が
集中せず、色再現性が向上する。
(3-1) Representative color selection means 130 (see FIG. 3)
0) FIG. 30 is another functional block diagram of the representative color selection unit 130 shown in FIG. The representative color selection means 130 is the first
Which corresponds to the third aspect of the invention, and has 24-bit image data P
image deletion means 135 that performs image deletion processing based on in and reference area data R1 and outputs image data P; and representative color calculation processing based on the image data P and representative color number data C1 The representative color calculation unit 136 that outputs the data C2. next,
The representative color selection processing of the representative color selection means 130 is shown in FIG.
Will be described with reference to. FIG. 31 is a diagram showing a reference area. First, the pixel deleting means 135 inputs the 24-bit image data Pin and the reference area data R1 and deletes a pixel having a color close to the representative color of the reference area from candidates for selecting the representative color of the area. The image data P of the above is supplied to the representative color calculating unit 136. In this pixel deletion processing, for example, when adjacent 9 blocks are used as reference areas as shown in FIG. 15, the representative color of 8 blocks other than the target area is compared with the target pixel. Pixels having a difference smaller than the threshold value (pixels of almost the same color) have already become the representative color in the reference area even if they are not newly selected as the representative color, so this target pixel is deleted from the representative color candidates. However, in the pixel deletion processing, the representative color may not yet be selected in the reference area depending on the order of processing, and at that time, only the already selected representative color is compared. For example, when processing is performed in the raster direction, as shown in FIG.
Since the representative colors have been selected in only four areas, only the representative colors in these four areas are compared. The representative color calculating unit 136 inputs the image data P and the representative color number data C1 and calculates the representative color by outputting the representative color in order from the color with the most appearance pixels, and outputs the representative color data C2. As described above, the representative color selection unit 130 of FIG. 30 avoids selecting a similar color as the representative color, so that the representative color is not concentrated and the color reproducibility is improved.

【0043】(4−1) 表示色選定手段140(図3
2) 図32は、図5に示す表示色選定手段140の他の機能
ブロック図である。この表示色選定手段140は、第1
4の発明に相当するもので、領域データA4及び24ビ
ットの画像データPinに基づき参照領域マージ処理を
行って画素データPE2及び参照領域データR2を出力
する参照領域マージ手段143と、該画素データPE2
に基づき画素平均比較処理を行ってマージ要求MQを出
力する画素平均比較手段144と、該参照領域データR
2、画像データPin及び代表色データC2に基づき表
示色算出処理を行ってLUTデータM及びnビットの色
番号データCを出力する表示色算出手段145とで、構
成されている。次に、この表示色選定手段140の表示
色選定処理を、図33を参照しつつ説明する。図33は
参照領域マージ例を示す図である。まず、参照領域マー
ジ手段143は、領域データA4及び24ビットの画像
データPinを入力し、表示色選定時に参照すべき周辺
画素を全て参照領域としてマージし、その近隣領域の画
像データPE2を画素平均比較手段144へ供給し、マ
ージ要求MQが帰ってきた時は、その領域をマージす
る。この参照領域マージ処理では、参照領域に隣接する
全ての領域に対して、マージするか否かを判定してい
る。画素平均比較手段144では、画素データPE2を
入力し、供給された2つの領域の画素値の平均を比較
し、その差が閾値よりも小さい時は参照領域マージ手段
143へマージ要求MQを送る。例えば、図33のよう
に平均値を持つ領域が分布している場合、上下左右の領
域と平均値を比較して近い場合(図では閾値10)はマ
ージして参照領域とする。但し、処理方向により、右下
の方向の領域はまだ代表色選定を行っていないので、こ
れらの領域は参照しない。表示色算出手段145では、
参照領域マージ手段143からの参照領域データR2、
24ビットの画像データPin、及び代表色データC2
を入力し、参照領域の代表色全てと画素を比較し、最も
近い色を表示色とし、LUTデータM及びnビットの色
番号データCを出力する。以上のように、図32の表示
色選定手段140では、近い色の代表色だけを無駄なく
参照することができるので、効率良く、最適な表示色を
選定できる。
(4-1) Display color selecting means 140 (see FIG. 3)
2) FIG. 32 is another functional block diagram of the display color selection means 140 shown in FIG. This display color selection means 140 is the first
The invention corresponds to the fourth aspect of the invention, and includes a reference area merging unit 143 that performs reference area merging processing based on the area data A4 and 24-bit image data Pin to output pixel data PE2 and reference area data R2, and the pixel data PE2.
Pixel average comparison means 144 for performing a pixel average comparison process based on the above and outputting a merge request MQ, and the reference area data R
2. Display color calculation means 145 that performs display color calculation processing based on image data Pin and representative color data C2 and outputs LUT data M and n-bit color number data C. Next, the display color selection processing of the display color selection means 140 will be described with reference to FIG. FIG. 33 is a diagram showing an example of reference area merging. First, the reference area merging unit 143 inputs the area data A4 and 24-bit image data Pin, merges all peripheral pixels to be referred to when selecting a display color as a reference area, and averages the image data PE2 of the neighboring area with the pixel average. It is supplied to the comparison means 144, and when the merge request MQ comes back, that area is merged. In this reference area merging process, it is determined whether or not to merge all areas adjacent to the reference area. The pixel average comparison unit 144 inputs the pixel data PE2, compares the averages of the pixel values of the supplied two regions, and when the difference is smaller than the threshold value, sends a merge request MQ to the reference region merge unit 143. For example, when regions having an average value are distributed as shown in FIG. 33, the average values are compared with the upper, lower, left, and right regions (threshold value 10 in the figure), and the regions are merged to form a reference region. However, depending on the processing direction, the region in the lower right direction has not yet been selected as a representative color, so these regions are not referred to. In the display color calculation means 145,
The reference area data R2 from the reference area merging means 143,
24-bit image data Pin and representative color data C2
, The pixel is compared with all the representative colors in the reference area, the closest color is used as the display color, and the LUT data M and the n-bit color number data C are output. As described above, the display color selection means 140 of FIG. 32 can refer to only the representative colors of the close colors without waste, so that the optimum display color can be efficiently selected.

【0044】[0044]

【発明の効果】以上詳細に説明したように、第1の発明
によれば、原画像を部分領域に分割し、それぞれの領域
から特徴的な色を代表色としているので、これまで再現
性の悪かった一部分に現れるような出現頻度は低いが特
徴的な色に対して、再現性が向上する。即ち、局部的に
変化の大きい色に対して再現性が向上し、それによって
画像全体から受ける印象が向上する。第2の発明によれ
ば、参照する代表色を限定し、一部の代表色とだけ比較
を行うので、処理時間を大幅に短縮でき、ハードウェア
で実現する際にもメモリ容量を減少できる。第3の発明
によれば、画像の大きさや限定色数によらず、各領域で
は常に同じ閾値を用いて各処理を行うことができる。第
4の発明によれば、近い色を持つ画素を同じ領域に含め
ることで、代表色選定や表示色選定において、参照領域
のマージ等の処理を行わないでも、最適な色を選定する
ことができる。第5の発明によれば、代表色数の決定処
理を省略でき、簡単になる。第6の発明によれば、各領
域での代表色数決定処理において、画像全体の情報を全
く扱う必要がなくなるので、処理が簡単になり、ハード
ウェアで実現する際にも、メモリ量を減少できる。第7
の発明によれば、なだらかに変化している部分の色数を
減少させ、変化の激しい部分に多くの色を割り当てるこ
とで、注目されるべき部分の色再現性を高めており、画
像全体から受ける印象も向上する。
As described in detail above, according to the first invention, the original image is divided into partial areas, and the characteristic color from each area is used as the representative color. Reproducibility is improved for a characteristic color that has a low appearance frequency that appears in a bad part. That is, the reproducibility is improved with respect to a color having a large local change, thereby improving the impression received from the entire image. According to the second aspect of the invention, the representative color to be referred to is limited and only a part of the representative colors are compared, so that the processing time can be greatly shortened and the memory capacity can be reduced even when it is realized by hardware. According to the third aspect of the present invention, each processing can be performed using the same threshold value in each area regardless of the size of the image and the number of limited colors. According to the fourth aspect, by including pixels having similar colors in the same area, it is possible to select an optimum color without performing processing such as merging reference areas in selecting representative colors and display colors. it can. According to the fifth aspect, the process of determining the number of representative colors can be omitted, which simplifies the process. According to the sixth invention, in the representative color number determination process in each area, it is not necessary to handle the information of the entire image at all, so that the process is simplified and the memory amount is reduced even when it is realized by hardware. it can. 7th
According to the invention, by reducing the number of colors in the part that changes smoothly and allocating a large number of colors to the part that changes drastically, the color reproducibility of the part to be noticed is improved, and The impression you receive will also improve.

【0045】第8の発明によれば、なだらかに変化する
部分に割り当てる色数をさらに減少させることによっ
て、他の部分の色再現性を高めている。第9の発明によ
れば、領域内の画素値の変化の様子が、分散よりも詳し
く得られるので、より適切な処理を行うことができる。
第10の発明によれば、一部の係数のみを算出すること
で、処理時間を短縮し、ハードウェア構成時の規模を縮
小している。第11の発明によれば、周波数毎にまとめ
ることによって、画素の大域的な変化と局部的な変化に
対応でき、いろいろな性質の画像に対して最適な色数を
割り当てることができる。第12の発明によれば、ある
程度差のある色を代表色に選定することができるので、
色空間で距離の近いところに代表色が集中せず、色再現
性が向上する。第13の発明によれば、近い色を代表色
に選定することを回避しているので、代表色が集中せ
ず、色再現性が向上する。第14の発明によれば、近い
色の代表色だけを無駄なく参照することができるので、
効率良く、最適な表示色を選定できる。
According to the eighth aspect of the invention, the color reproducibility of the other portions is improved by further reducing the number of colors assigned to the gently changing portions. According to the ninth aspect, the state of the change in the pixel value in the area can be obtained in more detail than the variance, and thus more appropriate processing can be performed.
According to the tenth invention, by calculating only some of the coefficients, the processing time is shortened and the scale of the hardware configuration is reduced. According to the eleventh aspect, it is possible to cope with a global change and a local change of pixels by grouping them by frequency, and it is possible to assign an optimum number of colors to an image having various properties. According to the twelfth invention, it is possible to select colors having a certain degree of difference as representative colors.
The representative color is not concentrated in a short distance in the color space, and the color reproducibility is improved. According to the thirteenth aspect, since it is avoided to select a similar color as the representative color, the representative color is not concentrated and the color reproducibility is improved. According to the fourteenth invention, since it is possible to refer to only the representative colors of close colors without waste,
You can efficiently select the optimum display color.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例のカラー画像表示方法及びその
カラー画像表示システムを示す構成図である。
FIG. 1 is a configuration diagram showing a color image display method and a color image display system according to an embodiment of the present invention.

【図2】従来の一般的なカラー画像表示システムの構成
ブロック図である。
FIG. 2 is a configuration block diagram of a conventional general color image display system.

【図3】従来の限定色表示アルゴリズムによるカラー画
像表示システムの構成ブロック図である。
FIG. 3 is a configuration block diagram of a color image display system according to a conventional limited color display algorithm.

【図4】図3中の限定色表示手段の機能ブロック図であ
る。
FIG. 4 is a functional block diagram of limited color display means in FIG.

【図5】図1中の限定色表示手段の機能ブロック図であ
る。
5 is a functional block diagram of limited color display means in FIG.

【図6】ブロック分割例を示す図である。FIG. 6 is a diagram showing an example of block division.

【図7】ライン分割例を示す図である。FIG. 7 is a diagram showing an example of line division.

【図8】対応テーブル例を示す図である。FIG. 8 is a diagram showing an example of a correspondence table.

【図9】図5中の領域分割手段の機能ブロック図であ
る。
9 is a functional block diagram of area dividing means in FIG.

【図10】図5中の代表色数決定手段の機能ブロック図
である。
10 is a functional block diagram of a representative color number determining unit in FIG.

【図11】傾きの比例関数例を示す図である。FIG. 11 is a diagram showing an example of a proportional function of inclination.

【図12】図5中の代表色選定手段の機能ブロック図で
ある。
12 is a functional block diagram of a representative color selecting unit in FIG.

【図13】近傍画素マージ例を示す図である。FIG. 13 is a diagram illustrating an example of neighboring pixel merging.

【図14】図5中の表示色選定手段の機能ブロック図で
ある。
FIG. 14 is a functional block diagram of display color selection means in FIG.

【図15】参照領域例を示す図である。FIG. 15 is a diagram showing an example of a reference area.

【図16】参照領域例を示す図である。FIG. 16 is a diagram showing an example of a reference area.

【図17】図5中の領域分割手段の他の機能ブロック図
である。
17 is another functional block diagram of the area dividing means in FIG.

【図18】画素マージ例を示す図である。FIG. 18 is a diagram illustrating an example of pixel merging.

【図19】図5中の代表色数決定手段の他の機能ブロッ
ク図である。
FIG. 19 is another functional block diagram of the representative color number determining means in FIG.

【図20】変換関数例を示す図である。FIG. 20 is a diagram showing an example of a conversion function.

【図21】図5中の代表色数決定手段の他の機能ブロッ
ク図である。
FIG. 21 is another functional block diagram of the representative color number determining unit in FIG.

【図22】図5中の代表色数決定手段の他の機能ブロッ
ク図である。
FIG. 22 is another functional block diagram of the representative color number determining unit in FIG.

【図23】図5中の代表色数決定手段の他の機能ブロッ
ク図である。
FIG. 23 is another functional block diagram of the representative color number determination means in FIG.

【図24】簡略DCT算出例を示す図である。FIG. 24 is a diagram showing an example of simplified DCT calculation.

【図25】図5中の代表色数決定手段の他の機能ブロッ
ク図である。
FIG. 25 is another functional block diagram of the representative color number determination means in FIG.

【図26】変換係数マージ例を示す図である。FIG. 26 is a diagram showing an example of transform coefficient merging.

【図27】代表色数算出例を示す図である。FIG. 27 is a diagram illustrating a representative color number calculation example.

【図28】図5中の領域分割手段・代表色数決定手段の
他の機能ブロック図である。
28 is another functional block diagram of the area dividing unit / representative color number determining unit in FIG.

【図29】初期領域分割例を示す図である。FIG. 29 is a diagram showing an example of initial area division.

【図30】図5中の代表色選定手段の他の機能ブロック
図である。
FIG. 30 is another functional block diagram of the representative color selecting means in FIG.

【図31】参照領域例を示す図である。FIG. 31 is a diagram showing an example of a reference area.

【図32】図5中の表示色選定手段の他の機能ブロック
図である。
FIG. 32 is another functional block diagram of the display color selecting means in FIG.

【図33】参照領域マージ例を示す図である。FIG. 33 is a diagram showing an example of reference area merging.

【符号の説明】 100 限定色表示手段 110 領域分割手段 111 領域数決定手段 112 小領域分割手段 113 画素値判定手段 114 画素マージ手段 115 初期領域分割手段 116 領域数判定手段 117 色分散算出手段 118 分割領域選定手段 119 再分割手段 120 代表色数決定手段 121 代表色数仮決定手段 122 色数比較手段 123 重み算出手段 124 色数調整手段 125a 色分散算出手段 125b 代表色数算出手段 126a 平均値比較手段 126b 代表色数算出手段 127a DCT算出手段 127b 代表色数算出手段 128 簡略DCT算出手段 129a DCT算出手段 129b 変換係数マージ手段 129c 代表色数算出手段 130 代表色選定手段 131 近傍画素マージ手段 132 グループ数判定手段 133 画素グループソート手段 134 代表色算出手段 135 画素削除手段 136 代表色算出手段 140 表示色選定手段 141 参照領域選定手段 142 参照領域内表示色選定手段 143 参照領域マージ手段 144 画素平均比較手段 145 表示色算出手段 200 フレームバッファ 300 ルックアップテーブル(LUT) 400 D/A変換器 500 CRT[Explanation of reference numerals] 100 limited color display means 110 area dividing means 111 area number determining means 112 small area dividing means 113 pixel value judging means 114 pixel merging means 115 initial area dividing means 116 area number judging means 117 color variance calculating means 118 division Region selecting means 119 Re-dividing means 120 Representative color number determining means 121 Representative color number tentative determining means 122 Color number comparing means 123 Weight calculating means 124 Color number adjusting means 125a Color variance calculating means 125b Representative color number calculating means 126a Average value comparing means 126b Representative color number calculation means 127a DCT calculation means 127b Representative color number calculation means 128 Simplified DCT calculation means 129a DCT calculation means 129b Conversion coefficient merge means 129c Representative color number calculation means 130 Representative color selection means 131 Neighborhood pixel merge means 132 Group number judgment Setting means 133 Pixel group sorting means 134 Representative color calculating means 135 Pixel deleting means 136 Representative color calculating means 140 Display color selecting means 141 Reference area selecting means 142 Reference area display color selecting means 143 Reference area merging means 144 Pixel average comparing means 145 Display color calculation means 200 Frame buffer 300 Look-up table (LUT) 400 D / A converter 500 CRT

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 色データを格納したルックアップテーブ
ルを作成し、そのルックアップテーブルを参照してカラ
ー画像を表示するカラー画像表示方法において、 原画像を部分領域に分割する領域分割処理と、 前記領域分割処理で分割された複数の部分領域における
色分布と領域の大きさを参照してそれらの各部分領域か
ら選定する代表色数を決定する代表色数決定処理と、 前記各部分領域から前記代表色数だけ代表色を選定する
代表色選定処理とを実行し、 前記代表色選択処理で選定された代表色から、表示色選
定処理により全画素の表示色を選定して前記ルックアッ
プテーブルを作成することを特徴とするカラー画像表示
方法。
1. A color image display method of creating a look-up table storing color data and displaying a color image by referring to the look-up table; area division processing for dividing an original image into partial areas; A representative color number determination process of determining a representative color number to be selected from each of the partial regions by referring to the color distribution and the size of the regions in the plurality of partial regions divided by the region dividing process, and from each of the partial regions A representative color selection process of selecting representative colors by the number of representative colors is executed, and display colors of all pixels are selected from the representative colors selected in the representative color selection process by the display color selection process to create the lookup table. A color image display method characterized by creating.
【請求項2】 前記表示色選定処理は、対象画素の含ま
れる領域及び周辺数領域の代表色だけから表示色を選定
することを特徴とする請求項1記載のカラー画像表示方
法。
2. The color image display method according to claim 1, wherein the display color selection processing selects a display color only from the representative colors of the area including the target pixel and the peripheral several areas.
【請求項3】 前記領域分割処理は、限定色数Nをパラ
メータとして領域数を決定し、画像の大きさと該領域数
から各領域の大きさを決定した後、原画像を部分領域に
分割することを特徴とする請求項1又は2記載のカラー
画像表示方法。
3. The area dividing process determines the number of areas using the limited number of colors N as a parameter, determines the size of the image and the size of each area from the number of areas, and then divides the original image into partial areas. The color image display method according to claim 1 or 2, characterized in that.
【請求項4】 前記領域分割処理は、隣接する画素の画
素値の差が閾値より小さい部分を一つの領域としてまと
めながら分割することを特徴とする請求項1又は2記載
のカラー画像表示方法。
4. The color image display method according to claim 1, wherein in the area division processing, areas in which a difference in pixel value between adjacent pixels is smaller than a threshold value are combined and divided into one area.
【請求項5】 前記領域分割処理では、まず大きな領域
数個に分割し、領域内の色分布の分散が大きいときは、
部分領域が限定色数Nの1/i(但し、i;閾値)の個
数になるまでさらに分割し、 前記代表色数決定処理では、各領域にi個ずつ代表色数
を割り当てることを特徴とする請求項1又は2記載のカ
ラー画像表示方法。
5. In the area dividing process, first, the area is divided into a plurality of large areas, and when the color distribution in the area is large,
It is characterized in that the partial region is further divided into 1 / i (where i is a threshold value) of the limited number of colors N, and in the representative color number determination process, i number of representative colors is assigned to each region. The color image display method according to claim 1 or 2.
【請求項6】 前記代表色数決定処理では、まず各領域
でそれぞれ代表色数を仮決定し、次に、全領域の仮の代
表色数の合計と限定色数Nとを比較して各領域の真の代
表色数を決定することを特徴とする請求項1又は2記載
のカラー画像表示方法。
6. In the representative color number determination process, first, a representative color number is provisionally determined in each area, and then the total of the provisional representative color numbers of all areas is compared with a limited color number N. 3. The color image display method according to claim 1, wherein the true representative color number of the area is determined.
【請求項7】 前記代表色数決定処理では、領域内の色
分布が密集していたら代表色数を少なくし、分散してい
たら代表色を多くすることを特徴とする請求項6記載の
カラー画像表示方法。
7. The color according to claim 6, wherein in the representative color number determination processing, the number of representative colors is reduced if the color distribution in the area is dense, and the representative color is increased if the color distribution is dispersed. Image display method.
【請求項8】 前記代表色数決定処理では、色分布の密
集度が閾値よりも高い領域で、周辺領域との画素値平均
の差が小さい場合に、その領域からは代表色を選定しな
いことを特徴とする請求項7記載のカラー画像表示方
法。
8. In the representative color number determination process, in a region where the density of color distribution is higher than a threshold value and the difference in the average pixel value from the surrounding region is small, the representative color is not selected from that region. 8. The color image display method according to claim 7, wherein.
【請求項9】 前記領域分割処理では、M×M(但し、
M;画像ブロックの大きさ)の正方矩形ブロックに分割
し、 前記代表色数決定処理では、前記各ブロックの画像デー
タに離散コサイン変換を行い、その変換係数の交流成分
をパラメータとし、該変換係数が大きい時は代表色を多
く割り当て、小さい時は少なく割り当てることで代表色
数を決定することを特徴とする請求項7又は8記載のカ
ラー画像表示方法。
9. In the area division processing, M × M (however,
M; the size of the image block), and in the representative color number determination process, discrete cosine transform is performed on the image data of each block, and the AC component of the transform coefficient is used as a parameter. 9. The color image display method according to claim 7, wherein the number of representative colors is determined by allocating a large number of representative colors when the value is large and allocating a small number when the value is small.
【請求項10】 前記代表色数決定処理において、離散
コサイン変換の変換係数を用いて代表色数を決定する際
に、画像ブロックの大きさMに関係なく低周波成分の数
個(m×m,M≧m)の係数のみを算出し、該低周波成
分の係数のみをパラメータとして代表色数を決定するこ
とを特徴とする請求項9記載のカラー画像表示方法。
10. The number of low frequency components (m × m) regardless of the size M of the image block when the number of representative colors is determined by using the transform coefficient of the discrete cosine transform in the number of representative colors determination process. , M ≧ m) is calculated, and the number of representative colors is determined by using only the coefficient of the low frequency component as a parameter.
【請求項11】 前記代表色数決定処理において、離散
コサイン変換の変換係数を用いて代表色数を決定する際
に、該変換係数を周波数の近いものをまとめて数グルー
プとし、それぞれのグループの変換係数の合計をパラメ
ータとしてその領域の代表色数を算出することを特徴と
する請求項9又は10記載のカラー画像表示方法。
11. In the representative color number determination process, when the representative color number is determined by using the transform coefficient of the discrete cosine transform, those having similar frequencies are grouped into several groups, and 11. The color image display method according to claim 9, wherein the number of representative colors in the area is calculated using the total of the conversion coefficients as a parameter.
【請求項12】 前記代表色選定処理では、色空間にお
いて距離が閾値kよりも近い画素をまとめて数グループ
にし、グループ数がその領域に割り当てられた代表色数
の数倍よりも少なくなるまでkを大きくして、再グルー
プ化し、グループを構成画素数の多い順に並べ、上位か
ら代表色数のグループを選択し、それぞれのグループか
ら代表色を選定することを特徴とする請求項1又は2記
載のカラー画像表示方法。
12. In the representative color selection processing, pixels whose distances are closer than a threshold value k in a color space are grouped into several groups until the number of groups becomes less than several times the number of representative colors assigned to the area. 3. The method according to claim 1, wherein k is increased, regrouping is performed, the groups are arranged in descending order of the number of constituent pixels, a group having a representative color number is selected from the top, and a representative color is selected from each group. The color image display method described.
【請求項13】 前記代表色選定処理では、周辺領域の
代表色と比較して、色空間の距離が閾値よりも近い画素
を代表色の候補から除外し、領域内の残りの画素から代
表色を選定することを特徴とする請求項1又は2記載の
カラー画像表示方法。
13. The representative color selection process excludes pixels having a color space distance closer than a threshold value from a representative color candidate as compared with the representative color of a peripheral area, and selects the representative color from the remaining pixels in the area. 3. The color image display method according to claim 1, wherein the color image display method is selected.
【請求項14】 前記表示色選定処理では、対象画素の
含まれる領域の平均画素値と比較して、差が閾値よりも
小さい周辺の領域を全て参照領域とし、該参照領域の代
表色から表示色を選定することを特徴とする請求項2記
載のカラー画像表示方法。
14. In the display color selection processing, all peripheral areas having a difference smaller than a threshold value compared with an average pixel value of an area including a target pixel are set as reference areas, and displayed from a representative color of the reference areas. The color image display method according to claim 2, wherein a color is selected.
JP5024606A 1993-02-15 1993-02-15 Color image display method Withdrawn JPH06243244A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5024606A JPH06243244A (en) 1993-02-15 1993-02-15 Color image display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5024606A JPH06243244A (en) 1993-02-15 1993-02-15 Color image display method

Publications (1)

Publication Number Publication Date
JPH06243244A true JPH06243244A (en) 1994-09-02

Family

ID=12142816

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5024606A Withdrawn JPH06243244A (en) 1993-02-15 1993-02-15 Color image display method

Country Status (1)

Country Link
JP (1) JPH06243244A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006323870A (en) * 2006-07-26 2006-11-30 Sharp Corp Image subtractive color processing device, image encoding device, image decoding device, image subtractive color processing method, image encoding method and image decoding method
JP2017518548A (en) * 2014-03-13 2017-07-06 クアルコム,インコーポレイテッド Creating realistic colors for virtual objects in augmented reality environments

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006323870A (en) * 2006-07-26 2006-11-30 Sharp Corp Image subtractive color processing device, image encoding device, image decoding device, image subtractive color processing method, image encoding method and image decoding method
JP2017518548A (en) * 2014-03-13 2017-07-06 クアルコム,インコーポレイテッド Creating realistic colors for virtual objects in augmented reality environments

Similar Documents

Publication Publication Date Title
KR900004019B1 (en) Color image display system
JP2861890B2 (en) Color image display
US5142272A (en) Method and apparatus for processing display color signal
JP3359116B2 (en) Image processing method and apparatus
JP3966691B2 (en) Continuous tone compression apparatus and method, data processing apparatus and device, and recording medium on which program for executing the method is recorded
JPH06282640A (en) Operating method of personal computer system and personal computer system
EP0868075B1 (en) Color conversion device
Dixit Quantization of color images for display/printing on limited color output devices
JP3873477B2 (en) Image processing apparatus and image processing method
JPH0830787A (en) Image area dividing method and image area integrating method
JPH06243244A (en) Color image display method
JP4010097B2 (en) Image processing apparatus and image processing method, and method for creating threshold matrix for generating halftone image
JPH021076A (en) Method and device for expressing color picture with limited colors
Lo et al. Colour quantization by three-dimensional frequency diffusion
JP2002118737A (en) Image converter and image conversion method
JPH0887258A (en) Color image display method
JP3215156B2 (en) Color image processing method
JP2947015B2 (en) Color conversion device and color conversion method
JPH0546750A (en) Method and device for converting color
JPH0793536A (en) Noise suppression method for display system and device therefor
JPH11296672A (en) Image color information extraction method
JPH1032712A (en) Picture processor
JP2775748B2 (en) Method and apparatus for expressing limited color of color image
JP2605736B2 (en) Color data compression method
JPH08331373A (en) Color image reduction device and color image reduction method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000509