Back to Aurora Vision Library website
You are here: Start » Function Reference » Computer Vision » Image Analysis » PhotometricStereo_General_Perform
PhotometricStereo_General_Perform
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Photometric |
Computes surface normals using images with light source in different places.
Syntax
C++
C#
void avl::PhotometricStereo_General_Perform ( const atl::Array<avl::Image>& inImages, const atl::Array<float>& inLightXYAngles, const atl::Array<float>& inLightZAngles, avl::Image& outSurfaceNormals, avl::Image& outIntensities, avl::Image& outAlbedo )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inImages | const Array<Image>& | |||
inLightXYAngles | const Array<float>& | Angle of light source on XY plane | ||
inLightZAngles | const Array<float>& | 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.
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. |