estimate_al_amestimate_al_amEstimateAlAmEstimateAlAmestimate_al_am (Operator)

Name

estimate_al_amestimate_al_amEstimateAlAmEstimateAlAmestimate_al_am — Berechnen des Reflexionskoeffizienten und der Stärke der indirekten Beleuchtung der Oberfläche.

Signatur

estimate_al_am(Image : : : Albedo, Ambient)

Herror estimate_al_am(const Hobject Image, double* Albedo, double* Ambient)

Herror T_estimate_al_am(const Hobject Image, Htuple* Albedo, Htuple* Ambient)

void EstimateAlAm(const HObject& Image, HTuple* Albedo, HTuple* Ambient)

HTuple HImage::EstimateAlAm(HTuple* Ambient) const

double HImage::EstimateAlAm(double* Ambient) const

static void HOperatorSet.EstimateAlAm(HObject image, out HTuple albedo, out HTuple ambient)

HTuple HImage.EstimateAlAm(out HTuple ambient)

double HImage.EstimateAlAm(out double ambient)

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

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

Beschreibung

Der Operator estimate_al_amestimate_al_amEstimateAlAmEstimateAlAmEstimateAlAmestimate_al_am berechnet aus dem Bild ImageImageImageImageimageimage durch Maximum- und Minimumberechnung die Größe des Reflexionskoeffizienten, genannt AlbedoAlbedoAlbedoAlbedoalbedoalbedo, und die Stärke der indirekten Beleuchtung der Oberfläche, genannt AmbientAmbientAmbientAmbientambientambient.

Achtung

Es wird angenommen, dass im Bild mindestens ein Punkt enthalten ist, für die die Reflexionsfunktion ihr Minimum annimmt. Das sind z.B. Punkte, die in selbstbeschatteten Gebieten der Oberfläche liegen. Außerdem wird angenommen, dass ein Punkt im Bild vorkommt, für den die Reflexionsfunktion ihr Maximum annimmt. Ist dies nicht der Fall, wird ein falscher Wert geschätzt.

Ausführungsinformationen

Parameter

ImageImageImageImageimageimage (input_object)  singlechannelimage(-array) objectHImageHObjectHImageHobject (byte)

Das Bild, für das der Reflexionskoeffizient und die Hintergrundbeleuchtung geschätzt werden soll.

AlbedoAlbedoAlbedoAlbedoalbedoalbedo (output_control)  real(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Größe des Reflexionskoeffizienten der Oberfläche.

AmbientAmbientAmbientAmbientambientambient (output_control)  real(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Stärke der indirekten Beleuchtung der Oberfläche.

Ergebnis

estimate_al_amestimate_al_amEstimateAlAmEstimateAlAmEstimateAlAmestimate_al_am liefert immer den Wert 2 (H_MSG_TRUE).

Nachfolger

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

Modul

3D Metrology