|
aimstil
5.0.5
|
Image class using run-length encoded data. More...
#include <til/ConstImageCPTLinearIterator.h>


Public Types | |
| typedef T | value_type |
| typedef ImageRLE< T > | Self |
Public Member Functions | |
| ImageRLE () | |
| ImageRLE (int x, int y, int z, t_voxsize vx, t_voxsize vy, t_voxsize vz) | |
| ImageRLE (const numeric_array< int, 3 > &dim, const numeric_array< t_voxsize, 3 > &vDim) | |
| ImageRLE (const ImageRLE< T > *) | |
| ImageRLE (const ImageParameter ¶m) | |
| void | init () |
| void | init (int x, int y, int z, t_voxsize vx, t_voxsize vy, t_voxsize vz) |
| void | init (const numeric_array< int, 3 > &dim, const numeric_array< t_voxsize, 3 > &vDim) |
| void | init (const ImageRLE< T > *) |
| void | init (const ImageParameter ¶m) |
| INLINE T | operator() (int i, int j, int k) |
| T | operator() (const numeric_array< int, 3 > &v) |
| INLINE const T | getValue (int i, int j, int k) const |
| Get the value at point (i,j,k) for read-only purpose. More... | |
| const T | getValue (const numeric_array< int, 3 > &v) const |
| INLINE void | setValue (T value, int i, int j, int k) |
| void | setValue (T value, const numeric_array< int, 3 > &v) |
| INLINE void | setUnsafeValue (T value, int i, int j, int k) |
| T | getUnsafeValue (int i, int j, int k) const |
| Get the value at point (i,j,k) for fast read-only purpose. More... | |
| T | getUnsafeValue (const numeric_array< int, 3 > &v) const |
| bool | isAllocated () const |
| Check whether data has been allocated or not. More... | |
| void | reset () |
| Set all values to zero. More... | |
| void | debugLine (const Line &line) const |
| void | debug () const |
| for debugging purposes More... | |
| void | copy (const Self &im) |
Public Member Functions inherited from til::ImageBase | |
| const numeric_array< int, 3 > & | dim () const |
| get image dimension More... | |
| int | size () const |
| Get total number of elements in image. More... | |
| const numeric_array< t_voxsize, 3 > & | vdim () const |
| get voxel size More... | |
| void | set_vdim (const numeric_array< t_voxsize, 3 > &vdim) |
| Set the voxel coordinates. More... | |
Friends | |
| class | ConstLinearIterator< ImageRLE< T > > |
| class | LinearIterator< ImageRLE< T > > |
Additional Inherited Members | |
Protected Member Functions inherited from til::ImageBase | |
| void | set_dim (const numeric_array< int, 3 > &dim) |
| bool | contains (const numeric_array< int, 3 > &p) const |
Image class using run-length encoded data.
Definition at line 18 of file ConstImageCPTLinearIterator.h.
| typedef ImageRLE<T> til::ImageRLE< T >::Self |
Definition at line 47 of file ImageCPT.h.
| typedef T til::ImageRLE< T >::value_type |
Definition at line 46 of file ImageCPT.h.
| til::ImageRLE< T >::ImageRLE | ( | ) |
Definition at line 315 of file ImageCPT.h.
References til::ImageRLE< T >::init().
| til::ImageRLE< T >::ImageRLE | ( | int | x, |
| int | y, | ||
| int | z, | ||
| t_voxsize | vx, | ||
| t_voxsize | vy, | ||
| t_voxsize | vz | ||
| ) |
Definition at line 341 of file ImageCPT.h.
References til::ImageRLE< T >::init().
| til::ImageRLE< T >::ImageRLE | ( | const numeric_array< int, 3 > & | dim, |
| const numeric_array< t_voxsize, 3 > & | vDim | ||
| ) |
Definition at line 359 of file ImageCPT.h.
References til::ImageRLE< T >::init().
| til::ImageRLE< T >::ImageRLE | ( | const ImageRLE< T > * | pIm | ) |
Definition at line 378 of file ImageCPT.h.
References til::ImageRLE< T >::init().
| til::ImageRLE< T >::ImageRLE | ( | const ImageParameter & | param | ) |
Definition at line 398 of file ImageCPT.h.
References til::ImageRLE< T >::init().
|
inline |
Definition at line 134 of file ImageCPT.h.
References til::ImageBase::dim(), and til::ImageBase::vdim().
|
inline |
for debugging purposes
Definition at line 126 of file ImageCPT.h.
References til::ImageRLE< T >::debugLine().
|
inline |
Definition at line 115 of file ImageCPT.h.
Referenced by til::ImageRLE< T >::debug().
| T til::ImageRLE< T >::getUnsafeValue | ( | int | i, |
| int | j, | ||
| int | k | ||
| ) | const |
Get the value at point (i,j,k) for fast read-only purpose.
Definition at line 449 of file ImageCPT.h.
Referenced by til::ImageRLE< T >::getValue(), and til::ImageRLE< T >::setValue().
|
inline |
Definition at line 107 of file ImageCPT.h.
References EXPAND_VECTOR, and til::ImageRLE< T >::getUnsafeValue().
Referenced by til::ImageRLE< T >::getUnsafeValue().
| INLINE const T til::ImageRLE< T >::getValue | ( | int | i, |
| int | j, | ||
| int | k | ||
| ) | const |
Get the value at point (i,j,k) for read-only purpose.
Definition at line 435 of file ImageCPT.h.
References til::ImageBase::contains(), and til::ImageRLE< T >::getUnsafeValue().
Referenced by til::ImageRLE< T >::operator()().
|
inline |
Definition at line 98 of file ImageCPT.h.
References EXPAND_VECTOR, til::ImageRLE< T >::getValue(), INLINE, and til::ImageRLE< T >::setValue().
Referenced by til::ImageRLE< T >::getValue().
| void til::ImageRLE< T >::init | ( | ) |
Definition at line 321 of file ImageCPT.h.
Referenced by til::ImageRLE< T >::ImageRLE(), and til::ImageRLE< T >::init().
| void til::ImageRLE< T >::init | ( | int | x, |
| int | y, | ||
| int | z, | ||
| t_voxsize | vx, | ||
| t_voxsize | vy, | ||
| t_voxsize | vz | ||
| ) |
Definition at line 347 of file ImageCPT.h.
References til::ImageRLE< T >::reset().
| void til::ImageRLE< T >::init | ( | const numeric_array< int, 3 > & | dim, |
| const numeric_array< t_voxsize, 3 > & | vDim | ||
| ) |
Definition at line 365 of file ImageCPT.h.
References EXPAND_VECTOR, til::ImageRLE< T >::init(), til::ImageBase::set_dim(), and til::ImageBase::set_vdim().
| void til::ImageRLE< T >::init | ( | const ImageRLE< T > * | pIm | ) |
Definition at line 391 of file ImageCPT.h.
References til::ImageRLE< T >::init(), and til::param().
| void til::ImageRLE< T >::init | ( | const ImageParameter & | param | ) |
Definition at line 384 of file ImageCPT.h.
References til::ImageRLE< T >::init(), til::ImageParameter::m_dim, and til::ImageParameter::m_vDim.
|
inline |
Check whether data has been allocated or not.
Definition at line 110 of file ImageCPT.h.
References til::ImageRLE< T >::reset().
| INLINE T til::ImageRLE< T >::operator() | ( | int | i, |
| int | j, | ||
| int | k | ||
| ) |
Definition at line 421 of file ImageCPT.h.
References til::ImageRLE< T >::getValue().
|
inline |
Definition at line 93 of file ImageCPT.h.
References EXPAND_VECTOR, til::ImageRLE< T >::getValue(), INLINE, and til::ImageRLE< T >::operator()().
Referenced by til::ImageRLE< T >::operator()().
| void til::ImageRLE< T >::reset | ( | ) |
Set all values to zero.
Definition at line 405 of file ImageCPT.h.
References til::ImageBase::dim().
Referenced by til::ImageRLE< T >::init(), and til::ImageRLE< T >::isAllocated().
| INLINE void til::ImageRLE< T >::setUnsafeValue | ( | T | value, |
| int | i, | ||
| int | j, | ||
| int | k | ||
| ) |
Definition at line 671 of file ImageCPT.h.
References til::ImageBase::dim().
Referenced by til::ImageRLE< T >::setValue().
| INLINE void til::ImageRLE< T >::setValue | ( | T | value, |
| int | i, | ||
| int | j, | ||
| int | k | ||
| ) |
Definition at line 483 of file ImageCPT.h.
References til::ImageBase::contains(), INLINE, and til::ImageRLE< T >::setUnsafeValue().
Referenced by til::ImageRLE< T >::getValue().
|
inline |
Definition at line 101 of file ImageCPT.h.
References EXPAND_VECTOR, til::ImageRLE< T >::getUnsafeValue(), INLINE, til::ImageRLE< T >::setUnsafeValue(), and til::ImageRLE< T >::setValue().
Referenced by til::ImageRLE< T >::setValue().
|
friend |
Definition at line 161 of file ImageCPT.h.
|
friend |
Definition at line 162 of file ImageCPT.h.