Package cn.net.pap.common.boofcv
Class DetectLineUtilss
java.lang.Object
cn.net.pap.common.boofcv.DetectLineUtilss
霍夫变换 - 图像倾斜角度
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Double
getAngleByHoughLines
(BufferedImage bufferedImage, int maxLines, Integer type) 使用霍夫变换,获得图像可能的倾斜角度
-
Constructor Details
-
DetectLineUtilss
public DetectLineUtilss()
-
-
Method Details
-
getAngleByHoughLines
使用霍夫变换,获得图像可能的倾斜角度- Parameters:
bufferedImage
-maxLines
-type
- 1=houghLinePolar 2=houghLineFoot 3=houghLineFootSub- Returns:
-