HALCON Reference Manual 10.0.2
Table of Contents / 3D Reconstruction / Photometric Stereo ClassesClassesClasses | | | Operators

estimate_sl_al_zcestimate_sl_al_zcestimate_sl_al_zcEstimateSlAlZcEstimateSlAlZc (Operator)

Name

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

Signature

estimate_sl_al_zc(Image : : : Slant, Albedo)

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

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

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

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

double HImage::EstimateSlAlZc(double* Albedo) const

HTuple HImageArray::EstimateSlAlZc(HTuple* Albedo) const

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

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

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

HTuple HImage.EstimateSlAlZc(out HTuple albedo)

double HImage.EstimateSlAlZc(out double albedo)

Description

estimate_sl_al_zcestimate_sl_al_zcestimate_sl_al_zcEstimateSlAlZcEstimateSlAlZc 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.

Parallelization

Parameters

ImageImageImageImageimage (input_object)  image(-array) objectHImageHImageHImageXHobject (byte)

Image for which slant and albedo are to be estimated.

SlantSlantSlantSlantslant (output_control)  angle.deg(-array) HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

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

AlbedoAlbedoAlbedoAlbedoalbedo (output_control)  real(-array) HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Amount of light reflected by the surface.

Result

estimate_sl_al_zcestimate_sl_al_zcestimate_sl_al_zcEstimateSlAlZcEstimateSlAlZc always returns the value 2 (H_MSG_TRUE).

Possible Successors

sfs_mod_lrsfs_mod_lrsfs_mod_lrSfsModLrSfsModLr, sfs_orig_lrsfs_orig_lrsfs_orig_lrSfsOrigLrSfsOrigLr, sfs_pentlandsfs_pentlandsfs_pentlandSfsPentlandSfsPentland, phot_stereophot_stereophot_stereoPhotStereoPhotStereo, shade_height_fieldshade_height_fieldshade_height_fieldShadeHeightFieldShadeHeightField

Module

3D Metrology


Table of Contents / 3D Reconstruction / Photometric Stereo ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH