You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

function f = HaePalikka()
I = imread('DSC_1632.JPG');
figure, imshow(I), title('Alkuperäinen kuva');
I2=RGB2GRAY(I);%muutetaan harmaasävykuvaksi
BWs = edge(I2, 'sobel', (graythresh(I2) * .05));
figure, imshow(BWs), title('reunaviivat');
  • No labels
You must log in to comment.