moments_region_centralmoments_region_centralMomentsRegionCentralMomentsRegionCentral (Operator)

Name

moments_region_centralmoments_region_centralMomentsRegionCentralMomentsRegionCentral — Ermitteln der geometrischen Momente von Regionen.

Signatur

moments_region_central(Regions : : : I1, I2, I3, I4)

Herror moments_region_central(const Hobject Regions, double* I1, double* I2, double* I3, double* I4)

Herror T_moments_region_central(const Hobject Regions, Htuple* I1, Htuple* I2, Htuple* I3, Htuple* I4)

void MomentsRegionCentral(const HObject& Regions, HTuple* I1, HTuple* I2, HTuple* I3, HTuple* I4)

HTuple HRegion::MomentsRegionCentral(HTuple* I2, HTuple* I3, HTuple* I4) const

double HRegion::MomentsRegionCentral(double* I2, double* I3, double* I4) const

static void HOperatorSet.MomentsRegionCentral(HObject regions, out HTuple i1, out HTuple i2, out HTuple i3, out HTuple i4)

HTuple HRegion.MomentsRegionCentral(out HTuple i2, out HTuple i3, out HTuple i4)

double HRegion.MomentsRegionCentral(out double i2, out double i3, out double i4)

Beschreibung

moments_region_centralmoments_region_centralMomentsRegionCentralMomentsRegionCentralMomentsRegionCentral berechnet die zentrale Momente (I1I1I1I1i1, I2I2I2I2i2, I3I3I3I3i3, I4I4I4I4i4).

Berechnung: Die invarianten Momente sind definiert durch:

Wird mehr als eine Region übergeben, dann werden die Ergebnisse in Tupeln abgespeichert, wobei der Index eines Wertes in dem Tupel dem Index einer Region in der Eingabe entspricht.

Bei leerer Region haben alle Parameter den Wert 0.0, soweit kein anderes Verhalten eingestellt wurde (siehe set_systemset_systemSetSystemSetSystemSetSystem).

Ausführungsinformationen

Parameter

RegionsRegionsRegionsRegionsregions (input_object)  region(-array) objectHRegionHRegionHobject

Zu untersuchende Regionen.

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

Moment 2. Ordnung.

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

Moment 2. Ordnung.

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

Moment 2. Ordnung.

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

Moment 3. Ordnung.

Komplexität

Sei Z die Fläche einer Region, dann beträgt die Laufzeitkomplexität im Mittel O(sqrt(Z)).

Ergebnis

moments_region_centralmoments_region_centralMomentsRegionCentralMomentsRegionCentralMomentsRegionCentral liefert den Wert 2 (H_MSG_TRUE), falls die Eingabe nicht leer ist. Das Verhalten bei leerer Eingabe (keine Eingaberegionen vorhanden) lässt sich mittels set_system('no_object_result',<Result>)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>) festlegen. Das Verhalten bei einer leeren Region (Region ist die leere Menge) wird mit set_system('empty_region_result',<Result>)set_system("empty_region_result",<Result>)SetSystem("empty_region_result",<Result>)SetSystem("empty_region_result",<Result>)SetSystem("empty_region_result",<Result>) bestimmt. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

thresholdthresholdThresholdThresholdThreshold, regiongrowingregiongrowingRegiongrowingRegiongrowingRegiongrowing, connectionconnectionConnectionConnectionConnection

Alternativen

moments_region_2ndmoments_region_2ndMomentsRegion2ndMomentsRegion2ndMomentsRegion2nd

Siehe auch

elliptic_axiselliptic_axisEllipticAxisEllipticAxisEllipticAxis

Modul

Foundation