'**SUMMARY**
The maximum value of my image, and the other image, in each channel
If other is a number, returns the maximum of that and the number
**PARAMETERS**
* *other* - Image of the same size or a number.
**RETURNS**
A SimpelCV image.'

def max(self, other):

    newbitmap = self.getEmpty()
    if is_number(other):
        cv.MaxS(self.getBitmap(), other, newbitmap)
    else:
        if (self.size() != other.size()):
            warnings.warn('Both    images    should    have    same    sizes.    Returning    None.')
            return None
        cv.Max(self.getBitmap(), other.getBitmap(), newbitmap)
    return Image(newbitmap, colorSpace=self._colorSpace)
