cv::erode(image,eroded,cv::Mat(),cv::Point(-1,-1),3); //3 times
cv::dilate(image,dilated,cv::Mat(),cv::Point(-1,-1),3); //3 times
References
[1] http://www.packtpub.com/article/opencv-image-processing-morphological-filters
[2] http://qtandopencv.blogspot.com/2013/09/morphological-operations-and-opencv2-00.html
No comments:
Post a Comment