Background subtraction for image extraction

6 次查看(过去 30 天)
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.

回答(1 个)

Image Analyst
Image Analyst 2020-7-19
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.

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by