PhotometricStereo_SurfaceCurvature
Computes the surface curvature using previously computed normals.
Syntax
C++
C#
Python
def PhotometricStereo_SurfaceCurvature( inSurfaceNormals: Image, outSurfaceCurvature: Image, /, *, inCurvatureMeasure: CurvatureMeasure = CurvatureMeasure.Gauss, inSmoothingStdDevX: float = 1.0, inSmoothingStdDevY: float | None = None, inScale: float = 1.0, inOffset: float = 50.0 ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inSurfaceNormals | Image | |||
![]() |
inCurvatureMeasure | CurvatureMeasure | CurvatureMeasure.Gauss | Method used for measuring the surface curvature | |
![]() |
inSmoothingStdDevX | float | 0.0 - ![]() |
1.0 | Horizontal standard deviation of the gaussian smoothing applied to surface normals |
![]() |
inSmoothingStdDevY | float | None | 0.0 - ![]() |
None | Vertical standard deviation of the gaussian smoothing applied to surface normals |
![]() |
inScale | float | 0.0 - ![]() |
1.0 | Scaling factor |
![]() |
inOffset | float | 50.0 | Value added to rescaled curvature value | |
![]() |
outSurfaceCurvature | Image |



