Click or drag to resize

GpuMat Methods

http://www.emgu.com

The GpuMat type exposes the following members.

Methods
  NameDescription
Public methodClone
Make a clone of the GpuMat
Public methodCol
Returns a GpuMat corresponding to the ith column of the GpuMat. The data is shared with the current GpuMat.
Public methodColRange
Returns a GpuMat corresponding to the [startend) columns of the GpuMat. The data is shared with the current 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.
Public methodCopyTo
Copy the source GpuMat to destination GpuMat, using an optional mask.
Public methodCreate
allocates new GpuMat data unless the GpuMat already has specified size and type
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release the unmanaged memory associated with this GpuMat
(Overrides DisposableObjectDisposeObject.)
Public methodDownload
Downloads data from device to host memory.
Public methodEquals(Object) (Inherited from Object.)
Public methodEquals(GpuMat)
Returns true if the two GpuMat equals
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetData
Get a copy of the data values as an array
Public methodGetHashCode (Inherited from Object.)
Public methodGetInputArray
Pointer to the InputArray
Public methodGetInputOutputArray
Pointer to the InputOutputArray
Public methodGetOutputArray
Pointer to the OutputArray
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMergeFrom
Makes multi-channel array out of several single-channel arrays
Public methodMinMax
Returns the min / max location and values for the image
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.
Public methodRow
Returns a GpuMat corresponding to the ith row of the GpuMat. The data is shared with the current GpuMat.
Public methodRowRange
Returns a GpuMat corresponding to the [startend) rows of the GpuMat. The data is shared with the current GpuMat.
Public methodSave
Save the GpuMat to a file
Public methodSetTo
Copies scalar value to every selected element of the destination GpuMat: arr(I)=value if mask(I)!=0
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
Public methodToMat
Convert the GpuMat to Mat
Public methodToString (Inherited from Object.)
Public methodUpload
Upload data to GpuMat
Top
Extension Methods
  NameDescription
Public Extension MethodForEachDuplicateChannel(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.)
Public Extension MethodForEachDuplicateChannelTReturn(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.)
Public Extension MethodIsUmat
Determines whether the specified input array is umat.
(Defined by IInputArrayExtensions.)
Top
See Also