﻿Matrix(TDepth) Methods  MatrixTDepth Methods
http://www.emgu.com

The MatrixTDepth generic type exposes the following members. Methods
NameDescription _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.)
Top See Also