Path: Imaging/Calibration
% Create a calibration cube for lens calibration. The cube is an n by n array of squares on the +x, +y and +z faces of the cube. The squares are w by w. The squares are placed so that the squares are evenly distributed on each face. For calibration the camera should be place along the [1;1;1] unit vector. You might have adjust the point-of-view in the demo to not get triangles instead of squares. -------------------------------------------------------------------------- Form: p = CalibrationCube( w, r, n ) -------------------------------------------------------------------------- ------ Inputs ------ w (1,1) Width of square r (1,1) Width of the cube n (1,1) Square array is n by n ------- Outputs ------- p (3,:) Points --------------------------------------------------------------------------
Common: Graphics/Box Common: Graphics/NewFig Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS
Back to the Imaging Module page