com.supermap.image.processing
类 ImageStretchingParameter
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.image.processing.ImageStretchingParameter
-
- 直接已知子类:
- AdaptiveStretchParameter, GammaStretchParameter, GaussianStretchParameter, OptimizedLinearStretchParameter
public class ImageStretchingParameter extends com.supermap.data.InternalHandle
影像拉伸参数类。
-
-
构造器概要
构造器 构造器和说明 ImageStretchingParameter()
构造一个影像拉伸参数对象。
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 限定符和类型 方法和说明 void
dispose()
释放该对象所占用的资源。int[]
getBandIndexs()
返回输出的波段索引集合。double
getGamma()
返回伽马拉伸参数。static long
getHandle(com.supermap.data.InternalHandle obj)
double
getMaxPercent()
返回最大截断百分比值。double
getMinPercent()
返回最小截断百分比值。double
getNoDataValue()
返回无值。int
getNumOfStd()
返回高斯标准差系数。double
getOutputRangeMax()
已过时。double
getOutputRangeMin()
已过时。Enum
getPixelFormat()
返回像素格式。ImageStretchingType
getStretchingType()
返回拉伸类型。double
getTruncationMax()
已过时。double
getTruncationMin()
已过时。boolean
isStretchByPercent()
已过时。ImageStretchingParameter
setBandIndexs(int[] outputBandIndexs)
设置输出的波段索引集合。ImageStretchingParameter
setGamma(double gamma)
设置伽马拉伸参数。static void
setHandle(com.supermap.data.InternalHandle obj, long handle)
ImageStretchingParameter
setMaxPercent(double maxPercent)
设置最大截断百分比值,表示最大值截断比例,范围为(0,100]。ImageStretchingParameter
setMinPercent(double minPercent)
设置最小截断百分比值,表示最小截断比例,范围为[0,100)。ImageStretchingParameter
setNoDataValue(double noDataValue)
设置无值。ImageStretchingParameter
setNumOfStd(int numOfStd)
设置高斯标准差系数,可以改变高斯分布的形状。ImageStretchingParameter
setOutputRangeMax(double outputRangeMax)
已过时。ImageStretchingParameter
setOutputRangeMin(double outputRangeMin)
已过时。ImageStretchingParameter
setPixelFormat(PixelFormat pixelFormat)
设置像素格式。ImageStretchingParameter
setStretchByPercent(boolean isStretchByPercent)
已过时。ImageStretchingParameter
setStretchingType(ImageStretchingType stretchingType)
设置拉伸类型。ImageStretchingParameter
setTruncationMax(double truncationMax)
已过时。ImageStretchingParameter
setTruncationMin(double truncationMin)
已过时。
-
-
-
方法详细资料
-
getPixelFormat
public Enum getPixelFormat()
返回像素格式。- 返回:
- 像素格式。
-
setPixelFormat
public ImageStretchingParameter setPixelFormat(PixelFormat pixelFormat)
设置像素格式。- 参数:
pixelFormat
- 像素格式。- 返回:
- 拉伸参数对象。
-
getNoDataValue
public double getNoDataValue()
返回无值。- 返回:
- 无值。
-
setNoDataValue
public ImageStretchingParameter setNoDataValue(double noDataValue)
设置无值。- 参数:
noDataValue
- 无值。- 返回:
- 拉伸参数对象。
-
getMinPercent
public double getMinPercent()
返回最小截断百分比值。- 返回:
- 最小截断百分比值。
-
setMinPercent
public ImageStretchingParameter setMinPercent(double minPercent)
设置最小截断百分比值,表示最小截断比例,范围为[0,100)。- 参数:
minPercent
- 最小截断百分比值。- 返回:
- 拉伸参数对象。
-
getMaxPercent
public double getMaxPercent()
返回最大截断百分比值。- 返回:
- 最大截断百分比值。
-
setMaxPercent
public ImageStretchingParameter setMaxPercent(double maxPercent)
设置最大截断百分比值,表示最大值截断比例,范围为(0,100]。- 参数:
maxPercent
- 最大截断百分比值。- 返回:
- 拉伸参数对象。
-
setBandIndexs
public ImageStretchingParameter setBandIndexs(int[] outputBandIndexs)
设置输出的波段索引集合。- 参数:
outputBandIndexs
- 设置输出的波段索引集合。- 返回:
- 镶嵌数据集拼接参数对象。
-
getBandIndexs
public int[] getBandIndexs()
返回输出的波段索引集合。- 返回:
- 输出的波段索引集合。
-
getStretchingType
public ImageStretchingType getStretchingType()
返回拉伸类型。- 返回:
- 拉伸类型。
-
setStretchingType
public ImageStretchingParameter setStretchingType(ImageStretchingType stretchingType)
设置拉伸类型。- 参数:
stretchingType
- 拉伸类型。- 返回:
- 影像拉伸参数对象。
-
getGamma
public double getGamma()
返回伽马拉伸参数。- 返回:
- 伽马拉伸参数。
-
setGamma
public ImageStretchingParameter setGamma(double gamma)
设置伽马拉伸参数。- 参数:
gamma
- 伽马拉伸参数。- 返回:
- 伽马参数对象。
-
getNumOfStd
public int getNumOfStd()
返回高斯标准差系数。- 返回:
- 标准差数。
-
setNumOfStd
public ImageStretchingParameter setNumOfStd(int numOfStd)
设置高斯标准差系数,可以改变高斯分布的形状。- 参数:
numOfStd
- 标准差数。- 返回:
- 高斯拉伸对象。
-
dispose
public void dispose()
释放该对象所占用的资源。
-
getOutputRangeMin
@Deprecated public double getOutputRangeMin()
已过时。返回输出最小值。- 返回:
- 输出最小值。
-
setOutputRangeMin
@Deprecated public ImageStretchingParameter setOutputRangeMin(double outputRangeMin)
已过时。设置输出最小值。- 参数:
outputRangeMin
- 输出最小值。- 返回:
- 拉伸参数对象。
-
getOutputRangeMax
@Deprecated public double getOutputRangeMax()
已过时。返回输出最大值。- 返回:
- 输出最大值。
-
setOutputRangeMax
@Deprecated public ImageStretchingParameter setOutputRangeMax(double outputRangeMax)
已过时。设置输出最大值。- 参数:
outputRangeMax
- 输出最大值。- 返回:
- 拉伸参数对象。
-
getTruncationMin
@Deprecated public double getTruncationMin()
已过时。返回拉伸最小截断值。- 返回:
- 拉伸最小截断值。
-
setTruncationMin
@Deprecated public ImageStretchingParameter setTruncationMin(double truncationMin)
已过时。设置拉伸最小截断值。- 参数:
truncationMin
- 拉伸最小截断值。- 返回:
- 拉伸参数对象。
-
getTruncationMax
@Deprecated public double getTruncationMax()
已过时。返回拉伸最大截断值。- 返回:
- 拉伸最大截断值。
-
setTruncationMax
@Deprecated public ImageStretchingParameter setTruncationMax(double truncationMax)
已过时。设置拉伸最大截断值。- 参数:
truncationMax
- 拉伸最大截断值。- 返回:
- 拉伸参数对象。
-
isStretchByPercent
@Deprecated public boolean isStretchByPercent()
已过时。返回是否百分比截断拉伸。- 返回:
- 是否百分比截断拉伸。
-
setStretchByPercent
@Deprecated public ImageStretchingParameter setStretchByPercent(boolean isStretchByPercent)
已过时。设置是否百分比截断拉伸。- 参数:
isStretchByPercent
- 是否百分比截断拉伸。- 返回:
- 拉伸参数对象。
-
getHandle
public static long getHandle(com.supermap.data.InternalHandle obj)
-
setHandle
public static void setHandle(com.supermap.data.InternalHandle obj, long handle)
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.