Back to FabImage Library website
You are here: Start » Function Reference » Computer Vision » Image Analysis » PhotometricStereo_ComputeHeightMap

PhotometricStereo_ComputeHeightMap
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Photometric |
Computes the shape of the image object using surface normals.
Syntax
C++
C#
void fil::PhotometricStereo_ComputeHeightMap ( const fil::Image& inSurfaceNormals, fil::Image& outHeightMap )
Parameters
Requirements
For input inSurfaceNormals only pixel formats are supported: 2⨯real.
Read more about pixel formats in Image documentation.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | No proper structure available to compute heights for given image dimensions in PhotometricStereo_ComputeHeightMap. Please use PhotometricStereo_InitializeHeightMapStruct before using this function. |
DomainError | Not supported inSurfaceNormals pixel format in PhotometricStereo_ComputeHeightMap. Supported formats: 2xReal. |