• Remix
  • Share
  • New Entry

on 15 Oct 2022
  • 3
  • 8
  • 0
  • 0
  • 193
sz=300;
I=zeros(sz,sz,3);
R=sz/3;
for i=1:sz
for j=1:sz
if(i-100)^2+(j-100)^2<R.^2
I(i,j,1)=255;
end
if(i-100)^2+(j-200)^2<R.^2
I(i,j,2)=255;
end
if(i-200)^2+(j-150)^2<R.^2
I(i,j,3)=255;
end
end
end
imshow(uint8(I))
Image
Remix Tree