How to display the object created with function strel?
8 次查看(过去 30 天)
显示 更早的评论
How to display the object created with function strel?
2 个评论
采纳的回答
Walter Roberson
2017-11-24
AAA = strel('disk', 5);
AAA.Neighborhood
image(AAA.Neighborhood); colormap(gray(2));
4 个评论
neel patel
2018-5-21
for display it is good but how to save that image? mit imsave it is not working. can anyone tell me the answer?
Walter Roberson
2018-5-21
imwrite(uint8(AAA.Neighborhood), gray(2),'NameOfFile.bmp')
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!