Hi, all
I have a problem in flipping an image. I use flipud function from Matlab, but it keeps error
img = imread('peppers.png'); F = flipud(img); imshow(img); title('Image'); figure, imshow(F); title('Flip Vertical');
The error message was
??? Error using ==> flipud at 19 X must be a 2-D matrix.
Error in ==> Untitled8 at 4 F = flipud(img);
Can anyone tell me how to solve this? Thanks
Best Answer