Measure Euclidean Distance of mask in crack image

조회 수: 3 (최근 30일)
Jhe Mag
Jhe Mag 2022년 4월 13일
편집: Jhe Mag 2022년 6월 28일
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.

채택된 답변

yanqi liu
yanqi liu 2022년 4월 19일
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
Jhe Mag
Jhe Mag 2022년 6월 28일
편집: Jhe Mag 2022년 6월 28일
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?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by