Name
union_straight_contours_xld union_straight_contours_xld UnionStraightContoursXld union_straight_contours_xld UnionStraightContoursXld UnionStraightContoursXld — Vereinigen von benachbarten geraden Konturen mit ähnlicher Richtung.
Herror union_straight_contours_xld (const Hobject Contours , Hobject* UnionContours , double MaxDist , double MaxDiff , double Percent , const char* Mode , const char* Iterations )
Herror T_union_straight_contours_xld (const Hobject Contours , Hobject* UnionContours , const Htuple MaxDist , const Htuple MaxDiff , const Htuple Percent , const Htuple Mode , const Htuple Iterations )
Herror union_straight_contours_xld (Hobject Contours , Hobject* UnionContours , const HTuple& MaxDist , const HTuple& MaxDiff , const HTuple& Percent , const HTuple& Mode , const HTuple& Iterations )
HXLDContArray HXLDContArray ::UnionStraightContoursXld (const HTuple& MaxDist , const HTuple& MaxDiff , const HTuple& Percent , const HTuple& Mode , const HTuple& Iterations ) const
void UnionStraightContoursXld (const HObject& Contours , HObject* UnionContours , const HTuple& MaxDist , const HTuple& MaxDiff , const HTuple& Percent , const HTuple& Mode , const HTuple& Iterations )
HXLDCont HXLDCont ::UnionStraightContoursXld (double MaxDist , double MaxDiff , double Percent , const HString& Mode , const HTuple& Iterations ) const
HXLDCont HXLDCont ::UnionStraightContoursXld (double MaxDist , double MaxDiff , double Percent , const HString& Mode , const HString& Iterations ) const
HXLDCont HXLDCont ::UnionStraightContoursXld (double MaxDist , double MaxDiff , double Percent , const char* Mode , const char* Iterations ) const
void HOperatorSetX .UnionStraightContoursXld ( [in] IHUntypedObjectX* Contours , [out] IHUntypedObjectX* * UnionContours , [in] VARIANT MaxDist , [in] VARIANT MaxDiff , [in] VARIANT Percent , [in] VARIANT Mode , [in] VARIANT Iterations )
IHXLDContX* HXLDContX .UnionStraightContoursXld ( [in] double MaxDist , [in] double MaxDiff , [in] double Percent , [in] BSTR Mode , [in] VARIANT Iterations )
static void HOperatorSet .UnionStraightContoursXld (HObject contours , out HObject unionContours , HTuple maxDist , HTuple maxDiff , HTuple percent , HTuple mode , HTuple iterations )
HXLDCont HXLDCont .UnionStraightContoursXld (double maxDist , double maxDiff , double percent , string mode , HTuple iterations )
HXLDCont HXLDCont .UnionStraightContoursXld (double maxDist , double maxDiff , double percent , string mode , string iterations )
Mit union_straight_contours_xld union_straight_contours_xld UnionStraightContoursXld union_straight_contours_xld UnionStraightContoursXld UnionStraightContoursXld werden die Konturen
Contours Contours Contours Contours Contours contours verglichen und unter gewissen Voraussetzungen
vereinigt. In einem Iterationsschritt werden maximal zwei Konturen,
die die entsprechenden Voraussetzungen erfüllen, vereinigt. Mit dem
Parameter Iterations Iterations Iterations Iterations Iterations iterations kann gesteuert werden, wie oft dieser
Vereinigungsschritt wiederholt wird.
Zwei Konturen werden vereinigt, wenn deren kürzester
Endpunktabstand (die Endpunkte sind die Fußpunkte der Lote von den
Konturendpunkten auf die optimale Regressionsgerade) kleiner als
MaxDist MaxDist MaxDist MaxDist MaxDist maxDist ist und wenn ihre Richtungsdifferenz (bzgl. der
zugehörigen optimalen Regressionsgeraden) kleiner als
MaxDiff MaxDiff MaxDiff MaxDiff MaxDiff maxDiff (Bogenmaß) ist.
Wenn nur eine der beiden Bedingungen zutrifft, kann die Entscheidung
zugunsten einer Vereinigung durch die Gewichtung Percent Percent Percent Percent Percent percent
beeinflusst werden, indem die prozentuale Überschreitung des
angegebenen Grenzwertes gegen die prozentuale Unterschreitung des
anderen Grenzwertes angerechnet wird. Dabei wird der
Endpunktabstand mit Percent Percent Percent Percent Percent percent , die Richtungsdifferenz mit
100 - Percent Percent Percent Percent Percent percent bewertet.
Das bedeutet, dass zwei Konturen dann vereinigt werden, wenn sie
die folgende Bedingung erfüllen:
Wenn zwei Konturen beispielsweise einen minimalen Endpunktabstand von
5.0 und eine Richtungsdifferenz von 0.5 haben (bei Grenzwerten
MaxDist MaxDist MaxDist MaxDist MaxDist maxDist = 4.0 und MaxDiff MaxDiff MaxDiff MaxDiff MaxDiff maxDiff = 0.625),
so weichen beide Werte von den Grenzwerten um 25% ab. Durch die
Wahl von Percent Percent Percent Percent Percent percent = 60% fällt nun der große
Endpunktabstand stärker ins Gewicht als die geringe
Richtungsdifferenz, weshalb die Konturen nicht
vereinigt werden. Wenn in diesem Fall Percent Percent Percent Percent Percent percent =
40% gewählt würde, würden die Konturen vereinigt werden.
Bei Percent Percent Percent Percent Percent percent = 100% geht nur der Endpunktabstand in die
Entscheidung ein, bei Percent Percent Percent Percent Percent percent = 0% geht nur die
Richtungsdifferenz in die Entscheidung ein, bei Percent Percent Percent Percent Percent percent =
50% sind beide Merkmale gleichberechtigt.
Bei parallel verlaufenden Konturen besteht die Gefahr, dass
nebeneinander liegende Konturen vereinigt werden. Soll dieser
Effekt verhindert werden, so muss für Mode Mode Mode Mode Mode mode 'noparallel',
ansonsten 'paralleltoo' angegeben werden. Für 'every' werden die
Konturen bedingungslos vereinigt. Alle anderen Parameter haben in
diesem Fall keinen Einfluss.
Für jede durch Vereinigung neu entstandene Kontur werden die
Regressionsgeradenparameter neu berechnet.
Bevor Konturen mit union_straight_contours_xld union_straight_contours_xld UnionStraightContoursXld union_straight_contours_xld UnionStraightContoursXld UnionStraightContoursXld vereinigt werden
können, müssen die Regressionsgeradenparameter mit
regress_contours_xld regress_contours_xld RegressContoursXld regress_contours_xld RegressContoursXld RegressContoursXld berechnet werden.
Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
Wird ohne Parallelisierung verarbeitet.
Maximaler Abstand der Endpunkte.
Defaultwert: 5.0
Maximale Richtungsdifferenz.
Defaultwert: 0.5
Gewichtungsfaktor für die zwei Selektionskriterien.
Defaultwert: 50.0
Berücksichtigung paralleler Konturen.
Defaultwert:
'noparallel'
"noparallel"
"noparallel"
"noparallel"
"noparallel"
"noparallel"
Werteliste: 'every' "every" "every" "every" "every" "every" , 'noparallel' "noparallel" "noparallel" "noparallel" "noparallel" "noparallel" , 'paralleltoo' "paralleltoo" "paralleltoo" "paralleltoo" "paralleltoo" "paralleltoo"
Anzahl Iterationen oder 'maximum'.
Defaultwert:
'maximum'
"maximum"
"maximum"
"maximum"
"maximum"
"maximum"
Wertevorschläge: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 'maximum' "maximum" "maximum" "maximum" "maximum" "maximum"
Typischer Wertebereich: 1
≤
Iterations
Iterations
Iterations
Iterations
Iterations
iterations
≤
500 (lin)
Minimale Schrittweite: 1
Empfohlene Schrittweite: 1
regress_contours_xld regress_contours_xld RegressContoursXld regress_contours_xld RegressContoursXld RegressContoursXld
union_collinear_contours_xld union_collinear_contours_xld UnionCollinearContoursXld union_collinear_contours_xld UnionCollinearContoursXld UnionCollinearContoursXld ,
union_collinear_contours_ext_xld union_collinear_contours_ext_xld UnionCollinearContoursExtXld union_collinear_contours_ext_xld UnionCollinearContoursExtXld UnionCollinearContoursExtXld ,
union_cocircular_contours_xld union_cocircular_contours_xld UnionCocircularContoursXld union_cocircular_contours_xld UnionCocircularContoursXld UnionCocircularContoursXld ,
union_cotangential_contours_xld union_cotangential_contours_xld UnionCotangentialContoursXld union_cotangential_contours_xld UnionCotangentialContoursXld UnionCotangentialContoursXld ,
union_adjacent_contours_xld union_adjacent_contours_xld UnionAdjacentContoursXld union_adjacent_contours_xld UnionAdjacentContoursXld UnionAdjacentContoursXld
fit_line_contour_xld fit_line_contour_xld FitLineContourXld fit_line_contour_xld FitLineContourXld FitLineContourXld ,
get_contour_xld get_contour_xld GetContourXld get_contour_xld GetContourXld GetContourXld ,
get_contour_attrib_xld get_contour_attrib_xld GetContourAttribXld get_contour_attrib_xld GetContourAttribXld GetContourAttribXld ,
gen_contours_skeleton_xld gen_contours_skeleton_xld GenContoursSkeletonXld gen_contours_skeleton_xld GenContoursSkeletonXld GenContoursSkeletonXld ,
lines_gauss lines_gauss LinesGauss lines_gauss LinesGauss LinesGauss ,
lines_facet lines_facet LinesFacet lines_facet LinesFacet LinesFacet ,
edges_sub_pix edges_sub_pix EdgesSubPix edges_sub_pix EdgesSubPix EdgesSubPix ,
get_regress_params_xld get_regress_params_xld GetRegressParamsXld get_regress_params_xld GetRegressParamsXld GetRegressParamsXld ,
get_contour_global_attrib_xld get_contour_global_attrib_xld GetContourGlobalAttribXld get_contour_global_attrib_xld GetContourGlobalAttribXld GetContourGlobalAttribXld ,
query_contour_global_attribs_xld query_contour_global_attribs_xld QueryContourGlobalAttribsXld query_contour_global_attribs_xld QueryContourGlobalAttribsXld QueryContourGlobalAttribsXld
Foundation