Tuesday, May 06, 2014

Morphological operations using OpenCV


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:

Ubuntu Forware port 80

  #!/bin/bash iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069 iptables -t nat -A PREROUTING -i eth0 -p tc...