Class GeoImgGrid
Inherits the following classes: ImgGrid, GeoGridData
Public Functions
| Type | Name |
|---|---|
| GeoImgGrid (size_t width, size_t height, GeoTransform && transform, GeoProjection && projection) |
|
| GeoImgGrid (const GeoGrid< ColorT > & grid) |
|
| void | draw (const GeoImgGrid & other, std::optional< int > interpolation={}) |
| void | draw (const Contour & contour, const ColorVariant & color, double width) |
| void | draw (const std::vector< Coordinate2D< double > > & in_points, const ColorVariant & color, double width) |
| void | draw_point (const Coordinate2D< double > & point, const ColorVariant & color, double size) |
| void | save_to (const fs::path & path, const Extent2D & extent) |
Public Functions inherited from ImgGrid
See ImgGrid
| 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 |
Public Functions inherited from GeoGridData
See GeoGridData
| Type | Name |
|---|---|
| GeoGridData (GeoTransform && transform, GeoProjection && projection) |
|
| double | dx () const |
| double | dy () const |
| const GeoProjection & | projection () const |
| const GeoTransform & | transform () const |
Protected Attributes inherited from ImgGrid
See ImgGrid
| 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 |
Protected Attributes inherited from GeoGridData
See GeoGridData
| Type | Name |
|---|---|
| GeoProjection | m_projection |
| GeoTransform | m_transform |
Public Functions Documentation
function GeoImgGrid [1/2]
inline GeoImgGrid::GeoImgGrid (
size_t width,
size_t height,
GeoTransform && transform,
GeoProjection && projection
)
function GeoImgGrid [2/2]
template<typename ColorT, typename>
explicit GeoImgGrid::GeoImgGrid (
const GeoGrid < ColorT > & grid
)
function draw [1/3]
function draw [2/3]
function draw [3/3]
void GeoImgGrid::draw (
const std::vector< Coordinate2D < double > > & in_points,
const ColorVariant & color,
double width
)
function draw_point
void GeoImgGrid::draw_point (
const Coordinate2D < double > & point,
const ColorVariant & color,
double size
)
function save_to
The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/grid/img_grid.hpp