I have a photo with crack and i would like to measure this crack width automatically with matlab code. So, how to call the photo to matlab script and let matlab read as a pixels and then ask to compute the crack width?

Risposte (1)

Save your image in any one of format say .jpg or .png
use imread() command to call the image and use regionprops()to determine dimensions

1 Commento

Thank you very much but still my question is how to measure the distance between the first white point and the last one in the y axis at different value in x axis. For example and for clarifying my needs, in the attached image, at different x, i would like to measure w.

Accedi per commentare.

Categorie

Scopri di più su Images in Centro assistenza e File Exchange

Richiesto:

il 24 Ott 2017

Commentato:

il 25 Ott 2017

Community Treasure Hunt

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

Start Hunting!

Translated by