Skip to content

Add maxIters parameter to LMeDS method in findFundamentalMat#19854

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
gasparitiago:fundamentalMat-fix
Apr 6, 2021
Merged

Add maxIters parameter to LMeDS method in findFundamentalMat#19854
opencv-pushbot merged 1 commit intoopencv:3.4from
gasparitiago:fundamentalMat-fix

Conversation

@gasparitiago
Copy link
Copy Markdown
Contributor

This commit passes the parameter maxIters that represent
the maximum number of iterations, that can be passed to findFundamentalMat
to the method LMeDS.

This parameter were added to the function findFundamentalMat and
were passed just for the RANSAC method, but should be passed to
both methods to be consistent.

Related work: #16498

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or other license that is incompatible with OpenCV
  • The PR is proposed to proper branch
  • There is reference to original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

This commit passes the parameter maxIters that represent
the maximum number of iterations, that can be passed to findFundamentalMat
to the method LMeDS.

This parameter were added to the function findFundamentalMat and
were passed just for the RANSAC method, but should be passed to
both methods to be consistent.
@gasparitiago
Copy link
Copy Markdown
Contributor Author

@etrulls can you take a look at it and see if it makes sense?

@etrulls
Copy link
Copy Markdown
Contributor

etrulls commented Apr 6, 2021

Looks good to me, thanks for adding it.

Copy link
Copy Markdown
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gasparitiago Thank you for the contribution!

@opencv-pushbot opencv-pushbot merged commit ace37df into opencv:3.4 Apr 6, 2021
This was referenced Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants