estimate_al_amestimate_al_amEstimateAlAmEstimateAlAm (Operator)

Name

estimate_al_amestimate_al_amEstimateAlAmEstimateAlAm — 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)

Beschreibung

Der Operator estimate_al_amestimate_al_amEstimateAlAmEstimateAlAmEstimateAlAm berechnet aus dem Bild ImageImageImageImageimage durch Maximum- und Minimumberechnung die Größe des Reflexionskoeffizienten, genannt AlbedoAlbedoAlbedoAlbedoalbedo, und die Stärke der indirekten Beleuchtung der Oberfläche, genannt AmbientAmbientAmbientAmbientambient.

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

ImageImageImageImageimage (input_object)  singlechannelimage(-array) objectHImageHImageHobject (byte)

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

AlbedoAlbedoAlbedoAlbedoalbedo (output_control)  real(-array) HTupleHTupleHtuple (real) (double) (double) (double)

Größe des Reflexionskoeffizienten der Oberfläche.

AmbientAmbientAmbientAmbientambient (output_control)  real(-array) HTupleHTupleHtuple (real) (double) (double) (double)

Stärke der indirekten Beleuchtung der Oberfläche.

Ergebnis

estimate_al_amestimate_al_amEstimateAlAmEstimateAlAmEstimateAlAm liefert immer den Wert 2 (H_MSG_TRUE).

Nachfolger

sfs_mod_lrsfs_mod_lrSfsModLrSfsModLrSfsModLr, sfs_orig_lrsfs_orig_lrSfsOrigLrSfsOrigLrSfsOrigLr, sfs_pentlandsfs_pentlandSfsPentlandSfsPentlandSfsPentland, photometric_stereophotometric_stereoPhotometricStereoPhotometricStereoPhotometricStereo, shade_height_fieldshade_height_fieldShadeHeightFieldShadeHeightFieldShadeHeightField

Modul

3D Metrology