Calibration using offline depth image