PhotometricStereo_Perform
Computes surface normals using four images with light source in different places.
Syntax
C++
C#
Python
def PhotometricStereo_Perform( inImage1: Image, inImage2: Image, inImage3: Image, inImage4: Image, inXYAngleOffset: float, inZAngle: float, outSurfaceNormals: Image, outIntensities: Image, outAlbedo: Image, / ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage1 | Image | First input image | |
![]() |
inImage2 | Image | Second input image | |
![]() |
inImage3 | Image | Third input image | |
![]() |
inImage4 | Image | Fourth input image | |
![]() |
inXYAngleOffset | float | Angle of first light source on XY plane | |
![]() |
inZAngle | float | Angle between light source and normal, where normal is camera optical axis | |
![]() |
outSurfaceNormals | Image | ||
![]() |
outIntensities | Image | ||
![]() |
outAlbedo | Image |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.


