Edge Detection on Matlab
Hi everyone,
At my this project i am going to make edge detection. I will use matlab’s built in functions.
This is my original photo. I will read it, convert to the gray, finally from the gray photo i will detect the edges. As you can see from the code below, i used sobel edge detection.
lena=imread('lena.jpg'); lena_gray=rgb2gray(lena); lena_gray_double=double(lena_gray); lena_gray_double=lena_gray_double/max(max(lena_gray_double)); figure; edge(lena_gray_double,'sobel') title('Built-in Edge Detected Image With Sobel'); %https://ozturkgokhan.com/
Best wishes;
Gökhan ÖZTÜRK
Mart 8, 2016 tarihinde Maltab içinde yayınlandı ve CODING, Maltab, programming, Project olarak etiketlendi. Kalıcı bağlantıyı yer imlerinize ekleyin. Yorum yapın.
Yorum yapın
Comments 0