CvMat Properties OpenCvSharp Class Library

The CvMat type exposes the following members.

Properties

  NameDescription
Protected propertyAllocatedMemory
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.)
Protected propertyAllocatedMemorySize
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.)
Public propertyCols
number of columns
Public propertyCvPtr
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.)
Public propertyData
Data pointer
Public propertyDataArrayByte
Data pointer(byte*) which can be accessed without unsafe code.
Public propertyDataArrayDouble
Data pointer(double*) which can be accessed without unsafe code.
Public propertyDataArrayInt16
Data pointer(short*) which can be accessed without unsafe code.
Public propertyDataArrayInt32
Data pointer(int*) which can be accessed without unsafe code.
Public propertyDataArraySingle
Data pointer(float*) which can be accessed without unsafe code.
Public propertyDataByte
Data pointer as byte*
Public propertyDataDouble
Data pointer as double*
Public propertyDataInt16
Data pointer as short*
Public propertyDataInt32
Data pointer as int*
Public propertyDataSingle
Data pointer as float*
Public propertyDims
Number of dimensions (=2)
(Overrides CvArrDims.)
Public propertyElemChannels
Get number of channels
(Inherited from CvArr.)
Public propertyElemDepth
Get bit Depth
(Inherited from CvArr.)
Public propertyElemType
Get type of the array
(Inherited from CvArr.)
Public propertyHeight
number of columns
Public propertyIsDisposed
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.)
Public propertyIsEnabledDispose
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.)
Public propertyItemInt32
Return the particular array element (cvGet1D/Set1D)
(Inherited from CvArr.)
Public propertyItemInt32, Int32
Gets/Sets the particular element of single-channel floating-point matrix (cvmGet/cvmSet)
Public propertyItemInt32, Int32, Int32
Return the particular array element (cvGet3D/Set3D)
(Inherited from CvArr.)
Public propertyRefCount
Public propertyRows
number of rows
Public propertyStep
Full row length in bytes
Public propertyType
CvMat signature (CV_MAT_MAGIC_VAL), element type and flags
Public propertyWidth
number of rows
Top
See Also

Reference