|
GMat | absDiff (const GMat &src1, const GMat &src2) |
| Calculates the per-element absolute difference between two matrices. More...
|
|
GMat | absDiffC (const GMat &src, const GScalar &c) |
| Calculates absolute value of matrix elements. More...
|
|
GMat | add (const GMat &src1, const GMat &src2, int ddepth=-1) |
| Calculates the per-element sum of two matrices. More...
|
|
GMat | addC (const GMat &src1, const GScalar &c, int ddepth=-1) |
| Calculates the per-element sum of matrix and given scalar. More...
|
|
GMat | addC (const GScalar &c, const GMat &src1, int ddepth=-1) |
|
GMat | addWeighted (const GMat &src1, double alpha, const GMat &src2, double beta, double gamma, int ddepth=-1) |
| Calculates the weighted sum of two matrices. More...
|
|
GMat | BackgroundSubtractor (const GMat &src, const cv::gapi::video::BackgroundSubtractorParams &bsParams) |
| Gaussian Mixture-based or K-nearest neighbours-based Background/Foreground Segmentation Algorithm. The operation generates a foreground mask. More...
|
|
GMat | BayerGR2RGB (const GMat &src_gr) |
| Converts an image from BayerGR color space to RGB. The function converts an input image from BayerGR color space to RGB. The conventional ranges for G, R, and B channel values are 0 to 255. More...
|
|
GMat | BGR2Gray (const GMat &src) |
| Converts an image from BGR color space to gray-scaled. More...
|
|
GMat | BGR2I420 (const GMat &src) |
| Converts an image from BGR color space to I420 color space. More...
|
|
GMat | BGR2LUV (const GMat &src) |
| Converts an image from BGR color space to LUV color space. More...
|
|
GMat | BGR2RGB (const GMat &src) |
| Converts an image from BGR color space to RGB color space. More...
|
|
GMat | BGR2YUV (const GMat &src) |
| Converts an image from BGR color space to YUV color space. More...
|
|
GMat | bilateralFilter (const GMat &src, int d, double sigmaColor, double sigmaSpace, int borderType=BORDER_DEFAULT) |
| Applies the bilateral filter to an image. More...
|
|
cv::GRunArgsP | bind (cv::GRunArgs &results) |
|
cv::GRunArg | bind (cv::GRunArgP &out) |
|
GMat | bitwise_and (const GMat &src1, const GMat &src2) |
| computes bitwise conjunction of the two matrixes (src1 & src2) Calculates the per-element bit-wise logical conjunction of two matrices of the same size. More...
|
|
GMat | bitwise_and (const GMat &src1, const GScalar &src2) |
|
GMat | bitwise_not (const GMat &src) |
| Inverts every bit of an array. More...
|
|
GMat | bitwise_or (const GMat &src1, const GMat &src2) |
| computes bitwise disjunction of the two matrixes (src1 | src2) Calculates the per-element bit-wise logical disjunction of two matrices of the same size. More...
|
|
GMat | bitwise_or (const GMat &src1, const GScalar &src2) |
|
GMat | bitwise_xor (const GMat &src1, const GMat &src2) |
| computes bitwise logical "exclusive or" of the two matrixes (src1 ^ src2) Calculates the per-element bit-wise logical "exclusive or" of two matrices of the same size. More...
|
|
GMat | bitwise_xor (const GMat &src1, const GScalar &src2) |
|
GMat | blur (const GMat &src, const Size &ksize, const Point &anchor=Point(-1,-1), int borderType=BORDER_DEFAULT, const Scalar &borderValue=Scalar(0)) |
| Blurs an image using the normalized box filter. More...
|
|
GOpaque< Rect > | boundingRect (const GMat &src) |
| Calculates the up-right bounding rectangle of a point set or non-zero pixels of gray-scale image. More...
|
|
GOpaque< Rect > | boundingRect (const GArray< Point2i > &src) |
|
GOpaque< Rect > | boundingRect (const GArray< Point2f > &src) |
|
GMat | boxFilter (const GMat &src, int dtype, const Size &ksize, const Point &anchor=Point(-1,-1), bool normalize=true, int borderType=BORDER_DEFAULT, const Scalar &borderValue=Scalar(0)) |
| Blurs an image using the box filter. More...
|
|
std::tuple< GArray< GMat >, GScalar > | buildOpticalFlowPyramid (const GMat &img, const Size &winSize, const GScalar &maxLevel, bool withDerivatives=true, int pyrBorder=BORDER_REFLECT_101, int derivBorder=BORDER_CONSTANT, bool tryReuseInputImage=true) |
| Constructs the image pyramid which can be passed to calcOpticalFlowPyrLK. More...
|
|
std::tuple< GArray< Point2f >, GArray< uchar >, GArray< float > > | calcOpticalFlowPyrLK (const GMat &prevImg, const GMat &nextImg, const GArray< Point2f > &prevPts, const GArray< Point2f > &predPts, const Size &winSize=Size(21, 21), const GScalar &maxLevel=3, const TermCriteria &criteria=TermCriteria(TermCriteria::COUNT|TermCriteria::EPS, 30, 0.01), int flags=0, double minEigThresh=1e-4) |
| Calculates an optical flow for a sparse feature set using the iterative Lucas-Kanade method with pyramids. More...
|
|
std::tuple< GArray< Point2f >, GArray< uchar >, GArray< float > > | calcOpticalFlowPyrLK (const GArray< GMat > &prevPyr, const GArray< GMat > &nextPyr, const GArray< Point2f > &prevPts, const GArray< Point2f > &predPts, const Size &winSize=Size(21, 21), const GScalar &maxLevel=3, const TermCriteria &criteria=TermCriteria(TermCriteria::COUNT|TermCriteria::EPS, 30, 0.01), int flags=0, double minEigThresh=1e-4) |
|
GMat | Canny (const GMat &image, double threshold1, double threshold2, int apertureSize=3, bool L2gradient=false) |
| Finds edges in an image using the Canny algorithm. More...
|
|
std::tuple< GMat, GMat > | cartToPolar (const GMat &x, const GMat &y, bool angleInDegrees=false) |
| Calculates the magnitude and angle of 2D vectors. More...
|
|
GMat | cmpEQ (const GMat &src1, const GMat &src2) |
| Performs the per-element comparison of two matrices checking if elements from first matrix are equal to elements in second. More...
|
|
GMat | cmpEQ (const GMat &src1, const GScalar &src2) |
|
GMat | cmpGE (const GMat &src1, const GMat &src2) |
| Performs the per-element comparison of two matrices checking if elements from first matrix are greater or equal compare to elements in second. More...
|
|
GMat | cmpGE (const GMat &src1, const GScalar &src2) |
|
GMat | cmpGT (const GMat &src1, const GMat &src2) |
| Performs the per-element comparison of two matrices checking if elements from first matrix are greater compare to elements in second. More...
|
|
GMat | cmpGT (const GMat &src1, const GScalar &src2) |
|
GMat | cmpLE (const GMat &src1, const GMat &src2) |
| Performs the per-element comparison of two matrices checking if elements from first matrix are less or equal compare to elements in second. More...
|
|
GMat | cmpLE (const GMat &src1, const GScalar &src2) |
|
GMat | cmpLT (const GMat &src1, const GMat &src2) |
| Performs the per-element comparison of two matrices checking if elements from first matrix are less than elements in second. More...
|
|
GMat | cmpLT (const GMat &src1, const GScalar &src2) |
|
GMat | cmpNE (const GMat &src1, const GMat &src2) |
| Performs the per-element comparison of two matrices checking if elements from first matrix are not equal to elements in second. More...
|
|
GMat | cmpNE (const GMat &src1, const GScalar &src2) |
|
GKernelPackage | combine (const GKernelPackage &lhs, const GKernelPackage &rhs) |
|
template<typename... Ps> |
GKernelPackage | combine (const GKernelPackage &a, const GKernelPackage &b, Ps &&... rest) |
| Combines multiple G-API kernel packages into one. More...
|
|
GMat | concatHor (const GMat &src1, const GMat &src2) |
| Applies horizontal concatenation to given matrices. More...
|
|
GMat | concatHor (const std::vector< GMat > &v) |
|
GMat | concatVert (const GMat &src1, const GMat &src2) |
| Applies vertical concatenation to given matrices. More...
|
|
GMat | concatVert (const std::vector< GMat > &v) |
|
GMat | convertTo (const GMat &src, int rdepth, double alpha=1, double beta=0) |
| Converts a matrix to another data depth with optional scaling. More...
|
|
GMat | copy (const GMat &in) |
| Makes a copy of the input image. Note that this copy may be not real (no actual data copied). Use this function to maintain graph contracts, e.g when graph's input needs to be passed directly to output, like in Streaming mode. More...
|
|
GFrame | copy (const GFrame &in) |
| Makes a copy of the input frame. Note that this copy may be not real (no actual data copied). Use this function to maintain graph contracts, e.g when graph's input needs to be passed directly to output, like in Streaming mode. More...
|
|
GOpaque< int > | countNonZero (const GMat &src) |
| Counts non-zero array elements. More...
|
|
GMat | crop (const GMat &src, const Rect &rect) |
| Crops a 2D matrix. More...
|
|
template<typename T > |
static T | deserialize (const std::vector< char > &p) |
|
template<> |
cv::GComputation | deserialize (const std::vector< char > &p) |
|
template<> |
cv::GMetaArgs | deserialize (const std::vector< char > &p) |
|
template<> |
cv::GRunArgs | deserialize (const std::vector< char > &p) |
|
template<typename T , typename... Types> |
std::enable_if< std::is_same< T, GCompileArgs >::value, GCompileArgs >::type | deserialize (const std::vector< char > &p) |
|
template<typename T , typename RMatAdapterType > |
std::enable_if< std::is_same< T, GRunArgs >::value, GRunArgs >::type | deserialize (const std::vector< char > &p) |
|
GMat | dilate (const GMat &src, const Mat &kernel, const Point &anchor=Point(-1,-1), int iterations=1, int borderType=BORDER_CONSTANT, const Scalar &borderValue=morphologyDefaultBorderValue()) |
| Dilates an image by using a specific structuring element. More...
|
|
GMat | dilate3x3 (const GMat &src, int iterations=1, int borderType=BORDER_CONSTANT, const Scalar &borderValue=morphologyDefaultBorderValue()) |
| Dilates an image by using 3 by 3 rectangular structuring element. More...
|
|
GMat | div (const GMat &src1, const GMat &src2, double scale, int ddepth=-1) |
| Performs per-element division of two matrices. More...
|
|
GMat | divC (const GMat &src, const GScalar &divisor, double scale, int ddepth=-1) |
| Divides matrix by scalar. More...
|
|
GMat | divRC (const GScalar ÷nt, const GMat &src, double scale, int ddepth=-1) |
| Divides scalar by matrix. More...
|
|
GMat | equalizeHist (const GMat &src) |
|
GMat | erode (const GMat &src, const Mat &kernel, const Point &anchor=Point(-1,-1), int iterations=1, int borderType=BORDER_CONSTANT, const Scalar &borderValue=morphologyDefaultBorderValue()) |
| Erodes an image by using a specific structuring element. More...
|
|
GMat | erode3x3 (const GMat &src, int iterations=1, int borderType=BORDER_CONSTANT, const Scalar &borderValue=morphologyDefaultBorderValue()) |
| Erodes an image by using 3 by 3 rectangular structuring element. More...
|
|
GMat | filter2D (const GMat &src, int ddepth, const Mat &kernel, const Point &anchor=Point(-1,-1), const Scalar &delta=Scalar(0), int borderType=BORDER_DEFAULT, const Scalar &borderValue=Scalar(0)) |
| Convolves an image with the kernel. More...
|
|
GArray< GArray< Point > > | findContours (const GMat &src, const RetrievalModes mode, const ContourApproximationModes method, const GOpaque< Point > &offset) |
| Finds contours in a binary image. More...
|
|
GArray< GArray< Point > > | findContours (const GMat &src, const RetrievalModes mode, const ContourApproximationModes method) |
|
std::tuple< GArray< GArray< Point > >, GArray< Vec4i > > | findContoursH (const GMat &src, const RetrievalModes mode, const ContourApproximationModes method, const GOpaque< Point > &offset) |
| Finds contours and their hierarchy in a binary image. More...
|
|
std::tuple< GArray< GArray< Point > >, GArray< Vec4i > > | findContoursH (const GMat &src, const RetrievalModes mode, const ContourApproximationModes method) |
|
GOpaque< Vec4f > | fitLine2D (const GMat &src, const DistanceTypes distType, const double param=0., const double reps=0., const double aeps=0.) |
| Fits a line to a 2D point set. More...
|
|
GOpaque< Vec4f > | fitLine2D (const GArray< Point2i > &src, const DistanceTypes distType, const double param=0., const double reps=0., const double aeps=0.) |
|
GOpaque< Vec4f > | fitLine2D (const GArray< Point2f > &src, const DistanceTypes distType, const double param=0., const double reps=0., const double aeps=0.) |
|
GOpaque< Vec4f > | fitLine2D (const GArray< Point2d > &src, const DistanceTypes distType, const double param=0., const double reps=0., const double aeps=0.) |
|
GOpaque< Vec6f > | fitLine3D (const GMat &src, const DistanceTypes distType, const double param=0., const double reps=0., const double aeps=0.) |
| Fits a line to a 3D point set. More...
|
|
GOpaque< Vec6f > | fitLine3D (const GArray< Point3i > &src, const DistanceTypes distType, const double param=0., const double reps=0., const double aeps=0.) |
|
GOpaque< Vec6f > | fitLine3D (const GArray< Point3f > &src, const DistanceTypes distType, const double param=0., const double reps=0., const double aeps=0.) |
|
GOpaque< Vec6f > | fitLine3D (const GArray< Point3d > &src, const DistanceTypes distType, const double param=0., const double reps=0., const double aeps=0.) |
|
GMat | flip (const GMat &src, int flipCode) |
| Flips a 2D matrix around vertical, horizontal, or both axes. More...
|
|
GMat | gaussianBlur (const GMat &src, const Size &ksize, double sigmaX, double sigmaY=0, int borderType=BORDER_DEFAULT, const Scalar &borderValue=Scalar(0)) |
| Blurs an image using a Gaussian filter. More...
|
|
template<typename T > |
cv::util::optional< T > | getCompileArg (const cv::GCompileArgs &args) |
| Retrieves particular compilation argument by its type from cv::GCompileArgs. More...
|
|
GArray< Point2f > | goodFeaturesToTrack (const GMat &image, int maxCorners, double qualityLevel, double minDistance, const Mat &mask=Mat(), int blockSize=3, bool useHarrisDetector=false, double k=0.04) |
| Determines strong corners on an image. More...
|
|
GMat | I4202BGR (const GMat &src) |
| Converts an image from I420 color space to BGR color space. More...
|
|
GMat | I4202RGB (const GMat &src) |
| Converts an image from I420 color space to BGR color space. More...
|
|
template<typename Net , typename T > |
Net::Result | infer (cv::GOpaque< cv::Rect > roi, T in) |
| Calculates response for the specified network (template parameter) for the specified region in the source image. Currently expects a single-input network only. More...
|
|
template<typename Net , typename... Args> |
Net::ResultL | infer (cv::GArray< cv::Rect > roi, Args &&... args) |
| Calculates responses for the specified network (template parameter) for every region in the source image. More...
|
|
template<typename Net , typename... Args> |
Net::Result | infer (Args &&... args) |
| Calculates response for the specified network (template parameter) given the input data. More...
|
|
template<typename T = Generic> |
GInferOutputs | infer (const std::string &tag, const GInferInputs &inputs) |
| Calculates response for generic network. More...
|
|
template<typename Net , typename T , typename... Args> |
Net::ResultL | infer2 (T image, cv::GArray< Args >... args) |
| Calculates responses for the specified network (template parameter) for every region in the source image, extended version. More...
|
|
GMat | inRange (const GMat &src, const GScalar &threshLow, const GScalar &threshUp) |
| Applies a range-level threshold to each matrix element. More...
|
|
std::tuple< GMat, GMat > | integral (const GMat &src, int sdepth=-1, int sqdepth=-1) |
| Calculates the integral of an image. More...
|
|
void | island (const std::string &name, GProtoInputArgs &&ins, GProtoOutputArgs &&outs) |
| Define an tagged island (subgraph) within a computation. More...
|
|
GMat | KalmanFilter (const GMat &measurement, const GOpaque< bool > &haveMeasurement, const GMat &control, const cv::gapi::KalmanParams &kfParams) |
| Standard Kalman filter algorithm http://en.wikipedia.org/wiki/Kalman_filter. More...
|
|
GMat | KalmanFilter (const GMat &measurement, const GOpaque< bool > &haveMeasurement, const cv::gapi::KalmanParams &kfParams) |
|
template<typename... KK> |
GKernelPackage | kernels () |
| Create a kernel package object containing kernels and transformations specified in variadic template argument. More...
|
|
template<typename... FF> |
GKernelPackage | kernels (FF &... functors) |
|
std::tuple< GOpaque< double >, GMat, GMat > | kmeans (const GMat &data, const int K, const GMat &bestLabels, const TermCriteria &criteria, const int attempts, const KmeansFlags flags) |
| Finds centers of clusters and groups input samples around the clusters. More...
|
|
std::tuple< GOpaque< double >, GMat, GMat > | kmeans (const GMat &data, const int K, const TermCriteria &criteria, const int attempts, const KmeansFlags flags) |
|
std::tuple< GOpaque< double >, GArray< int >, GArray< Point2f > > | kmeans (const GArray< Point2f > &data, const int K, const GArray< int > &bestLabels, const TermCriteria &criteria, const int attempts, const KmeansFlags flags) |
|
std::tuple< GOpaque< double >, GArray< int >, GArray< Point3f > > | kmeans (const GArray< Point3f > &data, const int K, const GArray< int > &bestLabels, const TermCriteria &criteria, const int attempts, const KmeansFlags flags) |
|
GMat | Laplacian (const GMat &src, int ddepth, int ksize=1, double scale=1, double delta=0, int borderType=BORDER_DEFAULT) |
| Calculates the Laplacian of an image. More...
|
|
GMat | LUT (const GMat &src, const Mat &lut) |
| Performs a look-up table transform of a matrix. More...
|
|
GMat | LUV2BGR (const GMat &src) |
| Converts an image from LUV color space to BGR color space. More...
|
|
GMat | mask (const GMat &src, const GMat &mask) |
| Applies a mask to a matrix. More...
|
|
GMat | max (const GMat &src1, const GMat &src2) |
| Calculates per-element maximum of two matrices. More...
|
|
GScalar | mean (const GMat &src) |
| Calculates an average (mean) of matrix elements. More...
|
|
GMat | medianBlur (const GMat &src, int ksize) |
| Blurs an image using the median filter. More...
|
|
GMat | merge3 (const GMat &src1, const GMat &src2, const GMat &src3) |
| Creates one 3-channel matrix out of 3 single-channel ones. More...
|
|
GMat | merge4 (const GMat &src1, const GMat &src2, const GMat &src3, const GMat &src4) |
| Creates one 4-channel matrix out of 4 single-channel ones. More...
|
|
GMat | min (const GMat &src1, const GMat &src2) |
| Calculates per-element minimum of two matrices. More...
|
|
GMat | morphologyEx (const GMat &src, const MorphTypes op, const Mat &kernel, const Point &anchor=Point(-1,-1), const int iterations=1, const BorderTypes borderType=BORDER_CONSTANT, const Scalar &borderValue=morphologyDefaultBorderValue()) |
| Performs advanced morphological transformations. More...
|
|
GMat | mul (const GMat &src1, const GMat &src2, double scale=1.0, int ddepth=-1) |
| Calculates the per-element scaled product of two matrices. More...
|
|
GMat | mulC (const GMat &src, double multiplier, int ddepth=-1) |
| Multiplies matrix by scalar. More...
|
|
GMat | mulC (const GMat &src, const GScalar &multiplier, int ddepth=-1) |
|
GMat | mulC (const GScalar &multiplier, const GMat &src, int ddepth=-1) |
|
template<typename... Args> |
cv::gapi::GNetPackage | networks (Args &&... args) |
|
GMat | normalize (const GMat &src, double alpha, double beta, int norm_type, int ddepth=-1) |
| Normalizes the norm or value range of an array. More...
|
|
GScalar | normInf (const GMat &src) |
| Calculates the absolute infinite norm of a matrix. More...
|
|
GScalar | normL1 (const GMat &src) |
| Calculates the absolute L1 norm of a matrix. More...
|
|
GScalar | normL2 (const GMat &src) |
| Calculates the absolute L2 norm of a matrix. More...
|
|
GMat | NV12toBGR (const GMat &src_y, const GMat &src_uv) |
| Converts an image from NV12 (YUV420p) color space to BGR. The function converts an input image from NV12 color space to RGB. The conventional ranges for Y, U, and V channel values are 0 to 255. More...
|
|
GMatP | NV12toBGRp (const GMat &src_y, const GMat &src_uv) |
| Converts an image from NV12 (YUV420p) color space to BGR. The function converts an input image from NV12 color space to BGR. The conventional ranges for Y, U, and V channel values are 0 to 255. More...
|
|
GMat | NV12toGray (const GMat &src_y, const GMat &src_uv) |
| Converts an image from NV12 (YUV420p) color space to gray-scaled. The function converts an input image from NV12 color space to gray-scaled. The conventional ranges for Y, U, and V channel values are 0 to 255. More...
|
|
GMat | NV12toRGB (const GMat &src_y, const GMat &src_uv) |
| Converts an image from NV12 (YUV420p) color space to RGB. The function converts an input image from NV12 color space to RGB. The conventional ranges for Y, U, and V channel values are 0 to 255. More...
|
|
GMatP | NV12toRGBp (const GMat &src_y, const GMat &src_uv) |
| Converts an image from NV12 (YUV420p) color space to RGB. The function converts an input image from NV12 color space to RGB. The conventional ranges for Y, U, and V channel values are 0 to 255. More...
|
|
bool | operator!= (const GBackend &lhs, const GBackend &rhs) |
|
std::tuple< GArray< Rect >, GArray< int > > | parseSSD (const GMat &in, const GOpaque< Size > &inSz, const float confidenceThreshold=0.5f, const int filterLabel=-1) |
| Parses output of SSD network. More...
|
|
GArray< Rect > | parseSSD (const GMat &in, const GOpaque< Size > &inSz, const float confidenceThreshold=0.5f, const bool alignmentToSquare=false, const bool filterOutOfBounds=false) |
|
std::tuple< GArray< Rect >, GArray< int > > | parseYolo (const GMat &in, const GOpaque< Size > &inSz, const float confidenceThreshold=0.5f, const float nmsThreshold=0.5f, const std::vector< float > &anchors=nn::parsers::GParseYolo::defaultAnchors()) |
| Parses output of Yolo network. More...
|
|
GMat | phase (const GMat &x, const GMat &y, bool angleInDegrees=false) |
| Calculates the rotation angle of 2D vectors. More...
|
|
std::tuple< GMat, GMat > | polarToCart (const GMat &magnitude, const GMat &angle, bool angleInDegrees=false) |
| Calculates x and y coordinates of 2D vectors from their magnitude and angle. More...
|
|
GMat | remap (const GMat &src, const Mat &map1, const Mat &map2, int interpolation, int borderMode=BORDER_CONSTANT, const Scalar &borderValue=Scalar()) |
| Applies a generic geometrical transformation to an image. More...
|
|
GMat | resize (const GMat &src, const Size &dsize, double fx=0, double fy=0, int interpolation=INTER_LINEAR) |
| Resizes an image. More...
|
|
GMatP | resizeP (const GMatP &src, const Size &dsize, int interpolation=cv::INTER_LINEAR) |
| Resizes a planar image. More...
|
|
GMat | RGB2Gray (const GMat &src) |
| Converts an image from RGB color space to gray-scaled. More...
|
|
GMat | RGB2Gray (const GMat &src, float rY, float gY, float bY) |
|
GMat | RGB2HSV (const GMat &src) |
| Converts an image from RGB color space to HSV. The function converts an input image from RGB color space to HSV. The conventional ranges for R, G, and B channel values are 0 to 255. More...
|
|
GMat | RGB2I420 (const GMat &src) |
| Converts an image from RGB color space to I420 color space. More...
|
|
GMat | RGB2Lab (const GMat &src) |
| Converts an image from RGB color space to Lab color space. More...
|
|
GMat | RGB2YUV (const GMat &src) |
| Converts an image from RGB color space to YUV color space. More...
|
|
GMat | RGB2YUV422 (const GMat &src) |
| Converts an image from RGB color space to YUV422. The function converts an input image from RGB color space to YUV422. The conventional ranges for R, G, and B channel values are 0 to 255. More...
|
|
GMat | select (const GMat &src1, const GMat &src2, const GMat &mask) |
| Select values from either first or second of input matrices by given mask. The function set to the output matrix either the value from the first input matrix if corresponding value of mask matrix is 255, or value from the second input matrix (if value of mask matrix set to 0). More...
|
|
GMat | sepFilter (const GMat &src, int ddepth, const Mat &kernelX, const Mat &kernelY, const Point &anchor, const Scalar &delta, int borderType=BORDER_DEFAULT, const Scalar &borderValue=Scalar(0)) |
| Applies a separable linear filter to a matrix(image). More...
|
|
std::vector< char > | serialize (const cv::GComputation &c) |
|
std::vector< char > | serialize (const cv::GCompileArgs &) |
|
std::vector< char > | serialize (const cv::GMetaArgs &) |
|
std::vector< char > | serialize (const cv::GRunArgs &) |
|
GMat | Sobel (const GMat &src, int ddepth, int dx, int dy, int ksize=3, double scale=1, double delta=0, int borderType=BORDER_DEFAULT, const Scalar &borderValue=Scalar(0)) |
| Calculates the first, second, third, or mixed image derivatives using an extended Sobel operator. More...
|
|
std::tuple< GMat, GMat > | SobelXY (const GMat &src, int ddepth, int order, int ksize=3, double scale=1, double delta=0, int borderType=BORDER_DEFAULT, const Scalar &borderValue=Scalar(0)) |
| Calculates the first, second, third, or mixed image derivatives using an extended Sobel operator. More...
|
|
std::tuple< GMat, GMat, GMat > | split3 (const GMat &src) |
| Divides a 3-channel matrix into 3 single-channel matrices. More...
|
|
std::tuple< GMat, GMat, GMat, GMat > | split4 (const GMat &src) |
| Divides a 4-channel matrix into 4 single-channel matrices. More...
|
|
GMat | sqrt (const GMat &src) |
| Calculates a square root of array elements. More...
|
|
GMat | sub (const GMat &src1, const GMat &src2, int ddepth=-1) |
| Calculates the per-element difference between two matrices. More...
|
|
GMat | subC (const GMat &src, const GScalar &c, int ddepth=-1) |
| Calculates the per-element difference between matrix and given scalar. More...
|
|
GMat | subRC (const GScalar &c, const GMat &src, int ddepth=-1) |
| Calculates the per-element difference between given scalar and the matrix. More...
|
|
GScalar | sum (const GMat &src) |
| Calculates sum of all matrix elements. More...
|
|
GMat | threshold (const GMat &src, const GScalar &thresh, const GScalar &maxval, int type) |
| Applies a fixed-level threshold to each matrix element. More...
|
|
std::tuple< GMat, GScalar > | threshold (const GMat &src, const GScalar &maxval, int type) |
|
GMat | warpAffine (const GMat &src, const Mat &M, const Size &dsize, int flags=cv::INTER_LINEAR, int borderMode=cv::BORDER_CONSTANT, const Scalar &borderValue=Scalar()) |
| Applies an affine transformation to an image. More...
|
|
GMat | warpPerspective (const GMat &src, const Mat &M, const Size &dsize, int flags=cv::INTER_LINEAR, int borderMode=cv::BORDER_CONSTANT, const Scalar &borderValue=Scalar()) |
| Applies a perspective transformation to an image. More...
|
|
GMat | YUV2BGR (const GMat &src) |
| Converts an image from YUV color space to BGR color space. More...
|
|
GMat | YUV2RGB (const GMat &src) |
| Converts an image from YUV color space to RGB. The function converts an input image from YUV color space to RGB. The conventional ranges for Y, U, and V channel values are 0 to 255. More...
|
|