MatrixTDepth Class |
Namespace: Emgu.CV
[SerializableAttribute] public class Matrix<TDepth> : CvArray<TDepth>, IEquatable<Matrix<TDepth>>, ICloneable where TDepth : new()
The MatrixTDepth type exposes the following members.
Name | Description | |
---|---|---|
![]() | MatrixTDepth |
The default constructor which allows Data to be set later on
|
![]() | MatrixTDepth(Size) |
Create a matrix of the specific size
|
![]() | MatrixTDepth(TDepth) |
Create a matrix using the specific data.
|
![]() | MatrixTDepth(TDepth) |
Create a matrix using the specific data |
![]() | MatrixTDepth(Int32, Int32) |
Create a matrix of the specific size
|
![]() | MatrixTDepth(SerializationInfo, StreamingContext) |
Constructor used to deserialize runtime serialized object
|
![]() | MatrixTDepth(Int32, Int32, Int32) |
Create a matrix of the specific size and channels
|
![]() | MatrixTDepth(Int32, Int32, IntPtr) |
Create a Matrix (only header is allocated) using the Pinned/Unmanaged data. The data is not freed by the disposed function of this class
|
![]() | MatrixTDepth(Int32, Int32, IntPtr, Int32) |
Create a Matrix (only header is allocated) using the Pinned/Unmanaged data. The data is not freed by the disposed function of this class
|
![]() | MatrixTDepth(Int32, Int32, Int32, IntPtr, Int32) |
Create a Matrix (only header is allocated) using the Pinned/Unmanaged data. The data is not freed by the disposed function of this class
|
Name | Description | |
---|---|---|
![]() | Bytes |
Get or Set an Array of bytes that represent the data in this array
(Inherited from CvArrayTDepth.) |
![]() | Cols |
The number of cols for this array
(Inherited from CvArrayTDepth.) |
![]() | Data |
Get or Set the data for this matrix
|
![]() | Det |
Returns determinant of the square matrix
|
![]() | Height |
Get the height (Rows) of the cvArray.
If ROI is set, the height of the ROI
(Inherited from CvArrayTDepth.) |
![]() | Item |
Get or Set the value in the specific row and col |
![]() | ManagedArray |
Get the underneath managed array
(Overrides CvArrayTDepthManagedArray.) |
![]() | Mat |
Get the Mat header that represent this CvArr
(Inherited from CvArrayTDepth.) |
![]() | MCvMat |
The MCvMat structure format
|
![]() | Norm |
The norm of this Array
(Inherited from CvArrayTDepth.) |
![]() | NumberOfChannels |
Get the number of channels for this matrix
(Overrides CvArrayTDepthNumberOfChannels.) |
![]() | Ptr | The pointer to the internal structure (Inherited from CvArrayTDepth.) |
![]() | Rows |
The number of rows for this array
(Inherited from CvArrayTDepth.) |
![]() | SerializationCompressionRatio |
Get or set the Compression Ratio for serialization. A number between 0 - 9.
0 means no compression at all, while 9 means best compression
(Inherited from CvArrayTDepth.) |
![]() | Size |
Get the size of the array
(Overrides CvArrayTDepthSize.) |
![]() | Sum |
Return the sum of the elements in this matrix
|
![]() | Trace |
Sum of diagonal elements of the matrix
(Inherited from CvArrayTDepth.) |
![]() | Width |
Get the width (Cols) of the cvArray.
If ROI is set, the width of the ROI
(Inherited from CvArrayTDepth.) |
Name | Description | |
---|---|---|
![]() | _And |
Inplace And operation with otherArray (Inherited from CvArrayTDepth.) |
![]() | _Max(Double) |
Inplace compute the elementwise maximum value with value (Inherited from CvArrayTDepth.) |
![]() | _Max(CvArrayTDepth) |
Inplace elementwise maximize the current Array with other (Inherited from CvArrayTDepth.) |
![]() | _Min(Double) |
Inplace compute the elementwise minimum value
(Inherited from CvArrayTDepth.) |
![]() | _Min(CvArrayTDepth) |
Inplace elementwise minimize the current Array with other (Inherited from CvArrayTDepth.) |
![]() | _Mul(Double) |
Inplace multiply elements of the Array by scale (Inherited from CvArrayTDepth.) |
![]() | _Mul(CvArrayTDepth) |
Inplace elementwise multiply the current Array with src2 (Inherited from CvArrayTDepth.) |
![]() | _Not |
Inplace compute the complement for all array elements
(Inherited from CvArrayTDepth.) |
![]() | _Or |
Inplace Or operation with otherArray (Inherited from CvArrayTDepth.) |
![]() | Add(TDepth) | Elementwise add a color val to the current matrix |
![]() | Add(MatrixTDepth) | Elementwise add another matrix with the current matrix |
![]() | AllocateData |
Allocate data for the array
(Overrides CvArrayTDepthAllocateData(Int32, Int32, Int32).) |
![]() | CheckRange |
Check that every array element is neither NaN nor +- inf. The functions also check that each value
is between min and max. in the case of multi-channel arrays each channel is processed
independently. If some values are out of range, position of the first outlier is stored in pos,
and then the functions return false.
(Inherited from CvArrayTDepth.) |
![]() | Clone |
Make a copy of this matrix
|
![]() | Cmp |
This function compare the current matrix with mat2 and returns the comparison mask
|
![]() | ConcateHorizontal |
Concate the current matrix with another matrix horizontally. If this matrix is n x m1 and otherMatrix is n x m2, the resulting matrix is n x (m1 + m2).
|
![]() | ConcateVertical |
Concate the current matrix with another matrix vertically. If this matrix is n1 x m and otherMatrix is n2 x m, the resulting matrix is (n1+n2) x m.
|
![]() | ConvertTOtherDepth |
Convert this matrix to different depth
|
![]() | CopyBlank |
Return a matrix of the same size with all elements equals 0
|
![]() | CopyTo |
Copy the current array to destination (Inherited from CvArrayTDepth.) |
![]() | DeserializeObjectData |
A function used for runtime deserailization of the object
(Inherited from CvArrayTDepth.) |
![]() | Dispose |
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.) |
![]() | DisposeObject |
Release the matrix and all the memory associate with it
(Overrides CvArrayTDepthDisposeObject.) |
![]() | DotProduct |
Calculates and returns the Euclidean dot product of two arrays.
src1 dot src2 = sumI(src1(I)*src2(I))
(Inherited from CvArrayTDepth.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Equals(MatrixTDepth) |
Return true if every element of this matrix equals elements in mat2 |
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | GetCol |
Get the specific column of the matrix
|
![]() | GetCols |
Get the Matrix, corresponding to a specified column span of the input array
|
![]() | GetDiag |
Return the main diagonal element of this matrix
|
![]() | GetDiag(Int32) |
Return the specific diagonal elements of this matrix
|
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetInputArray |
The unmanaged pointer to the input array.
(Inherited from CvArrayTDepth.) |
![]() | GetInputOutputArray |
The unmanaged pointer to the input output array.
(Inherited from CvArrayTDepth.) |
![]() | GetObjectData |
A function used for runtime serialization of the object
(Inherited from CvArrayTDepth.) |
![]() | GetOutputArray |
The unmanaged pointer to the output array.
(Inherited from CvArrayTDepth.) |
![]() | GetRow |
Get the specific row of the matrix
|
![]() | GetRows |
Return the matrix corresponding to a specified row span of the input array
|
![]() | GetSchema |
Get the xml schema
(Inherited from CvArrayTDepth.) |
![]() | GetSubRect |
Get a submatrix corresponding to a specified rectangle
|
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | MinMax |
Returns the min / max locations and values for the matrix
|
![]() | Mul(Double) | Multiply the current matrix with scale |
![]() | Mul(MatrixTDepth) | Multiply the current matrix with mat2 |
![]() | ReadXml |
Function to call when deserializing this object from XML
(Inherited from CvArrayTDepth.) |
![]() | ReduceTOtherDepth |
Reduces matrix to a vector by treating the matrix rows/columns as a set of 1D vectors and performing the specified operation on the vectors until a single row/column is obtained.
(Inherited from CvArrayTDepth.) |
![]() | ReleaseManagedResources |
Release the managed resources. This function will be called during the disposal of the current object.
override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.) |
![]() | RemoveCols |
Return the matrix without a specified column span of the input array
|
![]() | RemoveRows |
Return the matrix without a specified row span of the input array
|
![]() | Reshape |
Get reshaped matrix which also share the same data with the current matrix
|
![]() | Save |
Save the CvArray as image
(Inherited from CvArrayTDepth.) |
![]() | SetIdentity |
Initialize the identity matrix
(Inherited from CvArrayTDepth.) |
![]() | SetIdentity(MCvScalar) |
Initializes scaled identity matrix
(Inherited from CvArrayTDepth.) |
![]() | SetRandNormal |
Inplace fills Array with normally distributed random numbers
(Inherited from CvArrayTDepth.) |
![]() | SetRandUniform |
Inplace fills Array with uniformly distributed random numbers
(Inherited from CvArrayTDepth.) |
![]() | SetValue(Double, CvArrayByte) |
Set the element of the Array to value, using the specific mask (Inherited from CvArrayTDepth.) |
![]() | SetValue(MCvScalar, CvArrayByte) |
Set the element of the Array to value, using the specific mask (Inherited from CvArrayTDepth.) |
![]() | SetZero |
Set the values to zero
(Inherited from CvArrayTDepth.) |
![]() | Split |
Get all channels for the multi channel matrix
|
![]() | Sub(TDepth) | Elementwise subtract a color val to the current matrix |
![]() | Sub(MatrixTDepth) | Elementwise subtract another matrix from the current matrix |
![]() | SubR |
result = val - this
|
![]() | ToString | (Inherited from Object.) |
![]() | ToUMat |
Get the umat representation of this mat
(Inherited from CvArrayTDepth.) |
![]() | Transpose | Returns the transpose of this matrix |
![]() | WriteXml |
Function to call when serializing this object to XML
(Inherited from CvArrayTDepth.) |
Name | Description | |
---|---|---|
![]() ![]() | Addition(Double, MatrixTDepth) | val + mat1 |
![]() ![]() | Addition(MatrixTDepth, MatrixTDepth) |
Elementwise add mat1 with mat2 |
![]() ![]() | Addition(MatrixTDepth, Double) |
Elementwise add mat1 with val |
![]() ![]() | Division | mat1 / val |
![]() ![]() | Multiply(Double, MatrixTDepth) | val * mat1 |
![]() ![]() | Multiply(MatrixTDepth, MatrixTDepth) | mat1 * mat2 |
![]() ![]() | Multiply(MatrixTDepth, Double) | mat1 * val |
![]() ![]() | Subtraction(Double, MatrixTDepth) | val - mat1 |
![]() ![]() | Subtraction(MatrixTDepth, MatrixTDepth) | mat1 - mat2 |
![]() ![]() | Subtraction(MatrixTDepth, Double) | mat1 - val |
Name | Description | |
---|---|---|
![]() | _cvMat |
The Mat header that represent this CvArr
(Inherited from CvArrayTDepth.) |
![]() | _dataHandle |
The pinned GCHandle to _array;
(Inherited from CvArrayTDepth.) |
![]() | _ptr |
A pointer to the unmanaged object
(Inherited from UnmanagedObject.) |