Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

I want to dissect one black, oval-shaped part of a photo keep the contents inside

1 visualización (últimos 30 días)
Naim
Naim el 16 de Jun. de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
See attached photos for reference. What functionality does MATLAB have for detecting black space and zeroing in on what's inside that space?
Thanks for your help.

Respuestas (1)

Ankita Nargundkar
Ankita Nargundkar el 21 de Jun. de 2017
See attached M file for an example of one way to approach this problem. If you want to get a perfect oval, look at 'regionprops' to extract that sort of information from the binary image or the connected components structure ('cc').

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by