JP4332474B2 - 画像処理装置およびその方法 - Google Patents
画像処理装置およびその方法 Download PDFInfo
- Publication number
- JP4332474B2 JP4332474B2 JP2004208879A JP2004208879A JP4332474B2 JP 4332474 B2 JP4332474 B2 JP 4332474B2 JP 2004208879 A JP2004208879 A JP 2004208879A JP 2004208879 A JP2004208879 A JP 2004208879A JP 4332474 B2 JP4332474 B2 JP 4332474B2
- Authority
- JP
- Japan
- Prior art keywords
- saturation
- color
- hue
- correction
- representative
- 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
Links
Images
Description
図1は実施例の画像処理装置の基本構成を示すブロック図である。
図2は画像処理装置の機能構成を示すブロック図である。
図3はCPU 201が実行する画像補正処理を示すフローチャートである。
図4はCPU 201が実行する所定色領域の色補正処理(S6)を示すフローチャートである。
Ph(Hdist) = K1・exp(-Hdist 2/t1) …(1)
ここで、K1、t1は定数
Hdist = |Ht - Hr|
Ct < Crの場合 Pc(Cdist) = -a1・Cdist 2 + b1 …(2)
Ct ≧ Crの場合 Pc(Cdist) = K2・exp(-Cdist 2/t2) …(3)
ここで、a1、b1、K2、t2は定数
Cdist = |Ct - Cr|
ΔH = max(|Hmax - Hr|, |Hmin - Hr|) …(4)
ここで、関数max()は括弧の中で最大のものを選択する関数
HがHr±ΔHの範囲内 Wh = |H - Hr|/ΔH
Hが上記範囲外 Wh = 0 …(5)
C < Cthの場合 Wc = 0
Cth ≦ C ≦ Crの場合 Wc = (C - Cth)/(Cr - Cth) …(6)
C > Crの場合 Wc = 1
H' = H + W・Dh
Dh = Ph(Ht - Hr) …(7)
W = Wh・Wc・Wp
ここで、Hは色補正前の画素の色相
H'は色補正後の画素の色相
C' = C(W・Kc + 1)
Kc = Pc(Ct - Cr)/Cr (Ct ≠ 0) …(8)
W = Wh・Wc・Wp
ここで、Cは色補正前の画素の彩度
C'は色補正後の画素の彩度
上記の実施例では、ディジタルカメラで撮影した画像をコンピュータで処理する場合を中心について説明したが、写真などをスキャナで読み取った画像の処理にも適用することができる。また、本実施例の機能は、コンピュータだけでなく、ディジタルカメラ、スキャナ、ディスプレイ、プリンタなどのカラー画像機器本体に組み込むこともできる。
なお、本発明は、複数の機器(例えばホストコンピュータ、インタフェイス機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用してもよい。
Claims (6)
- 目標色を取得し、
入力画像から代表色を抽出し、
前記代表色の色相と前記目標色の色相の差に基づき色相を補正するための色相補正係数を設定し、前記代表色の彩度と前記目標色の彩度の差に基づき彩度を補正するための彩度補正係数を設定し、
前記色相補正係数および前記彩度補正係数を用いて前記入力画像に対して色相補正および彩度補正を行う各ステップを有し、
前記彩度補正係数は、前記目標色の彩度が前記代表色の彩度未満の場合は前記入力画像の彩度を上げるように設定され、前記目標色の彩度が前記代表色の彩度以上の場合は前記入力画像の彩度を下げるように設定され、かつ、前記目標色の彩度と前記代表色の彩度の差が等しい場合に、前記彩度を下げる彩度補正の補正量が、前記彩度を上げる彩度補正の補正量に比べて小さくなるように設定されることを特徴とする画像処理方法。 - さらに、注目画素の色と前記目標色から、色相および彩度の重みを求め、
前記色相補正係数、前記彩度補正係数、並びに、前記色相および前記彩度の重みを用いて、前記注目画素に対して前記色相補正および前記彩度補正を行うことを特徴とする請求項1に記載された画像処理方法。 - 前記代表色の抽出は、前記入力画像から顔領域を抽出し、前記顔領域内の画素から前記代表色を抽出することを特徴とする請求項1または請求項2に記載された画像処理方法。
- 前記色相補正は、前記代表色の色相が前記目標色の色相に近いほど前記代表色の色相を前記目標色の色相に近付けるように前記入力画像の色相を補正することを特徴とする請求項1から請求項3の何れか一項に記載された画像処理方法。
- 目標色を取得する取得手段と、
入力画像から代表色を抽出する抽出手段と、
前記代表色の色相と前記目標色の色相の差に基づき色相を補正するための色相補正係数を設定し、前記代表色の彩度と前記目標色の彩度の差に基づき彩度を補正するための彩度補正係数を設定する設定手段と、
前記色相補正係数および前記彩度補正係数を用いて前記入力画像に対して色相補正および彩度補正を行う補正手段とを有し、
前記設定手段は、前記目標色の彩度が前記代表色の彩度未満の場合は前記入力画像の彩度を上げるように前記彩度補正係数を設定し、前記目標色の彩度が前記代表色の彩度以上の場合は前記入力画像の彩度を下げるように前記彩度補正係数を設定し、かつ、前記目標色の彩度と前記代表色の彩度の差が等しい場合に、前記彩度を下げる彩度補正の補正量が、前記彩度を上げる彩度補正の補正量に比べて小さくなるように前記彩度補正係数を設定することを特徴とする画像処理装置。 - コンピュータ装置を制御して、請求項1から請求項4の何れか一項に記載された画像処理を実行することを特徴とするコンピュータプログラム。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004208879A JP4332474B2 (ja) | 2004-07-15 | 2004-07-15 | 画像処理装置およびその方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004208879A JP4332474B2 (ja) | 2004-07-15 | 2004-07-15 | 画像処理装置およびその方法 |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2006031375A JP2006031375A (ja) | 2006-02-02 |
JP2006031375A5 JP2006031375A5 (ja) | 2007-08-30 |
JP4332474B2 true JP4332474B2 (ja) | 2009-09-16 |
Family
ID=35897643
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004208879A Expired - Fee Related JP4332474B2 (ja) | 2004-07-15 | 2004-07-15 | 画像処理装置およびその方法 |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4332474B2 (ja) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007221182A (ja) | 2006-02-14 | 2007-08-30 | Fuji Xerox Co Ltd | 画像処理装置、画像処理プログラムおよび画像処理方法 |
JP4788393B2 (ja) * | 2006-02-24 | 2011-10-05 | セイコーエプソン株式会社 | 画像処理装置、画像処理方法および画像処理プログラム |
-
2004
- 2004-07-15 JP JP2004208879A patent/JP4332474B2/ja not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2006031375A (ja) | 2006-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4324043B2 (ja) | 画像処理装置およびその方法 | |
US7468812B2 (en) | Image processing apparatus and its method for color correction | |
KR101309497B1 (ko) | 높은 동작 범위 이미지 매핑을 위한 히스토그램 조정 | |
KR101309498B1 (ko) | 높은 동적 범위 이미지 매핑을 위한 히스토그램 조정 | |
US6535301B1 (en) | Image processing apparatus, image processing method, image processing program recording medium, color adjustment method, color adjustment device, and color adjustment control program recording medium | |
US7454056B2 (en) | Color correction device, color correction method, and color correction program | |
US6608926B1 (en) | Image processing method, image processing apparatus and recording medium | |
US8463038B2 (en) | Image processing apparatus and method for correcting an image based upon features of the image | |
JP2003274427A (ja) | 画像処理装置、画像処理システム、画像処理方法、記憶媒体、及びプログラム | |
US20100303351A1 (en) | Image processing apparatus, image processing method, and computer program | |
JP2000013626A (ja) | 画像処理方法及び装置及び記憶媒体 | |
JP2006303708A (ja) | 画像処理装置および画像処理方法 | |
US8290262B2 (en) | Color processing apparatus and method thereof | |
WO2000007144A1 (fr) | Dispositif de conversion monotone, procede de conversion monotone et milieu sur lequel un programme de conversion monotone est enregistre | |
US20050068587A1 (en) | Monotone conversion process for color images | |
JPH11146219A (ja) | 画像処理装置、画像処理方法、画像処理プログラムを記録した媒体 | |
JP4332474B2 (ja) | 画像処理装置およびその方法 | |
JP2006203431A (ja) | 画像処理装置および画像処理方法 | |
JP4219577B2 (ja) | 画像処理装置と画像出力装置と画像処理方法及び記憶媒体 | |
US7817303B2 (en) | Image processing and image forming with modification of a particular class of colors | |
JP3817371B2 (ja) | 画像処理方法、装置および記録媒体 | |
JPH10340332A (ja) | 画像処理装置、画像処理方法、画像処理制御プログラムを記録した媒体 | |
JP2006133874A (ja) | 画像処理方法及びその装置 | |
JP3956970B2 (ja) | 画像処理装置、画像処理方法、画像処理プログラムを記録した媒体 | |
JP3941810B2 (ja) | 画像処理装置、画像処理方法、画像処理プログラムを記録した媒体 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070711 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070711 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20070711 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090204 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090213 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090413 |
|
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: 20090615 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090622 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120626 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120626 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130626 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |