Info

This question is closed. Reopen it to edit or answer.

I failed to understand the following code which is usefull for isolation of particular cell. especially the third line i failed to understand completely

1 view (last 30 days)
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
Walter Roberson on 27 Jul 2011
It sets the perimeter pixels to be white so that they show up against the rest of the image.

This question is closed.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!