public class EnhanceVegetationParameter
extends com.supermap.data.InternalHandleDisposable
DomProject.setEnhanceVegetationParameter(boolean, com.supermap.image.processing.EnhanceVegetationParameter)
。
植被增强要求被处理的影像至少有红、绿、蓝和近红外波段。构造器和说明 |
---|
EnhanceVegetationParameter()
默认构造函数
|
EnhanceVegetationParameter(int redBand,
int greenBand,
int nirBand)
根据红、绿、近红外波段索引构对象
|
限定符和类型 | 方法和说明 |
---|---|
EnhanceVegetationParameter |
clone() |
void |
dispose()
释放对象所占用的资源。
|
int |
getGreenBand()
获取绿色波段索引
|
double |
getGreenWeight()
返回植被增强时绿色波段权重值,默认为 0.7
|
double |
getNDVIThreshold()
获取 NDVI 阈值,大于指定阈值的位置才进行植被增强。
|
int |
getNirBand()
获取近红外波段索引
|
double |
getNirWeight()
返回植被增强时近红外波段权重值,默认为 0.3
|
int |
getRedBand()
获取红色波段索引
|
EnhanceVegetationParameter |
setGreenBand(int greenBand)
设置绿色波段索引
|
EnhanceVegetationParameter |
setGreenWeight(double greenWeight)
当进行植被增强时,绿色波段的权重值。
|
static void |
setIsDisposable(com.supermap.data.InternalHandleDisposable obj,
boolean disposable) |
EnhanceVegetationParameter |
setNDVIThreshold(double ndviThreshold)
设置 NDVI 阈值。
|
EnhanceVegetationParameter |
setNirBand(int nirBand)
设置近红外波段索引,当使用植被增强时,需要设置正确的近红外波段索引
|
EnhanceVegetationParameter |
setNirWeight(double nirWeight)
当进行植被增强时,近红外波段的权重值。
|
EnhanceVegetationParameter |
setRedBand(int redBand)
设置红色波段索引
|
public EnhanceVegetationParameter()
public EnhanceVegetationParameter(int redBand, int greenBand, int nirBand)
redBand
- 影像红色波段的索引greenBand
- 影像绿色波段的索引nirBand
- 影像近红外波段的索引public void dispose()
public EnhanceVegetationParameter clone() throws CloneNotSupportedException
clone
在类中 Object
CloneNotSupportedException
public int getRedBand()
public int getGreenBand()
public int getNirBand()
public double getNDVIThreshold()
public double getGreenWeight()
public double getNirWeight()
public EnhanceVegetationParameter setRedBand(int redBand)
redBand
- 红色波段索引public EnhanceVegetationParameter setGreenBand(int greenBand)
greenBand
- 绿色波段索引public EnhanceVegetationParameter setNirBand(int nirBand)
nirBand
- 近红外波段索引public EnhanceVegetationParameter setNDVIThreshold(double ndviThreshold)
ndviThreshold
- NDVI 阈值public EnhanceVegetationParameter setGreenWeight(double greenWeight)
greenWeight
- 绿色波段权重值public EnhanceVegetationParameter setNirWeight(double nirWeight)
setGreenWeight
nirWeight
- 近红外波段权重值public static void setIsDisposable(com.supermap.data.InternalHandleDisposable obj, boolean disposable)
Copyright © 2021–2024 SuperMap. All rights reserved.