Skip to content

Class ImgGrid

ClassList > ImgGrid

Inherits the following classes: GridData

Inherited by the following classes: GeoImgGrid

Public Functions

Type Name
ImgGrid (size_t height, size_t width, std::optional< int > type={})
RGBColor get_rgb_color (size_t row, size_t col) const
void save_to (const fs::path & path)
~ImgGrid ()

Public Functions inherited from GridData

See GridData

Type Name
GridData (size_t width, size_t height)
size_t height () const
bool in_bounds (const Coordinate2D< size_t > & coord) const
size_t width () const

Protected Attributes

Type Name
std::unique_ptr< cv::Mat > m_img

Protected Attributes inherited from GridData

See GridData

Type Name
size_t m_height
size_t m_width

Public Functions Documentation

function ImgGrid

ImgGrid::ImgGrid (
    size_t height,
    size_t width,
    std::optional< int > type={}
) 

function get_rgb_color

RGBColor ImgGrid::get_rgb_color (
    size_t row,
    size_t col
) const

function save_to

void ImgGrid::save_to (
    const fs::path & path
) 

function ~ImgGrid

ImgGrid::~ImgGrid () 

Protected Attributes Documentation

variable m_img

std::unique_ptr<cv::Mat> ImgGrid::m_img;


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/grid/img_grid.hpp