JPH04152386A - Expressing device for limited color of color image - Google Patents

Expressing device for limited color of color image

Info

Publication number
JPH04152386A
JPH04152386A JP2276480A JP27648090A JPH04152386A JP H04152386 A JPH04152386 A JP H04152386A JP 2276480 A JP2276480 A JP 2276480A JP 27648090 A JP27648090 A JP 27648090A JP H04152386 A JPH04152386 A JP H04152386A
Authority
JP
Japan
Prior art keywords
color
area
representative
representative color
space
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
JP2276480A
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 JP2276480A priority Critical patent/JPH04152386A/en
Publication of JPH04152386A publication Critical patent/JPH04152386A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Processing Of Color Television Signals (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To execute the limited color display at a high speed by providing a representative color allocating means for allocating a representative color of the shortest distance to an original picture element. CONSTITUTION:One-dimensional histogram data generated by a histogram generating means 12 is supplied to a 256 area dividing means 13. This dividing means 13 divides the whole color space into the limited number of areas, for instance, 256 areas, based on a distribution of a histogram, and in this case, the space in which the distribution is dense, and the space in which the distribution is sparse are divided minutely and roughly, respectively. This division information is supplied to a representative color determining means 14, and in this representative color determining means 14, an average value of each area is calculated, and a representative color of each area is determined. The average value in this case is the number on a one-dimensional color space, but is converted to values of R, G and B of a three-dimensional color space.

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ビツトで構成されることが多い。このようなデジ
タルカラー画像をデイスプレィ装置で表示出力する際、
第6図に示すように画像メモリ1において1画素におけ
るR、G、Bの3成分をそれぞれ8ビツトで表わし、こ
の各成分をD/A変換器2a、2b、2cでそれぞれア
ナログ変換してCRTデイスプレィ3゛に供給するフル
カラーデイスプレィ装置では、1画素を24ビツトで示
すため2”’?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. 6, the three components of R, G, and B in one pixel are each represented by 8 bits in the image memory 1, and each component is converted into analog by D/A converters 2a, 2b, and 2c, and then transferred to the CRT. In a full-color display device that supplies display 3, one pixel is represented by 24 bits, so it is possible to display 2''?16.77 million colors at the same time, but each pixel requires 24 bits of memory. Therefore, the required capacity of the image memory 1 becomes enormous.

一方、パーソナルコンピュータやワークステーション等
で使用されるカラーデイスプレィ装置は、例えば第7図
に示すように各画素毎に8ビツトの画像メモリ4を設け
、この画像メモリ4に各画素に表示される色のコードを
格納し、この色コードをカラーマツプ5により変換テー
ブルを使用して実際に表示するためのR,G、Bの値(
各8ビツト)に変換してから各成分をD/A変換器6a
On the other hand, a color display device used in a personal computer, workstation, etc. is provided with an 8-bit image memory 4 for each pixel, as shown in FIG. The R, G, B values (
8 bits each) and then convert each component to a D/A converter 6a.
.

6b、6cでそれぞれアナログ変換してCRTデイスプ
レィ7に供給する構成となっている。
6b and 6c respectively convert the signals into analogs and supply them to the CRT display 7.

この装置ではカラーマツプらからの出力は1画素が24
ビツトで示されるため1677万色から色を選択するこ
とができるが、画像メモリ4の1画素に対する容量が8
ビツトであるので同時に表示できる色の種類は256色
となる。しかしこの装置の場合は画像メモリの必要容量
が少なくて済むため、この限られた色数で自然画画像を
違和感無く表示できることが望ましい。
In this device, the output from the color map is 24 pixels per pixel.
Since it is expressed in bits, it is possible to select a color from 16.77 million colors, but 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. For color areas with few colors, 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 a representative color is assigned to each original pixel. It is known to allocate and display limited colors.

そして代表色を割当てる方式としては、原画素と全ての
代表色との間でユークリッド距離を計算し、最も距離の
短い代表色を割当てる方式及び原画素を所属する領域の
代表色に割当てる方式か知られている。
As for the method of assigning the representative color, there is a method that calculates the Euclidean distance between the original pixel and all the representative colors and assigns the representative color with the shortest distance, and a method that assigns the original pixel to the representative color of the area to which it belongs. It is being

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

また原画素を所属する領域の代表色に割当てる方式では
、領域分割時に代表色と領域の対応関係を作成しておけ
ば割当て時には単にテーブル変換を行うのみでよいので
高速な代表色への割当てを行うことができるが、領域の
分割の仕方によっては適した代表色を割当てることがで
きない問題かあった。例えば第8図に原画像の1次元ヒ
ストグラムの例を示すか、原画素Gには所属する領域B
の代表色Bか割当てられることになるが、理想的には距
離の近い領域Aの代表色Aが割当てられるべきである。
In addition, in the 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 at the time of region division, it is only necessary to perform table conversion at the time of assignment, which allows for high-speed assignment to the representative color. However, depending on how the areas are divided, it may not be possible to allocate a suitable representative color. For example, FIG. 8 shows an example of a one-dimensional histogram of the original image.
The representative color B of the area A should be assigned, but ideally the representative color A of the nearby area A should be assigned.

そこで本発明は、代表色を割当てるときの演算量を少な
くして高速な限定色表示を可能にし、しかも原画素に対
して常に適した代表色を割当てることができるカラー画
像の限定色表現装置を提供しようとするものである。
Therefore, the present invention provides a limited color expression device for color images that enables high-speed limited color display by reducing the amount of calculation when assigning representative colors, and that can always assign representative colors suitable for original pixels. This is what we are trying to provide.

[課題を解決するための手段] 本発明は、デジタル化された自然画カラー画像の色空間
における色分布を作成する色分布作成手段と、この色分
布作成手段により作成された色分布に基づいて色空間を
限定された数の領域に分割する領域分割手段と、この領
域分割手段により分割された各領域の代表色を決定する
代表色決定手段と、カラー原画像の各原画素がどの領域
に属するかを判断し、各原画素毎に、原画素の属する領
域の代表色及びこの領域に隣接する2つの領域の代表色
と原画素とのユークリッド距離を算出し、最も距離の短
い代表色を原画素に割付けする代表色割付手段を設けた
ものである。
[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 divides the color space into a limited number of regions, a representative color determining means determines a representative color of each region divided by the region dividing means, and a region dividing means determines which region each original pixel of the color original image belongs to. For each original pixel, calculate the Euclidean distance between the original pixel and the representative color of the area to which the original pixel belongs and the representative colors of the two areas adjacent to this area, and select the representative color with the shortest distance. A representative color allocating means for allocating original pixels is provided.

[作用コ このような構成の本発明においては、デジタル化された
自然画カラー画像の色空間における色分布を作成し、こ
の色分布に基づいて色空間を限定された数の領域に分割
して各領域の代表色を決定する。そしてカラー原画像の
各原画素がどの領域に属するかを判断し、各原画素毎に
、原画素の属する領域の代表色及びこの領域に隣接する
2つの領域の代表色と原画素とのユークリッド距離を算
出し、最も距離の短い代表色を原画素に割付けする。
[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. Determine the representative color of each area. Then, it is determined which area each original pixel of the color original image belongs to, and for each original pixel, the Euclidean diagram of the representative color of the area to which the original pixel belongs, the representative color of the two areas adjacent to this area, and the original pixel is determined. The distance is calculated and the representative color with the shortest distance is assigned to the original pixel.

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

色空間は通常R,G、BやLm、a*、b*といった3
次元の空間であるか、例えばR,G。
Color spaces are usually 3 such as R, G, B, Lm, a*, b*
Is it a space of dimensions, e.g. 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−32.
768組存在することになる。従ってRlG、Bの組合
わせに0〜32,767までの番号を付して1次元空間
と3次元空間との対応関係の変換テーブルを作成してお
く。そして1次元空間への展開手法としてはベアノ曲線
を使用する。
In this case, the total combination of R, G, and B is 215-32.
There are 768 pairs. Therefore, a conversion table for the correspondence between the one-dimensional space and the three-dimensional space is created by assigning numbers from 0 to 32,767 to the combinations of RlG and B. The Beano curve is used as a method for expanding into a one-dimensional space.

具体的には、第1図に示すように自然画カラー画像をカ
ラーイメージスキャナー11で読込み、R,G、Bそれ
ぞれ8ビツトのデジタル画像データとして出力する。
Specifically, as shown in FIG. 1, a natural color image is read by a color image scanner 11 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.

このデジタル画像データを色分布作成手段としてのヒス
トグラム作成手段12が取り込み、RlG、Bの各色上
位5ビットのみを有効として1次元色空間上に原画像の
ヒストグラムを作成する。
This digital image data is taken in by a histogram creation means 12 serving as a color distribution creation means, and a histogram of the original image is created on a one-dimensional color space by validating only the upper five bits of each color of RlG and B.

このときスキャナー11から出力されるデータは3次元
データであるが、先に作成した変換テーブルにより簡単
に1次元データに変換することが可能である。
Although the data output from the scanner 11 at this time is three-dimensional data, it can be easily converted into one-dimensional data using the conversion table created previously.

こうしてヒストグラム作成手段12で作成された1次元
のヒストグラムデータを256領域分割手段13に供給
する。
The one-dimensional histogram data thus created by the histogram creation means 12 is supplied to the 256 area division means 13.

前記領域分割手段13はヒストグラムの分布に基づいて
色空間全体を限定された数の領域、例えば256領域に
分割する。このとき分布の密なところを細かく分割し、
分布の疎なところは大まかに分割する。
The area dividing means 13 divides the entire color space into a limited number of areas, for example 256 areas, based on the distribution of the histogram. At this time, the dense parts of the distribution are divided into smaller parts,
Roughly divide areas where the distribution is sparse.

この分割情報は代表色決定手段14に供給され、この代
表色決定手段14において各領域の平均値が計算され、
各領域の代表色が決定される。このときの平均値は1次
元色空間上の番号であるが、3次元色空間のR,G、B
の値に変換される。
This division information is supplied to the representative color determining means 14, and the average value of each area is calculated in this representative color determining means 14.
A representative color for each area is determined. The average value at this time is a number on a one-dimensional color space, but R, G, B in a three-dimensional color space
is converted to the value of

またこのとき第3図及び第4図に示す変換テーブルが作
成される。第3図は領域番号「0」〜r255Jに対し
てO〜32,767の1次元色番号をグループ分けして
割当て、かっ色コード番号「0」〜r255Jを割当て
る。第4図は各色コード番号「0」〜r255Jに対し
て3次元色空間のR,G、Bの値を割当てている。
Also, at this time, the conversion tables shown in FIGS. 3 and 4 are created. In FIG. 3, one-dimensional color numbers from 0 to 32,767 are grouped and assigned to area numbers "0" to r255J, and brown code numbers "0" to r255J are assigned. In FIG. 4, R, G, and B values in a three-dimensional color space are assigned to each color code number "0" to r255J.

そしてカラーマツプ15に第4図の変換テーブルの内容
を登録している。
The contents of the conversion table shown in FIG. 4 are then registered in the color map 15.

また本来の解像度で自然画カラー画像を前記カラーイメ
ージスキャナー11で読込み、R,G。
Further, a natural color image at the original resolution is read by the color image scanner 11 and R, G is read.

Bそれぞれ8ビツトのデジタル画像データとして出力す
る。そしてこのデジタル画像データを代表色割付手段1
6で取込むようになっている。
Each of B is output as 8-bit digital image data. Then, this digital image data is assigned to representative color assignment means 1.
6 is set to import.

前記代表色割付手段16は第2図に示すように、領域判
別手段21、距離計算手段22、最短距離代表色への割
付手段23によって構成され、前記領域判別手段21に
より第3図の変換テーブルを参照して原画素が、分割さ
れたどの領域に所属するかが判別されるようになってい
る。そして前記距離計算手段22により原画素が所属す
る領域の代表色及びこの領域に隣接する2つの領域の代
表色の計3つの代表色と原画素とのユークリッド距離を
算出するようになっている。すなわちユークリッド距離
をDとし、原画素を(r、g、b)、代表色を(r’、
  ’、b’)とすると、D2− (r−r’ ) 2
+ (g−g’ ) 2+(b−b’)2 となる。
As shown in FIG. 2, the representative color allocation means 16 is comprised of an area determination means 21, a distance calculation means 22, and a shortest distance assignment means 23, and the area determination means 21 converts the conversion table shown in FIG. It is determined to which divided area the original pixel belongs by referring to . Then, the distance calculation means 22 calculates the Euclidean distance between the original pixel and three representative colors: the representative color of the area to which the original pixel belongs and the representative colors of two areas adjacent to this area. That is, the Euclidean distance is D, the original pixels are (r, g, b), and the representative colors are (r',
', b'), then D2- (rr') 2
+ (gg')2+(bb')2.

さらに前記最短距離代表色への割付手段23により算出
された距離の最も近い代表色を原画素に割当てるように
なっている。
Furthermore, the closest representative color calculated by the shortest distance representative color assignment means 23 is assigned to the original pixel.

こうして各原画素に対する代表色の割り当てが行われる
と、そのデータを画像メモリー7に供給して格納するよ
うになっている。
Once a representative color is assigned to each original pixel in this way, the data is supplied to the image memory 7 and stored therein.

前記画像メモリー7からの各原画素の代表色データは前
記カラーマツプ1うに供給され、そのカラーマツプ15
において第4図の変換テーブルに基づいて各原画素の代
表色に対応した色コード番号が3次元色空間のR,G、
Bの値に変換され表示部へ出力されるようになっている
The representative color data of each original pixel from the image memory 7 is supplied to the color map 1, and the color map 15
Based on the conversion table shown in Figure 4, the color code numbers corresponding to the representative colors of each original pixel are R, G, and R in the three-dimensional color space.
It is converted into a value of B and output to the display unit.

このような構成の本実施例においては、先ず解像度を落
としてカラーイメージスキャナー11で画像読取りを行
い、R,G、B各8ビットのデジタルデータとしてヒス
トグラム作成手段12に供給される。これによりヒスト
グラム作成手段12では各色の上位5ビツトを有効とし
て1次元色空間上に原画像のヒストグラムを作成する。
In this embodiment with such a configuration, first, the resolution is reduced and the image is read by the color image scanner 11, and the image is supplied to the histogram creation means 12 as digital data of 8 bits each for R, G, and B. As a result, the histogram creation means 12 creates a histogram of the original image on the one-dimensional color space by validating the upper five bits of each color.

続いて256領域分割手段13にて色空間全体が256
領域に分割される。さらに代表色決定手段14にて各領
域の平均値が求められ各領域の代表色が決定される。そ
して第3図及び第4図に示す2つの変換テーブルが作成
され、第4図の変換テーブルはカラーマツプ15に登録
される。
Subsequently, the entire color space is divided into 256 areas by the 256 area dividing means 13.
divided into regions. Furthermore, the representative color determining means 14 calculates the average value of each area and determines the representative color of each area. Then, two conversion tables shown in FIGS. 3 and 4 are created, and the conversion table shown in FIG. 4 is registered in the color map 15.

以上の処理が終了すると、次にカラーイメージスキャナ
ー11の解像度を本来の解像度に設定して原画像の読取
りか行われる。そしてこのときのカラーイメージスキャ
ナー11からのデジタルデータは代表色割付手段16に
取込まれ、第3図の変換テーブルを参照して各原画素が
どの領域に所属するか判別され、さらに原画素が所属す
る領域の代表色及びこの領域に隣接する2つの領域の代
表色の計3つの代表色と原画素とのユークリッド距離か
算出される。そして距離の算出結果に基づいて距離の最
も近い代表色が原画素に割当てられる。
When the above processing is completed, the resolution of the color image scanner 11 is then set to the original resolution and the original image is read. The digital data from the color image scanner 11 at this time is taken into the representative color allocation means 16, which determines which area each original pixel belongs to by referring to the conversion table shown in FIG. The Euclidean distance between the original pixel and a total of three representative colors, that is, the representative color of the region to which it belongs and the representative colors of two regions adjacent to this region, is calculated. Then, based on the distance calculation result, the closest representative color is assigned to the original pixel.

従って例えばある原画像に対して第5図に示すような1
次元ヒストグラムの分布が得られ、ある原画素Gが領域
Bに所属し、その領域Bの代表色が81領域Bと隣接す
る領域A、Cの代表色がA、Cで、かつ原画素Gが領域
Bにおいて図に示す位置にあったとすると、原画素Gか
領域Bに所属していても距離は領域Bの代表色Bよりも
領域Aの代表色Aに近いと判断され、原画素Gには領域
Aの代表色Aか割当てられることになる。
Therefore, for example, for a certain original image, 1 as shown in FIG.
A dimensional histogram distribution is obtained, and a certain original pixel G belongs to area B, and the representative color of area B is 81. The representative colors of areas A and C adjacent to area B are A and C, and the original pixel G belongs to area B. If the position shown in the figure is in area B, even if original pixel G belongs to area B, it is judged that the distance is closer to representative color A of area A than to representative color B of area B, and is assigned the representative color A of area A.

このように予め色空間全体を256領域に分割し、その
各領域の代表色を決めるとともに、領域番号「0」〜r
255Jに対して○〜32.767の1次元色番号をグ
ループ分けして割当て、かっ色コード番号「0」〜r2
55Jを割当てた変換テーブルと、各色コード番号「0
」〜r255Jに対して3次元色空間のR,G、Hの値
を割当てた変換テーブルを作成し、その後通常に読み取
った原画像の各原画素がどの領域に所属するかを変換テ
ーブルを参照して判別し、さらに原画素の属する領域の
代表色及びこの領域に隣接する2つの領域の代表色と原
画素とのユークリッド距離を算出し、最も距離の短い代
表色を原画素に割付けているので、代表色を割当てると
きの演算量が少なくなり、高速な限定色表示が可能とな
る。また原画素が所属する領域の代表色よりも隣接する
領域の代表色との距離が近いときにはその隣接する領域
の代表色を原画素に割当てることができ、原画素に対し
て常に適した代表色を割当てることかできる。
In this way, the entire color space is divided into 256 areas in advance, and the representative color of each area is determined, and area numbers "0" to r
One-dimensional color numbers from ○ to 32.767 are divided into groups and assigned to 255J, and brown code numbers "0" to r2 are assigned.
Conversion table to which 55J is assigned and each color code number "0"
”~Create a conversion table that assigns R, G, and H values in the three-dimensional color space to r255J, and then refer to the conversion table to determine which area each original pixel of the original image that is read normally belongs to. Then, the Euclidean distance between the representative color of the area to which the original pixel belongs and the representative colors of the two areas adjacent to this area and the original pixel is calculated, and the representative color with the shortest distance is assigned to the original pixel. Therefore, the amount of calculation required when assigning representative colors is reduced, and high-speed limited color display is possible. Furthermore, when the distance between the representative color of the adjacent area and the representative color of the area to which the original pixel belongs is closer than that of the area to which the original pixel belongs, the representative color of the adjacent area can be assigned to the original pixel, so that the representative color is always suitable for the original pixel. can be assigned.

なお、前記実施例では色空間を1次元に展開したが必ず
しもこれに限定されるものではないのは勿論である。
In addition, although the color space was expanded into one dimension in the above embodiment, it is needless to say that the color space is not necessarily limited to this.

[発明の効果] 以上詳述したように本発明によれば、代表色を割当てる
ときの演算量を少なくして高速な限定色表示を可能にし
、しかも原画素に対して常に適した代表色を割当てるこ
とができるカラー画像の限定色表現装置を提供できるも
のである。
[Effects of the Invention] As detailed above, according to the present invention, it is possible to reduce the amount of calculation when assigning a representative color, to enable high-speed limited color display, and to always select a representative color suitable for the original pixel. It is possible to provide a limited color expression device for color images that can be assigned.

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

第1図乃至第5図は本発明の一実施例を示すもので、第
1図はブロック図、第2図は第1図における代表色割付
手段の構成を示すブロック図、第3図及び第4図は変換
テーブルの構成を示す図、第5図は1次元のヒストグラ
ムを示すグラフ、第6図及び第7図は従来例を示すブロ
ック図、第8図は従来の代表色割当て処理を説明するた
めの1次元のヒストグラムを示すグラフである。 12・・・ヒストグラム作成手段、 13・・・256領域分割手段、 14・・代表色決定手段、 16・・・代表色割付手段。 出願人代理人 弁理士 鈴江武彦 第 図 第 図 第 図
1 to 5 show an embodiment of the present invention, in which FIG. 1 is a block diagram, FIG. 2 is a block diagram showing the configuration of the representative color allocation means in FIG. 1, and FIGS. Figure 4 shows the configuration of a conversion table, Figure 5 is a graph showing a one-dimensional histogram, Figures 6 and 7 are block diagrams showing conventional examples, and Figure 8 explains conventional representative color assignment processing. This is a graph showing a one-dimensional histogram for 12... Histogram creation means, 13... 256 area dividing means, 14... Representative color determining means, 16... Representative color allocation means. Applicant's agent Patent attorney Takehiko Suzue

Claims (1)

【特許請求の範囲】[Claims] デジタル化された自然画カラー画像の色空間における色
分布を作成する色分布作成手段と、この色分布作成手段
により作成された色分布に基づいて色空間を限定された
数の領域に分割する領域分割手段と、この領域分割手段
により分割された各領域の代表色を決定する代表色決定
手段と、カラー原画像の各原画素がどの領域に属するか
を判断し、各原画素毎に、原画素の属する領域の代表色
及びこの領域に隣接する2つの領域の代表色と原画素と
のユークリッド距離を算出し、最も距離の短い代表色を
原画素に割付けする代表色割付手段を設けたことを特徴
とするカラー画像の限定色表現装置。
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 determining means for determining a representative color of each area divided by the area dividing means; and a representative color determining means for determining a representative color of each area divided by the area dividing means; A representative color allocation means is provided which calculates the Euclidean distance between the representative color of the area to which the pixel belongs and the representative colors of two areas adjacent to this area and the original pixel, and allocates the representative color with the shortest distance to the original pixel. A limited color expression device for color images characterized by:
JP2276480A 1990-10-17 1990-10-17 Expressing device for limited color of color image Pending JPH04152386A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2276480A JPH04152386A (en) 1990-10-17 1990-10-17 Expressing device for limited color of color image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2276480A JPH04152386A (en) 1990-10-17 1990-10-17 Expressing device for limited color of color image

Publications (1)

Publication Number Publication Date
JPH04152386A true JPH04152386A (en) 1992-05-26

Family

ID=17570042

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2276480A Pending JPH04152386A (en) 1990-10-17 1990-10-17 Expressing device for limited color of color image

Country Status (1)

Country Link
JP (1) JPH04152386A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995022869A1 (en) * 1994-02-18 1995-08-24 Q-Team Dr. Knabe Gesellschaft Für Informations- Und Qualifikationssysteme Mbh Method and device for generating and playing back compressed colour video scenes
JP2009260602A (en) * 2008-04-16 2009-11-05 Nikon Systems Inc Table data generator, and table data generation method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995022869A1 (en) * 1994-02-18 1995-08-24 Q-Team Dr. Knabe Gesellschaft Für Informations- Und Qualifikationssysteme Mbh Method and device for generating and playing back compressed colour video scenes
JP2009260602A (en) * 2008-04-16 2009-11-05 Nikon Systems Inc Table data generator, and table data generation method

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
EP1441503B1 (en) Color space conversion using interpolation
JP2582999B2 (en) Color palette generation method, apparatus, data processing system, and lookup table input generation method
US4766556A (en) Three-dimensional solid object manipulating apparatus and method therefor
KR910009102B1 (en) Image synthesizing apparatus
US4953104A (en) Page buffer for an electronic gray-scale color printer
US5491769A (en) Method and apparatus for variable minification of an image
JPH07203234A (en) Color picture converter
JPH04190466A (en) Limited color representation device for color image
US7023585B1 (en) Multi-dimensional edge interpolation
JPH04152386A (en) Expressing device for limited color of color image
JP3482106B2 (en) Luminance image generation method and apparatus, and recording medium recording this method
Marcu et al. Three-dimensional histogram visualization in different color spaces and applications
JP3593431B2 (en) Color / texture information converter
JPH10191090A (en) Apparatus and method for manufacturing color conversion table, and recording medium
JPH05284346A (en) Color conversion device
JP3215156B2 (en) Color image processing method
JP3674965B2 (en) Color image compression method
JP2775748B2 (en) Method and apparatus for expressing limited color of color image
JPH0437963A (en) Image processor
JPH08331373A (en) Color image reduction device and color image reduction method
JPH1070669A (en) Color conversion device
JPH0721346A (en) Limited color display procession method in image processing
JPH03135677A (en) Method and device for reduction of image