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

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

Template Parameters
ImagesModels ImageVectorConcept