OpenCV  4.2.0
Open Source Computer Vision
Public Member Functions | List of all members
cv::gapi::wip::draw::Image Struct Reference

This structure represents an image to draw. More...

#include <opencv2/gapi/render/render.hpp>

Public Member Functions

 Image (const cv::Point &org_, const cv::Mat &img_, const cv::Mat &alpha_)
 Mosaic constructor. More...
 

Public Attributes

cv::Point org
 The bottom-left corner of the image. More...
 
cv::Mat img
 Image to draw. More...
 
cv::Mat alpha
 Alpha channel for image to draw (same size and number of channels) More...
 

Detailed Description

This structure represents an image to draw.

Image is blended on a frame using the specified mask.

Constructor & Destructor Documentation

◆ Image()

cv::gapi::wip::draw::Image::Image ( const cv::Point org_,
const cv::Mat img_,
const cv::Mat alpha_ 
)
inline

Mosaic constructor.

Parameters
org_The bottom-left corner of the image
img_Image to draw
alpha_Alpha channel for image to draw (same size and number of channels)

Member Data Documentation

◆ alpha

cv::Mat cv::gapi::wip::draw::Image::alpha

Alpha channel for image to draw (same size and number of channels)

◆ img

cv::Mat cv::gapi::wip::draw::Image::img

Image to draw.

◆ org

cv::Point cv::gapi::wip::draw::Image::org

The bottom-left corner of the image.


The documentation for this struct was generated from the following file: