com.supermap.image.processing
类 GeometricProjectConfig
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.image.processing.GeometricProjectConfig
-
- 所有已实现的接口:
- IDisposable
public class GeometricProjectConfig extends com.supermap.data.InternalHandleDisposable
几何处理工程的配置选项
-
-
构造器概要
构造器 构造器和说明 GeometricProjectConfig()
默认构造函数
-
方法概要
所有方法 静态方法 实例方法 具体方法 限定符和类型 方法和说明 void
dispose()
释放对象所占用的资源。CorrectedModelType
getCorrectedModelType()
获取RPC纠正模型int[]
getDeviceIndices()
获取设置的显卡设备IDElevationData
getElevationData()
返回高程数据ImageAccuracy
getImageAccuracy()
获取原始影像初始精度int
getParallelNumber()
获取几何处理中 CPU 并行线程数目boolean
isComputeFootprint()
返回是否对原始影像计算影像轮廓GeometricProjectConfig
setComputeFootprint(boolean value)
设置是否对原始影像计算影像轮廓。GeometricProjectConfig
setCorrectedModelType(CorrectedModelType value)
设置RPC纠正模型GeometricProjectConfig
setDeviceIndices(int[] deviceIndices)
设置使用的显卡设备 ID。GeometricProjectConfig
setElevationData(ElevationData elevationData)
设置高程数据GeometricProjectConfig
setImageAccuracy(ImageAccuracy value)
设置原始影像初始精度static void
setIsDisposable(com.supermap.data.InternalHandleDisposable obj, boolean disposable)
GeometricProjectConfig
setParallelNumber(int parallelNumber)
设置几何处理中 CPU 并行线程数目。
-
-
-
方法详细资料
-
dispose
public void dispose()
释放对象所占用的资源。调用该方法之后,此对象不再可用。
-
setElevationData
public GeometricProjectConfig setElevationData(ElevationData elevationData)
设置高程数据- 参数:
elevationData
- 高程数据- 返回:
- 当前对象
-
getElevationData
public ElevationData getElevationData()
返回高程数据- 返回:
- 高程数据
-
setDeviceIndices
public GeometricProjectConfig setDeviceIndices(int[] deviceIndices)
设置使用的显卡设备 ID。只有在需要使用 GPU 进行计算时才有效,默认使用所有显卡- 参数:
deviceIndices
- 显卡设备ID- 返回:
- 当前对象
-
getDeviceIndices
public int[] getDeviceIndices()
获取设置的显卡设备ID- 返回:
- 显卡设备ID
-
setParallelNumber
public GeometricProjectConfig setParallelNumber(int parallelNumber)
设置几何处理中 CPU 并行线程数目。当小于等于0时,并行数目为当前计算机的所有逻辑处理器数目。- 参数:
parallelNumber
- 并行数目。- 返回:
- 当前对象
-
getParallelNumber
public int getParallelNumber()
获取几何处理中 CPU 并行线程数目- 返回:
- 几何处理中 CPU 并行线程数目
-
setComputeFootprint
public GeometricProjectConfig setComputeFootprint(boolean value)
设置是否对原始影像计算影像轮廓。对于一些影像有效范围不规则或原始影像的空间坐标系为地理坐标系或投影坐标系的影像,建议设置为true。- 参数:
value
- 是否对原始影像计算影像轮廓- 返回:
- 当前对象
-
isComputeFootprint
public boolean isComputeFootprint()
返回是否对原始影像计算影像轮廓- 返回:
- 是否对原始影像计算影像轮廓
-
setCorrectedModelType
public GeometricProjectConfig setCorrectedModelType(CorrectedModelType value)
设置RPC纠正模型- 参数:
value
- RPC纠正模型
-
getCorrectedModelType
public CorrectedModelType getCorrectedModelType()
获取RPC纠正模型- 返回:
- RPC纠正模型. 默认值为
CorrectedModelType.LINEARMODEL
-
setImageAccuracy
public GeometricProjectConfig setImageAccuracy(ImageAccuracy value)
设置原始影像初始精度- 参数:
value
- 原始影像初始精度
-
getImageAccuracy
public ImageAccuracy getImageAccuracy()
获取原始影像初始精度- 返回:
- 原始影像初始精度. 默认值为
ImageAccuracy.HIGH
-
setIsDisposable
public static void setIsDisposable(com.supermap.data.InternalHandleDisposable obj, boolean disposable)
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.