public class ImageDehzParameter
extends com.supermap.data.InternalHandleDisposable
构造器和说明 |
---|
ImageDehzParameter()
默认构造函数
|
ImageDehzParameter(int redBand,
int greenBand,
int blueBand,
double transmissionLowLevel,
double dehazingCoeff) |
ImageDehzParameter(int redBand,
int greenBand,
int blueBand,
int radius,
int filterR,
double transmissionLowLevel,
double dehazingCoeff) |
限定符和类型 | 方法和说明 |
---|---|
void |
dispose()
释放 ImageDehzParameter 对象占有的资源。
|
int |
getBlueBand()
获取蓝波段索引
|
double |
getDehazingCoeff()
获取去雾系数,默认值为0.85
|
int |
getFilterR()
获取滤波半径,默认值为60
|
int |
getGreenBand()
获取绿色波段索引
|
int |
getRadius()
获取去雾半径,默认值为15
|
int |
getRedBand()
获取红色波段索引
|
double |
getTransmissionLowLevel()
获取透射率下限,默认值0.3
|
ImageDehzParameter |
setBlueBand(int blueBand)
设置蓝色波段索引
|
ImageDehzParameter |
setDehazingCoeff(double dehazingCoeff)
设置去雾系数
|
ImageDehzParameter |
setFilterR(int filterR)
设置滤波半径,GP接口不开放
|
ImageDehzParameter |
setGreenBand(int greenBand)
设置绿色波段索引
|
static void |
setIsDisposable(com.supermap.data.InternalHandleDisposable obj,
boolean disposable) |
ImageDehzParameter |
setRadius(int radius)
设置暗通道半径,GP接口不开放
|
ImageDehzParameter |
setRedBand(int redBand)
设置红色波段索引
|
ImageDehzParameter |
setTransmissionLowLevel(double transmissionLowLevel)
设置透射率下限
|
public ImageDehzParameter()
public ImageDehzParameter(int redBand, int greenBand, int blueBand, int radius, int filterR, double transmissionLowLevel, double dehazingCoeff)
redBand
- 红波段索引greenBand
- 绿波段索引blueBand
- 蓝波段索引radius
- 去雾半径filterR
- 滤波半径transmissionLowLevel
- 透射率下限dehazingCoeff
- 去雾系数public ImageDehzParameter(int redBand, int greenBand, int blueBand, double transmissionLowLevel, double dehazingCoeff)
redBand
- 红波段索引greenBand
- 绿波段索引blueBand
- 蓝波段索引transmissionLowLevel
- 透射率下限dehazingCoeff
- 去雾系数public void dispose()
public int getRedBand()
public int getGreenBand()
public int getBlueBand()
public int getRadius()
public int getFilterR()
public double getTransmissionLowLevel()
public double getDehazingCoeff()
public ImageDehzParameter setRedBand(int redBand)
redBand
- 红色波段索引,默认值为2public ImageDehzParameter setGreenBand(int greenBand)
greenBand
- 绿色波段索引,默认值为1public ImageDehzParameter setBlueBand(int blueBand)
blueBand
- 蓝色波段索引默认为0public ImageDehzParameter setRadius(int radius)
radius
- 参数半径,取值范围为(0,256],默认为为15public ImageDehzParameter setFilterR(int filterR)
filterR
- 滤波半径,取值范围(0,256],默认值为60public ImageDehzParameter setTransmissionLowLevel(double transmissionLowLevel)
transmissionLowLevel
- 透射率下限,取值范围(0,1),默认值为0.3public ImageDehzParameter setDehazingCoeff(double dehazingCoeff)
dehazingCoeff
- 去雾系数,取值范围(0,1],默认值为0.85public static void setIsDisposable(com.supermap.data.InternalHandleDisposable obj, boolean disposable)
Copyright © 2021–2024 SuperMap. All rights reserved.