Herror ::monotony (
    Hobject Image,
    Hobject *ImageMonotony
)
HImage HImage::Monotony (
    void
) const
HImageArray HImageArray::Monotony (
    void
) const

Calculating the monotony operation.

The operator ::monotony calculates the monotony operator. Thereby the points which are strictly smaller than the current grayvalue will be counted in the 8 neighborhood. This number will be entered into the output imaged.

If there is a strict maximum, the value 8 is returned; in case of a minimum or a plateau, the value 0 will be returned. A ridge or a slope will return the corresponding intermediate values.

The monotony operator is often used to prepare matching operations as it is invariant with regard to lightness modifications.


Parameters

Image (input_object)
(multichannel-)image(-array) -> Hobject: HImage(Array) ( byte / int2 )
Input image.

ImageMonotony (output_object)
(multichannel-)image(-array) -> Hobject * : HImage(Array) ( byte / int2 )
Result of the monotony operator.
Number of elements: ImageMonotony == Image


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

Possible Predecessors

::gauss_image, ::median_image, ::mean_image, ::smooth_image, ::invert_image


Possible Successors

::threshold, ::exhaustive_match, ::disp_image


Alternatives

::local_max, ::topographic_sketch, ::corner_response


Module

Image filters



Copyright © 1996-2002 MVTec Software GmbH