OpenCV simple noise reduction


/ Published in: C++
Save to your folder(s)



Copy this code and paste it in your HTML
  1. IplConvKernel* k = cvCreateStructuringElementEx(2,2,1,1,CV_SHAPE_ELLIPSE);
  2. cvDilate((*img),(*img),k,1);
  3. cvReleaseStructuringElement(&k);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.