You are here: Start » AVL.NET » Function Reference » Computer Vision » Image Analysis » AVL.PhotometricStereo_General_Perform

AVL.PhotometricStereo_General_Perform

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PhotometricStereo_General_Perform
(
	IList<AvlNet.Image> inImages,
	IList<float> inLightXYAngles,
	IList<float> inLightZAngles,
	AvlNet.Image outSurfaceNormals,
	AvlNet.Image outIntensities,
	AvlNet.Image outAlbedo
)

Parameters

Name Type Range Default Description
inImagesSystem.Collections.Generic.IList<AvlNet.Image>
inLightXYAnglesSystem.Collections.Generic.IList<float>Angle of light source on XY plane.
inLightZAnglesSystem.Collections.Generic.IList<float>Angle between light source and normal, where normal is camera optical axis.
outSurfaceNormalsAvlNet.Image
outIntensitiesAvlNet.Image
outAlbedoAvlNet.Image

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

Errors

List of possible exceptions:

Error type Description
DomainError Different image dimensions on input in PhotometricStereo_General_Perform.
DomainError Different types of images on input in PhotometricStereo_General_Perform.
DomainError Inconsistent array sizes in PhotometricStereo_General_Perform.
DomainError Not enough images on input in PhotometricStereo_General_Perform.
DomainError Not single-channel image on input in PhotometricStereo_General_Perform.

See also