White-point

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

White-point

Post by Bonzo »

I had assumed that White-point could be used to set a photos white balance but it has no effect; am I using it correctly or should it be used in conjunction with another operator.

Or am I assuming it can be used for white balance but in fact it does something else?

Code: Select all

convert IMG_6191.jpg -white-point 687,518 white-point.jpg
687,518 is a point on an image that should be white but the point and whole photo has a yellow tinge.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: White-point

Post by fmw42 »

I think it just sets the chromaticity white point, but am not sure what that really means or if you have to use -set whitepoint.

If you want to adjust the white balance, see my script, whitebalance.
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: White-point

Post by glennrp »

fmw42 wrote:I think it just sets the chromaticity white point, but am not sure what that really means or if you have to use -set whitepoint.

If you want to adjust the white balance, see my script, whitebalance.
Correct, the "x" and "y" have nothing to do with the x,y position of a pixel on the image. Instead, they
are coordinates of the white pixel in the chromaticity diagram (see the color diagram on the right of the page at http://en.wikipedia.org/wiki/Chromaticity)
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: White-point

Post by Bonzo »

Thanks for the info glennrp - it still has no effect on my image and I pressume it needs extra operators to have an effect.

I will try out your white point script as well fmw42.
Post Reply