JP5213806B2 - 彩度調整回路 - Google Patents
彩度調整回路 Download PDFInfo
- Publication number
- JP5213806B2 JP5213806B2 JP2009163839A JP2009163839A JP5213806B2 JP 5213806 B2 JP5213806 B2 JP 5213806B2 JP 2009163839 A JP2009163839 A JP 2009163839A JP 2009163839 A JP2009163839 A JP 2009163839A JP 5213806 B2 JP5213806 B2 JP 5213806B2
- Authority
- JP
- Japan
- Prior art keywords
- component
- max
- rgb
- circuit
- saturation
- 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.)
- Active
Links
- 238000001514 detection method Methods 0.000 claims description 28
- 238000006243 chemical reaction Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 10
- 230000007423 decrease Effects 0.000 description 3
- NAWXUBYGYWOOIX-SFHVURJKSA-N (2s)-2-[[4-[2-(2,4-diaminoquinazolin-6-yl)ethyl]benzoyl]amino]-4-methylidenepentanedioic acid Chemical compound C1=CC2=NC(N)=NC(N)=C2C=C1CCC1=CC=C(C(=O)N[C@@H](CC(=C)C(O)=O)C(O)=O)C=C1 NAWXUBYGYWOOIX-SFHVURJKSA-N 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Processing Of Color Television Signals (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Description
h=0°, max=minの場合
h=(60°×(g-b)/(max-min)+360°) mod 360°, max=rの場合
h=60°×(b-r)/(max-min)+120°, max=gの場合
h=60°×(r-g)/(max-min)+240°, max=bの場合
l=1/2*(max+min)
s=0, max=minの場合
s=(max-min)/(max+min)=(max-min)/2l, l≦1/2の場合
s=(max-min)/(2-(max+min))=(max-min)/(2-2l), l>1/2の場合
q=l*(1+s), l<1/2の場合
q=l+s-(l*s), l≧1/2の場合
p=2*l-q
hk=h/360°
tR=hk+1/3
tG=hk
tB=hk-1/3
tC=tC+1.0, tC<0の場合
tC=tC-1.0, tC>1の場合
ColorC=p+((q-p)*6*tC), tC<1/6の場合
ColorC=q, 1/6≦tC<1/2の場合
ColorC=p+((q-p)*6*(2/3-tC)), 1/2≦tC<2/3の場合
ColorC=p, その他の場合
h=0°, max=minの場合
h=(60°×(g-b)/(max-min)+360°) mod 360°, max=rの場合
h=60°×(b-r)/(max-min)+120°, max=gの場合
h=60°×(r-g)/(max-min)+240°, max=bの場合
v=max
s=0, max=0の場合
s=(max-min)/max, max≠0の場合
hi=[h/60°]mod 6
f=h/60°-[h/60°]
p=v(1-s)
q=v(1-fs)
t=v(1-(1-f)s)
(r,g,b)=(v,t,p), hi=0の場合
(r,g,b)=(q,v,p), hi=1の場合
(r,g,b)=(p,v,t), hi=2の場合
(r,g,b)=(p,q,v), hi=3の場合
(r,g,b)=(t,p,v), hi=4の場合
(r,g,b)=(v,p,q), hi=5の場合
特許文献2には、入力のRGB値のうちの、最大値α、中央値β、最小値γを求め、これらを利用して、HSV色空間に変換することなく、色相、明度を変化させることなくHSV色空間の彩度を調整する技術が開示されている。
前記RGB成分の中の最大値および最小値を検出する最大値・最小値検出回路と、
前記RGBそれぞれの成分について、
前記最大値と最小値との和と、それぞれの成分と、彩度調整係数とをもちいた論理演算を行った結果を補正済みRGB成分として出力する補正済みRGB成分生成回路とを
備え、
前記論理演算が、それぞれの成分をX,補正済み成分をX’,前記最大値をMAX,前記最小値をMIN,前記彩度調整係数をnとして、
X’=((MAX+MIN)・(n−1)+2X)/2n
で表されることを特徴とする彩度調整回路を提供するものである。
前記RGB成分の中の最大値を検出する最大値検出回路と、
前記RGB成分のそれぞれについて、
それぞれの成分が最大値である場合にはそのまま、それ以外の場合には、それぞれの成分の値と前記最大値と彩度調整係数とをもちいた論理演算を行った結果を補正済みRGB成分として出力する補正済みRGB成分生成回路とを
備え、
前記論理演算が、それぞれの成分をX,補正済み成分をX’,前記最大値をMAX,前記彩度調整係数をnとして、
X’=((n−1)・MAX+X)/n
で表されることを特徴とする彩度調整回路を提供する。
R'=((max(R,G,B)+min(R,G,B))(n-1)+2R)/(2n)
G'=((max(R,G,B)+min(R,G,B))(n-1)+2G)/(2n)
B'=((max(R,G,B)+min(R,G,B))(n-1)+2B)/(2n)
T=((max(R,G,B)+min(R,G,B))(n-1))/(2n)
R'=T+R/n
G'=T+G/n
B'=T+B/n
以下の説明では、R=max(R,G,B)、B=min(R,G,B)の場合について説明するが、G=max(R,G,B)等の他の場合も同様に証明できる。
R'=((max+min)(n-1)+2max)/(2n)
G'=((max+min)(n-1)+2G)/(2n)
B'=((max+min)(n-1)+2min)/(2n)
H=60°*(G'-B')/(R'-B')+360°
=60°*(((max+min)(n-1)+2G)/(2n)-((max+min)(n-1)+2min)/(2n))
/(((max+min)(n-1)+2max)/(2n)-((max+min)(n-1)+2min)/(2n))+360°
=60°*((G/n-min/n)/(max/n-min/n))+360°
=60°*((G-min)/(max-min))+360°
=60°*(G-B)/(R-B)+360°
L=(R'+B')/2
=(((max+min)(n-1)+2max)/(2n)+((max+min)(n-1)+2min)/(2n))
=(max+min)/2
=(R+B)/2
S=(R'+B')/(2L)
=(((max+min)(n-1)+2max)/(2n)+((max+min)(n-1)+2min)/(2n))/(2L)
=(max+min)/(2nL)
=(R+B)/(2nL)
R'=((max(R,G,B)+min(R,G,B))+2R)/(4)
G'=((max(R,G,B)+min(R,G,B))+2G)/(4)
B'=((max(R,G,B)+min(R,G,B))+2B)/(4)
R'=R, max=Rの場合
R'=((n-1)max+R)/n, その他の場合
G'=G, max=Gの場合
G'=((n-1)max+G)/n, その他の場合
B'=B, max=Bの場合
B'=((n-1)max+B)/n, その他の場合
以下の説明では、R=max(R,G,B)、B=min(R,G,B)の場合について説明するが、G=max(R,G,B)等の他の場合も同様に証明できる。
R'=max
G'=((n-1)max+G)/n
B'=((n-1)max+min)/n
H=60°*(G'-B')/(R'-B')+360°
=60°*(((n-1)max+G)/n-((n-1)max+min)/n)/(max-((n-1)max+min)/n)+360°
=60°*((G/n-min/n)/(max-max+max/n-min/n))+360°
=60°*(G-min)/(max-min)+360°
=60°*(G-B)/(R-B)
S=(R'-B')/R'
=(max-((n-1)max+min)/n)/max
=(max-max+max/n-min/n)/max
=(max/n-min/n)/max
=((max-min)/max)/n
X’=((MAX+MIN)・(n−1)+2X)/2n
で表される。
X’=((n−1)・MAX+X)/n
で表される。
以上、本発明について詳細に説明したが、本発明は上記実施形態に限定されず、本発明の主旨を逸脱しない範囲において、種々の改良や変更をしてもよいのはもちろんである。
12 最大値検出回路
14 最小値検出回路
16、46、66、76 補正済みRGB成分生成回路
18、26、48、58 加算器
20、52、84、88 減算器
22、54 乗算器
24、28、32、50、56 シフト回路
30、86 除算器
78,80,82 最大値検出回路
90 マルチプレクサ
Claims (3)
- カラー画像のRGB色空間でのRGBそれぞれの成分の値の入力を受け、HSL色空間での彩度のみが調整された調整済みRGB成分を出力する彩度調整回路であって、
前記RGB成分の中の最大値および最小値を検出する最大値・最小値検出回路と、
前記RGBそれぞれの成分について、
前記最大値と最小値との和と、それぞれの成分と、彩度調整係数とをもちいた論理演算を行った結果を補正済みRGB成分として出力する補正済みRGB成分生成回路とを
備え、
前記論理演算が、それぞれの成分をX,補正済み成分をX’,前記最大値をMAX,前記最小値をMIN,前記彩度調整係数をnとして、
X’=((MAX+MIN)・(n−1)+2X)/2n
で表されることを特徴とする彩度調整回路。 - 前記論理演算の彩度調整係数nによる除算を、定数を該彩度調整係数nで除した数値による乗算に置き換えて実施することを特徴とする請求項1記載の彩度調整回路。
- カラー画像のRGB色空間でのRGBそれぞれの成分の値の入力を受け、HSV色空間での彩度成分のみが調整された調整済みRGB成分を出力する彩度調整回路であって、
前記RGB成分の中の最大値を検出する最大値検出回路と、
前記RGB成分のそれぞれについて、
それぞれの成分が最大値である場合にはそのまま、それ以外の場合には、それぞれの成分の値と前記最大値と彩度調整係数とをもちいた論理演算を行った結果を補正済みRGB成分として出力する補正済みRGB成分生成回路とを
備え、
前記論理演算が、それぞれの成分をX,補正済み成分をX’,前記最大値をMAX,前記彩度調整係数をnとして、
X’=((n−1)・MAX+X)/n
で表されることを特徴とする彩度調整回路。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009163839A JP5213806B2 (ja) | 2009-07-10 | 2009-07-10 | 彩度調整回路 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009163839A JP5213806B2 (ja) | 2009-07-10 | 2009-07-10 | 彩度調整回路 |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2011019175A JP2011019175A (ja) | 2011-01-27 |
JP2011019175A5 JP2011019175A5 (ja) | 2012-04-12 |
JP5213806B2 true JP5213806B2 (ja) | 2013-06-19 |
Family
ID=43596611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009163839A Active JP5213806B2 (ja) | 2009-07-10 | 2009-07-10 | 彩度調整回路 |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5213806B2 (ja) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63248291A (ja) * | 1987-04-03 | 1988-10-14 | Matsushita Electric Ind Co Ltd | 色調調整方法 |
JP2698493B2 (ja) * | 1991-09-20 | 1998-01-19 | 大日本印刷株式会社 | 彩度調整装置 |
JP2600573B2 (ja) * | 1993-05-31 | 1997-04-16 | 日本電気株式会社 | カラー画像の彩度強調方法及び装置 |
-
2009
- 2009-07-10 JP JP2009163839A patent/JP5213806B2/ja active Active
Also Published As
Publication number | Publication date |
---|---|
JP2011019175A (ja) | 2011-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6434268B1 (en) | Color conversion device and color conversion method | |
US8135213B2 (en) | Physical quantity interpolating method, and color signal processing circuit and camera system using the same | |
JP3432468B2 (ja) | 色変換装置および色変換方法 | |
JP3698118B2 (ja) | 色変換装置および色変換方法 | |
KR100543278B1 (ko) | 색 변환 장치 및 색 변환 방법 | |
JP2006324974A (ja) | 画像処理装置 | |
JP3888176B2 (ja) | 色変換装置、および色変換方法 | |
JP2009005252A (ja) | 画像処理装置 | |
JP2015106889A (ja) | 画素補間装置、撮像装置、プログラムおよび集積回路 | |
US7206021B2 (en) | Hybrid pixel interpolating apparatus and hybrid pixel interpolating method | |
JP2005109991A (ja) | 信号処理方法及び装置、撮像装置 | |
JP2014033273A (ja) | 色域変換装置、デジタルカメラ、色域変換プログラムおよび色域変換方法 | |
JP5213806B2 (ja) | 彩度調整回路 | |
JP5521934B2 (ja) | 色補正装置および表示デバイス | |
JP4461164B2 (ja) | 色変換装置および色変換方法 | |
JP5103580B2 (ja) | 画像処理装置およびデジタルカメラ | |
JP3781107B2 (ja) | 色調整装置 | |
US8755622B2 (en) | Image processing apparatus, image processing method, and program | |
JP2003333607A (ja) | 色ズレ軽減装置 | |
JP2013026987A (ja) | 色補正装置および色補正処理方法 | |
JP4069858B2 (ja) | 色変換装置および色変換方法 | |
JP2006303616A (ja) | 色補正装置 | |
JP4537665B2 (ja) | 画像データの信号処理回路および方法 | |
KR20070022180A (ko) | 영상의 칼라를 픽셀에 적응적으로 조절할 수 있는칼라조절장치 및 방법 | |
JP4273976B2 (ja) | 色変換装置および色変換方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120229 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120229 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20121120 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121127 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130128 |
|
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: 20130219 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130226 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5213806 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160308 Year of fee payment: 3 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |