boost::gil::image
container interface over image view. Models ImageConcept, PixelBasedConcept
Synopsis
Declared in <boost/gil/image.hpp>
template<
typename Pixel,
bool IsPlanar = false,
typename Alloc = std::allocator<unsigned char>>
class image;
Description
/////////////////////////////////////////////////////////////////////////////////////
A 2D container whose elements are pixels. It is templated over the pixel type, a boolean indicating whether it should be planar, and an optional allocator.
Note that its element type does not have to be a pixel. image can be instantiated with any Regular element, in which case it models the weaker RandomAccess2DImageConcept and does not model PixelBasedConcept
When recreating an image of the same or smaller size the memory will be reused if possible.
/////////////////////////////////////////////////////////////////////////////////////
Member Functions
Friends
Name |
Description |
|
container interface over image view. Models ImageConcept, PixelBasedConcept |
Non-Member Functions
Name |
Description |
Returns the constant‐pixel view of an image |
|
adds new row and column at all sides. Image padding introduces new pixels around the edges of an image. The border provides space for annotations or acts as a boundary when using advanced filtering techniques. |
|
adds new column at left and right. Image padding introduces new pixels around the edges of an image. The border provides space for annotations or acts as a boundary when using advanced filtering techniques. |
|
adds new row at top and bottom. Image padding introduces new pixels around the edges of an image. The border provides space for annotations or acts as a boundary when using advanced filtering techniques. |
|
Inequality operator |
|
Equality operator |
|
Returns the non‐constant‐pixel view of an image |
Created with MrDocs