Path: blob/master/modules/java/generator/src/cpp/converters.h
16354 views
// This file is part of OpenCV project.1// It is subject to the license terms in the LICENSE file found in the top-level directory2// of this distribution and at http://opencv.org/license.html34#include "opencv2/opencv_modules.hpp"5#include "opencv2/core.hpp"67void Mat_to_vector_int(cv::Mat& mat, std::vector<int>& v_int);8void vector_int_to_Mat(std::vector<int>& v_int, cv::Mat& mat);910void Mat_to_vector_double(cv::Mat& mat, std::vector<double>& v_double);11void vector_double_to_Mat(std::vector<double>& v_double, cv::Mat& mat);1213void Mat_to_vector_float(cv::Mat& mat, std::vector<float>& v_float);14void vector_float_to_Mat(std::vector<float>& v_float, cv::Mat& mat);1516void Mat_to_vector_uchar(cv::Mat& mat, std::vector<uchar>& v_uchar);17void vector_uchar_to_Mat(std::vector<uchar>& v_uchar, cv::Mat& mat);1819void Mat_to_vector_char(cv::Mat& mat, std::vector<char>& v_char);20void vector_char_to_Mat(std::vector<char>& v_char, cv::Mat& mat);2122void Mat_to_vector_Rect(cv::Mat& mat, std::vector<cv::Rect>& v_rect);23void vector_Rect_to_Mat(std::vector<cv::Rect>& v_rect, cv::Mat& mat);2425void Mat_to_vector_Rect2d(cv::Mat& mat, std::vector<cv::Rect2d>& v_rect);26void vector_Rect2d_to_Mat(std::vector<cv::Rect2d>& v_rect, cv::Mat& mat);272829void Mat_to_vector_Point(cv::Mat& mat, std::vector<cv::Point>& v_point);30void Mat_to_vector_Point2f(cv::Mat& mat, std::vector<cv::Point2f>& v_point);31void Mat_to_vector_Point2d(cv::Mat& mat, std::vector<cv::Point2d>& v_point);32void Mat_to_vector_Point3i(cv::Mat& mat, std::vector<cv::Point3i>& v_point);33void Mat_to_vector_Point3f(cv::Mat& mat, std::vector<cv::Point3f>& v_point);34void Mat_to_vector_Point3d(cv::Mat& mat, std::vector<cv::Point3d>& v_point);3536void vector_Point_to_Mat(std::vector<cv::Point>& v_point, cv::Mat& mat);37void vector_Point2f_to_Mat(std::vector<cv::Point2f>& v_point, cv::Mat& mat);38void vector_Point2d_to_Mat(std::vector<cv::Point2d>& v_point, cv::Mat& mat);39void vector_Point3i_to_Mat(std::vector<cv::Point3i>& v_point, cv::Mat& mat);40void vector_Point3f_to_Mat(std::vector<cv::Point3f>& v_point, cv::Mat& mat);41void vector_Point3d_to_Mat(std::vector<cv::Point3d>& v_point, cv::Mat& mat);4243void vector_Vec4i_to_Mat(std::vector<cv::Vec4i>& v_vec, cv::Mat& mat);44void vector_Vec4f_to_Mat(std::vector<cv::Vec4f>& v_vec, cv::Mat& mat);45void vector_Vec6f_to_Mat(std::vector<cv::Vec6f>& v_vec, cv::Mat& mat);4647void Mat_to_vector_Mat(cv::Mat& mat, std::vector<cv::Mat>& v_mat);48void vector_Mat_to_Mat(std::vector<cv::Mat>& v_mat, cv::Mat& mat);4950void Mat_to_vector_vector_char(cv::Mat& mat, std::vector< std::vector< char > >& vv_ch);51void vector_vector_char_to_Mat(std::vector< std::vector< char > >& vv_ch, cv::Mat& mat);5253void Mat_to_vector_vector_Point(cv::Mat& mat, std::vector< std::vector< cv::Point > >& vv_pt);54void vector_vector_Point_to_Mat(std::vector< std::vector< cv::Point > >& vv_pt, cv::Mat& mat);5556void Mat_to_vector_vector_Point2f(cv::Mat& mat, std::vector< std::vector< cv::Point2f > >& vv_pt);57void vector_vector_Point2f_to_Mat(std::vector< std::vector< cv::Point2f > >& vv_pt, cv::Mat& mat);5859void Mat_to_vector_vector_Point3f(cv::Mat& mat, std::vector< std::vector< cv::Point3f > >& vv_pt);60void vector_vector_Point3f_to_Mat(std::vector< std::vector< cv::Point3f > >& vv_pt, cv::Mat& mat);616263