Background subtraction for image extraction

Hello there, I have to subtract the background from the picture and only focus the pomegranates in the picture. So, can anyone suggest me code for doing this? I need this code to fuirther pursue my project. I have attached the picture along this question block.

Respuestas (1)

Image Analyst
Image Analyst el 19 de Jul. de 2020

0 votos

If you just want to get the red ones, try the Color Thresholder app on the Apps tab of the tool ribbon. If you want to do it based on shape of uniformly colored areas, I think you'll have to do transfer learning with a deep learning network, like yolo or something.

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 19 de Jul. de 2020

Comentada:

el 7 de Oct. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by