1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
fonction_traitement_image.cpp:62:24: note: mismatched types const cv::Point3_<_Tp> and IplImage* {aka _IplImage*}
Mat mat_image( image );
^
In file included from /usr/local/include/opencv2/core.hpp:59:0,
from /usr/local/include/opencv2/highgui.hpp:46,
from /usr/local/include/opencv2/highgui/highgui.hpp:48,
from fonction_traitement_image.h:7,
from fonction_traitement_image.cpp:38:
/usr/local/include/opencv2/core/mat.hpp:914:37: note: template<class _Tp> cv::Mat::Mat(const cv::Point_<_Tp>&, bool)
template<typename _Tp> explicit Mat(const Point_<_Tp>& pt, bool copyData=true);
^
/usr/local/include/opencv2/core/mat.hpp:914:37: note: template argument deduction/substitution failed:
fonction_traitement_image.cpp:62:24: note: mismatched types const cv::Point_<_Tp> and IplImage* {aka _IplImage*}
Mat mat_image( image );
^
In file included from /usr/local/include/opencv2/core.hpp:59:0,
from /usr/local/include/opencv2/highgui.hpp:46,
from /usr/local/include/opencv2/highgui/highgui.hpp:48,
from fonction_traitement_image.h:7,
from fonction_traitement_image.cpp:38:
/usr/local/include/opencv2/core/mat.hpp:910:51: note: template<class _Tp, int m, int n> cv::Mat::Mat(const cv::Matx<_Tp, m, n>&, bool)
template<typename _Tp, int m, int n> explicit Mat(const Matx<_Tp, m, n>& mtx, bool copyData=true);
^
/usr/local/include/opencv2/core/mat.hpp:910:51: note: template argument deduction/substitution failed:
fonction_traitement_image.cpp:62:24: note: mismatched types const cv::Matx<_Tp, m, n> and IplImage* {aka _IplImage*}
Mat mat_image( image );
^
In file included from /usr/local/include/opencv2/core.hpp:59:0,
from /usr/local/include/opencv2/highgui.hpp:46,
from /usr/local/include/opencv2/highgui/highgui.hpp:48,
from fonction_traitement_image.h:7,
from fonction_traitement_image.cpp:38:
/usr/local/include/opencv2/core/mat.hpp:906:44: note: template<class _Tp, int n> cv::Mat::Mat(const cv::Vec<_Tp, m>&, bool)
template<typename _Tp, int n> explicit Mat(const Vec<_Tp, n>& vec, bool copyData=true); |
Partager