KlassenKlassenKlassenKlassen | | | | Operatoren

gen_parallel_contour_xldgen_parallel_contour_xldGenParallelContourXldgen_parallel_contour_xldGenParallelContourXldGenParallelContourXld (Operator)

Name

gen_parallel_contour_xldgen_parallel_contour_xldGenParallelContourXldgen_parallel_contour_xldGenParallelContourXldGenParallelContourXld — Berechnen der Parallelkontur einer XLD-Kontur

Signatur

gen_parallel_contour_xld(Contours : ParallelContours : Mode, Distance : )

Herror gen_parallel_contour_xld(const Hobject Contours, Hobject* ParallelContours, const char* Mode, double Distance)

Herror T_gen_parallel_contour_xld(const Hobject Contours, Hobject* ParallelContours, const Htuple Mode, const Htuple Distance)

Herror gen_parallel_contour_xld(Hobject Contours, Hobject* ParallelContours, const HTuple& Mode, const HTuple& Distance)

HXLDContArray HXLDContArray::GenParallelContourXld(const HTuple& Mode, const HTuple& Distance) const

void GenParallelContourXld(const HObject& Contours, HObject* ParallelContours, const HTuple& Mode, const HTuple& Distance)

HXLDCont HXLDCont::GenParallelContourXld(const HString& Mode, const HTuple& Distance) const

HXLDCont HXLDCont::GenParallelContourXld(const HString& Mode, double Distance) const

HXLDCont HXLDCont::GenParallelContourXld(const char* Mode, double Distance) const

void HOperatorSetX.GenParallelContourXld(
[in] IHUntypedObjectX* Contours, [out] IHUntypedObjectX*ParallelContours, [in] VARIANT Mode, [in] VARIANT Distance)

IHXLDContX* HXLDContX.GenParallelContourXld(
[in] BSTR Mode, [in] VARIANT Distance)

static void HOperatorSet.GenParallelContourXld(HObject contours, out HObject parallelContours, HTuple mode, HTuple distance)

HXLDCont HXLDCont.GenParallelContourXld(string mode, HTuple distance)

HXLDCont HXLDCont.GenParallelContourXld(string mode, double distance)

Beschreibung

gen_parallel_contour_xldgen_parallel_contour_xldGenParallelContourXldgen_parallel_contour_xldGenParallelContourXldGenParallelContourXld berechnet zu jeder der Eingabekonturen ContoursContoursContoursContoursContourscontours eine parallele Kontur mit dem Abstand DistanceDistanceDistanceDistanceDistancedistance. Die berechneten Konturen werden in ParallelContoursParallelContoursParallelContoursParallelContoursParallelContoursparallelContours zurückgegeben. Zur Berechnung der Parallelkontur wird der Normalenvektor der Eingabekontur in jedem Konturpunkt benötigt. Der Parameter ModeModeModeModeModemode gibt an, wie die Normalenvektoren bestimmt werden. Falls ModeModeModeModeModemode = 'gradient'"gradient""gradient""gradient""gradient""gradient", wird angenommen, dass die Eigabekonturen Kanten sind, und die Normaleninformation aus der Gradientenrichtung der Kante gewonnen (siehe edges_sub_pixedges_sub_pixEdgesSubPixedges_sub_pixEdgesSubPixEdgesSubPix). Dazu muss bei der Eingabekontur das Attribut 'edge_direction'"edge_direction""edge_direction""edge_direction""edge_direction""edge_direction" definiert sein. Falls ModeModeModeModeModemode = 'contour_normal'"contour_normal""contour_normal""contour_normal""contour_normal""contour_normal", wird eine eventuell schon vorhandene Normaleninformation zur Berechnung der Normalen verwendet. Dazu muss das Konturattribut 'angle'"angle""angle""angle""angle""angle" definiert sein (siehe lines_gausslines_gaussLinesGausslines_gaussLinesGaussLinesGauss oder edges_sub_pixedges_sub_pixEdgesSubPixedges_sub_pixEdgesSubPixEdgesSubPix). Falls schließlich ModeModeModeModeModemode = 'regression_normal'"regression_normal""regression_normal""regression_normal""regression_normal""regression_normal", wird die Normalenrichtung aus einer lokalen Regressionsgeraden in jedem Konturpunkt bestimmt. Dabei werden die Normalenvektoren so ausgerichtet, dass sie auf die rechte Seite der Kontur zeigen. Dieser Modus kann, im Gegensatz zu den ersten zwei Modi, für alle XLD-Konturen angewendet werden, ganz gleich wie sie erzeugt wurden.

Parallelisierung

Parameter

ContoursContoursContoursContoursContourscontours (input_object)  xld_cont-array objectHXLDContHXLDContHXLDContArrayHXLDContXHobject

Zu transformierende Konturen.

ParallelContoursParallelContoursParallelContoursParallelContoursParallelContoursparallelContours (output_object)  xld_cont-array objectHXLDContHXLDContHXLDContArrayHXLDContXHobject *

Parallelkonturen.

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

Modus, mit dem die Richtungsinformation gewonnen wird.

Defaultwert: 'regression_normal' "regression_normal" "regression_normal" "regression_normal" "regression_normal" "regression_normal"

Wertevorschläge: 'gradient'"gradient""gradient""gradient""gradient""gradient", 'contour_normal'"contour_normal""contour_normal""contour_normal""contour_normal""contour_normal", 'regression_normal'"regression_normal""regression_normal""regression_normal""regression_normal""regression_normal"

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

Abstand der Parallelkontur.

Defaultwert: 1

Wertevorschläge: 0.2, 0.4, 0.6, 0.8, 1, 2, 3, 4, 5, 7, 10, 15, 20, 30, 40, 50

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, threshold_sub_pixthreshold_sub_pixThresholdSubPixthreshold_sub_pixThresholdSubPixThresholdSubPix

Nachfolger

gen_polygons_xldgen_polygons_xldGenPolygonsXldgen_polygons_xldGenPolygonsXldGenPolygonsXld

Siehe auch

get_contour_xldget_contour_xldGetContourXldget_contour_xldGetContourXldGetContourXld

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren