function segmentointi()
I = imread('cell.tif'); <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a4a39a55-0450-444d-a5a1-f673c8ee6d88"><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');
|