split_contours_xldsplit_contours_xldSplitContoursXldSplitContoursXldsplit_contours_xld (Operator)

Name

split_contours_xldsplit_contours_xldSplitContoursXldSplitContoursXldsplit_contours_xld — Aufspalten von Konturen an regional markanten Punkten.

Signatur

split_contours_xld(Polygons : Contours : Mode, Weight, Smooth : )

Herror split_contours_xld(const Hobject Polygons, Hobject* Contours, const char* Mode, const Hlong Weight, const Hlong Smooth)

Herror T_split_contours_xld(const Hobject Polygons, Hobject* Contours, const Htuple Mode, const Htuple Weight, const Htuple Smooth)

void SplitContoursXld(const HObject& Polygons, HObject* Contours, const HTuple& Mode, const HTuple& Weight, const HTuple& Smooth)

HXLDCont HXLDPoly::SplitContoursXld(const HString& Mode, Hlong Weight, Hlong Smooth) const

HXLDCont HXLDPoly::SplitContoursXld(const char* Mode, Hlong Weight, Hlong Smooth) const

HXLDCont HXLDPoly::SplitContoursXld(const wchar_t* Mode, Hlong Weight, Hlong Smooth) const   (Nur Windows)

static void HOperatorSet.SplitContoursXld(HObject polygons, out HObject contours, HTuple mode, HTuple weight, HTuple smooth)

HXLDCont HXLDPoly.SplitContoursXld(string mode, int weight, int smooth)

def split_contours_xld(polygons: HObject, mode: str, weight: int, smooth: int) -> HObject

Beschreibung

Mit split_contours_xldsplit_contours_xldSplitContoursXldSplitContoursXldSplitContoursXldsplit_contours_xld werden die den Polygonen PolygonsPolygonsPolygonsPolygonspolygonspolygons zugrundeliegenden Konturen an regional markanten Punkten aufgespalten. Im Modus 'polygon'"polygon""polygon""polygon""polygon""polygon" erfolgt die Aufspaltung gemäß den Polygonen selbst. Im Modus 'dominant'"dominant""dominant""dominant""dominant""dominant" werden Konturpunkte zur Aufspaltung verwendet, für die die in ihnen ermittelte Konturrichtungsänderung den (empirischen) Grenzwert überschreitet und in deren (empirischen) Umgebung von Punkten keine größere Richtungsänderung auftritt. Die Konturrichtung wird mit einer optimalen Regressionsgeraden durch alle Punkte der Nachbarschaft der Breite SmoothSmoothSmoothSmoothsmoothsmooth ermittelt. Die so ermittelte Richtungsinformation für jeden Konturpunkt wird vor der Suche nach markanten Punkten mit einer Gaußmaske der Breite SmoothSmoothSmoothSmoothsmoothsmooth geglättet. WeightWeightWeightWeightweightweight ist damit ein Gewichtungsfaktor für die Empfindlichkeit des Operators. Je größer WeightWeightWeightWeightweightweight gewählt wird, umso weniger markante Punkte werden gefunden.

Jedes Polygon muss eine Referenz zu einer Kontur aufweisen. Fehlt diese Referenz, weil das Polygon zum Beispiel aus einer DXF-Datei eingelesen wurde, so gibt split_contours_xldsplit_contours_xldSplitContoursXldSplitContoursXldSplitContoursXldsplit_contours_xld einen Fehler zurück.

Ausführungsinformationen

Parameter

PolygonsPolygonsPolygonsPolygonspolygonspolygons (input_object)  xld_poly(-array) objectHXLDPolyHObjectHXLDPolyHobject

Polygone, deren zugrundeliegende Konturen aufgespalten werden sollen.

ContoursContoursContoursContourscontourscontours (output_object)  xld_cont(-array) objectHXLDContHObjectHXLDContHobject *

Aufgespaltene Konturen.

ModeModeModeModemodemode (input_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Modus für das Aufspalten der Konturen.

Defaultwert: 'polygon' "polygon" "polygon" "polygon" "polygon" "polygon"

Werteliste: 'dominant'"dominant""dominant""dominant""dominant""dominant", 'polygon'"polygon""polygon""polygon""polygon""polygon"

WeightWeightWeightWeightweightweight (input_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Gewicht für die Empfindlichkeit.

Defaultwert: 1

SmoothSmoothSmoothSmoothsmoothsmooth (input_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Breite der Glättungsmaske.

Defaultwert: 5

Vorgänger

gen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXldGenPolygonsXldgen_polygons_xld

Nachfolger

regress_contours_xldregress_contours_xldRegressContoursXldRegressContoursXldRegressContoursXldregress_contours_xld

Siehe auch

gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXldGenContoursSkeletonXldgen_contours_skeleton_xld, lines_gausslines_gaussLinesGaussLinesGaussLinesGausslines_gauss, lines_facetlines_facetLinesFacetLinesFacetLinesFacetlines_facet, edges_sub_pixedges_sub_pixEdgesSubPixEdgesSubPixEdgesSubPixedges_sub_pix

Modul

Foundation