rotationConverters.hpp 625 B

1234567891011121314151617181920
  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. #ifndef ROTATION_CONVERTERS_HPP
  5. #define ROTATION_CONVERTERS_HPP
  6. #include <opencv2/core.hpp>
  7. namespace calib
  8. {
  9. #define CALIB_RADIANS 0
  10. #define CALIB_DEGREES 1
  11. void Euler(const cv::Mat& src, cv::Mat& dst, int argType = CALIB_RADIANS);
  12. void RodriguesToEuler(const cv::Mat& src, cv::Mat& dst, int argType = CALIB_RADIANS);
  13. void EulerToRodrigues(const cv::Mat& src, cv::Mat& dst, int argType = CALIB_RADIANS);
  14. }
  15. #endif