Skip to content

estimate_tilt_zcestimate_tilt_zcEstimateTiltZcEstimateTiltZcestimate_tilt_zcestimate_tilt_zc🔗

Short description🔗

estimate_tilt_zcestimate_tilt_zcEstimateTiltZcEstimateTiltZcestimate_tilt_zcestimate_tilt_zc — Estimate the tilt of a light source.

Signature🔗

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

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

Herror T_estimate_tilt_zc( const Hobject Image, Htuple* Tilt )

HTuple HImage::EstimateTiltZc( ) const

HTuple HImage.EstimateTiltZc( )

Description🔗

estimate_tilt_zcEstimateTiltZc 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 Zheng and Chellappa.

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_zcEstimateTiltZc 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