Background subtraction for image extraction
3 views (last 30 days)
Show older comments
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.

0 Comments
Answers (1)
Image Analyst
on 19 Jul 2020
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.
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!