Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

huge calibration pattern generator

Hi all!

We need a calibration pattern with outer dimensions of around 600 mm x 600 mm.

I tried to use the python script which can be found in the docs folder of the OpenCV distribution but it does not generate an svg of this size. It stops without an error message and does not write an svg file.

So I want to create the pattern on my own and want to understand the "rules":

  • is it better to use a different count of rows and columns?
  • how many circles do I need for a good calibration pattern?
  • which radius should I use in relation to the outer dimensions?
  • which spacing is needed between the circles?
  • which spacing is needed between the outer circles and the border of the whole pattern?

Because I can not print a pattern of this size and have to pay for the printing, I need to know the rules and can not try many different things.

Thanks!

huge calibration pattern generator

Hi all!

We need a calibration pattern with outer dimensions of around 600 mm x 600 mm.

I tried to use the python script which can be found in the docs doc folder of the OpenCV distribution but it does not generate an svg of this size. It stops without an error message and does not write an svg file.

So I want to create the pattern on my own and want to understand the "rules":"rules" (and I want to understand them not only because the python script is not working for my size):

  • is it better to use a different count of rows and columns?
  • how many circles do I need for a good calibration pattern?
  • which radius should I use in relation to the outer dimensions?
  • which spacing is needed between the circles?
  • which spacing is needed between the outer circles and the border of the whole pattern?

Because I can not print a pattern of this size and have to pay for the printing, I need to know the rules and can not try many different things.

Here is a sample pattern generated by the python script (I guess you could resize it to the required final size), I only added a bounding rect manually. The command line:

./gen_pattern.py -c 6 -r 7 -o out.svg -T circles -u mm -s 50

So I use a square size of 50 and the script automatically sets the radius of the circles to 1/5 of this size => 10. This is hard-coded and there is a comment in the script: "#radius is a 5th of the spacing TODO parameterize"

Obviously this is adjustable. So, this is one of my questions: which is the perfect balance between spacing and radius?

circle pattern generated by python script

Thanks!

huge rules for generating calibration pattern generatorpattern

Hi all!

We need a calibration pattern with outer dimensions of around 600 mm x 600 mm.

I tried to use the python script which can be found in the doc folder of the OpenCV distribution but it does not generate an svg of this size. It stops without an error message and does not write an svg file.

So I want to create the pattern on my own and want to understand the "rules" (and I want to understand them not only because the python script is not working for my size):

  • is it better to use a different count of rows and columns?
  • how many circles do I need for a good calibration pattern?
  • which radius should I use in relation to the outer dimensions?
  • which spacing is needed between the circles?
  • which spacing is needed between the outer circles and the border of the whole pattern?

Because I can not print a pattern of this size and have to pay for the printing, I need to know the rules and can not try many different things.

Here is a sample pattern generated by the python script (I guess you could resize it to the required final size), I only added a bounding rect manually. The command line:

./gen_pattern.py -c 6 -r 7 -o out.svg -T circles -u mm -s 50

So I use a square size of 50 and the script automatically sets the radius of the circles to 1/5 of this size => 10. This is hard-coded and there is a comment in the script: "#radius is a 5th of the spacing TODO parameterize"

Obviously this is adjustable. So, this is one of my questions: which is the perfect balance between spacing and radius?

circle pattern generated by python script

Thanks!