Package cn.net.pap.common.boofcv
Class CannyEdgeUtilss
java.lang.Object
cn.net.pap.common.boofcv.CannyEdgeUtilss
Canny 边缘检测,仿照 https://github.com/lessthanoptimal/BoofCV/blob/v1.1.4/examples/src/main/java/boofcv/examples/features/ExampleCannyEdge.java
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MarginDTO
getBlackMargin
(String imgPath) 传入一张图像,获得四周的边框对应的 MarginDTO 对象,记录四个方向的距离。
-
Constructor Details
-
CannyEdgeUtilss
public CannyEdgeUtilss()
-
-
Method Details
-
getBlackMargin
传入一张图像,获得四周的边框对应的 MarginDTO 对象,记录四个方向的距离。- Parameters:
imgPath
-- Returns:
-