How to remove small black dots in pictures (without using the method below how many pixels to remove)
Show older comments

I have an image as shown above.Due to the dirt on the CMOS, there are many small black spots in the picture.
How can I remove them without using the method of removing less than how many pixels ? I'm worried about removing small bubbles in the images.
4 Comments
DGM
on 12 Apr 2022
If size is not what defines when an object should be removed, then what is? What are the unique characteristics that distinguish unwanted objects from all other objects?
CW Hsu
on 14 Apr 2022
Image Analyst
on 14 Apr 2022
@Chong Wen Hsu, did you see my solution below???
CW Hsu
on 15 Apr 2022
Accepted Answer
More Answers (0)
Categories
Find more on Region and Image Properties in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!