How To Find Distance Between Centroids ????
Mostra commenti meno recenti
Hey Guyz,
I am working on the project Titled as "Text Detection and Recognition". I have a question about finding the distance between two centriods. How to find it ????? What is the possible approach of finding it ??
Regards and Thanks in advance Cheers !
Risposta accettata
Più risposte (1)
Joseph Cheng
il 24 Apr 2015
Modificato: Joseph Cheng
il 24 Apr 2015
So you already have two centroids with coordinates (x1,y1) and (x2,y2) then the distance formula would work right?
distance = sqrt((x2-x1)^2+(y2-y1)^2);
1 Commento
Ibraheem Salim
il 13 Mag 2015
Categorie
Scopri di più su ROI-Based Processing in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!