estimate_sl_al_zcestimate_sl_al_zcEstimateSlAlZcEstimateSlAlZcestimate_sl_al_zc (算子)

名称

estimate_sl_al_zcestimate_sl_al_zcEstimateSlAlZcEstimateSlAlZcestimate_sl_al_zc — (使用 Lee 和 Rosenfeld 算法)估计光源的倾斜度和表面的反射率。

签名

estimate_sl_al_zc(Image : : : Slant, Albedo)

Herror estimate_sl_al_zc(const Hobject Image, double* Slant, double* Albedo)

Herror T_estimate_sl_al_zc(const Hobject Image, Htuple* Slant, Htuple* Albedo)

void EstimateSlAlZc(const HObject& Image, HTuple* Slant, HTuple* Albedo)

HTuple HImage::EstimateSlAlZc(HTuple* Albedo) const

double HImage::EstimateSlAlZc(double* Albedo) const

static void HOperatorSet.EstimateSlAlZc(HObject image, out HTuple slant, out HTuple albedo)

HTuple HImage.EstimateSlAlZc(out HTuple albedo)

double HImage.EstimateSlAlZc(out double albedo)

def estimate_sl_al_zc(image: HObject) -> Tuple[Sequence[float], Sequence[float]]

def estimate_sl_al_zc_s(image: HObject) -> Tuple[float, float]

描述

estimate_sl_al_zcestimate_sl_al_zcEstimateSlAlZcEstimateSlAlZcEstimateSlAlZcestimate_sl_al_zc estimates the SlantSlantSlantSlantslantslant of a light source, i.e. the angle between the light source and the positive z-axis, and the albedo of the surface in the input image ImageImageImageImageimageimage, i.e. the percentage of light reflected by the surface, using the algorithm of Zheng and Chellappa.

注意

The AlbedoAlbedoAlbedoAlbedoalbedoalbedo is assumed constant for the entire surface depicted in the image.

执行信息

参数

ImageImageImageImageimageimage (输入对象)  singlechannelimage(-array) objectHImageHObjectHImageHobject (byte)

Image for which slant and albedo are to be estimated.

SlantSlantSlantSlantslantslant (输出控制)  angle.deg(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Angle of the light sources and the positive z-axis (in degrees).

AlbedoAlbedoAlbedoAlbedoalbedoalbedo (输出控制)  real(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Amount of light reflected by the surface.

结果

estimate_sl_al_zcestimate_sl_al_zcEstimateSlAlZcEstimateSlAlZcEstimateSlAlZcestimate_sl_al_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

模块

三维计量