powered by
flip an image row-wise (horizontally) or column-wise (vertically)
flipImage(image, mode = "horizontal")
a matrix, data frame or 3-dimensional array
one of 'horizontal', 'vertical'
a matrix or 3-dimensional array
This function flips an image row-wise or column-wise
# NOT RUN { path = system.file("tmp_images", "1.png", package = "OpenImageR") im = readImage(path) flp = flipImage(im, mode = 'vertical') # }
Run the code above in your browser using DataLab