Expand description
\defgroup gapi G-API framework
G-API Main Classes
G-API Data Types
G-API Standard Backends
G-API Graph Compilation Arguments
G-API Serialization functionality
Modules
Structs
- This structure represents a circle to draw.
- This aggregate type represents all types which G-API can handle (via variant).
- \addtogroup gapi_meta_args
- @private
- Represents an arbitrary compilation argument.
- \addtogroup gapi_main_classes /
- \addtogroup gapi_main_classes
- \addtogroup gapi_data_objects /
- \addtogroup gapi_meta_args
- A container class for heterogeneous kernel implementation collections and graph transformations.
- \addtogroup gapi_data_objects
- \addtogroup gapi_meta_args
- \addtogroup gapi_meta_args
- \addtogroup gapi_data_objects /
- \addtogroup gapi_meta_args
- \addtogroup gapi_main_classes /
- This structure represents an image to draw.
- This structure represents a line to draw.
- \addtogroup gapi_data_structures
- Provides access to the MediaFrame’s underlying data.
- This structure represents a mosaicing operation.
- This structure represents a polygon to draw.
- \addtogroup gapi_data_structures
- This structure represents a rectangle to draw.
- This structure represents a text string to draw.Parameters match cv::putText().
- Specify queue capacity for streaming execution.
- \addtogroup gapi_compile_args /
Enums
- This enum defines different types of cv::MediaFrame provided access to the underlying data. Note that different flags can’t be combined in this version.
Constants
- Access data for reading
- Access data for writing
Traits
- Mutable methods for crate::gapi::Data
- Constant methods for crate::gapi::Data
- Mutable methods for crate::gapi::ExtractArgsCallback
- Constant methods for crate::gapi::ExtractArgsCallback
- Mutable methods for crate::gapi::ExtractMetaCallback
- Constant methods for crate::gapi::ExtractMetaCallback
- Mutable methods for crate::gapi::GArg
- Constant methods for crate::gapi::GArg
- Mutable methods for crate::gapi::GArrayDesc
- Constant methods for crate::gapi::GArrayDesc
- Mutable methods for crate::gapi::GArrayU
- Constant methods for crate::gapi::GArrayU
- Mutable methods for crate::gapi::GBackend
- Constant methods for crate::gapi::GBackend
- Mutable methods for crate::gapi::GCall
- Constant methods for crate::gapi::GCall
- Mutable methods for crate::gapi::GCompileArg
- Constant methods for crate::gapi::GCompileArg
- Mutable methods for crate::gapi::GCompiled
- Constant methods for crate::gapi::GCompiled
- Mutable methods for crate::gapi::GComputation
- Constant methods for crate::gapi::GComputation
- Mutable methods for crate::gapi::GFrameDesc
- Constant methods for crate::gapi::GFrameDesc
- Mutable methods for crate::gapi::GFrame
- Constant methods for crate::gapi::GFrame
- @private
- Constant methods for crate::gapi::GFunctor
- Mutable methods for crate::gapi::GKernelImpl
- Constant methods for crate::gapi::GKernelImpl
- Mutable methods for crate::gapi::GKernelPackage
- Constant methods for crate::gapi::GKernelPackage
- Mutable methods for crate::gapi::GKernel
- Constant methods for crate::gapi::GKernel
- Mutable methods for crate::gapi::GMatDesc
- Constant methods for crate::gapi::GMatDesc
- Mutable methods for crate::gapi::GMatP
- Constant methods for crate::gapi::GMatP
- Mutable methods for crate::gapi::GMat
- Constant methods for crate::gapi::GMat
- Mutable methods for crate::gapi::GOpaqueDesc
- Constant methods for crate::gapi::GOpaqueDesc
- Mutable methods for crate::gapi::GOpaqueU
- Constant methods for crate::gapi::GOpaqueU
- Mutable methods for crate::gapi::GRunArg
- Constant methods for crate::gapi::GRunArg
- Mutable methods for crate::gapi::GScalarDesc
- Constant methods for crate::gapi::GScalarDesc
- Mutable methods for crate::gapi::GScalar
- Constant methods for crate::gapi::GScalar
- Mutable methods for crate::gapi::GStreamingCompiled
- Constant methods for crate::gapi::GStreamingCompiled
- Mutable methods for crate::gapi::GTransform
- Constant methods for crate::gapi::GTransform
- Mutable methods for crate::gapi::GTypeInfo
- Constant methods for crate::gapi::GTypeInfo
- Mutable methods for crate::gapi::Image
- Constant methods for crate::gapi::Image
- Mutable methods for crate::gapi::MediaFrame
- Constant methods for crate::gapi::MediaFrame
- An interface class for MediaFrame data adapters.
- Constant methods for crate::gapi::MediaFrame_IAdapter
- Mutable methods for crate::gapi::MediaFrame_View
- Constant methods for crate::gapi::MediaFrame_View
- Mutable methods for crate::gapi::Poly
- Constant methods for crate::gapi::Poly
- Mutable methods for crate::gapi::RMat
- Constant methods for crate::gapi::RMat
- Constant methods for crate::gapi::RMat_IAdapter
- Mutable methods for crate::gapi::RMat_View
- Constant methods for crate::gapi::RMat_View
- Mutable methods for crate::gapi::Scalar
- Constant methods for crate::gapi::Scalar
- Mutable methods for crate::gapi::Text
- Constant methods for crate::gapi::Text
- Mutable methods for crate::gapi::any
- Constant methods for crate::gapi::any
- Mutable methods for crate::gapi::use_only
- Constant methods for crate::gapi::use_only
Functions
- Calculates the per-element absolute difference between two matrices.
- Calculates absolute value of matrix elements.
- Calculates the per-element sum of two matrices.
- Calculates the per-element sum of matrix and given scalar.
- Calculates the per-element sum of matrix and given scalar.
- Calculates the weighted sum of two matrices.
- 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.
- Gets bgr plane from input frame
- Converts an image from BGR color space to gray-scaled.
- Converts an image from BGR color space to I420 color space.
- Converts an image from BGR color space to LUV color space.
- Converts an image from BGR color space to RGB color space.
- Converts an image from BGR color space to YUV color space.
- Applies the bilateral filter to an image.
- computes bitwise conjunction of the two matrixes (src1 & src2) Calculates the per-element bit-wise logical conjunction of two matrices of the same size.
- computes bitwise conjunction of the two matrixes (src1 & src2) Calculates the per-element bit-wise logical conjunction of two matrices of the same size.
- Inverts every bit of an array.
- computes bitwise disjunction of the two matrixes (src1 | src2) Calculates the per-element bit-wise logical disjunction of two matrices of the same size.
- computes bitwise disjunction of the two matrixes (src1 | src2) Calculates the per-element bit-wise logical disjunction of two matrices of the same size.
- 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.
- 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.
- Blurs an image using the normalized box filter.
- Blurs an image using the box filter.
- Finds edges in an image using the Canny algorithm.
- Calculates the magnitude and angle of 2D vectors.
- Performs the per-element comparison of two matrices checking if elements from first matrix are equal to elements in second.
- Performs the per-element comparison of two matrices checking if elements from first matrix are equal to elements in second.
- Performs the per-element comparison of two matrices checking if elements from first matrix are greater or equal compare to elements in second.
- Performs the per-element comparison of two matrices checking if elements from first matrix are greater or equal compare to elements in second.
- Performs the per-element comparison of two matrices checking if elements from first matrix are greater compare to elements in second.
- Performs the per-element comparison of two matrices checking if elements from first matrix are greater compare to elements in second.
- Performs the per-element comparison of two matrices checking if elements from first matrix are less or equal compare to elements in second.
- Performs the per-element comparison of two matrices checking if elements from first matrix are less or equal compare to elements in second.
- Performs the per-element comparison of two matrices checking if elements from first matrix are less than elements in second.
- Performs the per-element comparison of two matrices checking if elements from first matrix are less than elements in second.
- Performs the per-element comparison of two matrices checking if elements from first matrix are not equal to elements in second.
- Performs the per-element comparison of two matrices checking if elements from first matrix are not equal to elements in second.
- Create a new package based on
lhs
andrhs
. - Applies horizontal concatenation to given matrices.
- Applies horizontal concatenation to given matrices.
- Applies vertical concatenation to given matrices.
- Applies vertical concatenation to given matrices.
- Converts a matrix to another data depth with optional scaling.
- 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.
- 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.
- Crops a 2D matrix.
- Starts a desynchronized branch in the graph.
- Dilates an image by using a specific structuring element.
- Dilates an image by using 3 by 3 rectangular structuring element.
- Performs per-element division of two matrices.
- Divides matrix by scalar.
- Divides scalar by matrix.
- Equalizes the histogram of a grayscale image.
- Erodes an image by using a specific structuring element.
- Erodes an image by using 3 by 3 rectangular structuring element.
- Convolves an image with the kernel.
- Flips a 2D matrix around vertical, horizontal, or both axes.
- Blurs an image using a Gaussian filter.
- Converts an image from I420 color space to BGR color space.
- Converts an image from I420 color space to BGR color space.
- Applies a range-level threshold to each matrix element.
- Calculates the integral of an image.
- Calculates the Laplacian of an image.
- Performs a look-up table transform of a matrix.
- Converts an image from LUV color space to BGR color space.
- Applies a mask to a matrix.
- Calculates per-element maximum of two matrices.
- Calculates an average (mean) of matrix elements.
- Blurs an image using the median filter.
- Creates one 3-channel matrix out of 3 single-channel ones.
- Creates one 4-channel matrix out of 4 single-channel ones.
- Calculates per-element minimum of two matrices.
- Performs advanced morphological transformations.
- Calculates the per-element scaled product of two matrices.
- Multiplies matrix by scalar.
- Multiplies matrix by scalar.
- Multiplies matrix by scalar.
- Calculates the absolute infinite norm of a matrix.
- Calculates the absolute L1 norm of a matrix.
- Calculates the absolute L2 norm of a matrix.
- Normalizes the norm or value range of an array.
- 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.
- 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.
- 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.
- 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.
- 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.
- Calculates the rotation angle of 2D vectors.
- Calculates x and y coordinates of 2D vectors from their magnitude and angle.
- Applies a generic geometrical transformation to an image.
- Resizes an image.
- Resizes a planar image.
- Converts an image from RGB color space to gray-scaled.
- Converts an image from RGB color space to gray-scaled.
- 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.
- Converts an image from RGB color space to I420 color space.
- Converts an image from RGB color space to Lab color space.
- Converts an image from RGB color space to YUV color space.
- 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.
- 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).
- Applies a separable linear filter to a matrix(image).
- Calculates the first, second, third, or mixed image derivatives using an extended Sobel operator.
- Calculates the first, second, third, or mixed image derivatives using an extended Sobel operator.
- Divides a 3-channel matrix into 3 single-channel matrices.
- Divides a 4-channel matrix into 4 single-channel matrices.
- Calculates a square root of array elements.
- Calculates the per-element difference between two matrices.
- Calculates the per-element difference between matrix and given scalar.
- Calculates the per-element difference between given scalar and the matrix.
- Calculates sum of all matrix elements.
- Applies a fixed-level threshold to each matrix element.
- Applies a fixed-level threshold to each matrix element.
- Transposes a matrix.
- Extracts UV plane from media frame.
- Applies an affine transformation to an image.
- Applies a perspective transformation to an image.
- Extracts Y plane from media frame.
- Converts an image from YUV color space to BGR color space.
- 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.