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

The Matrix<(Of <(<'TDepth>)>)> type exposes the following members.

# Methods

NameDescription
_And
Inplace And operation with src2
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
_Max(Double)
Inplace compute the elementwise maximum value with value
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
_Max(CvArray<(Of <<'(TDepth>)>>))
Inplace elementwise maximize the current Array with other
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
_Min(Double)
Inplace compute the elementwise minimum value
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
_Min(CvArray<(Of <<'(TDepth>)>>))
Inplace elementwise minimize the current Array with other
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
_Mul(Double)
Inplace multiply elements of the Array by scale
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
_Mul(CvArray<(Of <<'(TDepth>)>>))
Inplace elementwise multiply the current Array with src2
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
_Not
Inplace compute the complement for all array elements
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
_Or
Inplace Or operation with src2
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
Elementwise add a color val to the current matrix
Elementwise add another matrix with the current matrix
AllocateData
Allocate data for the array
(Overrides CvArray<(Of <(<'TDepth>)>)>..::..AllocateData(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 CvArray<(Of <(<'TDepth>)>)>.)
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.
Convert<(Of <<'(TOtherDepth>)>>)
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 dest
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
DeserializeObjectData
A function used for runtime deserailization of the object
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
Dispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
DisposeObject
Release the matrix and all the memory associate with it
(Overrides CvArray<(Of <(<'TDepth>)>)>..::..DisposeObject()()()().)
DotProduct
Calculates and returns the Euclidean dot product of two arrays. src1 dot src2 = sumI(src1(I)*src2(I))
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Equals(Matrix<(Of <<'(TDepth>)>>))
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
Serves as a hash function for a particular type.
(Inherited from Object.)
GetObjectData
A function used for runtime serialization of the object
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
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 CvArray<(Of <(<'TDepth>)>)>.)
GetSubRect
Get a submatrix corresponding to a specified rectangle
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
MinMax
Returns the min / max locations and values for the matrix
Mul(Double)
Multiply the current matrix with scale
Mul(Matrix<(Of <<'(TDepth>)>>))
Multiply the current matrix with mat2
Function to call when deserializing this object from XML
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
Reduce<(Of <<'(TOtherDepth>)>>)
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 CvArray<(Of <(<'TDepth>)>)>.)
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 CvArray<(Of <(<'TDepth>)>)>.)
SetIdentity()()()()
Initialize the identity matrix
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
SetIdentity(MCvScalar)
Initializs scaled identity matrix
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
SetRandNormal(MCvScalar, MCvScalar)
Inplace fills Array with normally distributed random numbers
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
SetRandNormal(UInt64, MCvScalar, MCvScalar)
Inplace fills Array with normally distributed random numbers
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
SetRandUniform(MCvScalar, MCvScalar)
Inplace fills Array with uniformly distributed random numbers
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
SetRandUniform(UInt64, MCvScalar, MCvScalar)
Inplace fills Array with uniformly distributed random numbers
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
SetValue(Double)
Set the element of the Array to val
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
SetValue(MCvScalar)
Set the element of the Array to val
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
SetValue(Double, CvArray<(Of <<'(Byte>)>>))
Set the element of the Array to val, using the specific mask
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
SetValue(MCvScalar, CvArray<(Of <<'(Byte>)>>))
Set the element of the Array to val, using the specific mask
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
SetZero
Set the values to zero
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)
Split
Get all channels for the multi channel matrix
Sub(TDepth)
Elementwise subtract a color val to the current matrix
Sub(Matrix<(Of <<'(TDepth>)>>))
Elementwise subtract another matrix from the current matrix
SubR
result = val - this
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Transpose
Returns the transpose of this matrix
WriteXml
Function to call when serializing this object to XML
(Inherited from CvArray<(Of <(<'TDepth>)>)>.)