You are here: Start » AVL.NET » Function Reference » Computer Vision » Image Analysis » AVL.PhotometricStereo_SurfaceCurvature
Computes the surface curvature using previously computed normals.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void PhotometricStereo_SurfaceCurvature ( AvlNet.Image inSurfaceNormals, AvlNet.CurvatureMeasure inCurvatureMeasure, float inSmoothingStdDevX, float? inSmoothingStdDevY, float inScale, float inOffset, AvlNet.Image outSurfaceCurvature )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurfaceNormals | AvlNet.Image | ||||
inCurvatureMeasure | AvlNet.CurvatureMeasure | Gauss | Method used for measuring the surface curvature. Default value: Gauss. | ||
inSmoothingStdDevX | float | <0.0f, INF> | 1.0f | Horizontal standard deviation of the gaussian smoothing applied to surface normals. Default value: 1.0f. | |
inSmoothingStdDevY | float? | <0.0f, INF> | Vertical standard deviation of the gaussian smoothing applied to surface normals. Default value: atl::NIL. | ||
inScale | float | <0.0f, INF> | 1.0f | Scaling factor. Default value: 1.0f. | |
inOffset | float | 50.0f | Value added to rescaled curvature value. Default value: 50.0f. | ||
outSurfaceCurvature | AvlNet.Image |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Not supported inSurfaceNormals pixel format in PhotometricStereo_SurfaceCurvature. Supported formats: 2xUInt8, 2xInt8, 2xUInt16, 2xInt16, 2xInt32, 2xReal. |