Boost GIL


Classes | Namespaces | Functions
image.hpp File Reference

Templated image. More...

#include <cstddef>
#include <memory>
#include <boost/mpl/bool.hpp>
#include <boost/mpl/if.hpp>
#include <boost/mpl/arithmetic.hpp>
#include "gil_config.hpp"
#include "image_view.hpp"
#include "metafunctions.hpp"
#include "algorithm.hpp"

Go to the source code of this file.

Classes

class  image< Pixel, IsPlanar, Alloc >
 container interface over image view. Models ImageConcept, PixelBasedConcept More...
 

Namespaces

 boost
 Pixel 2D LOCATOR.
 

Functions

template<typename Pixel , bool IsPlanar, typename Alloc >
void swap (image< Pixel, IsPlanar, Alloc > &im1, image< Pixel, IsPlanar, Alloc > &im2)
 
template<typename Pixel1 , bool IsPlanar1, typename Alloc1 , typename Pixel2 , bool IsPlanar2, typename Alloc2 >
bool operator== (const image< Pixel1, IsPlanar1, Alloc1 > &im1, const image< Pixel2, IsPlanar2, Alloc2 > &im2)
 
template<typename Pixel1 , bool IsPlanar1, typename Alloc1 , typename Pixel2 , bool IsPlanar2, typename Alloc2 >
bool operator!= (const image< Pixel1, IsPlanar1, Alloc1 > &im1, const image< Pixel2, IsPlanar2, Alloc2 > &im2)
 

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 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

Templated image.

Author
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date
2005-2007
Last updated on February 12, 2007