Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8423441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:43:26+00:00 2026-06-10T03:43:26+00:00

I have a planar marker where I have run the SIFT algorithm to extract

  • 0

I have a planar marker where I have run the SIFT algorithm to extract features. Then I run a detector to find this marker in the scene and extract features again. I match the points and extract the homography from the matched pairs with OpenCV using findHomography().

Now I want to project the 2D points detected in the marker with the computed homography to compare the positions with the 3D points measured from the scene and calculate the reprojection error. I am confused with the pixel coordinates, centimeters, calibration matrices, I don’t know which conversions should I do first.

Does anybody know a link on this or can explain the method?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T03:43:27+00:00Added an answer on June 10, 2026 at 3:43 am

    If you call the homography matrix H, the camera matrix K (needed to convert to pixels) would be something like this, depending on your resolution.

    Mat K= Mat::zeros(3,3,CV_32FC1);
    K.at<float>(0,0)=500.0f;        
    K.at<float>(0,2)=320.0f;      // width/2    
    K.at<float>(1,1)=500.0f;    
    K.at<float>(1,2)=240.0f;      // height/2 
    K.at<float>(2,2)=1.0f;
    

    If your marker points are vector points of 2D:

    vector<Point2f> marker_point; //containing coordinates in centimeters
    

    then the projection would be like this, with the result a 3D point in pixel coordinates.

    Mat point(3,1,CV_32FC1);        
    point.at<float>(0) = marker_point.x;
    point.at<float>(1) = marker_point.y;
    point.at<float>(2) = 1.0f;
    point = H* point;
    point = point/point.at<float>(2);       //Normalize
    point = K* point;                   //to pixels
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a geometric undirected planar graph , that is a graph where each
have written this little class, which generates a UUID every time an object of
have a problem. At first look at this HTML <div id=map style=background-image: url(map.png); width:
Have converted devise new session from erb to Haml but doens't work, this is
have anyone can tell me what syntax error on this actionscript (actionscript3.0)? var rotY:
Have a look at the following code to find X^y. /* Find exponent in
have Googled the cr*p out of this one so apologies if the answer is
I am wondering, will an ERD diagram always be planar? I have a basic
I need to find the optimal path connecting two planar points. I'm given a
have a php code like this,going to convert it in to C#. function isValid($n){

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.