com.supermap.image.processing
类 BuildSeamLinesParameter
- java.lang.Object
-
- com.supermap.image.processing.BuildSeamLinesParameter
-
public class BuildSeamLinesParameter extends Object
构建镶嵌线参数类。
-
-
构造器概要
构造器 构造器和说明 BuildSeamLinesParameter()
构造一个默认参数对象。
-
方法概要
-
-
-
方法详细资料
-
getParallelNumber
public int getParallelNumber()
返回并行数量。- 返回:
- 并行数量。
-
setParallelNumber
public BuildSeamLinesParameter setParallelNumber(int parallelNumber)
设置并行数量,该参数必须大于0,默认值为1。- 参数:
parallelNumber
- 并行数量。- 返回:
- 构建镶嵌线参数对象。
-
setBuildSeamLinesMethod
public BuildSeamLinesParameter setBuildSeamLinesMethod(BuildSeamLinesMethod method)
设置构建镶嵌线的方法,默认值为BuildSeamLinesMethod.GRAPCUT。- 参数:
method
- 构建镶嵌线的方法。- 返回:
- 构建镶嵌线参数对象。
-
getBuildSeamLinesMethod
public BuildSeamLinesMethod getBuildSeamLinesMethod()
返回构建镶嵌线方法。- 返回:
- 构建镶嵌线方法。
-
getMaskDataset
public DatasetVector getMaskDataset()
返回掩膜数据集。- 返回:
- 掩膜数据集。
-
setMaskDataset
public BuildSeamLinesParameter setMaskDataset(DatasetVector maskDataset)
设置掩膜数据集,构建镶嵌线会绕开掩膜区域。- 参数:
maskDataset
- 掩膜数据集。- 返回:
- 掩膜数据集。
-
getMaskFiledName
public String getMaskFiledName()
返回掩膜字段名。- 返回:
-
setMaskFieldName
public BuildSeamLinesParameter setMaskFieldName(String maskFieldName)
设置掩膜字段名。掩膜字段名标识掩膜对应的影像,可以是影像全路径(比如C:\\image.tiff)也可以是影像名称(比如:image)。- 返回:
-
setRgbBandsMap
@Deprecated public BuildSeamLinesParameter setRgbBandsMap(int[] rgbBandIndex)
已过时。设置RGB颜色值对应的波段索引。- 参数:
rgbBandIndex
- RGB索引值。- 返回:
- 构建镶嵌线参数对象。
-
getRgbBandsMap
@Deprecated public int[] getRgbBandsMap()
已过时。返回RGB颜色值对应的波段索引。- 返回:
- RGB索引值。
-
setSeamlineRefinementLevel
public BuildSeamLinesParameter setSeamlineRefinementLevel(SeamlineRefinementLevel level)
设置镶嵌线精细化等级,默认为中度MEDIUM。- 参数:
level
- 镶嵌线精细化等级。- 返回:
- 构建镶嵌线参数对象。
-
getSeamlineRefinementLevel
public SeamlineRefinementLevel getSeamlineRefinementLevel()
返回镶嵌线精细化等级。- 返回:
- 镶嵌线精细化等级。
-
setLowOverviewTrunc
@Deprecated public BuildSeamLinesParameter setLowOverviewTrunc(int lowOverviewTrunc)
已过时。设置底层金字塔截断层数。- 参数:
lowOverviewTrunc
- 底层金字塔截断层数。- 返回:
- 构建镶嵌线参数对象。
-
getLowOverviewTrunc
@Deprecated public int getLowOverviewTrunc()
已过时。返回底层金字塔截断层数。- 返回:
- 底层金字塔截断层数。
-
setHighOverviewTrunc
@Deprecated public BuildSeamLinesParameter setHighOverviewTrunc(int highOverviewTrunc)
已过时。设置顶层金字塔截断层数。- 参数:
highOverviewTrunc
- 顶层金字塔截断层数。- 返回:
- 构建镶嵌线参数对象。
-
getHighOverviewTrunc
@Deprecated public int getHighOverviewTrunc()
已过时。返回顶层金字塔截断层数。- 返回:
- 顶层金字塔截断层数。
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.