Emgu CV Library Documentation
CvArray<(Of <(TDepth>)>) Class
NamespacesEmgu.CVCvArray<(Of <(TDepth>)>)

www.emgu.com/wiki
Wrapped CvArr
Declaration Syntax
C#Visual BasicVisual C++
public abstract class CvArray<TDepth> : UnmanagedObject, 
	IXmlSerializable, ISerializable
Public MustInherit Class CvArray(Of TDepth) _
	Inherits UnmanagedObject _
	Implements IXmlSerializable, ISerializable
generic<typename TDepth>
public ref class CvArray abstract : public UnmanagedObject, 
	IXmlSerializable, ISerializable
Generic Template Parameters
TDepth
The type of elements in this CvArray
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
CvArray<(Of <(TDepth>)>)()()()
Initializes a new instance of the CvArray<(Of <(TDepth>)>) class

_And(CvArray<(Of <(TDepth>)>))
Inplace And operation with src2

_dataHandle
The pinned GCHandle to _array;

_Max(Double)
Inplace compute the elementwise maximum value with val

_Max(CvArray<(Of <(TDepth>)>))
Inplace elementwise maximize the current Array with src2

_Min(Double)
Inplace compute the elementwise minimum value

_Min(CvArray<(Of <(TDepth>)>))
Inplace elementwise minimize the current Array with src2

_Mul(Double)
Inplace multiply elements of the Array by scale

_Mul(CvArray<(Of <(TDepth>)>))
Inplace elementwise multiply the current Array with src2

_Not()()()
Inplace compute the complement for all Array Elements

_Or(CvArray<(Of <(TDepth>)>))
Inplace Or operation with src2

_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
_sizeOfElement
The size of the elements in the CvArray

AllocateData(Int32, Int32, Int32)
Allocate data for the array

Bytes
Get or Set an Array of bytes that represent the data in this array

Cols
The number of cols for this array

CopyTo(CvArray<(Of <(TDepth>)>))
Copy the current array to dest

DeserializeObjectData(SerializationInfo, StreamingContext)
A function used for runtime deserailization of the object

Dispose()()()
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Dispose(Boolean)
Release the all the memory associate with this object
(Inherited from DisposableObject.)
DisposeObject()()()
Free the _dataHandle if it is set
(Overrides DisposableObject.DisposeObject()()().)
DotProduct(CvArray<(Of <(TDepth>)>))
Calculates and returns the Euclidean dot product of two arrays. src1 dot src2 = sumI(src1(I)*src2(I))

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
EqualSize<(Of <(D2>)>)(CvArray<(Of <(D2>)>))
Determine if the size (width and height) of this Array equals the size of src2

Finalize()()()
Destructor
(Inherited from DisposableObject.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetObjectData(SerializationInfo, StreamingContext)
A function used for runtime serilization of the object

GetSchema()()()
Get the xml schema

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Height
Get the height (#Rows) of the cvArray. If ROI is set, the height of the ROI

ManagedArray
Get the underneath managed array

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Norm
The norm of this Array

NumberOfChannels
Get the number of channels of the array

OpencvFileFormats
File formats supported by OpenCV. File operations are natively handled by OpenCV if the type file belongs to one of following format.

Ptr
The pointer to the internal structure

ReadXml(XmlReader)
Function to call when deserializing this object from XML

Reduce<(Of <(TDepth2>)>)(CvArray<(Of <(TDepth2>)>), REDUCE_TYPE)
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.

Rows
The number of rows for this array

Save(String)
Save the CvArray as image

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

SetIdentity(MCvScalar)
Initializs scaled identity matrix

SetIdentity()()()
Initialize the identity matrix

SetRandNormal(UInt64, MCvScalar, MCvScalar)
Inplace fills Array with normally distributed random numbers

SetRandNormal(MCvScalar, MCvScalar)
Inplace fills Array with normally distributed random numbers

SetRandUniform(UInt64, MCvScalar, MCvScalar)
Inplace fills Array with uniformly distributed random numbers

SetRandUniform(MCvScalar, MCvScalar)
Inplace fills Array with uniformly distributed random numbers

SetValue(MCvScalar)
Set the element of the Array to val

SetValue(Double)
Set the element of the Array to val

SetValue(MCvScalar, CvArray<(Of <(Byte>)>))
Set the element of the Array to val, using the specific mask

SetValue(Double, CvArray<(Of <(Byte>)>))
Set the element of the Array to val, using the specific mask

SetZero()()()
Set the values to zero

Size
Get the size of the array

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Trace
Sum of diagonal elements of the matrix

Width
Get the width (#Cols) of the cvArray. If ROI is set, the width of the ROI

WriteXml(XmlWriter)
Function to call when serializing this object to XML

Inheritance Hierarchy

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.5.0.0 (1.5.0.0)