measure the distance between two objects in a pic using MATLAB

Status
Not open for further replies.

gharibnaseri

Newbie level 1
Joined
Feb 28, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,286
Hi,
Can anybody help me. I want to measure the distance between two objects in a pic using matlab commands , but not measuring by hand, i want matlab to calculate that!!
tnQ
 

Hi,
There are many ways to find distance between two objects in pic.formulae is
Dist= pt1-pt2;

Distance=Sqrt(Dist*Dist');
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…