function segmentointi()
I = imread('cell.tif');
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e527217dfce9549f-0cec39fe-456b4b98-a2efb20d-5d70035fb3ab5267771649dc"><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');
|