White balance tool in Photoshop

4 views (last 30 days)
Matija on 12 Mar 2014
Commented: Image Analyst on 16 Mar 2014
Hello all,
here I am with a rather complicated question:
do you know how white balance tool (eyedropper) in Adobe Photoshop works?
Thanks, MM.

Accepted Answer

Image Analyst
Image Analyst on 13 Mar 2014
I have a crude white balancing program that works simply by linearly scaling each color channel independently. Photoshop probably does something more sophisticated but for what it's worth, I've attached it.
Image Analyst
Image Analyst on 16 Mar 2014
By the way, if anyone wants code to launch Photoshop from MATLAB, see the attached m-file, below in blue.

Sign in to comment.

More Answers (2)

Laurent on 13 Mar 2014
Maybe it is better to ask your question in a Photoshop related forum. Anyway I don't think Photoshop will tell you the exact algorithm that they use, but I found some sites that explain what it does, for example this one: http://www.scantips.com/lights/flashbasics1f.html

Matija on 16 Mar 2014
Hello all,
Laurent, yes, I was interested how Adobe does white balancing and I posted the same question on Photoshop forum...but without any useful reply.
Image analyst, yes, I am already using your version of white balancing algorithm :-)
Thank you!


Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!