JPH0248944B2 - - Google Patents

Info

Publication number
JPH0248944B2
JPH0248944B2 JP60134852A JP13485285A JPH0248944B2 JP H0248944 B2 JPH0248944 B2 JP H0248944B2 JP 60134852 A JP60134852 A JP 60134852A JP 13485285 A JP13485285 A JP 13485285A JP H0248944 B2 JPH0248944 B2 JP H0248944B2
Authority
JP
Japan
Prior art keywords
color
colors
image
section
pixel number
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
JP60134852A
Other languages
Japanese (ja)
Other versions
JPS61292780A (en
Inventor
Tooru Kanamori
Yuriko Ishigaki
Koji Kusumoto
Yasuhiro Abe
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60134852A priority Critical patent/JPS61292780A/en
Publication of JPS61292780A publication Critical patent/JPS61292780A/en
Publication of JPH0248944B2 publication Critical patent/JPH0248944B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 〔概要〕 色数の多い入力画像から色数の少ない出力画像
を得る階調変換装置であり、出力画像中の色を、
入力画像中の画素数の多い色から順次決定してい
く際、決定された色の近傍に色ごとに適当な類似
色範囲を設定し、後で決定される色が、先に決定
されている色と類似しないようにする。
[Detailed Description of the Invention] [Summary] A gradation conversion device that obtains an output image with a small number of colors from an input image with a large number of colors.
When determining colors in order from the largest number of pixels in the input image, an appropriate similar color range is set for each color in the vicinity of the determined color, and the colors that will be determined later are determined first. Avoid similar colors.

〔産業上の利用分野〕[Industrial application field]

本発明は、カラー画像の処理システムにおける
色階調変換装置に関するものであり、特に自然色
表現のような精細な階調のカラー画像を、ビデオ
テツクスやパソコン等に出力するための粗い階調
のカラー画像に変換するための色の階調変換装置
に関する。
The present invention relates to a color gradation conversion device in a color image processing system, and in particular to a color gradation conversion device for a color image processing system. The present invention relates to a color gradation conversion device for converting into a color image.

〔従来の技術〕[Conventional technology]

現在のビデオテツクスで表示できるカラー画像
の色数は16色程度であり、またパソコンでは8色
程度に制限されているものが少なくない。
The number of color images that can be displayed with current video techs is about 16 colors, and many personal computers are limited to about 8 colors.

このため、一般にカラー用TVカメラ等を用い
て入力されたカラー画像をこれらの機器で表示さ
せるには、入力されたカラー画像を16色あるいは
8色の色数に減少させなければならない。
For this reason, generally, in order to display a color image input using a color TV camera or the like on these devices, the input color image must be reduced to 16 or 8 colors.

第4図は、このような階調変換の1方法につい
て概念的に示したものである。図aは入力画像の
色相空間、図bは出力画像の色相空間を表してい
る。なお図示の例は、R,G,Bの三次元色表示
方式の場合について示してある。
FIG. 4 conceptually shows one method of such tone conversion. Figure a shows the hue space of the input image, and Figure b shows the hue space of the output image. Note that the illustrated example is a case of a three-dimensional color display method of R, G, and B.

図aの色相空間において、A1,A2,……Al,
B1,B2,……Bn,C1,C2,……Co,……,は、
それぞれ入力画像中に使用されている個々の色を
表しており、A,B,Cの各グループ内の複数の
色は、図bにおいて、α,β,γ,……で示され
る単一の色に変換される。
In the hue space of figure a, A 1 , A 2 , ...Al,
B 1 , B 2 , ...B n , C 1 , C 2 , ...C o , ..., are
Each represents an individual color used in the input image, and multiple colors in each group of A, B, C are represented by a single color, denoted by α, β, γ, ... in Figure b. converted to color.

すなわち、グループAに含まれるA1,A2,…
…,Alで表されるl個の色は、αで表される1
個の色に縮退され、同様にグループBのB1,B2
……,Bnからなるm個の色は、1個の色βに縮
退され、グループCのC1,C2,……,Coからな
るn個の色は、1個の色γに縮退される。
That is, A 1 , A 2 ,... included in group A
…, the l colors denoted by Al are 1 denoted by α
Similarly, B 1 , B 2 , B 2 of group B
m colors consisting of ..., B n are reduced to one color β, and n colors consisting of C 1 , C 2 , ..., C o of group C are reduced to one color γ. Degenerates.

従来このような変換を行う場合、入力された色
の下位ビツトを切り捨てる固定的な変換方法と、
入力画像中の各色について画素数を調べ、画素数
の多い方から所定数だけ順次選択し、それぞれの
色を出力画像の色として採用し、入力画像中の色
をこれらの色のうち最も類似した色に変換する動
的な変換方法とが用いられていた。
Conventionally, when performing such conversion, there is a fixed conversion method that cuts off the lower bits of the input color, and
Check the number of pixels for each color in the input image, select a predetermined number of pixels sequentially from the one with the largest number of pixels, adopt each color as the color of the output image, and select the color in the input image that is the most similar among these colors. A dynamic conversion method for converting to color was used.

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

従来のカラー画像の色の階調数を減少させる変
換では、下位ビツトを切り捨てる方法をとると、
入力画像と出力画像の間で色の対応関係が悪くな
り、また入力画像中で画素数の多い色から採用す
る方法をとると、たとえば空と海のように、画素
中で大きな面積を占め(すなわち画素数が多く)
かつ色の濃淡が僅かに違うだけのようなもので
は、似たような色が多く選択され、その分その他
の色の数が少なくなるため、全体として入力画像
とは異なる印象を与える出力画像となる傾向があ
つた。
In conventional conversion to reduce the number of color gradations in a color image, if the lower bits are truncated,
The color correspondence between the input image and the output image becomes poor, and if you adopt a method that selects colors from the input image starting with the largest number of pixels, colors that occupy a large area among the pixels (such as the sky and the sea) ( In other words, the number of pixels is large)
In addition, if the color shading is only slightly different, many similar colors will be selected, and the number of other colors will be reduced accordingly, resulting in an output image that gives an impression different from the input image as a whole. There was a tendency to

同様に、明度の低い色は視覚上ほとんど区別が
つかないことが多いが、このような色が多く選択
されると、視覚上重要な色がそれだけ選択されな
くなり、変化の乏しい画像となる場合があつた。
Similarly, colors with low brightness are often visually almost indistinguishable, but if many such colors are selected, visually important colors may not be selected as much, resulting in an image with little variation. It was hot.

また色の類似度を判定するためには、色相空間
内で2つの色ベクトルの差を計算しなければなら
ず、かなりの処理量となるという問題があつた。
Furthermore, in order to determine the degree of similarity between colors, it is necessary to calculate the difference between two color vectors in the hue space, which poses a problem in that it requires a considerable amount of processing.

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

本発明は、色の階調数を減じながら入力画像に
近い色調の出力画像が高速に得られる簡易な手段
を提供するものである。
The present invention provides a simple means for quickly obtaining an output image with a tone close to that of an input image while reducing the number of color gradations.

そのため本発明では、出力画像中で使用する色
の種類を決定するとき、入力画像中での色別画素
数が多い色の順に出力する色を選択するが、その
際次に選択する色は、既に選択されている色の類
似しない色の中から選択し、複数の近い色が選択
されることがないようにしている。
Therefore, in the present invention, when determining the type of color to be used in the output image, the colors to be output are selected in the order of the number of pixels for each color in the input image. The selection is made from among colors that are not similar to the already selected colors to prevent multiple similar colors from being selected.

第1図は、本発明による装置の原理的構成を示
したものである。
FIG. 1 shows the basic configuration of an apparatus according to the present invention.

図において、1は入力画像データ記憶部、2は
色別画素数計数部、3は色別画素数データ記憶
部、4は色選択部、5は類似色禁止部、6は出力
色データ記憶部、7は色変換部、8は出力画像デ
ータ記憶部を示す。
In the figure, 1 is an input image data storage section, 2 is a color-based pixel number counting section, 3 is a color-based pixel number data storage section, 4 is a color selection section, 5 is a similar color prohibition section, and 6 is an output color data storage section. , 7 is a color conversion section, and 8 is an output image data storage section.

入力画像データ記憶部1には、高色階調数の入
力画像データが記憶される。
The input image data storage section 1 stores input image data with a high number of color gradations.

色別画素数計数部2は、入力画像データ記憶部
1に記憶されている入力画像について、色別に画
素数を計数し、色別画素数データ記憶部3に記憶
する。
The color-specific pixel number counting section 2 counts the number of pixels for each color of the input image stored in the input image data storage section 1, and stores it in the color-based pixel number data storage section 3.

色選択部4は、色別画素数データ記憶部3に記
憶されている色別画素数を大きい方から順次調
べ、その色が選択可能であれば出力色データ記憶
部6に記憶する。なお出力色数は、最大n個とす
る。
The color selection section 4 sequentially checks the number of pixels for each color stored in the pixel number data storage section 3 for each color, starting from the largest one, and stores it in the output color data storage section 6 if the color is selectable. Note that the number of output colors is set to n at most.

類似色禁止部5は、色選択部4が順次選択した
色の近傍に、色ごとに予め定められている類似色
禁止範囲を設定し、以後その範囲から色が選択さ
れないようにする。類似色禁止範囲は色別画素数
データ記憶部3に通知され、設定される。
The similar color prohibition section 5 sets a similar color prohibition range predetermined for each color in the vicinity of the colors sequentially selected by the color selection section 4, and prevents colors from being selected from that range thereafter. The similar color prohibited range is notified to the color-by-color pixel number data storage section 3 and is set.

したがつて、色選択部4は、次に選択すべき色
別画素数の色が、類似色禁止部5によつて設定さ
れた類似色に包含される場合、その色を選択せず
に次の順位の色別画素数の色を選択する。
Therefore, if the color of the number of pixels for each color to be selected next is included in the similar colors set by the similar color prohibition section 5, the color selection section 4 selects the next color without selecting that color. Select the color according to the number of pixels of each color.

出力色データ記憶部6は、色選択部4により選
択された所定の出力色数(最大n個)の色を記憶
する。
The output color data storage section 6 stores a predetermined number of output colors (up to n) selected by the color selection section 4.

色変換部7は、出力色データ記憶部6に記憶さ
れている出力色に基づいて、入力画像データ記憶
部1に記憶されている入力画像の色を変換する。
The color conversion unit 7 converts the color of the input image stored in the input image data storage unit 1 based on the output color stored in the output color data storage unit 6.

変換方法は、入力画像中の個々の色ごとに各出
力色との間の距離を計算し、最短距離の出力色を
選択して入力画像の色に置き換えるものである。
ここで、色間の距離(類似度)は、色を構成する
要素ごとの差に基づいて判定する方法がとられ
る。
The conversion method calculates the distance between each color in the input image and each output color, selects the output color with the shortest distance, and replaces it with the color of the input image.
Here, a method is used to determine the distance (similarity) between colors based on the differences between the elements that make up the colors.

出力画像データ記憶部8は、このようにして変
換された結果の出力画像を記憶する。
The output image data storage unit 8 stores the output image resulting from the conversion in this manner.

〔作用〕[Effect]

第2図は、第1図における色別画素数データ記
憶部3に記憶されている色別画素数データの一例
を示したものであり、入力画像の色出現頻度を一
次元色スペクトル上で示したものである。すなわ
ち横軸は色の階調(色相)、縦軸は、色別画素数
を表している。また,,は、その中の上位
3つの色別画素数を示し、H1,H2,H3は対応す
る色を示す。
FIG. 2 shows an example of the pixel number data for each color stored in the pixel number data storage unit 3 for each color in FIG. 1, and shows the appearance frequency of colors in the input image on a one-dimensional color spectrum. It is something that That is, the horizontal axis represents the color gradation (hue), and the vertical axis represents the number of pixels for each color. Also, , indicates the number of pixels for each of the top three colors, and H 1 , H 2 , and H 3 indicate the corresponding colors.

色選択部4は、まず最大色別画素数の色H1
を選択し、出力色データ記憶部6に格納する。こ
のとき類似色禁止部5は、選択された出力色H1
の周囲に、斜線領域で示される類似色禁止範囲を
設定する。
The color selection unit 4 first selects the color H 1 having the maximum number of pixels for each color.
is selected and stored in the output color data storage section 6. At this time, the similar color prohibition unit 5 selects the selected output color H 1
A similar color prohibition range, indicated by a diagonal line, is set around the .

このため色選択部4は、次に大きい色別画素数
の色H2を選択することができず、3番目に大
きい色別画素数の色H3を選択し、出力色デー
タ記憶部6に格納する。
For this reason, the color selection unit 4 cannot select the color H 2 with the next largest number of pixels per color, selects the color H 3 with the third largest number of pixels per color, and stores it in the output color data storage unit 6. Store.

このようにして、一定数の出力色H1,H3,…
…が決定されると、色変換部7は、入力画像デー
タ記憶部1の入力画像に含まれる多数の色をそれ
ぞれ、一定数の出力色H1,H3,……のいずれか
最も近いものに変換する。たとえば入力画像中の
色H1およびH2の画素は、同じ色H1に変換され
る。
In this way, a fixed number of output colors H 1 , H 3 ,...
When ... is determined, the color conversion unit 7 converts each of the many colors included in the input image in the input image data storage unit 1 into a fixed number of output colors H 1 , H 3 , etc. Convert to For example, pixels of colors H 1 and H 2 in the input image are converted to the same color H 1 .

〔実施例〕〔Example〕

第3図は、本発明の1実施例装置の構成図であ
る。
FIG. 3 is a configuration diagram of an apparatus according to an embodiment of the present invention.

図において、31は画像入力装置、32は色階
調変換装置、33は入力バツフア、34は前処理
部、35は入力画像データメモリ、36は色別画
素数計数部、37は色別画素数データメモリ、3
8は色選択部、39は出力色データメモリ、40
は禁止範囲決定部、41は色別禁止範囲テーブ
ル、42は画素数データ書き替え部、43は色変
換部、44は出力画像データメモリ、45は画像
出力部を表している。
In the figure, 31 is an image input device, 32 is a color gradation conversion device, 33 is an input buffer, 34 is a preprocessing section, 35 is an input image data memory, 36 is a color-based pixel number counting section, and 37 is a color-based pixel number data memory, 3
8 is a color selection section, 39 is an output color data memory, 40
41 is a prohibited range determining section, 41 is a color-specific prohibited range table, 42 is a pixel number data rewriting section, 43 is a color converting section, 44 is an output image data memory, and 45 is an image output section.

画像入力装置31は、カラーTVカメラあるい
はカラースキヤナであり、カラー原稿その他の任
意イメージを、たとえば色要素のR,G,Bそれ
ぞれを8bitで表したカラー画像データに変換して
出力する。
The image input device 31 is a color TV camera or a color scanner, and converts a color document or other arbitrary image into color image data in which each of the color elements R, G, and B is expressed in 8 bits, and outputs the converted image data.

色階調変換装置32は、本発明により構成され
た装置であり、画像入力装置31から出力された
24bitの精細階調のカラー画像データを、たとえ
ば8色の粗い階調のカラー画像データに変換して
出力する。
The color gradation conversion device 32 is a device configured according to the present invention, and is a device configured according to the present invention.
24-bit fine gradation color image data is converted into, for example, eight colors of coarse gradation color image data and output.

色階調変換装置32において、入力されたカラ
ー画像データは、入力バツフア33に一旦格納さ
れる。
In the color gradation conversion device 32, the input color image data is temporarily stored in an input buffer 33.

前処理部34は、階調変換処理量を減らすた
め、入力データのR,G,B各8bit中下位4bitを
それぞれ切り捨て、合計12bit(4096色)のカラー
画像データに圧縮変換して、入力画像データメモ
リ35に格納する。
In order to reduce the amount of gradation conversion processing, the preprocessing unit 34 cuts off the middle and lower 4 bits of each 8 bits of R, G, and B of the input data, compresses and converts them into color image data of a total of 12 bits (4096 colors), and converts the input image into the input image. The data is stored in the data memory 35.

色別画素数計数部36は、入力画像データメモ
リ35のカラー画像データを画素ごとに読み出
し、各カラー階調(4096色)ごとの画素数を計数
し、色別画素数データメモリ37に格納する。
The color-by-color pixel number counting section 36 reads out the color image data from the input image data memory 35 pixel by pixel, counts the number of pixels for each color gradation (4096 colors), and stores it in the color-by-color pixel number data memory 37. .

色選択部38は、色別画素数データメモリ37
に格納されている色別画素数のうち最大のものを
検出し、その色を出力色データメモリ39に格納
する。
The color selection unit 38 has a pixel count data memory 37 for each color.
The maximum number of pixels for each color stored in is detected, and the detected color is stored in the output color data memory 39.

次に禁止範囲決定部40は、色選択部38が検
出した最大色別画素数の色について以後選択を禁
止すべき類似色の範囲を、色別禁止範囲テーブル
41から求め、画素数データ書き替え部42に通
知する。
Next, the prohibited range determining unit 40 determines from the color prohibited range table 41 a range of similar colors that should be prohibited from being selected from now on for the color with the maximum number of pixels for each color detected by the color selecting unit 38, and rewrites the pixel number data. 42.

画素数データ書き替え部42は、禁止範囲決定
部40から通知された禁止範囲に含まれる色の色
別画素数データを、色別画素数データメモリ37
から削除する(具体的にはその画素数値を0とす
ればよい)。
The pixel number data rewriting unit 42 stores the color-specific pixel number data of the colors included in the prohibited range notified from the prohibited range determining unit 40 in the color-based pixel number data memory 37.
(Specifically, the pixel value may be set to 0).

なお、色別禁止範囲テーブル41には、各4bit
で表される色要素R,G,Bのそれぞれの値(0
〜F)ごとに禁止範囲が登録されている。たとえ
ばRGB=000では、R,G,Bの各色要素が±3
の範囲にある色を類似色として禁止されることを
示し、同様にRGB=444では各色要素が±2の範
囲にある色を禁止されることを示している。この
例では、RGBの値が小さい方で禁止範囲を大き
くとることにより、明度の低い色になるほど、近
い色が選択されにくいようにしている。しかし、
禁止範囲は、個々の色ごとに任意に指定すること
ができる。
In addition, the color-based prohibited range table 41 contains 4 bits each.
The respective values of color elements R, G, and B (0
-F) are registered as prohibited ranges. For example, when RGB=000, each color element of R, G, and B is ±3
Similarly, RGB=444 indicates that colors within the range of ±2 are prohibited for each color element. In this example, by setting the prohibited range larger for the smaller RGB value, the lower the brightness of the color, the harder it is to select a similar color. but,
The prohibited range can be arbitrarily specified for each individual color.

この後、色選択部38は、再び色別画素数デー
タメモリ37に格納されている色別画素数、すな
わち禁止範囲内の画素数データを削除した残りの
データについて、最大色別画素数を検出し、その
色を出力色データメモリ39に格納する。そして
禁止範囲決定部40も、再びその色について、同
様に色別禁止範囲テーブル41を参照して、その
禁止範囲を求め、その画素数データを色別画素数
データメモリ37から削除させる。
After that, the color selection unit 38 again detects the maximum number of pixels for each color for the number of pixels for each color stored in the pixel number data for each color data memory 37, that is, the remaining data after deleting the pixel number data within the prohibited range. Then, the color is stored in the output color data memory 39. Then, the prohibited range determination unit 40 again similarly refers to the color-based prohibited range table 41 to determine the prohibited range for that color, and deletes the pixel number data from the color-based pixel number data memory 37.

このようにして、出力色データメモリ39に予
め定められた出力色数、この場合は8色の色が格
納されるまで、ループ処理が行われる。
In this way, loop processing is performed until a predetermined number of output colors, in this case eight colors, are stored in the output color data memory 39.

色選択部38が色別画素数データメモリ37か
ら出力色を1つ選択するごとに、その色およびそ
の近傍に設定される禁止範囲内の色別画素数デー
タがメモリから削除されるため、次に選択される
出力色は、既に選択されている出力色のいずれと
も決して類似しないものとなる。
Each time the color selection unit 38 selects one output color from the color-specific pixel count data memory 37, the color-specific pixel count data within the prohibited range set for that color and its vicinity are deleted from the memory. The output color selected will be in no way similar to any of the output colors already selected.

色変換部43は、入力画像データメモリ35に
格納されている入力画像データの各画素の色を出
力色データメモリ39に格納されている所定数の
出力色中最も近い色で置き換える変換を行う。な
お、色と色との間の類似度は、本来R,G,Bの
三次元空間における2つのベクトルの差として表
され、複雑な計算が必要となるが、本実施例で
は、R,G,Bそれぞれの差量を見ることにより
簡単に判定している。
The color conversion unit 43 performs conversion to replace the color of each pixel of the input image data stored in the input image data memory 35 with the closest color among the predetermined number of output colors stored in the output color data memory 39. Note that the degree of similarity between colors is originally expressed as the difference between two vectors in the three-dimensional space of R, G, and B, and requires complex calculations. , B. This is easily determined by looking at the difference amount between each of them.

色変換部43が変換した結果の画像データは、
出力画像データメモリ44に格納され、さらに必
要に応じて画像出力部45から、フロツピイデイ
スク等に出力される。
The image data as a result of conversion by the color conversion unit 43 is
The image data is stored in the output image data memory 44, and is further outputted from the image output section 45 to a floppy disk or the like as required.

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

本発明によれば、出力する画像で使用可能な色
数が制限されている場合、類似した色あるいは明
度の低い色を多数採用することなく、全体として
原画に近い色調の画像を得ることができ、また使
用可能な色を決定する際に、色の距離計算を行う
必要がなく、簡単迅速に処理することができる。
According to the present invention, when the number of colors that can be used in an output image is limited, it is possible to obtain an image with an overall tone close to the original image without using many similar colors or colors with low brightness. Furthermore, when determining usable colors, there is no need to calculate the distance between colors, making the process simple and quick.

さらに、色別禁止範囲テーブルの禁止範囲を特
定の色について狭くしたり、広くしたりすること
により、たとえば全体を赤みがかつた画像にした
り、青系統を1色だけに制限したりすることを、
簡単に実現することができる。
Furthermore, by narrowing or widening the prohibited range of a specific color in the color-based prohibited range table, you can, for example, make the entire image look reddish or limit the blue color to only one color. ,
This can be easily achieved.

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

第1図は本発明の原理的構成を示す図、第2図
は色別画素数データの例を示す図、第3図は本発
明の1実施例構成を示す図、第4図は階調変換の
概念を説明する図である。 第1図において、1:入力画像データ記憶部、
2:色別画素数計数部、3:色別画素数データ記
憶部、4:色選択部、5:類似色禁止部、6:出
力色データ記憶部、7:色変換部、8:出力画像
データ記憶部。
Fig. 1 is a diagram showing the principle configuration of the present invention, Fig. 2 is a diagram showing an example of pixel number data for each color, Fig. 3 is a diagram showing the configuration of one embodiment of the present invention, and Fig. 4 is a diagram showing gradation. FIG. 2 is a diagram illustrating the concept of conversion. In FIG. 1, 1: input image data storage unit;
2: Color-based pixel number counting section, 3: Color-based pixel number data storage section, 4: Color selection section, 5: Similar color prohibition section, 6: Output color data storage section, 7: Color conversion section, 8: Output image Data storage.

Claims (1)

【特許請求の範囲】 1 色数の多い画像を入力して、これを色数の少
ない画像に変換し出力する色階調変換装置におい
て、 デジタル化された入力画像に含まれる同一色の
画素数を数える色別画素数計数部2と、 色別画素数計数部2により計数された色別画素
数データを記憶する色別画素数データ記憶部3
と、 色別画素数データ記憶部3に記憶されている色
別画素数データのうち最大のものの色を選択する
色選択部4と、 色選択部4が選択した色の近傍に、色ごとに予
め指定された幅の類似色禁止範囲を設定し、色別
画素数データ記憶部3に記憶されている当該類似
色禁止範囲の色別画素数データを無効とする類似
色禁止部5とをそなえ、 所定の出力画像の色数に達するまで色選択部4
および類似色禁止部5を繰り返し動作させ、得ら
れた色に基づいて入力画像の色を変換することを
特徴とするカラー画像の色階調変換装置。 2 前記色選択部4により選択された色の明度が
低い場合、類似色禁止範囲を拡大することによつ
て視覚上区別のつきにくい明度の低い色が多数選
択されることを防止することを特徴とする特許請
求の範囲第1項に記載のカラー画像の色階調変換
装置。
[Claims] 1. In a color gradation conversion device that inputs an image with a large number of colors, converts it into an image with a small number of colors, and outputs the image, the number of pixels of the same color included in the digitized input image a color-based pixel number counting section 2 that counts the number of pixels; and a color-based pixel number data storage section 3 that stores the color-based pixel number data counted by the color-based pixel number counting section 2.
, a color selection section 4 that selects the largest color among the pixel number data for each color stored in the pixel number data for each color stored in the pixel number data for each color storage section 3; A similar color prohibition section 5 is provided for setting a similar color prohibition range of a prespecified width and invalidating the color-specific pixel count data of the similar color prohibition range stored in the color-specific pixel count data storage section 3. , until the number of colors of the predetermined output image is reached.
A color gradation conversion device for a color image, characterized in that the similar color prohibition unit 5 is operated repeatedly, and the color of an input image is converted based on the obtained color. 2. When the brightness of the color selected by the color selection unit 4 is low, the similar color prohibition range is expanded to prevent the selection of many colors with low brightness that are difficult to visually distinguish. A color gradation conversion device for a color image according to claim 1.
JP60134852A 1985-06-20 1985-06-20 Color gradation converter for color picture Granted JPS61292780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60134852A JPS61292780A (en) 1985-06-20 1985-06-20 Color gradation converter for color picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60134852A JPS61292780A (en) 1985-06-20 1985-06-20 Color gradation converter for color picture

Publications (2)

Publication Number Publication Date
JPS61292780A JPS61292780A (en) 1986-12-23
JPH0248944B2 true JPH0248944B2 (en) 1990-10-26

Family

ID=15137974

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60134852A Granted JPS61292780A (en) 1985-06-20 1985-06-20 Color gradation converter for color picture

Country Status (1)

Country Link
JP (1) JPS61292780A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3726413B2 (en) * 1996-09-11 2005-12-14 コニカミノルタビジネステクノロジーズ株式会社 Image processing apparatus and recording medium

Also Published As

Publication number Publication date
JPS61292780A (en) 1986-12-23

Similar Documents

Publication Publication Date Title
US5608824A (en) Image processing apparatus in which filters having different filtering characteristics can be switched among themselves
EP0369702B1 (en) Image processing apparatus and method
JPH01204589A (en) Collor correction method
JP3679139B2 (en) Color image converter
JP2578170B2 (en) Image display device
US5852444A (en) Application of video to graphics weighting factor to video image YUV to RGB color code conversion
JPH07182513A (en) System and method for real-time picture display pallet mapping
JP2000175208A (en) Interpolation processing unit and recoding medium recording interpolation processing program
JPH0248944B2 (en)
JPH0248945B2 (en)
JP3450472B2 (en) Color image processing method
JP2001045303A (en) Image thresholding method
JPH0814843B2 (en) Color conversion method and color conversion device
JPS6359272A (en) Picture processor
JPH0571099B2 (en)
JP3277818B2 (en) Multi-value image binarization device
JPH0916769A (en) Device and method for processing image
JP2001320593A (en) Image processing unit, and image forming device provided with it, and image processing method
JPS63108865A (en) Color image processor and its manufacture
JPS5842090A (en) Image display
JPS58207168A (en) Storage device of color picture information
JPH08331373A (en) Color image reduction device and color image reduction method
JP2727455B2 (en) Image data processing device
JPH0388575A (en) Image processing method
JPH03161868A (en) Image storage device