Borrar filtros
Borrar filtros

How to remove in rectangle area in picture

2 visualizaciones (últimos 30 días)
Adisorn Phanukthong
Adisorn Phanukthong el 29 de Jun. de 2017
Comentada: Walter Roberson el 29 de Jun. de 2017

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Images en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by