Ask Your Question
0

Performance of findCirclesGrid on larger grids

asked 2017-12-15 04:15:32 -0500

BlueMine gravatar image

updated 2017-12-18 03:15:53 -0500

I have found that findCirclesGrid takes a long time (on the order of minutes) on reasonably large grids such as 23x18, contained in 4 MP images. I'm using default parameters, and the images are simple, i.e. contain only circles and nothing else. The function findChessBoardCorners suffers no such degradation. Versions tested are 2.3 and 3.2.

Can the execution time be improved with different parameters?

Furthermore, I have noticed that the flag CALIB_CB_ASYMMETRIC_GRID does not work on 23x18, and CALIB_CB_SYMMETRIC_GRID must be passed to ensure detection. Is this expected?

EDIT: Sample image at https://imgur.com/a/STKAs

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-12-18 11:28:15 -0500

BlueMine gravatar image

I traced the performance issue down to the floydWarshall() function call deep inside findHoles(). However, once I switched from opencv's debug build to the release build, execution time went down to a few seconds. Case closed...

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-12-15 04:15:32 -0500

Seen: 204 times

Last updated: Dec 18 '17