Fixing Matx ostream operator

cv::Matx could not be converted to c::Mat automatically
This commit is contained in:
Philipp Hasper 2014-08-31 14:37:43 +02:00
parent 4d474d40e7
commit e310added4

View File

@ -198,7 +198,7 @@ std::ostream& operator << (std::ostream& out, const std::vector<Point3_<_Tp> >&
template<typename _Tp, int m, int n> static inline
std::ostream& operator << (std::ostream& out, const Matx<_Tp, m, n>& matx)
{
return out << Formatter::get()->format(matx);
return out << Formatter::get()->format(Mat(matx));
}
template<typename _Tp> static inline