com.supermap.image.processing
类 ImageExportParameter
- java.lang.Object
-
- com.supermap.image.processing.ImageOutputOption
-
- com.supermap.image.processing.ImageExportParameter
-
public class ImageExportParameter extends ImageOutputOption
影像导出参数类
-
-
构造器概要
构造器 构造器和说明 ImageExportParameter()
构造一个影像导出参数对象。
-
方法概要
-
从类继承的方法 com.supermap.image.processing.ImageOutputOption
fromMap, getCompressMethod, getFileType, isWriteAsTile, setCompressMethod, setFileType, setWriteAsTile, toMap
-
-
-
-
方法详细资料
-
getPixelFormat
public PixelFormat getPixelFormat()
- 返回:
- 获取影像像素格式
-
setPixelFormat
public ImageExportParameter setPixelFormat(PixelFormat pixelFormat)
设置输出影像像素格式- 参数:
pixelFormat
- 影像像素格式- 返回:
- 当前对象
-
getNoDataValue
public double getNoDataValue()
- 返回:
- 获取影像无值
-
setNoDataValue
public ImageExportParameter setNoDataValue(double noDataValue)
设置输出影像无值- 参数:
noDataValue
- 影像无值- 返回:
- 当前对象
-
getResolution
public double getResolution()
- 返回:
- 获取影像分辨率
-
setResolution
public ImageExportParameter setResolution(double resolution)
设置输出影像分辨率- 参数:
resolution
- 影像分辨率- 返回:
- 当前对象
-
getClipBounds
public Rectangle2D getClipBounds()
- 返回:
- 获取影像裁剪区域
-
setClipBounds
public ImageExportParameter setClipBounds(Rectangle2D bounds)
设置输出影像裁剪区域- 参数:
bounds
- 影像裁剪区域- 返回:
- 当前对象
-
getPrjCoordSys
public PrjCoordSys getPrjCoordSys()
- 返回:
- 获取影像坐标系
-
setPrjCoordSys
public ImageExportParameter setPrjCoordSys(PrjCoordSys prj)
设置输出影像坐标系- 参数:
prj
- 影像文件类型- 返回:
- 当前对象
-
getResampleMethod
public ResampleMethod getResampleMethod()
- 返回:
- 获取影像重采样方法
-
setResampleMethod
public ImageExportParameter setResampleMethod(ResampleMethod resampleMethod)
设置输出影像重采样方式- 参数:
resampleMethod
- 影像重采样方式- 返回:
- 当前对象
-
isImageStretch
public boolean isImageStretch()
是否进行影像拉伸,仅在影像需要进行像素格式变化时有效- 返回:
-
setImageStretch
public ImageExportParameter setImageStretch(boolean imgStretch)
设置是否进行影像拉伸,仅在影像需要进行像素格式变化时有效。如果为true,则使用线性拉伸进行影像的像素格式转换,否则,将直接截断像素值- 参数:
imgStretch
- 是否进行影像拉伸- 返回:
- 当前对象
-
getBandList
public int[] getBandList()
- 返回:
- 获取影像波段集合
-
setBandList
public ImageExportParameter setBandList(int[] bandList)
设置输出影像波段集合- 参数:
bandList
- 影像影像波段列表- 返回:
- 当前对象
-
getCoordSysTransMethod
public CoordSysTransMethod getCoordSysTransMethod()
- 返回:
- 获取投影转换方法参数
-
setCoordSysTransMethod
public ImageExportParameter setCoordSysTransMethod(CoordSysTransMethod coordSysTransMethod)
设置投影转换方法- 参数:
coordSysTransMethod
- 投影转换方法- 返回:
- 当前对象
-
getCoordSysTransParameter
public CoordSysTransParameter getCoordSysTransParameter()
- 返回:
- 获取投影转换方法
-
setCoordSysTransParameter
public ImageExportParameter setCoordSysTransParameter(CoordSysTransParameter coordSysTransParameter)
设置投影转换参数- 参数:
coordSysTransParameter
- 投影转换参数- 返回:
- 当前对象
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.