Mathematics is the mother of all sciences.
bigT=255*ones(256);
bigT(30:79,64:191)=zeros(50,128);
bigT(50:199,111:146)=zeros(150,36);
for x=1:256
for y=1:256
x1=x;
y1=mod((y+1*x),256)+1;
bigT1(x1,y1)=bigT(x,y);
end;
imshow(bigT1)
Post a Comment
No comments:
Post a Comment