diff --git a/README.md b/README.md index 8efebd3..1b00aaa 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,29 @@ Omnidirectional camera calibration implementation c++ - mkdir build - cd build - cmake .. +- make -j8 + +### Usage +- cd build +- ./ocam-fisheye-calib -w=6 -h=8 -s=24 -o=camera.xml -op -oe -su imagelist.xml +- Parameters: + - -w= : the number of inner corners per one of board dim + - -h= : the number of inner corners per another board dimension + - [-pt=] : the type of pattern: chessboard or circles' grid + - [-n=] : the number of frames to use for calibration (if not specified, it will be set to the number of board views actually available) + - [-d=] : a minimum delay in ms between subsequent attempts to capture a next view (used only for video capturing) + - [-s=] : square size in some user-defined units (1 by default) + - [-o=] : the output filename for intrinsic [and extrinsic] parameters + - [-op] : write detected feature points + - [-oe] : write extrinsic parameters + - [-zt] : assume zero tangential distortion + - [-a=] : fix aspect ratio (fx/fy) + - [-p] : fix the principal point at the center + - [-v] : flip the captured images around the horizontal axis + - [-V] : use a video file, and not an image list, uses [input_data] string for the video file name + - [-su] : show undistorted images after calibration + - [input_data] : input data, one of the following: + - text file with a list of the images of the board the text file can be generated with imagelist_creator + - name of video file with a video of the board if input_data not specified, a live view from the camera is used + +