$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::pixel< I > Struct Template Reference

#include <mln/core/pixel.hh>

Public Member Functions

 pixel (I &image)
 pixel (I &image, const typename I::psite &p)
value ** address_ () const
void change_to (const typename I::psite &p)
I & ima () const
bool is_valid () const
 operator unsigned () const
lvalue val ()
rvalue val () const

Public Types

typedef Object< void > category
typedef pixel< I > exact_t
typedef I image
typedef I::lvalue lvalue
typedef I::rvalue rvalue
typedef I::value value

Detailed Description

template<typename I>
struct mln::pixel< I >

Generic pixel class.

The parameter is I the type of the image it belongs to.

Definition at line 51 of file core/pixel.hh.

Constructor & Destructor Documentation

template<typename I>
mln::pixel< I >::pixel ( I &  image)

Constructor.

template<typename I>
mln::pixel< I >::pixel ( I &  image,
const typename I::psite &  p 
)

Constructor.

Member Function Documentation

value** mln::internal::pixel_impl_< I, pixel< I > >::address_ ( ) const
inherited

Address of the current iterator value/pixel.

template<typename I>
void mln::pixel< I >::change_to ( const typename I::psite &  p)

Change the pixel to the one at point p.

I& mln::internal::pixel_impl_< I, pixel< I > >::ima ( ) const
inherited

Give the pixel image.

template<typename I>
bool mln::pixel< I >::is_valid ( ) const

Test if this pixel is valid.

mln::Generalized_Pixel< pixel< I > >::operator unsigned ( ) const
inlineinherited

Definition at line 65 of file generalized_pixel.hh.

lvalue mln::internal::pixel_impl_< I, pixel< I > >::val ( )
inherited

pixel iterator value.

rvalue mln::internal::pixel_impl_< I, pixel< I > >::val ( ) const
inherited

Get the pixel iterator value.

Member Typedef Documentation

typedef Object<void> mln::Object< pixel< I > >::category
inherited

Definition at line 106 of file object.hh.

typedef pixel< I > mln::Object< pixel< I > >::exact_t
inherited

Definition at line 105 of file object.hh.

typedef I mln::internal::pixel_impl_< I, pixel< I > >::image
inherited

Image type.

Definition at line 131 of file pixel_impl.hh.

typedef I ::lvalue mln::internal::pixel_impl_< I, pixel< I > >::lvalue
inherited

Image lvalue type.

Definition at line 137 of file pixel_impl.hh.

typedef I ::rvalue mln::internal::pixel_impl_< I, pixel< I > >::rvalue
inherited

Image rvalue type.

Definition at line 140 of file pixel_impl.hh.

typedef I ::value mln::internal::pixel_impl_< I, pixel< I > >::value
inherited

Image value type.

Definition at line 134 of file pixel_impl.hh.