OpenCV学习笔记-形态学

OpenCV提供了通用的形态学函数cvMorphologyEx,该函数能够实现开运算,闭运算,形态梯度,礼帽操作,黑帽操作,例题如下: #include "StdAfx.h" #include "cv.h" #include "highgui.h" #include "highgui.h" int main(int argc, char ** argv) { cvNamedWindow("sour
相关文章
相关标签/搜索