dots_imagedots_imageDotsImageDotsImage (Operator)

Name

dots_imagedots_imageDotsImageDotsImage — Hervorheben von kreisförmigen Punkten.

Signatur

dots_image(Image : DotImage : Diameter, FilterType, PixelShift : )

Herror dots_image(const Hobject Image, Hobject* DotImage, const Hlong Diameter, const char* FilterType, const Hlong PixelShift)

Herror T_dots_image(const Hobject Image, Hobject* DotImage, const Htuple Diameter, const Htuple FilterType, const Htuple PixelShift)

void DotsImage(const HObject& Image, HObject* DotImage, const HTuple& Diameter, const HTuple& FilterType, const HTuple& PixelShift)

HImage HImage::DotsImage(Hlong Diameter, const HString& FilterType, Hlong PixelShift) const

HImage HImage::DotsImage(Hlong Diameter, const char* FilterType, Hlong PixelShift) const

HImage HImage::DotsImage(Hlong Diameter, const wchar_t* FilterType, Hlong PixelShift) const   (Nur Windows)

static void HOperatorSet.DotsImage(HObject image, out HObject dotImage, HTuple diameter, HTuple filterType, HTuple pixelShift)

HImage HImage.DotsImage(int diameter, string filterType, int pixelShift)

Beschreibung

dots_imagedots_imageDotsImageDotsImageDotsImage hebt kreisförmige Punkte des Durchmessers DiameterDiameterDiameterDiameterdiameter in dem Eingabebild ImageImageImageImageimage hervor. dots_imagedots_imageDotsImageDotsImageDotsImage ist damit insbesondere zur Segmentierung von Nadeldrucken, z.B. in OCR-Anwendungen, geeignet. Die Hervorhebung geschieht durch Faltung mit einer an die Punktgröße angepassten Filtermaske. Für DiameterDiameterDiameterDiameterdiameter = 5 sieht sie z.B. wie folgt aus: Mit dem Parameter FilterTypeFilterTypeFilterTypeFilterTypefilterType kann gewählt werden, ob dunkle ('dark'"dark""dark""dark""dark"), helle ('light'"light""light""light""light") oder alle ('all'"all""all""all""all") Punkte hervorgehoben werden sollen. Der PixelShiftPixelShiftPixelShiftPixelShiftpixelShift kann verwendet werden, um den Kontrast des Ausgabebildes zu erhöhen (PixelShiftPixelShiftPixelShiftPixelShiftpixelShift > 0) oder mögliche abgeschnittene Extremalwerte zu dämpfen (PixelShiftPixelShiftPixelShiftPixelShiftpixelShift = -1).

Achtung

Beachten Sie, dass Filteroperatoren eventuell unerwartete Resultate ausgeben, wenn ein Bild mit einer reduzierten Domäne als Input übergeben wird. Weitere Informationen können im Kapitel Filter gefunden werden.

Ausführungsinformationen

Parameter

ImageImageImageImageimage (input_object)  (multichannel-)image(-array) objectHImageHImageHobject (byte / uint2)

Eingabebild.

DotImageDotImageDotImageDotImagedotImage (output_object)  (multichannel-)image(-array) objectHImageHImageHobject * (byte / uint2)

Ausgabebild.

DiameterDiameterDiameterDiameterdiameter (input_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Durchmesser der hervorzuhebenden Punkte.

Defaultwert: 5

Werteliste: 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23

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

Detektion aller, heller oder dunkler Punkte.

Defaultwert: 'light' "light" "light" "light" "light"

Werteliste: 'all'"all""all""all""all", 'dark'"dark""dark""dark""dark", 'light'"light""light""light""light"

PixelShiftPixelShiftPixelShiftPixelShiftpixelShift (input_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Shift der Filterantwort.

Defaultwert: 0

Werteliste: -1, 0, 1, 2

Nachfolger

thresholdthresholdThresholdThresholdThreshold

Alternativen

laplacelaplaceLaplaceLaplaceLaplace, laplace_of_gausslaplace_of_gaussLaplaceOfGaussLaplaceOfGaussLaplaceOfGauss, diff_of_gaussdiff_of_gaussDiffOfGaussDiffOfGaussDiffOfGauss, derivate_gaussderivate_gaussDerivateGaussDerivateGaussDerivateGauss, convol_imageconvol_imageConvolImageConvolImageConvolImage

Modul

Foundation