KlassenKlassenKlassenKlassen | | | | Operatoren

dilation2dilation2Dilation2dilation2Dilation2Dilation2 (Operator)

Name

dilation2dilation2Dilation2dilation2Dilation2Dilation2 — Ausdehnen von Regionen (mit Bezugspunkt).

Signatur

dilation2(Region, StructElement : RegionDilation : Row, Column, Iterations : )

Herror dilation2(const Hobject Region, const Hobject StructElement, Hobject* RegionDilation, const Hlong Row, const Hlong Column, const Hlong Iterations)

Herror T_dilation2(const Hobject Region, const Hobject StructElement, Hobject* RegionDilation, const Htuple Row, const Htuple Column, const Htuple Iterations)

Herror dilation2(Hobject Region, Hobject StructElement, Hobject* RegionDilation, const HTuple& Row, const HTuple& Column, const HTuple& Iterations)

HRegion HRegion::Dilation2(const HRegion& StructElement, const HTuple& Row, const HTuple& Column, const HTuple& Iterations) const

HRegionArray HRegionArray::Dilation2(const HRegion& StructElement, const HTuple& Row, const HTuple& Column, const HTuple& Iterations) const

void Dilation2(const HObject& Region, const HObject& StructElement, HObject* RegionDilation, const HTuple& Row, const HTuple& Column, const HTuple& Iterations)

HRegion HRegion::Dilation2(const HRegion& StructElement, Hlong Row, Hlong Column, Hlong Iterations) const

void HOperatorSetX.Dilation2(
[in] IHUntypedObjectX* Region, [in] IHUntypedObjectX* StructElement, [out] IHUntypedObjectX*RegionDilation, [in] VARIANT Row, [in] VARIANT Column, [in] VARIANT Iterations)

IHRegionX* HRegionX.Dilation2(
[in] IHRegionX* StructElement, [in] Hlong Row, [in] Hlong Column, [in] Hlong Iterations)

static void HOperatorSet.Dilation2(HObject region, HObject structElement, out HObject regionDilation, HTuple row, HTuple column, HTuple iterations)

HRegion HRegion.Dilation2(HRegion structElement, int row, int column, int iterations)

Beschreibung

dilation2dilation2Dilation2dilation2Dilation2Dilation2 berechnet die Dilatation der Eingaberegionen mit einem strukturierenden Element (StructElementStructElementStructElementStructElementStructElementstructElement) und dem Bezugspunkt, der durch RowRowRowRowRowrow und ColumnColumnColumnColumnColumncolumn charakterisiert wird. dilation2dilation2Dilation2dilation2Dilation2Dilation2 entspricht dem Operator dilation1dilation1Dilation1dilation1Dilation1Dilation1 mit dem Unterschied, dass der Bezugspunkt des strukturierenden Elementes frei gewählt werden kann. Der Parameter IterationsIterationsIterationsIterationsIterationsiterations bezeichnet die Anzahl der Iterationen, die mit dem strukturierenden Elemente ausgeführt werden sollen. Als Eingaberegion für die Iteration n wird die Ergebnisregion der Iteration (n-1) verwendet.

Bei Verwendung des leeren strukturierenden Elementes wird eine leere Region erzeugt.

Strukturierende Elemente (StructElementStructElementStructElementStructElementStructElementstructElement) können mit Operatoren wie gen_circlegen_circleGenCirclegen_circleGenCircleGenCircle, gen_rectangle1gen_rectangle1GenRectangle1gen_rectangle1GenRectangle1GenRectangle1, gen_rectangle2gen_rectangle2GenRectangle2gen_rectangle2GenRectangle2GenRectangle2, gen_ellipsegen_ellipseGenEllipsegen_ellipseGenEllipseGenEllipse, draw_regiondraw_regionDrawRegiondraw_regionDrawRegionDrawRegion, gen_region_polygongen_region_polygonGenRegionPolygongen_region_polygonGenRegionPolygonGenRegionPolygon, gen_region_pointsgen_region_pointsGenRegionPointsgen_region_pointsGenRegionPointsGenRegionPoints, etc. erzeugt werden.

Achtung

Eine Dilatation führt grundsätzlich zu einer Vergrößerung der Regionen. Eng benachbarte Regionen, die nach Ausführung des Operators zusammenstoßen oder sich überlappen werden weiterhin als zwei getrennte Regionen behandelt. Um eine Vereinigung zweier Regionen zu erreichen muss zuerst ein union1union1Union1union1Union1Union1 durchgeführt werden.

Parallelisierung

Parameter

RegionRegionRegionRegionRegionregion (input_object)  region(-array) objectHRegionHRegionHRegionHRegionXHobject

Regionen die verarbeitet werden sollen.

StructElementStructElementStructElementStructElementStructElementstructElement (input_object)  region objectHRegionHRegionHRegionHRegionXHobject

Strukturierendes Element für Dilation-Operation.

RegionDilationRegionDilationRegionDilationRegionDilationRegionDilationregionDilation (output_object)  region(-array) objectHRegionHRegionHRegionHRegionXHobject *

Ergebnis der Dilation-Operation.

RowRowRowRowRowrow (input_control)  point.y HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Zeile des Bezugspunktes.

Defaultwert: 0

ColumnColumnColumnColumnColumncolumn (input_control)  point.x HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Spalte des Bezugspunktes.

Defaultwert: 0

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

Anzahl der Iterationen.

Defaultwert: 1

Wertevorschläge: 1, 2, 3, 4, 5, 7, 11, 17, 25, 32, 64, 128

Typischer Wertebereich: 1 ≤ Iterations Iterations Iterations Iterations Iterations iterations (lin)

Minimale Schrittweite: 1

Empfohlene Schrittweite: 1

Komplexität

Sei F1 die Fläche einer Eingaberegion und F2 die Fläche des strukturierenden Elementes, dann ist die Laufzeitkomplexität für ein Objekt:

Ergebnis

Bei korrekter Parametrisierung liefert die Funktion dilation2dilation2Dilation2dilation2Dilation2Dilation2 den Wert 2 (H_MSG_TRUE). Das Funktionsverhalten für die beiden Fälle leere und keine Eingaberegion lässt sich wie folgt kontrollieren:

Andernfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

thresholdthresholdThresholdthresholdThresholdThreshold, regiongrowingregiongrowingRegiongrowingregiongrowingRegiongrowingRegiongrowing, connectionconnectionConnectionconnectionConnectionConnection, union1union1Union1union1Union1Union1, watershedswatershedsWatershedswatershedsWatershedsWatersheds, class_ndim_normclass_ndim_normClassNdimNormclass_ndim_normClassNdimNormClassNdimNorm, gen_circlegen_circleGenCirclegen_circleGenCircleGenCircle, gen_ellipsegen_ellipseGenEllipsegen_ellipseGenEllipseGenEllipse, gen_rectangle1gen_rectangle1GenRectangle1gen_rectangle1GenRectangle1GenRectangle1, gen_rectangle2gen_rectangle2GenRectangle2gen_rectangle2GenRectangle2GenRectangle2, draw_regiondraw_regionDrawRegiondraw_regionDrawRegionDrawRegion, gen_region_pointsgen_region_pointsGenRegionPointsgen_region_pointsGenRegionPointsGenRegionPoints, gen_struct_elementsgen_struct_elementsGenStructElementsgen_struct_elementsGenStructElementsGenStructElements, gen_region_polygon_filledgen_region_polygon_filledGenRegionPolygonFilledgen_region_polygon_filledGenRegionPolygonFilledGenRegionPolygonFilled

Nachfolger

reduce_domainreduce_domainReduceDomainreduce_domainReduceDomainReduceDomain, add_channelsadd_channelsAddChannelsadd_channelsAddChannelsAddChannels, select_shapeselect_shapeSelectShapeselect_shapeSelectShapeSelectShape, area_centerarea_centerAreaCenterarea_centerAreaCenterAreaCenter, connectionconnectionConnectionconnectionConnectionConnection

Alternativen

minkowski_add1minkowski_add1MinkowskiAdd1minkowski_add1MinkowskiAdd1MinkowskiAdd1, minkowski_add2minkowski_add2MinkowskiAdd2minkowski_add2MinkowskiAdd2MinkowskiAdd2, dilation1dilation1Dilation1dilation1Dilation1Dilation1, dilation_golaydilation_golayDilationGolaydilation_golayDilationGolayDilationGolay, dilation_seqdilation_seqDilationSeqdilation_seqDilationSeqDilationSeq

Siehe auch

erosion1erosion1Erosion1erosion1Erosion1Erosion1, erosion2erosion2Erosion2erosion2Erosion2Erosion2, openingopeningOpeningopeningOpeningOpening, closingclosingClosingclosingClosingClosing

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren