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

1 次查看(过去 30 天)
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.

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by