You are here: Start » FIL.NET » Function Reference » Computer Vision » Image Analysis » 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 | |
---|---|---|---|---|---|
![]() | inImages | System.Collections.Generic.IList<FilNet.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 | FilNet.Image | |||
![]() | outIntensities | FilNet.Image | |||
![]() | outAlbedo | FilNet.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. |