フィルターのクリア

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 Center および File ExchangeImages についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by