CudaImageTColor, TDepth Class |
Namespace: Emgu.CV.Cuda
public class CudaImage<TColor, TDepth> : GpuMat<TDepth> where TColor : struct, new(), IColor where TDepth : new()
The CudaImageTColor, TDepth type exposes the following members.
Name | Description | |
---|---|---|
![]() | CudaImageTColor, TDepth |
Create an empty CudaImage
|
![]() | CudaImageTColor, TDepth(Size) |
Create a CudaImage of the specific size
|
![]() | CudaImageTColor, TDepth(IInputArray) |
Create a GPU image from a regular image
|
![]() | CudaImageTColor, TDepth(Int32, Int32) |
Create a CudaImage of the specific size
|
![]() | CudaImageTColor, TDepth(Int32, Int32, Boolean) |
Create a CudaImage of the specific size
|
![]() | CudaImageTColor, TDepth(CudaImageTColor, TDepth, Range, Range) |
Create a CudaImage from the specific region of image. The data is shared between the two CudaImage
|
Name | Description | |
---|---|---|
![]() | Bitmap |
convert the current CudaImage to its equivalent Bitmap representation
|
![]() | Depth |
Depth type
(Inherited from GpuMat.) |
![]() | IsContinuous |
True if the data is continues
(Inherited from GpuMat.) |
![]() | IsEmpty |
True if the matrix is empty
(Inherited from GpuMat.) |
![]() | NumberOfChannels |
Number of channels
(Inherited from GpuMat.) |
![]() | Ptr |
Pointer to the unmanaged object
(Inherited from UnmanagedObject.) |
![]() | Size |
Get the GpuMat size:
width == number of columns, height == number of rows
(Inherited from GpuMat.) |
![]() | Type |
Get the type of the GpuMat
(Inherited from GpuMat.) |
Name | Description | |
---|---|---|
![]() | Clone |
Make a clone of the GpuMat
(Inherited from GpuMat.) |
![]() | Clone(Stream) |
Create a clone of this CudaImage
|
![]() | Col |
Returns a CudaImage corresponding to the ith column of the CudaImage. The data is shared with the current Image.
|
![]() | ColRange |
Returns a CudaImage corresponding to the [startend) columns of the CudaImage. The data is shared with the current Image.
|
![]() | ConvertTOtherColor, TOtherDepth | Convert the current CudaImage to the specific color and depth |
![]() | ConvertFromTSrcColor, 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.
|
![]() | 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.
(Inherited from GpuMat.) |
![]() | CopyTo |
Copy the source GpuMat to destination GpuMat, using an optional mask.
(Inherited from GpuMat.) |
![]() | Create |
allocates new GpuMat data unless the GpuMat already has specified size and type
(Inherited from GpuMat.) |
![]() | Dispose |
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.) |
![]() | DisposeObject |
Release the unmanaged memory associated with this GpuMat
(Inherited from GpuMat.) |
![]() | Download |
Downloads data from device to host memory.
(Inherited from GpuMat.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Equals(GpuMat) |
Returns true if the two GpuMat equals
(Inherited from GpuMat.) |
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | GetData |
Get a copy of the data values as an array
(Inherited from GpuMat.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetInputArray |
Pointer to the InputArray
(Inherited from GpuMat.) |
![]() | GetInputOutputArray |
Pointer to the InputOutputArray
(Inherited from GpuMat.) |
![]() | GetOutputArray |
Pointer to the OutputArray
(Inherited from GpuMat.) |
![]() | GetSubRect |
Returns a CudaImage corresponding to a specified rectangle of the current CudaImage. 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.
|
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | MergeFrom |
Makes multi-channel array out of several single-channel arrays
(Inherited from GpuMat.) |
![]() | MinMax |
Returns the min / max location and values for the image
(Inherited from GpuMat.) |
![]() | 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.
(Inherited from GpuMat.) |
![]() | Resize |
Resize the CudaImage. The calling GpuMat be GpuMat%lt;Byte>. If stream is specified, it has to be either 1 or 4 channels.
|
![]() | Row |
Returns a CudaImage corresponding to the ith row of the CudaImage. The data is shared with the current Image.
|
![]() | RowRange |
Returns a CudaImage corresponding to the [startend) rows of the CudaImage. The data is shared with the current Image.
|
![]() | Save |
Save the GpuMat to a file
(Inherited from GpuMat.) |
![]() | SetTo |
Copies scalar value to every selected element of the destination GpuMat:
arr(I)=value if mask(I)!=0
(Inherited from GpuMat.) |
![]() | 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
(Inherited from GpuMat.) |
![]() | ToImage |
Convert the current CudaImage to a regular Image.
|
![]() | ToMat |
Convert the GpuMat to Mat
(Inherited from GpuMat.) |
![]() | ToMatrix |
Convert this GpuMat to a Matrix
(Inherited from GpuMatTDepth.) |
![]() | ToString | (Inherited from Object.) |
![]() | Upload |
Upload data to GpuMat
(Inherited from GpuMat.) |
Name | Description | |
---|---|---|
![]() | _ptr |
A pointer to the unmanaged object
(Inherited from UnmanagedObject.) |