function segmentointi()
I = imread('cell.tif'); <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="fea3156d-b55d-43ec-8df4-43213ee669a3"><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');
|