http://www.emgu.com

The GpuInvoke type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAbsdiff(IntPtr, MCvScalar, IntPtr, IntPtr)
Computes element-wise absolute difference of GpuMat and scalar (c = abs(a - s)). Supports only CV_32FC1 type.
Public methodStatic memberAbsdiff(IntPtr, IntPtr, IntPtr, IntPtr)
Computes element-wise absolute difference of two GpuMats (c = abs(a - b)). Supports CV_8UC1, CV_8UC4, CV_32SC1, CV_32FC1 types.
Public methodStatic memberAdd(IntPtr, MCvScalar, IntPtr, IntPtr)
Adds scalar to a matrix (c = a + scalar) Supports CV_32FC1 and CV_32FC2 type
Public methodStatic memberAdd(IntPtr, IntPtr, IntPtr, IntPtr)
Adds one matrix to another (c = a + b). Supports CV_8UC1, CV_8UC4, CV_32SC1, CV_32FC1 types.
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 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 memberConvertTo
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 methodStatic memberCopy
Copy the source GpuMat to destination GpuMat, using an optional mask.
Public methodStatic memberCornerHarris
Runs the Harris edge detector on image. Similarly to cvCornerMinEigenVal and cvCornerEigenValsAndVecs, for each pixel it calculates 2x2 gradient covariation matrix M over block_size x block_size neighborhood. Then, it stores det(M) - k*trace(M)^2 to the destination image. Corners in the image can be found as local maxima of the destination image.
Public methodStatic memberCountNonZero
Counts non-zero array elements
Public methodStatic memberCvtColor
Converts image from one color space to another
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 memberDilate
Dilate the image (applies the local maximum operator). Supports CV_8UC1, CV_8UC4 type.
Public methodStatic memberDivide(IntPtr, MCvScalar, IntPtr, IntPtr)
computes element-wise quotient of a GpuMat and scalar (c = a / scalar). Supports CV_32FC1 and CV_32FC2 type.
Public methodStatic memberDivide(IntPtr, IntPtr, IntPtr, IntPtr)
Computes element-wise quotient of the two GpuMat (c = a / b). Supports CV_8UC1, CV_8UC4, CV_32SC1, CV_32FC1 types.
Public methodStatic memberErode
Erodes the image (applies the local minimum operator). Supports CV_8UC1, CV_8UC4 type.
Public methodStatic memberExp
Computes exponent of each matrix element (b = exp(a))
Public methodStatic memberFilter2D
Applies arbitrary linear filter to the image. In-place operation is supported. When the aperture is partially outside the image, the function interpolates outlier pixel values from the nearest pixels that is inside the image
Public methodStatic memberFlip
Flips the GpuMat<Byte> in one of different 3 ways (row and column indices are 0-based).
Public methodStatic memberGaussianBlur
Smooths the GpuMat using Gaussian filter.
Public methodStatic memberGetCudaEnabledDeviceCount
Get the number of Cuda enabled devices
Public methodStatic memberGetDevice
Get the current Cuda device id
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 memberGpuMatCreate
Create a GpuMat of the specified size
Public methodStatic memberGpuMatCreateFromArr
Convert a CvArr to a GpuMat
Public methodStatic memberGpuMatDownload
Downloads data from device to host memory. Blocking calls.
Public methodStatic memberGpuMatGetChannels
Get the number of channels in the GpuMat
Public methodStatic memberGpuMatGetRegion
Create a GpuMat from the specific region of gpuMat. The data is shared between the two GpuMat.
Public methodStatic memberGpuMatGetSize
Get the GpuMat size: width == number of columns, height == number of rows
Public methodStatic memberGpuMatIsContinuous
Returns true iff the GpuMatrix data is continuous (i.e. when there are no gaps between successive rows).
Public methodStatic memberGpuMatIsEmpty
Check if the GpuMat is empty
Public methodStatic memberGpuMatRelease
Release the GpuMat
Public methodStatic memberGpuMatSetTo
Copies scalar value to every selected element of the destination GpuMat: arr(I)=value if mask(I)!=0
Public methodStatic memberGpuMatUpload
Pefroms blocking upload data to GpuMat.
Public methodStatic memberHistEven
Calculates histogram with evenly distributed bins for signle channel source.
Public methodStatic memberIntegral(IntPtr, IntPtr, IntPtr)
Computes the integral image
Public methodStatic memberIntegral(IntPtr, IntPtr, IntPtr, IntPtr)
Computes the integral image and integral for the squared image
Public methodStatic memberLaplacian
Applies Laplacian operator to the GpuMat
Public methodStatic memberLog
Computes natural logarithm of absolute value of each matrix element: b = log(abs(a))
Public methodStatic memberLUT
Transforms 8-bit unsigned integers using lookup table: dst(i)=lut(src(i)). Destination GpuMat will have the depth type as lut and the same channels number as source. Supports CV_8UC1, CV_8UC3 types.
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 memberMatchTemplate
This function is similiar to cvCalcBackProjectPatch. It slids through image, compares overlapped patches of size wxh with templ using the specified method and stores the comparison results to result
Public methodStatic memberMax(IntPtr, Double, IntPtr, IntPtr)
Computes per-element maximum of GpuMat and scalar (dst = max(src1, src2))
Public methodStatic memberMax(IntPtr, IntPtr, IntPtr, IntPtr)
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(IntPtr, Double, IntPtr, IntPtr)
Computes per-element minimum of GpuMat and scalar (dst = min(src1, src2))
Public methodStatic memberMin(IntPtr, IntPtr, IntPtr, IntPtr)
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 memberMultiply(IntPtr, MCvScalar, IntPtr, IntPtr)
Multiplies GpuMat to a scalar (c = a * scalar). Supports CV_32FC1 and CV_32FC2 type.
Public methodStatic memberMultiply(IntPtr, IntPtr, IntPtr, IntPtr)
Computes element-wise product of the two GpuMat (c = a * b). Supports CV_8UC1, CV_8UC4, CV_32SC1, CV_32FC1 types.
Public methodStatic memberNorm
Computes norm of the difference between two GpuMats
Public methodStatic memberPhase
Computes angle (angle(i)) of each (x(i), y(i)) vector
Public methodStatic memberPolarToCart
Converts polar coordinates to Cartesian
Public methodStatic memberRemap
DST[x,y] = SRC[xmap[x,y],ymap[x,y]] with bilinear interpolation.
Public methodStatic memberReshape
Changes shape of GpuMat without copying data.
Public methodStatic memberResize
Resizes the image.
Public methodStatic memberSobel
Applies generalized Sobel operator to the image
Public methodStatic memberSplit
Copies each plane of a multi-channel GpuMat to a dedicated GpuMat
Public methodStatic memberSqrIntegral
Computes squared integral image
Public methodStatic memberSubtract(IntPtr, MCvScalar, IntPtr, IntPtr)
Subtracts one matrix from another (c = a - scalar). Supports CV_32FC1 and CV_32FC2 type.
Public methodStatic memberSubtract(IntPtr, IntPtr, IntPtr, IntPtr)
Subtracts one matrix from another (c = a - b). Supports CV_8UC1, CV_8UC4, CV_32SC1, CV_32FC1 types
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 memberWarpAffine
Warps the image using affine transformation
Public methodStatic memberWarpPerspective
Warps the image using perspective transformation

Properties

  NameDescription
Public propertyStatic memberHasCuda
Return true if Cuda is found on the system

See Also