Closed johntraynor closed 5 years ago
Hi John, have a look at: "Wilm, Jakob, Oline V. Olesen, and Rasmus Larsen. "Accurate and simple calibration of DLP projector systems." Emerging Digital Micromirror Device Based Systems and Applications VI. Vol. 8979. 2014." Regards, Jakob
Many thanks -
Hi,
Thanks for sharing this code.
I am a little confused on how the projector is calibrated so I was hoping someone could explain the theory. Does the projector not need to project it's own pattern in order to calibrate it?
In particular I am confused about how the projector corner coordinates are calculated using the code snippet below. I understand the camera calibration part.
for(unsigned int j=0; j<qci.size(); j++){
// std::cout << i << " findHomography" << std::endl; // translate qcij into qpij using local homography cv::Mat H = cv::findHomography(N_qcij, N_qpij, cv::LMEDS); if(!H.empty()){ cv::Point3d Q = cv::Point3d(cv::Mat(H*cv::Mat(cv::Point3d(qcij.x, qcij.y, 1.0)))); cv::Point2f qpij = cv::Point2f(Q.x/Q.z, Q.y/Q.z);
Also is there a reason why one white image of the calibrations grid is not taken as opposed to 12 using the phase patterns. Is this way more accurate?
Thanks