1. A method comprising: performing camera calibration followed by inverse distortion fitting to correct both radial and tangential lens distortion; thereafter calibrating for a projector that projects onto a camera image plane; thereafter performing fine calibration to reduce geometric reconstruction error; using system parameters and view transformation as optimization variables; and fixing all parameters except a planar calibration object's m points, x m 's, and minimizing the reconstruction error.