How to remove in rectangle area in picture
2 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Walter Roberson
2017-6-29
data = imread('bw0016.png');
newdata = imopen(data,strel('disk',11));
imshow(newdata)
8 个评论
Walter Roberson
2017-6-29
imopen() with some appropriate strel disk radius. regionprops to get the bounding box. imcrop the original using that bounding box.
I did not use imcrop in the above because you indicated that you wanted all of what was to the right of the white rectangular area.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


