Click or drag to resize

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
Syntax
public static double rSlopeStandardDeviation(
	CIMG img
)

public static double rSlopeStandardDeviation(
	CIMG img
)

Parameters

img
Type: GeoEngine.Core.GXNetCIMG
Grid object

Return Value

Type: Double
Standard 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