How can I white balance an image based on part of the image I know is white?
1 次查看(过去 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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/164795/image.jpeg)
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.
0 个评论
回答(1 个)
Mahmoud Afifi
2019-8-12
Try this one:
Reference: When Color Constancy Goes Wrong: Correcting Improperly White-Balanced Images, CVPR'19.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!