Prev: Aligning Point Clouds
Next: AM
From: Dan on 29 Jun 2010 11:06 "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 29 Jun 2010 11:20 "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 29 Jun 2010 11:27 "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 29 Jun 2010 11:35 "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 29 Jun 2010 12:08
"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. |