How to remove certain pixels in an image and apply change on grayscale image?

1 次查看(过去 30 天)
Hello,
I have a grayscale image (right) and have converted it into a logical image (left). The original image has reflections and I have removed them by converting the image to black and white, applying bwareaopen and subtracting the two images. But I have been unable to apply the result on the grayscale image by subtacting them.
What I need as output is the same grayscale image without these reflections. Please help me out in that.
Regards.

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by