dilation_seqdilation_seqDilationSeqDilationSeqdilation_seq (Operator)

Name

dilation_seqdilation_seqDilationSeqDilationSeqdilation_seq — Ausdehnen von Regionen (sequentiell).

Warnung

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

Signatur

dilation_seq(Region : RegionDilation : GolayElement, Iterations : )

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

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

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

HRegion HRegion::DilationSeq(const HString& GolayElement, Hlong Iterations) const

HRegion HRegion::DilationSeq(const char* GolayElement, Hlong Iterations) const

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

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

HRegion HRegion.DilationSeq(string golayElement, int iterations)

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

Beschreibung

dilation_seqdilation_seqDilationSeqDilationSeqDilationSeqdilation_seq berechnet die sequentielle Dilatation der Eingaberegionen mit dem durch GolayElementGolayElementGolayElementGolayElementgolayElementgolay_element ausgewählten strukturierenden Element aus dem Golay-Alphabet. Dazu führt dilation_seqdilation_seqDilationSeqDilationSeqDilationSeqdilation_seq den Operator dilation_golaydilation_golayDilationGolayDilationGolayDilationGolaydilation_golay mit allen Rotationen des strukturierenden Elements so oft durch, wie der Parameter IterationsIterationsIterationsIterationsiterationsiterations angibt. Für die strukturierenden Elemente gibt es folgende Wahlmöglichkeiten:

'l', 'd', 'c', 'f', 'h', 'k'.

Für die Skelettbildung werden meistens die Elemente 'l' und 'm' verwendet. Es werden nur die „Vordergrund Elemente“ des Golayalphabets (gerade Rotationsnummern) verwendet. Die Elemente 'i' und 'e' erzeugen hier die identische Abbildung, d.h. sie verändern die Eingaberegion nicht. Die Elemente 'l', 'm' und 'f2' sind im Vordergrund identisch. Die Golay-Elemente mit allen möglichen Rotationen sind in der Funktionsbeschreibung von golay_elementsgolay_elementsGolayElementsGolayElementsGolayElementsgolay_elements aufgeführt.

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", 'f'"f""f""f""f""f", 'h'"h""h""h""h""h", 'k'"k""k""k""k""k", 'l'"l""l""l""l""l"

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

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_seqdilation_seqDilationSeqDilationSeqDilationSeqdilation_seq den Wert 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_golaydilation_golayDilationGolayDilationGolayDilationGolaydilation_golay

Siehe auch

erosion_seqerosion_seqErosionSeqErosionSeqErosionSeqerosion_seq, hit_or_miss_seqhit_or_miss_seqHitOrMissSeqHitOrMissSeqHitOrMissSeqhit_or_miss_seq, thinning_seqthinning_seqThinningSeqThinningSeqThinningSeqthinning_seq

Modul

Foundation