44 /** Look for the corners of a chessboard in the image using one of two different methods.
45 *
46 * The search algorithm will be OpenCV's function cvFindChessboardCorners or its improved
47 * version published by M. Rufli, D. Scaramuzza, and R. Siegwart. See: http://robotics.ethz.ch/~scaramuzza/Davide_Scaramuzza_files/Research/OcamCalib_Tutorial.htm
48 * and the papers:
49 * - 1. Scaramuzza, D., Martinelli, A. and Siegwart, R. (2006), A Toolbox for Easily Calibrating Omnidirectional Cameras, Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS 2006), Beijing, China, October 2006.
50 * - 2. Scaramuzza, D., Martinelli, A. and Siegwart, R., (2006). "A Flexible Technique for Accurate Omnidirectional Camera Calibration and Structure from Motion", Proceedings of IEEE International Conference of Vision Systems (ICVS'06), New York, January 5-7, 2006.
51 * - 3. Rufli, M., Scaramuzza, D., and Siegwart, R. (2008), Automatic Detection of Checkerboards on Blurred and Distorted Images, Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS 2008), Nice, France, September 2008.
52 *
53 * After detecting the corners with either method, it's called "cvFindCornerSubPix" to achieve subpixel accuracy.
54 *
55 * \param cornerCoords [OUT] The pixel coordinates of all the corners.
56 * \param check_size_x [IN] The number of squares, in the X direction
57 * \param check_size_y [IN] The number of squares, in the Y direction
58 * \param normalize_image [IN] Whether to normalize the image before detection
59 * \param useScaramuzzaMethod [IN] Whether to use the alternative, more robust method by M. Rufli, D. Scaramuzza, and R. Siegwart.
73 /** Look for the corners of one or more chessboard/checkerboards in the image.
74 * This method uses an improved version of OpenCV's cvFindChessboardCorners published
75 * by M. Rufli, D. Scaramuzza, and R. Siegwart. See: http://robotics.ethz.ch/~scaramuzza/Davide_Scaramuzza_files/Research/OcamCalib_Tutorial.htm
76 * and the papers:
77 * - 1. Scaramuzza, D., Martinelli, A. and Siegwart, R. (2006), A Toolbox for Easily Calibrating Omnidirectional Cameras, Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS 2006), Beijing, China, October 2006.
78 * - 2. Scaramuzza, D., Martinelli, A. and Siegwart, R., (2006). "A Flexible Technique for Accurate Omnidirectional Camera Calibration and Structure from Motion", Proceedings of IEEE International Conference of Vision Systems (ICVS'06), New York, January 5-7, 2006.
79 * - 3. Rufli, M., Scaramuzza, D., and Siegwart, R. (2008), Automatic Detection of Checkerboards on Blurred and Distorted Images, Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS 2008), Nice, France, September 2008.
80 *
81 * That method has been extended in this MRPT implementation to automatically detect a
82 * number of different checkerboards in the same image.
83 *
84 * \param cornerCoords [OUT] A vector of N vectors of pixel coordinates, for each of the N chessboards detected.
85 * \param check_size_x [IN] The number of squares, in the X direction
86 * \param check_size_y [IN] The number of squares, in the Y direction