Boost GIL


Classes
Models

Image models. More...

Classes

class  image< Pixel, IsPlanar, Alloc >
 container interface over image view. Models ImageConcept, PixelBasedConcept More...
 
class  any_image< Images >
 Represents a run-time specified image. Note it does NOT model ImageConcept. More...
 

view, const_view

Get an image view from a run-time instantiated image

template<typename Pixel , bool IsPlanar, typename Alloc >
const image< Pixel, IsPlanar, Alloc >::view_t & view (image< Pixel, IsPlanar, Alloc > &img)
 Returns the non-constant-pixel view of an image.
 
template<typename Types >
BOOST_FORCEINLINE auto view (any_image< Types > &img) -> typename any_image< Types >::view_t
 Returns the non-constant-pixel view of any image. The returned view is any view. More...
 
template<typename Types >
BOOST_FORCEINLINE auto const_view (any_image< Types > const &img) -> typename any_image< Types >::const_view_t
 Returns the constant-pixel view of any image. The returned view is any view. More...
 
template<typename Pixel , bool IsPlanar, typename Alloc >
const image< Pixel, IsPlanar, Alloc >::const_view_t const_view (const image< Pixel, IsPlanar, Alloc > &img)
 Returns the constant-pixel view of an image.
 

Detailed Description

Image models.

Function Documentation

◆ const_view()

BOOST_FORCEINLINE auto boost::gil::const_view ( any_image< Types > const &  img) -> typename any_image<Types>::const_view_t

Returns the constant-pixel view of any image. The returned view is any view.

Template Parameters
TypesModels ImageVectorConcept

◆ view()

BOOST_FORCEINLINE auto boost::gil::view ( any_image< Types > &  img) -> typename any_image<Types>::view_t

Returns the non-constant-pixel view of any image. The returned view is any view.

Template Parameters
TypesModels ImageVectorConcept