From: Dan on
"Matt J " <mattjacREMOVE(a)THISieee.spam> wrote in message <i0d1nq$k2p$1(a)fred.mathworks.com>...
> "Dan " <remove.this.gouldani111(a)gmail.com> wrote in message <i0cvvh$mne$1(a)fred.mathworks.com>...
> > Sorry, should have been more clear, there are only about 10 planes total, and each sparse array marks their positions at that moment in time, so that after I have combined them, I have the flight paths of all ten planes in 1 sparse array. I am looking for a way to seperate these flight paths from one another.
> =================
>
> If the flight paths don't cross, and you have the Image Processing Toolbox, you could use bwconncomp.

Unfortunatly they do cross.
From: Matt J on
"Dan " <remove.this.gouldani111(a)gmail.com> wrote in message <i0d25d$jlb$1(a)fred.mathworks.com>...

> > If the flight paths don't cross, and you have the Image Processing Toolbox, you could use bwconncomp.
>
> Unfortunatly they do cross.
==================

Then to proceed further you need to specify a mathematical description for how the flight paths progress. That's the only hope of distinguishing which path belongs to which plane at the crossing points.
From: us on
"Matt J " <mattjacREMOVE(a)THISieee.spam> wrote in message <i0d2vk$flq$1(a)fred.mathworks.com>...
> "Dan " <remove.this.gouldani111(a)gmail.com> wrote in message <i0d25d$jlb$1(a)fred.mathworks.com>...
>
> > > If the flight paths don't cross, and you have the Image Processing Toolbox, you could use bwconncomp.
> >
> > Unfortunatly they do cross.
> ==================
>
> Then to proceed further you need to specify a mathematical description for how the flight paths progress. That's the only hope of distinguishing which path belongs to which plane at the crossing points.

now: WHAT if there is NO continuation after a crossing point(?)...

us
From: Matt J on
"us " <us(a)neurol.unizh.ch> wrote in message <i0d3c8$cb5$1(a)fred.mathworks.com>...

> >
> > Then to proceed further you need to specify a mathematical description for how the flight paths progress. That's the only hope of distinguishing which path belongs to which plane at the crossing points.
>
> now: WHAT if there is NO continuation after a crossing point(?)...
==========

You mean due to a mid-air collision? That would, of course, add a few if/else branches to the code...
From: Matt J on
"Matt J " <mattjacREMOVE(a)THISieee.spam> wrote in message <i0d2vk$flq$1(a)fred.mathworks.com>...
> "Dan " <remove.this.gouldani111(a)gmail.com> wrote in message <i0d25d$jlb$1(a)fred.mathworks.com>...
>
> > > If the flight paths don't cross, and you have the Image Processing Toolbox, you could use bwconncomp.
> >
> > Unfortunatly they do cross.
> ==================
>
> Then to proceed further you need to specify a mathematical description for how the flight paths progress. That's the only hope of distinguishing which path belongs to which plane at the crossing points.
=================

Come to think of it, you might not need a mathematical model as long as the planes never cross paths at the same (if they do, it would hopefully be at different altitudes, cf. us).

In that case, simply track the positions from frame to frame. I.e., in each of your 500 frames, find the (x,y) positions of the planes using find().

Then, for each (x,y) position, find the closest one in the subsequent frame using bsxfun(). That will allow you to match planes between adjacent frames.
First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5
Prev: Aligning Point Clouds
Next: AM