程序如下:figure;imshow(X);hold on;pause(2);for i=1:ny for j=1:nx plot(result(i,j,1),result(i,j,2),'r+'); hold on; pause; endend