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 (none), 14 years ago

Added original make3d

File size: 262 bytes
Line 
1% preparedata
2%
3% reads BlueC *.rad file and transform data
4% for the CalTech Camera calibration toolbox
5
6function [X,x] = preparedata(filename);
7
8datamat = load(filename,'-ASCII');
9X = datamat(:,1:3)'; % 3D points
10x = datamat(:,5:6)'; % 2D projections
11
12return;
Note: See TracBrowser for help on using the repository browser.