OpenCV  5.0.0alpha
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::gapi::wip::draw::Image Struct Reference

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

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

Collaboration diagram for cv::gapi::wip::draw::Image:

Public Member Functions

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

Public Attributes

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

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: