com.supermap.image.processing
类 MountainLatteParameter
- java.lang.Object
-
- com.supermap.image.processing.MountainLatteParameter
-
public class MountainLatteParameter extends Object
山体拉花检测参数类
-
-
构造器概要
构造器 构造器和说明 MountainLatteParameter()默认构造函数MountainLatteParameter(MountainLatteParameter parameter)拷贝构造函数
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 ElevationDatagetElevationData()获取高程信息intgetParallelNumber()返回并发线程数目Rectangle2DgetTargetBounds()doublegetThreshold()获取山体拉花检测模型阈值。MountainLatteParametersetElevationData(ElevationData elevationData)设置高程信息MountainLatteParametersetParallelNumber(int parallelNumber)设置并发线程数目MountainLatteParametersetTargetBounds(Rectangle2D bounds)设置影像范围MountainLatteParametersetThreshold(double threshold)设置山体拉花检测模型阈值。
-
-
-
构造器详细资料
-
MountainLatteParameter
public MountainLatteParameter()
默认构造函数
-
MountainLatteParameter
public MountainLatteParameter(MountainLatteParameter parameter)
拷贝构造函数- 参数:
parameter- 生成正射影像参数类对象
-
-
方法详细资料
-
setElevationData
public MountainLatteParameter setElevationData(ElevationData elevationData)
设置高程信息- 参数:
elevationData- 高程信息- 返回:
- 当前对象
-
getElevationData
public ElevationData getElevationData()
获取高程信息- 返回:
- 高程信息
-
getParallelNumber
public int getParallelNumber()
返回并发线程数目- 返回:
- 并发线程数目
-
setParallelNumber
public MountainLatteParameter setParallelNumber(int parallelNumber)
设置并发线程数目- 参数:
parallelNumber- 并发线程数目- 返回:
- 当前对象
-
getThreshold
public double getThreshold()
获取山体拉花检测模型阈值。- 返回:
- 山体拉花检测的模型阈值。
- 从以下版本开始:
- 11.2.0版本。
-
setThreshold
public MountainLatteParameter setThreshold(double threshold)
设置山体拉花检测模型阈值。对山体拉花检测算法设置模型的参数阈值。值范围在(0.15,1.0)之间,推荐值为0.4;值设置的越小,识别出来的结果拉花程度越低,但增加误识别的概率;值越大,识别出来的结果拉花程度越高,但增加漏识别的概率。
- 参数:
threshold- 阈值(必填)。- 返回:
- 当前对象。
- 抛出:
IllegalArgumentException- Threshold异常为输入的值不在合理范围内。- 从以下版本开始:
- 11.2.0版本。
-
setTargetBounds
public MountainLatteParameter setTargetBounds(Rectangle2D bounds)
设置影像范围- 参数:
bounds- 影像输出范围- 返回:
- 当前对象
-
getTargetBounds
public Rectangle2D getTargetBounds()
- 返回:
- 获取影像输出范围
-
-
Copyright © 2021–2025 SuperMap. All rights reserved.