OpenCV 4.12.0
开源计算机视觉
加载中...
搜索中...
无匹配项
cv::gapi::wip::draw::Image 结构体参考

此结构体表示要绘制的图像。更多...

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

cv::gapi::wip::draw::Image 的协作图

公共成员函数

GAPI_WRAP Image ()=default
 
GAPI_WRAP Image (const cv::Point &org_, const cv::Mat &img_, const cv::Mat &alpha_)
 Mosaic 构造函数。
 

公共属性

GAPI_PROP_RW cv::Mat alpha
 要绘制图像的 Alpha 通道(大小和通道数相同)
 
GAPI_PROP_RW cv::Mat img
 要绘制的图像
 
GAPI_PROP_RW cv::Point org
 图像的左下角。
 

详细描述

此结构体表示要绘制的图像。

Image 使用指定的掩码混合到帧上。

构造函数 & 析构函数文档

◆ 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 构造函数。

参数
org_图像的左下角
img_要绘制的图像
alpha_要绘制图像的 Alpha 通道(大小和通道数相同)

◆ Image() [2/2]

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

成员数据文档

◆ alpha

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

要绘制图像的 Alpha 通道(大小和通道数相同)

◆ img

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

◆ org

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

图像的左下角。


此结构体的文档由以下文件生成