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

  • Home
  • SEARCH
  • 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 8424193
In Process

The Archive Base Latest Questions

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

When using OpenCV’s findHomography function to estimate an homography between two sets of points,

  • 0

When using OpenCV’s findHomography function to estimate an homography between two sets of points, from different images, you will sometimes get a bad homography due to outliers within your input points, even if you use RANSAC or LMEDS.

// opencv java example:
Mat H = Calib3d.findHomography( src_points, dst_points, Calib3d.RANSAC, 10 );

How can you tell if the resulting 3×3 homography matrix is acceptable or not?

I have looked for an answer to this here in Stackoverflow and in Google and was unable to find it.

I found this article, but it is a bit cryptic to me:

“The geometric error for homographies”

  • 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:55:22+00:00Added an answer on June 10, 2026 at 3:55 am

    The best way to tell if the homography is acceptable is.

    1- Take the points of one image and reproject them using the computed homography.

    //for one 3D point, this would be the projection
    px' = H * px;
    py' = H * py;
    pz' = H * pz;
    

    2- Calculate the euclidean distance between the reprojected points and the real points in the image.

    Reprojection error for one point. p is the projected point and q is the real point.

    enter image description here

    3- Establish a treshold that decides if the reprojection error is acceptable.

    For example, an error greater than one pixel wouldn’t be acceptable for many tracking applications.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using OpenCV to fit a line from a set of points using cvFitLine()
I want to compare two images using OpenCV. Could I filter the nearest matching
In my C/C++ program, I'm using OpenCV to capture images from my webcam. The
I am using opencv warpPerspective to generate images with different rotation to evaluate my
I'm using OpenCV 2.3.2 library downloaded from OpenCV trunk. I want to use setOpenGlDrawCallback
I'm using OpenCV, and I am computing the histogram of some images, which is
I am using OpenCV 2.2 compiled and built from source for iOS. I used
I am using opencv to process very large images (some times even more than
im using opencv's HaarDetectObjects(...) to detect an object in an image. The function returns
I am using opencv 2.1. In my code I have a few images stored

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.