JPH04190466A - Limited color representation device for color image - Google Patents

Limited color representation device for color image

Info

Publication number
JPH04190466A
JPH04190466A JP2322039A JP32203990A JPH04190466A JP H04190466 A JPH04190466 A JP H04190466A JP 2322039 A JP2322039 A JP 2322039A JP 32203990 A JP32203990 A JP 32203990A JP H04190466 A JPH04190466 A JP H04190466A
Authority
JP
Japan
Prior art keywords
color
representative
colors
image
representative colors
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2322039A
Other languages
Japanese (ja)
Inventor
Hirohiko Mochida
裕彦 持田
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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP2322039A priority Critical patent/JPH04190466A/en
Publication of JPH04190466A publication Critical patent/JPH04190466A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a proper color tone by dividing a color space for representing the color image into a finite number of areas, selecting representative colors of the respective areas and calculating color space distances between the representative colors and representative colors in a table where similar colors are registered, and assigning the representative color with the shortest distance to an original picture element. CONSTITUTION:The image is read first, a detecting circuit 13 extracts high-order 6 bits from 8-bit data R, G, and B, and linear color values are obtained from a prepared three-dimensional/linear conversion table 11. The color values are divided by a histogram generating means 14 and an area dividing means 15 into (10<8>) areas which is in inverse proportion to the amount of the image data. A means 16 selects representative colors according to the mean values of the respective areas, reconverts the data into 8-bit constitution, and the color space distances D between the representative colors are calculated from an equation I; and color codes which are shorter than a certain value are displayed in a representative color relation table 21. Then assigned colors are determined according to the shortest distances between temporary representative colors generated with the 6-bit data as they are and the color codes in the relation table.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、デジタル化された自然画カラー画像を限定さ
れた数の代表色で表現するカラー画像の限定色表現装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a limited color expression device for a color image that expresses a digitized natural color image using a limited number of representative colors.

[従来の技術] カラー画像は通常R(赤)、G(緑)、B(青)の3成
分によって表わされ、デジタル化された画像データは各
成分8ビツトで構成されることが多い。このようなデジ
タルカラー画像をデイスプレィ装置で表示出力する際、
第4図に示すように画像メモリ1において1画素におけ
るR、G、Bの3成分をそれぞれ8ビツトで表わし、こ
の各成分をD/A変換器2a、2b、2cでそれぞれア
ナログ変換してCRTデイスプレィ3に供給するフルカ
ラーデイスプレィ装置では、1画素を24ビツトで示す
ため224(←1677万)色もの色を同時に表示可能
となるが、各画素に対して24ビツトのメモリが必要と
なるため画像メモリ1の必要容量が膨大となる。
[Prior Art] A color image is usually represented by three components: R (red), G (green), and B (blue), and digitized image data is often composed of 8 bits for each component. When displaying such digital color images on a display device,
As shown in FIG. 4, the three components of R, G, and B in one pixel are each represented by 8 bits in the image memory 1, and these components are converted into analogs by D/A converters 2a, 2b, and 2c, respectively. In the full-color display device that supplies display 3, one pixel is represented by 24 bits, so it is possible to display 224 (←16.77 million) colors at the same time, but each pixel requires 24 bits of memory. The required capacity of the image memory 1 becomes enormous.

一方、パーソナルコンピュータやワークステーション等
で使用されるカラーデイスプレィ装置は、例えば第5図
に示すように各画素に対して例えば8ビツトの画像メモ
リ4を設け、この画像メモリ4に各画素に表示される色
のコードを格納し、この色コードをカラーマツプ5によ
り変換テーブルを使用して実際に表示するためのR,G
、Bの値(各8ビツト)に変換してから各成分をD/A
変換i6a、6b、6cでそれぞれアナログ変換してC
RTデイスプレィ7に供給する構成となっている。
On the other hand, color display devices used in personal computers, workstations, etc. are provided with, for example, an 8-bit image memory 4 for each pixel, as shown in FIG. R, G for actually displaying this color code using a conversion table using color map
, B values (8 bits each), and then convert each component into D/A
Conversion i6a, 6b, 6c respectively convert analog to C
The configuration is such that the data is supplied to the RT display 7.

この装置ではカラーマツプ5からの出力は1画素が24
ビツトで示されるため1677万色から色を選択するこ
とができるか、画像メモリ4の1画素に対する容量が8
ビツトであるので同時に表示できる色の種類は256色
となる。しかしこの装置の場合は画像メモリの必要容量
が少なくて済むため、この限られた色数で自然画画像を
違和感無く表示できることが望ましい。
In this device, the output from color map 5 is 24 pixels per pixel.
Since it is expressed in bits, it is possible to select a color from 16.77 million colors, or the capacity for one pixel of the image memory 4 is 8.
Since it is a bit, the number of colors that can be displayed simultaneously is 256. However, since this device requires only a small amount of image memory, it is desirable to be able to display natural images with this limited number of colors without causing any discomfort.

このようなことから従来ては、原画像の色分布を調べる
ためのヒストグラムを作成し、多く分布している色領域
(画素数が多く、分散の度合いが多い画像の色領域)に
ついては密に、分布の少ない色領域については疎に色空
間の分割を行い、限定色数と同数の色領域を得た後、各
領域内で代表色を選定して表現色とし、その後に各原画
素に代表色を割付けて限定色表示するものか知られてい
る。
For this reason, in the past, a histogram was created to examine the color distribution of the original image, and color areas with a large distribution (color areas of the image with a large number of pixels and a high degree of dispersion) were For color areas with a small distribution, the color space is divided sparsely to obtain the same number of color areas as the limited number of colors, then a representative color is selected within each area as the expression color, and then applied to each original pixel. It is known that representative colors are assigned and limited colors are displayed.

代表色の割付は方式としては、次の2通りの方式か実行
されている。
The following two methods are used for assigning representative colors.

1つは原画像の各画素の色と全ての代表色の間でユーク
リッド距離を計算し、最も距離の短い代表色を限定色画
像の対応画素に割付ける方式であり、もう1つは原画像
の各画素の色か所属する領域の代表色をそのまま限定色
画像の対応画像に割付ける方式である。
One method is to calculate the Euclidean distance between each pixel color in the original image and all representative colors, and assign the representative color with the shortest distance to the corresponding pixel in the limited color image. In this method, the color of each pixel or the representative color of the area to which it belongs is directly assigned to the corresponding image of the limited color image.

[発明が解決しようとする課題] しかし前者の原画素と全ての代表色との間でユークリッ
ド距離を計算して代表色を割当てる方式では、画質とし
ては高画質な限定色画像が得られるが、原画像サイズが
例えば512X512画素で代表色数が256色とする
と、512X512×256回の演算を行わなければな
らず演算量が膨大になり、高速な限定色表示が困難とな
る問題があった。
[Problems to be Solved by the Invention] However, with the former method of calculating the Euclidean distance between the original pixel and all representative colors and assigning a representative color, a limited color image with high image quality can be obtained; If the original image size is, for example, 512 x 512 pixels and the number of representative colors is 256, calculations must be performed 512 x 512 x 256 times, resulting in an enormous amount of calculation, making it difficult to display limited colors at high speed.

また後者の原画素を所属する領域の代表色に割付ける方
式では、色空間の領域分割時に代表色と領域の対応関係
を作成しておけば割付は時には単にテーブル変換を行う
のみでよいので高速な代表色への割付けを行うことがで
きるが、領域の分割の仕方によっては適した代表色を割
付けることかできない問題があった。
In addition, in the latter method of assigning the original pixel to the representative color of the area to which it belongs, if the correspondence between the representative color and the area is created when dividing the color space into regions, the assignment can be done by simply converting the table, which is fast. However, depending on how the area is divided, it may not be possible to allocate an appropriate representative color.

特に人物画の肌のように似通った色が滑らかに変化して
いる画像(以下、階調性画像と称する。)を扱う場合や
色空間を1次元空間に展開した後分割処理を行う場合に
おいては、似通った色の代表色か複数選ばれる可能性が
高く、複数の小さな領域が小空間に集中するため、所属
する領域の代表色か理想的な代表色である確率は低くな
る。またそのような階調性画像において、理想的な代表
色か使用されなければ視覚的な画質の劣化が目立つ原因
となる。
Especially when dealing with images in which similar colors change smoothly, such as the skin in portraits (hereinafter referred to as gradation images), or when performing segmentation processing after expanding the color space into a one-dimensional space. There is a high possibility that multiple similar representative colors will be selected, and since multiple small regions are concentrated in a small space, the probability that the color will be the representative color of the region to which it belongs or the ideal representative color is low. In addition, in such a gradation image, unless ideal representative colors are used, visual deterioration in image quality becomes noticeable.

そこで本発明は、代表色を割付けるときの演算量を少な
くして高速な代表色の割付は処理ができ、また原画素に
対して常に適した代表色を割付けることかでき、特に階
調性画像に対して理想的な代表色の割付けができるカラ
ー画像の限定色表現装置を提供しようとするものである
Therefore, the present invention reduces the amount of calculations required when assigning representative colors, allows high-speed assignment of representative colors, and always assigns suitable representative colors to original pixels, especially for gradations. The present invention aims to provide a limited color expression device for color images that can allocate ideal representative colors to sexual images.

[課題を解決するだめの手段] 本発明は、デジタル化された自然画カラー画像の色空間
における色分布を作成する色分布作成手段と、この色分
布作成手段により作成された色分布に基づいて色空間を
限定された数の領域に分割する領域分割手段と、この領
域分割手段により分割された各領域の代表色を選定する
代表色選定手段と、この代表色選定手段により選定され
た各代表色間の似通った色を登録する代表色関連テーブ
ルと、各原画素の色、その原画素の色が所属する領域の
代表色及び所属する領域の代表色の関連テーブルに登録
された代表色との間で3次元ユークリッド距離を算出す
る割付は用距離計算手段と、この距離計算手段による算
出結果に基づいて最も距離の短い代表色を原画素に割付
けする代表色割付手段を設けたものである。
[Means for Solving the Problems] The present invention provides a color distribution creation means for creating a color distribution in the color space of a digitized natural color image, and a method based on the color distribution created by the color distribution creation means. A region dividing means for dividing a color space into a limited number of regions, a representative color selection means for selecting a representative color of each region divided by the region dividing means, and each representative color selected by the representative color selection means. A representative color related table that registers similar colors between colors, the color of each original pixel, the representative color of the area to which the original pixel color belongs, and the representative color registered in the related table of the representative color of the area to which it belongs. The layout for calculating the three-dimensional Euclidean distance between the two is provided with a distance calculation means and a representative color allocation means for allocating the representative color with the shortest distance to the original pixel based on the calculation result by this distance calculation means. .

[作用コ このような構成の本発明においては、デジタル化された
自然画カラー画像の色空間における色分布を作成し、こ
の色分布に基づいて色空間を限定された数の領域に分割
して各領域の代表色を選定する。また選定された各代表
色間の似通った色を代表色関連テーブルに登録する。
[Operation] In the present invention having such a configuration, a color distribution in the color space of a digitized natural color image is created, and the color space is divided into a limited number of regions based on this color distribution. Select a representative color for each area. Further, similar colors between the selected representative colors are registered in the representative color related table.

そして各原画素の色、その原画素の色が所属する領域の
代表色及び所属する領域の代表色の関連テーブルに登録
された代表色との間で割付けのための3次元ユークリッ
ド距離を算出し、この算出結果に基づいて最も距離の短
い代表色を原画素に割付けする。
Then, the three-dimensional Euclidean distance for allocation is calculated between the color of each original pixel, the representative color of the area to which the original pixel color belongs, and the representative color registered in the association table of the representative colors of the area to which it belongs. , the representative color with the shortest distance is assigned to the original pixel based on this calculation result.

[実施例] 以下、本発明の一実施例を図面を参照して説明する。[Example] Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

色空間は通常R,G、BやLx、am、bxといった3
次元の空間であるが、例えばR,G。
There are usually 3 color spaces such as R, G, B, Lx, am, and bx.
It is a dimensional space, for example R, G.

Bの空間を予め1次元空間に展開しておく。すなわちそ
れぞれ8ビツトで示されるR、G、Bの各上位5ビツト
の色空間を1次元に展開する。
The space of B is expanded into a one-dimensional space in advance. That is, the color space of the upper 5 bits of R, G, and B, each represented by 8 bits, is developed one-dimensionally.

この場合R,G、Bの組合わせは全部で215−3−2
,768組存在することになる。従ってRlG、Bの組
合わせに0〜32,767までの番号を付して1次元空
間と3次元空間との対応関係の変換テーブル、すなわち
3次元/1次元色空間変換テーブル11を作成しておく
。そして1次元空間への展開手法としてはペアノ曲線を
使用する。
In this case, the total combination of R, G, and B is 215-3-2
, 768 pairs exist. Therefore, numbers from 0 to 32,767 are assigned to the combinations of RlG and B to create a conversion table for the correspondence between the one-dimensional space and the three-dimensional space, that is, the three-dimensional/one-dimensional color space conversion table 11. put. The Peano curve is used as a method of expansion into a one-dimensional space.

具体的には、自然画カラー画像をカラーイメージスキャ
ナー12で読込み、R,G、Bそれぞれ8ビツトのデジ
タル画像データとして出力する。
Specifically, a natural color image is read by a color image scanner 12 and output as digital image data of 8 bits each for R, G, and B.

まず最初は解像度を落とした状態で1回目の読取りを高
速に行いデジタル画像データを出力する。
First, the first reading is performed at high speed with the resolution reduced and digital image data is output.

そして上位6ビツト検出回路13により各色の上位6ビ
ツトのみを有効とし、前記3次元/1次元色空間変換テ
ーブル11により1次元空間上の色値を出力する。
Then, the upper 6 bits detection circuit 13 validates only the upper 6 bits of each color, and the 3D/1D color space conversion table 11 outputs the color value in the 1D space.

そして画像の全画素の色値の分布を色分布作成手段とし
てのヒストグラム作成手段14により1□次元空間上に
作成する。
Then, the distribution of color values of all pixels of the image is created on a 1□-dimensional space by the histogram creation means 14 as a color distribution creation means.

次にヒストグラムの分布に基づいて色空間全体を領域分
割手段15により限定された数の領域、例えば256領
域に分割する。この領域の分割はヒストグラムの頻度及
び分散を考慮し、頻度が多く分散が大きい箇所か細かい
領域に分割されるようになっている。
Next, the entire color space is divided into a limited number of regions, for example, 256 regions, by the region dividing means 15 based on the distribution of the histogram. This area is divided into small areas based on the frequency and variance of the histogram, and is divided into areas where the frequency is high and the variance is large.

ここまでの領域の分割作業は1次元空間上で行われてい
る。
The region division work up to this point has been performed on a one-dimensional space.

次に代表色選定手段16により各領域内の平均値が計算
され、その領域の代表色が選定される。
Next, the average value within each area is calculated by the representative color selection means 16, and the representative color of that area is selected.

このときの平均値は、1次元空間上の色値を変換テーブ
ル11.6ビツト/8ビツト変換部17によりR,G、
B毎の8ビツトの値とし、各色毎に平均が計算された値
となっている。
The average value at this time is determined by converting the color value in the one-dimensional space into R, G,
The value is an 8-bit value for each B color, and the average value is calculated for each color.

そしてカラールックアップテーブル18に対して第2図
に示すように代表色コードと代表色のRlGSBの値が
登録される。すなわち各色コード番号「0」〜r255
Jに対して3次元色空間のRlG、Hの値を割当ててい
る。
Then, the representative color code and the RlGSB value of the representative color are registered in the color lookup table 18 as shown in FIG. That is, each color code number "0" to r255
The values of RlG and H in the three-dimensional color space are assigned to J.

19は代表色間距離計算手段で、この代表色間距離計算
手段19は256個の代表色相互の間で3次元ユークリ
ッド距離が計算される。例えばある2点(r、 g、 
b)、(r’、 g’+ b’ )間の3次元ユークリ
ッド距離りは、 D=  (r−r’)2+(g−g’)2+(b−b’
)2となる。
19 is representative color distance calculation means, and this representative color distance calculation means 19 calculates three-dimensional Euclidean distances between 256 representative colors. For example, two points (r, g,
The three-dimensional Euclidean distance between b) and (r', g'+ b') is D= (r-r')2+(gg')2+(bb'
) becomes 2.

そして代表色相互間の距離りが、ある閾値以内にある代
表色のコードが登録代表色選択手段2゜により選択され
、代表色間関連テーブル21に登録される。この代表色
間関連テーブル21は第3図に示すように各代表色コー
ドに別の代表色コードを登録しており、代表色によって
登録される数は異なっている。すなわち画像の階調性を
持った部分では、ヒストグラム上では分散が大きくなる
ため細かい領域への分割が行われ易く、多くの似通った
色の代表色が抽出され、選定された代表色の関連テーブ
ルには多くの別の代表色が登録され易くなる。
Then, codes of representative colors whose distances between the representative colors are within a certain threshold are selected by the registered representative color selection means 2° and registered in the representative color relationship table 21. As shown in FIG. 3, this representative color relationship table 21 has another representative color code registered for each representative color code, and the number of registered colors differs depending on the representative color. In other words, in areas with gradation of an image, the dispersion becomes large on the histogram, so it is easy to divide the image into small areas, and many similar representative colors are extracted, and a related table of selected representative colors is created. It becomes easy to register many different representative colors.

以上の制御処理により代表色の決定及び代表色間関連テ
ーブルの作成が行われる。
Through the above control processing, representative colors are determined and a representative color relationship table is created.

こうして代表色の決定が行われると、次には代表色の割
付けが実行される。
Once the representative colors have been determined in this way, the assignment of the representative colors is then executed.

すなわち前記カラーイメージスキャナー12により2回
目の読取りか行われデジタル画像データか出力される。
That is, the color image scanner 12 performs a second reading and outputs digital image data.

モしてR,G、、Bの各8とットデータが上位6ビツト
検出回路13により各6ビツトに変換された後、前記3
次元/1次元色空間変換テーブル11により1次元空間
上の色値となる。
After each of the 8 bit data of R, G, .B is converted into 6 bits each by the upper 6 bit detection circuit 13,
The dimensional/one-dimensional color space conversion table 11 provides color values in a one-dimensional space.

この1次元空間上の色値は仮代表色変換テーブル22に
供給されて仮の代表色が決定される。ここで仮の代表色
とは従来の原画像の各画素の色か所属する領域の代表色
をそのまま限定色画像の対応画素に割付ける方式で割付
けられた代表色と同一である。
The color values in this one-dimensional space are supplied to a temporary representative color conversion table 22, and a temporary representative color is determined. Here, the provisional representative color is the same as the representative color assigned by the conventional method of assigning the color of each pixel of the original image or the representative color of the area to which it belongs as is to the corresponding pixel of the limited color image.

続いて割付は用距離計算手段23により各色8ビットの
原画素と仮の代表色と仮の代表色の関連テーブル21に
登録されている代表色間で3次元のユークリッド距離の
計算が行われ、さらに最短距離代表色割付は手段24に
より最も距離の短い代表色が割付けられて限定色画像が
作成されるようになっている。
Subsequently, for allocation, a three-dimensional Euclidean distance is calculated by the distance calculation means 23 between the 8-bit original pixel of each color, the temporary representative color, and the representative colors registered in the temporary representative color association table 21. Further, for the shortest distance representative color assignment, the representative color with the shortest distance is assigned by means 24 to create a limited color image.

このような構成の本実施例においては、先ず解像度を落
としてカラーイメージスキャナー12で画像読取りを行
い、3次元/1次元色空間変換テーブル11により1次
元空間上の色値に変換された後、ヒストグラム作成手段
14により1次元空間上にヒストグラムの分布が作成さ
れる。そして領域分割手段15により256領域に分割
される。
In this embodiment with such a configuration, first, the resolution is reduced and the image is read by the color image scanner 12, and after being converted into color values in the one-dimensional space by the three-dimensional/one-dimensional color space conversion table 11, The histogram creation means 14 creates a histogram distribution on a one-dimensional space. Then, the area dividing means 15 divides the area into 256 areas.

続いて代表色選定手段16により各領域内の平均値が計
算されて領域の代表色が選定され、カラールックアップ
テーブル18に対して代表色コードと代表色のR,G、
Bの値が登録される。また代表色間距離計算手段19に
より256個の代表色相互の間で3次元ユークリッド距
離が計算される。
Subsequently, the representative color selection means 16 calculates the average value within each region, selects the representative color of the region, and inputs the representative color code, R, G, and R of the representative color to the color lookup table 18.
The value of B is registered. Further, the representative color distance calculating means 19 calculates three-dimensional Euclidean distances between the 256 representative colors.

そして代表色相互間の距離が、ある閾値以内にある代表
色のコードが登録代表色選択手段20により選択され、
代表色間関連テーブル21に登録される。
Then, codes of representative colors whose distances between the representative colors are within a certain threshold are selected by the registered representative color selection means 20,
It is registered in the representative color relationship table 21.

こうして代表色の決定が行われると、続いてカラーイメ
ージスキャナー12により2回目の読取りが行われ代表
色の割付けが実行される。
Once the representative colors are determined in this way, the second reading is then performed by the color image scanner 12 and assignment of the representative colors is executed.

すなわちカラーイメージスキャナー12からのデジタル
画像データが上位6ビツト検出回路13により各6ビツ
トに変換された後、3次元/1次元色空間変換テーブル
11により1次元空間上の色値に変換される。そして仮
代表色変換テーブル22により仮の代表色か決定される
That is, the digital image data from the color image scanner 12 is converted into six bits each by the upper six bit detection circuit 13, and then converted into color values in a one-dimensional space by the three-dimensional/one-dimensional color space conversion table 11. Then, the temporary representative color is determined by the temporary representative color conversion table 22.

続いて割付は用距離計算手段23により各色8ビットの
原画素と仮の代表色と仮の代表色の関連テーブル21に
登録されている代表色間で3次元のユークリッド距離の
計算が行われ、さらに最短距離代表色割付は手段24に
より最も距離の短い代表色が割付けられて限定色画像か
作成される。
Subsequently, for allocation, a three-dimensional Euclidean distance is calculated by the distance calculation means 23 between the 8-bit original pixel of each color, the temporary representative color, and the representative colors registered in the temporary representative color association table 21. Further, for the shortest distance representative color assignment, the representative color with the shortest distance is assigned by means 24 to create a limited color image.

このように代表色関連テーブル21を使用することによ
って代表色を割付けるときの演算量を少なくでき高速な
代表色の割付は処理ができる。しかも原画素に対して常
に適した代表色を割付けることができ、特に階調性画像
に対して理想的な代表色の割付けができる。
By using the representative color related table 21 in this manner, the amount of calculation when assigning representative colors can be reduced, and representative color assignment can be processed at high speed. Furthermore, an appropriate representative color can always be assigned to the original pixel, and in particular, an ideal representative color can be assigned to a gradation image.

[発明の効果コ 以上詳述したように本発明によれば、代表色を割付ける
ときの演算量を少なくして高速な代表色の割付は処理が
でき、また原画素に対して常に適した代表色を割付ける
ことができ、特に階調性画像に対して理想的な代表色の
割付けができるカラー画像の限定色表現装置を提供でき
るものである。
[Effects of the invention] As detailed above, according to the present invention, it is possible to reduce the amount of calculations when assigning representative colors and perform high-speed assignment of representative colors. It is possible to provide a limited color expression device for color images, which can allocate representative colors, and in particular, can allocate ideal representative colors to gradation images.

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

第1図乃至第3図は本発明の一実施例を示すもので、第
1図はブロック図、第2図はカラールックアップテーブ
ルの構成を示す図、第3図は代表色関連テーブルの構成
を示す図、第4図及び第5図は従来例を示すブロック図
である。 14・・・ヒストグラム作成手段、 15・・・領域分割手段、 16・・・代表色選定手段、 21・・・代表色関連テーブル、 23・・・割付は用距離算出手段、 24・・・最短距離代表色割付は手段。 出願人代理人 弁理士 鈴江武彦 第2図 簗3図
1 to 3 show an embodiment of the present invention, in which FIG. 1 is a block diagram, FIG. 2 is a diagram showing the configuration of a color lookup table, and FIG. 3 is a diagram showing the configuration of a representative color related table. FIGS. 4 and 5 are block diagrams showing conventional examples. 14... Histogram creation means, 15... Region dividing means, 16... Representative color selection means, 21... Representative color related table, 23... Distance calculation means for allocation, 24... Shortest distance Distance representative color assignment is a means. Applicant's agent Patent attorney Takehiko Suzue Figure 2, Figure 3

Claims (1)

【特許請求の範囲】[Claims]  デジタル化された自然画カラー画像の色空間における
色分布を作成する色分布作成手段と、この色分布作成手
段により作成された色分布に基づいて色空間を限定され
た数の領域に分割する領域分割手段と、この領域分割手
段により分割された各領域の代表色を選定する代表色選
定手段と、この代表色選定手段により選定された各代表
色間の似通った色を登録する代表色関連テーブルと、各
原画素の色、その原画素の色が所属する領域の代表色及
び所属する領域の代表色の関連テーブルに登録された代
表色との間で3次元ユークリッド距離を算出する割付け
用距離計算手段と、この割付け用距離計算手段による算
出結果に基づいて最も距離の短い代表色を原画素に割付
けする代表色割付手段を設けたことを特徴とするカラー
画像の限定色表現装置。
A color distribution creation means for creating a color distribution in the color space of a digitized natural color image, and an area for dividing the color space into a limited number of regions based on the color distribution created by the color distribution creation means. A dividing means, a representative color selecting means for selecting a representative color of each area divided by the area dividing means, and a representative color related table for registering similar colors between the representative colors selected by the representative color selecting means. An allocation distance that calculates the three-dimensional Euclidean distance between the color of each original pixel, the representative color of the area to which the original pixel color belongs, and the representative color registered in the association table of the representative colors of the area to which it belongs. 1. A limited color expression device for a color image, comprising a calculation means and a representative color allocation means for allocating a representative color having the shortest distance to an original pixel based on a calculation result by the allocation distance calculation means.
JP2322039A 1990-11-26 1990-11-26 Limited color representation device for color image Pending JPH04190466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2322039A JPH04190466A (en) 1990-11-26 1990-11-26 Limited color representation device for color image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2322039A JPH04190466A (en) 1990-11-26 1990-11-26 Limited color representation device for color image

Publications (1)

Publication Number Publication Date
JPH04190466A true JPH04190466A (en) 1992-07-08

Family

ID=18139243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2322039A Pending JPH04190466A (en) 1990-11-26 1990-11-26 Limited color representation device for color image

Country Status (1)

Country Link
JP (1) JPH04190466A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6847377B2 (en) 2001-01-05 2005-01-25 Seiko Epson Corporation System, method and computer program converting pixels to luminance levels and assigning colors associated with luminance levels in printer or display output devices
US7085006B2 (en) 2000-12-28 2006-08-01 Seiko Epson Corporation Apparatus for generating two color printing data, a method for generating two color printing data and recording media
US7280258B2 (en) 2001-01-05 2007-10-09 Seiko Epson Corporation Logo data generating system, logo data generating method, and data storage medium
US7283275B2 (en) 2000-12-28 2007-10-16 Seiko Epson Corporation Logo data generating apparatus, logo data generating method, and data storage medium
US7292369B2 (en) 2000-12-28 2007-11-06 Seiko Epson Corporation Logo data generating method and system
US7375844B2 (en) 2000-12-22 2008-05-20 Seiko Epson Corporation Method for generating a print data file, method for storing print data, a data storage medium therefor, and an apparatus for generating a data storage file
US7428074B2 (en) 2000-12-28 2008-09-23 Seiko Epson Corporation Logo data generating apparatus, logo data generating method, and data storage medium
JP2009031384A (en) * 2007-07-25 2009-02-12 Hitachi Displays Ltd Multicolor display device
JP2014066990A (en) * 2012-09-25 2014-04-17 Lg Display Co Ltd Timing controller, driving method thereof, and flat panel display device using the same

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7375844B2 (en) 2000-12-22 2008-05-20 Seiko Epson Corporation Method for generating a print data file, method for storing print data, a data storage medium therefor, and an apparatus for generating a data storage file
US7085006B2 (en) 2000-12-28 2006-08-01 Seiko Epson Corporation Apparatus for generating two color printing data, a method for generating two color printing data and recording media
US7283275B2 (en) 2000-12-28 2007-10-16 Seiko Epson Corporation Logo data generating apparatus, logo data generating method, and data storage medium
US7292369B2 (en) 2000-12-28 2007-11-06 Seiko Epson Corporation Logo data generating method and system
US7428074B2 (en) 2000-12-28 2008-09-23 Seiko Epson Corporation Logo data generating apparatus, logo data generating method, and data storage medium
US8289566B2 (en) 2000-12-28 2012-10-16 Seiko Epson Corporation Logo data generating method, data storage medium recording the logo data generating method, a computer program product containing commands executing the steps of the logo data generating logo data generating method, and a logo data generating system
US6847377B2 (en) 2001-01-05 2005-01-25 Seiko Epson Corporation System, method and computer program converting pixels to luminance levels and assigning colors associated with luminance levels in printer or display output devices
US7280258B2 (en) 2001-01-05 2007-10-09 Seiko Epson Corporation Logo data generating system, logo data generating method, and data storage medium
JP2009031384A (en) * 2007-07-25 2009-02-12 Hitachi Displays Ltd Multicolor display device
JP2014066990A (en) * 2012-09-25 2014-04-17 Lg Display Co Ltd Timing controller, driving method thereof, and flat panel display device using the same
US9076396B2 (en) 2012-09-25 2015-07-07 Lg Display Co., Ltd. Timing controller, driving method thereof, and flat panel display device using the same

Similar Documents

Publication Publication Date Title
US5943058A (en) Texture mapping circuit for performing data interpolations
JP2923648B2 (en) Method and apparatus for generating color characteristics of an object
US5179641A (en) Rendering shaded areas with boundary-localized pseudo-random noise
EP0369702A2 (en) Image processing apparatus and method
JPH0695636A (en) Method and apparatus for generating color pallet, data processing system and method for generating input for lookuptable
JPH04190466A (en) Limited color representation device for color image
JP2647033B2 (en) Lookup table creation method and lookup table creation device
US7023585B1 (en) Multi-dimensional edge interpolation
US7397483B1 (en) Image data conversion using interpolation
JPH0814843B2 (en) Color conversion method and color conversion device
EP1003129B1 (en) Method and apparatus for resizing a digital video image
JPH04152386A (en) Expressing device for limited color of color image
JPH0564000A (en) Method for compressing and expanding image data
JPH0799586A (en) Color conversion device
JPH05284346A (en) Color conversion device
JP3674965B2 (en) Color image compression method
JPH06348834A (en) Image processing device
JP3034402B2 (en) Color image reduction apparatus and method
JP3006522B2 (en) Color reduction processing device
JPH0723232A (en) Color picture coding system
JPH03135677A (en) Method and device for reduction of image
JP2023126059A (en) Image processing apparatus, image processing method, and program
JP2001188900A (en) Image processor and image processing method
JPH08161468A (en) Color conversion processing unit
JPH08272351A (en) Picture processor