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_xldSplitContoursXldSplitContoursXldsplit_contours_xld werden die den Polygonen PolygonsPolygonsPolygonspolygonspolygons zugrundeliegenden Konturen an regional markanten Punkten aufgespalten. Im Modus 'polygon'"polygon""polygon""polygon""polygon" erfolgt die Aufspaltung gemäß den Polygonen selbst. Im Modus '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 SmoothSmoothSmoothsmoothsmooth ermittelt. Die so ermittelte Richtungsinformation für jeden Konturpunkt wird vor der Suche nach markanten Punkten mit einer Gaußmaske der Breite SmoothSmoothSmoothsmoothsmooth geglättet. WeightWeightWeightweightweight ist damit ein Gewichtungsfaktor für die Empfindlichkeit des Operators. Je größer WeightWeightWeightweightweight 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_xldSplitContoursXldSplitContoursXldsplit_contours_xld einen Fehler zurück.

Ausführungsinformationen

Parameter

PolygonsPolygonsPolygonspolygonspolygons (input_object)  xld_poly(-array) objectHXLDPolyHObjectHObjectHobject

Polygone, deren zugrundeliegende Konturen aufgespalten werden sollen.

ContoursContoursContourscontourscontours (output_object)  xld_cont(-array) objectHXLDContHObjectHObjectHobject *

Aufgespaltene Konturen.

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

Modus für das Aufspalten der Konturen.

Default: 'polygon' "polygon" "polygon" "polygon" "polygon"

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

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

Gewicht für die Empfindlichkeit.

Default: 1

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

Breite der Glättungsmaske.

Default: 5

Vorgänger

gen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXldgen_polygons_xld

Nachfolger

regress_contours_xldregress_contours_xldRegressContoursXldRegressContoursXldregress_contours_xld

Siehe auch

gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXldgen_contours_skeleton_xld, lines_gausslines_gaussLinesGaussLinesGausslines_gauss, lines_facetlines_facetLinesFacetLinesFacetlines_facet, edges_sub_pixedges_sub_pixEdgesSubPixEdgesSubPixedges_sub_pix

Modul

Foundation