estimate_tilt_lrestimate_tilt_lrEstimateTiltLrEstimateTiltLrestimate_tilt_lr (Operator)
名称
estimate_tilt_lrestimate_tilt_lrEstimateTiltLrEstimateTiltLrestimate_tilt_lr — (使用Lee和Rosenfeld算法)估计光源的倾斜度。
签名
Herror estimate_tilt_lr(const Hobject Image, double* Tilt)
Herror T_estimate_tilt_lr(const Hobject Image, Htuple* Tilt)
def estimate_tilt_lr(image: HObject) -> Sequence[float]
def estimate_tilt_lr_s(image: HObject) -> float
描述
estimate_tilt_lrestimate_tilt_lrEstimateTiltLrEstimateTiltLrEstimateTiltLrestimate_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 ImageImageImageImageimageimage using
the algorithm of Lee and Rosenfeld.
执行信息
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Automatically parallelized on tuple level.
参数
ImageImageImageImageimageimage (input_object) singlechannelimage(-array) → objectHImageHObjectHImageHobject (byte)
Image for which the tilt is to be estimated.
TiltTiltTiltTilttilttilt (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).
结果
estimate_tilt_lrestimate_tilt_lrEstimateTiltLrEstimateTiltLrEstimateTiltLrestimate_tilt_lr always returns the value 2 (
H_MSG_TRUE)
.
可能的后继算子
sfs_mod_lrsfs_mod_lrSfsModLrSfsModLrSfsModLrsfs_mod_lr,
sfs_orig_lrsfs_orig_lrSfsOrigLrSfsOrigLrSfsOrigLrsfs_orig_lr,
sfs_pentlandsfs_pentlandSfsPentlandSfsPentlandSfsPentlandsfs_pentland,
photometric_stereophotometric_stereoPhotometricStereoPhotometricStereoPhotometricStereophotometric_stereo,
shade_height_fieldshade_height_fieldShadeHeightFieldShadeHeightFieldShadeHeightFieldshade_height_field
模块
3D Metrology