JP4164674B2 - Color reduction processing apparatus and color reduction processing method - Google Patents

Color reduction processing apparatus and color reduction processing method Download PDF

Info

Publication number
JP4164674B2
JP4164674B2 JP2003404481A JP2003404481A JP4164674B2 JP 4164674 B2 JP4164674 B2 JP 4164674B2 JP 2003404481 A JP2003404481 A JP 2003404481A JP 2003404481 A JP2003404481 A JP 2003404481A JP 4164674 B2 JP4164674 B2 JP 4164674B2
Authority
JP
Japan
Prior art keywords
color
ratio
hue
image data
reduction processing
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 - Fee Related
Application number
JP2003404481A
Other languages
Japanese (ja)
Other versions
JP2005167679A (en
Inventor
マニオン マイケル
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2003404481A priority Critical patent/JP4164674B2/en
Priority to US11/000,475 priority patent/US7474446B2/en
Priority to EP04028301A priority patent/EP1538825B1/en
Priority to DE602004013411T priority patent/DE602004013411T2/en
Publication of JP2005167679A publication Critical patent/JP2005167679A/en
Application granted granted Critical
Publication of JP4164674B2 publication Critical patent/JP4164674B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Color, Gradation (AREA)

Description

本発明は、フルカラー画像データまたは多数色のカラー画像データを、限られた少数の色からなる印刷画像データに変換する減色処理装置及び減色処理方法に関する。   The present invention relates to a color reduction processing apparatus and a color reduction processing method for converting full color image data or color image data of a large number of colors into print image data consisting of a limited number of colors.

フルカラー画像の画像データは、画素を構成する複数のピクセルのマトリクスにより構成され、各ピクセルは、通常、R(赤)、G(緑)、B(青)により表され、各RGBは0〜255の256段階(カラー深度)の表現が可能である。このようなフルカラー画像データを、限られた少数色の印刷画像データに減色する方法として、誤差拡散法、ディザ法、ハーフトーン等の各種方法が存在する。しかし、これらの方法をそのまま実施するだけでは、少ない色を用いて元のフルカラー画像を適切に表現することが困難な場合がある。例えば、POSシステムでは2色(非印刷色を含めて3色)のカラー印刷が可能な印刷装置を使用しており、フルカラー画像のイメージを適切に表現するのは困難となる場合が多い。そのため、フルカラー画像データをディザ法により8色にまで減色した後、8色の画像データを各ピクセルの輝度データを用いて3種の色の印刷画像データに変換する方法が提唱されている(特許文献1、2、3参照)。
特開2002−269550号公報 特開2002−288682号公報 特開2002−314833号公報
Image data of a full-color image is composed of a matrix of a plurality of pixels that constitute a pixel, and each pixel is usually represented by R (red), G (green), and B (blue), and each RGB is 0 to 255. Can be expressed in 256 stages (color depth). There are various methods such as an error diffusion method, a dither method, and a halftone as a method for reducing such full-color image data to print image data of a limited number of colors. However, it may be difficult to appropriately represent the original full-color image using a small number of colors only by performing these methods as they are. For example, a POS system uses a printing apparatus capable of color printing of two colors (three colors including non-printing colors), and it is often difficult to appropriately express a full-color image. For this reason, a method has been proposed in which the full-color image data is reduced to eight colors by the dither method, and then the eight-color image data is converted into print image data of three colors using the luminance data of each pixel (patent). References 1, 2, and 3).
JP 2002-269550 A JP 2002-288682 A JP 2002-314833 A

しかしこれらの従来技術には、多種多様な加工処理が可能であるという利点があるものの以下のような問題もある。すなわち、上記従来技術では、感性的に把握し難い3次元のRGBカラー空間により表現された画像データをそのままRGBの各要素を基準に減色するため、減色後の印刷画像が原画像のイメージからかけ離れたイメージとなりやすいという問題がある。   However, although these conventional techniques have the advantage that a wide variety of processings are possible, they also have the following problems. In other words, in the above prior art, the image data expressed in the three-dimensional RGB color space, which is difficult to grasp sensuously, is reduced as it is based on the RGB elements as they are, so that the print image after the color reduction is far from the original image. There is a problem that it is easy to become an image.

また、一旦8色に減色した後さらに3色(非印刷色を含む)に減色するという2段階の処理が必要であり、減色処理のための操作及び処理が複雑になるという問題もある。さらに、RGBのカラーモデルでは、R、G、Bの各色のカラー深度の重なりにより、最終的な色合いが定まるので、どの色をどのくらいの閾値で指定すればよいかを人の視覚的な感性により把握することが困難であった。そのため、閾値を指定した後に、プレビュー等のテスト表示により減色後の画像を確認し、自分の描くイメージに近づけるために閾値を少しずつ修正していく必要があり、減色処理作業に多くの時間を必要としていた。   In addition, a two-step process is required in which the color is once reduced to 8 and then further reduced to 3 (including non-printing colors), and there is a problem that the operation and processing for the color reduction process become complicated. Furthermore, in the RGB color model, the final color tone is determined by the overlap of the color depths of the R, G, and B colors, so it is possible to specify which color should be specified with what threshold by the human visual sensitivity. It was difficult to grasp. Therefore, after specifying the threshold value, it is necessary to check the image after color reduction by a test display such as a preview, and to gradually correct the threshold value to bring it closer to the image drawn by the user. I needed it.

本発明は、このような従来技術の問題に鑑みてなされたもので、人の感性に沿った色合いに基づく減色調整処理が可能な減色処理装置及び減色処理方法を提供することをその目的の一つとする。   SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems of the prior art, and it is an object of the present invention to provide a color reduction processing apparatus and a color reduction processing method capable of color reduction adjustment processing based on hue according to human sensitivity. I will.

また本発明は、人の感性に基づく簡単な操作により、限られた色に減色した印刷画像データを生成することが可能な減色処理装置及び減色処理方法を提供することをその目的の一つとする。   Another object of the present invention is to provide a color reduction processing apparatus and a color reduction processing method capable of generating print image data reduced to a limited color by a simple operation based on human sensitivity. .

さらに本発明は、第1色、第2色及び非印刷色の3種の色に減色した印刷画像データを生成するにあたり、多数色により構成された原画像の特徴に応じて、バラエティに富んだ減色処理を行なうことが可能な減色処理装置及び減色処理方法を提供することをその目的の一つとする。   Furthermore, the present invention is rich in variety according to the characteristics of the original image composed of a large number of colors when generating the print image data reduced to the first color, the second color, and the non-print color. An object is to provide a color reduction processing apparatus and a color reduction processing method capable of performing color reduction processing.

本発明は、カラー画像を第1色及び第2色に変換する際に、RGB系の画像データをHLS系の画像データに変換し、色相Hによる色指定を可能にした。HLSの色相Hは、赤、橙、黄、緑、青、藍、紫の順で一回転する360°の角度位置で表されており、人が感性により把握しやすいので、自分のイメージに合わせて減色処理するように設定することが容易となる。   According to the present invention, when a color image is converted into the first color and the second color, RGB image data is converted into HLS image data, and color designation by hue H is made possible. The hue H of HLS is represented by a 360 ° angular position that rotates in the order of red, orange, yellow, green, blue, indigo, and purple. Therefore, it is easy to set to perform the color reduction process.

本発明の第1の態様にかかる減色処理装置は、
RGBにより表現される複数色からなるRGBカラー画像データを取得する画像データ取得部と、
前記RGBカラー画像データをHLSにより表現されるHLS画像データに変換する変換処理部と
前記HLSカラー画像データを、所定のパラメータに基づいて、予め指定された第1色、第2色及び非印刷色の3種の色からなる印刷画像データに変換する減色処理部と、を備える減色処理装置であって、
さらに、前記第2色として変換する色相範囲Hsを前記パラメータとして指定可能なパラメータ設定部を備え、
前記減色処理部は、第1色として黒色が指定されている場合において、前記第2色の色相をH2として、変換対象ピクセルの色相Hpの前記指定された色相範囲Hsに対する割合Hrを次式により算出する色相割合算出部と、
Hr=1−||180−|Hp−H2||−180|/Hs、ただし、Hr≦0のときHr=0とする
次式により、前記変換対象ピクセルの明度Lpの前記第2色の明度L2に対する割合Lrを算出する明度割合算出部と、
Lr=(1−Lp)/(1−L2)、ただし、Lr≧1のときLr=Lp/L2とする、Lp及びL2はそれぞれ0.00〜1.00の範囲内
次式により、前記変換対象ピクセルの彩度Spの前記第2色の彩度S2に対する割合Srを算出する彩度割合算出部と、
Sr=Sp/S2、ただし、Sr≧1のときSr=1とする
前記算出したHr、Lr、Srを用いて、前記変換対象ピクセルの前記第2色に対する割合R2を次式により算出する第2色データ算出部と、
R2=Hr*Lr*Sr、*は積算符号
次式により、前記変換対象ピクセルの前記第1色に対する割合Rkを算出する第1色データ算出部と、
Rk=1−Lp−R2*(1−L2)
前記算出した割合R2及び割合Rkに基づいて、前記変換対象ピクセルに印刷する色を前記第1色、第2色及び非印刷色のいずれにするかを決定し、前記印刷画像データを生成するディザ処理部とからなることを特徴とする。
A color reduction processing apparatus according to the first aspect of the present invention is provided.
An image data acquisition unit for acquiring RGB color image data composed of a plurality of colors represented by RGB;
A conversion processing unit for converting the RGB color image data into HLS image data represented by HLS ;
A subtractive color processing unit that converts the HLS color image data into print image data composed of three types of first, second, and non-printing colors specified in advance based on predetermined parameters. A processing device comprising:
And a parameter setting unit capable of designating the hue range Hs to be converted as the second color as the parameter,
When the black color is designated as the first color, the subtractive color processing unit sets the hue of the second color as H2, and the ratio Hr of the hue Hp of the conversion target pixel with respect to the designated hue range Hs by the following equation: A hue ratio calculation unit to calculate,
Hr = 1− || 180− | Hp−H2 || −180 | / Hs, where Hr = 0 when Hr ≦ 0, the brightness of the second color of the brightness Lp of the pixel to be converted is expressed by the following equation. A lightness ratio calculation unit for calculating a ratio Lr to L2,
Lr = (1−Lp) / (1−L2), where Lr = Lp / L2 when Lr ≧ 1, Lp and L2 are in the range of 0.00 to 1.00, respectively. A saturation ratio calculation unit that calculates a ratio Sr of the degree Sp to the saturation S2 of the second color;
Sr = Sp / S2, where Sr = 1 when Sr ≧ 1, using the calculated Hr, Lr, Sr, the ratio R2 of the conversion target pixel to the second color is calculated by the following equation A color data calculation unit;
R2 = Hr * Lr * Sr, * is an integration code; a first color data calculation unit that calculates a ratio Rk of the conversion target pixel to the first color according to the following equation;
Rk = 1-Lp-R2 * (1-L2)
Based on the calculated ratio R2 and ratio Rk, the dither for determining whether the color to be printed on the conversion target pixel is the first color, the second color, or the non-printing color and generating the print image data And a processing unit.

HLSは色相H(Hue)、明度L(Lightness)、彩度S(Saturation)という人の感覚と近似した要素から構成されており、この態様ではこれらの要素を基準に減色処理を行なうので、人の感覚に近い自然な減色画像を得ることができる。   HLS is composed of elements similar to human senses of hue H (Hue), lightness L (Lightness), and saturation S (Saturation). In this aspect, color reduction processing is performed on the basis of these elements. A natural color-reduced image close to the sense of

また、色相は、人が色を認識する感覚に近いので、色相範囲を減色処理のパラメータとして指定することにより、減色画像のイメージを想定することが容易となり、延いては減色画像の作成作業が容易となる。 In addition, since the hue is close to the human perception of color, specifying the hue range as a parameter for color reduction processing makes it easy to assume a color-reduced image, and the creation of a color-reduced image It becomes easy.

本発明の他の態様にかかる減色処理装置は、前記色相範囲Hsは、1°〜180°の範囲内において指定可能であることを特徴とする。   The color reduction processing apparatus according to another aspect of the present invention is characterized in that the hue range Hs can be specified within a range of 1 ° to 180 °.

本発明の他の態様にかかる減色処理装置は、前記パラメータとして、前記第2色の色相H2明度L2及び彩度S2の少なくとも1を指定可能であることを特徴とする。 The color reduction processing apparatus according to another aspect of the present invention is characterized in that at least one of the hue H2 , the lightness L2, and the saturation S2 of the second color can be designated as the parameter.

本発明の他の態様にかかる減色処理装置は、パラメータ設定部に設定された第2色が印刷装置で印刷可能な第2色と異なる場合、前記減色処理部により生成された前記印刷画像データの前記第2色を前記印刷装置で印刷可能な第2色に変換して、モニタ表示することを特徴とする。この態様によると、原画像が、印刷装置で印刷可能な第2色とは異なる色を基調としている場合に、その基調となる色を第2色として指定して減色処理を行なって印刷画像データを生成し、その印刷画像データの第2色を実際に印刷可能な色に変換してモニタ表示させることにより、実際の印刷イメージの確認が可能となる。生成された印刷画像データは、指定された第2色が印刷装置で印刷可能な第2色に置き換えて印刷されることが可能となる。これにより、原画像の特徴を再現した減色画像を得ることができる。
In the color reduction processing apparatus according to another aspect of the present invention, when the second color set in the parameter setting unit is different from the second color that can be printed by the printing apparatus, the print image data generated by the color reduction processing unit The second color is converted into a second color that can be printed by the printing apparatus and displayed on a monitor. According to this aspect, when the original image is based on a color different from the second color that can be printed by the printing apparatus, the color to be the basic color is designated as the second color, and the color reduction processing is performed to perform the print image data. Is generated, and the second color of the print image data is converted into a color that can be actually printed and displayed on the monitor, whereby the actual print image can be confirmed. The generated print image data can be printed by replacing the designated second color with a second color that can be printed by the printing apparatus. As a result, a color-reduced image that reproduces the characteristics of the original image can be obtained.

本発明の他の態様は、上述した各減色処理装置のいずれか1つを備えることを特徴とする印刷ドライバである。   Another aspect of the present invention is a print driver including any one of the above-described color reduction processing devices.

本発明の減色処理方法は、
(a)RGBにより表現される複数色からなるRGBカラー画像データをHLSカラー画像データに変換する工程と、
(b)前記HLSカラー画像データを、所定のパラメータに基づいて、予め指定された第1色、第2色及び非印刷色の3種の色からなる印刷画像データに変換する工程と、を備える減色処理方法であって、さらに、
(c)前記第2色として変換する色相範囲Hsを前記パラメータとして指定する工程を備え、
前記工程(b)は、前記第1色として黒色が指定されている場合において、
(b-1)前記第2色の色相をH2として、変換対象ピクセルの色相Hpの前記指定された色相範囲Hsに対する割合Hrを次式により算出する工程と、
Hr=1−||180−|Hp−H2||−180|/Hs、ただし、Hr≦0のときHr=0とする
(b-2)次式により、前記変換対象ピクセルの明度Lpの前記第2色の明度L2に対する割合Lrを算出する工程と、
Lr=(1−Lp)/(1−L2)、ただし、Lr≧1のときLr=Lp/L2とする、Lp及びL2は、それぞれ0.00〜1.00の範囲内
(b-3)次式により、変換対象ピクセルの彩度Spの第2色の彩度S2に対する割合Srを算出する工程と、
Sr=Sp/S2、ただし、Sr≧1のときSr=1とする
(b-4)前記算出したHr、Lr、Srを用いて、前記変換対象ピクセルの前記第2色に対する印刷割合R2を次式により算出する工程と、
R2=Hr*Lr*Sr、*は積算符号
(b-5)次式により、前記変換対象ピクセルの前記第1色に対する印刷割合Rkを算出する工程と、
Rk=1−Lp−R2*(1−L2)
(b-6)前記算出した割合R2及び割合Rkに基づいて、前記変換対象ピクセルに印刷する色を前記第1色、第2色及び非印刷色のいずれにするかを決定し、前記印刷画像データを生成する工程とからなることを特徴とする。
The color reduction processing method of the present invention includes:
(A) converting RGB color image data composed of a plurality of colors expressed in RGB into HLS color image data;
(B) converting the HLS color image data into print image data composed of three types of first, second, and non-print colors designated in advance based on predetermined parameters. A color reduction processing method,
(C) providing a hue range Hs to be converted as the second color as the parameter;
In the step (b), when black is designated as the first color,
(B-1) A step of calculating a ratio Hr of the hue Hp of the conversion target pixel with respect to the specified hue range Hs by the following equation, where the hue of the second color is H2.
Hr = 1− || 180− | Hp−H2 || −180 | / Hs, where Hr = 0 when Hr ≦ 0.
(B-2) calculating a ratio Lr of the lightness Lp of the pixel to be converted to the lightness L2 of the second color according to the following equation;
Lr = (1-Lp) / (1-L2), provided that Lr = Lp / L2 when Lr ≧ 1, Lp and L2 are in the range of 0.00 to 1.00, respectively
(B-3) calculating a ratio Sr of the saturation Sp of the conversion target pixel to the saturation S2 of the second color according to the following equation;
Sr = Sp / S2, where Sr = 1 when Sr ≧ 1
(B-4) Using the calculated Hr, Lr, and Sr, calculating a printing ratio R2 of the conversion target pixel with respect to the second color according to the following equation:
R2 = Hr * Lr * Sr, * is an integration code
(B-5) calculating a printing ratio Rk of the conversion target pixel with respect to the first color according to the following equation;
Rk = 1-Lp-R2 * (1-L2)
(B-6) Based on the calculated ratio R2 and ratio Rk, it is determined whether the color to be printed on the conversion target pixel is the first color, the second color, or the non-printing color, and the print image And a step of generating data .

本発明の他の態様は、前述の減色処理方法の各工程をコンピュータに実行させるためのものであることを特徴とするプログラムである。また、そのプログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体であるAnother aspect of the present invention is a program for, characterized in that for executing the steps of the color reduction processing method described above to the computer. Further, the present invention is a computer-readable recording medium in which the program is recorded.

本発明は、RGBカラー画像データをHLSカラー画像データに変換した後に、色相H、明度L、彩度Sに基づいて第1色、第2色及び非印刷色の3種の色からなる画像データに減色・変換するものである。HLSは色相、明度、彩度という人の感覚と近似した要素から構成されているので、これらの要素を基準に減色処理を行なうことにより、人の感覚により近い自然な減色画像を得ることができる。   In the present invention, after RGB color image data is converted into HLS color image data, image data composed of three colors of a first color, a second color, and a non-printing color based on hue H, lightness L, and saturation S Color reduction and conversion. Since the HLS is composed of elements that approximate human senses such as hue, lightness, and saturation, a natural color-reduced image that is closer to human senses can be obtained by performing color reduction processing based on these factors. .

また、色相は、人が色を認識する感覚に近いので、色相範囲を減色処理のパラメータとして指定することにより、減色画像のイメージを想定することが容易となり、延いては減色画像の作成作業が容易となる。すなわち、より感性的な減色処理操作が可能となり、感性に基づいて印刷イメージの微妙な調整もし易くなる。 In addition, since the hue is close to the human perception of color, specifying the hue range as a parameter for color reduction processing makes it easy to assume a color-reduced image, and the creation of a color-reduced image It becomes easy. That is, a more sensitive color-reduction processing operation can be performed, and a fine adjustment of the print image is facilitated based on the sensitivity.

また、原画像が、印刷装置で印刷可能な第2色とは異なる色を基調としている場合に、その基調となる色を第2色として指定して減色処理を行なって印刷画像データを生成し、その印刷画像データの第2色を実際に印刷可能な色に変換してモニタ表示させることにより、実際の印刷イメージの確認が可能となる。生成された印刷画像データは、指定した第2色が印刷装置で印刷可能な第2色に置き換えて印刷されることが可能となる。これにより、原画像の特徴を再現した減色画像を得ることができる Further, when the original image is based on a color different from the second color that can be printed by the printing apparatus, the color to be the basic color is designated as the second color, and the color reduction processing is performed to generate the print image data. By converting the second color of the print image data into a color that can be actually printed and displaying it on the monitor, the actual print image can be confirmed. The generated print image data can be printed by replacing the designated second color with a second color that can be printed by the printing apparatus . As a result, a color-reduced image that reproduces the characteristics of the original image can be obtained .

以下、図面を参照しながら、本発明の実施形態を詳細に説明する。図1は、本発明の一実施形態にかかる減色処理装置10の機能ブロック図である。減色処理装置10は、画像データ取得部11、変換処理部12、減色処理部13、パラメータ設定部14、減色データ記憶部15及び入力/表示制御部16を備えている。画像データ取得部11により取得された画像は、変換処理部12によりHLSデータに変換され、減色処理部13により第1色、第2色及び非印刷色からなる印刷データに減色処理されて、処理結果が減色データ記憶部15に記憶される。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a functional block diagram of a color reduction processing apparatus 10 according to an embodiment of the present invention. The color reduction processing apparatus 10 includes an image data acquisition unit 11, a conversion processing unit 12, a color reduction processing unit 13, a parameter setting unit 14, a color reduction data storage unit 15, and an input / display control unit 16. The image acquired by the image data acquisition unit 11 is converted into HLS data by the conversion processing unit 12, and the color reduction processing unit 13 performs color reduction processing to print data including the first color, the second color, and the non-printing color. The result is stored in the color reduction data storage unit 15.

入力/表示制御部16には、表示装置及び入力装置が接続されている。入力/表示制御部16は、表示装置に操作画面を表示し、ポインティングデバイス等の入力装置による入力を受け付けるよう制御する。ユーザ(操作者)は、表示装置に表示された操作画面をポインティングデバイス等の入力装置により操作することにより、希望する画像データの取得を画像データ取得部11に指示することが可能である。   A display device and an input device are connected to the input / display control unit 16. The input / display control unit 16 displays an operation screen on the display device and controls to accept an input from an input device such as a pointing device. A user (operator) can instruct the image data acquisition unit 11 to acquire desired image data by operating an operation screen displayed on the display device with an input device such as a pointing device.

入力/表示制御部16は、さらに、操作画面を通じてパラメータの入力を受け付ける。入力されたパラメータは、パラメータ設定部14に登録され、減色処理のために使用される。パラメータ設定部14には、減色後に表現可能な色である第1色及び第2色が設定される。第1色及び第2色は、基本的には印刷装置により印刷可能な色に設定される。印刷装置は、通常、文字を黒色により印刷するので、印刷色が限定されているときでも、黒色のインクを含むのが一般的である。従って、通常の場合には、第1色として黒色が指定される。第2色としては、赤色、緑色、青色等の各種の色の中から任意の色を設定可能である。また特殊な使い方として、印刷装置により印刷可能な色とは異なる色を第1色または第2色として設定することも可能である。この場合には、減色したデータのイメージと印刷装置で印刷したイメージとは異なる色になる。   The input / display control unit 16 further accepts input of parameters through the operation screen. The input parameters are registered in the parameter setting unit 14 and used for the color reduction process. The parameter setting unit 14 is set with a first color and a second color that can be expressed after color reduction. The first color and the second color are basically set to colors that can be printed by the printing apparatus. Since the printing apparatus normally prints characters in black, it is common to include black ink even when the printing color is limited. Therefore, normally, black is designated as the first color. As the second color, an arbitrary color can be set from various colors such as red, green, and blue. As a special usage, a color different from a color that can be printed by the printing apparatus can be set as the first color or the second color. In this case, the color-reduced data image and the image printed by the printing apparatus have different colors.

さらに、HLSデータの色相のどの範囲までを第1又は第2の印刷色とするかを指定するパラメータが、パラメータ設定部14に設定される。この色相範囲を増減することにより、減色処理後の画像データのイメージを変更することが可能となる。通常は第1色として黒色が指定されるので、このパラメータは第2色について設定され、第2色の色相を中心(開始点)としたある角度範囲が設定される。例えば、第2色が赤色の場合には、赤色の(H,L,S)は(0°,29.7%,100%)であるので色相0°が開始点となり、ユーザにより色相範囲として90°が指定された場合には、赤色の色相0°を開始点として+90°〜−90°の範囲がパラメータ設定部14に設定される。   Further, a parameter that specifies the range of the hue of the HLS data that is used as the first or second print color is set in the parameter setting unit 14. By increasing / decreasing this hue range, it is possible to change the image of the image data after the color reduction processing. Normally, black is designated as the first color, so this parameter is set for the second color, and a certain angle range with the hue of the second color as the center (starting point) is set. For example, when the second color is red, the red (H, L, S) is (0 °, 29.7%, 100%), so the hue 0 ° is the starting point, and the user can set the hue range as When 90 ° is specified, a range of + 90 ° to −90 ° is set in the parameter setting unit 14 with a red hue of 0 ° as a starting point.

(RGBからHLSへの変換)
画像データ取得部11は、操作画面による操作に基づいて、スキャナ又はデジタルカメラ等の画像読取装置から処理対象となる原画像データを取得する。原画像データのデータファイルをディスク装置等から読み出すことも可能である。取得した画像データは、入力/表示制御部16及び変換処理部12に出力される。入力/表示制御部16は、取得した画像データに基づいて、その原画像を表示装置に表示させる。ユーザはこれにより、取得画像の確認が可能となる。
(Conversion from RGB to HLS)
The image data acquisition unit 11 acquires original image data to be processed from an image reading device such as a scanner or a digital camera based on an operation on the operation screen. It is also possible to read a data file of original image data from a disk device or the like. The acquired image data is output to the input / display control unit 16 and the conversion processing unit 12. The input / display control unit 16 displays the original image on the display device based on the acquired image data. Thus, the user can check the acquired image.

変換処理部12は、取得したRGBカラーデータの各ピクセルを色相H、明度L、彩度Sの各データに変換する。色相Hは0°〜360°の角度で表され、明度L及び彩度Sはそれぞれ0%〜100%(あるいは0.00〜1.00)で表される。以下にRGBカラーデータをHLSカラーデータに変換する変換処理の具体例を説明する。   The conversion processing unit 12 converts each pixel of the acquired RGB color data into data of hue H, lightness L, and saturation S. Hue H is represented by an angle of 0 ° to 360 °, and lightness L and saturation S are each represented by 0% to 100% (or 0.00 to 1.00). A specific example of conversion processing for converting RGB color data into HLS color data will be described below.

色相Hは、例えば、以下の式により算出することができる。尚、以下の説明においては、RGBの各値は、1/255倍することにより0〜1に変換して計算を行なうものとする。
・変換対象となるピクセルのRGB(Rp,Gp,Bp)中でRpが最も大きな値である場合には、式(1)により算出する。
H={60*(Gp−Bp)}/{Rp−(Gp又はBpの小さい方)} …… 式(1)
・(Rp,Gp,Bp)中でGpが最も大きな値である場合には、式(2)により算出する。
H={60*(Bp−Rp)}/{Gp−(Rp又はBpの小さい方)}+120 …… 式(2)
・(Rp,Gp,Bp)中でBpが最も大きな値である場合には、式(3)により算出する。
H={60*(Rp−Gp)}/{Bp−(Rp又はGpの小さい方)}+240 …… 式(3)
ただし、式(1)〜式(3)により計算した色相Hの値が、H<0の場合には、H=H+360とする。
The hue H can be calculated by the following equation, for example. In the following description, it is assumed that each value of RGB is converted to 0 to 1 by multiplying by 1/255, and calculation is performed.
When Rp is the largest value among RGB (Rp, Gp, Bp) of the pixel to be converted, it is calculated by the equation (1).
H = {60 * (Gp−Bp)} / {Rp− (the smaller of Gp or Bp)} (1)
When Gp is the largest value among (Rp, Gp, Bp), it is calculated by equation (2).
H = {60 * (Bp−Rp)} / {Gp− (the smaller of Rp or Bp)} + 120 (2)
When Bp is the largest value in (Rp, Gp, Bp), it is calculated by equation (3).
H = {60 * (Rp−Gp)} / {Bp− (the smaller of Rp or Gp)} + 240 (3)
However, when the value of the hue H calculated by the equations (1) to (3) is H <0, H = H + 360.

明度Lは、式(4)により算出する。
L=(19/64)*Rp+(19/32)*Gp+(7/64)*Bp …… 式(4)
彩度Sは、以下の式により算出する。
・{(Rp,Gp,Bp)中の最小値+(Rp,Gp,Bp)中の最大値}≦1のときは、式(5)により算出する
S={(Rp,Gp,Bp)中の最大値−(Rp,Gp,Bp)中の最小値}}}/{(Rp,Gp,Bp)中の最大値+(Rp,Gp,Bp)中の最小値}…… 式(5)
・{(Rp,Gp,Bp)中の最小値+(Rp,Gp,Bp)中の最大値}>1のときは、式(6)により算出する
S={(Rp,Gp,Bp)中の最大値−(Rp,Gp,Bp)中の最小値}/{2−(Rp,Gp,Bp)中の最大値−(Rp,Gp,Bp)中の最小値} …… 式(6)
例えば、第1色を黒色、第2色を赤色として減色する場合において、変換対象のピクセルの(Rp,Gp,Bp)を(0.92,0.55,0.92)とした場合、HLSを上記の条件に基づき算出すると、変換対象ピクセルの(H,L,S)は、(300°,70%,70%)となる。
The lightness L is calculated by equation (4).
L = (19/64) * Rp + (19/32) * Gp + (7/64) * Bp (4)
The saturation S is calculated by the following formula.
When {{minimum value in (Rp, Gp, Bp) + maximum value in (Rp, Gp, Bp)} ≦ 1; S = {(Rp, Gp, Bp) calculated by equation (5) Maximum value of -minimum value in (Rp, Gp, Bp)}}} / {maximum value in (Rp, Gp, Bp) + minimum value in (Rp, Gp, Bp)} (5)
When {minimum value in (Rp, Gp, Bp) + maximum value in (Rp, Gp, Bp)}> 1, S = {(Rp, Gp, Bp) calculated by equation (6) Maximum value of -minimum value in (Rp, Gp, Bp)} / {maximum value in 2- (Rp, Gp, Bp) -minimum value in (Rp, Gp, Bp)} (6)
For example, when the first color is reduced to black and the second color is reduced to red, if (Rp, Gp, Bp) of the pixel to be converted is set to (0.92, 0.55, 0.92), HLS Is calculated based on the above condition, the (H, L, S) of the conversion target pixel is (300 °, 70%, 70%).

(減色処理)
変換処理部12により変換されたHLSデータは減色処理部13に出力され、第1色及び第2色による減色処理が行なわれる。減色処理部13は、HLSに変換された画像データの各ピクセル毎に、各種パラメータに基づいて第1色及び第2色の割合を算出し、その結果をディザ処理した後に印刷画像データとして出力する。
(Color reduction processing)
The HLS data converted by the conversion processing unit 12 is output to the color reduction processing unit 13, and the color reduction processing using the first color and the second color is performed. The color reduction processing unit 13 calculates the ratio of the first color and the second color based on various parameters for each pixel of the image data converted to HLS, and dithers the result to output as print image data. .

図2に本発明の一実施形態にかかる減色処理部13の機能ブロック図を示す。減色処理部13は、減色処理制御部21と、減色演算処理部22と、ディザ処理部23と、どのようなディザ処理を行なうかを設定するディザ処理設定部24とを備えている。   FIG. 2 is a functional block diagram of the color reduction processing unit 13 according to the embodiment of the present invention. The color reduction processing unit 13 includes a color reduction processing control unit 21, a color reduction calculation processing unit 22, a dither processing unit 23, and a dither processing setting unit 24 for setting what kind of dither processing is performed.

減色処理制御部21は、変換処理部12から出力されるHLSデータを記憶するHLSデータ記憶部36と、パラメータ設定部14からパラメータを取得するパラメータ取得部37とを備えており、減色処理動作全体を制御する。減色処理制御部21により取得したHLSデータは、減色演算処理部22に出力される。   The color reduction processing control unit 21 includes an HLS data storage unit 36 that stores the HLS data output from the conversion processing unit 12, and a parameter acquisition unit 37 that acquires parameters from the parameter setting unit 14, and the entire color reduction processing operation. To control. The HLS data acquired by the color reduction processing control unit 21 is output to the color reduction calculation processing unit 22.

減色演算処理部22は、対象ピクセルの色相、明度、彩度の各要素に基づく、対象ピクセルにおける第1色及び第2色の割合を算出する割合算出部31〜33、第1色データ割合を算出する第1色データ算出部35、第2色データ割合を算出する第2色データ算出部34を備えている。   The color reduction calculation processing unit 22 calculates ratios of the first color and the second color in the target pixel based on the hue, brightness, and saturation elements of the target pixel, and calculates the first color data ratio. A first color data calculation unit 35 for calculating, and a second color data calculation unit 34 for calculating a second color data ratio are provided.

(減色処理の実施例)
以下に、減色演算処理部22の処理動作について、実施例を用いて説明する。以下の処理においては、第1色を黒色、第2色を赤色として指定するものとし、ピクセルの第1色及び第2色の成分比(割合)をRk及びR2とする。また、Hp,Lp,Spはそれぞれ減色処理対象ピクセルPのR,G,BをH,L,Sに変換した値を示し、H2,L2,S2はそれぞれ第2色のH,L,Sを示している。また、Hrは対象ピクセルPの色相が、パラメータ設定部14に設定された色相範囲Hsからどの位分離しているか(色相の割合)を示す値である。Lrは対象ピクセルPの第2色に対する明度の割合を示し、Srは対象ピクセルPの第2色に対する彩度の割合を示す。さらに明度及び彩度は、0.00〜1 .00で表わすものとする。尚、以下ではHLSに変換された画像データの1個のピクセルについての処理について説明するが、画像の総てのピクセルについて同様の処理が実行される。
(Example of color reduction processing)
Hereinafter, the processing operation of the color reduction calculation processing unit 22 will be described using an embodiment. In the following processing, the first color is designated as black, the second color is designated as red, and the component ratio (ratio) between the first color and the second color of the pixel is designated as Rk and R2. Hp, Lp, and Sp represent values obtained by converting R, G, and B of the pixel P to be reduced to H, L, and S, respectively, and H2, L2, and S2 represent the second colors H, L, and S, respectively. Show. Hr is a value indicating how much the hue of the target pixel P is separated from the hue range Hs set in the parameter setting unit 14 (hue ratio). Lr indicates a lightness ratio of the target pixel P with respect to the second color, and Sr indicates a saturation ratio of the target pixel P with respect to the second color. Furthermore, the brightness and saturation are 0.00-1. It shall be represented by 00. In the following, the process for one pixel of the image data converted to HLS will be described, but the same process is executed for all the pixels of the image.

色相割合算出部31は、式(7)を用いて、HLSに変換した画像データの対象ピクセルの色相の割合Hrを算出する。
Hr=1−||180−|Hp−H2||−180|/Hs、 ただし算出結果が0以下の場合はHr=0とする …… 式(7)
明度割合算出部32は、式(8)を用いて対象ピクセルの明度の割合Lrを算出する。
Lr=(1−Lp)/(1−L2)、 ただし算出結果が1以上の場合はLr=Lp/L2とする …… 式(8)
彩度割合算出部33は、式(9)を用いて対象ピクセルの彩度の割合Srを算出する。
Sr=Sp/S2、 ただし算出結果が1以上の場合はSr=1とする …… 式(9)
第2色データ算出部34は、算出されたHr、Lr、Sr用いて式(10)により第2色の割合R2を算出する。
R2=Hr*Lr*Sr (*は積算を意味する符号) …… 式(10)
第1色データ算出部35は、算出されたR2を用いて式(11)により第1色の割合Rkを算出する。
Rk=1−Lp−R2*(1−L2) …… 式(11)
The hue ratio calculation unit 31 calculates the hue ratio Hr of the target pixel of the image data converted into HLS using Expression (7).
Hr = 1- || 180- | Hp- H2 | | -180 | / Hs, but ...... formula calculation result in the case of 0 or less and Hr = 0 (7)
The lightness ratio calculation unit 32 calculates the lightness ratio Lr of the target pixel using Expression (8).
Lr = (1−Lp) / (1−L2) However, when the calculation result is 1 or more, Lr = Lp / L2 is established. Equation (8)
The saturation ratio calculation unit 33 calculates the saturation ratio Sr of the target pixel using Expression (9).
Sr = Sp / S2, but when the calculation result is 1 or more, Sr = 1 is set. Equation (9)
The second color data calculation unit 34 calculates the ratio R2 of the second color using the calculated Hr, Lr, and Sr according to the equation (10).
R2 = Hr * Lr * Sr (* is a sign indicating integration) (10)
The first color data calculation unit 35 calculates the ratio Rk of the first color using Equation (11) using the calculated R2.
Rk = 1-Lp-R2 * (1-L2) (11)

(データ算出の具体例)
例えば、第1色を黒、第2色を赤、色相範囲を90°に指定され、対象ピクセルPのHLSが(300°,70%,70%)の薄い紫であった場合、Hr=0.333、Lr=0.426、Sr=0.7となり、これからR2及びRkを算出すると、R2=10%、Rk=22.9%となる。すなわち、薄い紫のピクセルは、第1色が22.9%、第2色が10%、残りが非印字の割合となる。
(Specific examples of data calculation)
For example, when the first color is black, the second color is red, the hue range is 90 °, and the HLS of the target pixel P is light purple of (300 °, 70%, 70%), Hr = 0 .333, Lr = 0.426, Sr = 0.7, and when R2 and Rk are calculated from this, R2 = 10% and Rk = 22.9%. That is, in the light purple pixel, the first color is 22.9%, the second color is 10%, and the remaining is non-printing.

ディザ処理部23は、算出されたRk及びR2に基づきディザ処理を行なう。以下に、パターンディザによる処理例を説明する。パターンディザ処理では、画像データの対象ピクセルのアドレスを(x,y)とし、画像データの各ピクセルを4×4のマトリクスからなるマスクパターンにより順次比較して、対応するピクセルの値がマスクパターンの数値より大きい場合にはその色を印刷し、小さい場合には印刷しないよう設定する。   The dither processing unit 23 performs dither processing based on the calculated Rk and R2. Hereinafter, a processing example using pattern dither will be described. In the pattern dither processing, the address of the target pixel of the image data is set to (x, y), each pixel of the image data is sequentially compared with a mask pattern made of a 4 × 4 matrix, and the value of the corresponding pixel is the mask pattern. If it is larger than the numerical value, the color is printed, and if it is smaller, it is set not to print.

まず、画像データの総てのピクセルを4×4のマスクパターンにより比較するため、対象ピクセルのアドレスを、次式により4×4の1次元マトリクスaに変換する。a=x/4の余り+y/4の余り×4
これによりa=0〜15の16の数値が定まり、ディザマスクパターンの16個中の一個が指定される。
ディザのマスクパターンPat{a}として、以下のマスクを使用する。
Pat{a}=(0.0/16.0, 1.0/16.0, 7.0/16.0, 3.0/16.0,
2.0/16.0, 6.0/16.0, 11.0/16.0, 10.0/16.0,
8.0/16.0, 12.0/16.0, 15.0/16.0, 14.0/16.0,
4.0/16.0, 5.0/16.0, 13.0/16.0, 9.0/16.0)
例えば、a=1の場合マスクパターンは1.0/16.0であり、a=11の場合マスクパターンは14.0/16.0である。
比較対象ピクセル(x,y)の減色演算処理部22からの出力Rk及びR2がマスクバターンの値と比較され、以下の条件に従って第1色及び第2色の印刷の是非が確定される。Rk>Pat{a}の場合には、対象ピクセル(x,y)には第1色が印刷される。R2>Pat{a}の場合には、対象ピクセル(x,y)には第2色が印刷される。第1色及び第2色の双方の印刷が重なった場合には、
x+yが偶数の場合には、R2>Rkのとき第2色を印刷し、R2<Rkのとき第1色を印刷する。
x+yが奇数の場合には、R2<Rkのとき第2色を印刷し、R2>Rkのとき第1色を印刷する。
First, in order to compare all the pixels of the image data with a 4 × 4 mask pattern, the address of the target pixel is converted into a 4 × 4 one-dimensional matrix a by the following equation. a = remainder of x / 4 + remainder of y / 4 × 4
As a result, 16 numerical values of a = 0 to 15 are determined, and one of 16 dither mask patterns is designated.
The following masks are used as the dither mask pattern Pat {a}.
Pat {a} = (0.0 / 16.0, 1.0 / 16.0, 7.0 / 16.0, 3.0 / 16.0,
2.0 / 16.0, 6.0 / 16.0, 11.0 / 16.0, 10.0 / 16.0,
8.0 / 16.0, 12.0 / 16.0, 15.0 / 16.0, 14.0 / 16.0,
4.0 / 16.0, 5.0 / 16.0, 13.0 / 16.0, 9.0 / 16.0)
For example, when a = 1, the mask pattern is 1.0 / 16.0, and when a = 11, the mask pattern is 14.0 / 16.0.
Outputs Rk and R2 from the subtractive color calculation processing unit 22 of the pixel to be compared (x, y) are compared with the mask pattern value, and whether to print the first color and the second color is determined according to the following conditions. In the case of Rk> Pat {a}, the first color is printed on the target pixel (x, y). In the case of R2> Pat {a}, the second color is printed on the target pixel (x, y). If both the first and second color prints overlap,
When x + y is an even number, the second color is printed when R2> Rk, and the first color is printed when R2 <Rk.
When x + y is an odd number, the second color is printed when R2 <Rk, and the first color is printed when R2> Rk.

(処理手順の説明)
以上の処理は、演算処理装置(CPU)、メモリその他の記憶装置、記憶装置に記憶された制御プログラム及び所定のデータに基づいて実行することができる。以下、その処理手順をフローチャートに基づいて説明する。
(Description of processing procedure)
The above processing can be executed based on an arithmetic processing unit (CPU), a memory or other storage device, a control program stored in the storage device, and predetermined data. Hereinafter, the processing procedure will be described based on a flowchart.

図3は本発明の一実施形態にかかる減色処理手順を示すフローチャートである。まず、第1色及び第2色の指定、色相の範囲指定等のパラメータ設定を受け付ける(S101)。また、ユーザの操作に基づいて、画像データ取得部11によりRGBからなる元画像データを取得する(S102)。取得した元画像は、モニタ表示可能である。次に、設定されたパラメータに基づいて、RGBデータをHLSデータに変換し(S103)、変換したデータに基づいて第1色または第2色に減色する(S104)。変換処理及び減色処理については後述する。減色処理された画像は、モニタに表示される(S105)。ユーザによりパラメータが変更された場合には(S106:YES)、パラメータの変更設定を受け付けて(S107)、変更後のパラメータに基づいて、再度減色処理を行なう(S104)。パラメータが変更されていない場合には(S106:No)、減色データを減色データ記憶部15に出力する(S108)。   FIG. 3 is a flowchart showing a color reduction processing procedure according to an embodiment of the present invention. First, parameter settings such as designation of the first color and the second color and designation of the hue range are accepted (S101). Further, based on the user's operation, the image data acquisition unit 11 acquires RGB original image data (S102). The acquired original image can be displayed on a monitor. Next, the RGB data is converted into HLS data based on the set parameters (S103), and the color is reduced to the first color or the second color based on the converted data (S104). The conversion process and the color reduction process will be described later. The reduced color image is displayed on the monitor (S105). If the parameter is changed by the user (S106: YES), the parameter change setting is accepted (S107), and the color reduction process is performed again based on the changed parameter (S104). If the parameter has not been changed (S106: No), the reduced color data is output to the reduced color data storage unit 15 (S108).

次に、変換処理について説明する。図4は、図3における変換処理(S103)の一実施形態にかかる処理手順を示すフローチャートである。まず、取得した画像データから第1番目のピクセルのRGBデータを読み出す(S201)。次に、読み出したRGBデータの中で最大のデータは何か、最小のデータは何かを判定する(S202)。判定結果に基づいて色相H、明度L、彩度Sを算出する(S203、S204、S205)。例えば、上述した変換式(1)〜(3)を用いて色相Hを算出し、変換式(4)を用いて明度Lを算出し、変換式(5)〜(6)を用いて彩度Sを算出する。次にピクセルのアドレスを+1して(S206)、画像データの全ピクセルについて処理が終了したかどうかを確認する(S207)。全ピクセルの変換処理が終了していない場合(S207;No)、次のピクセルのRGBデータを読出し(S208)、同様の処理を繰り返す(S202〜S206)。全ピクセルの変換処理が終了すると(S207;YES)、変換データを減色処理部13に出力して(S209)、変換処理を終了する。   Next, the conversion process will be described. FIG. 4 is a flowchart showing a processing procedure according to an embodiment of the conversion process (S103) in FIG. First, RGB data of the first pixel is read from the acquired image data (S201). Next, it is determined what is the maximum data and what is the minimum data among the read RGB data (S202). Hue H, lightness L, and saturation S are calculated based on the determination result (S203, S204, S205). For example, the hue H is calculated using the conversion formulas (1) to (3) described above, the lightness L is calculated using the conversion formula (4), and the saturation is calculated using the conversion formulas (5) to (6). S is calculated. Next, the pixel address is incremented by 1 (S206), and it is confirmed whether or not the processing has been completed for all the pixels of the image data (S207). If the conversion process for all the pixels has not been completed (S207; No), the RGB data of the next pixel is read (S208), and the same process is repeated (S202 to S206). When the conversion process for all pixels is completed (S207; YES), the conversion data is output to the color reduction processing unit 13 (S209), and the conversion process is ended.

次に、減色処理について説明する。図5に、図3における減色処理(S104)の一実施形態にかかる処理手順のフローチャートを示す。まず、HLSデータに変換された第1番目のピクセルデータが読み出される(S301)。次に、設定されたパラメータを取得して(S302)、Hr,Lr,Sr,R2,Rkを算出する(S303〜S307)。これらの値は、例えば、上述した式(7)〜式(11)を用いて算出される。   Next, the color reduction process will be described. FIG. 5 shows a flowchart of a processing procedure according to an embodiment of the color reduction processing (S104) in FIG. First, the first pixel data converted into HLS data is read (S301). Next, the set parameters are acquired (S302), and Hr, Lr, Sr, R2, and Rk are calculated (S303 to S307). These values are calculated using, for example, the above formulas (7) to (11).

算出した対象ピクセルのR2、Rkに基づいてディザによる処理を行なう(S308)。ディザ処理は、前述したようなパターンディザを用いても良いし、他の形式のディザ処理を用いてもよい。ディザ処理の選択は、操作画面の入力に基づいて設定可能な構成とすることができ、ディザ処理の種類を選択する選択入力はディザ処理設定部24に記憶される。ディザ処理部23は、ディザ処理設定部24に設定されたディザ処理を実行する。本発明におけるディザ処理として、公知または慣用のディザ処理技術を用いることが可能である。   Dither processing is performed based on the calculated R2 and Rk of the target pixel (S308). The dither processing may use pattern dither as described above, or may use other types of dither processing. The selection of the dither process can be set based on the input on the operation screen, and the selection input for selecting the type of the dither process is stored in the dither process setting unit 24. The dither processing unit 23 executes the dither processing set in the dither processing setting unit 24. As the dither processing in the present invention, a known or conventional dither processing technology can be used.

次に、減色処理対象ピクセルPnのアドレスを+1して(S309)、画像データのピクセル総ての減色処理を終了したかどうかを確認する(S310)。終了していなければ(S310;NO)、次のアドレスのピクセルデータを読出し(S311)、同様の減色処理を繰り返す(S303〜S309)。画像データのピクセル総てについての減色処理を終了すると(S310;YES)、減色データを減色データ記憶部15出力する(S312)。減色データ記憶部15に記憶された減色データは、表示装置に出力されてプレビュー表示され、またユーザの印刷指示により印刷装置へ出力される。   Next, the address of the color reduction process target pixel Pn is incremented by 1 (S309), and it is confirmed whether or not the color reduction process for all the pixels of the image data has been completed (S310). If not completed (S310; NO), the pixel data of the next address is read (S311), and the same color reduction process is repeated (S303 to S309). When the color reduction processing for all the pixels of the image data is completed (S310; YES), the color reduction data is output to the color reduction data storage unit 15 (S312). The reduced color data stored in the reduced color data storage unit 15 is output to the display device and displayed as a preview, and is output to the printing device in response to a print instruction from the user.

以上の説明においては、原画像データの全ピクセルについてRGBからHLSへの変換処理を行った後、HLSに変換したデータの減色処理を行なう形態について説明したが、原画像データのピクセル毎に変換処理及び減色処理を行った後、次のピクセルの変換処理及び減色処理を行なうというように、原画像からピクセル単位で順次減色処理まで行なうよう構成することも可能である。   In the above description, a mode has been described in which the conversion processing from RGB to HLS is performed on all pixels of the original image data, and then the color reduction processing of the data converted to HLS is performed. However, the conversion processing is performed for each pixel of the original image data. In addition, after the color reduction process is performed, the next pixel conversion process and the color reduction process may be performed so that the color reduction process is sequentially performed in units of pixels from the original image.

上述のような色相を基準とした原色処理は、色相表現が人の感性に近いために、原画像のイメージに近い減色画像を生成することが可能となる。したがって、POSシステム等において、ロゴまたは商品イメージを3種の色(第1色、第2色、非印刷色)で印刷する場合等に、より自然なイメージの画像を印刷することが可能となる。また、POSプリンタに登録するためのロゴデータその他の登録データとして、フルカラー画像から3種の色のカラー減色画像を作成する場合においては、色相範囲の変更により生成される減色データのイメージを感覚的に把握することが容易であるので、色相範囲の調整により登録データを作成することが容易となるという利点も有する。   The primary color processing based on the hue as described above can generate a reduced color image close to the original image because the hue expression is close to human sensitivity. Therefore, when a logo or product image is printed in three colors (first color, second color, and non-printing color) in a POS system or the like, a more natural image can be printed. . Also, when creating color-reduced images of three colors from full-color images as logo data and other registered data for registration in the POS printer, the image of the reduced-color data generated by changing the hue range is sensuous. This makes it easy to create registration data by adjusting the hue range.

(その他の実施形態)
上記の例では、色相を基準に減色処理を行なったが、色相Hを使用せず、明度Lと彩度Sのみで第2色を割当てることができるようにすることも可能である。さらに明度Lまたは彩度Sのそれぞれについても有効/無効を設定することができるようにすることも可能である。すなわち、減色処理は、色相H、明度L、彩度Sの少なくとも1を使用して行なうことができる。この場合に第2色の割合R2は、上述の計算式(10)において、減色処理に使用しない色相の割合Hr、明度の割合Lr又は彩度の割合Srを1として算出される。これにより、明度や彩度の強度に応じた画像を生成することも可能となり、変換画像のバラエティを増大させることが可能となる。
(Other embodiments)
In the above example, the color reduction process is performed based on the hue, but it is also possible to assign the second color only by the lightness L and the saturation S without using the hue H. Furthermore, it is possible to enable / disable the lightness L or saturation S. That is, the color reduction process can be performed using at least one of hue H, lightness L, and saturation S. In this case, the ratio R2 of the second color is calculated by setting the hue ratio Hr, the brightness ratio Lr, or the saturation ratio Sr not used in the color reduction process to 1 in the above-described calculation formula (10). As a result, it is possible to generate an image according to the intensity of lightness and saturation, and it is possible to increase the variety of converted images.

また、第2色の色相H、明度L、彩度Sを個別に指定可能な構成とすることも可能である。上述の例では、第2色が赤色の場合には、純粋な赤ということで、HLSは、(0°,29.7%,100%)としていたが、実際に印刷に使用される赤は、純粋な赤とはいえない場合がある。このような場合に、実際に使用している第2色のHLSに合わせて、第2色のHLSを指定可能とすることにより、より正確な減色処理が可能となる。   It is also possible to adopt a configuration in which the hue H, lightness L, and saturation S of the second color can be individually specified. In the above example, when the second color is red, it is pure red, and the HLS is (0 °, 29.7%, 100%). However, the red actually used for printing is pure. It may not be a good red. In such a case, by making it possible to designate the HLS of the second color in accordance with the HLS of the second color that is actually used, more accurate color reduction processing can be performed.

さらに、第2色として、印刷装置で印刷可能な色とは異なる色が指定された場合に、表示装置上のプレビュー表示は、実際に印刷される色で表示するように構成することも可能である。これにより、実際に印刷するイメージで減色画像を確認することが可能となる。また、印刷装置と異なる第2色で減色処理することにより、印刷装置の第2色による減色処理では消えてしまう色であっても、原画像の色とは別の色ではあるが、印刷装置の第2色により表現することが可能となる。原画像が、印刷装置で印刷可能な第2色とは異なる色を基調とする画像の場合に、有効な処理である。例えば、印刷装置で印刷可能な第2色が赤、原画像の基調色が青である場合に、減色処理を印刷装置の第2色である赤により行なうと、原画像の青系の色は減色画像では白色(非印刷色)となり消えてしまうが、原色処理を原画像の基調色である青により行なえば減色画像でも消えることはない。したがって、原画像の基調色による減色処理で得られた印刷画像データを印刷装置で印刷させれば、減色画像の青系の色は印刷装置の第2色である赤系の色で印刷されるものの、原画像の特徴を失うことなく再現させることが可能となる。   Furthermore, when a color different from a color that can be printed by the printing apparatus is designated as the second color, the preview display on the display apparatus can be configured to display the color that is actually printed. is there. As a result, it is possible to confirm a reduced color image with an image to be actually printed. In addition, even if the color disappears in the color reduction process using the second color of the printing apparatus by performing the color reduction process using a second color different from that of the printing apparatus, the printing apparatus is different from the color of the original image. The second color can be expressed. This is an effective process when the original image is an image based on a color different from the second color that can be printed by the printing apparatus. For example, when the second color that can be printed by the printing apparatus is red and the base color of the original image is blue, if the subtractive color processing is performed using red that is the second color of the printing apparatus, the blue color of the original image is In the subtractive color image, it is white (non-printing color) and disappears. However, if the primary color processing is performed with blue, which is the base color of the original image, the subtractive color image will not disappear. Therefore, if the printing image data obtained by the subtractive color processing based on the base color of the original image is printed by the printing device, the blue color of the reduced color image is printed with the red color that is the second color of the printing device. However, it can be reproduced without losing the characteristics of the original image.

図6に、本発明の一実施例にかかる減色処理装置の操作画面を例示する。第1色を黒色、第2色を赤色として指定した場合を示している。最上段のディザタイプ設定部40には、ディザタイプを指定するディザ指定入力部41と、サンプル表示部42とが設けられている。中段のカラーテーブル45は、RGBCMYKWの8色のそれぞれを黒赤白の何れに変換するかを設定する画面であり、従来の減色処理を行なう場合に用いられる。最下段にはHLS色空間設定部50が設けられている。色相Hによる調整を行なわない場合には、色相調整停止部51をチェックする。同様に、明度L、彩度Sによる調整を行わない場合には、それぞれ明度調整停止部52、彩度調整停止部53をチェックする。色相Hによる調整を行なう場合には、色相範囲指定部54のスライダ55を1°〜180°の範囲で移動させることにより、色相範囲を指定する。スライダ55により指定した色相範囲は、色相範囲表示部56に角度表示される。色相範囲表示部56の上部には原画像のモニタ画面57があり、その右側には減色処理後の画像のモニタ画面58が設けられている。   FIG. 6 illustrates an operation screen of the color reduction processing apparatus according to the embodiment of the present invention. A case where the first color is designated as black and the second color is designated as red is shown. The uppermost dither type setting unit 40 is provided with a dither designation input unit 41 for designating a dither type and a sample display unit 42. The middle color table 45 is a screen for setting which of the eight colors of RGBCMYKW is converted to black, red, or white, and is used when performing conventional color reduction processing. An HLS color space setting unit 50 is provided at the lowest level. When adjustment by hue H is not performed, the hue adjustment stop unit 51 is checked. Similarly, when adjustment by lightness L and saturation S is not performed, the lightness adjustment stop unit 52 and the saturation adjustment stop unit 53 are checked. When adjustment by hue H is performed, the hue range is designated by moving the slider 55 of the hue range designation unit 54 in the range of 1 ° to 180 °. The hue range designated by the slider 55 is displayed as an angle on the hue range display unit 56. An original image monitor screen 57 is provided above the hue range display section 56, and an image monitor screen 58 after color reduction processing is provided on the right side thereof.

図7に第2色のHLSを指定可能な構成とした場合の操作画面例を示す。第2色の指定は、第2色の色相の基準点(開始点)、明度、彩度を、それぞれ色相角入力ボックス61、明度入力ボックス62、彩度入力ボックス63に入力することによって可能となる。左側にある円は、色相と彩度を示すカラー・リング64であり、指定された色相と彩度に相当する位置に+のマークが表示される。カラー・リング64の右には、スライダ・バー65が設けられており、指定された明度に相当する位置にスライダ66が表示される。   FIG. 7 shows an example of the operation screen when the second color HLS can be specified. The second color can be specified by inputting the reference point (starting point), lightness, and saturation of the hue of the second color in the hue angle input box 61, lightness input box 62, and saturation input box 63, respectively. Become. The circle on the left is a color ring 64 indicating hue and saturation, and a + mark is displayed at a position corresponding to the designated hue and saturation. A slider bar 65 is provided to the right of the color ring 64, and the slider 66 is displayed at a position corresponding to the specified brightness.

また、ポインティングデバイス等によりカラー・リング64上の所望の位置を選択して第2色の色相と彩度を指定することもできるし、スライダ・バー65のスライダ66を所望の位置に移動させて明度を指定することもできる。この場合には、ポインティングデバイスやスライダ66により指定されたHLSの値が各入力ボックス61〜63に表示される。   In addition, a desired position on the color ring 64 can be selected by a pointing device or the like to specify the hue and saturation of the second color, or the slider 66 of the slider bar 65 can be moved to a desired position. You can also specify the brightness. In this case, the HLS value designated by the pointing device or the slider 66 is displayed in each input box 61-63.

以上説明した減色処理装置及び減色処理方法は、印刷制御装置がホスト装置等の汎用PCの場合には、プリンタドライバ中に設けることができる。また、原画像からロゴデータ等の減色画像を作成するロゴデータ作成装置の減色処理装置として使用することも可能である。   The color reduction processing device and the color reduction processing method described above can be provided in a printer driver when the print control device is a general-purpose PC such as a host device. It can also be used as a color reduction processing device for a logo data creation device that creates a color reduction image such as logo data from an original image.

本発明の一実施形態にかかる減色処理装置の機能ブロック図である。It is a functional block diagram of the color reduction processing apparatus concerning one Embodiment of this invention. 本発明の一実施形態にかかる減色処理部の機能ブロック図である。It is a functional block diagram of a color reduction processing unit according to an embodiment of the present invention. 本発明の一実施形態にかかる減色処理手順を示すフローチャートである。It is a flowchart which shows the color-reduction process procedure concerning one Embodiment of this invention. 図3における変換処理(S103)の一実施形態にかかる処理手順を示すフローチャートである。It is a flowchart which shows the process sequence concerning one Embodiment of the conversion process (S103) in FIG. 図3における減色処理(S104)の一実施形態にかかる処理手順を示すフローチャートである。4 is a flowchart illustrating a processing procedure according to an embodiment of a color reduction process (S104) in FIG. 3. 本発明の一実施例にかかる減色処理装置の操作画面を示す図である。It is a figure which shows the operation screen of the color reduction processing apparatus concerning one Example of this invention. 第2色のHLSを指定可能な構成とした場合の操作画面例を示す図である。It is a figure which shows the example of an operation screen at the time of setting it as the structure which can designate HLS of a 2nd color.

符号の説明Explanation of symbols

10 減色処理装置 11 画像データ取得部
12 変換処理部 13 減色処理部
14 パラメータ設定部 15 減色データ記憶部
16 入力/表示制御部 21 減色処理制御部
22 減色演算処理部 23 ディザ処理部
24 ディザ処理設定部 31 色相割合算出部
32 明度割合算出部 33 彩度割合算出部
34 第2色データ算出部 35 第1色データ算出部
36 HLSデータ記憶部 37 パラメータ取得部
40 ディザタイプ設定部 41 ディザ入力部
42 サンプル表示部 45 カラーテーブル
51 色相調整停止部 52 明度調整停止部
53 彩度調整停止部 54 色相範囲指定部
55、66 スライダ 56 色相範囲表示部
57 原画像のモニタ画面 58 減色処理後の画像のモニタ画面
61 色相角入力ボックス 62 明度入力ボックス
63 彩度入力ボックス 64 カラー・リング
65 スライダ・バー
DESCRIPTION OF SYMBOLS 10 Color reduction processing apparatus 11 Image data acquisition part 12 Conversion processing part 13 Color reduction processing part 14 Parameter setting part 15 Color reduction data storage part 16 Input / display control part 21 Color reduction process control part 22 Color reduction calculation processing part 23 Dither processing part 24 Dither processing setting Unit 31 hue ratio calculation unit 32 lightness ratio calculation unit 33 saturation ratio calculation unit 34 second color data calculation unit 35 first color data calculation unit 36 HLS data storage unit 37 parameter acquisition unit 40 dither type setting unit 41 dither input unit 42 Sample display unit 45 Color table 51 Hue adjustment stop unit 52 Lightness adjustment stop unit 53 Saturation adjustment stop unit 54 Hue range designation unit 55, 66 Slider 56 Hue range display unit 57 Monitor screen of original image 58 Monitor image after color reduction processing Screen 61 Hue angle input box 62 Lightness input box 63 Saturation Power box 64 color ring 65 slider bar

Claims (11)

RGBにより表現される複数色からなるRGBカラー画像データを取得する画像データ取得部と、
前記RGBカラー画像データをHLSにより表現されるHLS画像データに変換する変換処理部と、
前記HLSカラー画像データを、所定のパラメータに基づいて、予め指定された第1色、第2色及び非印刷色の3種の色からなる印刷画像データに変換する減色処理部と、を備える減色処理装置であって、
さらに、前記第2色として変換する色相範囲Hsを前記パラメータとして指定可能なパラメータ設定部を備え、
前記減色処理部は、第1色として黒色が指定されている場合において、前記第2色の色相をH2として、変換対象ピクセルの色相Hpの前記指定された色相範囲Hsに対する割合Hrを次式により算出する色相割合算出部と、
Hr=1−||180−|Hp−H2||−180|/Hs、ただし、Hr≦0のときHr=0とする
次式により、前記変換対象ピクセルの明度Lpの前記第2色の明度L2に対する割合Lrを算出する明度割合算出部と、
Lr=(1−Lp)/(1−L2)、ただし、Lr≧1のときLr=Lp/L2とする、Lp及びL2はそれぞれ0.00〜1.00の範囲内
次式により、前記変換対象ピクセルの彩度Spの前記第2色の彩度S2に対する割合Srを算出する彩度割合算出部と、
Sr=Sp/S2、ただし、Sr≧1のときSr=1とする
前記算出したHr、Lr、Srを用いて、前記変換対象ピクセルの前記第2色に対する割合R2を次式により算出する第2色データ算出部と、
R2=Hr*Lr*Sr、*は積算符号
次式により、前記変換対象ピクセルの前記第1色に対する割合Rkを算出する第1色データ算出部と、
Rk=1−Lp−R2*(1−L2)
前記算出した割合R2及び割合Rkに基づいて、前記変換対象ピクセルに印刷する色を前記第1色、第2色及び非印刷色のいずれにするかを決定し、前記印刷画像データを生成するディザ処理部とからなることを特徴とする減色処理装置。
An image data acquisition unit for acquiring RGB color image data composed of a plurality of colors represented by RGB;
A conversion processing unit for converting the RGB color image data into HLS image data represented by HLS;
A subtractive color processing unit that converts the HLS color image data into print image data composed of three types of first, second, and non-printing colors specified in advance based on predetermined parameters. A processing device comprising:
And a parameter setting unit capable of designating the hue range Hs to be converted as the second color as the parameter,
When the black color is designated as the first color, the subtractive color processing unit sets the hue of the second color as H2, and the ratio Hr of the hue Hp of the conversion target pixel with respect to the designated hue range Hs by the following equation: A hue ratio calculation unit to calculate,
Hr = 1− || 180− | Hp−H2 || −180 | / Hs, where Hr = 0 when Hr ≦ 0, the brightness of the second color of the brightness Lp of the pixel to be converted is expressed by the following equation. A lightness ratio calculation unit for calculating a ratio Lr to L2,
Lr = (1−Lp) / (1−L2), where Lr = Lp / L2 when Lr ≧ 1, Lp and L2 are in the range of 0.00 to 1.00, respectively. A saturation ratio calculation unit that calculates a ratio Sr of the degree Sp to the saturation S2 of the second color;
Sr = Sp / S2, where Sr = 1 when Sr ≧ 1, using the calculated Hr, Lr, Sr, the ratio R2 of the conversion target pixel to the second color is calculated by the following equation A color data calculation unit;
R2 = Hr * Lr * Sr, * is an integration code; a first color data calculation unit that calculates a ratio Rk of the conversion target pixel to the first color according to the following equation;
Rk = 1-Lp-R2 * (1-L2)
Based on the calculated ratio R2 and ratio Rk, the dither for determining whether the color to be printed on the conversion target pixel is the first color, the second color, or the non-printing color and generating the print image data A color reduction processing apparatus comprising: a processing unit.
前記色相範囲Hsは、1°〜180°の範囲内において指定可能であることを特徴とする請求項に記載の減色処理装置。 The color reduction processing apparatus according to claim 1 , wherein the hue range Hs can be specified within a range of 1 ° to 180 °. 前記パラメータとして、前記第2色の色相H2明度L2及び彩度S2の少なくとも1を指定可能であることを特徴とする請求項1又は2に記載の減色処理装置。 The color reduction processing apparatus according to claim 1 or 2 , wherein at least one of the hue H2 , the lightness L2, and the saturation S2 of the second color can be designated as the parameter. パラメータ設定部に設定された第2色が印刷装置で印刷可能な第2色と異なる場合、前記減色処理部により生成された前記印刷画像データの前記第2色を前記印刷装置で印刷可能な第2色に変換して、モニタ表示することを特徴とする請求項1〜3のいずれか1項に記載の減色処理装置。
When the second color set in the parameter setting unit is different from the second color printable by the printing device, the second color of the print image data generated by the color reduction processing unit can be printed by the printing device. The color-reduction processing apparatus according to claim 1, wherein the color-reduction processing apparatus converts to two colors and displays on a monitor.
請求項1〜に記載した減色処理装置のいずれか1つを備えることを特徴とする印刷ドライバ。 Print driver, characterized in that it comprises one of the color reduction processing apparatus as claimed in claim 1-4. (a)RGBにより表現される複数色からなるRGBカラー画像データをHLSカラー画像データに変換する工程と、
(b)前記HLSカラー画像データを、所定のパラメータに基づいて、予め指定された第1色、第2色及び非印刷色の3種の色からなる印刷画像データに変換する工程と、を備える減色処理方法であって、さらに、
(c)前記第2色として変換する色相範囲Hsを前記パラメータとして指定する工程を備え、
前記工程(b)は、前記第1色として黒色が指定されている場合において、
(b-1)前記第2色の色相をH2として、変換対象ピクセルの色相Hpの前記指定された色相範囲Hsに対する割合Hrを次式により算出する工程と、
Hr=1−||180−|Hp−H2||−180|/Hs、ただし、Hr≦0のときHr=0とする
(b-2)次式により、前記変換対象ピクセルの明度Lpの前記第2色の明度L2に対する割合Lrを算出する工程と、
Lr=(1−Lp)/(1−L2)、ただし、Lr≧1のときLr=Lp/L2とする、Lp及びL2は、それぞれ0.00〜1.00の範囲内
(b-3)次式により、変換対象ピクセルの彩度Spの第2色の彩度S2に対する割合Srを算出する工程と、
Sr=Sp/S2、ただし、Sr≧1のときSr=1とする
(b-4)前記算出したHr、Lr、Srを用いて、前記変換対象ピクセルの前記第2色に対する印刷割合R2を次式により算出する工程と、
R2=Hr*Lr*Sr、*は積算符号
(b-5)次式により、前記変換対象ピクセルの前記第1色に対する印刷割合Rkを算出する工程と、
Rk=1−Lp−R2*(1−L2)
(b-6)前記算出した割合R2及び割合Rkに基づいて、前記変換対象ピクセルに印刷する色を前記第1色、第2色及び非印刷色のいずれにするかを決定し、前記印刷画像データを生成する工程とからなることを特徴とする減色処理方法。
(A) converting RGB color image data composed of a plurality of colors expressed in RGB into HLS color image data;
(B) converting the HLS color image data into print image data composed of three types of first, second, and non-print colors designated in advance based on predetermined parameters. A color reduction processing method,
(C) providing a hue range Hs to be converted as the second color as the parameter;
In the step (b), when black is designated as the first color,
(B-1) A step of calculating a ratio Hr of the hue Hp of the conversion target pixel with respect to the specified hue range Hs by the following equation, where the hue of the second color is H2.
Hr = 1− || 180− | Hp−H2 || −180 | / Hs, where Hr = 0 when Hr ≦ 0.
(B-2) calculating a ratio Lr of the lightness Lp of the pixel to be converted to the lightness L2 of the second color according to the following equation;
Lr = (1-Lp) / (1-L2), provided that Lr = Lp / L2 when Lr ≧ 1, Lp and L2 are in the range of 0.00 to 1.00, respectively
(B-3) calculating a ratio Sr of the saturation Sp of the conversion target pixel to the saturation S2 of the second color according to the following equation;
Sr = Sp / S2, where Sr = 1 when Sr ≧ 1
(B-4) Using the calculated Hr, Lr, and Sr, calculating a printing ratio R2 of the conversion target pixel with respect to the second color according to the following equation:
R2 = Hr * Lr * Sr, * is an integration code
(B-5) calculating a printing ratio Rk of the conversion target pixel with respect to the first color according to the following equation;
Rk = 1-Lp-R2 * (1-L2)
(B-6) Based on the calculated ratio R2 and ratio Rk, it is determined whether the color to be printed on the conversion target pixel is the first color, the second color, or the non-printing color, and the print image A color reduction processing method comprising a step of generating data .
前記色相範囲Hsは、1°〜180°の範囲内において指定可能であることを特徴とする請求項に記載の減色処理方法。 The color reduction processing method according to claim 6 , wherein the hue range Hs can be specified within a range of 1 ° to 180 °. 前記パラメータとして、前記第2色の色相H2明度L2及び彩度S2の少なくとも1を指定可能であることを特徴とする請求項6又は7に記載の減色処理方法。 The color reduction processing method according to claim 6 or 7 , wherein at least one of the hue H2 , the lightness L2, and the saturation S2 of the second color can be specified as the parameter. パラメータ設定部に設定された第2色が印刷装置で印刷可能な第2色と異なる場合、前記減色処理部により生成された前記印刷画像データの前記第2色を前記印刷装置で印刷可能な第2色に変換して、モニタ表示することを特徴とする請求項6〜8のいずれか1項に記載の減色処理装置。
When the second color set in the parameter setting unit is different from the second color printable by the printing device, the second color of the print image data generated by the color reduction processing unit can be printed by the printing device. The color-reduction processing apparatus according to claim 6, wherein the color-reduction processing apparatus converts to two colors and displays on a monitor.
請求項6〜9のいずれか1項に記載の減色処理方法の各工程をコンピュータに実行させるためのものであることを特徴とするプログラム。 Program characterized in that it is of the order to execute the steps of subtractive color processing method according to the computer in any one of claims 6-9. 請求項10に記載のプログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。 A computer-readable recording medium on which the program according to claim 10 is recorded.
JP2003404481A 2003-12-03 2003-12-03 Color reduction processing apparatus and color reduction processing method Expired - Fee Related JP4164674B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2003404481A JP4164674B2 (en) 2003-12-03 2003-12-03 Color reduction processing apparatus and color reduction processing method
US11/000,475 US7474446B2 (en) 2003-12-03 2004-11-30 Color reduction processing apparatus, printer control device, color reduction method, and printer control method
EP04028301A EP1538825B1 (en) 2003-12-03 2004-11-30 Color reduction processing apparatus, printer control device, color reduction method, and printer control method
DE602004013411T DE602004013411T2 (en) 2003-12-03 2004-11-30 Apparatus for reducing the number of colors, printer control apparatus, color reduction method and printer control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003404481A JP4164674B2 (en) 2003-12-03 2003-12-03 Color reduction processing apparatus and color reduction processing method

Publications (2)

Publication Number Publication Date
JP2005167679A JP2005167679A (en) 2005-06-23
JP4164674B2 true JP4164674B2 (en) 2008-10-15

Family

ID=34727460

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003404481A Expired - Fee Related JP4164674B2 (en) 2003-12-03 2003-12-03 Color reduction processing apparatus and color reduction processing method

Country Status (1)

Country Link
JP (1) JP4164674B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8638474B2 (en) 2011-05-30 2014-01-28 Ricoh Company-Limited Image processing apparatus and color conversion table generating method
US9313371B2 (en) 2014-03-24 2016-04-12 Fuji Xerox Co., Ltd. Image processing apparatus, image processing method and non-transitory computer readable medium for eliminating a specific color in an image
KR101766154B1 (en) * 2016-08-05 2017-08-08 인하대학교 산학협력단 Method and system for generate ortho-photo texture using dem data

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5782804B2 (en) * 2010-05-24 2015-09-24 株式会社リコー Image processing apparatus, image processing method, and program
JP2012142830A (en) * 2011-01-05 2012-07-26 Ricoh Co Ltd Image processing apparatus
JP5736894B2 (en) * 2011-03-28 2015-06-17 富士ゼロックス株式会社 Two-color image signal generation device, image forming system, and two-color image signal generation program
JP2014110521A (en) 2012-11-30 2014-06-12 Casio Comput Co Ltd Color conversion device, method and program for color designation printing
JP2022028336A (en) 2020-08-03 2022-02-16 キヤノン株式会社 Information processing apparatus, information processing method, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8638474B2 (en) 2011-05-30 2014-01-28 Ricoh Company-Limited Image processing apparatus and color conversion table generating method
US9313371B2 (en) 2014-03-24 2016-04-12 Fuji Xerox Co., Ltd. Image processing apparatus, image processing method and non-transitory computer readable medium for eliminating a specific color in an image
KR101766154B1 (en) * 2016-08-05 2017-08-08 인하대학교 산학협력단 Method and system for generate ortho-photo texture using dem data
WO2018026094A1 (en) * 2016-08-05 2018-02-08 인하대학교 산학협력단 Method and system for automatically generating ortho-photo texture by using dem data

Also Published As

Publication number Publication date
JP2005167679A (en) 2005-06-23

Similar Documents

Publication Publication Date Title
JP4341495B2 (en) Setting the color tone to be added to the image
KR100788053B1 (en) Color conversion method and profile generation method
JP3869910B2 (en) Image processing method and apparatus, and storage medium
JP4408858B2 (en) Image processing apparatus and method
JP2009055465A (en) Image processing device and method
JP4469249B2 (en) Image processing device
JP4356697B2 (en) Color settings for monochrome images
JP4164674B2 (en) Color reduction processing apparatus and color reduction processing method
JP2005063168A (en) Color adjustment method, program for making computer execute the color adjustment method, and computer-readable information storage medium storing the program
US7474446B2 (en) Color reduction processing apparatus, printer control device, color reduction method, and printer control method
JP3658123B2 (en) Image processing method and apparatus
JP2005110159A (en) Generation of decorative image
JPH11196285A (en) Image processing method, device and recording medium
JP2008160307A (en) Image processor and its control method
JP2013106173A (en) Image processor
JP4375023B2 (en) Printer control apparatus and printer control method
JP2006260532A (en) Image forming apparatus and method
US20050213127A1 (en) Color adjusting method, color image forming method, and color image forming device
JP2007243422A (en) Color transformation definition data making device and method, and image output apparatus
JP2008072208A (en) Image processor, and method thereof, and recording medium thereof
JP2006260533A (en) Image forming apparatus and method
JP4148090B2 (en) Blocked decoration image
JP2007038578A (en) Apparatus and method of image processing
JP2005064841A (en) Color adjusting method, program for making computer implement the same and computer-readable information recording medium recorded the program
JP2006211579A (en) Color profile producing method and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051028

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070403

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070626

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070824

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20070824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080213

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080321

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080331

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080702

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080715

R150 Certificate of patent or registration of utility model

Ref document number: 4164674

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110808

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120808

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130808

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees