Adobe Systems, Inc.

Iterator Traits
[Pixel Iterators]

Traits for pixel iterators. More...

Namespaces

namespace  detail

Classes

struct  pixel_iterator_traits< const pixel< T, C > * >
 Raw pointers to pixel are used for interleaved pixels. Interleaved pixels use standard pointers and references. More...
struct  pixel_iterator_traits< dereference_iterator_adaptor< I, D_FN > >
 Traits for dereference iterator adaptor. More...
struct  pixel_iterator_traits< pixel< T, C > * >
 Raw pointers to pixel are used for interleaved pixels. Interleaved pixels use standard pointers and references. More...
struct  pixel_iterator_traits< pixel_image_iterator< LOC > >
 Traits for pixel image iterator. More...
struct  pixel_iterator_traits< pixel_step_iterator< IT > >
 Traits for pixel step iterator. More...
struct  pixel_iterator_traits< planar_ptr< IC, C > >
 Planar pixels use special proxy classes for pointers and references. More...

Detailed Description

That includes raw pointers to pixel structs, pointer classes for planar pixels, and step iterators for non-trivial iteration.
In addition to the regular iterator traits types, iterators over pixels have the following:
  • color_space_t (also incorporates presence of alpha, and the channel sequence. Sample values: rgb_t, bgr_t, rgba_t, bgra_tag, cmyk_t, cmyka_tag)
  • channel_t (unsigned char (bits8), unsigned short (bits16), float (bits32f), etc)
  • const_channel_t (the constant version of channel_t)
  • const_reference (the constant version of a reference)
  • const_t (pixel iterator of the same type, except that it operates on constant pixels, i.e. does not allow changing the pixels)
  • dynamic_step_t (pixel iterator of the same type, except that it has a dynamic step)
  • is_planar (bool determining whether the iterator operates on planar or interleaved data)
  • is_base (bool determining whether the iterator is an adaptor over another one or is fundamental)
  • base_t (the type of the adaptee iterator. Not defined when is_base is false )
  • pixel_data_is_real (true if the iterator operates on pixel data that exists in memory (as opposed to being generated on the fly, as in the color conversion iterators for example)

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