monotonymonotonyMonotonyMonotony (Operator)

Name

monotonymonotonyMonotonyMonotony — Berechnung des Monotonieoperators.

Signatur

monotony(Image : ImageMonotony : : )

Herror monotony(const Hobject Image, Hobject* ImageMonotony)

Herror T_monotony(const Hobject Image, Hobject* ImageMonotony)

void Monotony(const HObject& Image, HObject* ImageMonotony)

HImage HImage::Monotony() const

static void HOperatorSet.Monotony(HObject image, out HObject imageMonotony)

HImage HImage.Monotony()

Beschreibung

monotonymonotonyMonotonyMonotonyMonotony berechnet den Monotonieoperator. Hierzu wird die Anzahl der Punkte in der 8-Nachbarschaft gezählt, die echt kleiner als der aktuelle Grauwert sind. Diese Anzahl wird im Ausgabebild eingetragen.

Bei einem echten Maximum erhält man den Wert 8, bei einem Minimum oder auf einem Plateau ergibt sich der Wert 0. Bei einem Grat oder einem Hang erhält man entsprechende Zwischenwerte.

Um lokale Minima zu untersuchen, muss das Eingabebild vorher nur mit dem Befehl invert_imageinvert_imageInvertImageInvertImageInvertImage invertiert werden.

Der Monotonieoperator wird häufig als Vorbereitung für Matching-Verfahren eingesetzt, da er invariant gegen Helligkeitsänderungen ist.

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 / int2 / uint2)

Eingabebild.

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

Ergebnis des Monotonieoperators.

Parameteranzahl: ImageMonotony == Image

Beispiel (C)

/* searching the strict maximums */
gauss_filter(Image,&Gauss,5);
monotony(Gauss,&Monotony);
threshold(Monotony,Maxima,8.0,8.0);

Vorgänger

binomial_filterbinomial_filterBinomialFilterBinomialFilterBinomialFilter, gauss_filtergauss_filterGaussFilterGaussFilterGaussFilter, median_imagemedian_imageMedianImageMedianImageMedianImage, mean_imagemean_imageMeanImageMeanImageMeanImage, smooth_imagesmooth_imageSmoothImageSmoothImageSmoothImage, invert_imageinvert_imageInvertImageInvertImageInvertImage

Nachfolger

thresholdthresholdThresholdThresholdThreshold, exhaustive_matchexhaustive_matchExhaustiveMatchExhaustiveMatchExhaustiveMatch, disp_imagedisp_imageDispImageDispImageDispImage

Alternativen

local_maxlocal_maxLocalMaxLocalMaxLocalMax, topographic_sketchtopographic_sketchTopographicSketchTopographicSketchTopographicSketch, corner_responsecorner_responseCornerResponseCornerResponseCornerResponse

Modul

Foundation