golay_elementsgolay_elementsGolayElementsGolayElementsgolay_elements (Operator)

Name

golay_elementsgolay_elementsGolayElementsGolayElementsgolay_elements — Erzeugen der strukturierenden Elemente des Golay-Alphabets.

Warnung

golay_elementsgolay_elementsGolayElementsGolayElementsgolay_elements 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)

def golay_elements(golay_element: str, rotation: int, row: int, column: int) -> Tuple[HObject, HObject]

Beschreibung

golay_elementsgolay_elementsGolayElementsGolayElementsgolay_elements erzeugt die strukturierenden Elemente aus dem Golay-Alphabet. Der Parameter GolayElementGolayElementGolayElementgolayElementgolay_element legt den Namen, RotationRotationRotationrotationrotation die Rotation fest. Die strukturierenden Elemente sind für hit_or_misshit_or_missHitOrMissHitOrMisshit_or_miss ausgelegt: In StructElement1StructElement1StructElement1structElement1struct_element_1 wird das strukturierende Element für den Vordergrund in StructElement2StructElement2StructElement2structElement2struct_element_2 das für den Hintergrund übergeben. RowRowRowrowrow und ColumnColumnColumncolumncolumn legen den Bezugspunkt fest.

Die Rotationen sind von 0 bis 15 durchnummeriert. 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_elementsGolayElementsGolayElementsgolay_elements werden nur die geraden Werte angegeben und legen den Wert für StructElement1StructElement1StructElement1structElement1struct_element_1 fest. Die nächstgrößere (ungerade) Zahl wird intern berechnet und bestimmt den Wert für StructElement2StructElement2StructElement2structElement2struct_element_2. Für die Elemente 'h' und 'i' gibt es keine Rotationen, folglich sind nur 0 und 1 als „Rotationen“ möglich (bei golay_elementsgolay_elementsGolayElementsGolayElementsgolay_elements folglich nur 0). Das Element 'e' hat nur 4 Rotationen, folglich liegen die gültigen Werte zwischen 0 und 7 (bei golay_elementsgolay_elementsGolayElementsGolayElementsgolay_elements 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

StructElement1StructElement1StructElement1structElement1struct_element_1 (output_object)  region objectHRegionHObjectHObjectHobject *

Strukturierendes Element für den Vordergrund.

StructElement2StructElement2StructElement2structElement2struct_element_2 (output_object)  region objectHRegionHObjectHObjectHobject *

Strukturierendes Element für den Hintergrund.

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

Name des strukturierenden Elementes.

Default: '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 HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

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

Default: 0

Werteliste: 0, 2, 4, 6, 8, 10, 12, 14

RowRowRowrowrow (input_control)  point.y HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Zeile des Bezugspunktes.

Default: 16

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

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

Minimale Schrittweite: 1

Empfohlene Schrittweite: 1

ColumnColumnColumncolumncolumn (input_control)  point.x HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Spalte des Bezugspunktes.

Default: 16

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

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

Minimale Schrittweite: 1

Empfohlene Schrittweite: 1

Ergebnis

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

Nachfolger

hit_or_misshit_or_missHitOrMissHitOrMisshit_or_miss

Alternativen

gen_region_pointsgen_region_pointsGenRegionPointsGenRegionPointsgen_region_points, gen_struct_elementsgen_struct_elementsGenStructElementsGenStructElementsgen_struct_elements, gen_region_polygon_filledgen_region_polygon_filledGenRegionPolygonFilledGenRegionPolygonFilledgen_region_polygon_filled

Siehe auch

dilation_golaydilation_golayDilationGolayDilationGolaydilation_golay, erosion_golayerosion_golayErosionGolayErosionGolayerosion_golay, opening_golayopening_golayOpeningGolayOpeningGolayopening_golay, closing_golayclosing_golayClosingGolayClosingGolayclosing_golay, hit_or_miss_golayhit_or_miss_golayHitOrMissGolayHitOrMissGolayhit_or_miss_golay, thickening_golaythickening_golayThickeningGolayThickeningGolaythickening_golay

Literatur

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

Modul

Foundation