LibCapy - photometricstereo

PhotometricStereo class.

Macros:

Enumerations:

None.

Typedefs:

None.

Struct CapyPhotometricStereoInput :

Struct CapyPhotometricStereoInput's properties:

Image

Light direction from the target (normalised) -y is expected to be the direction from the object to the camera

Struct CapyPhotometricStereoInput's methods:

None.

Struct CapyPhotometricStereo :

Struct CapyPhotometricStereo's properties:

Coefficient to enhance the result of the variance method (default: 0.25)

Coefficient to enhance the normal map (default: 1.1)

Struct CapyPhotometricStereo's methods:

Variance method Inputs: inputs: input images nbInput: number of input images

Output and side effect(s):

Return an image in greyscale where the pixel intensity is proportional to the variance of the light intensity in the input images. The light direction is not used in this method.

Basic method Inputs: inputs: input images nbInput: number of input images

Output and side effect(s):

Return an image in false color representing an estimation of the normal map of the target.

Enhance a normal map for easier visualisation

Input argument(s):

map: normal map (as generated by getBasic for example)

Output and side effect(s):

Return an image in false color of the enhanced normal map

Destructor

Functions:

Create a CapyPhotometricStereo

Output and side effect(s):

Return a CapyPhotometricStereo

Allocate memory for a new CapyPhotometricStereo and create it

Output and side effect(s):

Return a CapyPhotometricStereo

Exception(s):

May raise CapyExc_MallocFailed.

Free the memory used by a CapyPhotometricStereo* and reset '*that' to NULL

Input argument(s):

that: a pointer to the CapyPhotometricStereo to free

2026-03-29
in LibCapy,
6 views
Copyright 2021-2026 Baillehache Pascal