Skip to content

estimate_tilt_lrestimate_tilt_lrEstimateTiltLrEstimateTiltLrestimate_tilt_lrestimate_tilt_lr🔗

Short description🔗

estimate_tilt_lrestimate_tilt_lrEstimateTiltLrEstimateTiltLrestimate_tilt_lrestimate_tilt_lr — Estimate the tilt of a light source.

Signature🔗

estimate_tilt_lr( image Image, out angle.deg Tilt )estimate_tilt_lr( Image : : : Tilt )void EstimateTiltLr( const HObject& Image, HTuple* Tilt )static void HOperatorSet.EstimateTiltLr( HObject image, out HTuple tilt )def estimate_tilt_lr( image: HObject ) -> Sequence[float]

def estimate_tilt_lr_s( image: HObject ) -> floatHerror estimate_tilt_lr( const Hobject Image, double* Tilt )

Herror T_estimate_tilt_lr( const Hobject Image, Htuple* Tilt )

HTuple HImage::EstimateTiltLr( ) const

HTuple HImage.EstimateTiltLr( )

Description🔗

estimate_tilt_lrEstimateTiltLr 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 Imageimageimage using the algorithm of Lee and Rosenfeld.

Execution information🔗

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🔗

Imageimageimage (input_object) singlechannelimage(-array) → object (byte)object (byte)HObject (byte)HImage (byte)HObject (byte)Hobject (byte)

Image for which the tilt is to be estimated.

Tilttilttilt (output_control) angle.deg(-array) → (real)(real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

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

Result🔗

estimate_tilt_lrEstimateTiltLr always returns the value 2 (H_MSG_TRUE).

Combinations with other operators🔗

Combinations

Possible successors

sfs_mod_lrSfsModLr, sfs_orig_lrSfsOrigLr, sfs_pentlandSfsPentland, photometric_stereoPhotometricStereo, shade_height_fieldShadeHeightField

Module🔗

3D Metrology