 | CIMUrSlopeStandardDeviation Method |
Return the standard deviation of the slopes.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static double rSlopeStandardDeviation(
CGXNETCore gxNetShared,
CIMG img
)
public static double rSlopeStandardDeviation(
CGXNETCore gxNetShared,
CIMG img
)
Public Shared Function rSlopeStandardDeviation (
gxNetShared As CGXNETCore,
img As CIMG
) As Double
Public Shared Function rSlopeStandardDeviation (
gxNetShared As CGXNETCore,
img As CIMG
) As Double
public:
static double rSlopeStandardDeviation(
CGXNETCore^ gxNetShared,
CIMG^ img
)
public:
static double rSlopeStandardDeviation(
CGXNETCore^ gxNetShared,
CIMG^ img
)
static member rSlopeStandardDeviation :
gxNetShared : CGXNETCore *
img : CIMG -> float
static member rSlopeStandardDeviation :
gxNetShared : CGXNETCore *
img : CIMG -> float
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - img
- Type: GeoEngine.Core.GXNetXCIMG
Grid object
Return Value
Type:
DoubleStandard deviation of grid slopes
Remarks
This method calculates the standard deviation of the horizontal
differences in the X and Y directions for the supplied
image. This is useful for shading routines. A good
default scaling factor is 2.5 / standard deviation.
The image will be sub-sampled to a statistically meaningful number.
The cell sizes are used to determine the slopes.
See Also