def flip(array, into=None): if into is None: into = array lib.cvFlip(array, into, -1)
def flip_vertical(array, into=None): if into is None: into = array lib.cvFlip(array, into, 1)
def flip_horizontal(array, into=None): if into is None: into = array lib.cvFlip(array, into, 0)