com.supermap.image.processing
类 ImageMatchParameter
- java.lang.Object
-
- com.supermap.image.processing.ImageMatchParameter
-
public class ImageMatchParameter extends Object
影像匹配参数类
-
-
构造器概要
构造器 构造器和说明 ImageMatchParameter()
默认构造函数
-
方法概要
-
-
-
方法详细资料
-
setElevationData
public ImageMatchParameter setElevationData(ElevationData elevationData)
设置高程信息- 参数:
elevationData
- 高程信息- 返回:
- 当前对象
-
getElevationData
public ElevationData getElevationData()
获取高程信息- 返回:
- 高程信息
-
setMatchPointDensityLevel
public ImageMatchParameter setMatchPointDensityLevel(ImageMatchPointDensityLevel densityLevel)
设置影像匹配结果点的密度等级- 参数:
densityLevel
- 结果点密度等级- 返回:
- 当前对象
-
getMatchPointDensityLevel
public ImageMatchPointDensityLevel getMatchPointDensityLevel()
获取结果点密度等级- 返回:
- 结果点密度等级
-
getMatchedBandIndex
public int getMatchedBandIndex()
获取进行影像匹配的波段数,默认取第0个波段- 返回:
-
setMatchedBandIndex
public ImageMatchParameter setMatchedBandIndex(int bandIndex)
设置影像匹配的波段数,默认为第0个波段- 参数:
bandIndex
- 影像匹配的波段- 返回:
- 当前对象
-
setPointRandomlyDistributed
@Deprecated public ImageMatchParameter setPointRandomlyDistributed(boolean isRandom)
已过时。设置结果点是否随机分布- 参数:
isRandom
- 结果点是否随机分布- 返回:
- 当前对象
-
isPointRandomlyDistributed
@Deprecated public boolean isPointRandomlyDistributed()
已过时。结果点是否随机分布,默认为 False- 返回:
-
setImageMatchMethod
public ImageMatchParameter setImageMatchMethod(ImageMatchMethod imageMatchMethod)
设置影像匹配方法- 参数:
imageMatchMethod
- 影像匹配方法- 返回:
- 当前对象
-
getImageMatchMethod
public ImageMatchMethod getImageMatchMethod()
返回匹配方法,默认为 MOTIF- 返回:
- 影像匹配方法
-
setDetectBuildingMask
public ImageMatchParameter setDetectBuildingMask(boolean value)
设置是否进行建筑物掩膜检测,以去掉落在建筑物上的点- 参数:
value
- 是否进行建筑物掩膜检测- 返回:
- 当前对象
-
getParallelNumber
public int getParallelNumber()
返回并发线程数目- 返回:
- 并发线程数目
-
setParallelNumber
public ImageMatchParameter setParallelNumber(int parallelNumber)
设置并发线程数目- 参数:
parallelNumber
- 并发线程数目- 返回:
- 当前对象
-
isDetectBuildingMask
public boolean isDetectBuildingMask()
是否进行建筑物掩膜检测- 返回:
- 进行建筑物掩膜检测返回 true,否则返回false
-
setDetectCloudMask
public ImageMatchParameter setDetectCloudMask(boolean value)
设置是否进行云掩膜检测,以去掉落在云上点- 返回:
- 当前对象
-
isDetectCloudMask
public boolean isDetectCloudMask()
是否进行云掩膜检测- 返回:
- 进行云掩膜检测返回 true,否则返回false
-
getErrorThreshold
public double getErrorThreshold()
获取模型解算的误差阈值- 返回:
- 模型解算的误差阈值
-
setErrorThreshold
public ImageMatchParameter setErrorThreshold(double errorThreshold)
设置模型解算的误差阈值,单位为像素 影像匹配粗差剔除的误差阈值,单位为像素,影像匹配中,使用最小二乘拟合结果点,去除大于误差阈值的点。阈值越大,保存的点相应增多,但可能保留的错误点也增多。默认为5像素。- 参数:
errorThreshold
- 误差阈值。- 返回:
- 当前对象
-
getMaxPointsInEachGrid
public int getMaxPointsInEachGrid()
获取块内保留的点数目的最大值- 返回:
- 块内保留的点数目的最大值
-
setMaxPointsInEachGrid
public ImageMatchParameter setMaxPointsInEachGrid(int value)
设置每个块内保留的点数目的最大值- 参数:
value
- 块内保留的点数目的最大值- 返回:
- 当前对象
-
getSearchSeedPointMethod
public SearchSeedPointMethod getSearchSeedPointMethod()
返回搜索种子点的方式,只适用于点均匀分布- 返回:
- SearchSeedPointMethod
-
setSearchSeedPointMethod
public ImageMatchParameter setSearchSeedPointMethod(SearchSeedPointMethod value)
设置搜索种子的方式,只适用于点均匀分布。>- 参数:
value
- 搜索种子点的方式- 返回:
- 当前对象
-
getPointDistributionMethod
public PointDistributionMethod getPointDistributionMethod()
返回点的分布方式- 返回:
- 点分布方式
-
setPointDistributionMethod
public ImageMatchParameter setPointDistributionMethod(PointDistributionMethod value)
设置的点分布方式- 参数:
value
- 点分布方式- 返回:
- 当前对象
-
getSearchRadius
public double getSearchRadius()
获取影像匹配点搜索半径- 返回:
- 搜索半径
-
setSearchRadius
public ImageMatchParameter setSearchRadius(double value)
设置搜索半径,单位为像素。只适用于点均匀分布- 参数:
value
- 搜索半径,单位为像素。- 返回:
- 当前对象
-
getTemplateSize
public int getTemplateSize()
返回影像匹配模板影像大小- 返回:
- 模板影像大小
-
setTemplateSize
public ImageMatchParameter setTemplateSize(int value)
设置模板影像大小,单位为像素。只适用于点均匀分布- 参数:
value
- 模板影像大小,单位为像素- 返回:
- 当前对象
-
getNumberSeedPoints
public int getNumberSeedPoints()
返回影像匹配种子点数目- 返回:
-
setNumberSeedPoints
public ImageMatchParameter setNumberSeedPoints(int value)
设置影像匹配种子点数目,当影像的纹理较差时,需要设置更大种子点,以确保匹配出足够的同名点。 适用于点均匀分布- 参数:
value
- 种子点数目,默认值为512- 返回:
- 当前对象
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.