OpenCV  4.5.4
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

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

Public Attributes

GAPI_PROP_RW cv::Point org
 The bottom-left corner of the image. More...
 
GAPI_PROP_RW cv::Mat img
 Image to draw. More...
 
GAPI_PROP_RW 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]

GAPI_WRAP 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]

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

Member Data Documentation

◆ alpha

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

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

◆ img

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

Image to draw.

◆ org

GAPI_PROP_RW 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: