Mat Constructor OpenCvSharp Class Library
Overload List

  NameDescription
Public methodMat
Creates empty Mat
Public methodMat(IntPtr)
Creates from native cv::Mat* pointer
Public methodMat(IEnumerableInt32, MatType)
constructs n-dimensional matrix
Public methodMat(String, LoadMode)
Loads an image from a file. (cv::imread)
Public methodMat(CvMat, Boolean)
converts old-style CvMat to the new matrix; the data is not copied by default
Public methodMat(IplImage, Boolean)
converts old-style IplImage to the new matrix; the data is not copied by default
Public methodMat(Mat, Range)
creates a matrix header for a part of the bigger matrix
Public methodMat(Mat, Rect)
creates a matrix header for a part of the bigger matrix
Public methodMat(Size, MatType)
constructs 2D matrix of the specified size and type
Public methodMat(IEnumerableInt32, MatType, Scalar)
constructs n-dimensional matrix
Public methodMat(Int32, Int32, MatType)
constructs 2D matrix of the specified size and type
Public methodMat(Mat, Range, NullableRange)
creates a matrix header for a part of the bigger matrix
Public methodMat(Size, MatType, Scalar)
constucts 2D matrix and fills it with the specified Scalar value.
Public methodMat(IEnumerableInt32, MatType, Array, IEnumerableInt64)
constructor for matrix headers pointing to user-allocated data
Public methodMat(IEnumerableInt32, MatType, IntPtr, IEnumerableInt64)
constructor for matrix headers pointing to user-allocated data
Public methodMat(Int32, Int32, MatType, Scalar)
constucts 2D matrix and fills it with the specified Scalar value.
Public methodMat(Int32, Int32, MatType, Array, Int64)
constructor for matrix headers pointing to user-allocated data
Public methodMat(Int32, Int32, MatType, IntPtr, Int64)
constructor for matrix headers pointing to user-allocated data
Top
See Also

Reference