Click or drag to resize
MatNDTDepth Class
http://www.emgu.com
A MatND is a wrapper to cvMatND of OpenCV.
Inheritance Hierarchy
SystemObject
  Emgu.UtilDisposableObject
    Emgu.UtilUnmanagedObject
      Emgu.CVCvArrayTDepth
        Emgu.CVMatNDTDepth

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.3.0.2824 (3.3.0.2824)
Syntax
[SerializableAttribute]
public class MatND<TDepth> : CvArray<TDepth>, 
	IEquatable<MatND<TDepth>>
where TDepth : new()

Type Parameters

TDepth
The type of depth

The MatNDTDepth type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyBytes
Get or Set an Array of bytes that represent the data in this array
(Inherited from CvArrayTDepth.)
Public propertyCols
The number of cols for this array
(Inherited from CvArrayTDepth.)
Protected propertyStatic memberCvDepth
Get the depth representation for openCV
Public propertyHeight
Get the height (#Rows) of the cvArray. If ROI is set, the height of the ROI
(Inherited from CvArrayTDepth.)
Public propertyManagedArray
Get the underneath managed array
(Overrides CvArrayTDepthManagedArray.)
Public propertyMat
Get the Mat header that represent this CvArr
(Inherited from CvArrayTDepth.)
Public propertyMCvMatND
The MCvMatND structure
Public propertyNorm
The norm of this Array
(Inherited from CvArrayTDepth.)
Public propertyNumberOfChannels
This function is not implemented for MatND
(Overrides CvArrayTDepthNumberOfChannels.)
Public propertyPtr
The pointer to the internal structure
(Inherited from CvArrayTDepth.)
Public propertyRows
The number of rows for this array
(Inherited from CvArrayTDepth.)
Public propertySerializationCompressionRatio
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.)
Public propertySize
Get the size of the array
(Inherited from CvArrayTDepth.)
Public propertyTrace
Sum of diagonal elements of the matrix
(Inherited from CvArrayTDepth.)
Public propertyWidth
Get the width (#Cols) of the cvArray. If ROI is set, the width of the ROI
(Inherited from CvArrayTDepth.)
Top
Methods
  NameDescription
Public method_And
Inplace And operation with otherArray
(Inherited from CvArrayTDepth.)
Public method_Max(Double)
Inplace compute the elementwise maximum value with value
(Inherited from CvArrayTDepth.)
Public method_Max(CvArrayTDepth)
Inplace elementwise maximize the current Array with other
(Inherited from CvArrayTDepth.)
Public method_Min(Double)
Inplace compute the elementwise minimum value
(Inherited from CvArrayTDepth.)
Public method_Min(CvArrayTDepth)
Inplace elementwise minimize the current Array with other
(Inherited from CvArrayTDepth.)
Public method_Mul(Double)
Inplace multiply elements of the Array by scale
(Inherited from CvArrayTDepth.)
Public method_Mul(CvArrayTDepth)
Inplace elementwise multiply the current Array with src2
(Inherited from CvArrayTDepth.)
Public method_Not
Inplace compute the complement for all array elements
(Inherited from CvArrayTDepth.)
Public method_Or
Inplace Or operation with otherArray
(Inherited from CvArrayTDepth.)
Protected methodAllocateData
This function is not implemented for MatND
(Overrides CvArrayTDepthAllocateData(Int32, Int32, Int32).)
Public methodCheckRange
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.)
Public methodConvertTOtherDepth
Convert this matrix to different depth
Public methodCopyTo
Copy the current array to destination
(Inherited from CvArrayTDepth.)
Protected methodDeserializeObjectData
A function used for runtime deserailization of the object
(Overrides CvArrayTDepthDeserializeObjectData(SerializationInfo, StreamingContext).)
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release the matrix and all the memory associate with it
(Overrides CvArrayTDepthDisposeObject.)
Public methodDotProduct
Calculates and returns the Euclidean dot product of two arrays. src1 dot src2 = sumI(src1(I)*src2(I))
(Inherited from CvArrayTDepth.)
Public methodEquals(Object) (Inherited from Object.)
Public methodEquals(MatNDTDepth)
Check if the two MatND are equal
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetInputArray
The unmanaged pointer to the input array.
(Inherited from CvArrayTDepth.)
Public methodGetInputOutputArray
The unmanaged pointer to the input output array.
(Inherited from CvArrayTDepth.)
Public methodGetObjectData
A function used for runtime serialization of the object
(Overrides CvArrayTDepthGetObjectData(SerializationInfo, StreamingContext).)
Public methodGetOutputArray
The unmanaged pointer to the output array.
(Inherited from CvArrayTDepth.)
Public methodGetSchema
Get the xml schema
(Inherited from CvArrayTDepth.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReadXml
Not Implemented
(Overrides CvArrayTDepthReadXml(XmlReader).)
Public methodReduceTOtherDepth
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.)
Protected methodReleaseManagedResources
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.)
Public methodSave
Save the CvArray as image
(Inherited from CvArrayTDepth.)
Public methodSetIdentity
Initialize the identity matrix
(Inherited from CvArrayTDepth.)
Public methodSetIdentity(MCvScalar)
Initializes scaled identity matrix
(Inherited from CvArrayTDepth.)
Public methodSetRandNormal
Inplace fills Array with normally distributed random numbers
(Inherited from CvArrayTDepth.)
Public methodSetRandUniform
Inplace fills Array with uniformly distributed random numbers
(Inherited from CvArrayTDepth.)
Public methodSetValue(Double, CvArrayByte)
Set the element of the Array to value, using the specific mask
(Inherited from CvArrayTDepth.)
Public methodSetValue(MCvScalar, CvArrayByte)
Set the element of the Array to value, using the specific mask
(Inherited from CvArrayTDepth.)
Public methodSetZero
Set the values to zero
(Inherited from CvArrayTDepth.)
Public methodToString (Inherited from Object.)
Public methodToUMat
Get the umat representation of this mat
(Inherited from CvArrayTDepth.)
Public methodWriteXml
Not Implemented
(Overrides CvArrayTDepthWriteXml(XmlWriter).)
Top
Fields
See Also