mln::doc::Fastest_Image< E > Struct Template Reference
Documentation class for the concept of images that have the speed property
set to "fastest".
More...
#include <image_fastest.hh>
List of all members.
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
Coordinate associated type.
Dpsite associated type.
- Invariant:
- This type has to derive from mln::Dpoint.
Type returned by the read-write pixel value operator.
Site associated type.
- Invariant:
- This type has to derive from mln::Point.
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 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 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 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-write access to the image value at offset o
.
- Parameters:
-
- Precondition:
- o < nelements()
- Returns:
- The value at
o
(assignable).
Read-only access to the image value at offset o
.
- Parameters:
-
- Precondition:
- o < nelements()
- Returns:
- The value at
o
(not 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.