I failed to understand the following code which is usefull for isolation of particular cell. especially the third line i failed to understand completely
Info
This question is closed. Reopen it to edit or answer.
Show older comments
B=bwperim(BW);
s1=I;
s1(B)=255;
where 'I' is a original image ,BW is a edge detection image. please can u expalin the code . thanks in advance. pleae concentrate especialy third line.
Answers (1)
Walter Roberson
on 27 Jul 2011
0 votes
It sets the perimeter pixels to be white so that they show up against the rest of the image.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!