close
imshow 顯示 矩陣
cvShowImage 顯示 IplImage
NLM:
要加
opencv_photo249.lib
前景 去雜訊
使用 cvCreateStructuringElementEx 函數
int filterSize =5;IplConvKernel*convKernel = cvCreateStructuringElementEx(filterSize, filterSize,(filterSize -1)/2,(filterSize -1)/2, CV_SHAPE_RECT, NULL);
cvMorphologyEx(src1, dest1, NULL, convKernel, CV_MOP_OPEN);
全站熱搜