Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
trajectory of a vehicle in image sequence

Subject: trajectory of a vehicle in image sequence

From: Sneha

Date: 24 Nov, 2010 01:36:07

Message: 1 of 5

Hi,
      I am doing a project on "accident prediction" based on pbobabilistic approach..so as a part of the algorithm for the matlab code, i need to segment a particular vehicle
& then define the coordinates of that vehicle.

I want to know the function to find the coordinates of the vehicle or else to be specific, to first mark a point on the image and define the coordinates of that..

Plz help me!!

Thank you,

Subject: trajectory of a vehicle in image sequence

From: Sean de

Date: 24 Nov, 2010 16:38:04

Message: 2 of 5

"Sneha " <sneha417.sp@gmail.com> wrote in message <ichq66$s96$1@fred.mathworks.com>...
> Hi,
> I am doing a project on "accident prediction" based on pbobabilistic approach..so as a part of the algorithm for the matlab code, i need to segment a particular vehicle
> & then define the coordinates of that vehicle.
>
> I want to know the function to find the coordinates of the vehicle or else to be specific, to first mark a point on the image and define the coordinates of that..
>
> Plz help me!!
>
> Thank you,

help find

How do you expect us to be specific when we can't see your images?

Subject: trajectory of a vehicle in image sequence

From: Sneha_SP

Date: 26 Dec, 2010 19:03:04

Message: 3 of 5

"Sean de " <sean.dewolski@nospamplease.umit.maine.edu> wrote in message <icjf1c$5nm$1@fred.mathworks.com>...
> "Sneha " <sneha417.sp@gmail.com> wrote in message <ichq66$s96$1@fred.mathworks.com>...
> > Hi,
> > I am doing a project on "accident prediction" based on pbobabilistic approach..so as a part of the algorithm for the matlab code, i need to segment a particular vehicle
> > & then define the coordinates of that vehicle.
> >
> > I want to know the function to find the coordinates of the vehicle or else to be specific, to first mark a point on the image and define the coordinates of that..
> >
> > Plz help me!!
> >
> > Thank you,
>
> help find
>
> How do you expect us to be specific when we can't see your images?


For that matter any general JPEG image can be considered...
I want to know exactly how is the trajectory of an object tracked in the sequence of images..

Subject: trajectory of a vehicle in image sequence

From: ImageAnalyst

Date: 26 Dec, 2010 19:14:00

Message: 4 of 5

On Dec 26, 2:03 pm, "Sneha_SP " <sneha417...@gmail.com> wrote:
> For that matter any general JPEG image can be considered...
> I want to know exactly how is the trajectory of an object tracked in the sequence of images..
----------------------------------------------------------------

Then this will work

trackedCentroids = zeros(totalNumberOfFrames, 2);
for frameNumber = 1 : totalNumberOfFrames
  thisFrame = mov(frameNumber).cdata;
  centroid = FindObjectInFrame(thisFrame);
  trackedCentroids(frameNumber, :) = centroid;
end

So all you have to do it to write the function FindObjectInFrame(),
which of course we can't (won't) do for you since, despite what you
asserted, *does* depend on the content that you want to find in the
frames. If you had a basketball player in the movie, how would any
software know if you wanted to track the person, the ball, the
person's feet, the person's hands, etc.? There's no way unless you
tell it!
ImageAnalyst

Subject: trajectory of a vehicle in image sequence

From: Sneha_SP

Date: 24 Jan, 2011 17:02:04

Message: 5 of 5

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <aca67c18-9b69-4834-a4d7-8c0691c082f6@d8g2000yqf.googlegroups.com>...
> On Dec 26, 2:03 pm, "Sneha_SP " <sneha417...@gmail.com> wrote:
> > For that matter any general JPEG image can be considered...
> > I want to know exactly how is the trajectory of an object tracked in the sequence of images..
> ----------------------------------------------------------------
>
> Then this will work
>
> trackedCentroids = zeros(totalNumberOfFrames, 2);
> for frameNumber = 1 : totalNumberOfFrames
> thisFrame = mov(frameNumber).cdata;
> centroid = FindObjectInFrame(thisFrame);
> trackedCentroids(frameNumber, :) = centroid;
> end
>
> So all you have to do it to write the function FindObjectInFrame(),
> which of course we can't (won't) do for you since, despite what you
> asserted, *does* depend on the content that you want to find in the
> frames. If you had a basketball player in the movie, how would any
> software know if you wanted to track the person, the ball, the
> person's feet, the person's hands, etc.? There's no way unless you
> tell it!
> ImageAnalyst





Hey, thanks a lot that indeed was of a great help!!....Thank you..

regards,
Sneha_SP

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us