estimate_tilt_zcestimate_tilt_zcEstimateTiltZcEstimateTiltZcestimate_tilt_zc (算子)
名称
estimate_tilt_zcestimate_tilt_zcEstimateTiltZcEstimateTiltZcestimate_tilt_zc — (使用 Lee 和 Rosenfeld 算法)估计光源的倾斜度和表面的反射率。
签名
Herror estimate_tilt_zc(const Hobject Image, double* Tilt)
Herror T_estimate_tilt_zc(const Hobject Image, Htuple* Tilt)
def estimate_tilt_zc(image: HObject) -> Sequence[float]
def estimate_tilt_zc_s(image: HObject) -> float
描述
estimate_tilt_zcestimate_tilt_zcEstimateTiltZcEstimateTiltZcEstimateTiltZcestimate_tilt_zc 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 Zheng and Chellappa.
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 在元组级别上自动并行化。
参数
ImageImageImageImageimageimage (输入对象) singlechannelimage(-array) → objectHImageHObjectHImageHobject (byte)
Image for which the tilt is to be estimated.
TiltTiltTiltTilttilttilt (输出控制) 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_zcestimate_tilt_zcEstimateTiltZcEstimateTiltZcEstimateTiltZcestimate_tilt_zc 始终返回值 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
模块
三维计量