which algorithm should be used for the determination of distance of feature points from the origin or cneter
Info
This question is closed. Reopen it to edit or answer.
Show older comments
i need to determine the distance of feature points, that i have computed on left right eyes and centre of lips (make a triangle by joining all these three feature points) from the origin or centre of the face on x-y coordinates. plz help me im stuck in this and plz tellme whcih algo should i use for its solution??
Answers (1)
Image Analyst
on 27 Jul 2012
0 votes
What was wrong with the answer I gave to your duplicate posting: http://www.mathworks.com/matlabcentral/answers/44531#answer_54584?
6 Comments
faria ayub
on 27 Jul 2012
So your question is how to find the distance between two points essentially? If you have the points already, then pick a method (e.g. using the Pythagorean theorem, like IA already suggested) for finding the distance and be consistent with it. Then do it 3 times (one for each side of the triangle) and you have the information you ask for in your question.
Perhaps the reason you're not getting the answer you're expecting is that you're not asking the right question.
faria ayub
on 27 Jul 2012
faria ayub
on 27 Jul 2012
Ryan
on 27 Jul 2012
The origin(0,0) is completely arbitrary and dependent on where you place it. Just be consistent with where you place it and I don't believe you should have an issue.
Image Analyst
on 27 Jul 2012
Yes, between two points. The origin (0,0) is also a point you know. You can use that as a point just as well as you can use any other point(s).
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!