MATLAB Answers


This question is closed. Reopen it to edit or answer.

How can I identify objects in a cluttered image by their shape/colour?

1 view (last 30 days)
Dan Comber
Dan Comber on 4 Aug 2017
Closed: MATLAB Answer Bot on 20 Aug 2021 at 17:58
I've written some code so that when an image is supplied to MATLAB, it uses predetermined parameters to highlight any areas which match the required colours. From this collection of highlighted areas, I want to find any which correspond to round object (as this is trying to look for fruit in a cluttered image). None of the methods shown in examples by MathWorks seem to work, as they all require empty background space between the objects

Answers (2)

Alessandro La Chioma
Alessandro La Chioma on 4 Aug 2017
Without seeing the image and without knowing what you specifically tried and did not work, I can only suggest to have a look here, which seems to fit exactly your needs: Good luck!

Community Treasure Hunt

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

Start Hunting!