Mat element=getStructuringElement (erosion_type,
The Size (3, 3),
Point (1, 1));
Erode (SRC, erosion_dst, element);
No abnormal
Mat element=getStructuringElement (erosion_type,
The Size (1, 60),
Point (1, 1));
Erode (SRC, erosion_dst, element);
Abnormal tip:
0 x00007ffe18244b59 (located in ConsoleApplication1. Exe) caused by abnormal: Microsoft c + + exceptions: ipp: : IwException, located in the memory location 0 x000000c45e0fd9f4,
CodePudding user response:
Try try catch catch exceptionshttp://www.opencv.org.cn/opencvdoc/2.3.2/html/doc/tutorials/imgproc/erosion_dilatation/erosion_dilatation.html
CodePudding user response:
I hope it can help you, looking forward to adopt: https://blog.csdn.net/it_xiangqiang/category_10993204.html