Ask Your Question
0

How to operate area filtering ?

asked 2018-03-29 20:26:20 -0600

PengGuanjun gravatar image

I use open and close operate to deal with the original image below,but I have not removed tiny black points. How to remove these small black points through area filtering and protect the edges of my ROI? image description

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-03-29 21:34:47 -0600

moHe gravatar image
  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.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-03-29 20:26:20 -0600

Seen: 242 times

Last updated: Mar 29 '18