You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
inImages | System.Collections.Generic.IList<AvlNet.Image> | ||||
inLightXYAngles | System.Collections.Generic.IList<float> | Angle of light source on XY plane. | |||
inLightZAngles | System.Collections.Generic.IList<float> | Angle between light source and normal, where normal is camera optical axis. | |||
outSurfaceNormals | AvlNet.Image | ||||
outIntensities | AvlNet.Image | ||||
outAlbedo | AvlNet.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. |