KlassenKlassenKlassenKlassen | | | | Operatoren

gen_polygons_xldgen_polygons_xldGenPolygonsXldgen_polygons_xldGenPolygonsXldGenPolygonsXld (Operator)

Name

gen_polygons_xldgen_polygons_xldGenPolygonsXldgen_polygons_xldGenPolygonsXldGenPolygonsXld — Approximieren von Polygonen an XLD-Konturen.

Signatur

gen_polygons_xld(Contours : Polygons : Type, Alpha : )

Herror gen_polygons_xld(const Hobject Contours, Hobject* Polygons, const char* Type, double Alpha)

Herror T_gen_polygons_xld(const Hobject Contours, Hobject* Polygons, const Htuple Type, const Htuple Alpha)

Herror gen_polygons_xld(Hobject Contours, Hobject* Polygons, const HTuple& Type, const HTuple& Alpha)

HXLDPolyArray HXLDContArray::GenPolygonsXld(const HTuple& Type, const HTuple& Alpha) const

void GenPolygonsXld(const HObject& Contours, HObject* Polygons, const HTuple& Type, const HTuple& Alpha)

HXLDPoly HXLDCont::GenPolygonsXld(const HString& Type, const HTuple& Alpha) const

HXLDPoly HXLDCont::GenPolygonsXld(const HString& Type, double Alpha) const

HXLDPoly HXLDCont::GenPolygonsXld(const char* Type, double Alpha) const

void HOperatorSetX.GenPolygonsXld(
[in] IHUntypedObjectX* Contours, [out] IHUntypedObjectX*Polygons, [in] VARIANT Type, [in] VARIANT Alpha)

IHXLDPolyX* HXLDContX.GenPolygonsXld(
[in] BSTR Type, [in] VARIANT Alpha)

static void HOperatorSet.GenPolygonsXld(HObject contours, out HObject polygons, HTuple type, HTuple alpha)

HXLDPoly HXLDCont.GenPolygonsXld(string type, HTuple alpha)

HXLDPoly HXLDCont.GenPolygonsXld(string type, double alpha)

Beschreibung

Mit gen_polygons_xldgen_polygons_xldGenPolygonsXldgen_polygons_xldGenPolygonsXldGenPolygonsXld werden, unter Angabe eines Approximatinsverfahrens TypeTypeTypeTypeTypetype und eines Schwellenwertes AlphaAlphaAlphaAlphaAlphaalpha, XLD-Konturen, die in ContoursContoursContoursContoursContourscontours abgespeichert sind, approximiert. Es werden Polygone berechnet, mit deren Stützpunkten die Konturen angenähert werden können. Es können dabei sowohl offene als auch geschlossene Konturen approximiert werden. Die gewonnenen Stützpunkte werden in dem Parameter PolygonsPolygonsPolygonsPolygonsPolygonspolygons zurückgegeben.

Es steht das Verfahren von Ramer, in welchem die Konturen so approximiert werden, dass der euklidische Abstand eines jeden Konturpunktes von der Polygonlinie höchstens AlphaAlphaAlphaAlphaAlphaalpha Pixeleinheiten beträgt.

Parallelisierung

Parameter

ContoursContoursContoursContoursContourscontours (input_object)  xld_cont-array objectHXLDContHXLDContHXLDContArrayHXLDContXHobject

Konturen, die approximiert werden sollen.

PolygonsPolygonsPolygonsPolygonsPolygonspolygons (output_object)  xld_poly-array objectHXLDPolyHXLDPolyHXLDPolyArrayHXLDPolyXHobject *

Approximierende Polygone.

TypeTypeTypeTypeTypetype (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Name des Polygonverfahrens.

Defaultwert: 'ramer' "ramer" "ramer" "ramer" "ramer" "ramer"

Werteliste: 'ramer'"ramer""ramer""ramer""ramer""ramer"

AlphaAlphaAlphaAlphaAlphaalpha (input_control)  number HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Schwellenwert der Polygonapproximation.

Defaultwert: 2.0

Wertevorschläge: 1.0, 1.5, 2.0, 3.0, 4.0

Restriktion: Alpha > 0.0

Vorgänger

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

Nachfolger

gen_parallels_xldgen_parallels_xldGenParallelsXldgen_parallels_xldGenParallelsXldGenParallelsXld, split_contours_xldsplit_contours_xldSplitContoursXldsplit_contours_xldSplitContoursXldSplitContoursXld

Siehe auch

get_region_polygonget_region_polygonGetRegionPolygonget_region_polygonGetRegionPolygonGetRegionPolygon

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren