You are here: Start » AVL.NET » Function Reference » Computer Vision » Image Analysis » AVL.PhotometricStereo_ComputeHeightMap

AVL.PhotometricStereo_ComputeHeightMap

Computes the shape of the image object using surface normals.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PhotometricStereo_ComputeHeightMap
(
	AvlNet.Image inSurfaceNormals,
	AvlNet.Image outHeightMap
)

Parameters

Name Type Range Default Description
inSurfaceNormalsAvlNet.Image
outHeightMapAvlNet.Image

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.

See also