Write a MATLAB program for Cropping a image



Code:

clear;
clc;
I = imread('d:/matimage/baby7.gif');
J = imcrop(I,[60 40 100 90]);
figure, imshow(I), figure, imshow(J);


Output:


No comments

Powered by Blogger.