|
Milena (Olena)
User documentation 2.0a Id
|
Basic 3D image class. More...
#include <image3d.hh>

Public Types | |
| typedef T & | lvalue |
| Return type of read-write access. | |
| typedef const T & | rvalue |
| Return type of read-only access. | |
| typedef image3d< tag::value_< T > > | skeleton |
| Skeleton. | |
| typedef T | value |
| Value associated type. | |
Public Member Functions | |
| const box3d & | bbox () const |
| Give the bounding box domain. | |
| unsigned | border () const |
| Give the border thickness. | |
| const T * | buffer () const |
| Give a hook to the value buffer. | |
| T * | buffer () |
| Give a hook to the value buffer. | |
| int | delta_index (const dpoint3d &dp) const |
| Fast Image method. | |
| const box3d & | domain () const |
| Give the definition domain. | |
| const T & | element (unsigned i) const |
Read-only access to the image value located at index i. | |
| T & | element (unsigned i) |
Read-write access to the image value located at index i. | |
| bool | has (const point3d &p) const |
Test if p is valid. | |
| image3d () | |
| Constructor without argument. | |
| image3d (const box3d &b, unsigned bdr=border::thickness) | |
| Constructor with a box and the border thickness (default is 3). | |
| image3d (int nslis, int nrows, int ncols, unsigned bdr=border::thickness) | |
| Constructor with the numbers of indexes and the border thickness. | |
| unsigned | ncols () const |
| Give the number of columns. | |
| unsigned | nelements () const |
| Give the number of cells (points including border ones). | |
| unsigned | nrows () const |
| Give the number of rows. | |
| unsigned | nslis () const |
| Give the number of slices. | |
| const T & | operator() (const point3d &p) const |
Read-only access to the image value located at point p. | |
| T & | operator() (const point3d &p) |
Read-write access to the image value located at point p. | |
| point3d | point_at_index (unsigned o) const |
Give the point corresponding to the offset o. | |
| const box3d & | vbbox () const |
| virtual box, i.e., box including the virtual border | |
Basic 3D image class.
The parameter T is the type of pixel values. This image class stores data in memory and has a virtual border with constant thickness around data.
Definition at line 130 of file core/image/image3d.hh.
| typedef T& mln::image3d< T >::lvalue |
Return type of read-write access.
Definition at line 153 of file core/image/image3d.hh.
| typedef const T& mln::image3d< T >::rvalue |
Return type of read-only access.
Definition at line 150 of file core/image/image3d.hh.
| typedef image3d< tag::value_<T> > mln::image3d< T >::skeleton |
Skeleton.
Definition at line 157 of file core/image/image3d.hh.
| typedef T mln::image3d< T >::value |
Value associated type.
Definition at line 147 of file core/image/image3d.hh.
Constructor without argument.
Definition at line 389 of file core/image/image3d.hh.
|
inline |
Constructor with a box and the border thickness (default is 3).
Definition at line 395 of file core/image/image3d.hh.
|
inline |
Constructor with the numbers of indexes and the border thickness.
Definition at line 402 of file core/image/image3d.hh.
Give the bounding box domain.
Definition at line 428 of file core/image/image3d.hh.
|
inline |
Give the border thickness.
Definition at line 446 of file core/image/image3d.hh.
|
inline |
Give a hook to the value buffer.
Definition at line 554 of file core/image/image3d.hh.
|
inline |
Give a hook to the value buffer.
Definition at line 563 of file core/image/image3d.hh.
Fast Image method.
Give the offset corresponding to the delta-point dp.
Definition at line 572 of file core/image/image3d.hh.
Give the definition domain.
Definition at line 419 of file core/image/image3d.hh.
Referenced by mln::accu::stat::operator==().
|
inline |
Read-only access to the image value located at index i.
Definition at line 491 of file core/image/image3d.hh.
|
inline |
Read-write access to the image value located at index i.
Definition at line 500 of file core/image/image3d.hh.
Test if p is valid.
Definition at line 464 of file core/image/image3d.hh.
|
inline |
Give the number of columns.
Definition at line 545 of file core/image/image3d.hh.
|
inline |
Give the number of cells (points including border ones).
Definition at line 455 of file core/image/image3d.hh.
|
inline |
Give the number of rows.
Definition at line 536 of file core/image/image3d.hh.
|
inline |
Give the number of slices.
Definition at line 527 of file core/image/image3d.hh.
Read-only access to the image value located at point p.
Definition at line 473 of file core/image/image3d.hh.
Read-write access to the image value located at point p.
Definition at line 482 of file core/image/image3d.hh.
Give the point corresponding to the offset o.
Definition at line 583 of file core/image/image3d.hh.
virtual box, i.e., box including the virtual border
Definition at line 437 of file core/image/image3d.hh.