Click or drag to resize
CIMUPeakSize2 Method
Define the sizes of all the peaks in an image - new algorithm

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

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
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. This algorithm uses 4 successive points d1, d2, d3 and d4 in any direction. Given slopes m1 = d2-d1, m2 = d3-d2 and m3 = d4-d3, an inflection point occurs between d2 and d3 if m1>m2 and m2<m3. The location index is given as i3 - s2/(s2-s1), where i3 is the index of d3, and s1=m2-m1 and s2=m3-m2. This algorithm tends to give much smaller (and more reasonable) results than PeakSize_IMU.
Syntax
public static void PeakSize2(
	CGXNETCore gxNetShared,
	string grid,
	CVV vv_x,
	CVV vv_y,
	int max,
	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
v_vz
Type: GeoEngine.Core.GXNetXCVV
Returned peak (anomaly) sizes in data units
See Also