How to extract dimensions/measurements (i.e. length and width or diameter of a circular part) of certain features or objects in an image?
3 次查看(过去 30 天)
显示 更早的评论
Hello,
I am very new to MATLAB and doing image processing and classification for the first time and I would really appreciate any assistance in this regard. I am working on creating a code which can classify a particular pavement distress and the quantify the damage as well. I have used transferred learning approach and created a CNN model based on ALEXNET for classifying the pavement distress and now I am working on the quantification part. I was wondering if there is a way to extract measurements from an image (such as length and with of a road along with the the length and with of the damaged part of the road) through some lines of code. Please see the attached images for better understanding of what I am trying to achieve.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/369493/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/369496/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/369499/image.jpeg)
I would really appreciate any and every assistance I can get on this,
Thank you in advance.
0 个评论
回答(1 个)
Pankhuri Kasliwal
2020-10-7
Hi,
For finding the dimensions of the road you need to convert your imae to binary image and then do pixel counting.
For more information please refer to the following link -
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Design Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!