after convert image to binary image (black and white ) if there is any noise how can i remove that unwanted noise
you can see below image have some white noise inside the black area how can i remove noise using opencv
http://img857.imageshack.us/img857/999/blacknoise.jpg
You can achieve it with Erode and Dilate.
Your image after cvErode( in, eroded, NULL, 4)
:
And after cvDilate( eroded, dilated, NULL, 4)
:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With