Mat Class |
Namespace: OpenCvSharp
The Mat type exposes the following members.
Name | Description | |
---|---|---|
Mat |
Creates empty Mat
| |
Mat(IntPtr) |
Creates from native cv::Mat* pointer
| |
Mat(Mat) | Initializes a new instance of the Mat class | |
Mat(IEnumerableInt32, MatType) |
constructs n-dimensional matrix
| |
Mat(String, ImreadModes) |
Loads an image from a file. (cv::imread)
| |
Mat(Mat, Range) |
creates a matrix header for a part of the bigger matrix
| |
Mat(Mat, Rect) |
creates a matrix header for a part of the bigger matrix
| |
Mat(Size, MatType) |
constructs 2D matrix of the specified size and type
| |
Mat(IEnumerableInt32, MatType, Scalar) |
constructs n-dimensional matrix
| |
Mat(Int32, Int32, MatType) |
constructs 2D matrix of the specified size and type
| |
Mat(Mat, Range, NullableRange) |
creates a matrix header for a part of the bigger matrix
| |
Mat(Size, MatType, Scalar) |
constructs 2D matrix and fills it with the specified Scalar value.
| |
Mat(IEnumerableInt32, MatType, Array, IEnumerableInt64) |
constructor for matrix headers pointing to user-allocated data
| |
Mat(IEnumerableInt32, MatType, IntPtr, IEnumerableInt64) |
constructor for matrix headers pointing to user-allocated data
| |
Mat(Int32, Int32, MatType, Scalar) |
constructs 2D matrix and fills it with the specified Scalar value.
| |
Mat(Int32, Int32, MatType, Array, Int64) |
constructor for matrix headers pointing to user-allocated data
| |
Mat(Int32, Int32, MatType, IntPtr, Int64) |
constructor for matrix headers pointing to user-allocated data
|
Name | Description | |
---|---|---|
AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) | |
AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) | |
Cols |
the number of columns or -1 when the array has more than 2 dimensions
| |
CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
Data |
pointer to the data
| |
DataEnd |
The pointer that is possible to compute a relative sub-array position in the main container array using locateROI()
| |
DataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
DataLimit |
The pointer that is possible to compute a relative sub-array position in the main container array using locateROI()
| |
DataPointer |
unsafe pointer to the data
| |
DataStart |
The pointer that is possible to compute a relative sub-array position in the main container array using locateROI()
| |
Dims |
the array dimensionality, >= 2
| |
Flags |
includes several bit-fields:
- the magic signature
- continuity flag
- depth
- number of channels
| |
Height |
the number of rows or -1 when the array has more than 2 dimensions
| |
IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) | |
ItemRange |
Extracts a rectangular submatrix.
| |
ItemRect |
Extracts a rectangular submatrix.
| |
ItemRange, Range |
Extracts a rectangular submatrix.
| |
ItemInt32, Int32, Int32, Int32 |
Extracts a rectangular submatrix.
| |
Rows |
the number of rows or -1 when the array has more than 2 dimensions
| |
Width |
the number of columns or -1 when the array has more than 2 dimensions
|
Name | Description | |
---|---|---|
Abs |
Computes absolute value of each matrix element
| |
Accumulate |
Adds an image to the accumulator.
| |
AccumulateSquare |
Adds the square of a source image to the accumulator.
| |
AdaptiveThreshold |
Applies an adaptive threshold to an array.
Source matrix must be 8-bit single-channel image.
| |
Add(Byte) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Double) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Int16) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Int32) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(SByte) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Single) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(UInt16) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Mat) |
Adds elements to the bottom of the matrix. (Mat.push_back)
| |
Add(Point) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Point2d) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Point2f) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Point3d) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Point3f) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Point3i) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Rect) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Rect2d) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Rect2f) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Size) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Size2d) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Size2f) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec2b) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec2d) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec2f) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec2i) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec2s) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec2w) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec3b) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec3d) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec3f) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec3i) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec3s) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec3w) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec4b) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec4d) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec4f) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec4i) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec4s) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec4w) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec6b) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec6d) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec6f) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec6i) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec6s) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
Add(Vec6w) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
AdjustROI |
Adjusts a submatrix size and position within the parent matrix.
| |
Alignment | ||
AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
ApproxPolyDP |
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.
| |
ArcLength |
Calculates a contour perimeter or a curve length.
The input is 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.
| |
AssignTo |
Provides a functional form of convertTo.
| |
AtT(Int32) |
Returns a value to the specified array element.
| |
AtT(Int32) |
Returns a value to the specified array element.
| |
AtT(Int32, Int32) |
Returns a value to the specified array element.
| |
AtT(Int32, Int32, Int32) |
Returns a value to the specified array element.
| |
BilateralFilter |
Applies bilateral filter to the image
The source image must be a 8-bit or floating-point, 1-channel or 3-channel image.
| |
Blur |
Smoothes image using normalized box filter
| |
BoundingRect |
Calculates the up-right bounding rectangle of a point set.
The input is 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.
| |
BoxFilter |
Smoothes image using box filter
| |
Canny |
Finds edges in an image using Canny algorithm.
| |
CastTMat |
Creates type-specific Mat instance from this.
| |
Channels |
Returns the number of matrix channels.
| |
CheckRange(Boolean) |
checks that each matrix element is within the specified range.
| |
CheckRange(Boolean, Point, Double, Double) |
checks that each matrix element is within the specified range.
| |
CheckVector | ||
Circle(Point, Int32, Scalar, Int32, LineTypes, Int32) |
Draws a circle
| |
Circle(Int32, Int32, Int32, Scalar, Int32, LineTypes, Int32) |
Draws a circle
| |
Clone |
Creates a full copy of the matrix.
| |
Clone(Rect) |
Returns the partial Mat of the specified Mat
| |
Col |
Creates a matrix header for the specified matrix column.
| |
ColRange(Range) |
Creates a matrix header for the specified column span.
| |
ColRange(Int32, Int32) |
Creates a matrix header for the specified column span.
| |
CompleteSymm |
extends the symmetrical matrix from the lower half or from the upper half
| |
ConnectedComponents(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.
| |
ConnectedComponents(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.
| |
ConnectedComponents(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.
| |
ConnectedComponentsEx |
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.
| |
ConnectedComponentsWithStats(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.
| |
ConnectedComponentsWithStats(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.
| |
ContourArea |
Calculates the contour area.
The input is 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.
| |
ConvertScaleAbs |
Scales, computes absolute values and converts the result to 8-bit.
| |
ConvertTo |
Converts an array to another data type with optional scaling.
| |
ConvexHull |
Computes convex hull for a set of 2D points.
| |
ConvexHullFloatPoints |
Computes convex hull for a set of 2D points.
| |
ConvexHullIndices |
Computes convex hull for a set of 2D points.
| |
ConvexHullPoints |
Computes convex hull for a set of 2D points.
| |
ConvexityDefects |
Computes the contour convexity defects
| |
ConvexityDefectsAsVec |
Computes the contour convexity defects
| |
CopyMakeBorder |
Forms a border around the image
| |
CopyTo(Mat, InputArray) |
Copies the matrix to another one.
| |
CopyTo(OutputArray, InputArray) |
Copies the matrix to another one.
| |
CornerEigenValsAndVecs |
computes both eigenvalues and the eigenvectors of 2x2 derivative covariation matrix at each pixel. The output is stored as 6-channel matrix.
| |
CornerSubPix |
adjusts the corner locations with sub-pixel accuracy to maximize the certain cornerness criteria
| |
CountNonZero |
computes the number of nonzero array elements
| |
Create(MatType, Int32) |
Allocates new array data if needed.
| |
Create(Size, MatType) |
Allocates new array data if needed.
| |
Create(Int32, Int32, MatType) |
Allocates new array data if needed.
| |
CreateHanningWindow |
Computes a Hanning window coefficients in two dimensions.
| |
Cross |
Computes a cross-product of two 3-element vectors.
| |
CvtColor |
Converts image from one color space to another
| |
Dct |
performs forward or inverse 1D or 2D Discrete Cosine Transformation
| |
Depth |
Returns the depth of a matrix element.
| |
Determinant |
computes determinant of a square matrix.
The input matrix must have CV_32FC1 or CV_64FC1 type and square size.
| |
Dft |
Performs a forward Discrete Fourier transform of 1D or 2D floating-point array.
| |
Diag(Mat) |
Extracts a diagonal from a matrix, or creates a diagonal matrix.
| |
Diag(MatDiagType) |
Single-column matrix that forms a diagonal matrix or index of the diagonal, with the following values:
| |
Dilate |
Dilates an image by using a specific structuring element.
| |
Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
Dispose(Boolean) |
Releases the resources
(Inherited from DisposableObject.) | |
DisposeManaged |
Releases managed resources
(Inherited from DisposableObject.) | |
DisposeUnmanaged |
Releases unmanaged resources
(Overrides DisposableCvObjectDisposeUnmanaged.) | |
DistanceTransform |
Computes the distance transform map
| |
Dot |
Computes a dot-product of two vectors.
| |
DrawContours(IEnumerableMat, Int32, Scalar, Int32, LineTypes, Mat, Int32, NullablePoint) |
Draws contours in the image
| |
DrawContours(IEnumerableIEnumerablePoint, Int32, Scalar, Int32, LineTypes, IEnumerableHierarchyIndex, Int32, NullablePoint) |
Draws contours in the image
| |
DrawMarker |
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.
| |
Dump |
Returns a string that represents each element value of Mat.
This method corresponds to std::ostream << Mat
| |
ElemSize |
Returns the matrix element size in bytes.
| |
ElemSize1 |
Returns the size of each matrix element channel in bytes.
| |
Ellipse(RotatedRect, Scalar, Int32, LineTypes) |
Draws simple or thick elliptic arc or fills ellipse sector
| |
Ellipse(Point, Size, Double, Double, Double, Scalar, Int32, LineTypes, Int32) |
Draws simple or thick elliptic arc or fills ellipse sector
| |
Empty |
Returns true if the array has no elements.
| |
EmptyClone |
Makes a Mat that have the same size, depth and channels as this image
| |
EqualizeHist |
Normalizes the grayscale image brightness and contrast by normalizing its histogram.
The source matrix is 8-bit single channel image.
| |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Equals(Double) |
operator ==
| |
Equals(Mat) |
operator ==
| |
Erode |
Erodes an image by using a specific structuring element.
| |
Exp |
computes exponent of each matrix element (dst = e**src)
| |
ExtractChannel |
extracts a single channel from src (coi is 0-based index)
| |
Eye(Size, MatType) |
Returns an identity matrix of the specified size and type.
| |
Eye(Int32, Int32, MatType) |
Returns an identity matrix of the specified size and type.
| |
FillConvexPoly |
Fills a convex polygon.
| |
FillPoly |
Fills the area bounded by one or more polygons
| |
Filter2D |
Convolves an image with the kernel
| |
Finalize |
Destructor
(Inherited from DisposableObject.) | |
FindContours(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.
| |
FindContours(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.
| |
FindContoursAsArray |
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.
| |
FindContoursAsMat |
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.
| |
FindNonZero |
returns the list of locations of non-zero pixels
| |
FitEllipse |
Fits ellipse to the set of 2D points.
| |
FitLine2D |
Fits line to the set of 2D points using M-estimator algorithm.
The input is vector of 2D points.
| |
FitLine3D |
Fits line to the set of 3D points using M-estimator algorithm.
The input is vector of 3D points.
| |
Flip |
reverses the order of the rows, columns or both in a matrix
| |
FloodFill(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.
| |
FloodFill(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.
| |
FloodFill(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.
| |
FloodFill(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.
| |
ForEachAsByte |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsDouble |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsFloat |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsInt16 |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsInt32 |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec2b |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec2d |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec2f |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec2i |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec2s |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec3b |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec3d |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec3f |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec3i |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec3s |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec4b |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec4d |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec4f |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec4i |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec4s |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec6b |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec6d |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec6f |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec6i |
Runs the given functor over all matrix elements in parallel.
| |
ForEachAsVec6s |
Runs the given functor over all matrix elements in parallel.
| |
FromArrayTElem(IEnumerableTElem) |
Initializes as N x 1 matrix and copies array data to this
| |
FromArrayTElem(TElem) |
Initializes as M x N matrix and copies array data to this
| |
FromArrayTElem(TElem) |
Initializes as N x 1 matrix and copies array data to this
| |
FromImageData |
Creates the Mat instance from image data (using cv::decode)
| |
FromStream |
Creates the Mat instance from System.IO.Stream
| |
GaussianBlur |
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.
| |
GetT(Int32) |
Returns a value to the specified array element.
| |
GetT(Int32) |
Returns a value to the specified array element.
| |
GetT(Int32, Int32) |
Returns a value to the specified array element.
| |
GetT(Int32, Int32, Int32) |
Returns a value to the specified array element.
| |
GetArrayT |
Get the data of this matrix as array
| |
GetDefaultNewCameraMatrix |
returns the default new camera matrix (by default it is the same as cameraMatrix unless centerPricipalPoint=true)
| |
GetGenericIndexerT |
Gets a type-specific indexer. The indexer has getters/setters to access each matrix element.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetRectangularArrayT |
Get the data of this matrix as array
| |
GetRectSubPix |
Retrieves a pixel rectangle from an image with sub-pixel accuracy.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUnsafeGenericIndexerT |
Gets a type-specific unsafe indexer. The indexer has getters/setters to access each matrix element.
| |
GoodFeaturesToTrack |
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.
| |
GrabCut |
Segments the image using GrabCut algorithm.
The input is 8-bit 3-channel image.
| |
GreaterThan(Double) |
operator >
| |
GreaterThan(Mat) |
operator >
| |
GreaterThanOrEqual(Double) |
operator >=
| |
GreaterThanOrEqual(Mat) |
operator >=
| |
HoughCircles |
Finds circles in a grayscale image using a Hough transform.
The input matrix must be 8-bit, single-channel and grayscale.
| |
HoughLines |
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.
| |
HoughLinesP |
Finds lines segments in a binary image using probabilistic Hough transform.
| |
Idct |
performs inverse 1D or 2D Discrete Cosine Transformation
| |
Idft |
Performs an inverse Discrete Fourier transform of 1D or 2D floating-point array.
| |
ImDecode |
Creates the Mat instance from image data (using cv::decode)
| |
ImEncode(String, ImageEncodingParam) |
Encodes an image into a memory buffer.
| |
ImEncode(String, Int32) |
Encodes an image into a memory buffer.
| |
ImWrite(String, ImageEncodingParam) |
Saves an image to a specified file.
| |
ImWrite(String, Int32) |
Saves an image to a specified file.
| |
InRange(InputArray, InputArray) |
set mask elements for those array elements which are within the element-specific bounding box (dst = lowerb <= src && src < upperb)
| |
InRange(Scalar, Scalar) |
set mask elements for those array elements which are within the element-specific bounding box (dst = lowerb <= src && src < upperb)
| |
InsertChannel |
inserts a single channel to dst (coi is 0-based index)
| |
Inv |
Inverses a matrix.
| |
InvertAffineTransform |
Inverts an affine transformation.
| |
IsContinuous |
Reports whether the matrix is continuous or not.
| |
IsContourConvex |
Returns true if the contour is convex.
Does not support contours with self-intersection
| |
IsSubmatrix |
Returns whether this matrix is a part of other matrix or not.
| |
Laplacian |
Calculates the Laplacian of an image
| |
LessThan(Double) |
operator <
| |
LessThan(Mat) |
operator <
| |
LessThanOrEqual(Double) |
operator <=
| |
LessThanOrEqual(Mat) |
operator <=
| |
Line(Point, Point, Scalar, Int32, LineTypes, Int32) |
Draws a line segment connecting two points
| |
Line(Int32, Int32, Int32, Int32, Scalar, Int32, LineTypes, Int32) |
Draws a line segment connecting two points
| |
LocateROI |
Locates the matrix header within a parent matrix.
| |
Log |
computes natural logarithm of absolute value of each matrix element: dst = log(abs(src))
| |
LUT(Byte) |
transforms array of numbers using a lookup table: dst(i)=lut(src(i))
| |
LUT(InputArray) |
transforms array of numbers using a lookup table: dst(i)=lut(src(i))
| |
MatchTemplate |
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.
| |
Mean |
computes mean value of selected array elements
| |
MeanStdDev |
computes mean value and standard deviation of all or selected array elements
| |
MedianBlur |
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.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MinAreaRect |
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.
| |
MinEnclosingCircle |
Finds the minimum area circle enclosing a 2D point set.
The input is 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.
| |
MinMaxIdx(Double, Double) |
finds global minimum and maximum array elements and returns their values and their locations
| |
MinMaxIdx(Int32, Int32) |
finds global minimum and maximum array elements and returns their values and their locations
| |
MinMaxIdx(Double, Double, Int32, Int32, InputArray) |
finds global minimum and maximum array elements and returns their values and their locations
| |
MinMaxLoc(Double, Double) |
finds global minimum and maximum array elements and returns their values and their locations
| |
MinMaxLoc(Point, Point) |
finds global minimum and maximum array elements and returns their values and their locations
| |
MinMaxLoc(Double, Double, Point, Point, InputArray) |
finds global minimum and maximum array elements and returns their values and their locations
| |
Moments |
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).
| |
MorphologyEx |
Performs advanced morphological transformations
| |
Mul |
Performs an element-wise multiplication or division of the two matrices.
| |
MulTransposed |
multiplies matrix by its transposition from the left or from the right
| |
Norm |
computes norm of the selected array part
| |
Normalize |
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
| |
NotEquals(Double) |
operator !=
| |
NotEquals(Mat) |
operator !=
| |
NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
Ones(MatType, Int32) |
Returns an array of all 1’s of the specified size and type.
| |
Ones(Size, MatType) |
Returns an array of all 1’s of the specified size and type.
| |
Ones(Int32, Int32, MatType) |
Returns an array of all 1’s of the specified size and type.
| |
PatchNaNs |
converts NaN's to the given number
| |
PerspectiveTransform |
performs perspective transformation of each element of multi-channel input matrix
| |
PointPolygonTest |
Checks if the point is inside the contour.
Optionally computes the signed distance from the point to the contour boundary.
| |
Polylines |
draws one or more polygonal curves
| |
PopBack |
removes several hyper-planes from bottom of the matrix (Mat.pop_back)
| |
Pow |
raises the input matrix elements to the specified power (b = a**power)
| |
PreCornerDetect |
computes another complex cornerness criteria at each pixel
| |
Ptr(Int32) |
Returns a pointer to the specified matrix row.
| |
Ptr(Int32) |
Returns a pointer to the specified matrix element.
| |
Ptr(Int32, Int32) |
Returns a pointer to the specified matrix element.
| |
Ptr(Int32, Int32, Int32) |
Returns a pointer to the specified matrix element.
| |
PushBack(Byte) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Double) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Int16) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Int32) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(SByte) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Single) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(UInt16) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Mat) |
Adds elements to the bottom of the matrix. (Mat.push_back)
| |
PushBack(Point) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Point2d) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Point2f) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Point3d) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Point3f) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Point3i) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Rect) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Rect2d) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Rect2f) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Size) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Size2d) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Size2f) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec2b) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec2d) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec2f) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec2i) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec2s) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec2w) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec3b) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec3d) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec3f) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec3i) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec3s) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec3w) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec4b) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec4d) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec4f) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec4i) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec4s) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec4w) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec6b) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec6d) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec6f) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec6i) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec6s) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PushBack(Vec6w) |
Adds elements to the bottom of the matrix. (Mat::push_back)
| |
PutText |
renders text string in the image
| |
PyrDown |
Blurs an image and downsamples it.
| |
PyrMeanShiftFiltering |
Performs initial step of meanshift segmentation of an image.
The source matrix is 8-bit, 3-channel image.
| |
PyrUp |
Upsamples an image and then blurs it.
| |
Randn(InputArray, InputArray) |
fills array with normally-distributed random numbers with the specified mean and the standard deviation
| |
Randn(Scalar, Scalar) |
fills array with normally-distributed random numbers with the specified mean and the standard deviation
| |
RandShuffle(Double) |
shuffles the input array elements
| |
RandShuffle(Double, RNG) |
shuffles the input array elements
| |
Randu(InputArray, InputArray) |
fills array with uniformly-distributed random numbers from the range [low, high)
| |
Randu(Scalar, Scalar) |
fills array with uniformly-distributed random numbers from the range [low, high)
| |
Rectangle(Rect, Scalar, Int32, LineTypes, Int32) |
Draws simple, thick or filled rectangle
| |
Rectangle(Point, Point, Scalar, Int32, LineTypes, Int32) |
Draws simple, thick or filled rectangle
| |
Reduce |
transforms 2D matrix to 1D row or column vector by taking sum, minimum, maximum or mean value over all the rows
| |
Release |
Releases the resources
| |
Remap |
Applies a generic geometrical transformation to an image.
| |
Repeat |
replicates the input matrix the specified number of times in the horizontal and/or vertical direction
| |
Reserve |
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.
| |
ReserveBuffer |
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.
| |
Reshape(Int32, Int32) |
Changes the shape and/or the number of channels of a 2D matrix without copying the data.
| |
Reshape(Int32, Int32) |
Changes the shape and/or the number of channels of a 2D matrix without copying the data.
| |
Resize(Int32) |
Changes the number of matrix rows.
| |
Resize(Int32, Scalar) |
Changes the number of matrix rows.
| |
Resize(Size, Double, Double, InterpolationFlags) |
Resizes an image.
| |
Row |
Creates a matrix header for the specified matrix row.
| |
RowRange(Range) | ||
RowRange(Int32, Int32) | ||
SaveImage(String, ImageEncodingParam) |
Saves an image to a specified file.
| |
SaveImage(String, Int32) |
Saves an image to a specified file.
| |
Scharr |
Calculates the first x- or y- image derivative using Scharr operator
| |
SepFilter2D |
Applies separable linear filter to an image
| |
SetT(Int32, T) |
Set a value to the specified array element.
| |
SetT(Int32, T) |
Set a value to the specified array element.
| |
SetT(Int32, Int32, T) |
Set a value to the specified array element.
| |
SetT(Int32, Int32, Int32, T) |
Set a value to the specified array element.
| |
SetArrayT |
Set the specified array data to this matrix
| |
SetIdentity |
initializes scaled identity matrix (not necessarily square).
| |
SetRectangularArrayT |
Set the specified array data to this matrix
| |
SetTo(InputArray, Mat) |
Sets all or some of the array elements to the specified value.
| |
SetTo(Scalar, Mat) |
Sets all or some of the array elements to the specified value.
| |
Size |
Returns a matrix size.
| |
Size(Int32) |
Returns a matrix size.
| |
Sobel |
Calculates the first, second, third or mixed image derivatives using an extended Sobel operator
| |
Sort |
sorts independently each matrix row or each matrix column
| |
SortIdx |
sorts independently each matrix row or each matrix column
| |
Split |
Copies each plane of a multi-channel array to a dedicated array
| |
Sqrt |
computes square root of each matrix element (dst = src**0.5)
| |
Step |
Returns number of bytes each matrix row occupies.
| |
Step(Int32) |
Returns number of bytes each matrix row occupies.
| |
Step1 |
Returns a normalized step.
| |
SubMat(Range) |
Extracts a rectangular submatrix.
| |
SubMat(Rect) |
Extracts a rectangular submatrix.
| |
SubMat(Range, Range) |
Extracts a rectangular submatrix.
| |
SubMat(Int32, Int32, Int32, Int32) |
Extracts a rectangular submatrix.
| |
Sum |
computes sum of array elements
| |
T |
Transposes a matrix.
| |
Threshold |
Applies a fixed-level threshold to each array element.
The input matrix must be single-channel, 8-bit or 32-bit floating point.
| |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToBytes(String, ImageEncodingParam) |
Encodes an image into a memory buffer.
| |
ToBytes(String, Int32) |
Encodes an image into a memory buffer.
| |
ToMemoryStream |
Converts Mat to System.IO.MemoryStream
| |
ToString |
Returns a string that represents this Mat.
(Overrides ObjectToString.) | |
Total |
Returns the total number of array elements.
| |
Total(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
| |
Trace |
computes trace of a matrix
| |
Transform |
performs affine transformation of each element of multi-channel input matrix
| |
Transpose |
transposes the matrix
| |
Type |
Returns the type of a matrix element.
| |
Undistort |
corrects lens distortion for the given camera matrix and distortion coefficients
| |
UndistortPoints |
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).
| |
WarpAffine |
Applies an affine transformation to an image.
| |
WarpPerspective |
Applies a perspective transformation to an image.
| |
Watershed |
Performs a marker-based image segmentation using the watershed algorithm.
Input matrix is 8-bit 3-channel image.
| |
WriteToStream |
Writes image data encoded from this Mat to System.IO.Stream
| |
Zeros(MatType, Int32) |
Returns a zero array of the specified size and type.
| |
Zeros(Size, MatType) |
Returns a zero array of the specified size and type.
| |
Zeros(Int32, Int32, MatType) |
Returns a zero array of the specified size and type.
|
Name | Description | |
---|---|---|
ptr |
Data pointer
(Inherited from DisposableCvObject.) | |
TypeMap |
typeof(T) -> MatType
|
Name | Description | |
---|---|---|
CopyFrom |
Copies pixel data from System.Windows.Media.Imaging.BitmapSource to IplImage instance
(Defined by BitmapSourceConverter.) | |
HoughLinesProbabilisticEx | (Defined by CvExtensions.) | |
ToBitmap | Overloaded.
Converts Mat to System.Drawing.Bitmap
(Defined by BitmapConverter.) | |
ToBitmap(PixelFormat) | Overloaded.
Converts Mat to System.Drawing.Bitmap
(Defined by BitmapConverter.) | |
ToBitmap(Bitmap) | Overloaded.
Converts Mat to System.Drawing.Bitmap
(Defined by BitmapConverter.) | |
ToBitmapSource | Overloaded.
Converts Mat to BitmapSource.
(Defined by BitmapSourceConverter.) | |
ToBitmapSource(Int32, Int32, PixelFormat, BitmapPalette) | Overloaded.
Converts Mat to BitmapSource.
(Defined by BitmapSourceConverter.) | |
ToWriteableBitmap | Overloaded.
Converts Mat to WriteableBitmap (dpi=96, BitmapPalette=null)
(Defined by WriteableBitmapConverter.) | |
ToWriteableBitmap(PixelFormat) | Overloaded.
Converts Mat to WriteableBitmap (dpi=96, BitmapPalette=null)
(Defined by WriteableBitmapConverter.) | |
ToWriteableBitmap(Double, Double, PixelFormat, BitmapPalette) | Overloaded.
Converts Mat to WriteableBitmap.
The arguments of this method corresponds the consructor of WriteableBitmap.
(Defined by WriteableBitmapConverter.) |