OpenCV  4.5.1
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_types.hpp>

Public Member Functions

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

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() [1/2]

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)

◆ Image() [2/2]

cv::gapi::wip::draw::Image::Image ( )
default

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: