Zhr Saghaie
Zhr Saghaie

Reputation: 1071

Maximum number of corners that cornerSubPix() can detect

I have to use a large chessboard to calibrate my camera.
I was using cornerSubPix() but I do not know and can't found the maximum number of corners that OpernCV functions can detect and support.
In fact, I want to know what is the biggest chessboard size to calibrate camera instead of regular 8x8 one.

Any help will be appreciated.

Upvotes: 0

Views: 264

Answers (1)

Hannes Ovrén
Hannes Ovrén

Reputation: 21831

Looking at the source code for cornerSubPix we can see that it iterates up to count which is declared as int. This means you can handle MAX_INT corners, where MAX_INT is the highest number an int can represent.

Practically, you will never have a calibration pattern where this is a limiting factor.

Upvotes: 1

Related Questions