Package cn.mapway.common.geo.geotools
Class Canny
java.lang.Object
cn.mapway.common.geo.geotools.Canny
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCannyImg(BufferedImage image, double high, double low, double filter) 边缘检测getCannyImg(BufferedImage image, double high, double low, double filter, Color color, BufferedImage baseImage) 边缘检测getCannyImg(BufferedImage image, BufferedImage base)
-
Constructor Details
-
Canny
public Canny()
-
-
Method Details
-
getCannyImg
public BufferedImage getCannyImg(BufferedImage image, double high, double low, double filter, Color color, BufferedImage baseImage) throws IOException 边缘检测- Parameters:
image- 图像high- 高阈值比例low- 低阈值比例filter- 高斯滤波参数color- 边缘颜色- Returns:
- Throws:
IOException
-
getCannyImg
public BufferedImage getCannyImg(BufferedImage image, double high, double low, double filter) throws IOException 边缘检测- Parameters:
image- 图像high- 高阈值比例low- 低阈值比例filter- 高斯滤波参数- Returns:
- Throws:
IOException
-
getCannyImg
- Throws:
IOException
-