JPH09261502A - Color converter - Google Patents
Color converterInfo
- Publication number
- JPH09261502A JPH09261502A JP8091780A JP9178096A JPH09261502A JP H09261502 A JPH09261502 A JP H09261502A JP 8091780 A JP8091780 A JP 8091780A JP 9178096 A JP9178096 A JP 9178096A JP H09261502 A JPH09261502 A JP H09261502A
- Authority
- JP
- Japan
- Prior art keywords
- color
- space
- frequency
- representative
- colors
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 239000003086 colorant Substances 0.000 claims abstract description 64
- 238000006243 chemical reaction Methods 0.000 claims abstract description 18
- 238000010586 diagram Methods 0.000 description 10
- 238000000034 method Methods 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 4
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Color, Gradation (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明はカラー画像処理装置
に係り、特に、フルカラー画像を任意の有限色のカラー
画像に変換するカラー画像処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image processing apparatus, and more particularly to a color image processing apparatus for converting a full color image into a color image of an arbitrary finite color.
【0002】[0002]
【従来の技術】3原色信号で表されたフルカラー画像
を、色数および色種の限定された有限色の画像出力装
置、たとえば多色プリンタあるいは多色ディスプレイに
出力する場合には、フルカラー画像で使用されている色
を画像出力装置で再現できる固定代表色に量子化、すな
わち色変換することでフルカラー画像を予め有限色カラ
ー画像に変換する必要がある。従来の色変換では、初め
にフルカラー画像をRGBの3次元空間でヒストグラム
化すると共に、この3次元空間を十分に多くの空間ブロ
ックに分割する。次いで、各空間ブロック内で発生頻度
が最大の色を当該空間ブロックの代表色として決定し、
当該空間ブロック内の全ての画素を当該代表色に変換す
なわち色変換することで、色数を前記空間ブロック数に
まで減じることができる。2. Description of the Related Art When a full-color image represented by three primary color signals is output to a finite color image output device having a limited number of colors and color types, such as a multi-color printer or multi-color display, a full-color image is output. It is necessary to convert a full-color image into a finite-color image in advance by quantizing, i.e., color-converting the used color into a fixed representative color that can be reproduced by the image output device. In conventional color conversion, a full-color image is first converted into a histogram in a three-dimensional space of RGB, and this three-dimensional space is divided into a sufficient number of spatial blocks. Then, determine the color with the highest occurrence frequency in each spatial block as the representative color of the spatial block,
The number of colors can be reduced to the number of spatial blocks by converting all the pixels in the spatial block into the representative color, that is, by performing color conversion.
【0003】しかしながら、上記した従来の色変換方式
では、各空間ブロック間で画素の色頻度や発生頻度に大
きな差があっても各空間ブロックには代表色が均等に割
り当てられてしまう。このため、前記頻度の高い領域で
は、例えば赤色と朱色とは区別されずに同じ赤色に変換
されてしまうという問題があった。さらに、各空間ブロ
ックの境界付近の画素は、たとえ隣の空間ブロックの色
に近くても自身が所属する空間ブロックの代表色に変換
されてしまうために忠実な色表現が難しいという問題あ
がった。However, in the above-described conventional color conversion method, the representative color is evenly assigned to each spatial block even if there is a large difference in the color frequency and the occurrence frequency of pixels between the spatial blocks. For this reason, in the high-frequency area, there is a problem in that, for example, red and vermilion are converted into the same red without being distinguished. Further, the pixel near the boundary of each spatial block is converted into the representative color of the spatial block to which the pixel belongs, even if it is close to the color of the adjacent spatial block, which makes it difficult to faithfully represent the color.
【0004】このような問題点を解決するために、例え
ば特開平4−287570号公報では、注目ブロックと
これを囲む26個の周囲ブロック(3次元のため)のヒ
ストグラムに基づいて、注目ブロックが集中ブロック
(画素の発生頻度が高いブロック)か否かを判断する。
注目ブロックが集中ブロックと判断されると、今度は注
目ブロックが周囲ブロックと同色系の集中ブロックか否
かを判断し、同色系以外の集中ブロックと判断された場
合には、その注目ブロックに新たな代表色を割り当て、
同色系の集中ブロックと判断された場合には、その注目
ブロックに周囲ブロックと同一の代表色を割り当てるこ
とで色数の削減すなわち色変換を行うようにしている。In order to solve such a problem, for example, in Japanese Unexamined Patent Publication No. 4-287570, a target block is identified based on a histogram of the target block and 26 surrounding blocks (for three dimensions) surrounding the target block. It is determined whether or not the block is a concentrated block (block in which pixels are frequently generated).
When the block of interest is determined to be a concentrated block, it is then determined whether the block of interest is a concentrated block of the same color as the surrounding blocks. Assign a representative color,
If it is determined that the blocks are concentrated blocks of the same color, the same representative color as that of the surrounding blocks is assigned to the block of interest to reduce the number of colors, that is, perform color conversion.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、上記し
た従来技術では、同色系の集中ブロックが密集している
空間には一つの代表色しか割り当てられないことになる
ので、色が微妙に変化している領域でも各色が同一色に
表現されてしまうために原画に対する忠実度が低くなっ
てしまうという問題があった。さらに、画素の発生頻度
が低いブロックには代表色が割り当てられないので、発
生頻度の低い色は欠落してしまい、やはり原画に対する
忠実度が低くなってしまうという問題があった。However, in the above-mentioned conventional technique, only one representative color is assigned to the space in which the concentrated blocks of the same color are dense, so that the color changes subtly. There is a problem that the fidelity with respect to the original image is lowered because each color is expressed in the same color even in the existing area. Furthermore, since the representative color is not assigned to the block in which the frequency of occurrence of pixels is low, there is a problem that the color infrequently occurs is omitted and the fidelity to the original image is also low.
【0006】本発明の目的は、上記した従来技術の問題
点を解決し、画素の発生頻度や色頻度の高い領域には多
くの代表色を割り当てる一方で、前記頻度の低い領域に
も頻度に応じた数の代表色を割り当てることで、原画に
近い色表現を可能にした色変換装置を提供することにあ
る。An object of the present invention is to solve the above-mentioned problems of the prior art, and to allocate a large number of representative colors to regions where pixel occurrence frequency or color frequency is high, while assigning many representative colors to regions where the frequency is low. An object of the present invention is to provide a color conversion device capable of performing color expression close to an original image by allocating a corresponding number of representative colors.
【0007】[0007]
【課題を解決するための手段】上記した目的を達成する
ために、本発明では、以下のような手段を講じた点に特
徴がある。 (1) カラー画像を構成する各画素データを色空間の座標
系に変換する色空間変換手段と、前記色空間を複数の空
間ブロックに分割する色空間分割手段と、空間ブロック
ごとに画素データの色頻度を計数する色頻度計数手段
と、前記色頻度に応じた割合で各空間ブロックに使用色
数を割り当てる使用色数割当手段と、各空間ブロックご
とに前記割り当てられた使用色数分の代表色を決定する
代表色決定手段と、各空間ブロック内の画素データを前
記各代表色に変換する色変換手段とを具備した。 (2) カラー画像を構成する各画素データを色空間の座標
系に変換する色空間変換手段と、前記色空間を複数の空
間ブロックに分割する色空間分割手段と、空間ブロック
ごとに画素データの発生頻度を計数する発生頻度計数手
段と、前記発生頻度に応じた割合で各空間ブロックに使
用色数を割り当てる使用色数割当手段と、各空間ブロッ
クごとに前記割り当てられた使用色数分の代表色を決定
する代表色決定手段と、各空間ブロック内の画素データ
を前記各代表色に変換する色変換手段とを具備した。Means for Solving the Problems In order to achieve the above object, the present invention is characterized in that the following means are taken. (1) A color space conversion unit that converts each pixel data forming a color image into a coordinate system of a color space, a color space division unit that divides the color space into a plurality of space blocks, and pixel data of each space block. Color frequency counting means for counting the color frequency, used color number assigning means for assigning the used color number to each spatial block at a ratio according to the color frequency, and representative for the assigned used color number for each spatial block A representative color determining means for determining a color and a color converting means for converting the pixel data in each spatial block into each of the representative colors are provided. (2) Color space conversion means for converting each pixel data forming a color image into a coordinate system of a color space, color space division means for dividing the color space into a plurality of space blocks, and pixel data for each space block. Occurrence frequency counting means for counting the occurrence frequency, use color number assigning means for assigning the use color number to each space block at a ratio according to the occurrence frequency, and representative for the use color number assigned for each space block A representative color determining means for determining a color and a color converting means for converting the pixel data in each spatial block into each of the representative colors are provided.
【0008】上記した各構成によれば、画像データの色
頻度(又は発生頻度)が高い領域には多くの代表色が割
り当てられ、色頻度(発生頻度)が低い領域にも色頻度
(発生頻度)に応じた割合で代表色が割り当てられる。
このため、色頻度(発生頻度)が高い領域では微妙な色
表現が可能になる一方、色頻度(発生頻度)が低い領域
でも色の欠落が防止されて原画に忠実な色表現が可能に
なる。According to each of the above-mentioned configurations, a large number of representative colors are assigned to an area having a high color frequency (or occurrence frequency) of image data, and a color frequency (occurrence frequency) is assigned to an area having a low color frequency (occurrence frequency). ) Is assigned a representative color in a ratio according to.
For this reason, delicate color expression can be performed in a region with high color frequency (occurrence frequency), while color loss can be prevented even in a region with low color frequency (occurrence frequency) and color representation faithful to the original image can be achieved. .
【0009】[0009]
【発明の実施の形態】以下、図面を参照して本発明を詳
細に説明する。図1は本発明の一実施形態である多色プ
リンタの機能ブロック図である。画像読取手段31は、
カラー原稿1を画素単位で読み取って各画素を電気信号
の画像データに変換する。色空間変換手段32は、カラ
ー画像を構成する各画素データを色空間の座標系に変換
する。色空間分割手段33は、前記色空間を複数の空間
ブロックに分割する。色頻度計数手段34は、空間ブロ
ックごとに画素データの色頻度を計数する。使用色数割
当手段35は、前記色頻度に応じた割合で各空間ブロッ
クに使用色数を割り当てる。代表色決定手段36は、各
空間ブロックごとに前記割り当てられた使用色数分の代
表色を決定する。色変換手段37は、各空間ブロック内
の画素データを前記各代表色に変換する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings. FIG. 1 is a functional block diagram of a multicolor printer which is an embodiment of the present invention. The image reading means 31
The color original 1 is read in pixel units and each pixel is converted into image data of electric signals. The color space conversion means 32 converts each pixel data forming a color image into a color space coordinate system. The color space dividing means 33 divides the color space into a plurality of space blocks. The color frequency counting means 34 counts the color frequency of pixel data for each spatial block. The used color number assigning unit 35 assigns the used color number to each spatial block at a ratio according to the color frequency. The representative color determination means 36 determines the representative colors for the allocated number of used colors for each spatial block. The color conversion means 37 converts the pixel data in each spatial block into each of the representative colors.
【0010】次いで、図2のフローチャートを参照して
本発明の一実施形態の動作を詳細に説明する。ステップ
S101では、画像読取手段31によってカラー画像1
が画素単位で読み取られる。ステップS102では、色
空間変換手段32によって色空間変換が実行され、カラ
ー画像を構成する各画素データが色空間の座標系に変換
される。ステップS103では、色空間分割手段33に
よって色空間分割が実行され、前記色空間が多数の空間
ブロックに分割される。本実施形態では、色空間が初め
に16個の空間ブロックに分割されるものとして説明す
る。Next, the operation of the embodiment of the present invention will be described in detail with reference to the flowchart of FIG. In step S101, the color image 1 is read by the image reading unit 31.
Are read in pixel units. In step S102, color space conversion is performed by the color space conversion means 32, and each pixel data forming the color image is converted into the coordinate system of the color space. In step S103, color space division is performed by the color space division means 33 to divide the color space into a large number of spatial blocks. In the present embodiment, it is assumed that the color space is first divided into 16 spatial blocks.
【0011】ステップS104〜S106は前記色頻度
計数手段34によって実行される処理であり、ステップ
S104では、前記色空間に関して色数に関するヒスト
グラムが作成され、ステップS105では、前記ヒスト
グラムに基づいて、各空間ブロックでの色数すなわち各
ブロック内で色の異なる画素の数がカウントされる。ス
テップS106では、前記カウント結果および全色数に
基づいて、各空間ブロックごとの色頻度を表す色頻度表
が作成される。Steps S104 to S106 are processing executed by the color frequency counting means 34. In step S104, a histogram relating to the number of colors is created in the color space, and in step S105, each space is calculated based on the histogram. The number of colors in a block, that is, the number of pixels having different colors in each block is counted. In step S106, a color frequency table showing the color frequency of each spatial block is created based on the counting result and the total number of colors.
【0012】図3は色頻度表の一例を示した図であり、
空間ブロック1には全色数の30%の色が出現し、色空
間ブロック2には全色数の15%の色が出現することを
示している。また、色空間ブロック16には色が出現し
ない、すなわち画素が存在しないことを示している。FIG. 3 is a diagram showing an example of the color frequency table,
It is shown that 30% of the total number of colors appears in the space block 1 and 15% of the total number of colors appears in the color space block 2. It also indicates that no color appears in the color space block 16, that is, no pixel exists.
【0013】ステップS107では、使用色数割当手段
35によって、各空間ブロックに割り当てる色数が前記
図3の色頻度表に基づいて暫定的に決定される。以下、
割り当て色数の決定方法を図4を参照して説明する。In step S107, the used color number assigning means 35 provisionally determines the number of colors assigned to each spatial block based on the color frequency table of FIG. Less than,
A method of determining the number of assigned colors will be described with reference to FIG.
【0014】図4は、各空間ブロックごとの割当色数の
演算方法および演算結果を表した図であり、割り当て色
数は色頻度(%)にプリント可能色数(ここでは16
色)を乗じて求められる。たとえば、空間ブロック1の
色頻度は30%であるから、これにプリント可能色数の
16を乗じて得られた値“4”(演算結果の小数点以下
は切り捨て)が空間ブロック1に割り当てられる色数と
なる。同様に、空間ブロック2には2色、空間ブロック
3には1色が暫定的に割り当てられる。なお、空間ブロ
ック6〜15のように、小数点以下を切り捨てると割り
当て色数が“0”になる場合には1色が割り当てられ、
空間ブロック16のように色頻度が0%の場合は割り当
て色数も“0”となる。FIG. 4 is a diagram showing a calculation method and calculation result of the number of assigned colors for each spatial block. The number of assigned colors is the number of printable colors (here, 16) in the color frequency (%).
It is calculated by multiplying (color). For example, since the color frequency of the spatial block 1 is 30%, the value "4" obtained by multiplying this by the number of printable colors (16) (fractions after the decimal point are truncated) is assigned to the spatial block 1. Becomes a number. Similarly, two colors are provisionally assigned to the space block 2 and one color is provisionally assigned to the space block 3. As in the case of the space blocks 6 to 15, if the number of assigned colors is “0” when the number after the decimal point is rounded down, one color is assigned,
When the color frequency is 0% as in the spatial block 16, the assigned color number is also "0".
【0015】ところで、上記した割り当て方法では割り
当て色数の合計が必ずしもプリント可能色数と一致しな
い。本実施形態でも、プリント可能色数が16色である
のに対して割り当て色数の合計は19色となっている。
そこで、続くステップS108以降では、割り当て色数
の合計とプリント可能色数との差分だけ割り当て色数を
減じる処理が行われる。By the way, in the above-described allocation method, the total number of assigned colors does not always match the number of printable colors. Also in this embodiment, the total number of colors that can be assigned is 19 while the number of colors that can be printed is 16.
Therefore, in subsequent step S108 and subsequent steps, a process of reducing the number of assigned colors by the difference between the total number of assigned colors and the number of printable colors is performed.
【0016】ステップS108〜S111は、前記代表
色決定手段36によって実行される処理であり、ステッ
プS108では、前記ステップS104で作成された色
空間のヒストグラムに基づいて、各空間ブロックでの最
大頻度の色がそれぞれ各空間ブロックの代表色として暫
定的に決定される。このとき、空間ブロック1、2のよ
うに複数の色が割り当てられている空間ブロックでは、
前記ヒストグラムの上位の色から順に当該割り当て色数
分の代表色が決定される。Steps S108 to S111 are the processes executed by the representative color determining means 36. In step S108, the maximum frequency of each spatial block is calculated based on the color space histogram created in step S104. Each color is provisionally determined as a representative color of each spatial block. At this time, in the spatial blocks to which a plurality of colors are assigned like the spatial blocks 1 and 2,
The representative colors for the assigned number of colors are determined in order from the upper color of the histogram.
【0017】このようにして、本来の割り当て色数(1
6色)よりも多い(19色)代表色が暫定的に決定され
ると、ステップS109では、色空間上での各代表色間
の距離が全て求められ、図5に示したような色空間相関
図が作成される。色空間相関図では、符号7と符号8と
が交差する欄には、符号7で表される代表色(例えば、
色空間ブロック3の代表色)と符号8で表される代表色
(例えば、色空間ブロック4の代表色)との色空間上で
の距離が記録される。In this way, the originally assigned number of colors (1
When more than six colors (19 colors) of representative colors are provisionally determined, in step S109, all the distances between the respective representative colors on the color space are obtained, and the color space as shown in FIG. A correlation diagram is created. In the color space correlation diagram, in the column where reference numeral 7 and reference numeral 8 intersect, the representative color represented by reference numeral 7 (for example,
The distance in the color space between the representative color of the color space block 3) and the representative color represented by reference numeral 8 (for example, the representative color of the color space block 4) is recorded.
【0018】全ての代表色間の距離が求まると、ステッ
プS110では、その中で距離が短い代表色の組み合わ
せが前記差分(本実施形態では、3組)だけ選択され、
各組ごとに色頻度の低い側の空間ブロックの代表色を色
頻度の高い側の空間ブロックの代表色に統合することで
代表色がそれぞれ1色づつ、合計で3色減ぜられる。な
お、2つの代表色を1つの代表色に統合する方法は上記
に限定されず、例えば各代表色を両者の中間色に統合す
るようにしても良いし、あるいは、各代表色を両者の色
頻度に応じた比率の中間色に統合するようにしても良
い。When the distances between all the representative colors are obtained, in step S110, only the differences (three pairs in this embodiment) are selected from among the combinations of the representative colors having the shortest distance among them.
By integrating the representative color of the spatial block on the low color frequency side into the representative color of the spatial block on the high color frequency side for each set, each of the representative colors is reduced by a total of three colors. Note that the method of integrating the two representative colors into one representative color is not limited to the above, and each representative color may be integrated into an intermediate color between the two, or each representative color may have a color frequency of both. Alternatively, the intermediate colors may be integrated in a ratio corresponding to.
【0019】以上のようにして16色の代表色が決定さ
れ、これに伴なって各空間ブロックへの割り当て色数が
最終的に確定すると、ステップS111では、複数の色
が割り当てられている空間ブロックがさらに割り当て色
数分だけ分割され、各空間ブロックの代表色が確定す
る。ステップS112では、色変換手段37により、各
空間ブロック内に含まれる画素が、その空間ブロックの
代表色に変換される。As described above, the 16 representative colors are determined, and when the number of colors to be assigned to each space block is finally determined, the space to which a plurality of colors are assigned is determined in step S111. The block is further divided by the number of assigned colors, and the representative color of each spatial block is determined. In step S112, the color conversion unit 37 converts the pixels included in each spatial block into the representative color of the spatial block.
【0020】このように、本実施形態では画素の色頻度
に応じて色空間での代表色の分布を異ならせ、画像デー
タの色頻度が高い領域には多くの代表色を割り当てると
共に、色頻度が低い領域にも色頻度に応じた割合で代表
色を割り当てるので、色頻度が高い領域では、多数の代
表色が割り当てられるので微妙な色表現が可能になる一
方、色頻度が低い領域でも、色の欠落が防止されて原画
に忠実な色表現が可能になる。As described above, in the present embodiment, the distribution of the representative colors in the color space is changed according to the color frequency of the pixel, and a large number of representative colors are assigned to the area having high color frequency of the image data. Since a representative color is assigned to a region having a low color frequency at a rate according to the color frequency, a large number of representative colors are assigned to a region having a high color frequency, which enables delicate color expression. Color loss is prevented, and color expression faithful to the original picture is possible.
【0021】なお、上記した実施形態では各空間ブロッ
クへの代表色の割り当て数を画像データの色頻度に応じ
て決定するものとして説明したが、本発明はこれのみに
限定されず、画像データの発生頻度に応じて決定するよ
うにしても良い。In the above embodiments, the number of representative colors assigned to each spatial block is determined according to the color frequency of image data. However, the present invention is not limited to this and the number of image data It may be determined according to the frequency of occurrence.
【0022】[0022]
【発明の効果】本発明によれば、色数および色種の限定
された多色プリンタあるいは多色ディスプレイへフルカ
ラー画像を出力する際に以下のような効果が達成され
る。 (1) 請求項1の発明によれば、画像データの色頻度が高
い領域には多くの代表色が割り当てられると共に、色頻
度が低い領域にも色頻度に応じた割合で代表色が割り当
てられるので、色頻度が高い領域では微妙な色表現が可
能になる一方、色頻度が低い領域でも色の欠落が防止さ
れて原画に忠実な色表現が可能になる。 (2) 請求項2の発明によれば、画像データの発生頻度が
高い領域には多くの代表色が割り当てられると共に、発
生頻度が低い領域にも発生頻度に応じた割合で代表色が
割り当てられるので、発生頻度が高い領域では微妙な色
表現が可能になる一方、発生頻度が低い領域でも色の欠
落が防止されて原画に忠実な色表現が可能になる。According to the present invention, the following effects are achieved when outputting a full-color image to a multicolor printer or a multicolor display in which the number of colors and color types are limited. (1) According to the invention of claim 1, a large number of representative colors are assigned to the area having high color frequency of the image data, and the representative color is assigned to the area having low color frequency at a ratio according to the color frequency. Therefore, a delicate color expression can be performed in an area having a high color frequency, while a color loss can be prevented even in an area having a low color frequency, and a color expression faithful to the original image can be performed. (2) According to the invention of claim 2, a large number of representative colors are assigned to the area where the image data occurrence frequency is high, and the representative color is also assigned to the area where the occurrence frequency is low at a rate according to the occurrence frequency. Therefore, while the subtle color expression can be performed in the area where the occurrence frequency is high, the color loss can be prevented even in the area where the occurrence frequency is low, and the color expression faithful to the original image can be performed.
【図1】 本発明の一実施形態であるプリンタの機能ブ
ロック図である。FIG. 1 is a functional block diagram of a printer that is an embodiment of the present invention.
【図2】 図1の動作を表したフローチャートである。FIG. 2 is a flowchart showing the operation of FIG.
【図3】 色頻度表の一例を示した図である。FIG. 3 is a diagram showing an example of a color frequency table.
【図4】 割当色数の演算方法および演算結果を表した
図である。FIG. 4 is a diagram showing a calculation method and a calculation result of an assigned color number.
【図5】 色空間相関図の一例を示した図である。FIG. 5 is a diagram showing an example of a color space correlation diagram.
31…画像読取手段,32…色空間変換手段,33…色
空間分割手段,34…色頻度計数手段,35…使用色数
割当手段,36…代表色決定手段,37…色変換手段31 ... Image reading means, 32 ... Color space converting means, 33 ... Color space dividing means, 34 ... Color frequency counting means, 35 ... Used color number assigning means, 36 ... Representative color determining means, 37 ... Color converting means
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/46 H04N 1/46 Z ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 6 Identification code Agency reference number FI Technical display location H04N 1/46 H04N 1/46 Z
Claims (2)
空間の座標系に変換する色空間変換手段と、 前記色空間を複数の空間ブロックに分割する色空間分割
手段と、 空間ブロックごとに画素データの色頻度を計数する色頻
度計数手段と、 前記色頻度に応じた割合で各空間ブロックに使用色数を
割り当てる使用色数割当手段と、 各空間ブロックごとに前記割り当てられた使用色数分の
代表色を決定する代表色決定手段と、 各空間ブロック内の画素データを前記各代表色に変換す
る色変換手段とを具備したことを特徴とする色変換装
置。1. A color space conversion means for converting each pixel data forming a color image into a coordinate system of a color space, a color space division means for dividing the color space into a plurality of space blocks, and a pixel for each space block. Color frequency counting means for counting the color frequency of the data, used color number assigning means for assigning the used color number to each spatial block at a ratio according to the color frequency, and the used number of assigned colors for each spatial block And a color conversion unit that converts pixel data in each spatial block into each of the representative colors.
空間の座標系に変換する色空間変換手段と、 前記色空間を複数の空間ブロックに分割する色空間分割
手段と、 空間ブロックごとに画素データの発生頻度を計数する発
生頻度計数手段と、 前記発生頻度に応じた割合で各空間ブロックに使用色数
を割り当てる使用色数割当手段と、 各空間ブロックごとに前記割り当てられた使用色数分の
代表色を決定する代表色決定手段と、 各空間ブロック内の画素データを前記各代表色に変換す
る色変換手段とを具備したことを特徴とする色変換装
置。2. A color space conversion means for converting each pixel data forming a color image into a coordinate system of a color space, a color space division means for dividing the color space into a plurality of space blocks, and a pixel for each space block. Occurrence frequency counting means for counting the occurrence frequency of data, use color number assigning means for assigning the use color number to each spatial block at a ratio according to the occurrence frequency, and the use color number for each space block And a color conversion unit that converts pixel data in each spatial block into each of the representative colors.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8091780A JPH09261502A (en) | 1996-03-22 | 1996-03-22 | Color converter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8091780A JPH09261502A (en) | 1996-03-22 | 1996-03-22 | Color converter |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH09261502A true JPH09261502A (en) | 1997-10-03 |
Family
ID=14036111
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8091780A Pending JPH09261502A (en) | 1996-03-22 | 1996-03-22 | Color converter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH09261502A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017063353A (en) * | 2015-09-25 | 2017-03-30 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus, color conversion program, and color conversion method |
-
1996
- 1996-03-22 JP JP8091780A patent/JPH09261502A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017063353A (en) * | 2015-09-25 | 2017-03-30 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus, color conversion program, and color conversion method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1441503B1 (en) | Color space conversion using interpolation | |
| JP2959385B2 (en) | Color value data converter for color output data | |
| US7142717B2 (en) | Image processing apparatus and method | |
| EP1014699B1 (en) | Method of selecting colors for pixels within blocks for block truncation encoding | |
| EP0292284B1 (en) | Method and apparatus for processing display colour signal | |
| US4887151A (en) | Encoding apparatus for color image data with block-by-block individual quantizing or individual encoding of luminosity, structure, and color information | |
| JPH1117974A (en) | Image processor | |
| US7724393B2 (en) | Judging whether trapping process is required or not | |
| JP3679139B2 (en) | Color image converter | |
| EP1484742A2 (en) | Color signal processing for a multi-primary display | |
| US5552905A (en) | Image processing apparatus which selects a type of color processing for color image data based on a characteristic of the color image data | |
| US6671401B1 (en) | Removing color moire patterns from digital images having known chromaticities | |
| JPH1079865A (en) | Image processing apparatus and method, and color reproduction information generating apparatus and method | |
| JPH09261502A (en) | Color converter | |
| JP2000201279A (en) | Color converting method and conversion processor | |
| JPH1155540A (en) | Luminance image generation method and apparatus, and recording medium recording this method | |
| JP3060640B2 (en) | Color converter | |
| JP3162730B2 (en) | Image processing method | |
| JPH06274618A (en) | Area identification device | |
| JP3412699B2 (en) | Image forming device | |
| JP3382277B2 (en) | Image processing apparatus and method | |
| JPS63108865A (en) | Color image processor and its manufacture | |
| JPH08289164A (en) | Color image processing method and apparatus thereof | |
| JPH11355594A (en) | Color image forming system | |
| JPH05307599A (en) | Color image processing method |