Back to FabImage Library website
You are here: Start » Function Reference » Computer Vision » Image Analysis » PhotometricStereo_Perform

PhotometricStereo_Perform
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Photometric |
Computes surface normals using four images with light source in different places.
Syntax
C++
C#
void fil::PhotometricStereo_Perform ( const fil::Image& inImage1, const fil::Image& inImage2, const fil::Image& inImage3, const fil::Image& inImage4, const float inXYAngleOffset, const float inZAngle, fil::Image& outSurfaceNormals, fil::Image& outIntensities, fil::Image& outAlbedo )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inImage1 | const Image& | First input image | |
![]() |
inImage2 | const Image& | Second input image | |
![]() |
inImage3 | const Image& | Third input image | |
![]() |
inImage4 | const Image& | Fourth input image | |
![]() |
inXYAngleOffset | const float | 0.0f | Angle of first light source on XY plane |
![]() |
inZAngle | const float | 45.0f | 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.