Similar to CvArray but use GPU for processing

Namespace: Emgu.CV.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class GpuMat<TDepth> : UnmanagedObject, IEquatable<GpuMat<TDepth>>
where TDepth : new()
Public Class GpuMat(Of TDepth As New) _
	Inherits UnmanagedObject _
	Implements IEquatable(Of GpuMat(Of TDepth))
generic<typename TDepth>
where TDepth : gcnew()
public ref class GpuMat : public UnmanagedObject, 
	IEquatable<GpuMat<TDepth>^>

Type Parameters

TDepth
The type of element in the matrix

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
GpuMat<(Of <(<'TDepth>)>)>(CvArray<(Of <<'(TDepth>)>>))
Create a GpuMat from an CvArray of the same depth type
GpuMat<(Of <(<'TDepth>)>)>(Size, Int32)
Create a GpuMat of the specified size
GpuMat<(Of <(<'TDepth>)>)>(Int32, Int32, Int32)
Create a GpuMat of the specified size
_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Convert<(Of <<'(TOtherDepth>)>>)(Stream)
Convert this GpuMat to different depth
Dispose()()()()
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
DisposeObject()()()()
Release the unmanaged memory associated with this GpuMat
(Overrides DisposableObject..::..DisposeObject()()()().)
Download(CvArray<(Of <<'(TDepth>)>>))
Downloads data from device to host memory. Blocking calls
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Equals(GpuMat<(Of <<'(TDepth>)>>))
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.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MergeFrom(array<GpuMat<(Of <<'(TDepth>)>>)>[]()[][], Stream)
Makes multi-channel array out of several single-channel arrays
MinMax(array<Double>[]()[][]%, array<Double>[]()[][]%, array<Point>[]()[][]%, array<Point>[]()[][]%)
Returns the min / max location and values for the image
NumberOfChannels
Get the number of channels in the GpuMat
Ptr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
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(Int32, Int32)
Changes shape of GpuMat without copying data.
SetTo(MCvScalar, GpuMat<(Of <<'(Byte>)>>), Stream)
Copies scalar value to every selected element of the destination GpuMat: GpuMat(I)=value if mask(I)!=0
Size
Get the GpuMat size: width == number of columns, height == number of rows
Split(Stream)
Split current GpuMat into an array of single channel GpuMat where each element in the array represent a single channel of the original GpuMat
SplitInto(array<GpuMat<(Of <<'(TDepth>)>>)>[]()[][], Stream)
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
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Upload(CvArray<(Of <<'(TDepth>)>>))
Pefroms blocking upload data to GpuMat

Inheritance Hierarchy

See Also