source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/missing-data/percolexp.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 459 bytes
Line 
1function 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.
5numrows = size(c,1);
6numframes = numrows/2;
7xs = c(1:2:numrows,1);
8ys = c(2:2:numrows,1);
9zs = ones(numframes,1);
10nc = ones(1,2*numframes);
11for j = 1:2:2*numframes
12  nc(j,1) =
13for i = 1:numframes
14 
Note: See TracBrowser for help on using the repository browser.