boofcv.examples.calibration
Class ExampleCalibrateStereo
- java.lang.Object
-
- boofcv.examples.calibration.ExampleCalibrateStereo
-
public class ExampleCalibrateStereo extends java.lang.ObjectExample of how to calibrate a stereo camera system using a planar calibration grid given a set of images. Intrinsic camera parameters are estimated for both cameras individually, then extrinsic parameters for the two cameras relative to each other are found This example does not rectify the images, which is required for some algorithms. SeeExampleRectifyCalibratedStereo. Both square grid and chessboard targets are demonstrated in this example. See calibration tutorial for a discussion of different target types and how to collect good calibration images. All the image processing and calibration is taken care of inside ofCalibrateStereoPlanar. The code below loads calibration images as inputs, calibrates, and saves results to an XML file. See in code comments for tuning and implementation issues.
-
-
Constructor Summary
Constructors Constructor and Description ExampleCalibrateStereo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static voidmain(java.lang.String[] args)voidprocess()Process calibration images, compute intrinsic parameters, save to a filevoidsetupBumblebeeChess()Chessboard target taken by a PtGrey Bumblebee camera.voidsetupBumblebeeSquare()Square grid target taken by a PtGrey Bumblebee camera.
-
-
-
Method Detail
-
setupBumblebeeSquare
public void setupBumblebeeSquare()
Square grid target taken by a PtGrey Bumblebee camera.
-
setupBumblebeeChess
public void setupBumblebeeChess()
Chessboard target taken by a PtGrey Bumblebee camera.
-
process
public void process()
Process calibration images, compute intrinsic parameters, save to a file
-
main
public static void main(java.lang.String[] args)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG