You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question. May I ask you some about making the center position of the mark?
// product of these transformations is the homography
H = HarInv * Haffsim;
// locate the projection of the center of the marker
Mat origCenter(3, 1, CV_64FC1);
origCenter.at<double>(0) = 0.5;
origCenter.at<double>(1) = 0.5;
origCenter.at<double>(2) = 1;
origCenter = H * origCenter;
center.x = origCenter.at<double>(0) / origCenter.at<double>(2);
center.y = origCenter.at<double>(1) / origCenter.at<double>(2);
Why do you divide "origCenter.at(2) " from each x, y Coordinator?
In addition, can I get Z Coordinator of the mark center in the camera pose if I take hand-eye calibration?
is it possible?
The text was updated successfully, but these errors were encountered:
I got the marker's center from "origCenter = H * origCenter" of estimateHomography().
the marker's center is (x, y).
After I calculate cv::solvePnP(objectPoints, corners, cameraMatrix1, distCoeff1, rvec, tvec), I get rvec and tvec.
I would like to make X of transpose, Y of transpose and Z of transpose (Tx, Ty, Tz) by using tvec and marker's center.
How can I found transpose tvec of the marker's center?
Hello, I deeply study your S-tag program.
I have a question. May I ask you some about making the center position of the mark?
// product of these transformations is the homography
H = HarInv * Haffsim;
Why do you divide "origCenter.at(2) " from each x, y Coordinator?
In addition, can I get Z Coordinator of the mark center in the camera pose if I take hand-eye calibration?
is it possible?
The text was updated successfully, but these errors were encountered: