Mat
基本图像容器
构造函数
Mat::Mat()
Mat::Mat(int rows, int cols, int type) //rows - 2d图像的行数;cols - 2d图像的列数;type - 图像类型
Mat::Mat(Size size, int type) //size - 2d数组:Size(cols,rows), type - 图像类型
Mat::Mat(int rows, int cols, int type, const Scalar & s)
Mat::Mat(Size size, int type, const Scalar & s)
Mat::Mat(int ndims, const int *sizes, int type) //ndims - 图像维数;sizes - 指定n维数组形状的整数数组。
Mat::Mat(int ndims, const int *sizes, int type, const Scalar & s)
Mat::Mat(const Mat &m)
Mat::Mat(int rows, int cols, int type, void *data, size_t step = AUTO_STEP) //data - 指向用户数据的指针;step - 每个矩阵行占用的字节数
Mat::Mat (Size size, int type, void *data, size_t step = AUTO_STEP)
Mat::Mat(int ndims, const int *sizes, int type, void *data, const size_t *steps = 0)
Mat::Mat(const Mat &m, const Range &rowRange, const Range &colRange = Range::all())
Mat::Mat(const Mat &m, const Rect &roi)
Mat::Mat(const Mat &m, const Range *ranges)
Mat::Mat(const std::vector<_Tp> &vec, bool copyData = false)
Mat::Mat(const Vec<_Tp, n> &vec, bool copyData = true)
Mat::Mat(const Matx<Tp, m, n> &mtx, bool copyData = true)
Mat::Mat(const Point<Tp> &pt, bool copyData = true)
Mat::Mat(const Point3<Tp> &pt, bool copyData = true)
Mat::Mat(const MatCommaInitializer<_Tp> &commaInitializer)
Mat::Mat(const cuda::GpuMat &m)