Need explanation of the following MATLAB code?

2 ビュー (過去 30 日間)
somasekar jalari
somasekar jalari 2017 年 3 月 14 日
回答済み: Guillaume 2017 年 3 月 14 日
x=bwperim(im);
y(x)=255;
Where, im=Binary image of given Gray scale image and y= given gray scale image and bwperim is fuction for calcuation of perimeter.

採用された回答

Guillaume
Guillaume 2017 年 3 月 14 日
What is there to not understand?
The code uses logical indexing to set the pixels of the perimeter to 255 in the grayscale image.

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by