KlassenKlassenKlassenKlassen | | | | Operatoren

dots_imagedots_imageDotsImagedots_imageDotsImageDotsImage (Operator)

Name

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

Herror dots_image(Hobject Image, Hobject* DotImage, const HTuple& Diameter, const HTuple& FilterType, const HTuple& PixelShift)

HImage HImage::DotsImage(const HTuple& Diameter, const HTuple& FilterType, const HTuple& PixelShift) const

HImageArray HImageArray::DotsImage(const HTuple& Diameter, const HTuple& FilterType, const HTuple& PixelShift) const

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

void HOperatorSetX.DotsImage(
[in] IHUntypedObjectX* Image, [out] IHUntypedObjectX*DotImage, [in] VARIANT Diameter, [in] VARIANT FilterType, [in] VARIANT PixelShift)

IHImageX* HImageX.DotsImage(
[in] Hlong Diameter, [in] BSTR FilterType, [in] Hlong PixelShift)

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_imageDotsImagedots_imageDotsImageDotsImage hebt kreisförmige Punkte des Durchmessers DiameterDiameterDiameterDiameterDiameterdiameter in dem Eingabebild ImageImageImageImageImageimage hervor. dots_imagedots_imageDotsImagedots_imageDotsImageDotsImage 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 DiameterDiameterDiameterDiameterDiameterdiameter = 5 sieht sie z.B. wie folgt aus:

Mit dem Parameter FilterTypeFilterTypeFilterTypeFilterTypeFilterTypefilterType kann gewählt werden, ob dunkle ('dark'"dark""dark""dark""dark""dark"), helle ('light'"light""light""light""light""light") oder alle ('all'"all""all""all""all""all") Punkte hervorgehoben werden sollen. Der PixelShiftPixelShiftPixelShiftPixelShiftPixelShiftpixelShift kann verwendet werden, um den Kontrast des Ausgabebildes zu erhöhen (PixelShiftPixelShiftPixelShiftPixelShiftPixelShiftpixelShift > 0) oder mögliche abgeschnittene Extremalwerte zu dämpfen (PixelShiftPixelShiftPixelShiftPixelShiftPixelShiftpixelShift = -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.

Parallelisierung

Parameter

ImageImageImageImageImageimage (input_object)  (multichannel-)image(-array) objectHImageHImageHImageHImageXHobject (byte / uint2)

Eingabebild.

DotImageDotImageDotImageDotImageDotImagedotImage (output_object)  (multichannel-)image(-array) objectHImageHImageHImageHImageXHobject * (byte / uint2)

Ausgabebild.

DiameterDiameterDiameterDiameterDiameterdiameter (input_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Durchmesser der hervorzuhebenden Punkte.

Defaultwert: 5

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

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

Detektion aller, heller oder dunkler Punkte.

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

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

PixelShiftPixelShiftPixelShiftPixelShiftPixelShiftpixelShift (input_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Shift der Filterantwort.

Defaultwert: 0

Werteliste: -1, 0, 1, 2

Nachfolger

thresholdthresholdThresholdthresholdThresholdThreshold

Alternativen

laplacelaplaceLaplacelaplaceLaplaceLaplace, laplace_of_gausslaplace_of_gaussLaplaceOfGausslaplace_of_gaussLaplaceOfGaussLaplaceOfGauss, diff_of_gaussdiff_of_gaussDiffOfGaussdiff_of_gaussDiffOfGaussDiffOfGauss, derivate_gaussderivate_gaussDerivateGaussderivate_gaussDerivateGaussDerivateGauss, convol_imageconvol_imageConvolImageconvol_imageConvolImageConvolImage

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren