How can I white balance an image based on part of the image I know is white?

3 次查看(过去 30 天)
I have this image, and I know that the top left of it should be white. Is there a way for me to select that part of the image and say it's white, and then adjust the color of the rest of the image to match?
What I have so far is using roipoly to select the part of the image that I want, but I have no idea where to go from there in regards to color correction.

回答(1 个)

Mahmoud Afifi
Mahmoud Afifi 2019-8-12

Community Treasure Hunt

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

Start Hunting!

Translated by