estimate_sl_al_zcestimate_sl_al_zcEstimateSlAlZcEstimateSlAlZc (Operator)
Name
estimate_sl_al_zcestimate_sl_al_zcEstimateSlAlZcEstimateSlAlZc
— Estimate the slant of a light source and the albedo of a surface.
Signature
Description
estimate_sl_al_zcestimate_sl_al_zcEstimateSlAlZcEstimateSlAlZcEstimateSlAlZc
estimates the SlantSlantSlantSlantslant
of a
light source, i.e. the angle between the light source and the positive
z-axis, and the albedo of the surface in the input image
ImageImageImageImageimage
, i.e. the percentage of light reflected by the
surface, using the algorithm of Zheng and Chellappa.
Attention
The AlbedoAlbedoAlbedoAlbedoalbedo
is assumed constant for the entire surface
depicted in the image.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Automatically parallelized on tuple level.
Parameters
ImageImageImageImageimage
(input_object) singlechannelimage(-array) →
objectHImageHImageHobject (byte)
Image for which slant and albedo are to be estimated.
SlantSlantSlantSlantslant
(output_control) angle.deg(-array) →
HTupleHTupleHtuple (real) (double) (double) (double)
Angle of the light sources and the positive z-axis
(in degrees).
AlbedoAlbedoAlbedoAlbedoalbedo
(output_control) real(-array) →
HTupleHTupleHtuple (real) (double) (double) (double)
Amount of light reflected by the surface.
Result
estimate_sl_al_zcestimate_sl_al_zcEstimateSlAlZcEstimateSlAlZcEstimateSlAlZc
always returns the value 2 (H_MSG_TRUE).
Possible Successors
sfs_mod_lrsfs_mod_lrSfsModLrSfsModLrSfsModLr
,
sfs_orig_lrsfs_orig_lrSfsOrigLrSfsOrigLrSfsOrigLr
,
sfs_pentlandsfs_pentlandSfsPentlandSfsPentlandSfsPentland
,
photometric_stereophotometric_stereoPhotometricStereoPhotometricStereoPhotometricStereo
,
shade_height_fieldshade_height_fieldShadeHeightFieldShadeHeightFieldShadeHeightField
Module
3D Metrology