function segmentointi()
I = imread('cell.tif');
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7d4e4d445d65e3d3-263ea88f-49164865-97eb84fa-a21924918129b5761fe78f28"><ac:plain-text-body><![CDATA[[junk threshold] = edge(I, 'sobel'); ]]></ac:plain-text-body></ac:structured-macro> fudgeFactor = .5; BWs = edge(I,'sobel', threshold * fudgeFactor); figure, imshow(BWs), title('binary gradient mask'); |