You are here: Start » FIL.NET » Function Reference » Computer Vision » Image Analysis » 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? inSmoothingStdDevY, float inScale, float inOffset, FilNet.Image outSurfaceCurvature )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurfaceNormals | FilNet.Image | |||
![]() | inCurvatureMeasure | FilNet.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: ftl::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 | FilNet.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. |