An GpuImage is very similar to the Emgu.CV.Image except that it is being used for GPU processing
Namespace: Emgu.CV.GPUAssembly: 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 GpuImage<TColor, TDepth> : GpuMat<TDepth>, IImage, IDisposable, ICloneable where TColor : struct, new(), IColor where TDepth : new()
Public Class GpuImage(Of TColor As {Structure, New, IColor}, TDepth As New) _ Inherits GpuMat(Of TDepth) _ Implements IImage, IDisposable, ICloneable
generic<typename TColor, typename TDepth> where TColor : value class, gcnew(), IColor where TDepth : gcnew() public ref class GpuImage : public GpuMat<TDepth>, IImage, IDisposable, ICloneable
Type Parameters
- TColor
- Color type of this image (either Gray, Bgr, Bgra, Hsv, Hls, Lab, Luv, Xyz, Ycc, Rgb or Rbga)
- TDepth
- Depth of this image (either Byte, SByte, Single, double, UInt16, Int16 or Int32)
Members
All Members | Constructors ![]() | Fields ![]() | Properties ![]() | Methods ![]() |
![]() ![]() | ![]() ![]() ![]() | ![]() ![]() | ![]() ![]() ![]() ![]() |
Member | Description | |
---|---|---|
![]() | GpuImage<(Of <(<'TColor, TDepth>)>)>(Size) |
Create a GpuImage of the specific size
|
![]() | GpuImage<(Of <(<'TColor, TDepth>)>)>(Image<(Of <<'(TColor, TDepth>)>>)) |
Create a GPU image from a regular image
|
![]() | GpuImage<(Of <(<'TColor, TDepth>)>)>(Int32, Int32) |
Create a GpuImage of the specific size
|
![]() | _ptr |
A pointer to the unmanaged object
(Inherited from UnmanagedObject.) |
![]() | Bitmap |
convert the current GpuImage to its equavalent Bitmap representation
|
![]() | Clone()()()() |
Create a clone of this GpuImage
|
![]() | Convert<(Of <<'(TOtherColor, TOtherDepth>)>>)()()()() | Convert the current GpuImage to the specific color and depth |
![]() | Convert<(Of <<'(TOtherDepth>)>>)(Stream) |
Convert this GpuMat to different depth
(Inherited from GpuMat<(Of <(<'TDepth>)>)>.) |
![]() | ConvertFrom<(Of <<'(TSrcColor, TSrcDepth>)>>)(GpuImage<(Of <<'(TSrcColor, TSrcDepth>)>>)) |
Convert the source image to the current image, if the size are different, the current image will be a resized version of the srcImage.
|
![]() | Convolution(ConvolutionKernelF) |
Performs a convolution using the specific kernel |
![]() | Dispose()()()() |
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.) |
![]() | DisposeObject()()()() |
Release the unmanaged memory associated with this GpuMat
(Inherited from GpuMat<(Of <(<'TDepth>)>)>.) |
![]() | Download(CvArray<(Of <<'(TDepth>)>>)) |
Downloads data from device to host memory. Blocking calls
(Inherited from GpuMat<(Of <(<'TDepth>)>)>.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Equals(GpuMat<(Of <<'(TDepth>)>>)) |
Returns true if the two GpuMat equals
(Inherited from GpuMat<(Of <(<'TDepth>)>)>.) |
![]() | 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
(Inherited from GpuMat<(Of <(<'TDepth>)>)>.) |
![]() | MinMax(array<Double>[]()[][]%, array<Double>[]()[][]%, array<Point>[]()[][]%, array<Point>[]()[][]%) |
Returns the min / max location and values for the image
(Inherited from GpuMat<(Of <(<'TDepth>)>)>.) |
![]() | NumberOfChannels |
Get the number of channels in the GpuMat
(Inherited from GpuMat<(Of <(<'TDepth>)>)>.) |
![]() | 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.
(Inherited from GpuMat<(Of <(<'TDepth>)>)>.) |
![]() | Resize(Size, INTER) |
Resize the GpuImage.
Only TDepth of Byte is supported.
|
![]() | Save(String) |
Saving the GPU image to file
|
![]() | SetTo(MCvScalar, GpuMat<(Of <<'(Byte>)>>), Stream) |
Copies scalar value to every selected element of the destination GpuMat:
GpuMat(I)=value if mask(I)!=0
(Inherited from GpuMat<(Of <(<'TDepth>)>)>.) |
![]() | Size |
Get the GpuMat size:
width == number of columns, height == number of rows
(Inherited from GpuMat<(Of <(<'TDepth>)>)>.) |
![]() | Split(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
|
![]() | 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
(Inherited from GpuMat<(Of <(<'TDepth>)>)>.) |
![]() | ToImage()()()() |
Convert the current GpuImage to a regular Image.
|
![]() | ToString()()()() | (Inherited from Object.) |
![]() | Upload(CvArray<(Of <<'(TDepth>)>>)) |
Pefroms blocking upload data to GpuMat
(Inherited from GpuMat<(Of <(<'TDepth>)>)>.) |
Inheritance Hierarchy
System..::..Object
Emgu.Util..::..DisposableObject
Emgu.Util..::..UnmanagedObject
Emgu.CV.GPU..::..GpuMat<(Of <(<'TDepth>)>)>
Emgu.CV.GPU..::..GpuImage<(Of <(<'TColor, TDepth>)>)>
Emgu.Util..::..DisposableObject
Emgu.Util..::..UnmanagedObject
Emgu.CV.GPU..::..GpuMat<(Of <(<'TDepth>)>)>
Emgu.CV.GPU..::..GpuImage<(Of <(<'TColor, TDepth>)>)>