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

5 views (last 30 days)
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.

Answers (1)

Mahmoud Afifi
Mahmoud Afifi on 12 Aug 2019

Community Treasure Hunt

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

Start Hunting!

Translated by