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

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

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
Both Images must be of type <define>GS_DOUBLE</define>. 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(
	CGXNETCore gxNetShared,
	CIMG imgi,
	CIMG imgo,
	int tr_option,
	int edge,
	int order,
	CVM vm,
	int num_coefs
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
imgi
Type: GeoEngine.Core.GXNetXCIMG
Handle to input image
imgo
Type: GeoEngine.Core.GXNetXCIMG
Handle to output image
tr_option
Type: SystemInt32
0-calculate, 1-given, 2-replace
edge
Type: SystemInt32
<define>IMU_TREND</define>
order
Type: SystemInt32
Trend order
vm
Type: GeoEngine.Core.GXNetXCVM
VM holds coefficients
num_coefs
Type: SystemInt32
Number of coefficients
See Also