OpenCV  4.2.0
Open Source Computer Vision
Classes | Namespaces | Typedefs | Functions
render.hpp File Reference
#include <string>
#include <vector>
#include <opencv2/imgproc.hpp>
#include <opencv2/gapi.hpp>
#include <opencv2/gapi/opencv_includes.hpp>
#include <opencv2/gapi/util/variant.hpp>
#include <opencv2/gapi/own/exports.hpp>
#include <opencv2/gapi/own/scalar.hpp>

Classes

struct  cv::gapi::wip::draw::Circle
 This structure represents a circle to draw. More...
 
struct  cv::detail::CompileArgTag< cv::gapi::wip::draw::freetype_font >
 
struct  cv::gapi::wip::draw::freetype_font
 This structure specifies which FreeType font to use by FText primitives. More...
 
struct  cv::gapi::wip::draw::FText
 This structure represents a text string to draw using FreeType renderer. More...
 
struct  cv::gapi::wip::draw::Image
 This structure represents an image to draw. More...
 
struct  cv::gapi::wip::draw::Line
 This structure represents a line to draw. More...
 
struct  cv::gapi::wip::draw::Mosaic
 This structure represents a mosaicing operation. More...
 
struct  cv::gapi::wip::draw::Poly
 This structure represents a polygon to draw. More...
 
struct  cv::gapi::wip::draw::Rect
 This structure represents a rectangle to draw. More...
 
struct  cv::gapi::wip::draw::Text
 This structure represents a text string to draw. More...
 

Namespaces

 cv
 "black box" representation of the file storage associated with a file on disk.
 
 cv::detail
 
 cv::gapi
 
 cv::gapi::render
 
 cv::gapi::render::ocv
 
 cv::gapi::wip
 
 cv::gapi::wip::draw
 

Typedefs

using cv::gapi::wip::draw::GMat2 = std::tuple< cv::GMat, cv::GMat >
 
using cv::gapi::wip::draw::GMatDesc2 = std::tuple< cv::GMatDesc, cv::GMatDesc >
 
using cv::gapi::wip::draw::Prim = util::variant< Text, FText, Rect, Circle, Line, Mosaic, Image, Poly >
 
using cv::gapi::wip::draw::Prims = std::vector< Prim >
 

Functions

cv::gapi::GKernelPackage cv::gapi::render::ocv::kernels ()
 Create a kernel package object containing kernels and transformations specified in variadic template argument. More...
 
void cv::gapi::wip::draw::render (cv::Mat &bgr, const Prims &prims, cv::GCompileArgs &&args={})
 The function renders on the input image passed drawing primitivies. More...
 
void cv::gapi::wip::draw::render (cv::Mat &y_plane, cv::Mat &uv_plane, const Prims &prims, cv::GCompileArgs &&args={})
 The function renders on two NV12 planes passed drawing primitivies. More...
 
GMat cv::gapi::wip::draw::render3ch (const GMat &src, const GArray< Prim > &prims)
 Renders on 3 channels input. More...
 
GMat2 cv::gapi::wip::draw::renderNV12 (const GMat &y, const GMat &uv, const GArray< Prim > &prims)
 Renders on two planes. More...