 | 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
Syntaxpublic 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
)
Public Shared Sub PeakSize (
gxNetShared As CGXNETCore,
grid As String,
vv_x As CVV,
vv_y As CVV,
max As Integer,
prec As Double,
v_vz As CVV
)
Public Shared Sub PeakSize (
gxNetShared As CGXNETCore,
grid As String,
vv_x As CVV,
vv_y As CVV,
max As Integer,
prec As Double,
v_vz As CVV
)
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
)
static member PeakSize :
gxNetShared : CGXNETCore *
grid : string *
vv_x : CVV *
vv_y : CVV *
max : int *
prec : float *
v_vz : CVV -> unit
static member PeakSize :
gxNetShared : CGXNETCore *
grid : string *
vv_x : CVV *
vv_y : CVV *
max : int *
prec : float *
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 - 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