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

FIL.PhotometricStereo_General_Perform

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inImagesSystem.Collections.Generic.IList<FilNet.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.
outSurfaceNormalsFilNet.Image
outIntensitiesFilNet.Image
outAlbedoFilNet.Image

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