Click or drag to resize

MatTElem Class

Type-specific abstract matrix
Inheritance Hierarchy
SystemObject
  OpenCvSharpDisposableObject
    OpenCvSharpDisposableCvObject
      OpenCvSharpMat
        OpenCvSharpMatTElem

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public class Mat<TElem> : Mat, ICollection<TElem>, 
	IEnumerable<TElem>, IEnumerable
where TElem : struct, new(), Object

Type Parameters

TElem
Element Type

The MatTElem type exposes the following members.

Constructors
  NameDescription
Public methodMatTElem
Creates empty Mat
Public methodMatTElem(IEnumerableInt32)
constructs n-dimensional matrix
Public methodMatTElem(IntPtr)
Creates from native cv::Mat* pointer
Public methodMatTElem(Mat)
Initializes by Mat object
Public methodMatTElem(Size)
constructs 2D matrix of the specified size and type
Public methodMatTElem(IEnumerableInt32, Scalar)
constructs n-dimensional matrix
Public methodMatTElem(Int32, Int32)
constructs 2D matrix of the specified size and type
Protected methodMatTElem(MatTElem, Range)
creates a matrix header for a part of the bigger matrix
Public methodMatTElem(MatTElem, Rect)
creates a matrix header for a part of the bigger matrix
Public methodMatTElem(Size, Scalar)
constructs 2D matrix and fills it with the specified Scalar value.
Public methodMatTElem(IEnumerableInt32, Array, IEnumerableInt64)
constructor for matrix headers pointing to user-allocated data
Public methodMatTElem(IEnumerableInt32, IntPtr, IEnumerableInt64)
constructor for matrix headers pointing to user-allocated data
Public methodMatTElem(Int32, Int32, Scalar)
constructs 2D matrix and fills it with the specified Scalar value.
Public methodMatTElem(MatTElem, Range, NullableRange)
creates a matrix header for a part of the bigger matrix
Public methodMatTElem(Int32, Int32, Array, Int64)
constructor for matrix headers pointing to user-allocated data
Protected methodMatTElem(Int32, Int32, IntPtr, Int64)
constructor for matrix headers pointing to user-allocated data
Top
Properties
  NameDescription
Protected propertyAllocatedMemory
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.)
Protected propertyAllocatedMemorySize
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.)
Public propertyCols
the number of columns or -1 when the array has more than 2 dimensions
(Inherited from Mat.)
Public propertyCount
Returns the total number of matrix elements (Mat.total)
Public propertyCvPtr
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.)
Public propertyData
pointer to the data
(Inherited from Mat.)
Public propertyDataEnd
The pointer that is possible to compute a relative sub-array position in the main container array using locateROI()
(Inherited from Mat.)
Protected propertyDataHandle
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.)
Public propertyDataLimit
The pointer that is possible to compute a relative sub-array position in the main container array using locateROI()
(Inherited from Mat.)
Public propertyDataPointer
unsafe pointer to the data
(Inherited from Mat.)
Public propertyDataStart
The pointer that is possible to compute a relative sub-array position in the main container array using locateROI()
(Inherited from Mat.)
Public propertyDims
the array dimensionality, >= 2
(Inherited from Mat.)
Public propertyFlags
includes several bit-fields: - the magic signature - continuity flag - depth - number of channels
(Inherited from Mat.)
Public propertyHeight
the number of rows or -1 when the array has more than 2 dimensions
(Inherited from Mat.)
Public propertyIsDisposed
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.)
Public propertyIsEnabledDispose
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.)
Public propertyIsReadOnly
Gets a value indicating whether the IList is read-only.
Public propertyItemRange
Extracts a rectangular submatrix.
Public propertyItemRect
Extracts a rectangular submatrix.
Public propertyItemRange, Range
Extracts a rectangular submatrix.
Public propertyItemInt32, Int32, Int32, Int32
Extracts a rectangular submatrix.
Public propertyRows
the number of rows or -1 when the array has more than 2 dimensions
(Inherited from Mat.)
Public propertyWidth
the number of columns or -1 when the array has more than 2 dimensions
(Inherited from Mat.)
Top
Methods
  NameDescription
Public methodAbs
Computes absolute value of each matrix element
(Inherited from Mat.)
Public methodAccumulate
Adds an image to the accumulator.
(Inherited from Mat.)
Public methodAccumulateSquare
Adds the square of a source image to the accumulator.
(Inherited from Mat.)
Public methodAdaptiveThreshold
Applies an adaptive threshold to an array. Source matrix must be 8-bit single-channel image.
(Inherited from Mat.)
Public methodAdd(Byte)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Double)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Int16)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Int32)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(SByte)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Single)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(UInt16)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(TElem)
Adds elements to the bottom of the matrix. (Mat::push_back)
Public methodAdd(Mat)
Adds elements to the bottom of the matrix. (Mat.push_back)
(Inherited from Mat.)
Public methodAdd(Point)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Point2d)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Point2f)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Point3d)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Point3f)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Point3i)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Rect)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Rect2d)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Rect2f)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Size)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Size2d)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Size2f)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec2b)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec2d)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec2f)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec2i)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec2s)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec2w)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec3b)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec3d)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec3f)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec3i)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec3s)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec3w)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec4b)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec4d)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec4f)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec4i)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec4s)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec4w)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec6b)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec6d)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec6f)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec6i)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec6s)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdd(Vec6w)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodAdjustROI
Adjusts a submatrix size and position within the parent matrix.
(Inherited from Mat.)
Public methodAlignment
(Inherited from Mat.)
Protected methodAllocGCHandle
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.)
Protected methodAllocMemory
Allocates the specified size of memory.
(Inherited from DisposableObject.)
Public methodApproxPolyDP
Approximates contour or a curve using Douglas-Peucker algorithm. The input is the polygon or curve to approximate and it must be 1 x N or N x 1 matrix of type CV_32SC2 or CV_32FC2.
(Inherited from Mat.)
Public methodArcLength
Calculates a contour perimeter or a curve length. The input is 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.
(Inherited from Mat.)
Public methodAssignTo
Provides a functional form of convertTo.
(Inherited from Mat.)
Public methodAtT(Int32)
Returns a value to the specified array element.
(Inherited from Mat.)
Public methodAtT(Int32)
Returns a value to the specified array element.
(Inherited from Mat.)
Public methodAtT(Int32, Int32)
Returns a value to the specified array element.
(Inherited from Mat.)
Public methodAtT(Int32, Int32, Int32)
Returns a value to the specified array element.
(Inherited from Mat.)
Public methodBilateralFilter
Applies bilateral filter to the image The source image must be a 8-bit or floating-point, 1-channel or 3-channel image.
(Inherited from Mat.)
Public methodBlur
Smoothes image using normalized box filter
(Inherited from Mat.)
Public methodBoundingRect
Calculates the up-right bounding rectangle of a point set. The input is 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.
(Inherited from Mat.)
Public methodBoxFilter
Smoothes image using box filter
(Inherited from Mat.)
Public methodCanny
Finds edges in an image using Canny algorithm.
(Inherited from Mat.)
Public methodCastTMat
Creates type-specific Mat instance from this.
(Inherited from Mat.)
Public methodChannels
Returns the number of matrix channels.
(Inherited from Mat.)
Public methodCheckRange(Boolean)
checks that each matrix element is within the specified range.
(Inherited from Mat.)
Public methodCheckRange(Boolean, Point, Double, Double)
checks that each matrix element is within the specified range.
(Inherited from Mat.)
Public methodCheckVector
(Inherited from Mat.)
Public methodCircle(Point, Int32, Scalar, Int32, LineTypes, Int32)
Draws a circle
(Inherited from Mat.)
Public methodCircle(Int32, Int32, Int32, Scalar, Int32, LineTypes, Int32)
Draws a circle
(Inherited from Mat.)
Public methodClear
Removes all items from the ICollection<T>.
Public methodClone
Creates a full copy of the matrix.
Public methodClone(Rect)
Returns the partial Mat of the specified Mat
(Inherited from Mat.)
Public methodCol
Creates a matrix header for the specified matrix column.
(Inherited from Mat.)
Public methodColRange(Range)
Creates a matrix header for the specified column span.
(Inherited from Mat.)
Public methodColRange(Int32, Int32)
Creates a matrix header for the specified column span.
(Inherited from Mat.)
Public methodCompleteSymm
extends the symmetrical matrix from the lower half or from the upper half
(Inherited from Mat.)
Public methodConnectedComponents(Int32, PixelConnectivity)
computes the connected components labeled image of boolean image. image with 4 or 8 way connectivity - returns N, the total number of labels [0, N-1] where 0 represents the background label. ltype specifies the output label image type, an important consideration based on the total number of labels or alternatively the total number of pixels in the source image.
(Inherited from Mat.)
Public methodConnectedComponents(OutputArray, PixelConnectivity)
computes the connected components labeled image of boolean image. image with 4 or 8 way connectivity - returns N, the total number of labels [0, N-1] where 0 represents the background label. ltype specifies the output label image type, an important consideration based on the total number of labels or alternatively the total number of pixels in the source image.
(Inherited from Mat.)
Public methodConnectedComponents(OutputArray, PixelConnectivity, MatType)
computes the connected components labeled image of boolean image. image with 4 or 8 way connectivity - returns N, the total number of labels [0, N-1] where 0 represents the background label. ltype specifies the output label image type, an important consideration based on the total number of labels or alternatively the total number of pixels in the source image.
(Inherited from Mat.)
Public methodConnectedComponentsEx
computes the connected components labeled image of boolean image. image with 4 or 8 way connectivity - returns N, the total number of labels [0, N-1] where 0 represents the background label. ltype specifies the output label image type, an important consideration based on the total number of labels or alternatively the total number of pixels in the source image.
(Inherited from Mat.)
Public methodConnectedComponentsWithStats(OutputArray, OutputArray, OutputArray, PixelConnectivity)
computes the connected components labeled image of boolean image. image with 4 or 8 way connectivity - returns N, the total number of labels [0, N-1] where 0 represents the background label. ltype specifies the output label image type, an important consideration based on the total number of labels or alternatively the total number of pixels in the source image.
(Inherited from Mat.)
Public methodConnectedComponentsWithStats(OutputArray, OutputArray, OutputArray, PixelConnectivity, MatType)
computes the connected components labeled image of boolean image. image with 4 or 8 way connectivity - returns N, the total number of labels [0, N-1] where 0 represents the background label. ltype specifies the output label image type, an important consideration based on the total number of labels or alternatively the total number of pixels in the source image.
(Inherited from Mat.)
Public methodContains
Determines whether the ICollection<T> contains a specific value.
Public methodContourArea
Calculates the contour area. The input is 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.
(Inherited from Mat.)
Public methodConvertScaleAbs
Scales, computes absolute values and converts the result to 8-bit.
(Inherited from Mat.)
Public methodConvertTo
Converts an array to another data type with optional scaling.
(Inherited from Mat.)
Public methodConvexHull
Computes convex hull for a set of 2D points.
(Inherited from Mat.)
Public methodConvexHullFloatPoints
Computes convex hull for a set of 2D points.
(Inherited from Mat.)
Public methodConvexHullIndices
Computes convex hull for a set of 2D points.
(Inherited from Mat.)
Public methodConvexHullPoints
Computes convex hull for a set of 2D points.
(Inherited from Mat.)
Public methodConvexityDefects
Computes the contour convexity defects
(Inherited from Mat.)
Public methodConvexityDefectsAsVec
Computes the contour convexity defects
(Inherited from Mat.)
Public methodCopyMakeBorder
Forms a border around the image
(Inherited from Mat.)
Public methodCopyTo(TElem, Int32)
Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
Public methodCopyTo(Mat, InputArray)
Copies the matrix to another one.
(Inherited from Mat.)
Public methodCopyTo(OutputArray, InputArray)
Copies the matrix to another one.
(Inherited from Mat.)
Public methodCornerEigenValsAndVecs
computes both eigenvalues and the eigenvectors of 2x2 derivative covariation matrix at each pixel. The output is stored as 6-channel matrix.
(Inherited from Mat.)
Public methodCornerSubPix
adjusts the corner locations with sub-pixel accuracy to maximize the certain cornerness criteria
(Inherited from Mat.)
Public methodCountNonZero
computes the number of nonzero array elements
(Inherited from Mat.)
Public methodCreate(MatType, Int32)
Allocates new array data if needed.
(Inherited from Mat.)
Public methodCreate(Size, MatType)
Allocates new array data if needed.
(Inherited from Mat.)
Public methodCreate(Int32, Int32, MatType)
Allocates new array data if needed.
(Inherited from Mat.)
Public methodCreateHanningWindow
Computes a Hanning window coefficients in two dimensions.
(Inherited from Mat.)
Public methodCross
Computes a cross-product of two 3-element vectors.
(Inherited from Mat.)
Public methodCvtColor
Converts image from one color space to another
(Inherited from Mat.)
Public methodDct
performs forward or inverse 1D or 2D Discrete Cosine Transformation
(Inherited from Mat.)
Public methodDepth
Returns the depth of a matrix element.
(Inherited from Mat.)
Public methodDeterminant
computes determinant of a square matrix. The input matrix must have CV_32FC1 or CV_64FC1 type and square size.
(Inherited from Mat.)
Public methodDft
Performs a forward Discrete Fourier transform of 1D or 2D floating-point array.
(Inherited from Mat.)
Public methodDiag(MatDiagType)
Single-column matrix that forms a diagonal matrix or index of the diagonal, with the following values:
(Inherited from Mat.)
Public methodDilate
Dilates an image by using a specific structuring element.
(Inherited from Mat.)
Public methodDispose
Releases the resources
(Inherited from DisposableObject.)
Protected methodDispose(Boolean)
Releases the resources
(Inherited from DisposableObject.)
Protected methodDisposeManaged
Releases managed resources
(Inherited from DisposableObject.)
Protected methodDisposeUnmanaged
Releases unmanaged resources
(Inherited from Mat.)
Public methodDistanceTransform
Computes the distance transform map
(Inherited from Mat.)
Public methodDot
Computes a dot-product of two vectors.
(Inherited from Mat.)
Public methodDrawContours(IEnumerableMat, Int32, Scalar, Int32, LineTypes, Mat, Int32, NullablePoint)
Draws contours in the image
(Inherited from Mat.)
Public methodDrawContours(IEnumerableIEnumerablePoint, Int32, Scalar, Int32, LineTypes, IEnumerableHierarchyIndex, Int32, NullablePoint)
Draws contours in the image
(Inherited from Mat.)
Public methodDrawMarker
Draws a marker on a predefined position in an image. The function cv::drawMarker draws a marker on a given position in the image.For the moment several marker types are supported, see #MarkerTypes for more information.
(Inherited from Mat.)
Public methodDump
Returns a string that represents each element value of Mat. This method corresponds to std::ostream << Mat
(Inherited from Mat.)
Public methodElemSize
Returns the matrix element size in bytes.
(Inherited from Mat.)
Public methodElemSize1
Returns the size of each matrix element channel in bytes.
(Inherited from Mat.)
Public methodEllipse(RotatedRect, Scalar, Int32, LineTypes)
Draws simple or thick elliptic arc or fills ellipse sector
(Inherited from Mat.)
Public methodEllipse(Point, Size, Double, Double, Double, Scalar, Int32, LineTypes, Int32)
Draws simple or thick elliptic arc or fills ellipse sector
(Inherited from Mat.)
Public methodEmpty
Returns true if the array has no elements.
(Inherited from Mat.)
Public methodEmptyClone
Makes a Mat that have the same size, depth and channels as this image
(Inherited from Mat.)
Public methodEqualizeHist
Normalizes the grayscale image brightness and contrast by normalizing its histogram. The source matrix is 8-bit single channel image.
(Inherited from Mat.)
Public methodEquals(Double)
operator ==
(Inherited from Mat.)
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEquals(Mat)
operator ==
(Inherited from Mat.)
Public methodErode
Erodes an image by using a specific structuring element.
(Inherited from Mat.)
Public methodExp
computes exponent of each matrix element (dst = e**src)
(Inherited from Mat.)
Public methodExtractChannel
extracts a single channel from src (coi is 0-based index)
(Inherited from Mat.)
Public methodFillConvexPoly
Fills a convex polygon.
(Inherited from Mat.)
Public methodFillPoly
Fills the area bounded by one or more polygons
(Inherited from Mat.)
Public methodFilter2D
Convolves an image with the kernel
(Inherited from Mat.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodFindContours(Mat, OutputArray, RetrievalModes, ContourApproximationModes, NullablePoint)
Finds contours in a binary image. The source is an 8-bit single-channel image. Non-zero pixels are treated as 1’s. Zero pixels remain 0’s, so the image is treated as binary. The function modifies this image while extracting the contours.
(Inherited from Mat.)
Public methodFindContours(Point, HierarchyIndex, RetrievalModes, ContourApproximationModes, NullablePoint)
Finds contours in a binary image. The source is an 8-bit single-channel image. Non-zero pixels are treated as 1’s. Zero pixels remain 0’s, so the image is treated as binary. The function modifies this image while extracting the contours.
(Inherited from Mat.)
Public methodFindContoursAsArray
Finds contours in a binary image. The source is an 8-bit single-channel image. Non-zero pixels are treated as 1’s. Zero pixels remain 0’s, so the image is treated as binary. The function modifies this image while extracting the contours.
(Inherited from Mat.)
Public methodFindContoursAsMat
Finds contours in a binary image. The source is an 8-bit single-channel image. Non-zero pixels are treated as 1’s. Zero pixels remain 0’s, so the image is treated as binary. The function modifies this image while extracting the contours.
(Inherited from Mat.)
Public methodFindNonZero
returns the list of locations of non-zero pixels
(Inherited from Mat.)
Public methodFitEllipse
Fits ellipse to the set of 2D points.
(Inherited from Mat.)
Public methodFitLine2D
Fits line to the set of 2D points using M-estimator algorithm. The input is vector of 2D points.
(Inherited from Mat.)
Public methodFitLine3D
Fits line to the set of 3D points using M-estimator algorithm. The input is vector of 3D points.
(Inherited from Mat.)
Public methodFlip
reverses the order of the rows, columns or both in a matrix
(Inherited from Mat.)
Public methodFloodFill(Point, Scalar)
Fills a connected component with the given color. Input/output 1- or 3-channel, 8-bit, or floating-point image. It is modified by the function unless the FLOODFILL_MASK_ONLY flag is set in the second variant of the function. See the details below.
(Inherited from Mat.)
Public methodFloodFill(InputOutputArray, Point, Scalar)
Fills a connected component with the given color. Input/output 1- or 3-channel, 8-bit, or floating-point image. It is modified by the function unless the FLOODFILL_MASK_ONLY flag is set in the second variant of the function. See the details below.
(Inherited from Mat.)
Public methodFloodFill(Point, Scalar, Rect, NullableScalar, NullableScalar, FloodFillFlags)
Fills a connected component with the given color. Input/output 1- or 3-channel, 8-bit, or floating-point image. It is modified by the function unless the FLOODFILL_MASK_ONLY flag is set in the second variant of the function. See the details below.
(Inherited from Mat.)
Public methodFloodFill(InputOutputArray, Point, Scalar, Rect, NullableScalar, NullableScalar, FloodFillFlags)
Fills a connected component with the given color. Input/output 1- or 3-channel, 8-bit, or floating-point image. It is modified by the function unless the FLOODFILL_MASK_ONLY flag is set in the second variant of the function. See the details below.
(Inherited from Mat.)
Public methodForEachAsByte
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsDouble
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsFloat
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsInt16
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsInt32
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec2b
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec2d
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec2f
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec2i
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec2s
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec3b
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec3d
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec3f
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec3i
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec3s
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec4b
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec4d
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec4f
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec4i
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec4s
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec6b
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec6d
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec6f
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec6i
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodForEachAsVec6s
Runs the given functor over all matrix elements in parallel.
(Inherited from Mat.)
Public methodGaussianBlur
Blurs an image using a Gaussian filter. The input image can have any number of channels, which are processed independently, but the depth should be CV_8U, CV_16U, CV_16S, CV_32F or CV_64F.
(Inherited from Mat.)
Public methodGetT(Int32)
Returns a value to the specified array element.
(Inherited from Mat.)
Public methodGetT(Int32)
Returns a value to the specified array element.
(Inherited from Mat.)
Public methodGetT(Int32, Int32)
Returns a value to the specified array element.
(Inherited from Mat.)
Public methodGetT(Int32, Int32, Int32)
Returns a value to the specified array element.
(Inherited from Mat.)
Public methodGetArrayT
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetDefaultNewCameraMatrix
returns the default new camera matrix (by default it is the same as cameraMatrix unless centerPricipalPoint=true)
(Inherited from Mat.)
Public methodGetEnumerator
Gets read-only enumerator
Public methodGetGenericIndexerT
Gets a type-specific indexer. The indexer has getters/setters to access each matrix element.
(Inherited from Mat.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetIndexer
Gets a type-specific indexer. The indexer has getters/setters to access each matrix element.
Public methodGetRectangularArrayT
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetRectSubPix
Retrieves a pixel rectangle from an image with sub-pixel accuracy.
(Inherited from Mat.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUnsafeGenericIndexerT
Gets a type-specific unsafe indexer. The indexer has getters/setters to access each matrix element.
(Inherited from Mat.)
Public methodGoodFeaturesToTrack
Finds the strong enough corners where the cornerMinEigenVal() or cornerHarris() report the local maxima. Input matrix must be 8-bit or floating-point 32-bit, single-channel image.
(Inherited from Mat.)
Public methodGrabCut
Segments the image using GrabCut algorithm. The input is 8-bit 3-channel image.
(Inherited from Mat.)
Public methodGreaterThan(Double)
operator >
(Inherited from Mat.)
Public methodGreaterThan(Mat)
operator >
(Inherited from Mat.)
Public methodGreaterThanOrEqual(Double)
operator >=
(Inherited from Mat.)
Public methodGreaterThanOrEqual(Mat)
operator >=
(Inherited from Mat.)
Public methodHoughCircles
Finds circles in a grayscale image using a Hough transform. The input matrix must be 8-bit, single-channel and grayscale.
(Inherited from Mat.)
Public methodHoughLines
Finds lines in a binary image using standard Hough transform. The input matrix must be 8-bit, single-channel, binary source image. This image may be modified by the function.
(Inherited from Mat.)
Public methodHoughLinesP
Finds lines segments in a binary image using probabilistic Hough transform.
(Inherited from Mat.)
Public methodIdct
performs inverse 1D or 2D Discrete Cosine Transformation
(Inherited from Mat.)
Public methodIdft
Performs an inverse Discrete Fourier transform of 1D or 2D floating-point array.
(Inherited from Mat.)
Public methodImEncode(String, ImageEncodingParam)
Encodes an image into a memory buffer.
(Inherited from Mat.)
Public methodImEncode(String, Int32)
Encodes an image into a memory buffer.
(Inherited from Mat.)
Public methodImWrite(String, ImageEncodingParam)
Saves an image to a specified file.
(Inherited from Mat.)
Public methodImWrite(String, Int32)
Saves an image to a specified file.
(Inherited from Mat.)
Public methodIndexOf
Determines the index of a specific item in the list.
Public methodInRange(InputArray, InputArray)
set mask elements for those array elements which are within the element-specific bounding box (dst = lowerb <= src && src < upperb)
(Inherited from Mat.)
Public methodInRange(Scalar, Scalar)
set mask elements for those array elements which are within the element-specific bounding box (dst = lowerb <= src && src < upperb)
(Inherited from Mat.)
Public methodInsertChannel
inserts a single channel to dst (coi is 0-based index)
(Inherited from Mat.)
Public methodInv
Inverses a matrix.
(Inherited from Mat.)
Public methodInvertAffineTransform
Inverts an affine transformation.
(Inherited from Mat.)
Public methodIsContinuous
Reports whether the matrix is continuous or not.
(Inherited from Mat.)
Public methodIsContourConvex
Returns true if the contour is convex. Does not support contours with self-intersection
(Inherited from Mat.)
Public methodIsSubmatrix
Returns whether this matrix is a part of other matrix or not.
(Inherited from Mat.)
Public methodLaplacian
Calculates the Laplacian of an image
(Inherited from Mat.)
Public methodLessThan(Double)
operator <
(Inherited from Mat.)
Public methodLessThan(Mat)
operator <
(Inherited from Mat.)
Public methodLessThanOrEqual(Double)
operator <=
(Inherited from Mat.)
Public methodLessThanOrEqual(Mat)
operator <=
(Inherited from Mat.)
Public methodLine(Point, Point, Scalar, Int32, LineTypes, Int32)
Draws a line segment connecting two points
(Inherited from Mat.)
Public methodLine(Int32, Int32, Int32, Int32, Scalar, Int32, LineTypes, Int32)
Draws a line segment connecting two points
(Inherited from Mat.)
Public methodLocateROI
Locates the matrix header within a parent matrix.
(Inherited from Mat.)
Public methodLog
computes natural logarithm of absolute value of each matrix element: dst = log(abs(src))
(Inherited from Mat.)
Public methodLUT(Byte)
transforms array of numbers using a lookup table: dst(i)=lut(src(i))
(Inherited from Mat.)
Public methodLUT(InputArray)
transforms array of numbers using a lookup table: dst(i)=lut(src(i))
(Inherited from Mat.)
Public methodMatchTemplate
Computes the proximity map for the raster template and the image where the template is searched for The input is Image where the search is running; should be 8-bit or 32-bit floating-point.
(Inherited from Mat.)
Public methodMean
computes mean value of selected array elements
(Inherited from Mat.)
Public methodMeanStdDev
computes mean value and standard deviation of all or selected array elements
(Inherited from Mat.)
Public methodMedianBlur
Smoothes image using median filter. The source image must have 1-, 3- or 4-channel and its depth should be CV_8U , CV_16U or CV_32F.
(Inherited from Mat.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMinAreaRect
Finds the minimum area rotated rectangle enclosing a 2D point set. The input is 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.
(Inherited from Mat.)
Public methodMinEnclosingCircle
Finds the minimum area circle enclosing a 2D point set. The input is 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.
(Inherited from Mat.)
Public methodMinMaxIdx(Double, Double)
finds global minimum and maximum array elements and returns their values and their locations
(Inherited from Mat.)
Public methodMinMaxIdx(Int32, Int32)
finds global minimum and maximum array elements and returns their values and their locations
(Inherited from Mat.)
Public methodMinMaxIdx(Double, Double, Int32, Int32, InputArray)
finds global minimum and maximum array elements and returns their values and their locations
(Inherited from Mat.)
Public methodMinMaxLoc(Double, Double)
finds global minimum and maximum array elements and returns their values and their locations
(Inherited from Mat.)
Public methodMinMaxLoc(Point, Point)
finds global minimum and maximum array elements and returns their values and their locations
(Inherited from Mat.)
Public methodMinMaxLoc(Double, Double, Point, Point, InputArray)
finds global minimum and maximum array elements and returns their values and their locations
(Inherited from Mat.)
Public methodMoments
Calculates all of the moments up to the third order of a polygon or rasterized shape. The input is a raster image (single-channel, 8-bit or floating-point 2D array).
(Inherited from Mat.)
Public methodMorphologyEx
Performs advanced morphological transformations
(Inherited from Mat.)
Public methodMul
Performs an element-wise multiplication or division of the two matrices.
(Inherited from Mat.)
Public methodMulTransposed
multiplies matrix by its transposition from the left or from the right
(Inherited from Mat.)
Public methodNorm
computes norm of the selected array part
(Inherited from Mat.)
Public methodNormalize
scales and shifts array elements so that either the specified norm (alpha) or the minimum (alpha) and maximum (beta) array values get the specified values
(Inherited from Mat.)
Public methodNotEquals(Double)
operator !=
(Inherited from Mat.)
Public methodNotEquals(Mat)
operator !=
(Inherited from Mat.)
Protected methodNotifyMemoryPressure
Notifies the allocated size of memory.
(Inherited from DisposableObject.)
Public methodPatchNaNs
converts NaN's to the given number
(Inherited from Mat.)
Public methodPerspectiveTransform
performs perspective transformation of each element of multi-channel input matrix
(Inherited from Mat.)
Public methodPointPolygonTest
Checks if the point is inside the contour. Optionally computes the signed distance from the point to the contour boundary.
(Inherited from Mat.)
Public methodPolylines
draws one or more polygonal curves
(Inherited from Mat.)
Public methodPopBack
removes several hyper-planes from bottom of the matrix (Mat.pop_back)
(Inherited from Mat.)
Public methodPow
raises the input matrix elements to the specified power (b = a**power)
(Inherited from Mat.)
Public methodPreCornerDetect
computes another complex cornerness criteria at each pixel
(Inherited from Mat.)
Public methodPtr(Int32)
Returns a pointer to the specified matrix row.
(Inherited from Mat.)
Public methodPtr(Int32)
Returns a pointer to the specified matrix element.
(Inherited from Mat.)
Public methodPtr(Int32, Int32)
Returns a pointer to the specified matrix element.
(Inherited from Mat.)
Public methodPtr(Int32, Int32, Int32)
Returns a pointer to the specified matrix element.
(Inherited from Mat.)
Public methodPushBack(Byte)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Double)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Int16)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Int32)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(SByte)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Single)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(UInt16)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Mat)
Adds elements to the bottom of the matrix. (Mat.push_back)
(Inherited from Mat.)
Public methodPushBack(Point)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Point2d)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Point2f)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Point3d)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Point3f)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Point3i)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Rect)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Rect2d)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Rect2f)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Size)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Size2d)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Size2f)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec2b)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec2d)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec2f)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec2i)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec2s)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec2w)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec3b)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec3d)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec3f)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec3i)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec3s)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec3w)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec4b)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec4d)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec4f)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec4i)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec4s)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec4w)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec6b)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec6d)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec6f)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec6i)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec6s)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPushBack(Vec6w)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Inherited from Mat.)
Public methodPutText
renders text string in the image
(Inherited from Mat.)
Public methodPyrDown
Blurs an image and downsamples it.
(Inherited from Mat.)
Public methodPyrMeanShiftFiltering
Performs initial step of meanshift segmentation of an image. The source matrix is 8-bit, 3-channel image.
(Inherited from Mat.)
Public methodPyrUp
Upsamples an image and then blurs it.
(Inherited from Mat.)
Public methodRandn(InputArray, InputArray)
fills array with normally-distributed random numbers with the specified mean and the standard deviation
(Inherited from Mat.)
Public methodRandn(Scalar, Scalar)
fills array with normally-distributed random numbers with the specified mean and the standard deviation
(Inherited from Mat.)
Public methodRandShuffle(Double)
shuffles the input array elements
(Inherited from Mat.)
Public methodRandShuffle(Double, RNG)
shuffles the input array elements
(Inherited from Mat.)
Public methodRandu(InputArray, InputArray)
fills array with uniformly-distributed random numbers from the range [low, high)
(Inherited from Mat.)
Public methodRandu(Scalar, Scalar)
fills array with uniformly-distributed random numbers from the range [low, high)
(Inherited from Mat.)
Public methodRectangle(Rect, Scalar, Int32, LineTypes, Int32)
Draws simple, thick or filled rectangle
(Inherited from Mat.)
Public methodRectangle(Point, Point, Scalar, Int32, LineTypes, Int32)
Draws simple, thick or filled rectangle
(Inherited from Mat.)
Public methodReduce
transforms 2D matrix to 1D row or column vector by taking sum, minimum, maximum or mean value over all the rows
(Inherited from Mat.)
Public methodRelease
Releases the resources
(Inherited from Mat.)
Public methodRemap
Applies a generic geometrical transformation to an image.
(Inherited from Mat.)
Public methodRemove
Removes the first occurrence of a specific object from the ICollection<T>.
Public methodRepeat
replicates the input matrix the specified number of times in the horizontal and/or vertical direction
(Inherited from Mat.)
Public methodReserve
Reserves space for the certain number of rows. The method reserves space for sz rows. If the matrix already has enough space to store sz rows, nothing happens. If the matrix is reallocated, the first Mat::rows rows are preserved. The method emulates the corresponding method of the STL vector class.
(Inherited from Mat.)
Public methodReserveBuffer
Reserves space for the certain number of bytes. The method reserves space for sz bytes. If the matrix already has enough space to store sz bytes, nothing happens. If matrix has to be reallocated its previous content could be lost.
(Inherited from Mat.)
Public methodReshape(Int32)
Changes the shape of channels of a 2D matrix without copying the data.
Public methodReshape(Int32)
Changes the shape of a 2D matrix without copying the data.
Public methodReshape(Int32, Int32)
Changes the shape and/or the number of channels of a 2D matrix without copying the data.
(Inherited from Mat.)
Public methodReshape(Int32, Int32)
Changes the shape and/or the number of channels of a 2D matrix without copying the data.
(Inherited from Mat.)
Public methodResize(Int32)
Changes the number of matrix rows.
(Inherited from Mat.)
Public methodResize(Int32, Scalar)
Changes the number of matrix rows.
(Inherited from Mat.)
Public methodResize(Size, Double, Double, InterpolationFlags)
Resizes an image.
(Inherited from Mat.)
Public methodRow
Creates a matrix header for the specified matrix row.
(Inherited from Mat.)
Public methodRowRange(Range)
(Inherited from Mat.)
Public methodRowRange(Int32, Int32)
(Inherited from Mat.)
Public methodSaveImage(String, ImageEncodingParam)
Saves an image to a specified file.
(Inherited from Mat.)
Public methodSaveImage(String, Int32)
Saves an image to a specified file.
(Inherited from Mat.)
Public methodScharr
Calculates the first x- or y- image derivative using Scharr operator
(Inherited from Mat.)
Public methodSepFilter2D
Applies separable linear filter to an image
(Inherited from Mat.)
Public methodSetT(Int32, T)
Set a value to the specified array element.
(Inherited from Mat.)
Public methodSetT(Int32, T)
Set a value to the specified array element.
(Inherited from Mat.)
Public methodSetT(Int32, Int32, T)
Set a value to the specified array element.
(Inherited from Mat.)
Public methodSetT(Int32, Int32, Int32, T)
Set a value to the specified array element.
(Inherited from Mat.)
Public methodSetArrayT
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetIdentity
initializes scaled identity matrix (not necessarily square).
(Inherited from Mat.)
Public methodSetRectangularArrayT
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetTo(InputArray, Mat)
Sets all or some of the array elements to the specified value.
(Inherited from Mat.)
Public methodSetTo(Scalar, Mat)
Sets all or some of the array elements to the specified value.
(Inherited from Mat.)
Public methodSize
Returns a matrix size.
(Inherited from Mat.)
Public methodSize(Int32)
Returns a matrix size.
(Inherited from Mat.)
Public methodSobel
Calculates the first, second, third or mixed image derivatives using an extended Sobel operator
(Inherited from Mat.)
Public methodSort
sorts independently each matrix row or each matrix column
(Inherited from Mat.)
Public methodSortIdx
sorts independently each matrix row or each matrix column
(Inherited from Mat.)
Public methodSplit
Copies each plane of a multi-channel array to a dedicated array
(Inherited from Mat.)
Public methodSqrt
computes square root of each matrix element (dst = src**0.5)
(Inherited from Mat.)
Public methodStep
Returns number of bytes each matrix row occupies.
(Inherited from Mat.)
Public methodStep(Int32)
Returns number of bytes each matrix row occupies.
(Inherited from Mat.)
Public methodStep1
Returns a normalized step.
(Inherited from Mat.)
Public methodSubMat(Range)
Extracts a rectangular submatrix.
Public methodSubMat(Rect)
Extracts a rectangular submatrix.
Public methodSubMat(Range, Range)
Extracts a rectangular submatrix.
Public methodSubMat(Int32, Int32, Int32, Int32)
Extracts a rectangular submatrix.
Public methodSum
computes sum of array elements
(Inherited from Mat.)
Public methodT
Transposes a matrix.
Public methodThreshold
Applies a fixed-level threshold to each array element. The input matrix must be single-channel, 8-bit or 32-bit floating point.
(Inherited from Mat.)
Public methodThrowIfDisposed
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.)
Public methodToArray
Convert this mat to managed array
Public methodToBytes(String, ImageEncodingParam)
Encodes an image into a memory buffer.
(Inherited from Mat.)
Public methodToBytes(String, Int32)
Encodes an image into a memory buffer.
(Inherited from Mat.)
Public methodToMemoryStream
Converts Mat to System.IO.MemoryStream
(Inherited from Mat.)
Public methodToRectangularArray
Convert this mat to managed rectangular array
Public methodToString
Returns a string that represents this Mat.
(Inherited from Mat.)
Public methodTotal
Returns the total number of array elements.
(Inherited from Mat.)
Public methodTotal(Int32, Int32)
Returns the total number of array elements. The method returns the number of elements within a certain sub-array slice with startDim <= dim < endDim
(Inherited from Mat.)
Public methodTrace
computes trace of a matrix
(Inherited from Mat.)
Public methodTransform
performs affine transformation of each element of multi-channel input matrix
(Inherited from Mat.)
Public methodTranspose
transposes the matrix
(Inherited from Mat.)
Public methodType
Returns the type of a matrix element.
(Inherited from Mat.)
Public methodUndistort
corrects lens distortion for the given camera matrix and distortion coefficients
(Inherited from Mat.)
Public methodUndistortPoints
Computes the ideal point coordinates from the observed point coordinates. Input matrix is an observed point coordinates, 1xN or Nx1 2-channel (CV_32FC2 or CV_64FC2).
(Inherited from Mat.)
Public methodWarpAffine
Applies an affine transformation to an image.
(Inherited from Mat.)
Public methodWarpPerspective
Applies a perspective transformation to an image.
(Inherited from Mat.)
Public methodWatershed
Performs a marker-based image segmentation using the watershed algorithm. Input matrix is 8-bit 3-channel image.
(Inherited from Mat.)
Protected methodWrap
Public methodWriteToStream
Writes image data encoded from this Mat to System.IO.Stream
(Inherited from Mat.)
Top
Fields
  NameDescription
Protected fieldptr
Data pointer
(Inherited from DisposableCvObject.)
Top
Extension Methods
  NameDescription
Public Extension MethodCopyFrom
Copies pixel data from System.Windows.Media.Imaging.BitmapSource to IplImage instance
(Defined by BitmapSourceConverter.)
Public Extension MethodHoughLinesProbabilisticEx
(Defined by CvExtensions.)
Public Extension MethodToBitmapOverloaded.
Converts Mat to System.Drawing.Bitmap
(Defined by BitmapConverter.)
Public Extension MethodToBitmap(PixelFormat)Overloaded.
Converts Mat to System.Drawing.Bitmap
(Defined by BitmapConverter.)
Public Extension MethodToBitmap(Bitmap)Overloaded.
Converts Mat to System.Drawing.Bitmap
(Defined by BitmapConverter.)
Public Extension MethodToBitmapSourceOverloaded.
Converts Mat to BitmapSource.
(Defined by BitmapSourceConverter.)
Public Extension MethodToBitmapSource(Int32, Int32, PixelFormat, BitmapPalette)Overloaded.
Converts Mat to BitmapSource.
(Defined by BitmapSourceConverter.)
Public Extension MethodToWriteableBitmapOverloaded.
Converts Mat to WriteableBitmap (dpi=96, BitmapPalette=null)
(Defined by WriteableBitmapConverter.)
Public Extension MethodToWriteableBitmap(PixelFormat)Overloaded.
Converts Mat to WriteableBitmap (dpi=96, BitmapPalette=null)
(Defined by WriteableBitmapConverter.)
Public Extension MethodToWriteableBitmap(Double, Double, PixelFormat, BitmapPalette)Overloaded.
Converts Mat to WriteableBitmap. The arguments of this method corresponds the consructor of WriteableBitmap.
(Defined by WriteableBitmapConverter.)
Top
See Also