Fixing Matx ostream operator

cv::Matx could not be converted to c::Mat automatically
pull/3177/head
Philipp Hasper 10 years ago
parent 4d474d40e7
commit e310added4
  1. 2
      modules/core/include/opencv2/core/cvstd.inl.hpp

@ -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

Loading…
Cancel
Save