diff --git a/modules/core/include/opencv2/core/mat.hpp b/modules/core/include/opencv2/core/mat.hpp index b40ec9689c..f7d944ccdf 100644 --- a/modules/core/include/opencv2/core/mat.hpp +++ b/modules/core/include/opencv2/core/mat.hpp @@ -2562,7 +2562,9 @@ public: Mat_(const Mat_& m, const std::vector& ranges); //! from a matrix expression explicit Mat_(const MatExpr& e); - //! makes a matrix out of Vec, std::vector, Point_ or Point3_. The matrix will have a single column + //! makes a matrix out of Vec, std::vector, Point_ or Point3_. + //! In OpenCV 5.x, from std::vector, creates a matrix with a single row (cols = vector size). + //! (Previous versions: the matrix had a single column.) explicit Mat_(const std::vector<_Tp>& vec, bool copyData=false); template explicit Mat_(const Vec::channel_type, n>& vec, bool copyData=true); template explicit Mat_(const Matx::channel_type, m, n>& mtx, bool copyData=true);