Documentation class for the concept of images that have the speed property set to "fastest".
More...
#include <image_fastest.hh>
List of all members.
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.
|
unsigned | border () |
| Give the border thickness.
|
const value * | buffer () const |
| Give a hook to the value buffer.
|
int | delta_index (const dpoint &dp) |
| Give the offset corresponding to the delta-point dp .
|
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 | nelements () const |
| Give the number of pixels of the image including those of the virtual border.
|
unsigned | nsites () const |
| Give the number of points of the image domain.
|
lvalue | operator() (const psite &p) |
| Read-write access to the image value located at p .
|
rvalue | operator() (const psite &p) const |
| Read-only access to the image value located at p .
|
rvalue | operator[] (unsigned o) const |
| Read-only access to the image value at offset o .
|
lvalue | operator[] (unsigned o) |
| Read-write access to the image value at offset o .
|
point | point_at_index (unsigned o) const |
| Give the point at offset o .
|
const vset & | values () const |
| Give the set of values of the image.
|
Detailed Description
template<typename E>
struct mln::doc::Fastest_Image< E >
Documentation class for the concept of images that have the speed property set to "fastest".
Member Typedef Documentation
Backward point iterator associated type.
- Invariant:
- This type has to derive from mln::Site_Iterator.
Coordinate associated type.
Dpsite associated type.
- Invariant:
- This type has to derive from mln::Dpoint.
Forward point iterator associated type.
- Invariant:
- This type has to derive from mln::Site_Iterator.
Type returned by the read-write pixel value operator.
Site associated type.
- Invariant:
- This type has to derive from mln::Point.
Type returned by the read pixel value operator.
Associate type that describes how this type of image is constructed.
Value associated type.
- Invariant:
- This type is neither qualified by const, nor by reference.
Member Function Documentation
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.
- Returns:
- A bounding box of the image domain.
Give the border thickness.
- Precondition:
- The image has to be initialized.
Give a hook to the value buffer.
- Precondition:
- The image has to be initialized.
Give the offset corresponding to the delta-point dp
.
- Parameters:
-
- Precondition:
- The image has to be initialized.
Give the definition domain of the image.
- Returns:
- A reference to the domain point set.
Test if the image owns the point site p
.
- Returns:
- True if accessing the image value at
p
is possible, that is, does not abort the execution.
Test if p
belongs to the image domain.
- Parameters:
-
- Returns:
- True if
p
belongs to the image domain.
- Invariant:
- has(p) is true => has(p) is also true.
Test if the image have been initialized.
Give the number of pixels of the image including those of the virtual border.
- Precondition:
- The image has to be initialized.
Give the number of points of the image domain.
Read-write access to the image value located at p
.
- Parameters:
-
- Precondition:
- The image has to own the site
p
.
- Returns:
- The value at
p
(assignable).
Read-only access to the image value located at p
.
- Parameters:
-
- Precondition:
- The image has to own the site
p
.
- Returns:
- The value at
p
(not assignable).
Read-only access to the image value at offset o
.
- Parameters:
-
- Precondition:
- o < nelements()
- Returns:
- The value at
o
(not assignable).
Read-write access to the image value at offset o
.
- Parameters:
-
- Precondition:
- o < nelements()
- Returns:
- The value at
o
(assignable).
Give the point at offset o
.
- Parameters:
-
- Precondition:
- The image has to be initialized.
-
o < nelements()
Give the set of values of the image.
- Returns:
- A reference to the value set.