split_contours_xldsplit_contours_xldSplitContoursXldSplitContoursXld (Operator)

Name

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

Beschreibung

Mit split_contours_xldsplit_contours_xldSplitContoursXldSplitContoursXldSplitContoursXld 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_xldSplitContoursXldSplitContoursXldSplitContoursXld einen Fehler zurück.

Ausführungsinformationen

Parameter

PolygonsPolygonsPolygonsPolygonspolygons (input_object)  xld_poly(-array) objectHXLDPolyHXLDPolyHobject

Polygone, deren zugrundeliegende Konturen aufgespalten werden sollen.

ContoursContoursContoursContourscontours (output_object)  xld_cont(-array) objectHXLDContHXLDContHobject *

Aufgespaltene Konturen.

ModeModeModeModemode (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Modus für das Aufspalten der Konturen.

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

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

WeightWeightWeightWeightweight (input_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Gewicht für die Empfindlichkeit.

Defaultwert: 1

SmoothSmoothSmoothSmoothsmooth (input_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Breite der Glättungsmaske.

Defaultwert: 5

Vorgänger

gen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXldGenPolygonsXld

Nachfolger

regress_contours_xldregress_contours_xldRegressContoursXldRegressContoursXldRegressContoursXld

Siehe auch

gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXldGenContoursSkeletonXld, lines_gausslines_gaussLinesGaussLinesGaussLinesGauss, lines_facetlines_facetLinesFacetLinesFacetLinesFacet, edges_sub_pixedges_sub_pixEdgesSubPixEdgesSubPixEdgesSubPix

Modul

Foundation