| OpenCV 4.3.0 Open Source Computer Vision

Public Member Functions | List of all members
cv::gapi::wip::draw::Mosaic Struct Reference
G-API Drawing and composition functionality » Drawing primitives

This structure represents a mosaicing operation. More...

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

## Public Member Functions
| Mosaic (const cv::Rect &mos_, int cellSz_, int decim_)
| Mosaic constructor. More...

## 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()

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)

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

- opencv2/gapi/render/render.hpp