How to remove in rectangle area in picture
조회 수: 1 (최근 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!


