Rev | Line | |
---|
[37] | 1 | function nc = percolexp(c) |
---|
| 2 | % given a column of form: [X Y X Y ...]', we generate a set of columns like: |
---|
| 3 | % [X Y Z X Y Z ... ]' which spans the space of all possible 3-D point sets |
---|
| 4 | % consistent with the images. These are meant to be many frames, but one pt. |
---|
| 5 | numrows = size(c,1); |
---|
| 6 | numframes = numrows/2; |
---|
| 7 | xs = c(1:2:numrows,1); |
---|
| 8 | ys = c(2:2:numrows,1); |
---|
| 9 | zs = ones(numframes,1); |
---|
| 10 | nc = ones(1,2*numframes); |
---|
| 11 | for j = 1:2:2*numframes |
---|
| 12 | nc(j,1) = |
---|
| 13 | for i = 1:numframes |
---|
| 14 | |
---|
Note: See
TracBrowser
for help on using the repository browser.