com.supermap.analyst.spatialanalyst
类 InterpolationCressmanParameter
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.analyst.spatialanalyst.InterpolationParameter
-
- com.supermap.analyst.spatialanalyst.InterpolationCressmanParameter
-
- 所有已实现的接口:
- IDisposable
public class InterpolationCressmanParameter extends InterpolationParameter
克雷斯曼客观分析插值法(Cressman)参数类,继承自InterpolationParameter
类。该类为 Cressman插值算法提供必要的参数信息,包括逼近值、最大迭代次数等。。Cressman 插值算法是在气象领域中应用最多的一种插值方法,是将离散点内插到规则格点引起误差较小的一种逐步订正的内插方法,被广泛应用于气象领城各种诊断分析和数值预报方案的客观分析中。作为气象上最常用的客观分析方法,Cressman插值能非常好地完成拟合内插,模拟的情形比较接近实际情况,图像比较平滑和连续既美观而且数据精度也比较高。
-
-
构造器概要
构造器 构造器和说明 InterpolationCressmanParameter()
构造一个 InterpolationCressmanParameter 的新对象。InterpolationCressmanParameter(double approximation, int maxIterationCount, double resolution, double searchRadius)
根据指定的参数构造一个 InterpolationCressmanParameter 的新对象。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 double
getApproximation()
返回Cressman插值的逼近值。double
getMaxIterationCount()
返回Cressman插值的最大迭代次数。InterpolationAlgorithmType
getType()
返回插值算法类型。void
setApproximation(double value)
设置Cressman插值的逼近值。void
setMaxIterationCount(int value)
设置Cressman插值的最大迭代次数。String
toString()
返回一个表示 InterpolationCressmanParameter 对象的字符串。-
从类继承的方法 com.supermap.analyst.spatialanalyst.InterpolationParameter
dispose, getBounds, getExpectedCount, getMaxPointCountForInterpolation, getMaxPointCountInNode, getResolution, getSearchMode, getSearchRadius, setBounds, setExpectedCount, setMaxPointCountForInterpolation, setMaxPointCountInNode, setResolution, setSearchMode, setSearchRadius
-
-
-
-
构造器详细资料
-
InterpolationCressmanParameter
public InterpolationCressmanParameter()
构造一个 InterpolationCressmanParameter 的新对象。
-
InterpolationCressmanParameter
public InterpolationCressmanParameter(double approximation, int maxIterationCount, double resolution, double searchRadius)
根据指定的参数构造一个 InterpolationCressmanParameter 的新对象。- 参数:
approximation
- 指定的插值运算的逼近值。maxIterationCount
- 指定的插值运算的最大迭代次数。resolution
- 指定的插值运算所获得的栅格数据集的分辨率。searchRadius
- 指定的插值运算时查找参数运算点的查找范围。
-
-
方法详细资料
-
getApproximation
public double getApproximation()
返回Cressman插值的逼近值。Cressman插值迭代计算的逼近值,取值范围大于0。值越小拟合程度越高,意味着插值效果更好,但过小的话会导致迭代次数更多、运行时间更长。
- 返回:
- Cressman插值的逼近值。
- 默认值:
- 默认值为 0.1。
-
setApproximation
public void setApproximation(double value)
设置Cressman插值的逼近值。Cressman插值迭代计算的逼近值,取值范围大于0。值越小拟合程度越高,意味着插值效果更好,但过小的话会导致迭代次数更多、运行时间更长。
- 参数:
value
- Cressman插值的逼近值。
-
getMaxIterationCount
public double getMaxIterationCount()
返回Cressman插值的最大迭代次数。即插值拟合过程的最大迭代次数,设置该值是为了避免逼近值较小时导致的迭代次数过多,运行时间过长。
- 返回:
- 最大迭代次数
- 默认值:
- 默认值为10。
-
setMaxIterationCount
public void setMaxIterationCount(int value)
设置Cressman插值的最大迭代次数。即插值拟合过程的最大迭代次数,设置该值是为了避免逼近值较小时导致的迭代次数过多,运行时间过长。
- 参数:
value
- Cressman插值的最大迭代次数
-
getType
public InterpolationAlgorithmType getType()
返回插值算法类型。- 指定者:
getType
在类中InterpolationParameter
- 返回:
- 插值算法的类型。
- 另请参阅:
InterpolationAlgorithmType
-
toString
public String toString()
返回一个表示 InterpolationCressmanParameter 对象的字符串。- 覆盖:
toString
在类中InterpolationParameter
- 返回:
- 表示此插值分析方法参数类实例的字符串。
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.