第十章 圖像分割

1.點檢測 f=imread('point.tif'); w=[-1,-2,-1;0,0,0;1,2,1]; g=abs(imfilter(double(f),w)); T=max(g(:)); g1=g>=0.2*T; subplot 121,imshow(f);title('原圖') subplot 122,imshow(g1);title('點檢測') g2=imsubtract(ordfi
相關文章
相關標籤/搜索