...
Esimerkki segmentoinnista:
function segmentointi.m()
I = imread('cell.tif');
Wiki Markup |
---|
\[junk threshold\] = edge(I, 'sobel');
fudgeFactor = .5;
BWs = edge(I,'sobel', threshold * fudgeFactor);
figure, imshow(BWs), title('binary gradient mask'); |