Click or drag to resize

CIMUPeakSize Method

Define the sizes of all the peaks in an image.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static void PeakSize(
	CGXNETCore gxNetShared,
	string grid,
	CVV vv_x,
	CVV vv_y,
	int max,
	double prec,
	CVV v_vz
)

public static void PeakSize(
	CGXNETCore gxNetShared,
	string grid,
	CVV vv_x,
	CVV vv_y,
	int max,
	double prec,
	CVV v_vz
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
grid
Type: SystemString
Grid file name
vv_x
Type: GeoEngine.Core.GXNetXCVV
Peaks' X
vv_y
Type: GeoEngine.Core.GXNetXCVV
Peaks' Y
max
Type: SystemInt32
Maximum target diameter (window) in # of cells
prec
Type: SystemDouble
Precision factor (see note above)
v_vz
Type: GeoEngine.Core.GXNetXCVV
Returned peak (anomaly) sizes in data units
Remarks
Extending from the peak location of an anomaly to the inflection points of the grid values along each of the 8 directions results in 8 radii. Anomaly size is defined as the 2*mediam of the 8 radii. Precision factor is used to control definition of an inflection point. For points A,B, and C, B is an inflection point if (A+C)/2.0 > B. With the precision factor, B is an inflection point only when (A+C)/2.0 > B*(1.0+Precision factor). This factor must be within (-1.0,1.0). Note: PeakSize2_IMU is probably a better routine...
See Also