close all; % 模拟figure 5 im = zeros(401,401,3); im(:,:,:) = 0; im(2:200, 2:200, 2) = 255; im(202:400, 202:400, 2) = 255; im(2:200, 202:400, :) = 255; im(202:400, 2:200, :) = 255; im=im2double(im); % im = imread('0000.png'); figure;imshow(im); cellsize