$extrastylesheet
#include <mln/pw/image.hh>
Public Member Functions | |
image () | |
image (const Function_v2v< F > &f, const Site_Set< S > &ps) | |
void | destroy () |
const S & | domain () const |
F | function () const |
bool | has (const psite &p) const |
void | init_ (const Function_v2v< F > &f, const Site_Set< S > &ps) |
bool | is_valid () const |
typedef | mlc_if (is_mutable, mutable_result, typename F::result) lvalue |
std::size_t | nsites () const |
rvalue | operator() (const typename S::psite &p) const |
lvalue | operator() (const typename S::psite &p) |
const t_eligible_values_set & | values_eligible () const |
const t_values_space & | values_space () const |
Protected Attributes | |
mln::util::tracked_ptr < internal::data< image< F, S > > > | data_ |
Public Types | |
typedef S::bkd_piter | bkd_piter |
typedef Image< void > | category |
typedef S | domain_t |
typedef image< F, S > | exact_t |
typedef F | function_t |
typedef S::fwd_piter | fwd_piter |
typedef fwd_piter | piter |
typedef S::psite | psite |
typedef F::result | rvalue |
typedef S::site | site |
typedef image< tag::function_ < F >, tag::domain_< S > > | skeleton |
typedef mln::value::set < F::result > | t_eligible_values_set |
typedef mln::value::set < typename mln::value::super_value < F::result >::ret > | t_values_space |
typedef F::result | value |
A generic point-wise image implementation.
Parameter F
is a function restricting the domain. Parameter S
is the domain type.
Definition at line 96 of file pw/image.hh.
mln::pw::image< F, S >::image | ( | ) |
Constructor without argument.
mln::pw::image< F, S >::image | ( | const Function_v2v< F > & | f, |
const Site_Set< S > & | ps | ||
) |
Constructor.
|
inherited |
Detach data from an image (free it if nobody else hold it).
|
inherited |
Give the definition domain.
|
inherited |
Return the function which computes a site value.
|
inherited |
Test if p
belongs to the image domain.
|
inherited |
Initialize an empty image.
|
inherited |
Test if this image has been initialized; default impl.
|
inherited |
Return type of read-write access.
|
inherited |
Give the number of sites of the image domain.
|
inherited |
Read-only access of pixel value at point site p
.
|
inherited |
Read-write access returns either a temporary value (copy) or a reference in the case of a mutable function (container).
|
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 |
Function associated type.
Definition at line 127 of file pw/internal/image_base.hh.
|
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 |
Return type of read-only access.
Definition at line 133 of file pw/internal/image_base.hh.
|
inherited |
Site associated type.
Definition at line 115 of file core/internal/image_base.hh.
typedef image< tag::function_<F>, tag::domain_<S> > mln::pw::image< F, S >::skeleton |
Skeleton.
Definition at line 103 of file pw/image.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 130 of file pw/internal/image_base.hh.