You are here: Start » AVL.NET » Function Reference » Computer Vision » Image Analysis » AVL.PhotometricStereo_SurfaceCurvature

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 inScale,
	float inOffset,
	AvlNet.Image outSurfaceCurvature
)

Parameters

Name Type Range Default Description
inSurfaceNormalsAvlNet.Image
inCurvatureMeasureAvlNet.CurvatureMeasureGaussMethod used for measuring the surface curvature. Default value: Gauss.
inSmoothingStdDevXfloat<0.0f, INF>1.0fHorizontal standard deviation of the gaussian smoothing applied to surface normals. Default value: 1.0f.
inScalefloat<0.0f, INF>1.0fScaling factor. Default value: 1.0f.
inOffsetfloat50.0fValue added to rescaled curvature value. Default value: 50.0f.
outSurfaceCurvatureAvlNet.Image

Errors

List of possible exceptions:

Error type Description
DomainError Not supported inSurfaceNormals pixel format in PhotometricStereo_SurfaceCurvature.

Function Overrides

See also