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

FIL.PhotometricStereo_SurfaceCurvature

Computes the surface curvature using previously computed normals.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void PhotometricStereo_SurfaceCurvature
(
	FilNet.Image inSurfaceNormals,
	FilNet.CurvatureMeasure inCurvatureMeasure,
	float inSmoothingStdDevX,
	float inScale,
	float inOffset,
	FilNet.Image outSurfaceCurvature
)

Parameters

Name Type Range Default Description
inSurfaceNormalsFilNet.Image
inCurvatureMeasureFilNet.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.
outSurfaceCurvatureFilNet.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.

Function Overrides

See also