estimate_tilt_lrestimate_tilt_lrEstimateTiltLrEstimateTiltLrestimate_tilt_lr (Operator)

Name

estimate_tilt_lrestimate_tilt_lrEstimateTiltLrEstimateTiltLrestimate_tilt_lr — Estimate the tilt of a light source.

Signature

estimate_tilt_lr(Image : : : Tilt)

Herror estimate_tilt_lr(const Hobject Image, double* Tilt)

Herror T_estimate_tilt_lr(const Hobject Image, Htuple* Tilt)

void EstimateTiltLr(const HObject& Image, HTuple* Tilt)

HTuple HImage::EstimateTiltLr() const

static void HOperatorSet.EstimateTiltLr(HObject image, out HTuple tilt)

HTuple HImage.EstimateTiltLr()

def estimate_tilt_lr(image: HObject) -> Sequence[float]

def estimate_tilt_lr_s(image: HObject) -> float

Description

estimate_tilt_lrestimate_tilt_lrEstimateTiltLrEstimateTiltLrestimate_tilt_lr estimates the tilt of a light source, i.e. the angle between the light source and the x-axis after projection into the xy-plane, from the image ImageImageImageimageimage using the algorithm of Lee and Rosenfeld.

Execution Information

Parameters

ImageImageImageimageimage (input_object)  singlechannelimage(-array) objectHImageHObjectHObjectHobject (byte)

Image for which the tilt is to be estimated.

TiltTiltTilttilttilt (output_control)  angle.deg(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Angle between the light source and the x-axis after projection into the xy-plane (in degrees).

Result

estimate_tilt_lrestimate_tilt_lrEstimateTiltLrEstimateTiltLrestimate_tilt_lr always returns the value 2 ( H_MSG_TRUE) .

Possible Successors

sfs_mod_lrsfs_mod_lrSfsModLrSfsModLrsfs_mod_lr, sfs_orig_lrsfs_orig_lrSfsOrigLrSfsOrigLrsfs_orig_lr, sfs_pentlandsfs_pentlandSfsPentlandSfsPentlandsfs_pentland, photometric_stereophotometric_stereoPhotometricStereoPhotometricStereophotometric_stereo, shade_height_fieldshade_height_fieldShadeHeightFieldShadeHeightFieldshade_height_field

Module

3D Metrology