KlassenKlassenKlassenKlassen | | | | Operatoren

golay_elementsgolay_elementsGolayElementsgolay_elementsGolayElementsGolayElements (Operator)

Name

golay_elementsgolay_elementsGolayElementsgolay_elementsGolayElementsGolayElements — Erzeugen der strukturierenden Elemente des Golay-Alphabets.

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)

Herror golay_elements(Hobject* StructElement1, Hobject* StructElement2, const HTuple& GolayElement, const HTuple& Rotation, const HTuple& Row, const HTuple& Column)

HRegion HRegion::GolayElements(HRegion* 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)

void HOperatorSetX.GolayElements(
[out] IHUntypedObjectX*StructElement1, [out] IHUntypedObjectX*StructElement2, [in] VARIANT GolayElement, [in] VARIANT Rotation, [in] VARIANT Row, [in] VARIANT Column)

IHRegionX* HRegionX.GolayElements(
[in] BSTR GolayElement, [in] Hlong Rotation, [in] Hlong Row, [in] Hlong Column)

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_elementsGolayElementsgolay_elementsGolayElementsGolayElements erzeugt die strukturierenden Elemente aus dem Golay-Alphabet. Der Parameter GolayElementGolayElementGolayElementGolayElementGolayElementgolayElement legt den Namen, RotationRotationRotationRotationRotationrotation die Rotation fest. Die strukturierenden Elemente sind für hit_or_misshit_or_missHitOrMisshit_or_missHitOrMissHitOrMiss ausgelegt: In StructElement1StructElement1StructElement1StructElement1StructElement1structElement1 wird das strukturierende Element für den Vordergrund in StructElement2StructElement2StructElement2StructElement2StructElement2structElement2 das für den Hintergrund übergeben. RowRowRowRowRowrow und ColumnColumnColumnColumnColumncolumn 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_elementsGolayElementsgolay_elementsGolayElementsGolayElements werden nur die geraden Werte angegeben und legen den Wert für StructElement1StructElement1StructElement1StructElement1StructElement1structElement1 fest. Die nächstgrößere (ungerade) Zahl wird intern berechnet und bestimmt den Wert für StructElement2StructElement2StructElement2StructElement2StructElement2structElement2. Für die Elemente 'h' und 'i' gibt es keine Rotationen, folglich sind nur 0 und 1 als „Rotationen“ möglich (bei golay_elementsgolay_elementsGolayElementsgolay_elementsGolayElementsGolayElements folglich nur 0). Das Element 'e' hat nur 4 Rotationen, folglich liegen die gültigen Werte zwischen 0 und 7 (bei golay_elementsgolay_elementsGolayElementsgolay_elementsGolayElementsGolayElements 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)

Parallelisierung

Parameter

StructElement1StructElement1StructElement1StructElement1StructElement1structElement1 (output_object)  region objectHRegionHRegionHRegionHRegionXHobject *

Strukturierendes Element für den Vordergrund.

StructElement2StructElement2StructElement2StructElement2StructElement2structElement2 (output_object)  region objectHRegionHRegionHRegionHRegionXHobject *

Strukturierendes Element für den Hintergrund.

GolayElementGolayElementGolayElementGolayElementGolayElementgolayElement (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Name des strukturierenden Elementes.

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

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

RowRowRowRowRowrow (input_control)  point.y HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Zeile des Bezugspunktes.

Defaultwert: 16

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

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

Minimale Schrittweite: 1

Empfohlene Schrittweite: 1

ColumnColumnColumnColumnColumncolumn (input_control)  point.x HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Spalte des Bezugspunktes.

Defaultwert: 16

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

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

Minimale Schrittweite: 1

Empfohlene Schrittweite: 1

Ergebnis

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

Nachfolger

hit_or_misshit_or_missHitOrMisshit_or_missHitOrMissHitOrMiss

Alternativen

gen_region_pointsgen_region_pointsGenRegionPointsgen_region_pointsGenRegionPointsGenRegionPoints, gen_struct_elementsgen_struct_elementsGenStructElementsgen_struct_elementsGenStructElementsGenStructElements, gen_region_polygon_filledgen_region_polygon_filledGenRegionPolygonFilledgen_region_polygon_filledGenRegionPolygonFilledGenRegionPolygonFilled

Siehe auch

dilation_golaydilation_golayDilationGolaydilation_golayDilationGolayDilationGolay, erosion_golayerosion_golayErosionGolayerosion_golayErosionGolayErosionGolay, opening_golayopening_golayOpeningGolayopening_golayOpeningGolayOpeningGolay, closing_golayclosing_golayClosingGolayclosing_golayClosingGolayClosingGolay, hit_or_miss_golayhit_or_miss_golayHitOrMissGolayhit_or_miss_golayHitOrMissGolayHitOrMissGolay, thickening_golaythickening_golayThickeningGolaythickening_golayThickeningGolayThickeningGolay

Literatur

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

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren