Adobe Systems, Inc.

image< V, ALLOC > Class Template Reference
[Image]

container interface over image view More...

#include <image.hpp>

List of all members.


Public Types

typedef ALLOC allocator_type
typedef view_t::color_space_t color_space_t
typedef const_view_t::iterator const_iterator
typedef const_iterator const_pointer
typedef const_view_t::reference const_reference
typedef const_view_t::reverse_iterator const_reverse_iterator
typedef view_t::const_t const_view_t
typedef view_t::coord_t coord_t
typedef view_t::difference_type difference_type
typedef view_t::iterator iterator
typedef view_t::pixel_t pixel_t
typedef view_t::point_t point_t
typedef iterator pointer
typedef view_t::reference reference
typedef view_t::reverse_iterator reverse_iterator
typedef view_t::size_type size_type
typedef view_t::value_type value_type
typedef V view_t
typedef coord_t x_coord_t
typedef coord_t y_coord_t

Public Member Functions

ALLOC const & allocator () const
ALLOC & allocator ()
iterator begin ()
const_iterator begin () const
 BOOST_STATIC_CONSTANT (int, num_channels=view_t::num_channels)
const point_tdimensions () const
bool empty () const
iterator end ()
const_iterator end () const
y_coord_t height () const
template<typename V2, typename ALLOC2>
 image (const image< V2, ALLOC2 > &img)
 image (const image &img)
 image (x_coord_t width, y_coord_t height, unsigned int alignment=1)
 image (const point_t &dimensions, unsigned int alignment=1)
 image ()
size_type max_size () const
imageoperator= (const image &img)
template<typename IMG>
imageoperator= (const IMG &img)
const_reference operator[] (size_type i) const
reference operator[] (size_type i)
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
size_type size () const
void swap (image &img)
x_coord_t width () const
 ~image ()

Friends

template<typename V2, typename ALLOC2>
const V2::const_t & const_view (const image< V2, ALLOC2 > &img)
template<typename V2, typename ALLOC2>
const V2 & view (image< V2, ALLOC2 > &img)

Classes

class  is_planar

Detailed Description

template<typename V, typename ALLOC = std::allocator<unsigned char>>
class image< V, ALLOC >

image is a wrapper over image_view that owns the data. Images have deep copy constructor, operator= and operator==. A constant image does not allow for modifying its pixels.

Definition at line 47 of file image.hpp.


Friends And Related Function Documentation

template<typename V, typename ALLOC = std::allocator<unsigned char>>
template<typename V2, typename ALLOC2>
const V2& view image< V2, ALLOC2 > &  img  )  [friend]
 

Returns the non-constant-pixel view of an image.

Definition at line 192 of file image.hpp.

template<typename V, typename ALLOC = std::allocator<unsigned char>>
template<typename V2, typename ALLOC2>
const V2::const_t& const_view const image< V2, ALLOC2 > &  img  )  [friend]
 

Returns the constant-pixel view of an image.

Definition at line 195 of file image.hpp.

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google