UMat Class |
Namespace: Emgu.CV
The UMat type exposes the following members.
Name | Description | |
---|---|---|
![]() | UMat |
Create an empty cv::UMat
|
![]() | UMat(SerializationInfo, StreamingContext) |
Constructor used to deserialize runtime serialized object
|
![]() | UMat(UMat, Rectangle) |
Get the Umat header for the specific roi of the parent
|
![]() | UMat(Size, DepthType, Int32, UMatUsage) |
Create a umat of the specific type.
|
![]() | UMat(Int32, Int32, DepthType, Int32, UMatUsage) |
Create a umat of the specific type.
|
Name | Description | |
---|---|---|
![]() | Bitmap |
The Get property provide a more efficient way to convert Image<Gray, Byte>, Image<Bgr, Byte> and Image<Bgra, Byte> into Bitmap
such that the image data is shared with Bitmap.
If you change the pixel value on the Bitmap, you change the pixel values on the Image object as well!
For other types of image this property has the same effect as ToBitmap()
Take extra caution not to use the Bitmap after the Image object is disposed
The Set property convert the bitmap to this Image type.
|
![]() | Bytes | |
![]() | Cols |
The number of columns
|
![]() | Data |
Get the managed data used by the Mat
(Inherited from MatDataAllocator.) |
![]() | Depth |
Depth type
|
![]() | Dims |
The matrix dimensionality
|
![]() | ElementSize |
The size of the elements in this matrix
|
![]() | IsContinuous |
True if the data is continues
|
![]() | IsEmpty |
True if the matrix is empty
|
![]() | IsSubmatrix |
True if the matrix is a submatrix of another matrix
|
![]() | NumberOfChannels |
Number of channels
|
![]() | Ptr |
Pointer to the unmanaged object
(Inherited from UnmanagedObject.) |
![]() | Rows |
The number of rows
|
![]() | Size |
The size of this matrix
|
![]() | Total |
The method returns the number of array elements (a number of pixels if the array represents an image)
|
Name | Description | |
---|---|---|
![]() | Clone |
Make a clone of the current UMat.
|
![]() | ConvertTo |
Converts an array to another data type with optional scaling.
|
![]() | CopyTo(IOutputArray, IInputArray) |
Copy the data in this umat to the other mat
|
![]() | CopyToT(T) |
Copy data from this Mat to the managed array
|
![]() | Create |
Allocates new array data if needed.
|
![]() | DeserializeObjectData |
A function used for runtime deserailization of the object
|
![]() | Dispose |
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.) |
![]() | DisposeObject |
Release all the unmanaged memory associated with this object.
(Overrides MatDataAllocatorDisposeObject.) |
![]() | Dot |
Computes the dot product of two mats
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Equals(UMat) |
Indicates whether the current object is equal to another object of the same type.
|
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetInputArray |
Pointer to the InputArray
|
![]() | GetInputOutputArray |
Pointer to the InputOutputArray
|
![]() | GetObjectData |
A function used for runtime serialization of the object
|
![]() | GetOutputArray |
Pointer to the OutputArray
|
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | MinMax |
Returns the min / max location and values for the image
|
![]() | 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.) |
![]() | Reshape |
Changes the shape and/or the number of channels of a 2D matrix without copying the data.
|
![]() | Save |
Save this image to the specific file.
|
![]() | SetTo(IInputArray, IInputArray) |
Sets all or some of the array elements to the specified value.
|
![]() | SetTo(MCvScalar, IInputArray) |
Sets all or some of the array elements to the specified value.
|
![]() | SetToT(T) |
Copy data from managed array to this Mat
|
![]() | Split |
Split current Image into an array of gray scale images where each element
in the array represent a single color channel of the original image
|
![]() | ToImageTColor, TDepth |
Convert this Mat to Image
|
![]() | ToMat |
Return the Mat representation of the UMat
|
![]() | ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | _ptr |
A pointer to the unmanaged object
(Inherited from UnmanagedObject.) |
Name | Description | |
---|---|---|
![]() | IsUmat |
Determines whether the specified input array is umat.
(Defined by IInputArrayExtensions.) |