Difference between revisions of "Camera Calibration Targets"

From BoofCV
Jump to navigationJump to search
m
Line 5: Line 5:
cd boofcv
cd boofcv
./gradlew applicationsJar
./gradlew applicationsJar
java -jar demonstrations/applications.jar CreateCalibrationTarget
java -jar applications/applications.jar CreateCalibrationTarget
</syntaxhighlight>
</syntaxhighlight>


Line 11: Line 11:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
java -jar demonstrations/applications.jar CreateCalibrationTarget --GUI
java -jar applications/applications.jar CreateCalibrationTarget --GUI
</syntaxhighlight>
</syntaxhighlight>



Revision as of 16:49, 20 January 2018

Creating Your Own

BoofCV provides an application for generating your own custom calibration target. You can size the pattern for your specific application on any sized paper. First you need to build the applications, see below:

cd boofcv
./gradlew applicationsJar
java -jar applications/applications.jar CreateCalibrationTarget

The last line above will run the application with no arguments. This will print out up to date instructions. At the end of the instructions are examples for each target type on letter sized paper. If you wish to have a GUI when creating your calibration target add the --GUI flag. The GUI doesn't have all the options which the commandline has.

java -jar applications/applications.jar CreateCalibrationTarget --GUI

Downloadable Targets

Printable Calibration Targets: US Standard Paper
Link Target Type Paper Size Shape Square/Circle Size
Calibration letter chessboard 7x5.png Chessboard Letter 7 by 5 3cm
Calibration letter squaregrid 5x4.png Square Grid Letter 5 by 4 w=3cm s=2cm
link=http://boofcv.org/notwiki/calibration/letter_circlehex.pdf Link Circle Hexagonal Grid Letter 20 by 24 diam=1cm, d=1.5cm
link=http://boofcv.org/notwiki/calibration/letter_circlegrid.pdf Link Circle Regular Grid Letter 17 by 12 diam=1cm, d=1.5cm
Printable Calibration Targets: Metric
Link Target Type Paper Size Shape Square/Circle Size
Calibration A4 chessboard 9x6.png Chessboard A4 9 by 6 3cm
Calibration A4 squaregrid.png Square Grid A4 6 by 4 w=3cm s=1.5cm
link=http://boofcv.org/notwiki/calibration/A4_circlehex.pdf Link Circle Hexagonal Grid A4 20 by 24 diam=1cm, d=1.5cm
link=http://boofcv.org/notwiki/calibration/A4_circlegrid.pdf Link Circle Regular Grid A4 18 by 12 diam=1cm, d=1.5cm
  • Shape for chessboard includes black and white squares
  • Shape for square grid is only the black squares


WHEN PRINTING THE CALIBRATION GRID MAKE SURE YOUR PRINTER DOES NOT RESCALE THE DOCUMENTS!
Failure to do so will cause intrinsic parameters to be off by a scale-factor. Measure with a ruler to make sure each square is 30mm wide