dilation_golaydilation_golayDilationGolayDilationGolaydilation_golay (Operator)

Name

dilation_golaydilation_golayDilationGolayDilationGolaydilation_golay — Ausdehnen von Regionen (Golay).

Warnung

dilation_golaydilation_golayDilationGolayDilationGolayDilationGolaydilation_golay ist veraltet und wird nur aus Gründen der Rückwärtskompatibilität zur Verfügung gestellt.

Signatur

dilation_golay(Region : RegionDilation : GolayElement, Iterations, Rotation : )

Herror dilation_golay(const Hobject Region, Hobject* RegionDilation, const char* GolayElement, const Hlong Iterations, const Hlong Rotation)

Herror T_dilation_golay(const Hobject Region, Hobject* RegionDilation, const Htuple GolayElement, const Htuple Iterations, const Htuple Rotation)

void DilationGolay(const HObject& Region, HObject* RegionDilation, const HTuple& GolayElement, const HTuple& Iterations, const HTuple& Rotation)

HRegion HRegion::DilationGolay(const HString& GolayElement, Hlong Iterations, Hlong Rotation) const

HRegion HRegion::DilationGolay(const char* GolayElement, Hlong Iterations, Hlong Rotation) const

HRegion HRegion::DilationGolay(const wchar_t* GolayElement, Hlong Iterations, Hlong Rotation) const   (Nur Windows)

static void HOperatorSet.DilationGolay(HObject region, out HObject regionDilation, HTuple golayElement, HTuple iterations, HTuple rotation)

HRegion HRegion.DilationGolay(string golayElement, int iterations, int rotation)

def dilation_golay(region: HObject, golay_element: str, iterations: int, rotation: int) -> HObject

Beschreibung

dilation_golaydilation_golayDilationGolayDilationGolayDilationGolaydilation_golay berechnet die Dilatation der Eingaberegionen mit einem ausgewählten strukturierenden Element aus dem Golay-Alphabet, das durch GolayElementGolayElementGolayElementGolayElementgolayElementgolay_element bestimmt ist. Für die strukturierenden Elemente gibt es folgende Wahlmöglichkeiten:

'l', 'm', 'd', 'c', 'e', 'i', 'f', 'f2', 'h', 'k'.

Die Rotationsnummer RotationRotationRotationRotationrotationrotation gibt dabei an, welche Rotation, bzw. ob die Vordergrund- (gerade) oder die Hintergrundvariante (ungerade Werte) des gewählten Elements verwendet werden soll. Die Golay-Elemente mit allen möglichen Rotationen sind in der Funktionsbeschreibung von golay_elementsgolay_elementsGolayElementsGolayElementsGolayElementsgolay_elements aufgeführt. Das strukturierende Element wird dabei über die zu verarbeitende Region (RegionRegionRegionRegionregionregion) geschoben. Für alle Positionen des strukturierenden Elementes, an denen sie sich mit dem Objekt schneidet, wird der Bezugspunkt (relativ zum strukturierenden Element) in die Ausgaberegion aufgenommen. Es wird also die Vereinigungsmenge über alle Verschiebungen des strukturierenden Elementes über die Region gebildet.

Der Parameter IterationsIterationsIterationsIterationsiterationsiterations bezeichnet die Anzahl der Iterationen, die mit dem strukturierenden Element ausgeführt werden sollen. Als Eingaberegion für die Iteration n wird die Ergebnisregion der Iteration (n-1) verwendet.

Achtung

Es ist zu beachten, dass nicht bei jedem Golayelement alle Werte von RotationRotationRotationRotationrotationrotation zulässig sind. Bei einigen Werten für RotationRotationRotationRotationrotationrotation entsteht die identische Abbildung.

Ausführungsinformationen

Parameter

RegionRegionRegionRegionregionregion (input_object)  region(-array) objectHRegionHObjectHRegionHobject

Regionen, die verarbeitet werden sollen.

RegionDilationRegionDilationRegionDilationRegionDilationregionDilationregion_dilation (output_object)  region(-array) objectHRegionHObjectHRegionHobject *

Das Ergebnis der Dilation-Operation.

GolayElementGolayElementGolayElementGolayElementgolayElementgolay_element (input_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Strukturierendes Element aus dem Golay-Alphabet.

Defaultwert: 'h' "h" "h" "h" "h" "h"

Werteliste: 'c'"c""c""c""c""c", 'd'"d""d""d""d""d", 'e'"e""e""e""e""e", 'f'"f""f""f""f""f", 'f2'"f2""f2""f2""f2""f2", 'h'"h""h""h""h""h", 'i'"i""i""i""i""i", 'k'"k""k""k""k""k", 'l'"l""l""l""l""l", 'm'"m""m""m""m""m"

IterationsIterationsIterationsIterationsiterationsiterations (input_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Anzahl der Iterationen.

Defaultwert: 1

Wertevorschläge: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 15, 17, 20, 30, 40, 50

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

Minimale Schrittweite: 1

Empfohlene Schrittweite: 1

RotationRotationRotationRotationrotationrotation (input_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Rotation des Golay-Elements. Je nach Element sind nicht alle Rotationen zulässig.

Defaultwert: 0

Werteliste: 0, 2, 4, 6, 8, 10, 12, 14, 1, 3, 5, 7, 9, 11, 13, 15

Komplexität

Sei F die Fläche einer Eingaberegion, dann ist die Laufzeitkomplexität für ein Objekt:

Ergebnis

Bei korrekter Parametrisierung liefert die Funktion dilation_golaydilation_golayDilationGolayDilationGolayDilationGolaydilation_golay 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_normClassNdimNormClassNdimNormClassNdimNormclass_ndim_norm

Nachfolger

reduce_domainreduce_domainReduceDomainReduceDomainReduceDomainreduce_domain, select_shapeselect_shapeSelectShapeSelectShapeSelectShapeselect_shape, area_centerarea_centerAreaCenterAreaCenterAreaCenterarea_center, connectionconnectionConnectionConnectionConnectionconnection

Alternativen

dilation1dilation1Dilation1Dilation1Dilation1dilation1, dilation2dilation2Dilation2Dilation2Dilation2dilation2, dilation_seqdilation_seqDilationSeqDilationSeqDilationSeqdilation_seq

Siehe auch

erosion_golayerosion_golayErosionGolayErosionGolayErosionGolayerosion_golay, opening_golayopening_golayOpeningGolayOpeningGolayOpeningGolayopening_golay, closing_golayclosing_golayClosingGolayClosingGolayClosingGolayclosing_golay, hit_or_miss_golayhit_or_miss_golayHitOrMissGolayHitOrMissGolayHitOrMissGolayhit_or_miss_golay, thinning_golaythinning_golayThinningGolayThinningGolayThinningGolaythinning_golay, thickening_golaythickening_golayThickeningGolayThickeningGolayThickeningGolaythickening_golay, golay_elementsgolay_elementsGolayElementsGolayElementsGolayElementsgolay_elements

Modul

Foundation