estimate_al_am ( Image : : : Albedo, Ambient )

Estimate the ambedo 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.


Attention

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 parameters will be estimated.


Parameters

Image (input_object)
image(-array) -> object
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.


Result

estimate_al_am always returns the value TRUE.


Possible Successors

sfs_mod_lr, sfs_orig_lr, sfs_pentland, phot_stereo, shade_height_field



Copyright © 1996-1997 MVTec Software GmbH