6二进制图像matlab 看星星 2022-05-02 88 阅读1分钟 clc;clear; I=zeros(100,100); I(1:80,50:3:100)=1; imshow(I); I2=uint8(I); figure,imshow(I2) I3=I2~=0; figure,imshow(I3) whos;