aimstil
5.0.5
|
Image class storing data slice-by-slice. More...
#include <til/ConstImageNCLinearIterator.h>
Public Types | |
typedef ImageNC< T > | Self |
typedef T | value_type |
Public Member Functions | |
ImageNC () | |
ImageNC (int x, int y, int z, t_voxsize vx, t_voxsize vy, t_voxsize vz) | |
ImageNC (const numeric_array< int, 3 > &dim, const numeric_array< t_voxsize, 3 > &vDim) | |
ImageNC (T *data, int x, int y, int z, t_voxsize vx, t_voxsize vy, t_voxsize vz) | |
ImageNC (T **data, int x, int y, int z, t_voxsize vx, t_voxsize vy, t_voxsize vz) | |
ImageNC (const std::vector< T *> &slices, int x, int y, t_voxsize vx, t_voxsize vy, t_voxsize vz) | |
ImageNC (const ImageParameter ¶m) | |
ImageNC (const ImageNC< T > *) | |
~ImageNC () | |
Destructor. More... | |
void | init () |
void | init (int x, int y, int z, t_voxsize vx, t_voxsize vy, t_voxsize vz) |
void | init (T *data, int x, int y, int z, t_voxsize vx, t_voxsize vy, t_voxsize vz) |
void | init (T **data, 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 std::vector< T *> &slices, int x, int y, t_voxsize vx, t_voxsize vy, t_voxsize vz) |
void | init (const ImageNC< T > *) |
void | init (const ImageParameter ¶m) |
void | setValue (const T &value, int i, int j, int k) |
void | setValue (const T &value, const numeric_array< int, 3 > &p) |
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 |
const T | getValue (const numeric_array< int, 3 > &v) const |
INLINE const T | getUnsafeValue (int i, int j, int k) const |
const T | getUnsafeValue (const numeric_array< int, 3 > &v) const |
bool | isAllocated () const |
void | reset () |
void | copy (const Self &im) |
bool | operator!= (const Self &im) const |
Check whether images point on the same buffer. More... | |
bool | operator== (const Self &im) const |
Check whether images point on the same buffer. More... | |
![]() | |
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 | ConstVolumetricIterator< Self > |
class | ConstLinearIterator< Self > |
Additional Inherited Members | |
![]() | |
void | set_dim (const numeric_array< int, 3 > &dim) |
bool | contains (const numeric_array< int, 3 > &p) const |
Image class storing data slice-by-slice.
Definition at line 15 of file ConstImageNCLinearIterator.h.
typedef ImageNC<T> til::ImageNC< T >::Self |
typedef T til::ImageNC< T >::value_type |
til::ImageNC< T >::ImageNC | ( | ) |
Definition at line 332 of file ImageNC.h.
References til::ImageNC< T >::init().
til::ImageNC< T >::ImageNC | ( | int | x, |
int | y, | ||
int | z, | ||
t_voxsize | vx, | ||
t_voxsize | vy, | ||
t_voxsize | vz | ||
) |
Definition at line 348 of file ImageNC.h.
References til::ImageNC< T >::init().
til::ImageNC< T >::ImageNC | ( | const numeric_array< int, 3 > & | dim, |
const numeric_array< t_voxsize, 3 > & | vDim | ||
) |
Definition at line 366 of file ImageNC.h.
References til::ImageNC< T >::init().
til::ImageNC< T >::ImageNC | ( | T * | data, |
int | x, | ||
int | y, | ||
int | z, | ||
t_voxsize | vx, | ||
t_voxsize | vy, | ||
t_voxsize | vz | ||
) |
Definition at line 395 of file ImageNC.h.
References til::ImageNC< T >::init(), til::ImageBase::set_dim(), and til::ImageBase::set_vdim().
til::ImageNC< T >::ImageNC | ( | T ** | data, |
int | x, | ||
int | y, | ||
int | z, | ||
t_voxsize | vx, | ||
t_voxsize | vy, | ||
t_voxsize | vz | ||
) |
Definition at line 418 of file ImageNC.h.
References til::ImageNC< T >::init().
til::ImageNC< T >::ImageNC | ( | const std::vector< T *> & | slices, |
int | x, | ||
int | y, | ||
t_voxsize | vx, | ||
t_voxsize | vy, | ||
t_voxsize | vz | ||
) |
Definition at line 431 of file ImageNC.h.
References til::ImageNC< T >::init().
til::ImageNC< T >::ImageNC | ( | const ImageParameter & | param | ) |
Definition at line 381 of file ImageNC.h.
References til::ImageNC< T >::init().
til::ImageNC< T >::ImageNC | ( | const ImageNC< T > * | pIm | ) |
Definition at line 444 of file ImageNC.h.
References til::ImageNC< T >::init().
til::ImageNC< T >::~ImageNC | ( | ) |
|
inline |
Definition at line 131 of file ImageNC.h.
References til::ImageBase::dim(), and til::ImageBase::vdim().
INLINE const T til::ImageNC< T >::getUnsafeValue | ( | int | i, |
int | j, | ||
int | k | ||
) | const |
Definition at line 513 of file ImageNC.h.
Referenced by til::ImageNC< T >::getValue().
|
inline |
Definition at line 120 of file ImageNC.h.
References EXPAND_VECTOR, and til::ImageNC< T >::getUnsafeValue().
Referenced by til::ImageNC< T >::getUnsafeValue().
INLINE const T til::ImageNC< T >::getValue | ( | int | i, |
int | j, | ||
int | k | ||
) | const |
Definition at line 499 of file ImageNC.h.
References til::ImageBase::contains(), and til::ImageNC< T >::getUnsafeValue().
Referenced by til::ImageNC< T >::operator()().
|
inline |
Definition at line 115 of file ImageNC.h.
References EXPAND_VECTOR, til::ImageNC< T >::getUnsafeValue(), til::ImageNC< T >::getValue(), and INLINE.
Referenced by til::ImageNC< T >::getValue().
void til::ImageNC< T >::init | ( | ) |
Definition at line 340 of file ImageNC.h.
Referenced by til::ImageNC< T >::ImageNC(), and til::ImageNC< T >::init().
void til::ImageNC< T >::init | ( | int | x, |
int | y, | ||
int | z, | ||
t_voxsize | vx, | ||
t_voxsize | vy, | ||
t_voxsize | vz | ||
) |
Definition at line 356 of file ImageNC.h.
References til::ImageNC< T >::reset().
void til::ImageNC< T >::init | ( | T * | data, |
int | x, | ||
int | y, | ||
int | z, | ||
t_voxsize | vx, | ||
t_voxsize | vy, | ||
t_voxsize | vz | ||
) |
Definition at line 410 of file ImageNC.h.
References til::simple2DoublePointer().
void til::ImageNC< T >::init | ( | T ** | data, |
int | x, | ||
int | y, | ||
int | z, | ||
t_voxsize | vx, | ||
t_voxsize | vy, | ||
t_voxsize | vz | ||
) |
void til::ImageNC< T >::init | ( | const numeric_array< int, 3 > & | dim, |
const numeric_array< t_voxsize, 3 > & | vDim | ||
) |
Definition at line 374 of file ImageNC.h.
References EXPAND_VECTOR, and til::ImageNC< T >::init().
void til::ImageNC< T >::init | ( | const std::vector< T *> & | slices, |
int | x, | ||
int | y, | ||
t_voxsize | vx, | ||
t_voxsize | vy, | ||
t_voxsize | vz | ||
) |
void til::ImageNC< T >::init | ( | const ImageNC< T > * | pIm | ) |
Definition at line 450 of file ImageNC.h.
References til::ImageNC< T >::init(), and til::param().
void til::ImageNC< T >::init | ( | const ImageParameter & | param | ) |
Definition at line 388 of file ImageNC.h.
References til::ImageNC< T >::init(), til::ImageParameter::m_dim, and til::ImageParameter::m_vDim.
|
inline |
Definition at line 126 of file ImageNC.h.
References til::ImageNC< T >::reset().
|
inline |
INLINE T & til::ImageNC< T >::operator() | ( | int | i, |
int | j, | ||
int | k | ||
) |
Definition at line 483 of file ImageNC.h.
Referenced by til::ImageNC< T >::setValue().
|
inline |
Definition at line 110 of file ImageNC.h.
References EXPAND_VECTOR, til::ImageNC< T >::getValue(), INLINE, and til::ImageNC< T >::operator()().
Referenced by til::ImageNC< T >::operator()().
|
inline |
void til::ImageNC< T >::reset | ( | ) |
Definition at line 472 of file ImageNC.h.
References til::ImageBase::dim().
Referenced by til::ImageNC< T >::init(), and til::ImageNC< T >::isAllocated().
|
inline |
|
inline |
Definition at line 100 of file ImageNC.h.
References INLINE, and til::ImageNC< T >::operator()().
|
friend |
|
friend |