Back to Adaptive Vision Library website

You are here: Start » Function Reference » Computer Vision » Image Analysis » PhotometricStereo_Perform

PhotometricStereo_Perform


Header: AVL.h
Namespace: avl
Module: Photometric

Computes surface normals using four images with light source in different places.

Syntax

C++
C#
 
void avl::PhotometricStereo_Perform
(
	const avl::Image& inImage1,
	const avl::Image& inImage2,
	const avl::Image& inImage3,
	const avl::Image& inImage4,
	const float inXYAngleOffset,
	const float inZAngle,
	avl::Image& outSurfaceNormals,
	avl::Image& outIntensities,
	avl::Image& outAlbedo
)

Parameters

Name Type Default Description
Input value
inImage1 const Image& First input image
Input value
inImage2 const Image& Second input image
Input value
inImage3 const Image& Third input image
Input value
inImage4 const Image& Fourth input image
Input value
inXYAngleOffset const float 0.0f Angle of first light source on XY plane
Input value
inZAngle const float 45.0f Angle between light source and normal, where normal is camera optical axis
Output value
outSurfaceNormals Image&
Output value
outIntensities Image&
Output value
outAlbedo Image&

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.