How to compare two different binary images

7 vues (au cours des 30 derniers jours)
Dhanapal K
Dhanapal K le 5 Jan 2018
I have the cropped image of pencil. I want to count the number of pencils in an image where each pencil can be of different sizes. How can I compare and count? How can I iterate and find? Do i need to zoom/shrink or correlate ? Please guide me with sample code or materials or steps to follow. Thanks.

Réponses (1)

Walter Roberson
Walter Roberson le 5 Jan 2018
https://www.mathworks.com/discovery/object-detection.html
https://www.mathworks.com/matlabcentral/answers/329297-detecting-objects-by-template

Community Treasure Hunt

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

Start Hunting!

Translated by