White balance tool in Photoshop
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Matija
am 12 Mär. 2014
Kommentiert: Image Analyst
am 16 Mär. 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.
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 13 Mär. 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.
2 Kommentare
Image Analyst
am 16 Mär. 2014
After playing around with Photoshop, it looks like you define a black point and a white point and it will set those to 0 and 255 respectively for each color channel. Then when you set the gray point, it uses a standard gamma curve formula to adjust the gray levels for each color channel such that the pixel you defined as gray will have red = green = blue = gray level on the line between the black point and white point. It should not be too hard to program that up in MATLAB. Give it a shot.
Image Analyst
am 16 Mär. 2014
By the way, if anyone wants code to launch Photoshop from MATLAB, see the attached m-file, below in blue.
Weitere Antworten (2)
Laurent
am 13 Mär. 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
0 Kommentare
Siehe auch
Kategorien
Mehr zu Marine and Underwater Vehicles finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!