dots_image dots_image DotsImage DotsImage (Operator)
Name
dots_image dots_image DotsImage DotsImage
— Hervorheben von kreisförmigen Punkten.
Signatur
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)
Beschreibung
dots_image dots_image DotsImage DotsImage DotsImage
hebt kreisförmige Punkte des Durchmessers
Diameter Diameter Diameter Diameter diameter
in dem Eingabebild Image Image Image Image image
hervor.
dots_image dots_image DotsImage DotsImage DotsImage
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 Diameter Diameter Diameter Diameter diameter
= 5 sieht sie z.B. wie folgt
aus:
Mit dem Parameter FilterType FilterType FilterType FilterType filterType
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
PixelShift PixelShift PixelShift PixelShift pixelShift
kann verwendet werden, um den Kontrast des
Ausgabebildes zu erhöhen (PixelShift PixelShift PixelShift PixelShift pixelShift
> 0) oder mögliche
abgeschnittene Extremalwerte zu dämpfen (PixelShift PixelShift PixelShift PixelShift pixelShift
=
-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
Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
Automatisch parallelisiert auf Tupelebene.
Automatisch parallelisiert auf Kanalebene.
Automatisch parallelisiert auf Domainebene.
Parameter
Image Image Image Image image
(input_object) (multichannel-)image(-array) →
object HImage HImage Hobject (byte / uint2)
Eingabebild.
DotImage DotImage DotImage DotImage dotImage
(output_object) (multichannel-)image(-array) →
object HImage HImage Hobject * (byte / uint2)
Ausgabebild.
Diameter Diameter Diameter Diameter diameter
(input_control) integer →
HTuple HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Durchmesser der hervorzuhebenden Punkte.
Defaultwert: 5
Werteliste: 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23
FilterType FilterType FilterType FilterType filterType
(input_control) string →
HTuple HTuple Htuple (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"
PixelShift PixelShift PixelShift PixelShift pixelShift
(input_control) integer →
HTuple HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Shift der Filterantwort.
Defaultwert: 0
Werteliste: -1, 0, 1, 2
Nachfolger
threshold threshold Threshold Threshold Threshold
Alternativen
laplace laplace Laplace Laplace Laplace
,
laplace_of_gauss laplace_of_gauss LaplaceOfGauss LaplaceOfGauss LaplaceOfGauss
,
diff_of_gauss diff_of_gauss DiffOfGauss DiffOfGauss DiffOfGauss
,
derivate_gauss derivate_gauss DerivateGauss DerivateGauss DerivateGauss
,
convol_image convol_image ConvolImage ConvolImage ConvolImage
Modul
Foundation