How to remove in rectangle area in picture
5 ビュー (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/165628/image.png)
0 件のコメント
回答 (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.
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!