How To Find Distance Between Centroids ????
Show older comments
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 !
Accepted Answer
More Answers (1)
Joseph Cheng
on 24 Apr 2015
Edited: Joseph Cheng
on 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 Comment
Ibraheem Salim
on 13 May 2015
Categories
Find more on Image Segmentation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!