Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix exception using calibrateCameraRO with iFixedPoint > 0 #15451

Merged

Conversation

mattmyne
Copy link
Contributor

@mattmyne mattmyne commented Sep 4, 2019

resolves #14469

relates #13910

This pullrequest changes

Always allocate _Jo matrix in cvCalibrateCamera2Internal() when releaseObject flag is true. This prevents an attempt to multiply an empty _Jo (causing an exception) when the calcJ flag is true during solver iterations.

Copy link
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.

Thank you!

@opencv-pushbot opencv-pushbot merged commit b17d166 into opencv:master Sep 4, 2019
@mattmyne mattmyne deleted the calibratecameraRO_fix_emptyJo branch September 4, 2019 17:42
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.

calibrateCameraRO fails with iFixedPoint>0 (new method for imperfect target)
3 participants