moments_region_centralmoments_region_centralMomentsRegionCentralMomentsRegionCentralmoments_region_central (Operator)

Name

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

def moments_region_central(regions: HObject) -> Tuple[Sequence[float], Sequence[float], Sequence[float], Sequence[float]]

def moments_region_central_s(regions: HObject) -> Tuple[float, float, float, float]

Beschreibung

moments_region_centralmoments_region_centralMomentsRegionCentralMomentsRegionCentralMomentsRegionCentralmoments_region_central berechnet die zentrale Momente (I1I1I1I1i1i1, I2I2I2I2i2i2, I3I3I3I3i3i3, I4I4I4I4i4i4).

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_systemSetSystemSetSystemSetSystemset_system).

Ausführungsinformationen

Parameter

RegionsRegionsRegionsRegionsregionsregions (input_object)  region(-array) objectHRegionHObjectHRegionHobject

Zu untersuchende Regionen.

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

Moment 2. Ordnung.

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

Moment 2. Ordnung.

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

Moment 2. Ordnung.

I4I4I4I4i4i4 (output_control)  real(-array) HTupleSequence[float]HTupleHtuple (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_centralMomentsRegionCentralMomentsRegionCentralMomentsRegionCentralmoments_region_central 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>)set_system("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>)set_system("empty_region_result",<Result>) bestimmt. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

thresholdthresholdThresholdThresholdThresholdthreshold, regiongrowingregiongrowingRegiongrowingRegiongrowingRegiongrowingregiongrowing, connectionconnectionConnectionConnectionConnectionconnection

Alternativen

moments_region_2ndmoments_region_2ndMomentsRegion2ndMomentsRegion2ndMomentsRegion2ndmoments_region_2nd

Siehe auch

elliptic_axiselliptic_axisEllipticAxisEllipticAxisEllipticAxiselliptic_axis

Modul

Foundation