ClassesClassesClassesClasses | | | | Operators

estimate_sl_al_lrestimate_sl_al_lrEstimateSlAlLrestimate_sl_al_lrEstimateSlAlLrEstimateSlAlLr (Operator)

Name

estimate_sl_al_lrestimate_sl_al_lrEstimateSlAlLrestimate_sl_al_lrEstimateSlAlLrEstimateSlAlLr — Estimate the slant of a light source and the albedo of a surface.

Signature

estimate_sl_al_lr(Image : : : Slant, Albedo)

Herror estimate_sl_al_lr(const Hobject Image, double* Slant, double* Albedo)

Herror T_estimate_sl_al_lr(const Hobject Image, Htuple* Slant, Htuple* Albedo)

Herror estimate_sl_al_lr(Hobject Image, double* Slant, double* Albedo)

Herror estimate_sl_al_lr(Hobject Image, HTuple* Slant, HTuple* Albedo)

double HImage::EstimateSlAlLr(double* Albedo) const

HTuple HImageArray::EstimateSlAlLr(HTuple* Albedo) const

void EstimateSlAlLr(const HObject& Image, HTuple* Slant, HTuple* Albedo)

HTuple HImage::EstimateSlAlLr(HTuple* Albedo) const

double HImage::EstimateSlAlLr(double* Albedo) const

void HOperatorSetX.EstimateSlAlLr(
[in] IHUntypedObjectX* Image, [out] VARIANT* Slant, [out] VARIANT* Albedo)

VARIANT HImageX.EstimateSlAlLr([out] VARIANT* Albedo)

static void HOperatorSet.EstimateSlAlLr(HObject image, out HTuple slant, out HTuple albedo)

HTuple HImage.EstimateSlAlLr(out HTuple albedo)

double HImage.EstimateSlAlLr(out double albedo)

Description

estimate_sl_al_lrestimate_sl_al_lrEstimateSlAlLrestimate_sl_al_lrEstimateSlAlLrEstimateSlAlLr estimates the SlantSlantSlantSlantSlantslant 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 ImageImageImageImageImageimage, i.e. the percentage of light reflected by the surface, using the algorithm of Lee and Rosenfeld.

Attention

The AlbedoAlbedoAlbedoAlbedoAlbedoalbedo is assumed constant for the entire surface depicted in the image.

Parallelization

Parameters

ImageImageImageImageImageimage (input_object)  singlechannelimage(-array) objectHImageHImageHImageHImageXHobject (byte)

Image for which slant and albedo are to be estimated.

SlantSlantSlantSlantSlantslant (output_control)  angle.deg(-array) HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Angle between the light sources and the positive z-axis (in degrees).

AlbedoAlbedoAlbedoAlbedoAlbedoalbedo (output_control)  real(-array) HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Amount of light reflected by the surface.

Result

estimate_sl_al_lrestimate_sl_al_lrEstimateSlAlLrestimate_sl_al_lrEstimateSlAlLrEstimateSlAlLr always returns the value 2 (H_MSG_TRUE).

Possible Successors

sfs_mod_lrsfs_mod_lrSfsModLrsfs_mod_lrSfsModLrSfsModLr, sfs_orig_lrsfs_orig_lrSfsOrigLrsfs_orig_lrSfsOrigLrSfsOrigLr, sfs_pentlandsfs_pentlandSfsPentlandsfs_pentlandSfsPentlandSfsPentland, photometric_stereophotometric_stereoPhotometricStereophotometric_stereoPhotometricStereoPhotometricStereo, shade_height_fieldshade_height_fieldShadeHeightFieldshade_height_fieldShadeHeightFieldShadeHeightField

Module

3D Metrology


ClassesClassesClassesClasses | | | | Operators