Click or drag to resize

GpuMatTDepth Class

http://www.emgu.com
Similar to CvArray but use GPU for processing
Inheritance Hierarchy

Namespace:  Emgu.CV.Cuda
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public class GpuMat<TDepth> : GpuMat
where TDepth : new()

Type Parameters

TDepth
The type of element in the matrix

The GpuMatTDepth type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyBitmap
Get the Bitmap from this GpuMat
(Inherited from GpuMat.)
Public propertyDepth
Depth type
(Inherited from GpuMat.)
Public propertyIsContinuous
True if the data is continues
(Inherited from GpuMat.)
Public propertyIsEmpty
True if the matrix is empty
(Inherited from GpuMat.)
Public propertyNumberOfChannels
Number of channels
(Inherited from GpuMat.)
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Public propertySize
Get the GpuMat size: width == number of columns, height == number of rows
(Inherited from GpuMat.)
Public propertyType
Get the type of the GpuMat
(Inherited from GpuMat.)
Top
Methods
  NameDescription
Public methodClone
Make a clone of the GpuMat
(Inherited from GpuMat.)
Public methodCol
Returns a GpuMat corresponding to the ith column of the GpuMat. The data is shared with the current GpuMat.
(Inherited from GpuMat.)
Public methodColRange
Returns a GpuMat corresponding to the [startend) columns of the GpuMat. The data is shared with the current GpuMat.
(Inherited from GpuMat.)
Public methodConvertTo
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.
(Inherited from GpuMat.)
Public methodCopyTo
Copy the source GpuMat to destination GpuMat, using an optional mask.
(Inherited from GpuMat.)
Public methodCreate
allocates new GpuMat data unless the GpuMat already has specified size and type
(Inherited from GpuMat.)
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release the unmanaged memory associated with this GpuMat
(Inherited from GpuMat.)
Public methodDownload
Downloads data from device to host memory.
(Inherited from GpuMat.)
Public methodEquals(Object) (Inherited from Object.)
Public methodEquals(GpuMat)
Returns true if the two GpuMat equals
(Inherited from GpuMat.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetData
Get a copy of the data values as an array
(Inherited from GpuMat.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetInputArray
Pointer to the InputArray
(Inherited from GpuMat.)
Public methodGetInputOutputArray
Pointer to the InputOutputArray
(Inherited from GpuMat.)
Public methodGetOutputArray
Pointer to the OutputArray
(Inherited from GpuMat.)
Public methodGetSubRect
Returns a GpuMat corresponding to a specified rectangle of the current GpuMat. The data is shared with the current matrix. In other words, it allows the user to treat a rectangular part of input array as a stand-alone array.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMergeFrom
Makes multi-channel array out of several single-channel arrays
(Inherited from GpuMat.)
Public methodMinMax
Returns the min / max location and values for the image
(Inherited from GpuMat.)
Protected methodReleaseManagedResources
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.)
Public methodReshape
Changes shape of GpuMat without copying data.
(Inherited from GpuMat.)
Public methodRow
Returns a GpuMat corresponding to the ith row of the GpuMat. The data is shared with the current GpuMat.
(Inherited from GpuMat.)
Public methodRowRange
Returns a GpuMat corresponding to the [startend) rows of the GpuMat. The data is shared with the current GpuMat.
(Inherited from GpuMat.)
Public methodSave
Save the GpuMat to a file
(Inherited from GpuMat.)
Public methodSetTo
Copies scalar value to every selected element of the destination GpuMat: arr(I)=value if mask(I)!=0
(Inherited from GpuMat.)
Public methodSplit
Split current GpuMat into an array of single channel GpuMat where each element in the array represent a single channel of the original GpuMat
(Inherited from GpuMat.)
Public methodToMat
Convert the GpuMat to Mat
(Inherited from GpuMat.)
Public methodToMatrix
Convert this GpuMat to a Matrix
Public methodToString (Inherited from Object.)
Public methodUpload
Upload data to GpuMat
(Inherited from GpuMat.)
Top
Fields
  NameDescription
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
See Also