頂帽變換

I=imread('rice.png'); subplot(2,4,1),imshow(I,[]); thresh=graythresh(I);%自適應確定閾值 thresh=0.5137; Ibw=im2bw(I,thresh) subplot(2,4,2),imshow(Ibw,[]); subplot(2,4,3),surf(double(I(1:8:end,1:8:end))),zlim(
相關文章
相關標籤/搜索