要实现开放,您需要先调用 erode,然后再调用 dilate。关闭是通过先调用 dilate 然后调用 erode 来完成的。
参考:
http://opencv.willowgarage.com/documentation/image_filtering.html
http://opencv.itseez.com/doc/tutorials/imgproc/opening_looking_hats/opening_looking_hats.html
| 归档时间: |
|
| 查看次数: |
7847 次 |
| 最近记录: |