public class BuildingDetector extends Object
构造器和说明 |
---|
BuildingDetector() |
限定符和类型 | 方法和说明 |
---|---|
void |
addSteppedListener(SteppedListener l)
添加进度信息监听对象
|
DatasetVector |
detectBuildingMask(DatasetImage[] datasetImages,
Datasource datasource,
String resultDatasetName,
int parallelNumber)
提取建筑物掩膜,返回建筑物掩膜矢量掩膜,默认提取掩膜矢量面最小像素数目为 64
|
DatasetVector |
detectBuildingMask(DatasetImage[] datasetImages,
int nMinPixels,
Datasource datasource,
String resultDatasetName,
int parallelNumber)
提取建筑物掩膜,返回建筑物掩膜矢量掩膜
|
void |
removeSteppedListener(SteppedListener l)
移除进度信息监听对象
|
public void addSteppedListener(SteppedListener l)
l
- 进度信息监听对象public void removeSteppedListener(SteppedListener l)
l
- 进度信息监听对象public DatasetVector detectBuildingMask(DatasetImage[] datasetImages, int nMinPixels, Datasource datasource, String resultDatasetName, int parallelNumber)
datasetImages
- 原始影像数据集数组nMinPixels
- 提取掩膜矢量面的最小像素数目,当像素数目小于指定值时不提取矢量掩膜datasource
- 结果数据源resultDatasetName
- 结果数据集名称parallelNumber
- 并发线程数目public DatasetVector detectBuildingMask(DatasetImage[] datasetImages, Datasource datasource, String resultDatasetName, int parallelNumber)
datasetImages
- 原始影像数据集数组datasource
- 结果数据源resultDatasetName
- 结果数据集名称parallelNumber
- 并发线程数目Copyright © 2021–2024 SuperMap. All rights reserved.