JPH0481229B2 - - Google Patents

Info

Publication number
JPH0481229B2
JPH0481229B2 JP60231809A JP23180985A JPH0481229B2 JP H0481229 B2 JPH0481229 B2 JP H0481229B2 JP 60231809 A JP60231809 A JP 60231809A JP 23180985 A JP23180985 A JP 23180985A JP H0481229 B2 JPH0481229 B2 JP H0481229B2
Authority
JP
Japan
Prior art keywords
color
colors
image
regions
integration
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.)
Expired - Lifetime
Application number
JP60231809A
Other languages
Japanese (ja)
Other versions
JPS6292076A (en
Inventor
Satoru Tomita
Hiroyuki Kumazawa
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP60231809A priority Critical patent/JPS6292076A/en
Publication of JPS6292076A publication Critical patent/JPS6292076A/en
Publication of JPH0481229B2 publication Critical patent/JPH0481229B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、カラー画像を処理して色の種類数
が少数に限定されたカラー画像に変換するための
装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an apparatus for processing a color image and converting it into a color image in which the number of types of colors is limited to a small number.

〔従来の技術〕[Conventional technology]

カラー画像を効率よく表示する手段として、画
像メモリとカラーマツプを用いることはカラー画
像表示装置においてはよく知られた技術である。
その場合、カラーマツプは第8図に例示する様な
画像メモリ内の各画素の画素値に相当するインデ
ツクス番号と実際の表示色の対応変換表としての
機能をもつハードウエアであり、例えば画素値が
8ビツトでありインデツクスの数が256あるとき
には、R(赤),G(緑),B(青)の各色成分の組
合せによる多数の色の種類(R,G,B各4ビツ
トなら4096種)の中から任意の256色を選択して
カラー画像表示に利用することができる。しか
し、カラーTVカメラなどにより入力される実際
のカラー画像を上記の様なカラーマツプを用いて
表示するためには、入力画像からカラーマツプに
登録すべき色を選択抽出する必要がある。この抽
出の処理は一般的には「色の量子化」と呼ばれる
もので、可能な限り自動的にしかも原画像からの
劣化が小さくなる様に行なうことが望ましい。
The use of an image memory and a color map as a means for efficiently displaying color images is a well-known technology in color image display devices.
In that case, the color map is hardware that functions as a correspondence conversion table between the index number corresponding to the pixel value of each pixel in the image memory and the actual display color, as shown in FIG. When it is 8 bits and there are 256 indexes, there are many types of colors based on combinations of each color component of R (red), G (green), and B (blue) (4096 types if each R, G, and B are 4 bits). You can select any of the 256 colors and use them for color image display. However, in order to display an actual color image input from a color TV camera or the like using a color map such as the one described above, it is necessary to select and extract colors to be registered in the color map from the input image. This extraction process is generally called "color quantization," and it is desirable to perform it as automatically as possible and with minimal deterioration from the original image.

第4図と第5図は、例えば「カラーマツプ作成
に関する一考察」(昭和60年度電子通信学会総合
全国大会講演論文集1173)に記載された上記の様
な処理の具体的方法の概略を示すフローチヤート
である。
Figures 4 and 5 are flowcharts outlining a specific method for the above-mentioned processing described, for example, in ``A Consideration on Color Map Creation'' (Proceedings of the 1985 IEICE General Conference National Conference 1173). It's a chat.

第4図において、ステツプ31でカラーTVカメ
ラやスキヤナー等の画像入力装置或いは磁気デイ
スク等の画像記憶装置からR,G,Bの各成分が
Mビツトのカラー画像を入力し、ステツプ32で入
力したカラー画像の全画素の色を調べて色の生起
頻度分布、すなわち3次元(RGB)色空間上の
ヒストグラムを作成する。ステツプ33ではこのヒ
ストグラムにもとづいて3次元色空間を複数の領
域に分割し領域毎に代表色を選択する。このステ
ツプ33の具体的内容は例えば第6図に示すステツ
プ61乃至63の各ステツプの様なものである。ステ
ツプ61では3次元RGB空間の各軸をNr,Ng,
Nb等分することによりRGB空間をNr・Ng・Nb
個の直方体に分割し、各直方体内で生起頻度が最
大である色を候補色として抽出する。但し、直方
体内に生起する色が存在しない場合には、その直
方体内から候補色は抽出しない。ステツプ62は初
期統合であり、RGB空間内の各色を最も距離の
小さい前記候補色に対応づけることによりRGB
空間をN個の領域に分割し、各領域の色の荷重平
均値を代表色とする。すなわち、前記候補色の集
合をY={〓i}N−1 i=0、但し、〓iはR,G,
Bの成分で表現された3次元ベクトル〓i=(ri,
gi,bi),またRGB空間上の色を〓、〓も同様に
3次元ベクトル〓=(r,g,b)とすると、〓
は次式(1)を満たす候補色〓iと対応づけられ、領
域番号iの領域Siに属することになる。なお、こ
の対応関係は第9図に例示する様なカラー空間分
割マツプに登録され、色〓に対応して領域番号i
が記入される。
In FIG. 4, in step 31, a color image with M bits for each R, G, and B component is input from an image input device such as a color TV camera or scanner, or an image storage device such as a magnetic disk, and in step 32, the color image is input. The colors of all pixels in a color image are examined to create a frequency distribution of colors, that is, a histogram in a three-dimensional (RGB) color space. In step 33, the three-dimensional color space is divided into a plurality of regions based on this histogram, and a representative color is selected for each region. The specific contents of step 33 are, for example, steps 61 to 63 shown in FIG. In step 61, each axis of the three-dimensional RGB space is set to Nr, Ng,
By dividing the RGB space into Nb equal parts, Nr, Ng, Nb
The color with the highest frequency of occurrence within each rectangular parallelepiped is extracted as a candidate color. However, if there is no color that occurs within the rectangular parallelepiped, no candidate color is extracted from within the rectangular parallelepiped. Step 62 is the initial integration, in which each color in the RGB space is mapped to the candidate color with the smallest distance.
The space is divided into N regions, and the weighted average value of the colors in each region is taken as a representative color. That is, the set of candidate colors is Y={〓i}N-1 i=0, where 〓i is R, G,
Three-dimensional vector expressed by the components of B〓i=(ri,
gi, bi), and the colors in the RGB space are 〓 and 〓. Similarly, if we let the three-dimensional vector 〓 = (r, g, b), then 〓
is associated with the candidate color 〓i that satisfies the following formula (1), and belongs to the area Si with area number i. Note that this correspondence relationship is registered in a color space division map as illustrated in FIG.
is entered.

d(〓,〓i)d(〓,〓j); ∀j≠i(0jN−1) (1) ここで、d(〓,〓i)はベクトル〓と〓iと
の距離を表わしており、例えばユークリツド距離 d(〓,〓i) =√(−)2+(−)2+(−)2(
2) である。なお以下の説明において単に距離という
ときは、このユークリツド距離を意味するものと
する。
d(〓,〓i)d(〓,〓j); ∀j≠i(0jN-1) (1) Here, d(〓,〓i) represents the distance between vector 〓 and 〓i. , for example, the Euclidean distance d(〓,〓i) =√(-) 2 +(-) 2 +(-) 2 (
2). Note that in the following explanation, when we simply refer to distance, we mean this Euclidean distance.

このステツプ62では更に各領域に含まれる色の
荷重平均値 〓i= 〓 〓∈Sih(〓)・〓/hi (3) 但しhi= 〓 〓∈Sih(〓) を計算し、その領域の代表色とする。但し、 h(〓)は色〓をもつ画素の出現頻度、 〓 〓∈Si は領域Siに属する全ての色〓についての和を意味
する。各領域の色の頻度の総和hiと代表色〓i
は、第11図の様な領域テーブルにまとめられ、
後述の色統合に利用される。
In this step 62, the weighted average value of the colors included in each region is calculated, 〓i= 〓 〓∈Sih(〓)・〓/hi (3) where hi= 〓 〓∈Sih(〓) Color. However, h(〓) is the appearance frequency of a pixel with color 〓, and 〓 〓∈Si means the sum of all colors 〓 belonging to the region Si. Total color frequency hi for each area and representative color 〓i
are summarized in a region table as shown in Figure 11,
It is used for color integration described later.

ステツプ63では領域の隣接関係テーブルを作成
する。隣接関係テーブルは第10図に例示する様
なテーブルであり、必須ではないが後述の色統合
の質や処理速度を改善するための一手段である。
隣接関係の作成は例えば次の様にして行なうこと
ができる。ここでカラー空間分割マツプを形式的
にS(r,g,b)と表わす。つまり色(r,g,
b)が属する領域をS(r,g,b)とする。こ
のときRGB空間の各色(r,g,b)について S(r,g,b)=S(r+1,g,b) (4) S(r,g,b)=S(r,g+1,b) (5) S(r,g,b)=S(r,g,b+1) (6) が成立するか否かを調べる。もし式(4)が成立しな
い場合には、領域S(r,g,b)と領域S(r+
1,g,b)は隣接し、式(5)が成立しない場合に
は領域S(r,g,b)と領域S(r,g+1,
b)は隣接し、式(6)が成立しない場合には領域S
(r,g,b)と領域S(r,g,b+1)は隣接
する。上記の処理をRGB空間の全色について行
なうことにより隣接関係が作成される。第10図
aは隣接関係テーブルの一例であり、領域Siに隣
接する領域は、行iを横方向に見たときに論理値
1の立つている部分の列番号の領域として示し、
図では領域Siが領域S2と領域Sjと隣接しているこ
とを示している。右下りの対角線上の論理値は常
に0である。
In step 63, an area adjacency relationship table is created. The adjacency table is a table as illustrated in FIG. 10, and although it is not essential, it is a means for improving the quality and processing speed of color integration, which will be described later.
For example, the adjacency relationship can be created as follows. Here, the color space division map is formally expressed as S(r, g, b). In other words, color (r, g,
Let S(r, g, b) be the area to which b) belongs. At this time, for each color (r, g, b) in the RGB space, S (r, g, b) = S (r + 1, g, b) (4) S (r, g, b) = S (r, g + 1, b ) (5) S(r, g, b)=S(r, g, b+1) Check whether (6) holds. If equation (4) does not hold, the area S(r, g, b) and the area S(r+
1, g, b) are adjacent, and if equation (5) does not hold, the area S(r, g, b) and the area S(r, g+1,
b) is adjacent, and if equation (6) does not hold, the area S
(r, g, b) and region S(r, g, b+1) are adjacent to each other. Adjacency relationships are created by performing the above processing for all colors in the RGB space. FIG. 10a is an example of an adjacency relationship table, in which the area adjacent to area Si is shown as the area of the column number of the part where the logical value 1 stands when row i is viewed in the horizontal direction,
The figure shows that region Si is adjacent to region S2 and region Sj. The logical values on the diagonal line from the bottom right are always 0.

一方、第4図のステツプ34では以下で説明する
色空間上での領域の統合処理によつて色の数(す
なわち領域数、または代表色数)が減少した結
果、所定の目標数に達すればステツプ39へ進み、
まだ色の数が多い場合には更に領域統合処理を実
行する様にする。ステツプ41は色空間上の領域の
中で、その領域に属する色の生起頻度の和(以下
これを単に領域の頻度と略記する。)の最も小さ
い領域を検出する。ステツプ42では前記頻度が最
小の領域の代表色と最も距離の小さい代表色を有
する領域を検出する。(以下の説明において上記
の様な領域の代表色間の距離を単に領域間の距離
と略記することがある。)この際、隣接関係テー
ブルがあればそれを参照して、隣接領域の中で距
離が最小の領域を選ぶ。ステツプ37では上記の様
に検出された2つの領域の統合を行なう。すなわ
ち2つの領域をSiとSjとし、それぞれの領域の頻
度をhi,hj、または代表色を〓i,〓jとすると
統合によつてできる新領域SKの頻度hKと代表色
Kを hK=hi+hj (7) 〓K=(hi〓i+hj〓j)/(hi+hj) (8) とする。この結果は第11図の様な領域テーブル
に反映される。例えばSKの頻度と代表色をSi(i
<j)の項に記入すると共に、Sjをテーブルから
削除する。これにより領域テーブルはSi+Sj→Si
として更新される。
On the other hand, in step 34 of FIG. 4, the number of colors (i.e., the number of regions or the number of representative colors) is reduced by the area integration process on the color space, which will be explained below. Proceed to step 39.
If there are still many colors, area integration processing is further executed. Step 41 detects, among the regions on the color space, the region for which the sum of the frequencies of occurrence of colors belonging to that region (hereinafter simply referred to as region frequency) is the smallest. In step 42, an area having a representative color having the shortest distance from the representative color of the area having the minimum frequency is detected. (In the following explanation, the distance between the representative colors of the areas mentioned above may be simply abbreviated as the distance between areas.) At this time, if there is an adjacency relationship table, refer to it and Select the region with the smallest distance. In step 37, the two areas detected as described above are integrated. In other words, if the two regions are Si and Sj, and the frequencies of each region are hi, hj, or the representative colors are 〓i, 〓j, then the frequency h K and the representative color 〓 K of the new region S K created by integration are h K = hi + hj (7) 〓 K = (hi〓i + hj〓j) / (hi + hj) (8). This result is reflected in the area table as shown in FIG. For example, if the frequency and representative color of S K are Si(i
<j) and delete Sj from the table. As a result, the area table becomes Si+Sj→Si
will be updated as

ステツプ38では隣接関係テーブルを更新する。
第10図にその具体例を示す。同図aの状態から
領域Sjが領域Siに統合されたときの更新結果が同
図bである。すなわち行iと行jとの論理和をと
りその結果を行iに書き、列iと列jとの論理和
をとりその結果を列iに書くと共に、行j,列j
及び対角成分に論理値0を書く。
In step 38, the adjacency relationship table is updated.
A specific example is shown in FIG. The update result when the area Sj is integrated into the area Si from the state shown in the figure a is shown in the figure b. That is, take the logical sum of row i and row j and write the result in row i, take the logical sum of column i and column j and write the result in column i, and write the result in row j and column j.
and write a logical value of 0 to the diagonal components.

上記の、ステツプ41,42,37,38の処理を繰返
し、所定の色数になればステツプ39でカラー画像
を目的の少数種の色からなるカラー画像に変換す
る。その具体的手順は第7図に例示する様なもの
で、ステツプ71で目標数にまで減少した代表色を
領域テーブルから抽出してカラーマツプに登録す
ると共に、ステツプ72でRGB空間の全色とカラ
ーマツプのインデツクス番号との対応関係をカラ
ー空間分割マツプに登録する。最後にステツプ73
において、画像メモリ内の各画素の画素値をカラ
ー分割空間マツプを参照してカラーマツプのイン
デツクス番号に変換し、画像メモリに書き込む。
The above processes of steps 41, 42, 37, and 38 are repeated, and when a predetermined number of colors is reached, the color image is converted into a color image consisting of a small number of target colors in step 39. The specific procedure is as shown in FIG. 7. In step 71, the representative colors reduced to the target number are extracted from the area table and registered in the color map, and in step 72, all colors in the RGB space and the color map are extracted. The correspondence relationship with the index number is registered in the color space division map. Finally step 73
In the step, the pixel value of each pixel in the image memory is converted into a color map index number with reference to the color division space map, and is written into the image memory.

上記の様に第4図のフローチヤート等を用いて
説明したカラー画像変換の処理を実行する装置の
構成の典型的なものは、カラーTVカメラ等の画
像入力装置と、カラーマツプを備えたビツトマツ
プデイスプレイをもつマイクロコンピユータとか
らなるシステムである。
A typical configuration of a device that executes the color image conversion process described above using the flowchart in FIG. This system consists of a microcomputer with a display.

第5図は従来のカラー画像変換処理装置におけ
る処理方法の他の一例の概略を示すフローチヤー
トである。図中ステツプ31乃至34,37乃至39は第
4図の場合と同様であり、統合すべき2つの領域
を選ぶ方法のみが異なるものである。すなわち、
領域に分割されたRGB空間において、ステツプ
51で領域相互間の距離を計算し、ステツプ52で領
域間の距離が最小である領域対を検出して、ステ
ツプ37でその対をなす両領域を統合する。その
際、隣接関係テーブルがあれば領域間の距離を計
算するのは隣接関係にある領域についてのみ行な
えばよい。また、色数が目標数にまで達せず色統
合処理を繰返す場合にも、ステツプ51では直前の
領域統合によつて生じる新領域と隣接関係にある
領域との距離のみを改めて計算するのみでよく、
その他の隣接領域間の距離は領域統合によつて変
わつていないので計算量を大幅に削減することが
できる。
FIG. 5 is a flowchart outlining another example of a processing method in a conventional color image conversion processing device. Steps 31 to 34 and 37 to 39 in the figure are similar to those in FIG. 4, and the only difference is the method of selecting two areas to be integrated. That is,
In the RGB space divided into regions, step
In step 51, the distance between regions is calculated, in step 52, a region pair with the minimum distance between regions is detected, and in step 37, both regions forming the pair are integrated. At this time, if there is an adjacency relationship table, it is only necessary to calculate the distance between areas for areas that have an adjacency relationship. Furthermore, even if the color integration process is repeated because the number of colors does not reach the target number, in step 51, it is only necessary to recalculate only the distance between the new area created by the previous area integration and the adjacent area. ,
Since distances between other adjacent regions remain unchanged due to region integration, the amount of calculation can be significantly reduced.

第5図の処理を実行する装置の構成も、第4図
の場合と同様である。
The configuration of the device that executes the process in FIG. 5 is also the same as that in FIG. 4.

従来のカラー画像変換装置は上記の様な処理を
実行する様に構成され、カラー画像が入力される
と、自動的に色統合処理を行ない結果の代表色を
カラーマツプに登録すると共に原画像を変換して
表示する様になつている。
Conventional color image conversion devices are configured to perform the processing described above. When a color image is input, it automatically performs color integration processing, registers the resulting representative color in a color map, and converts the original image. It is now displayed as follows.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記の様な従来のカラー画像変換装置では、色
統合を行なうべき領域対を検出する方法が色統合
が画像に与える影響を十分に考慮していないた
め、画像の内容によつては不適当な色統合が行な
われてしまう問題点があつた。つまり、色統合を
次々に行なう際にその順番が不適当であり、色統
合の結果が原画像から著しく劣化し、原画像に含
まれる重要な情報内容が損われてしまう危険性が
大きかつた。
In conventional color image conversion devices such as those described above, the method of detecting region pairs for which color integration should be performed does not sufficiently take into account the effect that color integration has on the image, so it may be inappropriate depending on the content of the image. There was a problem that color integration was performed. In other words, when performing color integration one after another, the order was inappropriate, and there was a great risk that the result of color integration would be significantly degraded from the original image, and important information content contained in the original image would be lost. .

例えば、第4図で説明した方法では頻度の小さ
い領域が優先的に色統合されてゆくため、原カラ
ー画像内で面積的には大きな割合を占めないが情
報としては重要な線や記号などが消滅してしまう
危険性が大きい。また、第5図で説明した方法で
は、領域間の距離の小さい領域対が優先的に色統
合されていくため、原カラー画像内で大きな面積
を占めながらあまり大きな差のない色をもつ形状
が画像上で隣接して存在する様な場合(自然画で
はこの様な場合が多い)では、色統合によつても
との形状が失われてしまう危険性が大きい。
For example, in the method explained in Figure 4, areas with low frequency are preferentially color-integrated, so lines and symbols that do not occupy a large area in the original color image but are important in terms of information are There is a great danger that it will disappear. In addition, in the method explained in Fig. 5, since pairs of regions with a small distance between regions are preferentially color-integrated, shapes that occupy a large area in the original color image but have colors that do not have a large difference are In cases where they are adjacent to each other on the image (this is often the case in natural images), there is a high risk that the original shape will be lost due to color integration.

この様に、従来のカラー画像変換装置では色統
合を行なうべき領域対を検出する際にその優先度
を数量的に比較するために用いられる量(以下こ
れを測度という)が、領域の頻度のみであると
か、領域間の距離のみであるとかの単一的な量で
あるために、色統合の影響を精度よく表わし得
ず、その結果不適当な色統合が優先的に行なわれ
てしまうことが起きるものである。
In this way, in conventional color image conversion devices, the quantity (hereinafter referred to as a measure) used to quantitatively compare the priorities when detecting a pair of areas to be color integrated is only the frequency of the areas. Because it is a single quantity such as , or only the distance between regions, it is not possible to accurately represent the influence of color integration, and as a result, inappropriate color integration is performed preferentially. is what happens.

この発明は、かかる問題点を解決するためにな
されたもので、測度を色統合の影響をよく表わす
量として不適当な色統合が行なわれる危険性を小
さくし、良好なカラー画像変換処理を実行するカ
ラー画像変換装置を得ることを目的とする。
The present invention was made to solve this problem, and uses a measure as a quantity that well represents the influence of color integration to reduce the risk of inappropriate color integration and to perform good color image conversion processing. The object of the present invention is to obtain a color image converting device.

〔問題点を解決するための手段〕[Means for solving problems]

画像メモリに記憶された原カラー画像中の色の
生起頻度のヒストグラムを作成するヒストグラム
作成手段と、上記ヒストグラムにもとづき色空間
を複数の領域に分割し、領域毎に代表色を選択す
る色空間分割手段と、分割された各領域毎或いは
各領域の代表色相互間で定義される測度の小さい
順に領域をその数が所定数に達するまで次々と統
合すると共に、領域数が所定数に達した段階で原
カラー画像を限定された数の代表色のみから成る
カラー画像に変換する色統合手段とを備えたカラ
ー画像変換装置において、上記色統合手段は、そ
の測度として次式 hi・hj・dij/hi+hj を用いることを特徴とするカラー画像変換装置 ただし、hi,hjは統合対象の2領域内の色の頻
度の和、dijは統合対象の2領域の代表色間の距
離である。
a histogram creation means for creating a histogram of the frequency of occurrence of colors in the original color image stored in the image memory; and a color space division for dividing the color space into a plurality of regions based on the histogram and selecting a representative color for each region. and integrating regions one after another in descending order of the measure defined between each divided region or between the representative colors of each region until the number reaches a predetermined number, and a step when the number of regions reaches a predetermined number. In a color image conversion device, the color integration means converts an original color image into a color image consisting of only a limited number of representative colors. A color image conversion device characterized by using hi+hj, where hi and hj are the sum of frequencies of colors in two areas to be integrated, and dij is the distance between representative colors of the two areas to be integrated.

〔作用〕[Effect]

この発明においては、色統合を行なうべき領域
対を検出するための測度として、領域の頻度と領
域間の距離の両方をとり入れた複合的量が用いら
れる。従つて、測度が色統合の影響を十分に表わ
しているので、不適当な領域統合は優先度が低く
なり、原画像からの劣化の小さいカラー画像への
変換を実行することができる。
In this invention, a composite quantity that incorporates both the frequency of regions and the distance between regions is used as a measure for detecting region pairs for which color integration should be performed. Therefore, since the measure sufficiently represents the influence of color integration, inappropriate region integration is given low priority, and conversion from the original image to a color image with less degradation can be performed.

〔実施例〕〔Example〕

第1図は、この発明の一実施例であるカラー画
像変換装置の全体構成図である。また第2図は、
この発明にかかるカラー画像変換装置のシステム
構成の一例を示すシステム構成図であり、第3図
は、この発明にかかるカラー画像変換装置におけ
る処理の概略を示すフローチヤートである。以下
これらの図を用いてこの発明の実施例を説明す
る。なお、図において同一番号は同一または相当
部分を表わす。
FIG. 1 is an overall configuration diagram of a color image conversion device which is an embodiment of the present invention. Also, Figure 2 shows
FIG. 3 is a system configuration diagram showing an example of the system configuration of a color image conversion device according to the present invention, and FIG. 3 is a flowchart showing an outline of processing in the color image conversion device according to the present invention. Embodiments of the present invention will be described below using these figures. In the figures, the same numbers represent the same or equivalent parts.

画像入力手段1は具体的にはカラーTVカメラ
や磁気デイスク等の装置であり、カラー画像を入
力または転送することにより、R,G,Bの各成
分をもつ画像データとして画像メモリ2に書き込
む(ステツプ31)。画像メモリ2内に記憶された
画像データはカラーマツプ3により必要な対応変
換を受けて(無変換も含まれる)表示装置4によ
り表示される。
The image input means 1 is specifically a device such as a color TV camera or a magnetic disk, and by inputting or transferring a color image, it is written into the image memory 2 as image data having each of R, G, and B components ( Step 31). The image data stored in the image memory 2 is subjected to necessary correspondence conversion (including no conversion) by the color map 3 and displayed on the display device 4.

ヒストグラム作成手段5は画像メモリ2に記憶
された画像データの画素値を順次読出して、色の
生起頻度を色別に計数してヒストグラムを作成す
る(ステツプ32)。具体的には例えばCPU21が
画像メモリ2内の画素値を順次読出して、ワーキ
ングメモリ22内に確保された色別頻度計数用の
メモリ領域に、画素毎にその画素の色を計数して
いる対応番地の値を1つずつインクリメントして
いくことによりヒストグラムを作成する。
The histogram creation means 5 sequentially reads out the pixel values of the image data stored in the image memory 2, counts the frequency of occurrence of each color, and creates a histogram (step 32). Specifically, for example, the CPU 21 sequentially reads out the pixel values in the image memory 2 and counts the color of each pixel in a memory area reserved for frequency counting by color in the working memory 22. A histogram is created by incrementing the address values one by one.

色空間分割手段6は、従来例における説明の色
空間分割処理(ステツプ33)と同様に3次元
(RGB)色空間の各軸を分割することにより、色
空間を多数の直方体に分割し、各直方体内で生起
頻度が最大の色を候補色として抽出する。次に初
期統合処理によりRGB空間をN個の領域に分割
すると共に、この分割をワーキングメモリ22内
のカラー空間分割マツプに登録し、各領域の色の
荷重平均値をその領域の代表色とする。また、領
域テーブルをワーキングメモリ22内に作成して
後述の色統合の際に利用、更新する。更に、隣接
関係テーブル作成手段7により、前記カラー空間
分割マツプから隣接関係テーブルをワーキングメ
モリ22内に作成する。従来例と同様にこの隣接
関係テーブル作成手段7は必須の構成要素ではな
い。
The color space dividing means 6 divides the color space into a large number of rectangular parallelepipeds by dividing each axis of the three-dimensional (RGB) color space in the same way as the color space dividing process (step 33) described in the conventional example. The color with the highest frequency of occurrence within the rectangular parallelepiped is extracted as a candidate color. Next, the RGB space is divided into N regions by initial integration processing, and this division is registered in the color space division map in the working memory 22, and the weighted average value of the color of each region is used as the representative color of that region. . In addition, a region table is created in the working memory 22 and used and updated during color integration, which will be described later. Furthermore, the adjacency relationship table creation means 7 creates an adjacency relationship table in the working memory 22 from the color space division map. Similar to the conventional example, this adjacency table creation means 7 is not an essential component.

色統合手段8は領域或いは代表色相互間で定義
される後述の様な領域の頻度と領域間の距離の両
方を含む測度にもとづいて優先的に統合すべき領
域対を検出し、次々と領域統合を実行する。手順
としては第5図の従来例の場合とほぼ同様であ
る。すなわち、領域に分割されたRGB空間にお
いて、ステツプ35で領域相互間の測度を計算し、
ステツプ36で領域間の測度が最小である様な領域
対を検出して、ステツプ37でその対をなす両領域
を統合する。新領域の頻度と代表色は式(7)及び式
(8)によつて計算する。この際に、隣接関係テーブ
ルがあれば領域間の測度を計算するのは隣接関係
にある領域についてのみ行なえばよい。また、ス
テツプ34で色数が目標数にまで達せず色統合処理
を繰返す場合にも、ステツプ35では直前の領域統
合によつて生じる新領域と隣接関係にある領域と
の測度のみを改めて計算するのみでよく、その他
の隣接領域間の測度は直前の領域統合によつて変
わつていないので計算量を大幅に削減することが
できる。隣接関係テーブルがある場合は、色統合
手段は、領域統合後にステツプ38で隣接関係の更
新も行なう。この処理も従来例と同様である。
The color integration means 8 detects a pair of regions to be preferentially integrated based on a measure including both the frequency of regions and the distance between regions, as described below, defined between regions or representative colors, and sequentially integrates the regions. Run the integration. The procedure is almost the same as the conventional example shown in FIG. That is, in the RGB space divided into regions, the measure between regions is calculated in step 35,
In step 36, a pair of regions with the minimum inter-region measure is detected, and in step 37, the paired regions are integrated. The frequency and representative color of the new area are calculated by Equation (7) and Equation
Calculate according to (8). At this time, if there is an adjacency relationship table, it is only necessary to calculate the measure between areas for areas that have an adjacency relationship. Furthermore, even if the number of colors does not reach the target number in step 34 and the color integration process is repeated, in step 35 only the measure of the new area created by the previous area merging and the adjacent area is calculated anew. Since the measures between other adjacent regions have not changed due to the previous region integration, the amount of calculation can be significantly reduced. If there is an adjacency relationship table, the color integration means also updates the adjacency relationship in step 38 after area integration. This process is also similar to the conventional example.

色統合手段8は上記のステツプ34乃至38の処理
を繰返し、ステツプ34で所定の色数に達したと判
断されたときは、従来例と同様のステツプ39でカ
ラー画像変換を行なう。すなわち、カラーマツプ
作成手段9によつて、目標数にまで減少した代表
色を領域テーブルから抽出してカラーマツプ3に
登録すると共に、カラー空間分割マツプ作成手段
10によりRGB空間の全色とカラーマツプ3の
インデツクス番号との対応関係テーブルをワーキ
ングメモリ22内に作成する。最後に画像メモリ
2内の各画素値を読出して、上記カラー空間分割
マツプを参照して対応するカラーマツプ3のイン
デツクス番号に変換し、このインデツクス番号を
画像メモリ2に書き込む。これにより入力された
原カラー画像は目的とする少数に限定された色の
種類のみからなるカラー画像に変換され、表示装
置4に表示される。
The color integration means 8 repeats the processing in steps 34 to 38 described above, and when it is determined in step 34 that the predetermined number of colors has been reached, color image conversion is performed in step 39 similar to the conventional example. That is, the color map creation means 9 extracts the representative colors reduced to the target number from the area table and registers them in the color map 3, and the color space division map creation means 10 extracts all the colors in the RGB space and the index of the color map 3. A table of correspondence with the numbers is created in the working memory 22. Finally, each pixel value in the image memory 2 is read out, converted into the corresponding index number of the color map 3 with reference to the color space division map, and this index number is written into the image memory 2. As a result, the input original color image is converted into a color image consisting of only a limited number of target color types, and is displayed on the display device 4.

なお、上記の説明からわかる様にヒストグラム
作成手段5、色空間分割手段6、隣接関係テーブ
ル作成手段7、色統合手段8、カラーマツプ作成
手段9、カラー空間分割マツプ作成手段10など
はいずれも具体的装置としてはCPU21とその
プログラムや各種テーブルなどのデータを記憶す
るプログラム・ワーキングメモリ22とによつて
実現することが可能であり、また一部をハードウ
エア的な論理回路によつて実現することも可能で
ある。
As can be seen from the above description, the histogram creation means 5, color space division means 6, adjacency table creation means 7, color integration means 8, color map creation means 9, color space division map creation means 10, etc. are all specific. The device can be realized by a CPU 21 and a program working memory 22 that stores data such as its programs and various tables, and a part can also be realized by a hardware logic circuit. It is possible.

測度の具体的関数形については、次の様に考え
ることができる。2つの領域Si,Sjについて前述
と同様にそれぞれの頻度をhi,hj、また代表色を
〓i,〓jとし、領域の統合による新領域の頻度
と代表色を式(7)と式(8)により計算すると、統合に
より例えば領域Siに属する画素全体の色の変化量
の総和Δは Δ=hi(〓K−〓i) =hihj/hi+hj(〓j−〓i) (9) |Δ|=hihj/hi+hjdij (10) となる。ここでdijは代表色〓iと〓jの間の距
離である。また、領域Sjに属する画素全体の色の
変化量の総和も同様に Δ=hj(〓K−〓j) =hihj/hi+hj(〓i−〓j) (11) |Δ|=hihj/hi+hjdij (12) となる。つまり、両領域を統合する前と後との色
の変化量は|Δ|によつて見積ることができる。
従つて、2つの領域間で定義すべき測度として|
Δ|を用い、これが最小である様な領域対を検出
して優先的に統合すれば、各回の領域統合におい
て、最も色の変化量が小さく画像全体への影響度
も小さいと考えられる統合を選択していることに
なり、この意味で最適な順序で色領域統合を実行
することになる。実際、hihjdij/(hi+hj)を測
度とすれば、頻度が小さくても他の領域との距離
が大きい様な色の領域は直ちに統合されずに残る
傾向があつて、画像内での面積割合は小さいが他
の部分とは際立つて色が違う様な文字や記号が消
滅する危険性が従来方法に比べて小さくなる。ま
た、自然画像の様に画像全体として類似の色が多
く含まれる場合で代表色間の距離が小さい領域間
でも両領域の頻度が大きければ簡単には統合され
ずやはり形状が保存される傾向がある。
The specific functional form of the measure can be considered as follows. For the two regions Si and Sj, let the respective frequencies be hi and hj and the representative colors be 〓i and 〓j as described above, and the frequency and representative color of the new region by integrating the regions can be calculated using equations (7) and (8). ), for example, the total color change amount Δ of all pixels belonging to area Si is calculated as follows: Δ=hi( 〓K −〓i) =hihj/hi+hj(〓j−〓i) (9) |Δ| =hihj/hi+hjdij (10). Here dij is the distance between representative colors 〓i and 〓j. Similarly, the sum of the color changes of all pixels belonging to region Sj is Δ=hj (〓 K − 〓j) = hihj/hi+hj (〓i−〓j) (11) |Δ|=hihj/hi+hjdij ( 12) becomes. In other words, the amount of change in color between before and after integrating both regions can be estimated by |Δ|.
Therefore, as a measure to be defined between two areas |
If Δ| is used to detect and preferentially integrate a pair of regions with the smallest value, each time the region is integrated, the integration that has the smallest amount of color change and the least influence on the entire image can be performed. In this sense, color region integration is executed in the optimal order. In fact, if hihjdij/(hi+hj) is used as a measure, even if the frequency is small, color regions that are far away from other regions tend to remain without being immediately integrated, and the area ratio in the image is Compared to conventional methods, there is less risk of letters and symbols that are small but stand out from other parts and have a different color disappearing. In addition, when the image as a whole contains many similar colors, such as a natural image, even areas with a small distance between representative colors will not be easily integrated if the frequency of both areas is large, and the shape will still tend to be preserved. be.

なお、上記測度は従来の頻度や距離の単一量を
用いる方法と比べると若干計算量が大きくなる
が、極端に大きいわけではない。
Note that although the above-mentioned measure requires a slightly larger amount of calculation than the conventional method using a single quantity of frequency or distance, it is not extremely large.

また、上記測度と同様の効果をもち、かつ計算
量を軽減できる測度としてhjdijが考えられる。
これは、ある領域Sjの頻度とその領域から最小距
離にある領域Siとの間の距離dijとの積である。
Furthermore, hjdij can be considered as a measure that has the same effect as the above measure and can reduce the amount of calculation.
This is the product of the frequency of a region Sj and the distance dij between the region Si at the minimum distance from that region.

更に、上記2つの測度を領域間の頻度の比に応
じて使い分けることも考えられる。これは、 hi≫hjのとき hihj/hi+hjdijhjdij (13) であることから、例えばhi/hj>3であれば式(1
3)の右辺の測度を計算し、1hi/hj3であれ
ば式(13)のうち左辺の測度を計算して用いる。但
し、この場合2つの領域のうち頻度の大きい方を
Si、小さい方をSjとしている。式(13)の右辺を用
いることは、両領域の統合による色の変化量を式
(8)の変わりに〓K=〓i、すなわち小さい領域が
大きい領域に吸収されてしまう場合の色の変化量
として概算することに相当する。頻度の比がある
程合大きければこれで十分よい近似であるし、こ
れによつて計算量を軽減することができることに
なるのである。
Furthermore, it is also conceivable to use the above two measures depending on the frequency ratio between regions. Since this is hihj/hi+hjdijhjdij (13) when hi≫hj, for example, if hi/hj>3, the formula (1
Calculate the measure on the right side of 3), and if it is 1hi/hj3, calculate and use the measure on the left side of equation (13). However, in this case, the higher frequency of the two areas is
Si, the smaller one is Sj. Using the right side of equation (13) means that the amount of color change due to the integration of both regions can be calculated using the equation
Instead of (8), 〓 K = 〓i, that is, it corresponds to roughly estimating the amount of color change when a small area is absorbed into a large area. If the ratio of frequencies is large to a certain extent, this is a sufficiently good approximation, and thereby the amount of calculation can be reduced.

以上説明した様に、この発明の実施例によれ
ば、測度として領域の頻度と距離の両方を含む量
を用いているので、色統合の影響を精度よく表わ
し、不適当な色統合が行なわれる危険性が小さ
い。
As explained above, according to the embodiment of the present invention, since a quantity that includes both the frequency and distance of regions is used as a measure, the influence of color integration is expressed accurately, and inappropriate color integration is not performed. Low risk.

なお、上記実施例では3次元色空間をRGB空
間として説明したが、色空間にはLUV(均等色空
間)やLHS(明度,色相,彩度),YIQ(輝度と2
つの色度)などのRGB空間以外の3次元空間が
考えられ、これらについても各軸について適当な
重みづけによる距離関数を与えれば同様に色空間
の分割が考えられ、上記実施例と同様の測度を用
いた色統合方法を用いることができる。
In the above embodiment, the three-dimensional color space was explained as an RGB space, but the color space also includes LUV (uniform color space), LHS (lightness, hue, saturation), and YIQ (brightness and two-dimensional color space).
Three-dimensional spaces other than the RGB space can be considered, such as three chromaticities), and the color space can be divided in the same way by giving a distance function with appropriate weighting for each axis, and the same measure as in the above example can be considered. A color integration method using .

また、上記実施例では色空間分割はRGB空間
の各軸を等分することにより空間をNr・Ng・
Nb個の直方体に分割し、各直方体内で生起頻度
が最大である色を候補色として抽出し、RGB空
間内の各色を最も距離の小さい候補色に対応づけ
ることにより行なつて、分割された各領域で代表
色を計算すると説明したが、距離計算を行なわず
にあらかじめ定められたカラー空間分割マツプを
作成し、分割された各領域で生起頻度が最大の色
または(領域内に生起する色が存在しない場合に
は)領域の重心に相当する色を代表色とする様に
してもよい。例えば、カラー分割マツプを形式的
にS(r,g,b)と表わすと、S(r,g,b)
に対する領域番号として、 S(r,g,b) =i・Ng・Nb+j・Nb+k (14) なる値を与える。但し、ここでi,j,kは、
Lr,Lg及びLbをRGB空間の各軸をそれぞれNr,
Ng,Nb等分して得られるNr・Ng・Nb個の直
方体のR軸,G軸,B軸方向の辺の長さとして次
式を満たす値とする。
In addition, in the above embodiment, the color space division is performed by equally dividing each axis of the RGB space into Nr, Ng,
Divide into Nb rectangular parallelepipeds, extract the color with the highest frequency of occurrence within each rectangular parallelepiped as a candidate color, and match each color in the RGB space to the candidate color with the shortest distance. Although we have explained that the representative color is calculated in each area, we create a predetermined color space division map without calculating distance, and then select the color that has the highest frequency of occurrence in each divided area or (the color that occurs within the area). (If the color does not exist), the color corresponding to the center of gravity of the area may be used as the representative color. For example, if we formally represent the color division map as S(r, g, b), then S(r, g, b)
The following value is given as the area number for S(r, g, b) = i・Ng・Nb+j・Nb+k (14). However, here i, j, k are
Let Lr, Lg and Lb be each axis of RGB space as Nr,
The lengths of the sides in the R-axis, G-axis, and B-axis directions of Nr, Ng, and Nb rectangular parallelepipeds obtained by equally dividing Ng and Nb shall be values that satisfy the following formula.

i・Lrr<(i+1)・Lr j・Lgg<(j+1)・Lg k・Lbb<(k+1)・Lb (15) また、上記実施例では、色空間分割(ステツプ
33)のあと、ステツプ34で色数が目標数に達した
ことがわかるまで、画像メモリ2やカラーマツプ
3の内容は変更せずに色統合を繰返す様に説明し
たが、途中でそれまでの色統合の結果にもとづい
てカラーマツプ3への登録やカラー空間分割マツ
プの作成などを行なつてカラー画像変換(ステツ
プ39)を実行し、途中の結果を表示装置4に表示
する様にしてもよい。特にカラーマツプ3のイン
デツクス番号が原カラー画像で生起する可能性の
ある色の数まで大きくとれる場合には、画像メモ
リ2内の各画素値を変更しなくてもカラーマツプ
3の書替えのみで途中結果の表示が可能である。
更に、システム構成的には、実施例の説明では画
像入力装置1からカラー画像が画像メモリ2に直
接入力されるとしたが、それに限らず入出力や通
信用のインタフエースにより、CPU21を介し
て画像データが画像メモリ2に入力される構成で
あつてもよいことは当然である。
i・Lrr<(i+1)・Lr j・Lgg<(j+1)・Lg k・Lbb<(k+1)・Lb (15) In addition, in the above embodiment, color space division (step
After step 33), I explained that the color integration should be repeated without changing the contents of image memory 2 and color map 3 until it is determined that the number of colors has reached the target number in step 34. Based on the result of the integration, registration in the color map 3, creation of a color space division map, etc. may be performed to execute color image conversion (step 39), and the intermediate results may be displayed on the display device 4. In particular, if the index number of color map 3 can be as large as the number of colors that may occur in the original color image, intermediate results can be obtained by simply rewriting color map 3 without changing each pixel value in image memory 2. Display is possible.
Furthermore, in terms of the system configuration, in the description of the embodiment, it is assumed that a color image is directly input from the image input device 1 to the image memory 2, but the color image is not limited to this, but it can be inputted via the CPU 21 by an interface for input/output and communication. It goes without saying that the configuration may be such that the image data is input to the image memory 2.

〔発明の効果〕〔Effect of the invention〕

この発明は以上説明したとおり、色統合の際に
領域或いは代表色間で定義される測度としての領
域頻度と領域間の距離の両方を含む複合的量を用
いているので、測度が色統合による画像全体への
影響度をよく反映し、不適当な色統合が行なわれ
る危険性が小さくなつて、原カラー画像を少数に
限定された種類の色からなる良好なカラー画像に
変換できるという効果がある。
As explained above, this invention uses a composite quantity that includes both the area frequency as a measure defined between areas or representative colors and the distance between areas when performing color integration. The effect is that the influence on the entire image is reflected well, the risk of inappropriate color integration is reduced, and the original color image can be converted into a good color image consisting of a limited number of types of colors. be.

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

第1図はこの発明の一実施例であるカラー画像
変換装置の全体構成図、第2図はこの発明にかか
るカラー画像変換装置のシステム構成の一例を示
すシステム構成図、第3図はこの発明にかかるカ
ラー画像変換装置における処理の概略を示すフロ
ーチヤート、第4図及び第5図は従来のカラー画
像変換装置における処理の概略を示すフローチヤ
ート、第6図及び第7図はその一部分の具体的処
理手順を示すフローチヤート、第8図はカラーマ
ツプの一例、第9図はカラー空間分割マツプの一
例、第10図は隣接関係テーブルの一例、第11
図は領域テーブルの一例を示す図である。 図において、1は画像入力手段、2は画像メモ
リ、3はカラーマツプ、4は表示装置、5はヒス
トグラム作成手段、6は色空間分割手段、7は隣
接関係テーブル作成手段、8は色統合手段、9は
カラーマツプ作成手段、10はカラー空間分割マ
ツプ作成手段、21はCPU、22はプログラ
ム・ワーキングメモリである。なお、図中同一符
号は同一または相当部分を示す。
FIG. 1 is an overall configuration diagram of a color image conversion device according to an embodiment of the present invention, FIG. 2 is a system configuration diagram showing an example of the system configuration of a color image conversion device according to the invention, and FIG. 3 is a system configuration diagram showing an example of the system configuration of a color image conversion device according to the invention. FIG. 4 and FIG. 5 are flowcharts showing an outline of the processing in a conventional color image conversion device, and FIGS. 6 and 7 are partial details thereof. FIG. 8 is an example of a color map, FIG. 9 is an example of a color space division map, FIG. 10 is an example of an adjacency relationship table, and FIG.
The figure shows an example of a region table. In the figure, 1 is an image input means, 2 is an image memory, 3 is a color map, 4 is a display device, 5 is a histogram creation means, 6 is a color space division means, 7 is an adjacency table creation means, 8 is a color integration means, 9 is a color map creation means, 10 is a color space division map creation means, 21 is a CPU, and 22 is a program working memory. Note that the same reference numerals in the figures indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】 1 画像メモリに記憶された原カラー画像中の色
の生起頻度のヒストグラムを作成するヒストグラ
ム作成手段と、上記ヒストグラムにもとづき色空
間を複数の領域に分割し、領域毎に代表色を選択
する色空間分割手段と、分割された各領域毎或い
は各領域の代表色相互間で定義される測度の小さ
い順に領域をその数が所定数に達するまで次々と
統合すると共に、領域数が所定数に達した段階で
原カラー画像を限定された数の代表色のみから成
るカラー画像に変換する色統合手段とを備えたカ
ラー画像変換装置において、上記色統合手段は、
その測度として次式 hi・hj・dij/hi+hj を用いることを特徴とするカラー画像変換装置。 ただし、hi,hjは統合対象の2領域内の色の頻
度の和、dijは統合対象の2領域の代表色間の距
離である。
[Scope of Claims] 1. Histogram creation means for creating a histogram of the frequency of occurrence of colors in an original color image stored in an image memory, and dividing a color space into a plurality of regions based on the histogram, and creating a representative image for each region. A color space dividing means for selecting a color, and integrating regions one after another in descending order of the measure defined by each divided region or between the representative colors of each region until the number reaches a predetermined number, and A color image conversion device comprising a color integration means for converting an original color image into a color image consisting of only a limited number of representative colors when a predetermined number of representative colors has been reached, the color integration means comprising:
A color image conversion device characterized in that the following formula hi・hj・dij/hi+hj is used as the measure. Here, hi and hj are the sums of the frequencies of colors in the two regions to be integrated, and dij is the distance between the representative colors of the two regions to be integrated.
JP60231809A 1985-10-17 1985-10-17 Color picture converting device Granted JPS6292076A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60231809A JPS6292076A (en) 1985-10-17 1985-10-17 Color picture converting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60231809A JPS6292076A (en) 1985-10-17 1985-10-17 Color picture converting device

Publications (2)

Publication Number Publication Date
JPS6292076A JPS6292076A (en) 1987-04-27
JPH0481229B2 true JPH0481229B2 (en) 1992-12-22

Family

ID=16929356

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60231809A Granted JPS6292076A (en) 1985-10-17 1985-10-17 Color picture converting device

Country Status (1)

Country Link
JP (1) JPS6292076A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180063515A (en) * 2016-12-02 2018-06-12 두산로보틱스 주식회사 Teaching Device of a Robot and Teaching Method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5649552B2 (en) * 2011-10-31 2015-01-07 京セラドキュメントソリューションズ株式会社 Image processing apparatus and image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180063515A (en) * 2016-12-02 2018-06-12 두산로보틱스 주식회사 Teaching Device of a Robot and Teaching Method thereof

Also Published As

Publication number Publication date
JPS6292076A (en) 1987-04-27

Similar Documents

Publication Publication Date Title
US8774503B2 (en) Method for color feature extraction
NL1004906C2 (en) Color processing method and apparatus therefor, using two-dimensional color type separation.
CN108230331A (en) Image processing method and device, electronic equipment, computer storage media
KR20150114437A (en) Image processing apparatus and image processing method
US9947258B2 (en) Image processing method and image processing apparatus
JP2573434B2 (en) Specific color extraction method
US7146042B2 (en) Image processing apparatus and colorimetric system conversion method
CN111491149B (en) Real-time image matting method, device, equipment and storage medium based on high-definition video
JPH06225329A (en) Method and device for chromakey processing
CN109903265B (en) Method and system for setting detection threshold value of image change area and electronic device thereof
Reddy et al. Grey level to RGB using YCbCr color space Technique
US20050286099A1 (en) Image correcting apparatus and method, and image correction program
KR20040055060A (en) Color signal processing device and a method thereof
JPH0481229B2 (en)
Sundararajan Color image processing
JP2882754B2 (en) Soft chroma key processing method
JPH0467670B2 (en)
CN116703775A (en) False color suppression method and device, terminal equipment, storage medium
US9305517B2 (en) Apparatus and method for enhancing photorealism of computer graphic image
Patel et al. Image retrieval based automatic grayscale image colorization
JP2002208013A (en) Image region extraction device and image region extraction method
CN119359605B (en) Method, device, computer equipment, medium and product for enhancing color of image
US20140185935A1 (en) Product image processor, product image processing method, information recording medium, and program
US20060279811A1 (en) Method for adjusting colors of image
JPS6232569A (en) Color picture device