http://www.emgu.com

The OclInvoke type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAbsdiff(IntPtr, MCvScalar, IntPtr)
Computes element-wise absolute difference of OclMat and scalar (c = abs(a - s)).
Public methodStatic memberAbsdiff(IntPtr, IntPtr, IntPtr)
Computes element-wise absolute difference of two OclMats (c = abs(a - b)).
Public methodStatic memberAdd(IntPtr, MCvScalar, IntPtr, IntPtr)
Adds scalar to a matrix (c = a + scalar)
Public methodStatic memberAdd(IntPtr, IntPtr, IntPtr, IntPtr)
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 memberBilateralFilter
Applies bilateral filter to the image. Supports 8UC1 8UC4 data types.
Public methodStatic memberBitwiseAnd(IntPtr, MCvScalar, IntPtr, IntPtr)
Calculates per-element bit-wise logical and of a OclMat and a scalar: dst(I)=src1(I) & scalar In the case of a floating-point OclMat its bit representation is used for the operation.
Public methodStatic memberBitwiseAnd(IntPtr, IntPtr, IntPtr, IntPtr)
Calculates per-element bit-wise logical and of two OclMats: dst(I)=src1(I) & src2(I) if mask(I)!=0 In the case of floating-point OclMats their bit representations are used for the operation. All the OclMats 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 OclMats their bit representations are used for the operation. All the OclMats must have the same type, except the mask, and the same size
Public methodStatic memberBitwiseOr(IntPtr, MCvScalar, IntPtr, IntPtr)
Calculates per-element bit-wise logical or a OclMat and a scalar: dst(I)=src1(I) | scalar In the case of a floating-point OclMat its bit representation is used for the operation.
Public methodStatic memberBitwiseOr(IntPtr, IntPtr, IntPtr, IntPtr)
Calculates per-element bit-wise logical or of two OclMats: dst(I)=src1(I) | src2(I) if mask(I)!=0 In the case of floating-point OclMats their bit representations are used for the operation. All the OclMats must have the same type, except the mask, and the same size
Public methodStatic memberBitwiseXor(IntPtr, MCvScalar, IntPtr, IntPtr)
Calculates per-element bit-wise logical conjunction of a OclMat and a scalar: dst(I)=src1(I)^scalar In the case of a floating-point OclMat its bit representation is used for the operation.
Public methodStatic memberBitwiseXor(IntPtr, IntPtr, IntPtr, IntPtr)
Calculates per-element bit-wise logical conjunction of two OclMats: dst(I)=src1(I)^src2(I) if mask(I)!=0 In the case of floating-point OclMats their bit representations are used for the operation. All the OclMats must have the same type, except the mask, and the same size
Public methodStatic memberCalcHist
Calculates histogram of one or more arrays.
Public methodStatic memberCanny
Finds the edges on the input image and marks them in the output image edges using the Canny algorithm. The smallest of threshold1 and threshold2 is used for edge linking, the largest - to find initial segments of strong edges.
Public methodStatic memberCartToPolar
Calculates the magnitude and angle of 2d vectors. Supports only CV_32F and CV_64F data types.
Public methodStatic memberCompare
Compares elements of two OclMats (c = a <cmpop> b). Supports all types except CV_8SC1,CV_8SC2,CV8SC3,CV_8SC4 types
Public methodStatic memberConvertTo
This function has several different purposes and thus has several synonyms. It copies one OclMat 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 OclMats 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 OclMat 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 OclMat to destination OclMat, using an optional mask.
Public methodStatic memberCopyMakeBorder
Copies a 2D array to a larger destination array and pads borders with the given constant.
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 memberDilate
Dilate the image (applies the local maximum operator). Supports CV_8UC1, CV_8UC4 type.
Public methodStatic memberDivide(Double, IntPtr, IntPtr)
Computes element-wise weighted reciprocal of an array (c = scale/ b).
Public methodStatic memberDivide(IntPtr, IntPtr, IntPtr, Double)
Computes element-wise quotient of the two OclMat (c = scale * a / b).
Public methodStatic memberEqualizeHist
The algorithm normalizes brightness and increases contrast of the image
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 OclMat in one of different 3 ways (row and column indices are 0-based).
Public methodStatic memberGaussianBlur
Smooths the OclMat using Gaussian filter.
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 memberGetDevice
Public methodStatic memberHoughCircles(OclImage<(Of <<'(Gray, Byte>)>>), Single, Single, Int32, Int32, Int32, Int32, Int32)
Finds circles in a grayscale image using the Hough transform.
Public methodStatic memberHoughCircles(IntPtr, IntPtr, HOUGH_TYPE, Single, Single, Int32, Int32, Int32, Int32, Int32)
Finds circles in a grayscale image using the Hough transform.
Public methodStatic memberIntegral
Computes the integral image and integral for the squared image
Public methodStatic memberLaplacian
Applies Laplacian operator to the OclMat
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 OclMat will have the depth type as lut and the same channels number as source. Supports CV_8UC1, CV_8UC3 types.
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 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 OclMat out of several single-channel OclMats
Public methodStatic memberMinMaxLoc
Finds minimum and maximum element values and their positions. The extremums are searched over the whole OclMat or, if mask is not IntPtr.Zero, in the specified OclMat region.
Public methodStatic memberMorphologyEx(IntPtr, IntPtr, CV_MORPH_OP, IntPtr, Point, Int32)
Applies an advanced morphological operation to the image Supports CV_8UC1, CV_8UC4 type.
Public methodStatic memberMorphologyEx(IntPtr, IntPtr, CV_MORPH_OP, IntPtr, Point, Int32, BORDER_TYPE, MCvScalar)
Applies an advanced morphological operation to the image Supports CV_8UC1, CV_8UC4 type.
Public methodStatic memberMultiply(IntPtr, Double, IntPtr)
Multiplies OclMat to a scalar (c = a * scalar).
Public methodStatic memberMultiply(IntPtr, IntPtr, IntPtr, Double)
Computes element-wise product of the two OclMat: c = scale * a * b.
Public methodStatic memberNorm
Computes norm of the difference between two OclMats
Public methodStatic memberOclMatCreate
Create a OclMat of the specified size
Public methodStatic memberOclMatCreateFromArr
Convert a CvArr to an OclMat
Public methodStatic memberOclMatDownload
Downloads data from device to host memory. Blocking calls.
Public methodStatic memberOclMatGetChannels
Get the number of channels in the OclMat
Public methodStatic memberOclMatGetSize
Get the OclMat size: width == number of columns, height == number of rows
Public methodStatic memberOclMatGetType
Get the OclMat type.
Public methodStatic memberOclMatGetWholeSize
Get the OclMat wholeSize: width == wholecols, height == wholerows
Public methodStatic memberOclMatIsContinuous
Returns true iff the OclMat data is continuous (i.e. when there are no gaps between successive rows).
Public methodStatic memberOclMatIsEmpty
Check if the OclMat is empty
Public methodStatic memberOclMatRelease
Release the OclMat
Public methodStatic memberOclMatReshape
Reshape the src OclMat
Public methodStatic memberOclMatSetTo
Copies scalar value to every selected element of the destination OclMat: arr(I)=value if mask(I)!=0
Public methodStatic memberOclMatUpload
Pefroms blocking upload data to OclMat.
Public methodStatic memberPolarToCart
The function polarToCart computes the cartesian coordinates of each 2D vector represented by the corresponding elements of magnitude and angle. Supports only CV_32F and CV_64F data types.
Public methodStatic memberPow
The function pow raises every element of the input array to power. Supports only CV_32FC1 and CV_64FC1 data type.
Public methodStatic memberPyrDown
Performs downsampling step of Gaussian pyramid decomposition.
Public methodStatic memberPyrUp
Performs up-sampling step of Gaussian pyramid decomposition.
Public methodStatic memberResize
Resizes the image.
Public methodStatic memberSetDevice
Public methodStatic memberSobel
Applies generalized Sobel operator to the image
Public methodStatic memberSplit
Copies each plane of a multi-channel OclMat to a dedicated OclMat
Public methodStatic memberSubtract(IntPtr, MCvScalar, IntPtr, IntPtr)
Computes element-wise weighted product of the two arrays (c = scale * a * b)
Public methodStatic memberSubtract(IntPtr, IntPtr, IntPtr, IntPtr)
Subtracts one matrix from another (c = a - b).

See Also