Click or drag to resize
CIMUrSlopeStandardDeviation Method
Return the standard deviation of the slopes.

Available since Oasis montaj version: 8.2
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
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.
Syntax
public static double rSlopeStandardDeviation(
	CGXNETCore gxNetShared,
	CIMG img
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
img
Type: GeoEngine.Core.GXNetXCIMG
Grid object

Return Value

Type: Double
Standard deviation of grid slopes
See Also