![](../icons/Help.png) | CPGUPeakednessGrid Method |
Create peakedneess grid from input grid.
Available since Oasis montaj version: 5.0.8
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
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.
Syntaxpublic static void PeakednessGrid(
CGXNETCore gxNetShared,
string grdi,
string grdo,
int radius,
double percent_lesser
)
Public Shared Sub PeakednessGrid (
gxNetShared As CGXNETCore,
grdi As String,
grdo As String,
radius As Integer,
percent_lesser As Double
)
public:
static void PeakednessGrid(
CGXNETCore^ gxNetShared,
String^ grdi,
String^ grdo,
int radius,
double percent_lesser
)
static member PeakednessGrid :
gxNetShared : CGXNETCore *
grdi : string *
grdo : string *
radius : int *
percent_lesser : float -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - 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)
See Also