The `confidence` parameter of `findHomography`

On the documentation of findHomography I can see 4 options:

  • 0 - a regular method using all the points, i.e., the least squares method
  • RANSAC - RANSAC-based robust method
  • LMEDS - Least-Median robust method
  • RHO - PROSAC-based robust method

What I miss an explanation for the confidence parameter:

confidence Confidence level, between 0 and 1.

How does it impact each of the methods above? What’s its usage?