MATLAB – Image processing

i=imread(‘C:\Users\Public\Pictures\Sample Pictures\Jellyfish.jpg’);

j=rgb2gray(i);

e=edge(j,’canny’);

subplot(1,2,1) , imshow(i);

subplot(1,2,2) , imshow(e);

imwrite(e,’C:\Users\Ragy\Desktop\lollll.jpg’)

Advertisements