estimate_al_am
— Estimate the albedo of a surface and the amount of ambient light.
estimate_al_am
estimates the Albedo
of a
surface, i.e. the percentage of light reflected by the surface, and
the amount of ambient light Ambient
by using the maximum
and minimum gray values of the image.
It is assumed that the image contains at least one point for which the reflection function assumes its minimum, e.g., points in shadows. Furthermore, it is assumed that the image contains at least one point for which the reflection function assumes its maximum. If this is not the case, wrong values will be estimated.
Image
(input_object) singlechannelimage(-array) →
object (byte)
Image for which albedo and ambient are to be estimated.
Albedo
(output_control) real(-array) →
(real)
Amount of light reflected by the surface.
Ambient
(output_control) real(-array) →
(real)
Amount of ambient light.
estimate_al_am
always returns the value 2 (H_MSG_TRUE).
sfs_mod_lr
,
sfs_orig_lr
,
sfs_pentland
,
photometric_stereo
,
shade_height_field
3D Metrology