First time here? Check out the FAQ!
answered 2018-03-29 21:34:47 -0600
Bilateral Filter can smooth the image while preserving the edges.
Use findContours to find the contours with small area, and fill them with white pixels.