Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Wiki Markup
{code}
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');
{code}