Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Tetragramm
GitHub Repository: Tetragramm/opencv
Path: blob/master/modules/java/generator/src/cpp/converters.h
16354 views
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
#include "opencv2/opencv_modules.hpp"
6
#include "opencv2/core.hpp"
7
8
void Mat_to_vector_int(cv::Mat& mat, std::vector<int>& v_int);
9
void vector_int_to_Mat(std::vector<int>& v_int, cv::Mat& mat);
10
11
void Mat_to_vector_double(cv::Mat& mat, std::vector<double>& v_double);
12
void vector_double_to_Mat(std::vector<double>& v_double, cv::Mat& mat);
13
14
void Mat_to_vector_float(cv::Mat& mat, std::vector<float>& v_float);
15
void vector_float_to_Mat(std::vector<float>& v_float, cv::Mat& mat);
16
17
void Mat_to_vector_uchar(cv::Mat& mat, std::vector<uchar>& v_uchar);
18
void vector_uchar_to_Mat(std::vector<uchar>& v_uchar, cv::Mat& mat);
19
20
void Mat_to_vector_char(cv::Mat& mat, std::vector<char>& v_char);
21
void vector_char_to_Mat(std::vector<char>& v_char, cv::Mat& mat);
22
23
void Mat_to_vector_Rect(cv::Mat& mat, std::vector<cv::Rect>& v_rect);
24
void vector_Rect_to_Mat(std::vector<cv::Rect>& v_rect, cv::Mat& mat);
25
26
void Mat_to_vector_Rect2d(cv::Mat& mat, std::vector<cv::Rect2d>& v_rect);
27
void vector_Rect2d_to_Mat(std::vector<cv::Rect2d>& v_rect, cv::Mat& mat);
28
29
30
void Mat_to_vector_Point(cv::Mat& mat, std::vector<cv::Point>& v_point);
31
void Mat_to_vector_Point2f(cv::Mat& mat, std::vector<cv::Point2f>& v_point);
32
void Mat_to_vector_Point2d(cv::Mat& mat, std::vector<cv::Point2d>& v_point);
33
void Mat_to_vector_Point3i(cv::Mat& mat, std::vector<cv::Point3i>& v_point);
34
void Mat_to_vector_Point3f(cv::Mat& mat, std::vector<cv::Point3f>& v_point);
35
void Mat_to_vector_Point3d(cv::Mat& mat, std::vector<cv::Point3d>& v_point);
36
37
void vector_Point_to_Mat(std::vector<cv::Point>& v_point, cv::Mat& mat);
38
void vector_Point2f_to_Mat(std::vector<cv::Point2f>& v_point, cv::Mat& mat);
39
void vector_Point2d_to_Mat(std::vector<cv::Point2d>& v_point, cv::Mat& mat);
40
void vector_Point3i_to_Mat(std::vector<cv::Point3i>& v_point, cv::Mat& mat);
41
void vector_Point3f_to_Mat(std::vector<cv::Point3f>& v_point, cv::Mat& mat);
42
void vector_Point3d_to_Mat(std::vector<cv::Point3d>& v_point, cv::Mat& mat);
43
44
void vector_Vec4i_to_Mat(std::vector<cv::Vec4i>& v_vec, cv::Mat& mat);
45
void vector_Vec4f_to_Mat(std::vector<cv::Vec4f>& v_vec, cv::Mat& mat);
46
void vector_Vec6f_to_Mat(std::vector<cv::Vec6f>& v_vec, cv::Mat& mat);
47
48
void Mat_to_vector_Mat(cv::Mat& mat, std::vector<cv::Mat>& v_mat);
49
void vector_Mat_to_Mat(std::vector<cv::Mat>& v_mat, cv::Mat& mat);
50
51
void Mat_to_vector_vector_char(cv::Mat& mat, std::vector< std::vector< char > >& vv_ch);
52
void vector_vector_char_to_Mat(std::vector< std::vector< char > >& vv_ch, cv::Mat& mat);
53
54
void Mat_to_vector_vector_Point(cv::Mat& mat, std::vector< std::vector< cv::Point > >& vv_pt);
55
void vector_vector_Point_to_Mat(std::vector< std::vector< cv::Point > >& vv_pt, cv::Mat& mat);
56
57
void Mat_to_vector_vector_Point2f(cv::Mat& mat, std::vector< std::vector< cv::Point2f > >& vv_pt);
58
void vector_vector_Point2f_to_Mat(std::vector< std::vector< cv::Point2f > >& vv_pt, cv::Mat& mat);
59
60
void Mat_to_vector_vector_Point3f(cv::Mat& mat, std::vector< std::vector< cv::Point3f > >& vv_pt);
61
void vector_vector_Point3f_to_Mat(std::vector< std::vector< cv::Point3f > >& vv_pt, cv::Mat& mat);
62
63