Generic Image Library: Models

###  | #  |

Classes
Models
Image

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.
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.
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()

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.

Template Parameters

  Types | Models ImageVectorConcept

## ◆ view()

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.

Template Parameters

  Images | Models ImageVectorConcept