Measure Euclidean Distance of mask in crack image

3 visualizzazioni (ultimi 30 giorni)
Hi I'm a student and new to matlab. I found a crack detection code from this repo: https://github.com/ichae/Crack-Detector.
I want to measure the euclidean distance from one end to another. How can I do this? How am I going to detect the endpoints? Please help me.

Risposta accettata

yanqi liu
yanqi liu il 19 Apr 2022
yes,sir,may be use bwlabel and regionpropers to get the center and BoundbingBox of two object,then compute the average distance to get the sim value
  1 Commento
Jhe Mag
Jhe Mag il 28 Giu 2022
Modificato: Jhe Mag il 28 Giu 2022
Hi thank you so much. But I can't seem to imagine how am I going to implement it.
Also is it applicable to complex crack objects such as this one?

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by