GpuMat Class |
Namespace: Emgu.CV.Cuda
The GpuMat type exposes the following members.
Name | Description | |
---|---|---|
![]() | GpuMat |
Create an empty GpuMat
|
![]() | GpuMat(IInputArray) |
Create a GpuMat from an CvArray of the same depth type
|
![]() | GpuMat(GpuMat, Range, Range) |
Create a GpuMat from the specific region of mat. The data is shared between the two GpuMat
|
![]() | GpuMat(Int32, Int32, DepthType, Int32, Boolean) |
Create a GpuMat of the specified size
|
Name | Description | |
---|---|---|
![]() | Bitmap |
Get the Bitmap from this GpuMat
|
![]() | Depth |
Depth type
|
![]() | IsContinuous |
True if the data is continues
|
![]() | IsEmpty |
True if the matrix is empty
|
![]() | NumberOfChannels |
Number of channels
|
![]() | Ptr |
Pointer to the unmanaged object
(Inherited from UnmanagedObject.) |
![]() | Size |
Get the GpuMat size:
width == number of columns, height == number of rows
|
![]() | Type |
Get the type of the GpuMat
|
Name | Description | |
---|---|---|
![]() | Clone |
Make a clone of the GpuMat
|
![]() | 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 |
allocates new GpuMat data unless the GpuMat already has specified size and type
|
![]() | 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.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Equals(GpuMat) |
Returns true if the two GpuMat equals
|
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | GetData |
Get a copy of the data values as an array
|
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetInputArray |
Pointer to the InputArray
|
![]() | GetInputOutputArray |
Pointer to the InputOutputArray
|
![]() | GetOutputArray |
Pointer to the OutputArray
|
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (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 |
Save the GpuMat to a file
|
![]() | 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 |
Convert the GpuMat to Mat
|
![]() | ToString | (Inherited from Object.) |
![]() | Upload |
Upload data to GpuMat
|
Name | Description | |
---|---|---|
![]() | _ptr |
A pointer to the unmanaged object
(Inherited from UnmanagedObject.) |
Name | Description | |
---|---|---|
![]() | ForEachDuplicateChannel(ActionIInputArray, Int32) | Overloaded.
Apply converter and compute result for each channel of the image, for single channel image, apply converter directly, for multiple channel image, make a copy of each channel to a temperary image and apply the convertor
(Defined by IInputArrayExtensions.) |
![]() | ForEachDuplicateChannelTReturn(FuncIInputArray, Int32, TReturn) | Overloaded.
Apply converter and compute result for each channel of the image, for single channel image, apply converter directly, for multiple channel image, make a copy of each channel to a temperary image and apply the convertor
(Defined by IInputArrayExtensions.) |
![]() | IsUmat |
Determines whether the specified input array is umat.
(Defined by IInputArrayExtensions.) |