$extrastylesheet
#include <mln/core/internal/run_image.hh>
Public Member Functions | |
float | compression () const |
void | destroy () |
void | finalize () |
bool | has (const typename p_set_of< p_run< P > >::psite &ps) const |
bool | has (const psite &p) const |
bool | is_valid () const |
std::size_t | nsites () const |
P | point_at (const typename p_set_of< p_run< P > >::psite &ps) const |
const t_eligible_values_set & | values_eligible () const |
const t_values_space & | values_space () const |
Protected Member Functions | |
run_image_ () |
Protected Attributes | |
mln::util::tracked_ptr < internal::data< E > > | data_ |
Public Types | |
typedef p_set_of< p_run< P > >::bkd_piter | bkd_piter |
typedef Image< void > | category |
typedef p_set_of< p_run< P > > | domain_t |
typedef E | exact_t |
typedef p_set_of< p_run< P > >::fwd_piter | fwd_piter |
typedef fwd_piter | piter |
typedef p_set_of< p_run< P > >::psite | psite |
typedef p_set_of< p_run< P > >::site | site |
typedef mln::value::set< P > | t_eligible_values_set |
typedef mln::value::set < typename mln::value::super_value< P > ::ret > | t_values_space |
typedef P | value |
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.
Definition at line 53 of file run_image.hh.
|
protected |
float mln::internal::run_image_< T, P, E >::compression | ( | ) | const |
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.
|
inherited |
Detach data from an image (free it if nobody else hold it).
void mln::internal::run_image_< T, P, E >::finalize | ( | ) |
Finalize the construction.
For internal use, this method has to be called to have actually an lighter image. So it improves compression.
bool mln::internal::run_image_< T, P, E >::has | ( | const typename p_set_of< p_run< P > >::psite & | ps | ) | const |
Tell if the image has the given point site.
|
inherited |
Test if p
belongs to the image domain.
|
inherited |
Test if this image has been initialized; default impl.
|
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 |
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.
|
inherited |
|
inherited |
Return the value space of the image.
|
protectedinherited |
INTERNAL_API Internal data, sharable by several images.
Definition at line 176 of file core/internal/image_base.hh.
|
inherited |
Backward Site_Iterator associated type.
Definition at line 122 of file core/internal/image_base.hh.
|
inherited |
Definition at line 78 of file core/concept/image.hh.
|
inherited |
Site_Set associated type.
Definition at line 109 of file core/internal/image_base.hh.
|
inherited |
|
inherited |
Forward Site_Iterator associated type.
Definition at line 119 of file core/internal/image_base.hh.
|
inherited |
Site_Iterator associated type; default definition is fwd_piter.
Definition at line 127 of file core/internal/image_base.hh.
|
inherited |
Point_Site associated type.
Definition at line 112 of file core/internal/image_base.hh.
|
inherited |
Site associated type.
Definition at line 115 of file core/internal/image_base.hh.
|
inherited |
Eligible-value-set associated type.
Definition at line 95 of file core/internal/image_base.hh.
|
inherited |
Value space associated type.
Definition at line 102 of file core/internal/image_base.hh.
|
inherited |
Value associated type.
Definition at line 92 of file core/internal/image_base.hh.