# mmislesseq
Verify if one image is less or equal another (is beneath)

## Synopsis

bool = mmislesseq( f1, f2 )

Implemented in Python.

### Input

f1 | Image Gray-scale (uint8 or uint16) or binary image.
f2 | Image Gray-scale (uint8 or uint16) or binary image.

### Output

bool | Boolean

## Description

mmislesseq compares the images `f1` and `f2` and returns true (1), if `f1(x) <= f2(x)`, for every pixel `x,` and false (0), otherwise.

## Examples

    >>> f1 = uint8([0, 1, 2, 3])

    >>> f2 = uint8([9, 5, 3, 3])

    >>> print mmislesseq(f1,f2)

    1.0

    >>> print mmislesseq(f2,f1)

    0.0

    >>> print mmislesseq(f1,f1)

    1.0

## Equation

## Source Code

    def mmislesseq(f1, f2, MSG=None):
        from Numeric import ravel
        bool = min(ravel(f1<=f2))
        return bool

## See also

mmfreedom | Control automatic data type conversion.
mmcmp | Compare two images pixelwisely.
mmis | Verify if a relationship among images is true or false.

[`mmisequal`] [Up] [`mmneg`] |
Copyright (c) 2003, Roberto A. Lotufo, UNICAMP-University of Campinas; Rubens C. Machado, CenPRA-Renato Archer Research Center.