Image.fliplr#

Image.fliplr() Image[source][source]#

Flip image left-right

Returns:

horizontally flipped image

Return type:

Image

Example:

>>> from machinevisiontoolbox import Image
>>> img = Image([[1, 2, 3], [4, 5, 6]])
>>> img.fliplr().A
array([[3, 2, 1],
       [6, 5, 4]], dtype=uint8)
Seealso:

flipud