orientation_points_xld orientation_points_xld OrientationPointsXld OrientationPointsXld orientation_points_xld (Operator)
Name
orientation_points_xld orientation_points_xld OrientationPointsXld OrientationPointsXld orientation_points_xld — Berechnen der Orientierung von Konturen oder Polygonen, die wie Punktwolken
behandelt werden.
Signatur
orientation_points_xld (XLD : : : Phi )
Herror orientation_points_xld (const Hobject XLD , double* Phi )
Herror T_orientation_points_xld (const Hobject XLD , Htuple* Phi )
void OrientationPointsXld (const HObject& XLD , HTuple* Phi )
HTuple HXLD ::OrientationPointsXld () const
def orientation_points_xld (xld : HObject) -> Sequence[float]
def orientation_points_xld_s (xld : HObject) -> float
Beschreibung
orientation_points_xld orientation_points_xld OrientationPointsXld OrientationPointsXld OrientationPointsXld orientation_points_xld berechnet die Orientierung
Phi Phi Phi Phi phi phi der von den Eingabekonturen oder -polygonen XLD XLD XLD XLD XLD xld
definierten Punktwolken (die Reihenfolge der Kontur- oder
Polygonpunkte wird nicht berücksichtigt). Die Orientierung Phi Phi Phi Phi phi phi
wird analog zu elliptic_axis_points_xld elliptic_axis_points_xld EllipticAxisPointsXld EllipticAxisPointsXld EllipticAxisPointsXld elliptic_axis_points_xld bestimmt. Bei
geschlossenen Konturen oder Polygonen (Anfangspunkt = Endpunkt) wird
der Endpunkt der Kontur oder des Polygons nicht berücksichtigt, da
er sonst doppeltes Gewicht erhielte.
Außerdem wird der Konturpunkt
mit maximalem Abstand
zum Schwerpunkt
berechnet.
Falls der Winkel zwischen dem Vektor vom Mittelpunkt zum Punkt
und dem durch Phi Phi Phi Phi phi phi bestimmten
Vector größer als
ist, wird
auf den den Winkel
Phi Phi Phi Phi phi phi addiert. Für den Fall, dass XLD XLD XLD XLD XLD xld nur aus zwei Punkten
besteht, ergibt sich Phi Phi Phi Phi phi phi aus der Richtung vom ersten zum
zweiten Punkt.
orientation_points_xld orientation_points_xld OrientationPointsXld OrientationPointsXld OrientationPointsXld orientation_points_xld sollte dann verwendet werden, wenn
die Kontur XLD XLD XLD XLD XLD xld entweder nicht kreuzungsfrei ist oder nicht
kreuzungsfrei durch eine Line vom End- zum Anfangspunkt geschlossen
werden kann. In diesem Fall liefert orientation_xld orientation_xld OrientationXld OrientationXld OrientationXld orientation_xld keine
sinnvollen Ergebnisse. 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.
Wird mehr als eine Kontur oder ein Polygon übergeben, dann werden
die Ergebnisse für die Orientierungen in einem Tupel in der gleichen
Reihenfolge wie die 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.
Phi Phi Phi Phi phi phi (output_control) angle.rad(-array) → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Orientierung der Konturen bzw. Polygone (Bogenmaß).
Zusicherung: - pi < Phi && Phi <= pi
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
Alternativen
orientation_xld orientation_xld OrientationXld OrientationXld OrientationXld orientation_xld ,
elliptic_axis_points_xld elliptic_axis_points_xld EllipticAxisPointsXld EllipticAxisPointsXld EllipticAxisPointsXld elliptic_axis_points_xld ,
smallest_rectangle2_xld smallest_rectangle2_xld SmallestRectangle2Xld SmallestRectangle2Xld SmallestRectangle2Xld smallest_rectangle2_xld
Siehe auch
moments_region_2nd moments_region_2nd MomentsRegion2nd MomentsRegion2nd MomentsRegion2nd moments_region_2nd
Modul
Foundation