Back to Adaptive Vision Library website

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


Header: AVL.h
Namespace: avl
Module: Photometric

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


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


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&