KlassenKlassenKlassenKlassen | | | | Operatoren

closing_golayclosing_golayClosingGolayclosing_golayClosingGolayClosingGolay (Operator)

Name

closing_golayclosing_golayClosingGolayclosing_golayClosingGolayClosingGolay — Ausführen einer Closing-Operation mit Golay-Alphabet als strukturierendes Element.

Warnung

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

Signatur

closing_golay(Region : RegionClosing : GolayElement, Rotation : )

Herror closing_golay(const Hobject Region, Hobject* RegionClosing, const char* GolayElement, const Hlong Rotation)

Herror T_closing_golay(const Hobject Region, Hobject* RegionClosing, const Htuple GolayElement, const Htuple Rotation)

Herror closing_golay(Hobject Region, Hobject* RegionClosing, const HTuple& GolayElement, const HTuple& Rotation)

HRegion HRegion::ClosingGolay(const HTuple& GolayElement, const HTuple& Rotation) const

HRegionArray HRegionArray::ClosingGolay(const HTuple& GolayElement, const HTuple& Rotation) const

void ClosingGolay(const HObject& Region, HObject* RegionClosing, const HTuple& GolayElement, const HTuple& Rotation)

HRegion HRegion::ClosingGolay(const HString& GolayElement, Hlong Rotation) const

HRegion HRegion::ClosingGolay(const char* GolayElement, Hlong Rotation) const

void HOperatorSetX.ClosingGolay(
[in] IHUntypedObjectX* Region, [out] IHUntypedObjectX*RegionClosing, [in] VARIANT GolayElement, [in] VARIANT Rotation)

IHRegionX* HRegionX.ClosingGolay(
[in] BSTR GolayElement, [in] Hlong Rotation)

static void HOperatorSet.ClosingGolay(HObject region, out HObject regionClosing, HTuple golayElement, HTuple rotation)

HRegion HRegion.ClosingGolay(string golayElement, int rotation)

Beschreibung

closing_golayclosing_golayClosingGolayclosing_golayClosingGolayClosingGolay ist als Hintereinanderschaltung von Minkowski-Addition und Minkowski-Subtraktion definiert. Dabei wird zuerst die Minkowski-Addition der Eingaberegion (RegionRegionRegionRegionRegionregion) mit dem durch GolayElementGolayElementGolayElementGolayElementGolayElementgolayElement und RotationRotationRotationRotationRotationrotation ausgewählten strukturierenden Element des Golay-Alphabets durchgeführt. Mit dem Ergebnis der Minkowski-Addition und dem um 180 Grad gedrehten strukturierenden Element, wird dann eine Minkowski-Subtraktion durchgeführt.

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 des gewählten Elements verwendet werden soll. Durch closing_golayclosing_golayClosingGolayclosing_golayClosingGolayClosingGolay werden Löcher, die kleiner sind als das strukturierende Element, geschlossen und die Regionenränder geglättet. Die Golay-Elemente mit allen möglichen Rotationen sind in der Funktionsbeschreibung von golay_elementsgolay_elementsGolayElementsgolay_elementsGolayElementsGolayElements aufgeführt.

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.

Parallelisierung

Parameter

RegionRegionRegionRegionRegionregion (input_object)  region(-array) objectHRegionHRegionHRegionHRegionXHobject

Regionen,die verarbeitet werden sollen.

RegionClosingRegionClosingRegionClosingRegionClosingRegionClosingregionClosing (output_object)  region(-array) objectHRegionHRegionHRegionHRegionXHobject *

Regionen, auf die die Closing-Operation angewandt wurde.

GolayElementGolayElementGolayElementGolayElementGolayElementgolayElement (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (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"

RotationRotationRotationRotationRotationrotation (input_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (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 closing_golayclosing_golayClosingGolayclosing_golayClosingGolayClosingGolay 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

Nachfolger

reduce_domainreduce_domainReduceDomainreduce_domainReduceDomainReduceDomain, select_shapeselect_shapeSelectShapeselect_shapeSelectShapeSelectShape, area_centerarea_centerAreaCenterarea_centerAreaCenterAreaCenter, connectionconnectionConnectionconnectionConnectionConnection

Alternativen

closingclosingClosingclosingClosingClosing

Siehe auch

erosion_golayerosion_golayErosionGolayerosion_golayErosionGolayErosionGolay, dilation_golaydilation_golayDilationGolaydilation_golayDilationGolayDilationGolay, opening_golayopening_golayOpeningGolayopening_golayOpeningGolayOpeningGolay, hit_or_miss_golayhit_or_miss_golayHitOrMissGolayhit_or_miss_golayHitOrMissGolayHitOrMissGolay, thinning_golaythinning_golayThinningGolaythinning_golayThinningGolayThinningGolay, thickening_golaythickening_golayThickeningGolaythickening_golayThickeningGolayThickeningGolay, golay_elementsgolay_elementsGolayElementsgolay_elementsGolayElementsGolayElements

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren