MatOfShort Class OpenCvSharp Class Library
A matrix whose element is 16SC1 (cv::Mat_<short>)
Inheritance Hierarchy

SystemObject
  OpenCvSharpDisposableObject
    OpenCvSharpDisposableCvObject
      OpenCvSharp.CPlusPlusMat
        OpenCvSharp.CPlusPlusMatInt16, MatOfShort
          OpenCvSharp.CPlusPlusMatOfShort

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public class MatOfShort : Mat<short, MatOfShort>

The MatOfShort type exposes the following members.

Constructors

  NameDescription
Public methodMatOfShort
Creates empty Mat
Public methodMatOfShort(IEnumerableInt32)
constructs n-dimensional matrix
Public methodMatOfShort(IntPtr)
Creates from native cv::Mat* pointer
Public methodMatOfShort(Mat)
Initializes by Mat object
Public methodMatOfShort(Size)
constructs 2D matrix of the specified size and type
Public methodMatOfShort(IEnumerableInt32, Int16)
constructs n-dimensional matrix
Public methodMatOfShort(Int32, Int32)
constructs 2D matrix of the specified size and type
Public methodMatOfShort(CvMat, Boolean)
converts old-style CvMat to the new matrix; the data is not copied by default
Public methodMatOfShort(IplImage, Boolean)
converts old-style IplImage to the new matrix; the data is not copied by default
Public methodMatOfShort(MatOfShort, Range)
creates a matrix header for a part of the bigger matrix
Public methodMatOfShort(MatOfShort, Rect)
creates a matrix header for a part of the bigger matrix
Public methodMatOfShort(Size, Int16)
constucts 2D matrix and fills it with the specified Scalar value.
Public methodMatOfShort(IEnumerableInt32, Array, IEnumerableInt64)
constructor for matrix headers pointing to user-allocated data
Public methodMatOfShort(IEnumerableInt32, Int16, IEnumerableInt64)
constructor for matrix headers pointing to user-allocated data
Public methodMatOfShort(IEnumerableInt32, IntPtr, IEnumerableInt64)
constructor for matrix headers pointing to user-allocated data
Public methodMatOfShort(Int32, Int32, Int16)
constucts 2D matrix and fills it with the specified Scalar value.
Public methodMatOfShort(MatOfShort, Range, NullableRange)
creates a matrix header for a part of the bigger matrix
Public methodMatOfShort(Int32, Int32, Int16, Int64)
constructor for matrix headers pointing to user-allocated data
Public methodMatOfShort(Int32, Int32, Int16, Int64)
constructor for matrix headers pointing to user-allocated data
Public methodMatOfShort(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 propertyCol
Indexer to access Mat column as Mat
(Inherited from Mat.)
Public propertyColExpr
Indexer to access Mat column as MatExpr
(Inherited from Mat.)
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)
(Inherited from MatTElem, TInherit.)
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.)
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 propertyExpr
Indexer to access partial Mat as MatExpr
(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.
(Inherited from MatTElem, TInherit.)
Public propertyItemRange
Extracts a rectangular submatrix.
(Inherited from MatTElem, TInherit.)
Public propertyItemRect
Extracts a rectangular submatrix.
(Inherited from MatTElem, TInherit.)
Public propertyItemRange, Range
Extracts a rectangular submatrix.
(Inherited from MatTElem, TInherit.)
Public propertyItemInt32, Int32, Int32, Int32
Extracts a rectangular submatrix.
(Inherited from MatTElem, TInherit.)
Public propertyRefcount
pointer to the reference counter; when matrix points to user-allocated data, the pointer is NULL
(Inherited from Mat.)
Public propertyRow
Indexer to access Mat row as Mat
(Inherited from Mat.)
Public propertyRowExpr
Indexer to access Mat row as MatExpr
(Inherited from Mat.)
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 methodAdaptiveBilateralFilter
Applies the adaptive bilateral filter to an image.
(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(Int16)
Adds elements to the bottom of the matrix. (Mat::push_back)
(Overrides MatTElem, TInheritAdd(TElem).)
Public methodAdd(Mat)
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(Mat)
Provides a functional form of convertTo.
(Inherited from Mat.)
Public methodAssignTo(Mat, MatType)
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(Int32)
(Inherited from Mat.)
Public methodCheckVector(Int32, Int32)
(Inherited from Mat.)
Public methodCheckVector(Int32, Int32, Boolean)
(Inherited from Mat.)
Public methodCircle(Point, Int32, Scalar, Int32, LineType, Int32)
Draws a circle
(Inherited from Mat.)
Public methodCircle(Int32, Int32, Int32, Scalar, Int32, LineType, Int32)
Draws a circle
(Inherited from Mat.)
Public methodClear
Removes all items from the ICollection<T>.
(Inherited from MatTElem, TInherit.)
Public methodClone
Creates a full copy of the matrix.
(Inherited from MatTElem, TInherit.)
Public methodClone(Rect)
Returns the partial Mat of the specified Mat
(Inherited from Mat.)
Public methodColRange(Range)
(Inherited from Mat.)
Public methodColRange(Int32, Int32)
(Inherited from Mat.)
Public methodCompleteSymm
extends the symmetrical matrix from the lower half or from the upper half
(Inherited from Mat.)
Public methodContains
Determines whether the ICollection<T> contains a specific value.
(Inherited from MatTElem, TInherit.)
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(Mat)
Copies the matrix to another one.
(Inherited from Mat.)
Public methodCopyTo(TElem, Int32)
Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
(Inherited from MatTElem, TInherit.)
Public methodCopyTo(Mat, Mat)
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 methodDims
the array dimensionality, >= 2
(Inherited from Mat.)
Public methodDispose
Releases the resources
(Inherited from DisposableObject.)
Protected methodDispose(Boolean)
Releases the resources
(Inherited from MatTElem, TInherit.)
Public methodDistanceTransform
computes the distance transform map
(Inherited from Mat.)
Public methodDot
Computes a dot-product of two vectors.
(Inherited from Mat.)
Public methodDrawContours(IEnumerableIEnumerablePoint, Int32, Scalar, Int32, LineType, IEnumerableHierarchyIndex, Int32, NullablePoint)
Draws contours in the image
(Inherited from Mat.)
Public methodDrawContours(InputOutputArray, IEnumerableMat, Int32, Scalar, Int32, LineType, Mat, Int32, NullablePoint)
Draws contours in the image
(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, LineType)
Draws simple or thick elliptic arc or fills ellipse sector
(Inherited from Mat.)
Public methodEllipse(Point, Size, Double, Double, Double, Scalar, Int32, LineType, 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) (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, ContourRetrieval, ContourChain, 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, ContourRetrieval, ContourChain, 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, FloodFillFlag)
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, FloodFillFlag)
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 methodStatic memberFromArray(IEnumerableInt16)
Initializes as N x 1 matrix and copys array data to this
Public methodStatic memberFromArray(Int16)
Initializes as M x N matrix and copys array data to this
Public methodStatic memberFromArray(Int16)
Initializes as N x 1 matrix and copys array data to this
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 methodGetArray(Int32, Int32)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, DMatch)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, DMatch)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Point)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Point)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Point2d)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Point2d)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Point2f)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Point2f)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Point3d)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Point3d)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Point3f)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Point3f)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Point3i)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Point3i)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Rect)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Rect)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Vec3b)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Vec3b)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Vec3d)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Vec3d)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Vec4f)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Vec4f)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Vec4i)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Vec4i)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Vec6f)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Vec6f)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Byte)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Byte)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Double)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Double)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Int16)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Int16)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Int32)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Int32)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Single)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, Single)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, UInt16)
Get the data of this matrix as array
(Inherited from Mat.)
Public methodGetArray(Int32, Int32, UInt16)
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
Public methodGetGenericIndexerT
Gets a type-specific indexer. The indexer has getters/setters to access each matrix element.
(Inherited from Mat.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetIndexer
Gets a type-specific indexer. The indexer has getters/setters to access each matrix element.
(Overrides MatTElem, TInheritGetIndexer.)
Public methodGetRectSubPix
Retrieves a pixel rectangle from an image with sub-pixel accuracy.
(Inherited from Mat.)
Public methodGetType (Inherited from Object.)
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.
(Inherited from MatTElem, TInherit.)
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, LineType, Int32)
Draws a line segment connecting two points
(Inherited from Mat.)
Public methodLine(Int32, Int32, Int32, Int32, CvScalar, Int32, LineType, 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, Int32)
transforms array of numbers using a lookup table: dst(i)=lut(src(i))
(Inherited from Mat.)
Public methodLUT(InputArray, Int32)
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 (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
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
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, LineType, Int32)
Draws simple, thick or filled rectangle
(Inherited from Mat.)
Public methodRectangle(Point, Point, Scalar, Int32, LineType, 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>.
(Inherited from MatTElem, TInherit.)
Public methodRepeat
replicates the input matrix the specified number of times in the horizontal and/or vertical direction
(Inherited from Mat.)
Public methodReserve
reserves enough space to fit sz hyper-planes
(Inherited from Mat.)
Public methodReshape(Int32)
Changes the shape of channels of a 2D matrix without copying the data.
(Inherited from MatTElem, TInherit.)
Public methodReshape(Int32)
Changes the shape of a 2D matrix without copying the data.
(Inherited from MatTElem, TInherit.)
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(Int64)
resizes matrix to the specified number of hyper-planes
(Inherited from Mat.)
Public methodResize(Int64, Scalar)
resizes matrix to the specified number of hyper-planes; initializes the newly added elements
(Inherited from Mat.)
Public methodResize(Size, Double, Double, Interpolation)
Resizes an image.
(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 methodSetArray(Int32, Int32, DMatch)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, DMatch)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Point)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Point)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Point2d)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Point2d)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Point2f)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Point2f)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Point3d)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Point3d)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Point3f)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Point3f)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Point3i)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Point3i)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Rect)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Rect)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Vec3b)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Vec3b)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Vec3d)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Vec3d)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Vec4f)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Vec4f)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Vec4i)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Vec4i)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Vec6f)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Vec6f)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Byte)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Byte)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Double)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Double)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Int16)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Int16)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Int32)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Int32)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Single)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, Single)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, UInt16)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetArray(Int32, Int32, UInt16)
Set the specified array data to this matrix
(Inherited from Mat.)
Public methodSetIdentity
initializes scaled identity matrix (not necessarily square).
(Inherited from Mat.)
Public methodSetTo(InputArray, InputArray)
Sets all or some of the array elements to the specified value.
(Inherited from Mat.)
Public methodSetTo(Scalar, InputArray)
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
(Inherited from Mat.)
Public methodStep(Int32)
(Inherited from Mat.)
Public methodStep1
Returns a normalized step.
(Inherited from Mat.)
Public methodStep1(Int32)
Returns a normalized step.
(Inherited from Mat.)
Public methodSubMat(Range)
Extracts a rectangular submatrix.
(Inherited from MatTElem, TInherit.)
Public methodSubMat(Rect)
Extracts a rectangular submatrix.
(Inherited from MatTElem, TInherit.)
Public methodSubMat(Range, Range)
Extracts a rectangular submatrix.
(Inherited from MatTElem, TInherit.)
Public methodSubMat(Int32, Int32, Int32, Int32)
Extracts a rectangular submatrix.
(Inherited from MatTElem, TInherit.)
Public methodSum
computes sum of array elements
(Inherited from Mat.)
Public methodT
Transposes a matrix.
(Inherited from MatTElem, TInherit.)
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
(Overrides MatTElem, TInheritToArray.)
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 methodToCvMat
Creates the CvMat header or clone instance for the matrix.
(Inherited from Mat.)
Public methodToIplImage
Creates the IplImage clone instance or header for the matrix.
(Inherited from Mat.)
Public methodToMemoryStream
Converts Mat to System.IO.MemoryStream
(Inherited from Mat.)
Public methodToRectangularArray
Convert this mat to managed rectangular array
(Overrides MatTElem, TInheritToRectangularArray.)
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 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 fielddataHandle
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.)
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 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

Reference