KlassenKlassenKlassenKlassen | | | | Operatoren

split_contours_xldsplit_contours_xldSplitContoursXldsplit_contours_xldSplitContoursXldSplitContoursXld (Operator)

Name

split_contours_xldsplit_contours_xldSplitContoursXldsplit_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)

Herror split_contours_xld(Hobject Polygons, Hobject* Contours, const HTuple& Mode, const HTuple& Weight, const HTuple& Smooth)

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

HXLDContArray HXLDPolyArray::SplitContoursXld(const HTuple& Mode, const HTuple& Weight, const HTuple& Smooth) const

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

void HOperatorSetX.SplitContoursXld(
[in] IHUntypedObjectX* Polygons, [out] IHUntypedObjectX*Contours, [in] VARIANT Mode, [in] VARIANT Weight, [in] VARIANT Smooth)

IHXLDContX* HXLDPolyX.SplitContoursXld(
[in] BSTR Mode, [in] Hlong Weight, [in] Hlong Smooth)

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_xldSplitContoursXldsplit_contours_xldSplitContoursXldSplitContoursXld 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_xldSplitContoursXldsplit_contours_xldSplitContoursXldSplitContoursXld einen Fehler zurück.

Parallelisierung

Parameter

PolygonsPolygonsPolygonsPolygonsPolygonspolygons (input_object)  xld_poly(-array) objectHXLDPolyHXLDPolyHXLDPolyHXLDPolyXHobject

Polygone, deren zugrundeliegende Konturen aufgespalten werden sollen.

ContoursContoursContoursContoursContourscontours (output_object)  xld_cont(-array) objectHXLDContHXLDContHXLDContHXLDContXHobject *

Aufgespaltene Konturen.

ModeModeModeModeModemode (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (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 HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Gewicht für die Empfindlichkeit.

Defaultwert: 1

SmoothSmoothSmoothSmoothSmoothsmooth (input_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Breite der Glättungsmaske.

Defaultwert: 5

Vorgänger

gen_polygons_xldgen_polygons_xldGenPolygonsXldgen_polygons_xldGenPolygonsXldGenPolygonsXld

Nachfolger

regress_contours_xldregress_contours_xldRegressContoursXldregress_contours_xldRegressContoursXldRegressContoursXld

Siehe auch

gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXld, lines_gausslines_gaussLinesGausslines_gaussLinesGaussLinesGauss, lines_facetlines_facetLinesFacetlines_facetLinesFacetLinesFacet, edges_sub_pixedges_sub_pixEdgesSubPixedges_sub_pixEdgesSubPixEdgesSubPix

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren