DIP Exp 2 . [ Image Flip ]

 % Read the target image file

img = imread('image.jpg');
% Reverse the order of the element in each column
vertFlip_img = flip(img, 2);
% Display the vertically flipped image
imshow(vertFlip_img);
title('Vertically flipped image');
vertFlip_img = flip(img, 1);
% Display the vertically flipped image
imshow(vertFlip_img);
title('Vertically flipped image1');
Next Post Previous Post
No Comment
Add Comment
comment url