Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  1. Bilateral Filter can smooth the image while preserving the edges.

  2. Use findContours to find the contours with small area, and fill them with white pixels.