 | CPGUPeakednessGrid Method |
Create peakedneess grid from input grid.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void PeakednessGrid(
string grdi,
string grdo,
int radius,
double percent_lesser
)
public static void PeakednessGrid(
string grdi,
string grdo,
int radius,
double percent_lesser
)
Public Shared Sub PeakednessGrid (
grdi As String,
grdo As String,
radius As Integer,
percent_lesser As Double
)
Public Shared Sub PeakednessGrid (
grdi As String,
grdo As String,
radius As Integer,
percent_lesser As Double
)
public:
static void PeakednessGrid(
String^ grdi,
String^ grdo,
int radius,
double percent_lesser
)
public:
static void PeakednessGrid(
String^ grdi,
String^ grdo,
int radius,
double percent_lesser
)
static member PeakednessGrid :
grdi : string *
grdo : string *
radius : int *
percent_lesser : float -> unit
static member PeakednessGrid :
grdi : string *
grdo : string *
radius : int *
percent_lesser : float -> unit
Parameters
- grdi
- Type: SystemString
Input grid file name - grdo
- Type: SystemString
Output grid (peakedness) file name - radius
- Type: SystemInt32
Radius - percent_lesser
- Type: SystemDouble
Percent Lesser value (see notes)
Remarks
This function creates a peakedneess grid from input grid.
Radius, is the maximum radius at which the value of the parent pixel is compared to
the value of surrounding pixels.
percent_lesser, is used to indicate the percentage of pixels at each radii smaller than
or equal to Radius that must have value lower than the parent pixel in order to call
that radius true or equal to 1.
Description: For each pixel in the grid a series of radii are evaluated from 1 to Radius.
If the percentage of pixels for a given radius is less than percent_lesser the parent pixel
receives an additional 1.
For examples if the Radius is set to 5 and the percent_lesser is set to 70%.
And radius 1 = 90%, radius 2 = 85%, radius 3 = 75%, radius 4 = 70% and radius 5 = 65%
then the parent pixel would receive 1+1+1+1+0 = 4.
Use: This function is useful in isolating the anomaly peaks in data that has a large
value range for anomalies. For example the 1 mV anomaly could quite possibly have
the same representation as the 100 mV anomaly using this function.
See Also