Velocity Reviews > WB - from Kelvin to RGB

WB - from Kelvin to RGB

Radek D
Guest
Posts: n/a

 07-27-2006
Hello !
Anybody know function how can translate
WB Color Temperature in Kelvin to RGB pixels values
for exemple 3000 K = (+4 R) & (-5 G) & (0 B)

kctan
Guest
Posts: n/a

 07-27-2006
you confuse WB with RGB

"Radek D" <(E-Mail Removed)> wrote in message
news:eaam2k\$4et\$(E-Mail Removed)...
> Hello !
> Anybody know function how can translate WB Color Temperature in Kelvin to
> RGB pixels values for exemple 3000 K = (+4 R) & (-5 G) & (0 B)

acl
Guest
Posts: n/a

 07-27-2006

kctan wrote:
> you confuse WB with RGB
>

How is white balancing achieved? By multiplying the each of the R, G
and B channels by a different multiplier.

acl
Guest
Posts: n/a

 07-27-2006

Radek D wrote:
> Hello !
> Anybody know function how can translate
> WB Color Temperature in Kelvin to RGB pixels values
> for exemple 3000 K = (+4 R) & (-5 G) & (0 B)

1) It is a multiplier, ie each channel gets multiplied by a number
2) Even if the raw converter assumed a black body spectral distribution
for the source (ie only the temperature must be specified), we would
also need to know the exact spectral response of the R, G and B filters
for the specific camera under discussion. This may or may not be
standardised between different cameras/sensors; I don't know.

You can find all the answers you ever wanted by reading the source code
of David Coffin's dcraw at
http://www.cybercom.net/~dcoffin/dcraw/

Sorry, but reading C code (even my own) gives me headaches, so I never
read dcraw.c and therefore don't know.

Bart van der Wolf
Guest
Posts: n/a

 07-27-2006

"acl" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
SNIP
> How is white balancing achieved? By multiplying the each of the R, G
> and B channels by a different multiplier.

In linear gamma space, yes.

Bart

Bart van der Wolf
Guest
Posts: n/a

 07-27-2006

"Radek D" <(E-Mail Removed)> wrote in message
news:eaam2k\$4et\$(E-Mail Removed)...
> Hello !
> Anybody know function how can translate WB Color Temperature in
> Kelvin to RGB pixels values for exemple 3000 K = (+4 R) & (-5 G) &
> (0 B)

Possibly more than you catered for, but nevertheless:
<http://www.brucelindbloom.com/Eqn_XYZ_to_T.html>

Bart

 Thread Tools

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are Off Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post mydpmail@gmail.com Digital Photography 7 08-03-2008 10:58 PM Morton Digital Photography 2 12-14-2007 01:47 AM Tom Verbeure VHDL 3 07-30-2004 06:26 PM Michael Schmid VHDL 1 07-24-2004 03:26 PM jgerard Digital Photography 1 07-10-2003 09:04 PM

Advertisments