eccentricity_xld eccentricity_xld EccentricityXld EccentricityXld eccentricity_xld (Operator)
Name
eccentricity_xld eccentricity_xld EccentricityXld EccentricityXld eccentricity_xld — Aus den Ellipsenparametern abgeleitete Formmerkmale von Konturen bzw.
Polygonen.
Signatur
def eccentricity_xld (xld : HObject) -> Tuple[Sequence[float], Sequence[float], Sequence[float]]
def eccentricity_xld_s (xld : HObject) -> Tuple[float, float, float]
Beschreibung
eccentricity_xld eccentricity_xld EccentricityXld EccentricityXld EccentricityXld eccentricity_xld berechnet die drei Formmerkmale
Anisometry Anisometry Anisometry Anisometry anisometry anisometry , Bulkiness Bulkiness Bulkiness Bulkiness bulkiness bulkiness und
StructureFactor StructureFactor StructureFactor StructureFactor structureFactor structure_factor , die aus den geometrischen Momenten
hergeleitet sind, für jede Eingabekontur bzw. jedes Eingabepolyon. Ist die
Eingabekontur oder das Eingabepolygon nicht geschlossen,
so wird sie/es vor der Berechnung automatisch geschlossen.
Berechnung:
Seien die Ellipsenradien Ra, Rb (siehe elliptic_axis_xld elliptic_axis_xld EllipticAxisXld EllipticAxisXld EllipticAxisXld elliptic_axis_xld )
und die eingeschlossene Fläche F der Kontur bzw. des Polygons
gegeben, dann gilt:
Die Anisometrie eines Kreises ist 1.0.
Es ist zu beachten, dass eccentricity_xld eccentricity_xld EccentricityXld EccentricityXld EccentricityXld eccentricity_xld nur dann sinnvolle
Ergebnisse liefert, falls die Kontur oder das Polygon eine Fläche in
der Ebene einschließt. Insbesondere darf sich die Kontur oder das
Polygon nicht selbst schneiden. Dies ist insbesondere dann zu
beachten, wenn offene Konturen und Polygone übergeben werden, da
diese automatisch geschlossen werden, was dazu führen kann, dass sich
die Kontur oder das Polygon selbst schneidet. Ob sich die Konturen
oder Polygone selbst schneiden, kann leicht mit
test_self_intersection_xld test_self_intersection_xld TestSelfIntersectionXld TestSelfIntersectionXld TestSelfIntersectionXld test_self_intersection_xld überprüft werden. Falls sich die
Kontur oder das Polygon selbst schneidet, kann ein sinnvoller Wert
für die Anisometrie mit eccentricity_points_xld eccentricity_points_xld EccentricityPointsXld EccentricityPointsXld EccentricityPointsXld eccentricity_points_xld berechnet
werden.
Wird mehr als eine Kontur oder ein Polygon übergeben, dann werden
die Ergebnisse in Tupeln in der Reihenfolge ihrer entsprechenden Konturen
bzw. Polygone in XLD XLD XLD XLD XLD xld abgespeichert.
Ausführungsinformationen
Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
Automatisch parallelisiert auf Tupelebene.
Parameter
XLD XLD XLD XLD XLD xld (input_object) xld(-array) → object HXLD HObject HXLD Hobject
Zu untersuchende Konturen bzw. Polygone.
Anisometry Anisometry Anisometry Anisometry anisometry anisometry (output_control) real(-array) → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Anisometrie der Konturen bzw. Polygone.
Zusicherung: Anisometry >= 1.0
Bulkiness Bulkiness Bulkiness Bulkiness bulkiness bulkiness (output_control) real(-array) → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Sperrigkeit der Konturen bzw. Polygone.
StructureFactor StructureFactor StructureFactor StructureFactor structureFactor structure_factor (output_control) real(-array) → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Strukturfaktor der Konturen bzw. Polygone.
Ergebnis
eccentricity_xld eccentricity_xld EccentricityXld EccentricityXld EccentricityXld eccentricity_xld liefert den Wert TRUE, falls die Eingabe nicht leer
ist. Das Verhalten bei leerer Eingabe (keine Eingabekontur 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. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.
Vorgänger
gen_contours_skeleton_xld gen_contours_skeleton_xld GenContoursSkeletonXld GenContoursSkeletonXld GenContoursSkeletonXld gen_contours_skeleton_xld ,
edges_sub_pix edges_sub_pix EdgesSubPix EdgesSubPix EdgesSubPix edges_sub_pix ,
threshold_sub_pix threshold_sub_pix ThresholdSubPix ThresholdSubPix ThresholdSubPix threshold_sub_pix ,
gen_contour_polygon_xld gen_contour_polygon_xld GenContourPolygonXld GenContourPolygonXld GenContourPolygonXld gen_contour_polygon_xld ,
test_self_intersection_xld test_self_intersection_xld TestSelfIntersectionXld TestSelfIntersectionXld TestSelfIntersectionXld test_self_intersection_xld
Alternativen
eccentricity_points_xld eccentricity_points_xld EccentricityPointsXld EccentricityPointsXld EccentricityPointsXld eccentricity_points_xld
Siehe auch
elliptic_axis_xld elliptic_axis_xld EllipticAxisXld EllipticAxisXld EllipticAxisXld elliptic_axis_xld ,
moments_region_2nd moments_region_2nd MomentsRegion2nd MomentsRegion2nd MomentsRegion2nd moments_region_2nd ,
select_shape_xld select_shape_xld SelectShapeXld SelectShapeXld SelectShapeXld select_shape_xld ,
area_center_xld area_center_xld AreaCenterXld AreaCenterXld AreaCenterXld area_center_xld
Modul
Foundation