JP4023491B2 - Image processing apparatus, image processing program, and image processing method - Google Patents

Image processing apparatus, image processing program, and image processing method Download PDF

Info

Publication number
JP4023491B2
JP4023491B2 JP2005046905A JP2005046905A JP4023491B2 JP 4023491 B2 JP4023491 B2 JP 4023491B2 JP 2005046905 A JP2005046905 A JP 2005046905A JP 2005046905 A JP2005046905 A JP 2005046905A JP 4023491 B2 JP4023491 B2 JP 4023491B2
Authority
JP
Japan
Prior art keywords
value
specific color
hue
saturation
weighting factor
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
JP2005046905A
Other languages
Japanese (ja)
Other versions
JP2006237807A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2005046905A priority Critical patent/JP4023491B2/en
Priority to US11/359,537 priority patent/US7595920B2/en
Publication of JP2006237807A publication Critical patent/JP2006237807A/en
Application granted granted Critical
Publication of JP4023491B2 publication Critical patent/JP4023491B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Description

本発明は、カラー画像の特定色を調整する場合に他の色との調和のとれた調整を行うことができる画像処理装置、画像処理プログラムおよび画像処理方法に関するものである。   The present invention relates to an image processing apparatus, an image processing program, and an image processing method capable of performing adjustment in harmony with other colors when adjusting a specific color of a color image.

近年、デジタルカメラやビデオカメラの性能が向上するとともに安価に供給されるようになり広く普及している。これらのカメラにより撮影された画像は、カラープリンタ(例えば、インクジェット式のプリンタ)に出力されて印刷されたり、LCDなどのカラー画像表示装置に表示される。   In recent years, the performance of digital cameras and video cameras has been improved, and it has been widely used since it has been supplied at low cost. Images taken by these cameras are output to a color printer (for example, an ink jet printer) and printed, or displayed on a color image display device such as an LCD.

これらの表示装置により表示される色には、例えば、肌色のように人間がイメージとして記憶されている記憶色があり、このような色は、被写体に忠実な色よりも、人間がイメージしている色に近づけるように調整することが要求されている。   The colors displayed by these display devices include, for example, memory colors that are stored as human images such as skin color, and such colors are imaged by humans rather than colors that are faithful to the subject. It is required to adjust the colors so that they are close to each other.

特開平2−96477号公報には、肌色領域などの記憶色を再現したい領域を局所的に色調整を行うことができる色調整装置が開示されている。
特開平2−96477号公報
Japanese Patent Application Laid-Open No. 2-96477 discloses a color adjustment apparatus that can locally perform color adjustment on an area in which a memory color such as a skin color area is desired to be reproduced.
Japanese Patent Laid-Open No. 2-96477

しかしながら、上記特許文献1には、肌色領域を特定する際に明度を勘案していないため、肌色の明るい部分と暗い部分との調整や、肌色とその肌色領域に隣接する肌色とは異なる色の部分と境界付近の色調整が不自然になるという問題点があった。特に、人間の顔を撮影した画像を処理する場合に、眉毛や首に連続する部分の暗部との境界を自然な色に調整するのが困難であるという傾向があった。   However, the above-mentioned Patent Document 1 does not consider the lightness when specifying the skin color area, so adjustment of the bright and dark parts of the skin color, and the skin color and the skin color adjacent to the skin color area are different. There was a problem that the color adjustment near the part and the boundary became unnatural. In particular, when processing an image obtained by photographing a human face, there is a tendency that it is difficult to adjust the boundary between the eyebrows and the dark part of the portion continuous with the neck to a natural color.

本発明は、上記問題点を解決するためになされたものであり、特定色とその特定色に隣接する部分の色調整を自然な色に調整することができる画像処理装置、画像処理プログラムおよび画像処理方法を提供することを目的としている。   The present invention has been made to solve the above-described problems, and an image processing apparatus, an image processing program, and an image that can adjust the color adjustment of a specific color and a portion adjacent to the specific color to natural colors. It aims to provide a processing method.

この目的を達成するために、本発明の請求項1記載の画像処理装置は、カラー画像情報が有する複数の基本色の組み合わせの値を入力する入力手段と、その入力手段に入力された画像情報を明度、色相、彩度の各値に変換する変換手段と、その変換手段により変換された明度、色相、彩度の各値を調整する調整手段と、その調整手段により調整された明度、色相、彩度の値に基づいてカラー画像を補正する補正手段とを備えたものであって、色相と彩度の各値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とする重み係数曲線として記憶し、明度の値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とし、更に、明度が最大値である場合の重み係数を0ではない第2の所定の値とする重み係数曲線として記憶する重み係数曲線記憶手段と、前記変換手段により変換された明度、色相、彩度の各値に対応する重み係数を前記重み係数曲線記憶手段に記憶された重み係数曲線を参照することにより求める重み係数取得手段と、その重み係数取得手段により取得された各重み係数を相互に乗算することにより特定色指数を求める特定色指数取得手段と、明度、色相、彩度の各値の変更量を設定する変更量設定手段とを備え、前記調整手段は、前記変更量設定手段により設定された変更量に前記特定色指数取得手段により求められた特定色指数を乗算することにより調整量を設定し、その調整量に基づいて明度、色相、彩度の各値を調整するものである。 In order to achieve this object, an image processing apparatus according to claim 1 of the present invention includes an input means for inputting a value of a combination of a plurality of basic colors included in color image information, and image information input to the input means. Is converted to lightness, hue, saturation values, adjustment means for adjusting the brightness, hue, saturation values converted by the conversion means, and the brightness, hue adjusted by the adjustment means Correction means for correcting a color image based on a saturation value, and for each value of hue and saturation, a weighting factor for a value indicating a specific color is set to a first predetermined value. And storing a weighting factor for a value in a predetermined range continuous with a value indicating a specific color as a weighting factor curve having a value obtained by a monotonically decreasing or monotonically increasing function with the first predetermined value as a maximum. About brightness value The weight coefficient for the value indicating the specific color is set to a first predetermined value, and the weight coefficient for a value in a predetermined range continuous to the value indicating the specific color is monotonously decreased with the first predetermined value being maximized or A weight coefficient curve storage means for storing as a weight coefficient curve having a value determined by a monotonically increasing function and a weight coefficient when the lightness is a maximum value as a second predetermined value other than 0; A weighting factor acquisition unit that obtains a weighting factor corresponding to each value of brightness, hue, and saturation converted by the unit by referring to the weighting factor curve stored in the weighting factor curve storage unit, and the weighting factor acquisition unit Specific color index acquisition means for obtaining a specific color index by mutually multiplying each weighting coefficient acquired by the above, and a change amount setting means for setting a change amount of each value of brightness, hue, and saturation, The adjustment unit sets the adjustment amount by multiplying the change amount set by the change amount setting unit by the specific color index obtained by the specific color index acquisition unit, and based on the adjustment amount, brightness, hue, It adjusts each value of saturation.

請求項記載の画像処理装置は、請求項記載の画像処理装置において、前記重み係数曲線記憶手段に記憶される重み係数曲線における特定色を示す値に連続する所定範囲の値に対する重み係数を求める単調増加または単調減少する関数は、正弦関数または余弦関数に設定されているものである。 According to a second aspect of the present invention, there is provided the image processing device according to the first aspect , wherein a weighting factor for a value in a predetermined range that is continuous with a value indicating a specific color in the weighting factor curve stored in the weighting factor curve storage unit is provided. The desired monotonically increasing or monotonically decreasing function is set to a sine function or a cosine function.

請求項記載の画像処理装置は、請求項1または2に記載の画像処理装置において、前記特定色は、肌色が設定されているものである。 The image processing apparatus according to claim 3, wherein, in the image processing apparatus according to claim 1 or 2, wherein the specific color is one in which skin color is set.

請求項記載の画像処理プログラムは、カラー画像情報が有する複数の基本色の組み合わせの値を入力する入力手段を備え、その入力手段に入力されたカラー画像を処理する画像処理装置において実行される画像処理プログラムであって、前記入力手段に入力された画像情報を明度、色相、彩度の各値に変換する変換ステップと、その変換ステップにより変換された明度、色相、彩度の各値に対応する重み係数を、色相と彩度の各値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とする重み係数曲線として記憶し、明度の値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とし、更に、明度が最大値である場合の重み係数を0ではない第2の所定の値とする重み係数曲線として記憶する重み係数曲線記憶手段を参照することにより求める重み係数取得ステップと、その重み係数取得ステップにより求められた各重み係数を相互に乗算することにより特定色指数を求める特定色指数取得ステップと、明度、色相、彩度の各値の変更量を設定する変更量設定ステップと、その変更量設定ステップにより設定された変更量に前記特定色指数取得ステップにより求められた特定色指数を乗算することにより調整量を設定し、その調整量に基づいて明度、色相、彩度の各値を調整する調整ステップと、その調整ステップにより調整された明度、色相、彩度の値に基づいてカラー画像を補正する補正ステップとを備えている。 According to a fourth aspect of the present invention, there is provided an image processing program that includes an input unit that inputs values of combinations of a plurality of basic colors included in color image information, and is executed in an image processing apparatus that processes a color image input to the input unit. An image processing program comprising: a conversion step for converting image information input to the input means into lightness, hue, and saturation values; and the brightness, hue, and saturation values converted by the conversion step. As for the corresponding weighting factor, for each value of hue and saturation, the weighting factor for the value indicating the specific color is set to the first predetermined value, and the weighting factor for the value in a predetermined range continuous to the value indicating the specific color Is stored as a weighting coefficient curve having a value obtained by a monotonically decreasing or monotonically increasing function maximizing the first predetermined value, and the brightness value is a value corresponding to a value indicating a specific color. The weighting factor is set to a first predetermined value, and the weighting factor for a value in a predetermined range continuous with a value indicating a specific color is obtained by a monotonically decreasing or monotonically increasing function with the first predetermined value as a maximum. And a weighting factor acquisition step to be obtained by referring to a weighting factor curve storage means for storing the weighting factor when the brightness is the maximum value as a weighting factor curve having a second predetermined value that is not 0, and , Specific color index acquisition step to obtain the specific color index by multiplying each weight coefficient determined by the weight coefficient acquisition step, and change amount setting to set the change amount of each value of lightness, hue, saturation a step, sets the adjustment amount by multiplying the specific color index determined by the specific color index acquiring step changes the amount set by the change amount setting step, the An adjustment step for adjusting each value of brightness, hue, and saturation based on the amount of adjustment, and a correction step for correcting a color image based on the values of brightness, hue, and saturation adjusted by the adjustment step Yes.

請求項記載の画像処理プログラムは、請求項記載の画像処理プログラムにおいて、前記特定色は、肌色に設定されているものである。 An image processing program according to a fifth aspect is the image processing program according to the fourth aspect , wherein the specific color is set to a skin color.

請求項6記載の画像処理方法は、カラー画像情報が有する複数の基本色の組み合わせの値を入力する入力ステップと、その入力ステップにより入力された画像情報を明度、色相、彩度の3つの値に変換する変換ステップと、その変換ステップにより変換された明度、色相、彩度の各値を調整する調整ステップと、その調整ステップにより調整された明度、色相、彩度の各値に基づいてカラー画像を補正する補正ステップとを備えたものであって、色相と彩度の各値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とする重み係数曲線とし、明度の値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とし、更に、明度が最大値である場合の重み係数を0ではない第2の所定の値とする重み係数曲線を形成する重み係数曲線形成ステップと、前記変換ステップにより変換された明度、色相、彩度の各値に対応する重み係数を前記重み係数曲線形成ステップにより形成された重み係数曲線を参照することにより求める重み係数取得ステップと、前記重み係数取得ステップにより求められた各重み係数を相互に乗算することにより特定色指数を求める特定色指数取得ステップと、明度、色相、彩度の各値の変更量を設定する変更量設定ステップとを備え、前記調整ステップは、前記変更量設定ステップにより設定された変更量に、前記特定色指数取得ステップにより求められた特定色指数を乗算することにより調整量を設定し、その調整量に基づいて明度、色相、彩度の各値を調整するものである。 The image processing method according to claim 6, wherein an input step for inputting a combination value of a plurality of basic colors included in the color image information, and the image information input by the input step are set to three values of brightness, hue, and saturation. A color conversion based on the lightness, hue, and saturation values adjusted by the adjustment step, the lightness, hue, and saturation values converted by the conversion step. A correction step for correcting an image, and for each value of hue and saturation, a weighting factor for a value indicating a specific color is set to a first predetermined value and a value indicating a specific color A weighting coefficient curve for a continuous predetermined range of values is a weighting coefficient curve having a value determined by a monotonically decreasing or monotonically increasing function with the first predetermined value as a maximum, and for a value of brightness, The weight coefficient for the value indicating the constant color is set to the first predetermined value, and the weight coefficient for the value in the predetermined range continuous to the value indicating the specific color is monotonously decreased or monotonically with the first predetermined value as a maximum. A weighting factor curve forming step for forming a weighting factor curve having a value obtained by an increasing function and a weighting factor when the lightness is a maximum value as a second predetermined value other than 0 ; and the conversion step A weighting factor acquisition step for obtaining a weighting factor corresponding to each value of lightness, hue, and saturation converted by the weighting factor curve by referring to the weighting factor curve forming step, and the weighting factor acquisition step. Specific color index acquisition step to obtain specific color index by multiplying each obtained weight coefficient mutually, and change amount to set the change amount of each value of lightness, hue, saturation And the adjustment step sets the adjustment amount by multiplying the change amount set by the change amount setting step by the specific color index obtained by the specific color index acquisition step, and the adjustment Each value of brightness, hue, and saturation is adjusted based on the amount.

請求項記載の画像処理方法は、請求項記載の画像処理方法において、前記特定色は、肌色に設定されているものである。 The image processing method according to claim 7, wherein, in the image processing method according to claim 6, wherein the specific color is one that is set to the skin color.

請求項1に記載の画像処理装置によれば、重み係数曲線記憶手段は、色相と彩度の各値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とする重み係数曲線として記憶し、明度の値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とし、更に、明度が最大値である場合の重み係数を0ではない第2の所定の値とする重み係数曲線として記憶する。重み係数取得手段は、変換手段により変換された明度、色相、彩度の各値に対応する重み係数を重み係数曲線記憶手段に記憶された重み係数曲線を参照することにより求める。特定色指数取得手段は、その重み係数取得手段により取得された各重み係数を相互に乗算することにより特定色指数を求め、変更量設定手段は、明度、色相、彩度の各値の変更量を設定する。そして、調整手段は、変更量設定手段により設定された変更量に前記特定色指数取得手段により求められた特定色指数を乗算することにより調整量を設定し、その調整量に基づいて明度、色相、彩度の各値を調整するものである。明度についての重み係数曲線は、明度を示す値が最高値である場合に、重み係数の値が、0より大きい値に設定されているので、明度が高い領域において、重み係数が0とはならず、特定色が明るい場合にも良好に補正されるという効果がある。
また、入力されたカラー画像の特定色を調整するに際し、明度、色相、彩度により特定される特定色の調整量を大きく変更することができるとともに、その特定色と隣接する特定色ではない色との境界において、急激な色変化を抑制することができる。その結果、調整量の過多により、再度調整を行う必要が発生し、繰り返し作業を行うことを防止し、効率よく自然な色の変化の調整を行うことができるという効果がある。
According to the image processing apparatus of the first aspect, the weighting coefficient curve storage means sets the weighting coefficient for the value indicating the specific color as the first predetermined value and specifies the hue and saturation values. A weight coefficient for a predetermined range of values that are continuous with a value indicating a color is stored as a weight coefficient curve having a value obtained by a monotonically decreasing or monotonically increasing function with the first predetermined value as a maximum, and a lightness value For the value indicating the specific color, the weighting coefficient for the value indicating the specific color is set to the first predetermined value, and the weighting coefficient for the value in the predetermined range continuing to the value indicating the specific color is monotonically maximizing the first predetermined value. A value obtained by a function that decreases or monotonously increases, and is further stored as a weight coefficient curve in which the weight coefficient when the brightness is the maximum value is a second predetermined value that is not zero. Weight coefficient acquiring unit, converted brightness by converting means, hue, Ru determined by referring to the weighting coefficient curve stored in the weight coefficient curve storage means the weighting coefficients corresponding to each value of the color saturation. The specific color index acquisition means obtains the specific color index by multiplying each weight coefficient acquired by the weight coefficient acquisition means, and the change amount setting means determines the change amount of each value of brightness, hue, and saturation. Set . The adjustment unit sets the adjustment amount by multiplying the change amount set by the change amount setting unit by the specific color index obtained by the specific color index acquisition unit, and based on the adjustment amount, brightness, hue Adjust each value of saturation. In the weighting coefficient curve for lightness, when the value indicating lightness is the highest value, the weighting coefficient value is set to a value larger than 0. Therefore, the weighting coefficient is not 0 in the high lightness region. In addition, there is an effect that even when the specific color is bright, it is corrected well.
In addition, when adjusting the specific color of the input color image, the adjustment amount of the specific color specified by lightness, hue, and saturation can be greatly changed, and a color that is not a specific color adjacent to the specific color Abrupt color change can be suppressed at the boundary. As a result, it is necessary to perform adjustment again due to an excessive amount of adjustment, and it is possible to prevent repeated operations and to efficiently adjust natural color change.

請求項記載の画像処理装置によれば、請求項記載の画像処理装置の奏する効果に加え、重み係数曲線記憶手段に記憶される重み係数曲線における特定色を示す値に連続する所定範囲の値に対する重み係数を求める単調増加または単調減少する関数は、正弦関数または余弦関数であるので、重み係数が第1の所定の値である領域と重み係数が0である領域とをなだらかに変化する曲線にすることができ、特定色と特定色ではない色との境界を自然な色調で変化することができるという効果がある。 According to the image processing apparatus according to claim 2, wherein, in addition to the effects of the image processing apparatus according to claim 1, wherein, in a predetermined continuous range of a value indicating a specific color in the weighting coefficient curves stored in the weighting coefficient curve storage means Since the monotonically increasing function or the monotonically decreasing function for obtaining the weighting coefficient for the value is a sine function or a cosine function, the area where the weighting coefficient is the first predetermined value and the area where the weighting coefficient is 0 change smoothly. There is an effect that a curve can be formed and the boundary between a specific color and a color that is not a specific color can be changed in a natural color tone.

請求項記載の画像処理装置によれば、請求項1または2に記載の画像処理装置の奏する効果に加え、特定色は、肌色であるので、記憶色の一つであり特に人間にとりイメージが強い色を不自然さがなく微調整することができるという効果がある。 According to the image processing apparatus of the third aspect , in addition to the effect produced by the image processing apparatus of the first or second aspect , the specific color is a skin color, so that it is one of the memory colors and has an image especially for humans. There is an effect that a strong color can be finely adjusted without unnaturalness.

請求項4記載の画像処理プログラムによれば、重み係数取得ステップは、変換ステップにより変換された明度、色相、彩度の各値に対応する重み係数を、色相と彩度の各値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とする重み係数曲線として記憶し、明度の値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とし、更に、明度が最大値である場合の重み係数を0ではない第2の所定の値とする重み係数曲線として記憶する重み係数曲線記憶手段を参照することにより求める。特定色指数取得ステップは、その重み係数取得ステップにより求められた各重み係数を相互に乗算することにより特定色指数を求め、変更量設定ステップは、明度、色相、彩度の各値の変更量を設定する。調整ステップは、変更量設定ステップにより設定された変更量に特定色指数取得ステップにより求められた特定色指数を乗算することにより調整量を設定し、その調整量に基づいて明度、色相、彩度の各値を調整するものである。明度についての重み係数曲線は、明度を示す値が最高値である場合に、重み係数の値が、0より大きい値に設定されているので、明度が高い領域において、重み係数が0とはならず、特定色が明るい場合にも良好に補正されるという効果がある。また、入力されたカラー画像の特定色を調整するに際し、明度、色相、彩度により特定される特定色の調整量を大きく変更することができるとともに、その特定色と隣接する特定色ではない色との境界において、急激な色変化を抑制することができる。その結果、調整量の過多により、再度調整を行う必要が発生し、繰り返し作業を行うことを防止し、効率よく自然な色の変化の調整を行うことができるという効果がある。 According to the image processing program of claim 4, the weighting factor acquisition step calculates the weighting factor corresponding to each value of brightness, hue, and saturation converted by the conversion step, and for each value of hue and saturation, The weight coefficient for the value indicating the specific color is set to the first predetermined value, and the weight coefficient for the value in the predetermined range continuous to the value indicating the specific color is monotonically decreased or monotonically with the first predetermined value as a maximum. Stored as a weighting coefficient curve having a value obtained by an increasing function, and for the brightness value, the weighting coefficient for the value indicating the specific color is set to the first predetermined value and the value indicating the specific color is continuous. The weighting factor for the value in the predetermined range is a value obtained by a monotonically decreasing or monotonically increasing function with the first predetermined value as the maximum, and the weighting factor when the lightness is the maximum value is not zero. 2 Determined by referring to the weighting coefficient curve storage means for storing a weighting coefficient curve with a predetermined value. The specific color index acquisition step obtains the specific color index by multiplying each weight coefficient obtained in the weight coefficient acquisition step, and the change amount setting step includes the change amount of each value of lightness, hue, and saturation. Set. The adjustment step sets the adjustment amount by multiplying the change amount set in the change amount setting step by the specific color index obtained in the specific color index acquisition step, and based on the adjustment amount, brightness, hue, saturation Each value of is adjusted. In the weighting coefficient curve for lightness, when the value indicating lightness is the highest value, the weighting coefficient value is set to a value larger than 0. Therefore, the weighting coefficient is not 0 in the high lightness region. In addition, there is an effect that even when the specific color is bright, it is corrected well. In addition, when adjusting the specific color of the input color image, the adjustment amount of the specific color specified by lightness, hue, and saturation can be greatly changed, and a color that is not a specific color adjacent to the specific color Abrupt color change can be suppressed at the boundary. As a result, it is necessary to perform adjustment again due to an excessive amount of adjustment, and it is possible to prevent repeated operations and to efficiently adjust natural color change.

請求項記載の画像処理プログラムによれば、請求項記載の画像処理プログラムの奏する効果に加え、特定色は、肌色であるので、記憶色の一つであり特に人間にとりイメージが強い色を不自然さがなく微調整することができるという効果がある。 According to the image processing program of the fifth aspect , in addition to the effect produced by the image processing program of the fourth aspect , the specific color is a skin color, so that the color is one of the memory colors and particularly has a strong image for humans. There is an effect that fine adjustment can be performed without unnaturalness.

請求項記載の画像処理方法によれば、重み係数曲線形成ステップは、色相と彩度の各値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とする重み係数曲線とし、明度の値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とし、更に、明度が最大値である場合の重み係数を0ではない第2の所定の値とする重み係数曲線を形成する。重み係数取得ステップは、変換ステップにより変換された明度、色相、彩度の各値に対応する重み係数を重み係数曲線形成ステップにより形成された重み係数曲線を参照することにより求める。特定色指数取得ステップは、重み係数取得ステップにより取得された各重み係数を相互に乗算することにより特定色指数を求め、変更量設定手段は、明度、色相、彩度の各値の変更量を設定する。調整ステップは、変更量設定ステップにより設定された変更量に、特定色指数取得ステップにより求められた特定色指数を乗算することにより調整量を設定し、その調整量に基づいて明度、色相、彩度の各値を調整する。 According to the image processing method of claim 6 , the weighting coefficient curve forming step sets the weighting coefficient for the value indicating the specific color as the first predetermined value and the specific color for each value of hue and saturation. A weighting coefficient curve for a value in a predetermined range continuous with a value indicating a weighting coefficient curve having a value obtained by a monotonically decreasing or monotonically increasing function maximizing the first predetermined value, The weight coefficient for the value indicating the specific color is set to the first predetermined value, and the weight coefficient for the value in the predetermined range continuous to the value indicating the specific color is monotonically decreased or monotonically with the first predetermined value as a maximum. A weight coefficient curve is formed with a value obtained by an increasing function and a second predetermined value that is not zero when the lightness is the maximum value . In the weighting factor acquisition step, the weighting factor corresponding to each value of brightness, hue, and saturation converted in the conversion step is obtained by referring to the weighting factor curve formed in the weighting factor curve forming step. The specific color index acquisition step obtains the specific color index by multiplying each weight coefficient acquired by the weight coefficient acquisition step, and the change amount setting means determines the change amount of each value of brightness, hue, and saturation. Set. The adjustment step sets the adjustment amount by multiplying the change amount set in the change amount setting step by the specific color index obtained in the specific color index acquisition step, and based on the adjustment amount, brightness, hue, saturation Adjust each degree value.

重み係数曲線記憶手段に記憶される明度についての重み係数曲線は、明度を示す値が最高値である場合に、重み係数の値が、0より大きい値に設定されているので、明度が高い領域において、重み係数が0とはならず、特定色が明るい場合にも良好に補正されるという効果がある。また、入力されたカラー画像の特定色を調整するに際し、明度、色相、彩度により特定される特定色の調整量を大きく変更することができるとともに、その特定色と隣接する特定色ではない色との境界において、急激な色変化を抑制することができる。その結果、調整量の過多により、再度調整を行う必要が発生し、繰り返し作業を行うことを防止し、効率よく自然な色の変化の調整を行うことができるという効果がある。 The weighting factor curve for the brightness stored in the weighting factor curve storage means is a region where the value of the weighting factor is set to a value greater than 0 when the value indicating the brightness is the highest value, so that the value is high. In this case, there is an effect that the weighting coefficient is not 0, and the correction is satisfactorily corrected even when the specific color is bright. In addition, when adjusting the specific color of the input color image, the adjustment amount of the specific color specified by lightness, hue, and saturation can be greatly changed, and a color that is not a specific color adjacent to the specific color Abrupt color change can be suppressed at the boundary. As a result, it is necessary to perform adjustment again due to an excessive amount of adjustment, and it is possible to prevent repeated operations and to efficiently adjust natural color change.

請求項記載の画像処理方法によれば、請求項記載の画像処理方法の奏する効果に加え、特定色は、肌色であるので、記憶色の一つであり特に人間にとりイメージが強い色を不自然さがなく微調整することができるという効果がある。 According to the image processing method according to claim 7, wherein, in addition to the effects of the image processing method according to claim 6, wherein the specific color, because it is skin color is one of the memory color, especially the color image is strong take humans There is an effect that fine adjustment can be performed without unnaturalness.

以下、本発明の第1の実施形態について、図面を参照して説明する。図1は、プリンタ1とそのプリンタ1に接続されるパーソナルコンピュータ20(以下PC20と称す)との電気的構成を示すブロック図である。このプリンタ1は、PC20から入力する画像情報またはプリンタ1に備えられている外部メディアスロット6に装着される外部メディア40に記録された画像情報を印刷情報に変換し印刷することができるように構成されている。   A first embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an electrical configuration of a printer 1 and a personal computer 20 (hereinafter referred to as a PC 20) connected to the printer 1. The printer 1 is configured to convert image information input from the PC 20 or image information recorded in an external medium 40 installed in the external media slot 6 provided in the printer 1 into print information and print it. Has been.

プリンタ1は、CPU2と、RAM3と、ROM4と、USBインターフェース5と、USB接続端子7と、外部メディアスロット6と、操作パネル30と、印刷部8とを備え、これらはバス9を介して相互に接続されている。   The printer 1 includes a CPU 2, a RAM 3, a ROM 4, a USB interface 5, a USB connection terminal 7, an external media slot 6, an operation panel 30, and a printing unit 8, which are mutually connected via a bus 9. It is connected to the.

CPU2は、ROM4に記憶された各種プログラムを実行するマイクロプロセッサであり、RAM3は、CPU2が各種プログラムを実行する際、変数などを一時記憶するワークエリアを有するメモリである。ROM4は、CPU2により実行される各種プログラムや、そのプログラムを実行する際に参照する定数やテーブルを記憶する読み出し専用のメモリである。   The CPU 2 is a microprocessor that executes various programs stored in the ROM 4, and the RAM 3 is a memory having a work area that temporarily stores variables and the like when the CPU 2 executes the various programs. The ROM 4 is a read-only memory that stores various programs executed by the CPU 2 and constants and tables that are referred to when the programs are executed.

ROM4には、制御プログラムである特定色補正プログラム4aと、重み係数曲線4bと、色変換プログラム4cと、印刷制御プログラム4dと、変換テーブルであるルックアップテーブルLUT1−M(4e)とLUT2−M(4f)等が記憶されている。   The ROM 4 includes a specific color correction program 4a that is a control program, a weight coefficient curve 4b, a color conversion program 4c, a print control program 4d, and lookup tables LUT1-M (4e) and LUT2-M that are conversion tables. (4f) and the like are stored.

特定色補正プログラム4aは、明度(L*)、彩度(c*)、色相(h*)の3つのパラメータについて重み係数が求められ、その重み係数から得られる特定色指数がユーザ等により設定される変更量に乗算されて明度(L*)、彩度(c*)、色相(h*)の3つのパラメータのそれぞれの値を補正する処理を行うプログラムである。   The specific color correction program 4a obtains weighting coefficients for three parameters of lightness (L *), saturation (c *), and hue (h *), and a specific color index obtained from the weighting coefficients is set by a user or the like. This is a program that performs processing for correcting the respective values of the three parameters of lightness (L *), saturation (c *), and hue (h *) by multiplying the change amount.

重み係数曲線4bは、上記特定色補正プログラム4aを実行する場合に参照される明度(L*)、彩度(c*)、色相(h*)の3つのパラメータについての重み係数を示す曲線である。この重み係数曲線4bは、グラフを数値化して記憶する変換テーブルでもよいし、演算式でもよい。   The weighting coefficient curve 4b is a curve showing weighting coefficients for three parameters of lightness (L *), saturation (c *), and hue (h *) that are referred to when the specific color correction program 4a is executed. is there. The weighting coefficient curve 4b may be a conversion table that stores a numerical value of a graph or may be an arithmetic expression.

色変換プログラム4cは、入力されるカラー画像情報であるRGBなどの値を、このプリンタ1において最適な状態で印刷を行うことができるように変換するプログラムであって、印刷に使用するインクや印刷されるシート材の種類や印刷の解像度などに適合するように、最適なルックアップテーブルなどを用いて印刷情報であるCMYKの値に変換するものである。   The color conversion program 4c is a program for converting values such as RGB, which are input color image information, so that the printer 1 can perform printing in an optimal state. The value is converted into CMYK values, which are print information, using an optimum lookup table or the like so as to match the type of sheet material to be printed and the printing resolution.

印刷制御プログラム4dは、色変換プログラム4cにより変換された印刷を行うための印刷情報に応じて、印刷部の印字ヘッドを搭載するキャリッジやシート材を駆動する駆動装置等を制御するものである。   The print control program 4d controls a carriage on which a print head of a printing unit is mounted, a driving device that drives a sheet material, and the like according to print information for performing printing converted by the color conversion program 4c.

ルックアップテーブルLUT1−M(4e)は、3色の基本色R(レッド)、G(グリーン)、B(ブルー)の組み合わせの値を入力し、ICCsRGBプロファイル変換を行う変換テーブルであり、ルックアップテーブルLUT2−M(4f)は、画像情報が有する3色の基本色(RGB)の組み合わせの値を入力し、印刷を行うための印刷情報(CMYK)に変換する変換テーブルである。印刷に使用するインクや印刷されるシート材の種類や印刷の解像度などに応じて複数のルックアップテーブルが記憶されている。   The lookup table LUT1-M (4e) is a conversion table that inputs values of combinations of three basic colors R (red), G (green), and B (blue) and performs ICCsRGB profile conversion. The table LUT2-M (4f) is a conversion table that inputs values of combinations of three basic colors (RGB) included in the image information and converts them into print information (CMYK) for printing. A plurality of lookup tables are stored in accordance with the ink used for printing, the type of sheet material to be printed, the printing resolution, and the like.

USBインターフェース5は、USB端子7に接続されたUSBケーブルを通してPC20と通信を行うもので、ここでは、PC20から印刷を行うための印刷情報(CMYK)を入力する。   The USB interface 5 communicates with the PC 20 through a USB cable connected to the USB terminal 7. Here, print information (CMYK) for printing from the PC 20 is input.

外部メディアスロット6は、デジタルカメラなどで撮影された画像情報(イメージデータ)を記憶する外部メディア40を着脱自在に装着することができ、装着された外部メディア40から直接画像情報(RGB)を入力する。   The external media slot 6 can detachably mount an external medium 40 for storing image information (image data) taken by a digital camera or the like, and directly inputs image information (RGB) from the mounted external medium 40. To do.

印刷部8は、図示しないキャリッジや印字ヘッドやC(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)の各色のインクタンク等を備えている。キャリッジは印刷を行うシート材の上を移動し、印字ヘッドは、そのキャリッジに搭載されてシート材の所定の位置に各インクタンクから供給されるインクを吐出するものである。操作パネル30は、プリンタ1の各種設定をユーザが行うことができるものであり、図2を参照して後述する。   The printing unit 8 includes a carriage, a print head, ink tanks for each color of C (cyan), M (magenta), Y (yellow), and K (black). The carriage moves on a sheet material on which printing is performed, and the print head is mounted on the carriage and discharges ink supplied from each ink tank to a predetermined position of the sheet material. The operation panel 30 allows the user to make various settings of the printer 1 and will be described later with reference to FIG.

PC20は、CPU21と、ROM22と、RAM23と、ハードディスク24(HDD)と、USBインターフェース25等により構成されている。CPU21は、ROM22やハードディスク24に記憶された各種プログラムを実行するマイクロプロセッサであり、RAM23は、CPU2が各種プログラムを実行する際、変数などを一時記憶するワークエリアを有するメモリである。   The PC 20 includes a CPU 21, a ROM 22, a RAM 23, a hard disk 24 (HDD), a USB interface 25, and the like. The CPU 21 is a microprocessor that executes various programs stored in the ROM 22 and the hard disk 24. The RAM 23 is a memory having a work area that temporarily stores variables and the like when the CPU 2 executes various programs.

ハードディスク24は、不揮発性の大記憶容量を有するメモリであり、いわゆるOSやデジタルカメラなどで撮影されたイメージデータ24a、色変換プログラム24b、ルックアップテーブル24c、24dが記憶される。   The hard disk 24 is a non-volatile memory having a large storage capacity, and stores image data 24a photographed by a so-called OS or digital camera, a color conversion program 24b, and lookup tables 24c and 24d.

イメージデータ24aは、デジタルカメラからUSBインターフェース25を介して入力され、ハードディスク24に記憶される。色変換プログラム24aは、いわゆるプリンタドライバと呼ばれるプログラムの一つであり、イメージデータ24aなどの印刷を行うために、イメージデータ24aを構成しているRGB値からルックアップテーブル24c、24dを参照して、CMYK値に変換するプログラムである。   The image data 24 a is input from the digital camera via the USB interface 25 and stored in the hard disk 24. The color conversion program 24a is one of so-called printer drivers, and refers to the lookup tables 24c and 24d from the RGB values constituting the image data 24a in order to print the image data 24a and the like. , A program for converting into CMYK values.

ルックアップテーブル24c、24dは、RGB値で表される3次元のデータをCMYKの4次元のデータに変換するものである。これらの色変換プログラム24bおよびルックアップテーブル24c、24dは、使用するプリンタ1に対応する処理を行うように設定されるものであり、プリンタ1に添付されたCD−ROMなどにより供給される。PC20においては、図示しないCD−ROMドライブによりこれらのデータを読み込んでハードディスク24に記憶される。なお、これらのデータは、図示しない通信インターフェースを装備し、インターネットなどのネットワークを介して受信するようにしてもよい。   The look-up tables 24c and 24d convert three-dimensional data represented by RGB values into four-dimensional CMYK data. The color conversion program 24b and the look-up tables 24c and 24d are set so as to perform processing corresponding to the printer 1 to be used, and are supplied from a CD-ROM attached to the printer 1. In the PC 20, these data are read by a CD-ROM drive (not shown) and stored in the hard disk 24. Note that these data may be provided via a communication interface (not shown) and received via a network such as the Internet.

USBインターフェース25は、USB端子26に接続されるUSBケーブルを通して外部機器と通信を行うインターフェースで、デジタルカメラが撮影した画像情報を入力したり、プリンタ1に印刷を行うための印刷情報を出力したり、プリンタ1のスキャナ機能により取り込まれ画像情報を受信することができる。   The USB interface 25 is an interface that communicates with an external device through a USB cable connected to the USB terminal 26. The USB interface 25 inputs image information captured by the digital camera, and outputs print information for printing to the printer 1. The image information captured by the scanner function of the printer 1 can be received.

図2(a)は、プリンタ1の操作パネルの部分の平面図であり、図2(b)は、その正面図である。このプリンタ1は、ファックス、コピー、スキャンなどを行うことができる複合機であり、スイッチ33により、これらの機能が選択される。PC20から画像情報を受信した場合は、いずれの機能が選択されていても印刷を実行するように構成されている。   2A is a plan view of a portion of the operation panel of the printer 1, and FIG. 2B is a front view thereof. The printer 1 is a multifunction machine that can perform fax, copy, scan, and the like, and these functions are selected by a switch 33. When image information is received from the PC 20, printing is executed regardless of which function is selected.

各機能における各種設定は、設定スイッチ31を操作することにより行われ、ダイヤルボタン部32は、FAXを送信する場合に相手のファックス番号を入力する際などに使用される。表示部34は、液晶により構成され、設定状態を表示したり、この液晶に表示される機能の中からカーソルを移動することなどにより選択することができる。   Various settings in each function are performed by operating the setting switch 31, and the dial button unit 32 is used when inputting a fax number of the other party when transmitting a FAX. The display unit 34 is composed of a liquid crystal, and can be selected by displaying a setting state or moving a cursor from functions displayed on the liquid crystal.

カーソルキー35は、表示部34に表示されたカーソルを移動したり、表示された機能の中から選択を行う際に使用されるものである。ユーザが特定色の色調整を行う場合は、このカーソルキー35を操作して特定色を調整するための画面を表示部34に表示させ、調整を行う特定色を選択し、明度(L*)、彩度(c*)、色相(h*)の3つのパラメータについて、それぞれ変更量を設定し、色調整を行うように指示する。   The cursor key 35 is used when the cursor displayed on the display unit 34 is moved or when a selection is made from the displayed functions. When the user performs color adjustment of a specific color, the cursor key 35 is operated to display a screen for adjusting the specific color on the display unit 34, the specific color to be adjusted is selected, and the brightness (L *) , Saturation (c *), and hue (h *), the change amount is set for each of the three parameters, and an instruction is given to perform color adjustment.

ストップボタン37は、各種機能を実行している場合に、停止を指示するもので、スタートボタン38は、ファックスやコピーを行う場合に、その機能の実行の開始を指示するボタンである。フラットベッド39は、コピー、ファックス、スキャンを行う際に、資料の画像を読み込むために資料を配置する面である。   The stop button 37 is for instructing to stop when various functions are being executed, and the start button 38 is a button for instructing the start of execution of the function when performing faxing or copying. The flat bed 39 is a surface on which materials are arranged in order to read images of materials when copying, faxing, and scanning.

プリンタ1の正面には、印刷を終了したシート材を排出する排出トレイ50と、各種外部メディアを装着する外部メディアスロットが形成されている。この図では、コンパクトフラッシュ(登録商標)用のスロット41、メモリスティック(登録商標)用のスロット42、スマートメディア(登録商標)用のスロット43が備えられている。   On the front side of the printer 1, a discharge tray 50 for discharging the sheet material that has finished printing and an external media slot for mounting various external media are formed. In this figure, a CompactFlash (registered trademark) slot 41, a Memory Stick (registered trademark) slot 42, and a SmartMedia (registered trademark) slot 43 are provided.

次に、図3を参照して本発明による特定色を肌色とした場合の調整方法の概念について説明する。本発明においては、特定色の調整を行う場合に、その特定色を示す色の明度(L*)、彩度(c*)、色相(h*)の3つのパラメータについて、それぞれ重み係数を求め、その重み係数を相互に乗算した値を特定色の指数とし、その指数を、ユーザにより設定されたそれぞれのパラメータを変更する変更量に乗算することにより、変更量を変化させるものである。   Next, the concept of the adjustment method when the specific color according to the present invention is a skin color will be described with reference to FIG. In the present invention, when adjusting a specific color, a weighting factor is obtained for each of the three parameters of lightness (L *), saturation (c *), and hue (h *) of the color indicating the specific color. The value obtained by multiplying the weight coefficients by each other is used as an index of a specific color, and the change amount is changed by multiplying the index by the change amount for changing each parameter set by the user.

図3は、重み関数をFとし、明度(L*)、彩度(c*)、色相(h*)の3つのパラメータのそれぞれについて、それぞれの値を入力とする横軸に対し、重み係数Fの値を縦軸に示すグラフである。図3(a)は、明度(L*)について重み係数F(L*)を示すグラフであり、横軸を明度(L*)とし、縦軸を重み係数F(L*)として示すものである。明度(L*)は、0から100の値を取り、重み係数F(L*)は、0から1の値を取るものである。   FIG. 3 shows that the weighting function is F, and the weighting coefficient is expressed with respect to the horizontal axis where each value is input for each of the three parameters of lightness (L *), saturation (c *), and hue (h *). It is a graph which shows the value of F on a vertical axis | shaft. FIG. 3A is a graph showing the weighting factor F (L *) for the lightness (L *), in which the horizontal axis represents the lightness (L *) and the vertical axis represents the weighting factor F (L *). is there. The lightness (L *) takes a value from 0 to 100, and the weight coefficient F (L *) takes a value from 0 to 1.

このグラフが示すように、明度(L*)が0からAで示す範囲の重み係数F(L*)は0であり、BからCで示す範囲の重み係数F(L*)は1である。そして、AからBで示す区間は、S字状のなだらかな単調増加曲線により結ばれ、Cで示す位置以上の範囲は、逆S字状のなだらかな単調減少曲線により結ばれている。明度(L*)の最高値である100の場合には、重み係数F(L*)が0より大きい所定値に設定されている。   As shown in this graph, the weighting factor F (L *) in the range indicated by lightness (L *) from 0 to A is 0, and the weighting factor F (L *) in the range indicated by B to C is 1. . The section indicated by A to B is connected by an S-shaped gentle monotone increasing curve, and the range beyond the position indicated by C is connected by an inverse S-shaped gentle monotonic decreasing curve. In the case of 100 which is the maximum value of lightness (L *), the weighting factor F (L *) is set to a predetermined value larger than zero.

したがって、明度が高い場合には、重み係数F(L*)がある程度の大きさに設定され、変更量に応じてある程度の変更が行われることになる。特に、印刷を行う場合は、明度が高いとインクの量が少なく、変更量が少ないと調整量が切り捨てられる恐れがある。重み係数F(L*)がある程度の大きさに設定されることにより、明度の値が大きい場合でも良好に補正することができる。   Therefore, when the brightness is high, the weighting factor F (L *) is set to a certain level, and a certain amount of change is performed according to the amount of change. In particular, when printing is performed, if the lightness is high, the amount of ink is small, and if the amount of change is small, the adjustment amount may be discarded. By setting the weighting factor F (L *) to a certain level, it is possible to correct well even when the brightness value is large.

このグラフにおいて、BからCで示す範囲(重み係数F(L*)が1)が、最も良好な肌色を表す色の明度(L*)のとる値であり、この範囲以外の明度の値は、肌色ではない色を表示する色の明度(L*)が取る値である。すなわち、重み係数F(L*)は、特定色である肌色を最も良く表示する色の明度(L*)の値の範囲に対して1を設定し、その範囲以外の明度(L*)の値については、重み係数F(L*)が1である範囲から単調減少または単調増加する関数を経由して0の値に設定されている。なお、この単調減少または単調増加する関数としては、図3(a)に示すように、なだらかな変化であるS字状または逆S字状の関数が好ましい。このS字状または逆S字状を示す関数としては、正弦関数、または余弦関数を用いることができる。   In this graph, the range from B to C (weighting factor F (L *) is 1) is the value of the lightness (L *) of the color representing the best skin color, and the lightness values outside this range are The lightness (L *) of a color that displays a color that is not a skin color is a value that is taken. In other words, the weighting factor F (L *) is set to 1 for the range of the lightness (L *) value of the color that best displays the skin color, which is the specific color, and the lightness (L *) outside that range is set. The value is set to 0 through a function that monotonously decreases or monotonically increases from a range where the weighting factor F (L *) is 1. The monotonically decreasing or monotonically increasing function is preferably an S-shaped or inverse S-shaped function that is a gentle change, as shown in FIG. A sine function or a cosine function can be used as the function indicating the S shape or the inverted S shape.

正弦関数を用いる場合には、重み係数をYとし、定数をaとすると、
Y=sin(aL*)/2+0.5
として表すことができる。
When using a sine function, if the weighting factor is Y and the constant is a,
Y = sin (aL *) / 2 + 0.5
Can be expressed as

なお、図3(a)にAで示す位置とBで示す位置とを直線で結ぶようにしてもよく、その場合には、その直線の傾きを適宜設定するようにしてもよい。また、S字状または逆S字状の関数としては、ガウス関数や、3次以上の多項式を用いた関数を用いてもよい。また、数式を用いないで、任意に描いた曲線により形成されるルックアップテーブルを使用してもよい。   Note that the position indicated by A and the position indicated by B in FIG. 3A may be connected by a straight line, and in that case, the inclination of the straight line may be appropriately set. Further, as the S-shaped or inverse S-shaped function, a Gaussian function or a function using a third or higher order polynomial may be used. In addition, a lookup table formed by arbitrarily drawn curves may be used without using mathematical expressions.

図3(b)は、彩度(c*)について重み係数F(c*)を示すグラフであり、横軸を彩度(c*)とし、縦軸を重み係数F(c*)として示すものである。彩度(c*)は、0から160以上の値を取るが、ここでは、0から160までの範囲を示し、重み係数F(c*)は、明度(L*)の重み係数F(L*)と同様に0から1の値を取るものである。このグラフも明度(L*)の重み係数F(L*)と同様に、特定色である肌色を最も良く表示する色の彩度(c*)の値の範囲に対して1を設定し、その範囲以外の明度(c*)の値については、重み係数F(c*)が1である範囲から単調減少または単調増加する関数を経由して0の値に設定されている。単調増加または単調減少する関数については、明度(L*)の重み係数F(L*)と同様であるので詳細な説明は省略する。   FIG. 3B is a graph showing the weighting factor F (c *) for saturation (c *), with the horizontal axis representing saturation (c *) and the vertical axis representing weighting factor F (c *). Is. The saturation (c *) takes a value from 0 to 160 or more, but here, it indicates a range from 0 to 160, and the weighting factor F (c *) is the weighting factor F (L *) of the lightness (L *). As in *), it takes a value from 0 to 1. In this graph, similarly to the weighting factor F (L *) of the lightness (L *), 1 is set for the value range of the saturation (c *) of the color that best displays the specific skin color, Lightness (c *) values outside the range are set to 0 through a function that monotonously decreases or monotonically increases from a range in which the weighting factor F (c *) is 1. Since the monotonically increasing or decreasing function is the same as the weighting factor F (L *) of the lightness (L *), detailed description thereof is omitted.

図3(c)は、色相(h*)について重み係数F(h*)を示すグラフであり、横軸を色相(h*)とし、縦軸を重み係数F(h*)として示すものである。色相(h*)は、0から360度の値を取り、重み係数F(h*)は、明度(L*)の重み係数F(L*)と同様に0から1の値を取るものである。このグラフも明度(L*)の重み係数F(L*)と同様に、特定色である肌色を最も良く表示する色の色相(h*)の値の範囲に対して1を設定し、その範囲以外の色相(h*)の値につていは、重み係数F(h*)が1である範囲から単調減少または単調増加する関数を経由して0の値に設定されている。単調増加または単調減少する関数については、明度(L*)の重み係数F(L*)の場合と同様であるので詳細な説明は省略する。   FIG. 3C is a graph showing the weighting factor F (h *) for the hue (h *), where the horizontal axis is the hue (h *) and the vertical axis is the weighting factor F (h *). is there. The hue (h *) takes a value from 0 to 360 degrees, and the weighting factor F (h *) takes a value from 0 to 1 like the weighting factor F (L *) of the lightness (L *). is there. In this graph, similarly to the weighting factor F (L *) of the lightness (L *), 1 is set for the value range of the hue (h *) of the color that best displays the skin color as the specific color. The hue (h *) value other than the range is set to 0 through a function that monotonously decreases or monotonically increases from a range in which the weighting factor F (h *) is 1. The monotonically increasing or monotonically decreasing function is the same as the case of the lightness (L *) weighting factor F (L *), and thus detailed description thereof is omitted.

上記グラフを参照して説明したように、明度(L*)、彩度(c*)、色相(h*)の3つのパラメータのそれぞれの重み係数の関数F(L*)、F(c*)、F(h*)を設定し、特定色を肌色とした場合の肌色指数をHada(L*,c*,h*)とすると、肌色指数は、各重み係数を相互に乗算し、
Hada(L*,c*,h*)=F(L*)×F(c*)×F(h*)・・・数式1
と定義することができる。
As described with reference to the above graph, the functions F (L *) and F (c *) of the respective weighting factors of the three parameters of lightness (L *), saturation (c *), and hue (h *) ), F (h *) is set, and the skin color index when the specific color is skin color is Hada (L *, c *, h *), the skin color index is multiplied by each weight coefficient,
Hada (L *, c *, h *) = F (L *) × F (c *) × F (h *)...
Can be defined as

明度(L*)、彩度(c*)、色相(h*)のそれぞれについて、ユーザなどにより設定される変更量をΔL*、Δc*、Δh*とし、調整される明度(L*)、彩度(c*)、色相(h*)のそれぞれの値をL*、c*、h*とすれば、調整量は、それぞれの変更量に肌色指数を乗算し、
ΔL*・Hada(L*,c*,h*)
Δc*・Hada(L*,c*,h*)
Δh*・Hada(L*,c*,h*)
となる。したがって、調整された明度(L*)、彩度(c*)、色相(h*)のそれぞれの値をL*’、c*’、h*’とすると、
L*’=L*+ΔL*×Hada(L*,c*,h*)・・・数式2
c*’=c*+Δc*×Hada(L*,c*,h*)・・・数式3
h*’=h*+Δh*×Hada(L*,c*,h*)・・・数式4
として求めることができる。
For each of lightness (L *), saturation (c *), and hue (h *), the amount of change set by the user or the like is ΔL *, Δc *, Δh *, and the adjusted lightness (L *), If the saturation (c *) and hue (h *) values are L *, c *, and h *, the amount of adjustment will be multiplied by the skin color index.
ΔL * ・ Hada (L *, c *, h *)
Δc * · Hada (L *, c *, h *)
Δh * · Hada (L *, c *, h *)
It becomes. Therefore, if the adjusted values of lightness (L *), saturation (c *), and hue (h *) are L * ′, c * ′, and h * ′,
L * ′ = L * + ΔL * × Hada (L *, c *, h *) Equation 2
c * ′ = c * + Δc * × Hada (L *, c *, h *) Equation 3
h * ′ = h * + Δh * × Hada (L *, c *, h *) Equation 4
Can be obtained as

プリンタ1は、明度(L*)、彩度(c*)、色相(h*)のそれぞれについて、変更量ΔL*、Δc*、Δh*をユーザが設定するように構成され、特定色補正プログラム4aにより設定された変更量ΔL*、Δc*、Δh*に基づいて、明度(L*)、彩度(c*)、色相(h*)の各値が上記の通り補正され、印刷を行う。   The printer 1 is configured so that the user sets change amounts ΔL *, Δc *, and Δh * for lightness (L *), saturation (c *), and hue (h *), respectively, and a specific color correction program Based on the change amounts ΔL *, Δc *, Δh * set in 4a, the values of lightness (L *), saturation (c *), and hue (h *) are corrected as described above, and printing is performed. .

図4は、この特定色補正プログラム4aの処理を示すフローチャートである。ここでは外部メディアスロット6に装着された外部メディア40からRGBの3値により形成されている画像データを入力し、特定色である肌色が補正されたR’G’B’の3値に変換する場合について説明する。   FIG. 4 is a flowchart showing the processing of the specific color correction program 4a. In this case, image data formed by RGB ternary values is input from the external medium 40 mounted in the external media slot 6 and converted into R′G′B ′ ternary values in which the skin color as a specific color is corrected. The case will be described.

まず、RGB値をICCsRGBプロファイル変換を行いXYZ値に変換する(S1)。本来はモニタのICCプロファイルやデジタルカメラのICCプロファイルを用いた方が好ましいが、簡単のためICCsRGBプロファイルを用いている。ここで、ICCプロファイルとはICC(International Color Consortium)によって規定されているデバイスの色特性を記述した色変換ファイルフォーマットを示すものである。また、sRGBは、デバイス毎に異なっていたRGBの色再現性・色空間を統一しようという試みで作成されたモニター用の標準色空間である。このICCsRGBプロファイルを参照し、RGB値からXYZ値への変換を行う。   First, RGB values are converted into XYZ values by ICCsRGB profile conversion (S1). Originally, it is preferable to use the ICC profile of the monitor or the ICC profile of the digital camera, but the ICCsRGB profile is used for simplicity. Here, the ICC profile indicates a color conversion file format that describes the color characteristics of a device defined by the ICC (International Color Consortium). Further, sRGB is a standard color space for a monitor created in an attempt to unify RGB color reproducibility and color space, which was different for each device. With reference to this ICCsRGB profile, conversion from RGB values to XYZ values is performed.

次に、ICCsRGBプロファイル変換により変換されたXYZの値をL*a*b*の各値に変換する(S2)。この変換は、公知の変換公式を用いて変換される。更に、L*a*b*の値からL*c*h*の各値を求める(S3)。この場合は、L*の値は、変更されず、c*、h*は、次式により演算により求められる。   Next, the XYZ values converted by the ICCsRGB profile conversion are converted into L * a * b * values (S2). This conversion is performed using a known conversion formula. Further, each value of L * c * h * is obtained from the value of L * a * b * (S3). In this case, the value of L * is not changed, and c * and h * are calculated by the following equations.

次に、これらのL*c*h*の値に基づいて、肌色補正処理を行う(S4)。この肌色補正処理については、図5を参照して後述する。この肌色補正処理により補正されたL*’、c*’、h*’が得られる。 Next, skin color correction processing is performed based on these L * c * h * values (S4). This skin color correction process will be described later with reference to FIG. L * ′, c * ′, and h * ′ corrected by the skin color correction process are obtained.

次に、これらの値からS1,S2,S3の変換とは逆に、補正されたL*’、c*’、h*’に対応するL*a*b*値を求め(S5)、さらにそのL*a*b*値に対応するXYZ値を求め(S6)、ICCsRGBプロファイル変換により補正されたR’G’B’値を求める(S7)。   Next, the L * a * b * values corresponding to the corrected L * ′, c * ′, and h * ′ are obtained from these values, contrary to the conversion of S1, S2, and S3 (S5). An XYZ value corresponding to the L * a * b * value is obtained (S6), and an R′G′B ′ value corrected by ICCsRGB profile conversion is obtained (S7).

このようにして、プリンタ1は、入力されたRGB値を肌色補正したR’G’B’値に変換し、その変換したR’G’B’値を色変換プログラム4cによりMYK値に変換し、そのCMYK値に基づいて印刷制御プログラム4dにより印刷処理を行う。 In this way, the printer 1 'converts the values, the converted R'G'B' input RGB values flesh color corrected R'G'B convert values into C MYK value by the color conversion program 4c Then, the printing process is performed by the printing control program 4d based on the CMYK value.

図5は、上記図4のフローチャートのS4の処理である肌色補正処理を示すフローチャートである。この肌色補正処理では、まずユーザにより変更量であるΔL*、Δc*、Δh*が入力される(S11)。次に、S3の処理により求められたL*、c*、h*の各値に対応する重み係数F(L*)、F(c*)、F(h*)をROM4に記憶された重み係数曲線4bを参照して求める(S12)。次に、数式1を用いてこれらの重み係数を相互に乗算し、肌色指数Hada(L*,c*,h*)を求める(S13)。   FIG. 5 is a flowchart showing a skin color correction process which is the process of S4 in the flowchart of FIG. In this skin color correction process, first, ΔL *, Δc *, and Δh * as change amounts are input by the user (S11). Next, the weighting factors F (L *), F (c *), and F (h *) corresponding to the values of L *, c *, and h * obtained by the process of S3 are stored in the ROM 4 weights. The coefficient curve 4b is obtained with reference to (S12). Next, the skin color index Hada (L *, c *, h *) is obtained by multiplying these weighting factors by using Equation 1 (S13).

次に、明度(L*)、彩度(c*)、色相(h*)のそれぞれについて、数式2,3,4を用い、ユーザにより設定された変更量ΔL*、Δc*、Δh*に肌色指数を乗算し、それぞれの元の値に加算することにより明度L*’、彩度c*’、色相h*’を求める(S14)。   Next, for each of the lightness (L *), saturation (c *), and hue (h *), the change amounts ΔL *, Δc *, and Δh * set by the user are calculated using Equations 2, 3, and 4. The lightness L * ′, saturation c * ′, and hue h * ′ are obtained by multiplying the skin color index and adding to each original value (S14).

以上説明したように、第1の実施形態では、明度(L*)、彩度(c*)、色相(h*)のそれぞれの値について、重み係数が設定され、重み係数を相互に乗算した特定色指数を各明度(L*)、彩度(c*)、色相(h*)の変更量に乗算することにより調整量が算出される。重み係数は、特定色を示す値の範囲を1とし、特定色ではない色を示す値は、0とし、その境界をなだらかな単調減衰または単調増加関数で形成したものである。したがって、特定色について重み係数が大きく、特定色に隣接する色については、次第に重み係数が小さくなるように設定されるので、特定色を補正する際に、特定色に隣接する特定色ではない色の調整量が過多になることを防止することができる。調整量が過多になると、何度も繰り返し変更量を設定しなおすという作業が必要になるが、調整量が過多になることが防止されるので、調整を行う作業効率を高めることができる。   As described above, in the first embodiment, weighting factors are set for the values of lightness (L *), saturation (c *), and hue (h *), and the weighting factors are multiplied with each other. The adjustment amount is calculated by multiplying the specific color index by the change amount of each lightness (L *), saturation (c *), and hue (h *). The weighting coefficient has a value range indicating a specific color as 1, a value indicating a color that is not a specific color as 0, and its boundary is formed by a gentle monotone decay or monotone increase function. Therefore, since the weighting coefficient for the specific color is large and the weighting coefficient for the color adjacent to the specific color is set to gradually decrease, when correcting the specific color, the color that is not the specific color adjacent to the specific color Therefore, it is possible to prevent the adjustment amount from becoming excessive. If the adjustment amount is excessive, it is necessary to repeatedly set the change amount over and over again. However, since the adjustment amount is prevented from being excessive, it is possible to improve the work efficiency of the adjustment.

次に、第2の実施形態について説明する。なお、前記した第1の実施形態と同一部分については、その説明を省略し、異なる部分についてのみ説明する。上記第1の実施形態では、入力されたRGB値をL*c*h*値に変換し、各L*c*h*それぞれの重み係数を求め、その重み係数を相互に乗算して特定色指数を算出し、その特定色指数を明度(L*)、彩度(c*)、色相(h*)の3つのパラメータのそれぞれの変更量に乗算してL*c*h*の各値を補正し、これらの値を逆変換することによりR’G’B’の値へ補正を行うものである。   Next, a second embodiment will be described. The description of the same parts as those of the first embodiment described above will be omitted, and only different parts will be described. In the first embodiment, the input RGB value is converted into an L * c * h * value, the respective weighting factors of each L * c * h * are obtained, and the weighting factors are multiplied together to specify a specific color. An index is calculated, and the specific color index is multiplied by the amount of change in each of the three parameters of lightness (L *), saturation (c *), and hue (h *), and each value of L * c * h * Is corrected, and these values are inversely transformed to correct the value of R′G′B ′.

第2の実施形態では予め設定された変更量に基づいて、特定色の色補正を行うためのルックアップテーブルを記憶し、入力されたRGB値からこのルックアップテーブルを参照することにより、特定色の色補正が行われたR’G’B’値を直に求めるものである。   In the second embodiment, a lookup table for performing color correction of a specific color is stored based on a preset change amount, and the specific color is referred to by referring to this lookup table from the input RGB values. The R′G′B ′ value subjected to the color correction is directly obtained.

図6は、特定色の色補正を行うルックアップテーブルを作成する処理を示すフローチャートである。まず、変更量であるΔL*、Δc*、Δh*を入力する(S21)。この変更量ΔL*、Δc*、Δh*は、ユーザが入力してもよいし、プリンタ1を製造する製造者が、製造するプリンタ1に最適な値を入力してもよい。次に、ルックアップテーブルを構成するRGBの各軸の各グリッドにおけるRGBの値について、補正されたR’G’B’の値を求めるために、順次グリッドのRGB値を指定する(S22)。次に、その指定されたRGB値に対して、特定色の補正を行ったR’G’B’値を求め、RGB値に対応してR’G’B’値をルックアップテーブルとして記憶する(S23)。このRGB値をR’G’B’値に変換する処理は、図4に示す処理と同一である。   FIG. 6 is a flowchart showing a process for creating a lookup table for performing color correction of a specific color. First, change amounts ΔL *, Δc *, and Δh * are input (S21). The change amounts ΔL *, Δc *, and Δh * may be input by a user, or a manufacturer that manufactures the printer 1 may input an optimal value for the printer 1 that is manufactured. Next, in order to obtain the corrected R′G′B ′ value for the RGB value in each grid of the RGB axes constituting the lookup table, the RGB value of the grid is sequentially designated (S22). Next, an R′G′B ′ value obtained by correcting a specific color is obtained for the designated RGB value, and the R′G′B ′ value corresponding to the RGB value is stored as a lookup table. (S23). The process of converting the RGB value into the R′G′B ′ value is the same as the process shown in FIG.

次に、全てのグリッド位置について、補正されたR’G’B’値が求められたか否かを判断する(S24)。全てのグリッド位置について補正されたR’G’B’値が求められていない場合は(S24:No)S22の処理に戻り、次に指定されるグリッドのRGB値についてR’G’B’値を求め、全てのグリッド位置について補正されたR’G’B’値が求められた場合は(S24:Yes)、このルックアップテーブルを作成する処理を終了する。   Next, it is determined whether corrected R′G′B ′ values have been obtained for all grid positions (S24). If the corrected R′G′B ′ values for all grid positions have not been obtained (S24: No), the process returns to S22, and the R′G′B ′ values for the RGB values of the next designated grid are returned. If R′G′B ′ values corrected for all grid positions are obtained (S24: Yes), the process of creating this lookup table is terminated.

このようにして作成したルックアップテーブルをRAM3またはROM4などに記憶し、入力したRGB値をそのルックアップテーブルを参照することによりR’G’B’に変換することができる。なお、RAM3に記憶する場合は、プリンタ1の電源が遮断された場合に、記憶内容が消失しないように電源バックアップされていることが好ましい。   The lookup table created in this way is stored in the RAM 3 or ROM 4 and the input RGB values can be converted to R'G'B 'by referring to the lookup table. In the case of storing in the RAM 3, it is preferable that the power is backed up so that the stored contents are not lost when the power of the printer 1 is cut off.

以上のように第2の実施形態では、上記のようにしてRGBをR’G’B’へ変換するルックアップテーブルを作成し、そのルックアップテーブルをメモリに記憶しておくので、重み係数曲線を記憶し、重み係数を求めて特定色の指数を求め、変更量に応じた調整量を算出する必要が無く、特定色の補正を少ない処理で適切に速く行うことができる。   As described above, in the second embodiment, a lookup table for converting RGB into R′G′B ′ is created as described above, and the lookup table is stored in the memory. , The weight coefficient is obtained to obtain the index of the specific color, and it is not necessary to calculate the adjustment amount according to the change amount, and the correction of the specific color can be performed appropriately and quickly with less processing.

次に、第3の実施形態について説明する。なお、前記した第1の実施形態と同一部分については、その説明を省略し、異なる部分についてのみ説明する。上記第1の実施形態では、明度(L*)、彩度(c*)、色相(h*)の3つのパラメータのそれぞれの重み係数の関数F(L*)、F(C*)、F(h*)を、特定色が示す色の領域の重み係数を1とし、特定色ではない色を示す領域の重み係数を0として重み係数が1である領域から重み係数が0ではない領域との境界の重み係数をなだらかな曲線により形成するものとした。   Next, a third embodiment will be described. The description of the same parts as those of the first embodiment described above will be omitted, and only different parts will be described. In the first embodiment, the functions F (L *), F (C *), F of the respective weighting factors of the three parameters of lightness (L *), saturation (c *), and hue (h *). (H *) is a region where the weighting factor of the color region indicated by the specific color is 1, the weighting factor of the region indicating the color which is not the specific color is 0, and the region where the weighting factor is 1 to the region where the weighting factor is not 0 The boundary weighting coefficient is formed by a gentle curve.

しかしながら、この方法では、色調整処理を行う画像の種類に応じた最適な補正を行うことができない場合がある。例えば、肌色を例にとれば、大人の肌色、子供の肌色、男性の肌色、女性の肌色などにより肌色の特色が異なる。人種が異なるとこの差はさらに顕著なものとなる。したがって、それぞれの画像に最適な重み係数の関数を取得し、その関数を使用して色調整を行うのが最も適切な方法である。第3の実施形態では、デジタルカメラなどで撮影したサンプル画像から、色調整を行う特定色を多く含む領域を抜き出し、その領域における明度(L*)、彩度(c*)、色相(h*)の分布を調べ、その分布に基づいて重み係数関数を取得する。   However, this method may not be able to perform optimal correction according to the type of image on which color adjustment processing is performed. For example, taking skin color as an example, the skin color characteristics differ depending on the skin color of adults, the skin color of children, the skin color of men, the skin color of women, and the like. This difference is even more pronounced for different races. Therefore, it is the most appropriate method to obtain a function of an optimum weighting factor for each image and perform color adjustment using the function. In the third embodiment, an area including a large number of specific colors for color adjustment is extracted from a sample image taken with a digital camera or the like, and lightness (L *), saturation (c *), and hue (h *) in the area are extracted. ) And a weighting coefficient function is obtained based on the distribution.

図7は、サンプル画像の例を示すもので、デジタルカメラなどにより撮影された画像に基づいて明度(L*)、彩度(c*)、色相(h*)の分布を求める際に、画像から特定色が多く含まれる領域を抜き出す様子を模式的に示す模式図である。図7(a)は、日本人の大人の顔をデジタルカメラで撮影した画像を模式的に示すもので、図7(b)は、この元画像から、頭髪や目の部分を取り去ったサンプル画像を示すものである。同様に図7(c)は、日本人の幼児の顔をデジタルカメラで撮影した画像を模式的に示すもので、図7(d)は、この元画像から、頭髪や目の部分を取り去ったサンプル画像を示すものである。これらのサンプル画像は、特定色(この例では肌色)により構成される領域と、その領域に隣接し、特定色を調整する際に調和がとれた調整が行われるべき領域を含むように抜き取られたものである。   FIG. 7 shows an example of a sample image. When obtaining the distribution of lightness (L *), saturation (c *), and hue (h *) based on an image taken by a digital camera or the like, the image It is a schematic diagram which shows typically a mode that the area | region where many specific colors are included from is extracted. FIG. 7A schematically shows an image of a Japanese adult's face taken with a digital camera. FIG. 7B is a sample image in which the hair and eyes are removed from this original image. Is shown. Similarly, FIG. 7 (c) schematically shows an image obtained by photographing a Japanese infant's face with a digital camera. FIG. 7 (d) removes the hair and eyes from this original image. A sample image is shown. These sample images are extracted so as to include a region constituted by a specific color (in this example, skin color) and a region adjacent to the region and to be adjusted in harmony when the specific color is adjusted. It is a thing.

図8は、このサンプル画像を用いて重み係数の関数を取得する処理を示すフローチャートである。まず、サンプル画像のRGB値を入力し、そのRGB値をICCsRGBプロファイル変換を行って、XYZ値に変換する(S31)。次に、XYZ値からL*a*b*値に変換し(S32)、さらにL*a*b*値をL*c*h*値に変換する(S33)。これらの変換方法は、上述の通りであるので、ここでは説明を省略する。このようにして変換したサンプル画像を形成する全てのピクセルについてL*c*h*値を求めることができる。   FIG. 8 is a flowchart showing processing for obtaining a function of a weighting coefficient using this sample image. First, RGB values of a sample image are input, and the RGB values are converted into XYZ values by performing ICCsRGB profile conversion (S31). Next, the XYZ value is converted into an L * a * b * value (S32), and the L * a * b * value is further converted into an L * c * h * value (S33). Since these conversion methods are as described above, description thereof is omitted here. L * c * h * values can be obtained for all pixels forming the sample image converted in this way.

次に、これらのピクセル毎のL*値、c*値、h*値に基づいて、明度(L*)、彩度(c*)、色相(h*)の各軸において、各値をとるピクセルの数を計数する。例えば、明度L*を例にとると、明度L*が0となっているピクセルの数、明度L*が1となっているピクセルの数というように、明度L*の0から100までのそれぞれの整数値に対して、いくつのピクセルが存在するかを計数するものである。このようにして、各明度(L*)、彩度(c*)、色相(h*)の分布を示すヒストグラムを作成する(S34)。   Next, based on the L * value, c * value, and h * value for each pixel, each value is taken in each axis of lightness (L *), saturation (c *), and hue (h *). Count the number of pixels. For example, taking the lightness L * as an example, the number of pixels having a lightness L * of 0 and the number of pixels having a lightness L * of 1, respectively, from 0 to 100 of the lightness L *. It counts how many pixels exist for an integer value of. In this way, a histogram showing the distribution of each lightness (L *), saturation (c *), and hue (h *) is created (S34).

図9は、上記のようにして作成されたヒストグラムの一例を示すものである。図9に示すヒストグラムは、3人の200×250ドットの顔画像を集計したものである。   FIG. 9 shows an example of a histogram created as described above. The histogram shown in FIG. 9 is a total of three 200 × 250 dot face images.

図9(a)は、明度(L*)について示すヒストグラムであり、横軸を明度(L*)とし、縦軸をピクセル数として示すものである。このヒストグラムが示すように、明度(L*)の値が80である近辺が最もピクセル数が多く、最大値は、約1万4千ピクセルとなっている。同様に、図9(b)は、彩度(c*)について示すヒストグラムであり、横軸を彩度(c*)とし、縦軸をピクセル数として示すものである。このヒストグラムが示すように、彩度(c*)の値が40である近辺が最もピクセル数が多く、最大値は約2万4千ピクセルとなっている。同様に、図9(c)は、色相(h*)について示すヒストグラムであり、横軸を色相(h*)とし、縦軸をピクセル数として示すものである。このヒストグラムが示すように、色相(h*)の値が70度である近辺が最もピクセル数が多く、最大値は、約1万8千ピクセルとなっている。   FIG. 9A is a histogram showing the lightness (L *), where the horizontal axis indicates the lightness (L *) and the vertical axis indicates the number of pixels. As shown in this histogram, the number of pixels is the largest in the vicinity where the value of lightness (L *) is 80, and the maximum value is about 14,000 pixels. Similarly, FIG. 9B is a histogram showing saturation (c *), where the horizontal axis represents saturation (c *) and the vertical axis represents the number of pixels. As shown in this histogram, the number of pixels is the largest in the vicinity where the value of saturation (c *) is 40, and the maximum value is about 24,000 pixels. Similarly, FIG. 9C is a histogram showing the hue (h *), in which the horizontal axis represents hue (h *) and the vertical axis represents the number of pixels. As shown in this histogram, the number of pixels is the largest in the vicinity where the hue (h *) value is 70 degrees, and the maximum value is about 18,000 pixels.

次に、これらの各ヒストグラムに近似する近似関数を求める(S35)。近似関数としては、正規分布を示すガウス関数を用いる。ガウス関数を用いることにより最も良くヒストグラムに近似させる関数を求めることができる。ガウス関数を、   Next, an approximation function approximating each of these histograms is obtained (S35). As an approximate function, a Gaussian function indicating a normal distribution is used. By using a Gaussian function, a function that best approximates the histogram can be obtained. Gaussian function

とし、近似関数を
Fit(x、a、b)=Gauss(x,a,b)×(2−Gauss(x,a,b)
と定義する。ここで、明度(L*)の近似関数は、x=L*とし、彩度(c*)の近似関数は、x=c*とし、色相(h*)の近似関数は、x=h*とするものである。
And the approximate function is Fit (x, a, b) = Gauss (x, a, b) × (2-Gauss (x, a, b))
It is defined as Here, the approximate function of lightness (L *) is x = L *, the approximate function of saturation (c *) is x = c *, and the approximate function of hue (h *) is x = h *. It is what.

このように定義し、各明度(L*)、彩度(c*)、色相(h*)について、最小二乗法により、各ヒストグラムに近似する近似関数を求める。
最小二乗法とは、明度L*についての近似関数をFit(L*)とし、ヒストグラムの明度L*に対応する値をhist(L*)とし、
With this definition, for each lightness (L *), saturation (c *), and hue (h *), an approximate function that approximates each histogram is obtained by the least square method.
In the least square method, the approximation function for the lightness L * is set to Fit (L *), the value corresponding to the lightness L * of the histogram is set to hist (L *),

とした時に、Curvの値が最小となるa、bの値を求める方法である。なお、Σは、L*がとりうる値のすべてについて和を求めることを意味し、本実施形態では、L*の範囲は、0から100である。この演算は、コンピュータを用いて、aとbの値を順次変更することにより求めることができる。彩度c*、色相h*についても、同様の演算により求めることができる。 This is a method of obtaining the values of a and b that minimize the value of Curv. Note that Σ means obtaining a sum for all possible values of L *. In this embodiment, the range of L * is 0 to 100. This calculation can be obtained by sequentially changing the values of a and b using a computer. The saturation c * and the hue h * can also be obtained by the same calculation.

図9に示すヒストグラムについては、明度L*の近似関数は、Fit(L*、78、220)彩度c*の近似関数は、Fit(c*、42、140)、色相h*の近似関数は、Fit(h*、73、220)が得られた。なお、aとbの値を順次変更して、各ヒストグラムと目視により対比し、最もヒストグラムに近似するaとbの値を求めるようにしてもよい。   For the histogram shown in FIG. 9, the approximate function of lightness L * is Fit (L *, 78, 220), the approximate function of chroma c * is Fit (c *, 42, 140), and the approximate function of hue h *. Fit (h *, 73, 220) was obtained. Note that the values of a and b may be sequentially changed and visually compared with each histogram to obtain the values of a and b that are closest to the histogram.

以上のように第3の実施形態では、被写体のサンプル画像について明度(L*)、彩度(c*)、色相(h*)の各ヒストグラムを作成し、そのヒストグラムに合致する近似関数を求め、この近似関数を重み係数として特定色の色の微調整を行うものである。よって、特定色を大きく変更することができるとともに、特定色に隣接する領域の変更量を抑えることができるので、実際の画像の種類に応じた調整を効率よく行うことができる。   As described above, in the third embodiment, each histogram of lightness (L *), saturation (c *), and hue (h *) is created for a sample image of a subject, and an approximate function that matches the histogram is obtained. The color of a specific color is finely adjusted using this approximate function as a weighting coefficient. Therefore, the specific color can be changed greatly, and the amount of change in the area adjacent to the specific color can be suppressed, so that the adjustment according to the actual image type can be performed efficiently.

したがって、肌の色を調整する場合において、大人の肌色、子供の肌色、男性の肌色、女性の肌色や、人種に対応した近似関数をそれぞれ記憶し、操作パネル30に設けられた操作子によりいずれかの近似関数を選択し、選択された近似関数により、調整を行うとより良い調整を行うことができる。   Therefore, in the case of adjusting the skin color, an adult skin color, a child skin color, a male skin color, a female skin color, and an approximate function corresponding to the race are respectively stored, and an operator provided on the operation panel 30 is used. It is possible to perform better adjustment by selecting any one of the approximation functions and performing adjustment according to the selected approximation function.

なお、請求項1記載の重み係数取得手段および請求項5または7記載の重み係数取得ステップは、図5に記載のフローチャートのS12の処理が該当し、請求項1記載の特定色指数取得手段および請求項5または7記載の特定色指数取得ステップは、図5に記載のフローチャートのS13の処理が該当し、請求項1記載の変更量設定手段および請求項5または7記載の変更量設定ステップは、図5に記載のフローチャートのS11の処理が該当し、請求項1記載の調整手段および請求項5または7記載の調整ステップは、図5に記載のフローチャートのS14の処理が該当する。   The weighting factor acquisition unit according to claim 1 and the weighting factor acquisition step according to claim 5 or 7 correspond to the processing of S12 in the flowchart shown in FIG. 5, and the specific color index acquisition unit according to claim 1 and The specific color index acquisition step according to claim 5 or 7 corresponds to the processing of S13 in the flowchart shown in FIG. 5, and the change amount setting means according to claim 1 and the change amount setting step according to claim 5 or 7 include 5 corresponds to the process of S11 in the flowchart shown in FIG. 5, and the adjustment unit described in claim 1 and the adjustment step described in claim 5 or 7 correspond to the process of S14 in the flowchart shown in FIG.

以上実施形態に基づき本発明を説明したが、本発明は上記実施形態に何ら限定されるものでなく、本発明の趣旨を逸脱しない範囲内で種々の改良変形が可能であることは容易に推察できるものである。   Although the present invention has been described based on the above embodiments, the present invention is not limited to the above embodiments, and various modifications can be easily made without departing from the spirit of the present invention. It can be done.

例えば、上記第1の実施形態では、外部メディアから入力した画像情報RGBをまず、ICCsRGBプロファイル変換を行ってXYG値とし、次にXYZ値から演算によりL*a*b*の値とし、更にL*a*b*の値からL*c*h*の値を演算により算出するものとしたが、RGB値からルックアップテーブルを参照するなどの方法により直にL*c*h*の値へ変換するようにしてもよい。   For example, in the first embodiment, image information RGB input from an external medium is first subjected to ICCsRGB profile conversion to obtain an XYG value, and then an L * a * b * value is calculated from the XYZ value. Although the value of L * c * h * is calculated from the value of * a * b * by calculation, it is directly converted to the value of L * c * h * by referring to the lookup table from the RGB value. You may make it convert.

また、肌色補正が行われたL*’c*’h*’の値をR’G’B’の値へ変換する場合も、ルックアップテーブルを参照するなどにより、直にR’G’B’値へ変換するようにしてもよい。   Also, when converting the value of L * 'c *' h * 'subjected to skin color correction into the value of R'G'B', R'G'B is directly converted by referring to a lookup table. 'It may be converted to a value.

また、上記第1の実施形態では、プリンタ1において、特定色の補正処理を行うものとしたが、PC20において特定色の補正処理を行い、補正処理を行った画像情報(R’G’B’)、または印刷情報(CMYK)をプリンタ1に送信するようにしてもよい。   In the first embodiment, the printer 1 performs the correction process for the specific color. However, the PC 20 performs the correction process for the specific color, and the corrected image information (R′G′B ′). ) Or print information (CMYK) may be transmitted to the printer 1.

また、第2の実施形態では、入力された変更量ΔL*、Δc*、Δh*に基づいて、RGB値から補正されたR’G’B’値へ変換するルックアップテーブルを作成し、このルックアップテーブルを用いてR’G’B’に変換するものとしたが、プリンタ1においては、RGB値から、特定色の補正を行ったCMYK値を求めるルックアップテーブルを記憶し、RGB値からCMYK値へ変換するようにしてもよい。   In the second embodiment, based on the input change amounts ΔL *, Δc *, Δh *, a lookup table for converting RGB values into corrected R′G′B ′ values is created. Although the conversion to R′G′B ′ is performed using a lookup table, the printer 1 stores a lookup table for obtaining a CMYK value obtained by correcting a specific color from the RGB value, and from the RGB value. You may make it convert into a CMYK value.

また、上記第2の実施形態では、特定色の補正を行ったルックアップテーブルをプリンタ1に備えるものとしたが、PC20においてこのルックアップテーブルを備え、PC20で補正を行って、補正を行った画像情報または印刷情報をプリンタ1に送信するようにしてもよい。   In the second embodiment, the printer 1 is provided with the lookup table in which the specific color is corrected. However, the PC 20 includes the lookup table, and the PC 20 performs the correction to perform the correction. Image information or print information may be transmitted to the printer 1.

本発明の実施例におけるプリンタおよびパーソナルコンピュータの電気的構成を示すブロック図である。FIG. 2 is a block diagram showing an electrical configuration of a printer and a personal computer in an embodiment of the present invention. (a)は、プリンタの外観のパネル部分を示す平面図、(b)は正面図である。(A) is a top view which shows the panel part of the external appearance of a printer, (b) is a front view. 重み係数を示すグラフであり、(a)は、明度(L*)、(b)は、彩度(c*)、(c)は、色相(h*)についてそれぞれ示すグラフである。It is a graph which shows a weighting coefficient, (a) is lightness (L *), (b) is saturation (c *), (c) is a graph which each shows about hue (h *). 特定色調整処理を示すフローチャートである。It is a flowchart which shows a specific color adjustment process. 肌色補正処理を示すフローチャートである。It is a flowchart which shows a skin color correction process. 第2の実施形態におけるRGB値を特定色の補正を行ったR’G’B’値へ変換するルックアップテーブルを作成する処理を示すフローチャートである。It is a flowchart which shows the process which produces the look-up table which converts RGB value into R'G'B 'value which correct | amended the specific color in 2nd Embodiment. サンプル画像を模式的に示すであり、(a)は、大人の顔の画像を示し、(b)は、(a)の画像から、特定色を多く含む領域を抜き出した画像を示し、(c)は、幼児の顔の画像を示し、(d)は、(c)の画像から特定色を多く含む領域を抜き出した画像をそれぞれ示す模式図である。It is a figure which shows a sample image typically, (a) shows the image of an adult's face, (b) shows the image which extracted the field which contains many specific colors from the image of (a), ( (c) shows an image of an infant's face, and (d) is a schematic diagram showing images obtained by extracting regions containing a lot of specific colors from the image of (c). サンプル画像に基づいて近似関数を求める処理を示すフローチャートである。It is a flowchart which shows the process which calculates | requires an approximate function based on a sample image. サンプル画像の明度、彩度、色相のそれぞれについて、明度、彩度、色相の各値に対応するピクセル数を計数して作成されたヒストグラムである。(a)は、明度(L*)、(b)は、彩度(c*)、(c)は、色相(h*)についてそれぞれ示すグラフである。It is a histogram created by counting the number of pixels corresponding to each value of brightness, saturation, and hue for each of the brightness, saturation, and hue of the sample image. (A) is a graph showing lightness (L *), (b) is saturation (c *), and (c) is a graph showing hue (h *).

符号の説明Explanation of symbols

1 プリンタ
4 ROM(重み係数曲線記憶手段)
4e ルックアップテーブル(変換手段の一部)
5 USBインターフェース(入力手段)
6 外部メディアスロット(入力手段)
20 パーソナルコンピュータ
1 Printer 4 ROM (weighting coefficient curve storage means)
4e Look-up table (part of conversion means)
5 USB interface (input means)
6 External media slot (input means)
20 Personal computer

Claims (7)

カラー画像情報が有する複数の基本色の組み合わせの値を入力する入力手段と、その入力手段に入力された画像情報を明度、色相、彩度の各値に変換する変換手段と、その変換手段により変換された明度、色相、彩度の各値を調整する調整手段と、その調整手段により調整された明度、色相、彩度の値に基づいてカラー画像を補正する補正手段とを備えた画像処理装置において、
色相と彩度の各値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とする重み係数曲線として記憶し、明度の値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とし、更に、明度が最大値である場合の重み係数を0ではない第2の所定の値とする重み係数曲線として記憶する重み係数曲線記憶手段と、
前記変換手段により変換された明度、色相、彩度の各値に対応する重み係数を前記重み係数曲線記憶手段に記憶された重み係数曲線を参照することにより求める重み係数取得手段と、
その重み係数取得手段により取得された各重み係数を相互に乗算することにより特定色指数を求める特定色指数取得手段と、
明度、色相、彩度の各値の変更量を設定する変更量設定手段とを備え、
前記調整手段は、前記変更量設定手段により設定された変更量に前記特定色指数取得手段により求められた特定色指数を乗算することにより調整量を設定し、その調整量に基づいて明度、色相、彩度の各値を調整するものであることを特徴とする画像処理装置。
An input unit that inputs a value of a combination of a plurality of basic colors included in color image information, a conversion unit that converts image information input to the input unit into values of brightness, hue, and saturation, and a conversion unit Image processing comprising adjustment means for adjusting the converted values of brightness, hue, and saturation, and correction means for correcting a color image based on the values of brightness, hue, and saturation adjusted by the adjustment means In the device
For each value of hue and saturation, a weighting factor for a value indicating a specific color is set to a first predetermined value, and a weighting factor for a value in a predetermined range continuing to the value indicating a specific color is set to the first predetermined value. Is stored as a weighting coefficient curve that is a value obtained by a monotonically decreasing or monotonically increasing function with the value of maximal being the maximum, and for the lightness value, the weighting coefficient for the value indicating the specific color is the first predetermined value In addition, a weighting factor for a value in a predetermined range continuous with a value indicating a specific color is a value obtained by a monotonically decreasing or monotonically increasing function with the first predetermined value as a maximum, and the brightness is a maximum value. Weight coefficient curve storage means for storing a weight coefficient in a certain case as a weight coefficient curve having a second predetermined value other than 0;
A weighting factor acquisition unit for obtaining a weighting factor corresponding to each value of brightness, hue, and saturation converted by the converting unit by referring to a weighting factor curve stored in the weighting factor curve storage unit;
Specific color index acquisition means for obtaining a specific color index by multiplying each weight coefficient acquired by the weight coefficient acquisition means,
A change amount setting means for setting a change amount of each value of brightness, hue, and saturation,
The adjustment unit sets an adjustment amount by multiplying the change amount set by the change amount setting unit by the specific color index obtained by the specific color index acquisition unit, and based on the adjustment amount, brightness, hue An image processing apparatus for adjusting each value of saturation.
前記重み係数曲線記憶手段に記憶される重み係数曲線における特定色を示す値に連続する所定範囲の値に対する重み係数を求める単調増加または単調減少する関数は、正弦関数または余弦関数であることを特徴とする請求項記載の画像処理装置。 The monotonically increasing or monotonically decreasing function for obtaining a weighting factor for a predetermined range of values that are continuous with the value indicating the specific color in the weighting factor curve stored in the weighting factor curve storage means is a sine function or a cosine function. The image processing apparatus according to claim 1 . 前記特定色は、肌色であることを特徴とする請求項1または2記載の画像処理装置。 Wherein the specific color, the image processing apparatus according to claim 1 or 2, wherein it is a skin color. カラー画像情報が有する複数の基本色の組み合わせの値を入力する入力手段を備え、その入力手段に入力されたカラー画像を処理する画像処理装置において実行される画像処理プログラムであって、
前記入力手段に入力された画像情報を明度、色相、彩度の各値に変換する変換ステップと、
その変換ステップにより変換された明度、色相、彩度の各値に対応する重み係数を、色相と彩度の各値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とする重み係数曲線として記憶し、明度の値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とし、更に、明度が最大値である場合の重み係数を0ではない第2の所定の値とする重み係数曲線として記憶する重み係数曲線記憶手段を参照することにより求める重み係数取得ステップと、
その重み係数取得ステップにより求められた各重み係数を相互に乗算することにより特定色指数を求める特定色指数取得ステップと、
明度、色相、彩度の各値の変更量を設定する変更量設定ステップと、
その変更量設定ステップにより設定された変更量に前記特定色指数取得ステップにより求められた特定色指数を乗算することにより調整量を設定し、その調整量に基づいて明度、色相、彩度の各値を調整する調整ステップと、
その調整ステップにより調整された明度、色相、彩度の値に基づいてカラー画像を補正する補正ステップとを備えていることを特徴とする画像処理プログラム。
An image processing program that is executed in an image processing apparatus that includes an input unit that inputs values of combinations of a plurality of basic colors included in color image information and processes a color image input to the input unit ,
A conversion step of converting the image information input to the input means into values of brightness, hue, and saturation;
The weighting coefficient corresponding to each value of lightness, hue, and saturation converted by the conversion step is set as the first predetermined value for the value indicating the specific color for each value of hue and saturation. And storing a weighting factor for a value in a predetermined range continuous with a value indicating a specific color as a weighting factor curve having a value obtained by a monotonically decreasing or monotonically increasing function with the first predetermined value as a maximum, For the value of brightness, the weighting coefficient for the value indicating the specific color is set to the first predetermined value, and the weighting coefficient for the value in a predetermined range continuous to the value indicating the specific color is maximized with the first predetermined value. A weight coefficient curve storage that stores a value obtained by a monotonically decreasing or monotonically increasing function as a weight coefficient curve in which the weight coefficient when the brightness is the maximum value is a second predetermined value that is not 0 means And the weighting coefficient obtaining step of obtaining by reference,
A specific color index obtaining step for obtaining a specific color index by mutually multiplying each weight coefficient obtained by the weight coefficient obtaining step;
A change amount setting step for setting a change amount of each value of brightness, hue, and saturation ;
An adjustment amount is set by multiplying the change amount set in the change amount setting step by the specific color index obtained in the specific color index acquisition step, and each of brightness, hue, and saturation is set based on the adjustment amount. An adjustment step to adjust the value;
An image processing program comprising: a correction step for correcting a color image based on values of brightness, hue, and saturation adjusted by the adjustment step .
前記特定色は、肌色であることを特徴とする請求項記載の画像処理プログラム。 The image processing program according to claim 4 , wherein the specific color is a skin color. カラー画像情報が有する複数の基本色の組み合わせの値を入力する入力ステップと、その入力ステップにより入力された画像情報を明度、色相、彩度の3つの値に変換する変換ステップと、その変換ステップにより変換された明度、色相、彩度の各値を調整する調整ステップと、その調整ステップにより調整された明度、色相、彩度の各値に基づいてカラー画像を補正する補正ステップとを備えた画像処理方法において、
色相と彩度の各値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とする重み係数曲線とし、明度の値については、特定色を示す値に対する重み係数を第1の所定の値とするとともに、特定色を示す値に連続する所定範囲の値に対する重み係数を前記第1の所定の値を最大とした単調減少または単調増加する関数により求められた値とし、更に、明度が最大値である場合の重み係数を0ではない第2の所定の値とする重み係数曲線とする重み係数曲線を形成する重み係数曲線形成ステップと、
前記変換ステップにより変換された明度、色相、彩度の各値に対応する重み係数を前記重み係数曲線形成ステップにより形成された重み係数曲線を参照することにより求める重み係数取得ステップと、
前記重み係数取得ステップにより求められた各重み係数を相互に乗算することにより特定色指数を求める特定色指数取得ステップと、
明度、色相、彩度の各値の変更量を設定する変更量設定ステップとを備え、
前記調整ステップは、前記変更量設定ステップにより設定された変更量に、前記特定色指数取得ステップにより求められた特定色指数を乗算することにより調整量を設定し、その調整量に基づいて明度、色相、彩度の各値を調整するものであることを特徴とする画像処理方法。
An input step for inputting a value of a combination of a plurality of basic colors included in color image information, a conversion step for converting the image information input in the input step into three values of brightness, hue, and saturation, and the conversion step An adjustment step for adjusting the brightness, hue, and saturation values converted by the correction step, and a correction step for correcting the color image based on the brightness, hue, and saturation values adjusted by the adjustment step. In the image processing method,
For each value of hue and saturation, a weighting factor for a value indicating a specific color is set to a first predetermined value, and a weighting factor for a value in a predetermined range continuing to the value indicating a specific color is set to the first predetermined value. A weight coefficient curve that is a value obtained by a monotonically decreasing or monotonically increasing function with the value of maximal as the maximum value, and for the brightness value, the weight coefficient for the value indicating the specific color is the first predetermined value, When the weight coefficient for a predetermined range of values that are continuous with a value indicating a specific color is a value obtained by a monotonically decreasing or monotonically increasing function with the first predetermined value being the maximum, and the brightness is the maximum value A weighting factor curve forming step for forming a weighting factor curve as a weighting factor curve having a second predetermined value other than 0 as a weighting factor;
A weighting factor acquisition step for obtaining a weighting factor corresponding to each value of brightness, hue, and saturation converted by the conversion step by referring to the weighting factor curve formed by the weighting factor curve forming step;
A specific color index obtaining step for obtaining a specific color index by mutually multiplying each weight coefficient obtained by the weight coefficient obtaining step;
A change amount setting step for setting a change amount of each value of brightness, hue, and saturation,
The adjustment step sets an adjustment amount by multiplying the change amount set by the change amount setting step by the specific color index obtained by the specific color index acquisition step, and brightness based on the adjustment amount, An image processing method characterized by adjusting each value of hue and saturation.
前記特定色は、肌色であることを特徴とする請求項記載の画像処理方法。 The image processing method according to claim 6 , wherein the specific color is a skin color.
JP2005046905A 2005-02-23 2005-02-23 Image processing apparatus, image processing program, and image processing method Expired - Fee Related JP4023491B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2005046905A JP4023491B2 (en) 2005-02-23 2005-02-23 Image processing apparatus, image processing program, and image processing method
US11/359,537 US7595920B2 (en) 2005-02-23 2006-02-23 Processing apparatus and processing method of color image information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005046905A JP4023491B2 (en) 2005-02-23 2005-02-23 Image processing apparatus, image processing program, and image processing method

Publications (2)

Publication Number Publication Date
JP2006237807A JP2006237807A (en) 2006-09-07
JP4023491B2 true JP4023491B2 (en) 2007-12-19

Family

ID=37045011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005046905A Expired - Fee Related JP4023491B2 (en) 2005-02-23 2005-02-23 Image processing apparatus, image processing program, and image processing method

Country Status (1)

Country Link
JP (1) JP4023491B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015154194A (en) * 2014-02-13 2015-08-24 株式会社リコー Image processing apparatus, image processing system, image processing method, program, and recording medium
JP7087331B2 (en) * 2017-10-05 2022-06-21 カシオ計算機株式会社 Image processing equipment, image processing methods and programs

Also Published As

Publication number Publication date
JP2006237807A (en) 2006-09-07

Similar Documents

Publication Publication Date Title
JP4063290B2 (en) Image processing apparatus, image processing program, and image processing method
US7595920B2 (en) Processing apparatus and processing method of color image information
JP3989738B2 (en) Image forming method, image forming apparatus, program, and recording medium
US7379096B2 (en) Image processing method for processing image data based on conditions customized for each user
JP2002016818A (en) Color correction method and device, and recording medium
JP2004320626A (en) Lattice point determining method for preparing correspondence relation defining data, lattice point determining apparatus for preparing correspondence relation defining data, lattice point determining program for preparing correspondence relation defining data, print control apparatus, print control method, and print control program
JP4955082B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP2009010889A (en) Image processor and profile creation method
JP4788393B2 (en) Image processing apparatus, image processing method, and image processing program
JP4023492B2 (en) Image processing apparatus, image processing program, and image processing method
JP2002112022A (en) Image formation device, image formation method, and recording medium capable of reading computer recording image formation program
JP4023491B2 (en) Image processing apparatus, image processing program, and image processing method
JP4748796B2 (en) Image processing apparatus and image processing method.
JP2007228010A (en) Image processing apparatus, computer program, image output apparatus, and print image preview method
JP4205839B2 (en) Color conversion method and color conversion apparatus
JP3982523B2 (en) Image processing apparatus, image processing program, and image processing method
JP4539778B2 (en) Image data color correction
JP4321698B2 (en) Image output method and apparatus, and recording medium
JP4315027B2 (en) Image background removal technology
JP4055783B2 (en) Image processing apparatus, image processing program, and image processing method
JP4075900B2 (en) Image processing apparatus, image processing program, and image processing method
JP4241492B2 (en) Image forming apparatus
JP2004297617A (en) Image processing device, image forming device, image processing method, image processing program, and computer readable recording medium recorded with image processing program
JP4764889B2 (en) Image processing apparatus and image processing method
JP2007228323A (en) Image processing apparatus, image processing method and image processing program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070307

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070703

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070802

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: 20070911

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070924

R150 Certificate of patent or registration of utility model

Ref document number: 4023491

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: 20101012

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101012

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111012

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111012

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121012

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131012

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees