| 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.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.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(
string str1,
CVV oVV2,
CVV oVV3,
int i4,
CVV oVV5
)
Public Shared Sub PeakSize2 (
str1 As String,
oVV2 As CVV,
oVV3 As CVV,
i4 As Integer,
oVV5 As CVV
)
public:
static void PeakSize2(
String^ str1,
CVV^ oVV2,
CVV^ oVV3,
int i4,
CVV^ oVV5
)
static member PeakSize2 :
str1 : string *
oVV2 : CVV *
oVV3 : CVV *
i4 : int *
oVV5 : CVV -> unit
Parameters
- str1
- Type: SystemString
Grid file name - oVV2
- Type: GeoEngine.Core.GXNetCVV
Peaks' X - oVV3
- Type: GeoEngine.Core.GXNetCVV
Peaks' Y - i4
- Type: SystemInt32
Maximum target diameter (window) in # of cells - oVV5
- Type: GeoEngine.Core.GXNetCVV
Returned peak (anomaly) sizes in data units
See Also