Class CannyEdgeUtilss

java.lang.Object
cn.net.pap.common.boofcv.CannyEdgeUtilss

public class CannyEdgeUtilss extends Object
Canny 边缘检测,仿照 https://github.com/lessthanoptimal/BoofCV/blob/v1.1.4/examples/src/main/java/boofcv/examples/features/ExampleCannyEdge.java
  • Constructor Details

    • CannyEdgeUtilss

      public CannyEdgeUtilss()
  • Method Details

    • getBlackMargin

      public static MarginDTO getBlackMargin(String imgPath)
      传入一张图像,获得四周的边框对应的 MarginDTO 对象,记录四个方向的距离。
      Parameters:
      imgPath -
      Returns: