Are there any methods to remove/reduce shadows in this image?

6 次查看(过去 30 天)
In this image, the leaves are on a piece of white paper. I wonder in this particular case if there are any effective methods for shadow removal or reduction using Matlab. If it's not possible to completely remove the shadows, reducing them is also OK. Thank you!

回答(1 个)

Image Analyst
Image Analyst 2025-1-23
Try the Color Thresholder on the Apps tab of the tool ribbon. Use HSV colorspace and find regions with saturation less than about 0.2 - that will be the white and gray regions.
  4 个评论
Tao Hu
Tao Hu 2025-1-24
Thank you for your time, I have tried all you mentioned, including entropyfilt. Also tried entropyfilt-stdfilt (to get rid of shadow margins) and then imopen, but the shadows persist. I'm at my wits end. I'd appreciate it if you could give me more ideas.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by