 | CIMUPeakSize2 Method |
Define the sizes of all the peaks in an image - new algorithm
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static void PeakSize2(
CGXNETCore gxNetShared,
string grid,
CVV vv_x,
CVV vv_y,
int max,
CVV v_vz
)
public static void PeakSize2(
CGXNETCore gxNetShared,
string grid,
CVV vv_x,
CVV vv_y,
int max,
CVV v_vz
)
Public Shared Sub PeakSize2 (
gxNetShared As CGXNETCore,
grid As String,
vv_x As CVV,
vv_y As CVV,
max As Integer,
v_vz As CVV
)
Public Shared Sub PeakSize2 (
gxNetShared As CGXNETCore,
grid As String,
vv_x As CVV,
vv_y As CVV,
max As Integer,
v_vz As CVV
)
public:
static void PeakSize2(
CGXNETCore^ gxNetShared,
String^ grid,
CVV^ vv_x,
CVV^ vv_y,
int max,
CVV^ v_vz
)
public:
static void PeakSize2(
CGXNETCore^ gxNetShared,
String^ grid,
CVV^ vv_x,
CVV^ vv_y,
int max,
CVV^ v_vz
)
static member PeakSize2 :
gxNetShared : CGXNETCore *
grid : string *
vv_x : CVV *
vv_y : CVV *
max : int *
v_vz : CVV -> unit
static member PeakSize2 :
gxNetShared : CGXNETCore *
grid : string *
vv_x : CVV *
vv_y : CVV *
max : int *
v_vz : CVV -> unit
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
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.
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.
See Also