Click or drag to resize
CvArrayTDepth Class
http://www.emgu.com
Wrapped CvArr
Inheritance Hierarchy

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public abstract class CvArray<TDepth> : UnmanagedObject, 
	IXmlSerializable, IInputOutputArray, IInputArrayOfArrays, IOutputArrayOfArrays, IOutputArray, 
	IInputArray, ISerializable
where TDepth : new()

Type Parameters

TDepth
The type of elements in this CvArray

The CvArrayTDepth type exposes the following members.

Constructors
  NameDescription
Protected methodCvArrayTDepth
Initializes a new instance of the CvArrayTDepth class
Top
Properties
  NameDescription
Public propertyBytes
Get or Set an Array of bytes that represent the data in this array
Public propertyCols
The number of cols for this array
Public propertyHeight
Get the height (#Rows) of the cvArray. If ROI is set, the height of the ROI
Public propertyManagedArray
Get the underneath managed array
Public propertyMat
Get the Mat header that represent this CvArr
Public propertyNorm
The norm of this Array
Public propertyNumberOfChannels
Get the number of channels of the array
Public propertyPtr
The pointer to the internal structure
Public propertyRows
The number of rows for this array
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
Public propertySize
Get the size of the array
Public propertyStatic memberSizeOfElement
Get the size of element in bytes
Public propertyTrace
Sum of diagonal elements of the matrix
Public propertyWidth
Get the width (#Cols) of the cvArray. If ROI is set, the width of the ROI
Top
Methods
  NameDescription
Public method_And
Inplace And operation with otherArray
Public method_Max(Double)
Inplace compute the elementwise maximum value with value
Public method_Max(CvArrayTDepth)
Inplace elementwise maximize the current Array with other
Public method_Min(Double)
Inplace compute the elementwise minimum value
Public method_Min(CvArrayTDepth)
Inplace elementwise minimize the current Array with other
Public method_Mul(Double)
Inplace multiply elements of the Array by scale
Public method_Mul(CvArrayTDepth)
Inplace elementwise multiply the current Array with src2
Public method_Not
Inplace compute the complement for all array elements
Public method_Or
Inplace Or operation with otherArray
Protected methodAllocateData
Allocate data for the array
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.
Public methodCopyTo
Copy the current array to destination
Protected methodDeserializeObjectData
A function used for runtime deserailization of the object
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Free the _dataHandle if it is set
(Overrides DisposableObjectDisposeObject.)
Public methodDotProduct
Calculates and returns the Euclidean dot product of two arrays. src1 dot src2 = sumI(src1(I)*src2(I))
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetInputArray
The unmanaged pointer to the input array.
Public methodGetInputOutputArray
The unmanaged pointer to the input output array.
Public methodGetObjectData
A function used for runtime serialization of the object
Public methodGetOutputArray
The unmanaged pointer to the output array.
Public methodGetSchema
Get the xml schema
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReadXml
Function to call when deserializing this object from XML
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.
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
Public methodSetIdentity
Initialize the identity matrix
Public methodSetIdentity(MCvScalar)
Initializes scaled identity matrix
Public methodSetRandNormal
Inplace fills Array with normally distributed random numbers
Public methodSetRandUniform
Inplace fills Array with uniformly distributed random numbers
Public methodSetValue(Double, CvArrayByte)
Set the element of the Array to value, using the specific mask
Public methodSetValue(MCvScalar, CvArrayByte)
Set the element of the Array to value, using the specific mask
Public methodSetZero
Set the values to zero
Public methodToString (Inherited from Object.)
Public methodToUMat
Get the umat representation of this mat
Public methodWriteXml
Function to call when serializing this object to XML
Top
Fields
  NameDescription
Protected field_cvMat
The Mat header that represent this CvArr
Protected field_dataHandle
The pinned GCHandle to _array;
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
Extension Methods
  NameDescription
Public Extension MethodIsUmat
Determines whether the specified input array is umat.
(Defined by IInputArrayExtensions.)
Top
See Also