You are on page 1of 1

*****************EJERCICIO 2.

EXAMEN SHAPE Y BORDE

chichu = 'C:\Users\Chichu\Documents\MATLAB\shape.png';
img = imread(chichu);
axes (handles.axes1)
axis off
imshow(img)
%N =rgb2gray(img);
R =img(:,:,1);%Roja
G =img(:,:,2);%verde
B =img(:,:,3);%azul
%motion laplacian gaussian disk average

axes(handles.axes2);
s = G>R & G>B;
b1 = edge(s, 'canny');
imshow(b1);

You might also like