You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question about the accuracy of the center position detection in CCTag.
For a specific use, I have coded my own (complicated but functional) center position detection algorithms for concentric circles.
It uses OpenCV's feature detection mostly...
The accuracy I reach on synthetic images (known center positions) is very good, like <0.05 pixels.
Using CCTag, which I would prefer, the accuracy is less (and the results vary for each run).
Can I improve the accuracy of the CCTag library somehow? Are there some settings I need to change?
Thanks and greetings,
Auke Nauta
The text was updated successfully, but these errors were encountered:
Hi Anauta00,
the subpixel accuracy and precision of detection is a bit disapointing in version 1.0.3 especially on generated ideal images. You can easilly find out that the returned positions have negative offset in x and y direction:
These are the deviations between cctag detected and expected positions for all reliable 4-crown markers. Mean offset vector is [-0.3983, -0.340] pixels.
The marker images contains one marker with radius 100 pixels, like this:
When you change the parameter _numSamplesOuterEdgePointsRefinement to 100 (cctag::Parameters), the precision will be much better, but now with the offest vector [-0.5151, -0.513]:
This nicely proofs that all the positions are returned with half-pixel error, what I reported some time ago https://github.com/alicevision/CCTag/issues/122. Hopefully it will be fixed in next release. For now you only have to add 0.5 to x and y coordinate to get accurate and precise results with mean offset vector of [-0.0152, -0.011] pixels:
Hi,
I have a question about the accuracy of the center position detection in CCTag.
For a specific use, I have coded my own (complicated but functional) center position detection algorithms for concentric circles.
It uses OpenCV's feature detection mostly...
The accuracy I reach on synthetic images (known center positions) is very good, like <0.05 pixels.
Using CCTag, which I would prefer, the accuracy is less (and the results vary for each run).
Can I improve the accuracy of the CCTag library somehow? Are there some settings I need to change?
Thanks and greetings,
Auke Nauta
The text was updated successfully, but these errors were encountered: