Click or drag to resize
CudaInvoke Class
http://www.emgu.com
This class wraps the functional calls to the opencv_gpu module
Inheritance Hierarchy
SystemObject
  Emgu.CV.CudaCudaInvoke

Namespace: Emgu.CV.Cuda
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public static class CudaInvoke

The CudaInvoke type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberHasCuda
Return true if Cuda is found on the system
Top
Methods
  NameDescription
Public methodStatic memberAbs
Computes absolute value of each pixel in an image
Public methodStatic memberAbsdiff
Computes element-wise absolute difference of two GpuMats (c = abs(a - b)).
Public methodStatic memberAbsSum
Returns the sum of absolute values for matrix elements.
Public methodStatic memberAdd
Adds one matrix to another (c = a + b).
Public methodStatic memberAddWeighted
Computes the weighted sum of two arrays (dst = alpha*src1 + beta*src2 + gamma)
Public methodStatic memberAlphaComp
Composites two images using alpha opacity values contained in each image.
Public methodStatic memberBilateralFilter
Applies bilateral filter to the image.
Public methodStatic memberBitwiseAnd
Calculates per-element bit-wise logical and of two GpuMats: dst(I)=src1(I) & src2(I) if mask(I)!=0 In the case of floating-point GpuMats their bit representations are used for the operation. All the GpuMats must have the same type, except the mask, and the same size
Public methodStatic memberBitwiseNot
Calculates per-element bit-wise logical not dst(I)=~src(I) if mask(I)!=0 In the case of floating-point GpuMats their bit representations are used for the operation. All the GpuMats must have the same type, except the mask, and the same size
Public methodStatic memberBitwiseOr
Calculates per-element bit-wise logical or of two GpuMats: dst(I)=src1(I) | src2(I) if mask(I)!=0 In the case of floating-point GpuMats their bit representations are used for the operation. All the GpuMats must have the same type, except the mask, and the same size
Public methodStatic memberBitwiseXor
Calculates per-element bit-wise logical conjunction of two GpuMats: dst(I)=src1(I)^src2(I) if mask(I)!=0 In the case of floating-point GpuMats their bit representations are used for the operation. All the GpuMats must have the same type, except the mask, and the same size
Public methodStatic memberBlendLinear
Performs linear blending of two images.
Public methodStatic memberCalc(ICudaDenseOpticalFlow, IInputArray, IInputArray, IInputOutputArray, Stream)
Calculates a dense optical flow.
Public methodStatic memberCalc(ICudaSparseOpticalFlow, IInputArray, IInputArray, IInputArray, IInputOutputArray, IOutputArray, IOutputArray, Stream)
Calculates a sparse optical flow.
Public methodStatic memberCalcAbsSum
Returns the sum of absolute values for matrix elements.
Public methodStatic memberCalcHist
Calculates histogram for one channel 8-bit image.
Public methodStatic memberCalcNorm
Returns the norm of a matrix.
Public methodStatic memberCalcNormDiff
Returns the difference of two matrices.
Public methodStatic memberCalcSqrSum
Returns the squared sum of matrix elements.
Public methodStatic memberCartToPolar
Converts Cartesian coordinates to polar
Public methodStatic memberCompare
Compares elements of two GpuMats (c = a <cmpop> b). Supports CV_8UC4, CV_32FC1 types
Public methodStatic memberCopyMakeBorder
Copies a 2D array to a larger destination array and pads borders with the given constant.
Public methodStatic memberCountNonZero(IInputArray)
Counts non-zero array elements
Public methodStatic memberCountNonZero(IInputArray, IOutputArray, Stream)
Counts non-zero array elements
Public methodStatic memberCvtColor
Converts image from one color space to another
Public methodStatic memberDemosaicing
Converts an image from Bayer pattern to RGB or grayscale.
Public methodStatic memberDft
Performs a forward or inverse discrete Fourier transform (1D or 2D) of floating point matrix. Param dft_size is the size of DFT transform. If the source matrix is not continous, then additional copy will be done, so to avoid copying ensure the source matrix is continous one. If you want to use preallocated output ensure it is continuous too, otherwise it will be reallocated. Being implemented via CUFFT real-to-complex transform result contains only non-redundant values in CUFFT's format. Result as full complex matrix for such kind of transform cannot be retrieved. For complex-to-real transform it is assumed that the source matrix is packed in CUFFT's format.
Public methodStatic memberDivide
Computes element-wise quotient of the two GpuMat (c = scale * a / b).
Public methodStatic memberEqualizeHist
Equalizes the histogram of a grayscale image.
Public methodStatic memberExp
Computes exponent of each matrix element (b = exp(a))
Public methodStatic memberFindMinMaxLoc
Finds global minimum and maximum matrix elements and returns their values with locations.
Public methodStatic memberFlip
Flips the GpuMat<Byte> in one of different 3 ways (row and column indices are 0-based).
Public methodStatic memberGammaCorrection
Routines for correcting image color gamma
Public methodStatic memberGemm
Performs generalized matrix multiplication: dst = alpha*op(src1)*op(src2) + beta*op(src3), where op(X) is X or XT
Public methodStatic memberGetCudaDevicesSummary
Get the opencl platform summary as a string
Public methodStatic memberGetCudaEnabledDeviceCount
Get the number of Cuda enabled devices
Public methodStatic memberGetDevice
Get the current Cuda device id
Public methodStatic memberGetRegion
Create a GpuMat from the specific region of gpuMat. The data is shared between the two GpuMat.
Public methodStatic memberGetSubRect
Returns header, corresponding to a specified rectangle of the input GpuMat. In other words, it allows the user to treat a rectangular part of input array as a stand-alone array.
Public methodStatic memberGpuMatReshape
gpuMatReshape the src GpuMat
Public methodStatic memberGpuMatResize
Resize the GpuMat
Public methodStatic memberHistEven
Calculates histogram with evenly distributed bins for single channel source.
Public methodStatic memberHistRange
Calculates a histogram with bins determined by the levels array
Public methodStatic memberIntegral
Computes the integral image and integral for the squared image
Public methodStatic memberLog
Computes natural logarithm of absolute value of each matrix element: b = log(abs(a))
Public methodStatic memberLShift
Shifts a matrix to the left (c = a << scalar)
Public methodStatic memberMagnitude
Computes magnitude of each (x(i), y(i)) vector
Public methodStatic memberMagnitudeSqr
Computes squared magnitude of each (x(i), y(i)) vector
Public methodStatic memberMax
Computes per-element maximum of two GpuMats (dst = max(src1, src2))
Public methodStatic memberMeanShiftFiltering
Performs mean-shift filtering for each point of the source image. It maps each point of the source image into another point, and as the result we have new color and new position of each point.
Public methodStatic memberMeanShiftProc
Performs mean-shift procedure and stores information about processed points (i.e. their colors and positions) into two images.
Public methodStatic memberMeanShiftSegmentation
Performs mean-shift segmentation of the source image and eleminates small segments.
Public methodStatic memberMeanStdDev
Computes mean value and standard deviation
Public methodStatic memberMerge
Makes multi-channel GpuMat out of several single-channel GpuMats
Public methodStatic memberMin
Computes per-element minimum of two GpuMats (dst = min(src1, src2))
Public methodStatic memberMinMaxLoc
Finds minimum and maximum element values and their positions. The extremums are searched over the whole GpuMat or, if mask is not IntPtr.Zero, in the specified GpuMat region.
Public methodStatic memberMulAndScaleSpectrums
Performs a per-element multiplication of two Fourier spectrums and scales the result.
Public methodStatic memberMulSpectrums
Performs a per-element multiplication of two Fourier spectrums.
Public methodStatic memberMultiply
Computes element-wise product of the two GpuMat: c = scale * a * b.
Public methodStatic memberNorm(IInputArray, NormType, IInputArray)
Returns the norm of a matrix.
Public methodStatic memberNorm(IInputArray, IInputArray, NormType)
Computes norm of the difference between two GpuMats
Public methodStatic memberNormalize
Normalizes the norm or value range of an array.
Public methodStatic memberPhase
Computes angle (angle(i)) of each (x(i), y(i)) vector
Public methodStatic memberPolarToCart
Converts polar coordinates to Cartesian
Public methodStatic memberPow
Computes power of each matrix element: (dst(i,j) = pow( src(i,j) , power), if src.type() is integer; (dst(i,j) = pow(fabs(src(i,j)), power), otherwise. supports all, except depth == CV_64F
Public methodStatic memberPyrDown
Performs downsampling step of Gaussian pyramid decomposition.
Public methodStatic memberPyrUp
Performs up-sampling step of Gaussian pyramid decomposition.
Public methodStatic memberReduce
Reduces GpuMat to a vector by treating the GpuMat rows/columns as a set of 1D vectors and performing the specified operation on the vectors until a single row/column is obtained.
Public methodStatic memberRemap
DST[x,y] = SRC[xmap[x,y],ymap[x,y]] with bilinear interpolation.
Public methodStatic memberResize
Resizes the image.
Public methodStatic memberRotate
Rotates an image around the origin (0,0) and then shifts it.
Public methodStatic memberRShift
Shifts a matrix to the right (c = a >> scalar)
Public methodStatic memberSetDevice
Set the current Gpu Device
Public methodStatic memberSplit
Copies each plane of a multi-channel GpuMat to a dedicated GpuMat
Public methodStatic memberSqr
Computes square of each pixel in an image
Public methodStatic memberSqrIntegral
Computes squared integral image
Public methodStatic memberSqrSum
Returns the squared sum of matrix elements.
Public methodStatic memberSqrt
Computes square root of each pixel in an image
Public methodStatic memberSubtract
Subtracts one matrix from another (c = a - b).
Public methodStatic memberSwapChannels
Swap channels.
Public methodStatic memberThreshold
Applies fixed-level thresholding to single-channel array. The function is typically used to get bi-level (binary) image out of grayscale image or for removing a noise, i.e. filtering out pixels with too small or too large values. There are several types of thresholding the function supports that are determined by thresholdType
Public methodStatic memberTranspose
Transposes a matrix.
Public methodStatic memberWarpAffine
Warps the image using affine transformation
Public methodStatic memberWarpPerspective
Warps the image using perspective transformation
Top
See Also