GpuMat Methods |
The GpuMat type exposes the following members.
Name | Description | |
---|---|---|
![]() | Clone | |
![]() | Col |
Returns a GpuMat corresponding to the ith column of the GpuMat. The data is shared with the current GpuMat.
|
![]() | ColRange |
Returns a GpuMat corresponding to the [startend) columns of the GpuMat. The data is shared with the current GpuMat.
|
![]() | ConvertTo |
This function has several different purposes and thus has several synonyms. It copies one GpuMat to another with optional scaling, which is performed first, and/or optional type conversion, performed after:
dst(I)=src(I)*scale + (shift,shift,...)
All the channels of multi-channel GpuMats are processed independently.
The type conversion is done with rounding and saturation, that is if a result of scaling + conversion can not be represented exactly by a value of destination GpuMat element type, it is set to the nearest representable value on the real axis.
In case of scale=1, shift=0 no prescaling is done. This is a specially optimized case and it has the appropriate convertTo synonym.
|
![]() | CopyTo |
Copy the source GpuMat to destination GpuMat, using an optional mask.
|
![]() | Create | |
![]() | Dispose |
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.) |
![]() | DisposeObject |
Release the unmanaged memory associated with this GpuMat
(Overrides DisposableObjectDisposeObject.) |
![]() | Download |
Downloads data from device to host memory. Blocking calls
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Equals(GpuMat) |
Returns true if the two GpuMat equals
|
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetInputArray |
Pointer to the InputArray
|
![]() | GetInputOutputArray |
Pointer to the InputOutputArray
|
![]() | GetOutputArray |
Pointer to the OutputArray
|
![]() | GetType | Gets the type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MergeFrom |
Makes multi-channel array out of several single-channel arrays
|
![]() | 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 shape of GpuMat without copying data.
|
![]() | Row |
Returns a GpuMat corresponding to the ith row of the GpuMat. The data is shared with the current GpuMat.
|
![]() | RowRange |
Returns a GpuMat corresponding to the [startend) rows of the GpuMat. The data is shared with the current GpuMat.
|
![]() | Save | |
![]() | SetTo |
Copies scalar value to every selected element of the destination GpuMat:
arr(I)=value if mask(I)!=0
|
![]() | Split |
Split current GpuMat into an array of single channel GpuMat where each element
in the array represent a single channel of the original GpuMat
|
![]() | ToMat | |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Upload |
Performs blocking upload data to GpuMat
|
Name | Description | |
---|---|---|
![]() | IsUmat |
Determines whether the specified input array is umat.
(Defined by IInputArrayExtensions.) |