|
|
|
@ -50,7 +50,7 @@ public class Test {
|
|
|
|
|
|
|
|
|
|
//图像边缘处理 https://blog.csdn.net/ren365880/article/details/103938232
|
|
|
|
|
Mat edges = new Mat();
|
|
|
|
|
Imgproc.Canny(gary, edges, 200, 500, 3, false);
|
|
|
|
|
Imgproc.Canny(gary, edges, 200, 200, 3, false);
|
|
|
|
|
HighGui.imshow("边缘处理", edges);
|
|
|
|
|
HighGui.waitKey();
|
|
|
|
|
|
|
|
|
|