From: Asif Mehmood on
Hi,
I want to compute the velocity of moving objects from their image frames. Let us say I have X number of frame obtained from a video sequence and I have found the centroid of each object in each frame i.e. x, y coordinates of each object's mass center. Now by using these vectors of centroids I want to compute the velocity of different objects.
Your help will be appreciated.
Asef
From: Mihir Naik on
Hi....Asif...

since u have co-ordinate of centroid u can easily compute the distance travelled...

using the frame rate of yr camera u r using to take images u can calculate time for the distance travelled.....

once u got total distance travelled and time required u can easily comupte velocity by distance/time (m/sec).....

I hope this will help..........
Regards:
Mihir

"Asif Mehmood" <asif.kyani(a)gmail.com> wrote in message <hnrcaq$h62$1(a)fred.mathworks.com>...
> Hi,
> I want to compute the velocity of moving objects from their image frames. Let us say I have X number of frame obtained from a video sequence and I have found the centroid of each object in each frame i.e. x, y coordinates of each object's mass center. Now by using these vectors of centroids I want to compute the velocity of different objects.
> Your help will be appreciated.
> Asef