OpenCVForUnity icon indicating copy to clipboard operation
OpenCVForUnity copied to clipboard

How to remove noise from images

Open yogimelayu12 opened this issue 3 years ago • 1 comments

I employ OpenCV in my teaching. thresholding during image processing. Although I used thresholding, there is still noise. how to get rid of the noise like removing color if size > 100.

Untitled

yogimelayu12 avatar Nov 19 '22 20:11 yogimelayu12

Look into morphological filters. It's probably the best option on a binary image such as your example. A closing would be able to remove the noise inside the interest object while an opening would remove true pixels/regions in the outside.

RafaDdS avatar May 18 '23 13:05 RafaDdS