How to measure the size of a dent in a can?

2 vues (au cours des 30 derniers jours)
Christian Mehlbaum
Christian Mehlbaum le 23 Oct 2020
For our research, we need to detect a dent in a coca cola can. We tried to crop the picture so we can see the region we want to detect in. However the cropping part does not work in our advantage. In this research we need to know wether the dent in the can is more than 4mm. We had the idea to detect it by using a local minimum. This did not work as well. We desperately need your help. The code and our test image are provided in this message. The first picture is the complete image, and the second picture is the desired cropped image.

Réponses (1)

Saurav Chaudhary
Saurav Chaudhary le 29 Oct 2020
Refer this MATLAB answer, you may get an idea about what you are looking for.
Hope, this helps.

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by