OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
G-API Standard backends

G-API backends available in this OpenCV version. More...

Collaboration diagram for G-API Standard backends:

Functions

cv::gapi::GBackend cv::gapi::fluid::backend ()
 Get a reference to Fluid backend. More...
 
cv::gapi::GBackend cv::gapi::ocl::backend ()
 Get a reference to OCL backend. More...
 
cv::gapi::GBackend cv::gapi::cpu::backend ()
 Get a reference to CPU (OpenCV) backend. More...
 

Detailed Description

G-API backends available in this OpenCV version.

G-API backends play a corner stone role in G-API execution stack. Every backend is hardware-oriented and thus can run its kernels efficiently on the target platform.

Backends are usually "black boxes" for G-API users – on the API side, all backends are represented as different objects of the same class cv::gapi::GBackend. User can manipulate with backends by specifying which kernels to use.

See also
High-level design overview

Function Documentation

◆ backend() [1/3]

cv::gapi::GBackend cv::gapi::fluid::backend ( )

#include <opencv2/gapi/fluid/gfluidkernel.hpp>

Get a reference to Fluid backend.

See also
G-API Standard backends

Referenced by cv::GFluidKernelImpl< Impl, K, UseScratch >::backend().

Here is the caller graph for this function:

◆ backend() [2/3]

cv::gapi::GBackend cv::gapi::ocl::backend ( )

#include <opencv2/gapi/ocl/goclkernel.hpp>

Get a reference to OCL backend.

At the moment, the OCL backend is built atop of OpenCV "Transparent API" (T-API), see cv::UMat for details.

See also
G-API Standard backends

Referenced by cv::GOCLKernelImpl< Impl, K >::backend().

Here is the caller graph for this function:

◆ backend() [3/3]

cv::gapi::GBackend cv::gapi::cpu::backend ( )

#include <opencv2/gapi/cpu/gcpukernel.hpp>

Get a reference to CPU (OpenCV) backend.

This is the default backend in G-API at the moment, providing broader functional coverage but losing some graph model advantages. Provided mostly for reference and prototyping purposes.

See also
G-API Standard backends

Referenced by cv::GCPUKernelImpl< Impl, K >::backend(), and cv::gapi::GKernelPackage::includes().

Here is the caller graph for this function: