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

This structure represents a mosaicing operation. More...

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

Public Member Functions

 Mosaic (const cv::Rect &mos_, int cellSz_, int decim_)
 Mosaic constructor. More...
 
 Mosaic ()
 

Public Attributes

cv::Rect mos
 Coordinates of the mosaic. More...
 
int cellSz
 Cell size (same for X, Y) More...
 
int decim
 Decimation (0 stands for no decimation) More...
 

Detailed Description

This structure represents a mosaicing operation.

Mosaicing is a very basic method to obfuscate regions in the image.

Constructor & Destructor Documentation

◆ Mosaic() [1/2]

cv::gapi::wip::draw::Mosaic::Mosaic ( const cv::Rect mos_,
int  cellSz_,
int  decim_ 
)
inline

Mosaic constructor.

Parameters
mos_Coordinates of the mosaic
cellSz_Cell size (same for X, Y)
decim_Decimation (0 stands for no decimation)

◆ Mosaic() [2/2]

cv::gapi::wip::draw::Mosaic::Mosaic ( )
inline

Member Data Documentation

◆ cellSz

int cv::gapi::wip::draw::Mosaic::cellSz

Cell size (same for X, Y)

◆ decim

int cv::gapi::wip::draw::Mosaic::decim

Decimation (0 stands for no decimation)

◆ mos

cv::Rect cv::gapi::wip::draw::Mosaic::mos

Coordinates of the mosaic.


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