Info

此问题已关闭。 请重新打开它进行编辑或回答。

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 次查看(过去 30 天)
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.

回答(1 个)

Walter Roberson
Walter Roberson 2011-7-27
It sets the perimeter pixels to be white so that they show up against the rest of the image.

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by