source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/BlueCCal/CalTechCal/preparedata.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 262 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | % preparedata |
2 | % | |
3 | % reads BlueC *.rad file and transform data | |
4 | % for the CalTech Camera calibration toolbox | |
5 | ||
6 | function [X,x] = preparedata(filename); | |
7 | ||
8 | datamat = load(filename,'-ASCII'); | |
9 | X = datamat(:,1:3)'; % 3D points | |
10 | x = datamat(:,5:6)'; % 2D projections | |
11 | ||
12 | return; |
Note: See TracBrowser
for help on using the repository browser.