Skip to content

(4.x) Merge 3.4#23030

Merged
alalek merged 7 commits intoopencv:4.xfrom
alalek:merge-3.4
Dec 24, 2022
Merged

(4.x) Merge 3.4#23030
alalek merged 7 commits intoopencv:4.xfrom
alalek:merge-3.4

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Dec 24, 2022

#22914 from tozanski:tomoz/ransac-bugfix
#22962 from stopmosk:20465-dstchannels-does-not-cover-all-color-codes-1
#22988 from vrabaud:mm_pause_fix

Previous "Merge 3.4": #22982

tozanski and others added 7 commits December 3, 2022 16:46
The current implementation overwrites the result rotation and translation in every iteration.
If SOLVEPNP_ITERATIVE was run as a refinement it will start from the incorrect initial
transformation thus  degrading the final outcome.
No need to loop as RDTSC is 3/4 times faster than _mm_pause.
Bugfix for solvePnPRansac with SOLVEPNP_ITERATIVE
@alalek
Copy link
Copy Markdown
Member Author

alalek commented Dec 24, 2022

👍

@alalek alalek merged commit bc8c912 into opencv:4.x Dec 24, 2022
@alalek alalek mentioned this pull request Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants