1// This file is part of OpenCV project.
2// It is subject to the license terms in the LICENSE file found in the top-level directory
3// of this distribution and at http://opencv.org/license.html.
4
5#ifndef ROTATION_CONVERTERS_HPP
6#define ROTATION_CONVERTERS_HPP
7
8#include <opencv2/core.hpp>
9
10namespace calib
11{
12#define CALIB_RADIANS 0
13#define CALIB_DEGREES 1
14
15 void Euler(const cv::Mat& src, cv::Mat& dst, int argType = CALIB_RADIANS);
16 void RodriguesToEuler(const cv::Mat& src, cv::Mat& dst, int argType = CALIB_RADIANS);
17 void EulerToRodrigues(const cv::Mat& src, cv::Mat& dst, int argType = CALIB_RADIANS);
18
19}
20#endif
21

source code of opencv/apps/interactive-calibration/rotationConverters.hpp