필터 지우기
필터 지우기

How to remove in rectangle area in picture

조회 수: 2 (최근 30일)
Adisorn Phanukthong
Adisorn Phanukthong 2017년 6월 29일
댓글: Walter Roberson 2017년 6월 29일

답변 (1개)

Walter Roberson
Walter Roberson 2017년 6월 29일
data = imread('bw0016.png');
newdata = imopen(data,strel('disk',11));
imshow(newdata)
  댓글 수: 8
Adisorn Phanukthong
Adisorn Phanukthong 2017년 6월 29일
removed or fill black in hand
Walter Roberson
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 CenterFile Exchange에서 Images에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by