OpenCV學習筆記-形態學操作-腐蝕膨脹-開閉運算

一個可以調節參數的形態學例題,用到的自定義核函數爲: IplConvKernel * cvCreateStructuringElementEx( int cols, int rows, int anchor_x, int anchor_y, int shape, int *value=NULL ); 函數中參數cols,rows確定了構造的矩形大小。 anchor_x,anchor_y確定了封閉矩
相關文章
相關標籤/搜索