Filter löschen
Filter löschen

How to remove in rectangle area in picture

2 Ansichten (letzte 30 Tage)
Adisorn Phanukthong
Adisorn Phanukthong am 29 Jun. 2017
Kommentiert: Walter Roberson am 29 Jun. 2017

Antworten (1)

Walter Roberson
Walter Roberson am 29 Jun. 2017
data = imread('bw0016.png');
newdata = imopen(data,strel('disk',11));
imshow(newdata)
  8 Kommentare
Adisorn Phanukthong
Adisorn Phanukthong am 29 Jun. 2017
removed or fill black in hand
Walter Roberson
Walter Roberson am 29 Jun. 2017
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by