How to compare two different binary images

4 ビュー (過去 30 日間)
Dhanapal K
Dhanapal K 2018 年 1 月 5 日
回答済み: Walter Roberson 2018 年 1 月 5 日
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.

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 1 月 5 日
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