#include <run_image.hh>

| Public Types | |
| typedef p_set_of< p_run< P > >::bkd_piter | bkd_piter | 
| Backward Site_Iterator associated type. | |
| typedef Image< void > | category | 
| typedef p_set_of< p_run< P > > | domain_t | 
| Site_Set associated type. | |
| typedef E | exact_t | 
| typedef p_set_of< p_run< P > >::fwd_piter | fwd_piter | 
| Forward Site_Iterator associated type. | |
| typedef fwd_piter | piter | 
| Site_Iterator associated type; default definition is fwd_piter. | |
| typedef p_set_of< p_run< P > >::psite | psite | 
| Point_Site associated type. | |
| typedef p_set_of< p_run< P > >::site | site | 
| Site associated type. | |
| typedef mln::value::set< P > | t_eligible_values_set | 
| Eligible-value-set associated type. | |
| typedef mln::value::set < typename mln::value::super_value< P > ::ret > | t_values_space | 
| Value space associated type. | |
| typedef P | value | 
| Value associated type. | |
| Public Member Functions | |
| float | compression () const | 
| Give the rate of compression. | |
| void | destroy () | 
| Detach data from an image (free it if nobody else hold it). | |
| void | finalize () | 
| Finalize the construction. | |
| bool | has (const typename p_set_of< p_run< P > >::psite &ps) const | 
| Tell if the image has the given point site. | |
| bool | has (const psite &p) const | 
| Test if pbelongs to the image domain. | |
| const util::tracked_ptr < internal::data< E > > & | hook_data_ () const | 
| Hook to the image data. | |
| const void * | id_ () const | 
| Give an identifier of this image. | |
| unsigned | index_of_point (const P &p) const | 
| Give the offset of the site p. | |
| bool | is_valid () const | 
| Test if this image has been initialized; default impl. | |
| std::size_t | nsites () const | 
| Give the number of sites of the image domain. | |
| P | point_at (const typename p_set_of< p_run< P > >::psite &ps) const | 
| Give the point represented by the point-site. | |
| const t_eligible_values_set & | values_eligible () const | 
| const t_values_space & | values_space () const | 
| Return the value space of the image. | |
| Protected Member Functions | |
| run_image_ () | |
| Protected Attributes | |
| util::tracked_ptr < internal::data< E > > | data_ | 
Factorization class for run_image. Parameter T is the type of the image value. Parameter P is the type of the image point. Parameter E is the Exact type of the image. 
| typedef p_set_of< p_run< P > >  ::bkd_piter mln::internal::image_base< P , p_set_of< p_run< P > > , E >::bkd_piter  [inherited] | 
Backward Site_Iterator associated type.
| typedef Image<void> mln::Image< E >::category  [inherited] | 
Reimplemented from mln::Object< E >.
| typedef p_set_of< p_run< P > >  mln::internal::image_base< P , p_set_of< p_run< P > > , E >::domain_t  [inherited] | 
Site_Set associated type.
| typedef E mln::Object< E >::exact_t  [inherited] | 
| typedef p_set_of< p_run< P > >  ::fwd_piter mln::internal::image_base< P , p_set_of< p_run< P > > , E >::fwd_piter  [inherited] | 
Forward Site_Iterator associated type.
| typedef fwd_piter mln::internal::image_base< P , p_set_of< p_run< P > > , E >::piter  [inherited] | 
Site_Iterator associated type; default definition is fwd_piter.
| typedef p_set_of< p_run< P > >  ::psite mln::internal::image_base< P , p_set_of< p_run< P > > , E >::psite  [inherited] | 
Point_Site associated type.
| typedef p_set_of< p_run< P > >  ::site mln::internal::image_base< P , p_set_of< p_run< P > > , E >::site  [inherited] | 
Site associated type.
| typedef mln::value::set<P > mln::internal::image_base< P , p_set_of< p_run< P > > , E >::t_eligible_values_set  [inherited] | 
Eligible-value-set associated type.
| typedef mln::value::set< typename mln::value::super_value<P >::ret > mln::internal::image_base< P , p_set_of< p_run< P > > , E >::t_values_space  [inherited] | 
Value space associated type.
| typedef P  mln::internal::image_base< P , p_set_of< p_run< P > > , E >::value  [inherited] | 
Value associated type.
| mln::internal::run_image_< T, P, E >::run_image_ | ( | ) |  [inline, protected] | 
| float mln::internal::run_image_< T, P, E >::compression | ( | ) | const  [inline] | 
Give the rate of compression.
Give the rate of space gained by coding an image in this format. A rate of 1 means there is no compression. Less than 1 means we have gained space.
References mln::internal::image_base< P, p_set_of< p_run< P > >, E >::data_, and mln::exact().
| void mln::internal::image_base< P , p_set_of< p_run< P > > , E >::destroy | ( | ) |  [inherited] | 
Detach data from an image (free it if nobody else hold it).
| void mln::internal::run_image_< T, P, E >::finalize | ( | ) |  [inline] | 
Finalize the construction.
For internal use, this method has to be called to have actually an lighter image. So it improves compression.
References mln::exact().
| bool mln::internal::run_image_< T, P, E >::has | ( | const typename p_set_of< p_run< P > >::psite & | ps | ) | const  [inline] | 
Tell if the image has the given point site.
References mln::exact().
| bool mln::internal::image_base< P , p_set_of< p_run< P > > , E >::has | ( | const psite & | p | ) | const  [inherited] | 
Test if p belongs to the image domain. 
| const util::tracked_ptr< internal::data<E> >& mln::internal::image_base< P , p_set_of< p_run< P > > , E >::hook_data_ | ( | ) | const  [inherited] | 
Hook to the image data.
| const void* mln::internal::image_base< P , p_set_of< p_run< P > > , E >::id_ | ( | ) | const  [inherited] | 
Give an identifier of this image.
When several image variables designate the same image, they share the same identifier.
| unsigned mln::internal::check::image_fastest_< E, mln::metal::equal< mln_trait_image_speed(E), trait::image::speed::fastest >::eval >::index_of_point | ( | const P & | p | ) | const  [inherited] | 
Give the offset of the site p. 
| [in] | p | A site. | 
p. | bool mln::internal::image_base< P , p_set_of< p_run< P > > , E >::is_valid | ( | ) | const  [inherited] | 
Test if this image has been initialized; default impl.
| std::size_t mln::internal::image_base< P , p_set_of< p_run< P > > , E >::nsites | ( | ) | const  [inherited] | 
Give the number of sites of the image domain.
| P mln::internal::run_image_< T, P, E >::point_at | ( | const typename p_set_of< p_run< P > >::psite & | ps | ) | const  [inline] | 
Give the point represented by the point-site.
Use the coordinate of the psite to see what point it corresponds with the domain of the image.
References mln::exact().
| const t_eligible_values_set& mln::internal::image_base< P , p_set_of< p_run< P > > , E >::values_eligible | ( | ) | const  [inherited] | 
| const t_values_space& mln::internal::image_base< P , p_set_of< p_run< P > > , E >::values_space | ( | ) | const  [inherited] | 
Return the value space of the image.
| util::tracked_ptr< internal::data<E> > mln::internal::image_base< P , p_set_of< p_run< P > > , E >::data_  [protected, inherited] | 
Referenced by mln::internal::run_image_< T, P, E >::compression().
 1.7.1
 1.7.1