![]() |
University of Murcia, Spain ![]() |
examples/OpenCV/cameraCalibrator/cameraCalibrator.cpp File ReferenceObtains intrinsic camera matrix and distortion coefficients for a camera. More...
Go to the source code of this file. Detailed DescriptionObtains intrinsic camera matrix and distortion coefficients for a camera.This example is based on the example 11-1 from the book:
Learning OpenCV: Computer Vision with the OpenCV Library by Gary Bradski and Adrian Kaehler Published by O'Reilly Media, October 3, 2008 It uses the chessboard template image OpenCV_Chessboard.png attacked to the source code to obtain the camera calibration parameters. Usage of the program.Once compiled, the program should be used with this command line:./cameraCalibrator --URL=<video source> 10 images containing the chessboard must be captured using the Grab chessboard button of the graphical user interface. Then the application will calibrate the intrinsic camera parameters when the button Calibrate is pressed.
Definition in file cameraCalibrator.cpp. |