Skip to content

Fix exception using calibrateCameraRO with iFixedPoint > 0#15451

Merged
opencv-pushbot merged 1 commit intoopencv:masterfrom
mattmyne:calibratecameraRO_fix_emptyJo
Sep 4, 2019
Merged

Fix exception using calibrateCameraRO with iFixedPoint > 0#15451
opencv-pushbot merged 1 commit intoopencv:masterfrom
mattmyne:calibratecameraRO_fix_emptyJo

Conversation

@mattmyne
Copy link
Copy Markdown
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
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.

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