Documentation class for mln::Image. More...
#include <image.hh>
Public Types | |
typedef void | bkd_piter |
Backward point iterator associated type. | |
typedef void | coord |
Coordinate associated type. | |
typedef void | dpoint |
Dpsite associated type. | |
typedef void | fwd_piter |
Forward point iterator associated type. | |
typedef void | lvalue |
Type returned by the read-write pixel value operator. | |
typedef void | point |
Site associated type. | |
typedef void | pset |
Point set associated type. | |
typedef void | psite |
Point_Site associated type. | |
typedef void | rvalue |
Type returned by the read pixel value operator. | |
typedef void | skeleton |
Associate type that describes how this type of image is constructed. | |
typedef void | value |
Value associated type. | |
typedef void | vset |
Value set associated type. | |
Public Member Functions | |
const box< point > & | bbox () const |
Give a bounding box of the image domain. | |
const pset & | domain () const |
Give the definition domain of the image. | |
bool | has (const psite &p) const |
Test if the image owns the point site p . | |
bool | has (const psite &p) const |
Test if p belongs to the image domain. | |
bool | is_valid () const |
Test if the image have been initialized. | |
unsigned | nsites () const |
Give the number of points of the image domain. | |
rvalue | operator() (const psite &p) const |
Read-only access to the image value located at p . | |
lvalue | operator() (const psite &p) |
Read-write access to the image value located at p . | |
const vset & | values () const |
Give the set of values of the image. |
Documentation class for mln::Image.
typedef void mln::doc::Image< E >::bkd_piter |
Backward point iterator associated type.
typedef void mln::doc::Image< E >::coord |
Coordinate associated type.
typedef void mln::doc::Image< E >::dpoint |
Dpsite associated type.
typedef void mln::doc::Image< E >::fwd_piter |
Forward point iterator associated type.
typedef void mln::doc::Image< E >::lvalue |
Type returned by the read-write pixel value operator.
typedef void mln::doc::Image< E >::point |
Site associated type.
typedef void mln::doc::Image< E >::pset |
Point set associated type.
typedef void mln::doc::Image< E >::psite |
Point_Site associated type.
typedef void mln::doc::Image< E >::rvalue |
Type returned by the read pixel value operator.
typedef void mln::doc::Image< E >::skeleton |
Associate type that describes how this type of image is constructed.
typedef void mln::doc::Image< E >::value |
Value associated type.
typedef void mln::doc::Image< E >::vset |
Value set associated type.
const box<point>& mln::doc::Image< E >::bbox | ( | ) | const |
Give a bounding box of the image domain.
This bounding box may be larger than the smallest bounding box (the optimal one). Practically an image type is not obliged to update its bounding box so that it is always optimal.
const pset& mln::doc::Image< E >::domain | ( | ) | const |
Give the definition domain of the image.
bool mln::doc::Image< E >::has | ( | const psite & | p | ) | const |
Test if the image owns the point site p
.
p
is possible, that is, does not abort the execution. bool mln::doc::Image< E >::has | ( | const psite & | p | ) | const |
Test if p
belongs to the image domain.
[in] | p | A point site. |
p
belongs to the image domain.bool mln::doc::Image< E >::is_valid | ( | ) | const |
Test if the image have been initialized.
unsigned mln::doc::Image< E >::nsites | ( | ) | const |
Give the number of points of the image domain.
rvalue mln::doc::Image< E >::operator() | ( | const psite & | p | ) | const |
Read-only access to the image value located at p
.
[in] | p | A point site. |
p
.p
(not assignable). lvalue mln::doc::Image< E >::operator() | ( | const psite & | p | ) |
Read-write access to the image value located at p
.
[in] | p | A point site. |
p
.p
(assignable). const vset& mln::doc::Image< E >::values | ( | ) | const |
Give the set of values of the image.