 | CIMUrSlopeStandardDeviation Method |
Return the standard deviation of the slopes.
Namespace:
GeoEngine.Core.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static double rSlopeStandardDeviation(
CIMG img
)
public static double rSlopeStandardDeviation(
CIMG img
)
Public Shared Function rSlopeStandardDeviation (
img As CIMG
) As Double
Public Shared Function rSlopeStandardDeviation (
img As CIMG
) As Double
public:
static double rSlopeStandardDeviation(
CIMG^ img
)
public:
static double rSlopeStandardDeviation(
CIMG^ img
)
static member rSlopeStandardDeviation :
img : CIMG -> float
static member rSlopeStandardDeviation :
img : CIMG -> float
Parameters
- img
- Type: GeoEngine.Core.GXNetCIMG
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