golay_elementsgolay_elementsGolayElementsGolayElements (Operator)

Name

golay_elementsgolay_elementsGolayElementsGolayElements — Erzeugen der strukturierenden Elemente des Golay-Alphabets.

Warnung

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

Signatur

golay_elements( : StructElement1, StructElement2 : GolayElement, Rotation, Row, Column : )

Herror golay_elements(Hobject* StructElement1, Hobject* StructElement2, const char* GolayElement, const Hlong Rotation, const Hlong Row, const Hlong Column)

Herror T_golay_elements(Hobject* StructElement1, Hobject* StructElement2, const Htuple GolayElement, const Htuple Rotation, const Htuple Row, const Htuple Column)

void GolayElements(HObject* StructElement1, HObject* StructElement2, const HTuple& GolayElement, const HTuple& Rotation, const HTuple& Row, const HTuple& Column)

HRegion HRegion::GolayElements(const HString& GolayElement, Hlong Rotation, Hlong Row, Hlong Column)

HRegion HRegion::GolayElements(const char* GolayElement, Hlong Rotation, Hlong Row, Hlong Column)

HRegion HRegion::GolayElements(const wchar_t* GolayElement, Hlong Rotation, Hlong Row, Hlong Column)   (Nur Windows)

static void HOperatorSet.GolayElements(out HObject structElement1, out HObject structElement2, HTuple golayElement, HTuple rotation, HTuple row, HTuple column)

HRegion HRegion.GolayElements(string golayElement, int rotation, int row, int column)

Beschreibung

golay_elementsgolay_elementsGolayElementsGolayElementsGolayElements erzeugt die strukturierenden Elemente aus dem Golay-Alphabet. Der Parameter GolayElementGolayElementGolayElementGolayElementgolayElement legt den Namen, RotationRotationRotationRotationrotation die Rotation fest. Die strukturierenden Elemente sind für hit_or_misshit_or_missHitOrMissHitOrMissHitOrMiss ausgelegt: In StructElement1StructElement1StructElement1StructElement1structElement1 wird das strukturierende Element für den Vordergrund in StructElement2StructElement2StructElement2StructElement2structElement2 das für den Hintergrund übergeben. RowRowRowRowrow und ColumnColumnColumnColumncolumn legen den Bezugspunkt fest.

Die Rotationen sind von 0 bis 15 durchnumeriert. Das heißt aber nicht, dass es 16 verschiedene Rotationen gibt: Die geraden Werte bezeichnen die Rotationen der Vordergrundelemente, die ungeraden die der Hintergrundelemente.

Bei golay_elementsgolay_elementsGolayElementsGolayElementsGolayElements werden nur die geraden Werte angegeben und legen den Wert für StructElement1StructElement1StructElement1StructElement1structElement1 fest. Die nächstgrößere (ungerade) Zahl wird intern berechnet und bestimmt den Wert für StructElement2StructElement2StructElement2StructElement2structElement2. Für die Elemente 'h' und 'i' gibt es keine Rotationen, folglich sind nur 0 und 1 als „Rotationen“ möglich (bei golay_elementsgolay_elementsGolayElementsGolayElementsGolayElements folglich nur 0). Das Element 'e' hat nur 4 Rotationen, folglich liegen die gültigen Werte zwischen 0 und 7 (bei golay_elementsgolay_elementsGolayElementsGolayElementsGolayElements ergeben sich die Werte 0, 2, 4 und 6).

Die Grafiken zeigen die Elemente des Golay-Alphabets mit allen realisierten Rotationen. Die verwendeten Zeichen haben folgende Bedeutung: * Vordergrundpixel o Hintergrundpixel . Pixel mit beliebigem Wert Die Namen der Elemente und ihre Rotationsnummern stehen jeweils unter der Zeichnung. Die Elemente mit gerader Nummer enthalten die Vordergrundpixel, die Elemente mit ungerader Rotationsnummer die Hintergrundpixel. * * * * * * * * * h(0,1) o o o o o o o o o i(0,1) . . . o o . o o o . o o o * o o * . o * o . * o o o o o o . . . . . o o e(0,1) e(2,3) e(4,5) e(6,7) o * * o o o o . . o * . o * . . * * * . . * o . * o . . . * . * . * . o * * o * . * . o . * . o . * . * o * * o . * * * * * * . . * . o . . o o o o o . . o . * . . * * o o * l(0,1) l(2,3) l(4,5) l(6,7) l(8,9) l(10,11) l(12,13) l(14,15) * * . . * . . * . . * * * . . * . . * o . . . o . . . o * * o * . * . . . * . . . * . * o * * . . * . * . * . * . * . . * . . . . o . o . o . . . . * . . * * * * * . . . . * * m(0,1) m(2,3) m(4,5) m(6,7) m(8,9) m(10,11) m(12,13) m(14,15) o o . . o . . o . . o o o . . o . . o * . . . * . . . * o * * o . * . . . * . . . * . o * * o . . * . o . * . o . * . . o . . . . * . * . * . . . . o . . o o o o o . . . . o o d(0,1) d(2,3) d(4,5) d(6,7) d(8,9) d(10,11) d(12,13) d(14,15) * * o o * o o o * o * o * o * o o o * * . o o * o o . * o * * * * * . o o * o o . * * * * * o o . * * * o * o * * * . o * o o o . * o * o * . o o o * o * o * o * o * o o o * * f(0,1) f(2,3) f(4,5) f(6,7) f(8,9) f(10,11) f(12,13) f(14,15) * o o * * * * o . * o o * o . o o o o o . o * o o * . o o * o o . * . * o * * o . * . * o * o * . * . o * * o * . * . o o o o o . o o o * o . * * * * * . o * o o o . o o * * o f2(0,1) f2(2,3) f2(4,5) f2(6,7) f2(8,9) f2(10,11)f2(12,13) f2(14,15) * . . o * * o . . * . . * . . . . . . . . . o . . * . . . * . . . * . o . * * . . * . * . * . o . * . . * * . * . * . . . . . . . . . . o . . * o * * * . . * . . . . . . o * . k(0,1) k(2,3) k(4,5) k(6,7) k(8,9) k(10,11) k(12,13) k(14,15) * . . * * * * * . . * . . . . . * o . * . . . o . . . * . o * . . . . o . . . . * . . * . o . . . . . . . o . * . . * . . o * * * * * o . . . . . . . . . . * * . . . . * * c(0,1) c(2,3) c(4,5) c(6,7) c(8,9) c(10,11) c(12,13) c(14,15)

Ausführungsinformationen

Parameter

StructElement1StructElement1StructElement1StructElement1structElement1 (output_object)  region objectHRegionHRegionHobject *

Strukturierendes Element für den Vordergrund.

StructElement2StructElement2StructElement2StructElement2structElement2 (output_object)  region objectHRegionHRegionHobject *

Strukturierendes Element für den Hintergrund.

GolayElementGolayElementGolayElementGolayElementgolayElement (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Name des strukturierenden Elementes.

Defaultwert: 'l' "l" "l" "l" "l"

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

RotationRotationRotationRotationrotation (input_control)  integer HTupleHTupleHtuple (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

RowRowRowRowrow (input_control)  point.y HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Zeile des Bezugspunktes.

Defaultwert: 16

Wertevorschläge: 0, 16, 32, 128, 256

Typischer Wertebereich: 0 ≤ Row Row Row Row row ≤ 511 (lin)

Minimale Schrittweite: 1

Empfohlene Schrittweite: 1

ColumnColumnColumnColumncolumn (input_control)  point.x HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Spalte des Bezugspunktes.

Defaultwert: 16

Wertevorschläge: 0, 16, 32, 128, 256

Typischer Wertebereich: 0 ≤ Column Column Column Column column ≤ 511 (lin)

Minimale Schrittweite: 1

Empfohlene Schrittweite: 1

Ergebnis

Bei korrekter Parametrisierung liefert der Operator golay_elementsgolay_elementsGolayElementsGolayElementsGolayElements den Wert 2 (H_MSG_TRUE). Andernfalls wird eine Fehlerbehandlung durchgeführt.

Nachfolger

hit_or_misshit_or_missHitOrMissHitOrMissHitOrMiss

Alternativen

gen_region_pointsgen_region_pointsGenRegionPointsGenRegionPointsGenRegionPoints, gen_struct_elementsgen_struct_elementsGenStructElementsGenStructElementsGenStructElements, gen_region_polygon_filledgen_region_polygon_filledGenRegionPolygonFilledGenRegionPolygonFilledGenRegionPolygonFilled

Siehe auch

dilation_golaydilation_golayDilationGolayDilationGolayDilationGolay, erosion_golayerosion_golayErosionGolayErosionGolayErosionGolay, opening_golayopening_golayOpeningGolayOpeningGolayOpeningGolay, closing_golayclosing_golayClosingGolayClosingGolayClosingGolay, hit_or_miss_golayhit_or_miss_golayHitOrMissGolayHitOrMissGolayHitOrMissGolay, thickening_golaythickening_golayThickeningGolayThickeningGolayThickeningGolay

Literatur

J. Serra: „Image Analysis and Mathematical Morphology“. Volume I. Academic Press, 1982

Modul

Foundation