how to find the distance between to points in an image using matlab?

Status
Not open for further replies.

emerson_11

Member level 2
Joined
Jan 23, 2016
Messages
44
Helped
1
Reputation
2
Reaction score
1
Trophy points
8
Activity points
355
how to find the distance between two points in an image using matlab?

Hy,
Am doing a project in face gender classification using svm.
1.) could anyone suggest me the best feature extraction algorithm for this application?
2.) could anyone help me to find the distance between 2 points in an image using matlab?
eg. distance between left eye to right eye?
 

Hi,

you mean pythagoras?

d = sqrt( (x1-x2)^2 + (y1 -y2)^2 )

Klaus
 

Re: how to find the distance between two points in an image using matlab?

if distance is to be measured with image , calibrate the image points with a known distance.

and mesaure the pixel distance , and find the actual.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…