You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

X = bwlabel(I,8);
P=(X<1); % labeloinnista saadun numeron mukaan eri väriseksi
V=(X==1);
S=(X>1);
RGB=cat(3,P,V,S)*255 %tehdään 24-bittinen rgb-kuva
imshow(RGB)
  • No labels
You must log in to comment.