From: Dan on
I have about 500 sparse arrays each showing the location of between 1 and 10 planes. I have taken all of these arrays and put them into 1 sparse array which shows (when output as an image) the plane's flight paths represented by dots across the image. I now need to isolate each planes flight path from one another an have had no luck doing this. Does anyone have any ideas on how to do this,

Thanks
Dan
From: Bruno Luong on
"Dan " <remove.this.gouldani111(a)gmail.com> wrote in message <i0b5k0$5p2$1(a)fred.mathworks.com>...
> I have about 500 sparse arrays each showing the location of between 1 and 10 planes. I have taken all of these arrays and put them into 1 sparse array which shows (when output as an image) the plane's flight paths represented by dots across the image. I now need to isolate each planes flight path from one another an have had no luck doing this. Does anyone have any ideas on how to do this,

May be you should google for: Hungarian assignment algorithm, Kalman filtering, Markov chain, ...

Bruno
From: ImageAnalyst on
Well why don't you at least try to do that on the original 500 arrays,
rather than when they're all combined together? At least you'd have
only up to 10 paths to try to sort out, not 5000.

From: Dan on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <93b85b61-1b2c-4c0f-8171-0c66fceca002(a)d37g2000yqm.googlegroups.com>...
> Well why don't you at least try to do that on the original 500 arrays,
> rather than when they're all combined together? At least you'd have
> only up to 10 paths to try to sort out, not 5000.
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.
From: Matt J on
"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.
 |  Next  |  Last
Pages: 1 2 3 4 5
Prev: Aligning Point Clouds
Next: AM