Click or drag to resize
CIMUGridTrnd Method
Remove a trend surface from a grid.

Available since Oasis montaj version: 5.0.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
Both Images must be of type GS_DOUBLE. The VM parameter must be of type REAL, and be of size 10 at most. The number of coefficients must be compatible with the order of the trend removed. Following is the number of coefficients which should be present for a given order Order Number of Coefficients ----- ---------------------- 0 1 1 3 2 6 3 10
Syntax
public static void GridTrnd(
	CIMG oIMG1,
	CIMG oIMG2,
	int i3,
	int i4,
	int i5,
	CVM oVM6,
	int i7
)

Parameters

oIMG1
Type: GeoEngine.Core.GXNetCIMG
Handle to input image
oIMG2
Type: GeoEngine.Core.GXNetCIMG
Handle to output image
i3
Type: SystemInt32
0-calculate, 1-given, 2-replace
i4
Type: SystemInt32
See IMU_TRENDConstant
i5
Type: SystemInt32
Trend order
oVM6
Type: GeoEngine.Core.GXNetCVM
VM holds coefficients
i7
Type: SystemInt32
Number of coefficients
See Also