MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
General convolution volume filter. More...
#include <mdsConvolution.h>
Public Types | |
enum | { TEMPLATE_PARAMETER_IS_NOT_VOLUME = V::CLASS_VOLUME } |
Check that type V is a volume. More... | |
typedef CNormVolumeFilter< V, N > | base |
Volume filter base. | |
typedef mds::base::CData < tConvKernelData > | data |
Data base. | |
typedef data::tConstDataPtr | tConstDataPtr |
Pointer to the constant data. | |
typedef data::tData | tData |
Data type. | |
typedef data::tDataPtr | tDataPtr |
Pointer to the data. | |
typedef base::tResult | tResult |
Filter response type. | |
typedef base::tVolume | tVolume |
Volume type. | |
typedef base::tVoxel | tVoxel |
Volume voxel type. | |
Public Member Functions | |
tData & | at (tSize x, tSize y, tSize z) |
Returns reference to the kernel coefficient [x][y][z]. | |
const tData & | at (tSize x, tSize y, tSize z) const |
void | create (tSize Size) |
Creates a new 2D convolution kernel. | |
CVolumeConvolutionFilter (tSize Size) | |
Constructor that creates a new 2D convolution kernel. | |
CVolumeConvolutionFilter (tSize Size, const tData &Value) | |
Constructor. | |
CVolumeConvolutionFilter (const tConstDataPtr pData, tSize Size) | |
Constructor. | |
CVolumeConvolutionFilter (const CKernel3D &k) | |
Constructor. | |
tDataPtr | getPtr (tSize x, tSize y, tSize z) |
Returns pointer to a given kernel data [x][y][z]. | |
tConstDataPtr | getPtr (tSize x, tSize y, tSize z) const |
tDataPtr | getPtr () |
Returns pointer to the kernel data. | |
tConstDataPtr | getPtr () const |
tResult | getResponse (const tVolume &SrcVolume, tSize x, tSize y, tSize z) |
Returns filter response at specified volume position. | |
tSize | getSize () const |
Returns the kernel size. | |
bool | operator() (const tVolume &SrcVolume, tVolume &DstVolume) |
Filtering of input/source volume. | |
tData & | operator() (tSize i) |
Returns reference to the subscripted element [i]. | |
const tData & | operator() (tSize i) const |
tData & | operator() (tSize x, tSize y, tSize z) |
Returns the subscripted kernel coefficient [x][y][z]. | |
const tData & | operator() (tSize x, tSize y, tSize z) const |
void | set (tSize x, tSize y, tSize z, const tData &Value) |
Sets the kernel data. | |
~CVolumeConvolutionFilter () | |
Destructor. | |
Protected Member Functions | |
void | init (tSize Size) |
Allocates data of a given size. | |
Protected Attributes | |
tSize | m_YOffset |
Kernel size. | |
tSize | m_ZOffset |
General convolution volume filter.
typedef CNormVolumeFilter<V,N> mds::img::CVolumeConvolutionFilter< V, N >::base |
Volume filter base.
Reimplemented from mds::img::CNormVolumeFilter< V, N >.
typedef mds::base::CData<tConvKernelData> mds::img::CKernel3D::data [inherited] |
Data base.
typedef data::tConstDataPtr mds::img::CKernel3D::tConstDataPtr [inherited] |
Pointer to the constant data.
Reimplemented from mds::base::CData< tConvKernelData >.
typedef data::tData mds::img::CKernel3D::tData [inherited] |
Data type.
Reimplemented from mds::base::CData< tConvKernelData >.
typedef data::tDataPtr mds::img::CKernel3D::tDataPtr [inherited] |
Pointer to the data.
Reimplemented from mds::base::CData< tConvKernelData >.
typedef base::tResult mds::img::CVolumeConvolutionFilter< V, N >::tResult |
Filter response type.
Reimplemented from mds::img::CNormVolumeFilter< V, N >.
typedef base::tVolume mds::img::CVolumeConvolutionFilter< V, N >::tVolume |
Volume type.
Reimplemented from mds::img::CNormVolumeFilter< V, N >.
typedef base::tVoxel mds::img::CVolumeConvolutionFilter< V, N >::tVoxel |
Volume voxel type.
Reimplemented from mds::img::CNormVolumeFilter< V, N >.
anonymous enum [inherited] |
mds::img::CVolumeConvolutionFilter< V, N >::CVolumeConvolutionFilter | ( | tSize | Size | ) |
Constructor that creates a new 2D convolution kernel.
mds::img::CVolumeConvolutionFilter< V, N >::CVolumeConvolutionFilter | ( | tSize | Size, |
const tData & | Value | ||
) |
Constructor.
mds::img::CVolumeConvolutionFilter< V, N >::CVolumeConvolutionFilter | ( | const tConstDataPtr | pData, |
tSize | Size | ||
) |
Constructor.
mds::img::CVolumeConvolutionFilter< V, N >::CVolumeConvolutionFilter | ( | const CKernel3D & | k | ) |
Constructor.
mds::img::CVolumeConvolutionFilter< V, N >::~CVolumeConvolutionFilter | ( | ) |
Destructor.
tData& mds::img::CKernel3D::at | ( | tSize | x, |
tSize | y, | ||
tSize | z | ||
) | [inherited] |
Returns reference to the kernel coefficient [x][y][z].
const tData& mds::img::CKernel3D::at | ( | tSize | x, |
tSize | y, | ||
tSize | z | ||
) | const [inherited] |
void mds::img::CKernel3D::create | ( | tSize | Size | ) | [inherited] |
Creates a new 2D convolution kernel.
Reimplemented from mds::base::CData< tConvKernelData >.
tDataPtr mds::img::CKernel3D::getPtr | ( | tSize | x, |
tSize | y, | ||
tSize | z | ||
) | [inherited] |
Returns pointer to a given kernel data [x][y][z].
tConstDataPtr mds::img::CKernel3D::getPtr | ( | tSize | x, |
tSize | y, | ||
tSize | z | ||
) | const [inherited] |
tDataPtr mds::img::CKernel3D::getPtr | ( | ) | [inherited] |
Returns pointer to the kernel data.
Reimplemented from mds::base::CData< tConvKernelData >.
tConstDataPtr mds::img::CKernel3D::getPtr | ( | ) | const [inherited] |
Reimplemented from mds::base::CData< tConvKernelData >.
tResult mds::img::CVolumeConvolutionFilter< V, N >::getResponse | ( | const tVolume & | SrcVolume, |
tSize | x, | ||
tSize | y, | ||
tSize | z | ||
) |
Returns filter response at specified volume position.
tSize mds::img::CKernel3D::getSize | ( | ) | const [inherited] |
Returns the kernel size.
Reimplemented from mds::base::CData< tConvKernelData >.
void mds::img::CKernel3D::init | ( | tSize | Size | ) | [protected, inherited] |
Allocates data of a given size.
bool CVolumeConvolutionFilter::operator() | ( | const tVolume & | SrcVolume, |
tVolume & | DstVolume | ||
) | [virtual] |
Filtering of input/source volume.
Point filter responses are written to the destination volume.
Implements mds::img::CNormVolumeFilter< V, N >.
tData& mds::base::CData< tConvKernelData >::operator() | ( | tSize | i | ) | [inherited] |
Returns reference to the subscripted element [i].
Reimplemented in mds::img::CKernel1D.
const tData& mds::base::CData< tConvKernelData >::operator() | ( | tSize | i | ) | const [inherited] |
Reimplemented in mds::img::CKernel1D.
Returns the subscripted kernel coefficient [x][y][z].
void mds::img::CKernel3D::set | ( | tSize | x, |
tSize | y, | ||
tSize | z, | ||
const tData & | Value | ||
) | [inherited] |
Sets the kernel data.
tSize mds::img::CKernel3D::m_YOffset [protected, inherited] |
Kernel size.
tSize mds::img::CKernel3D::m_ZOffset [protected, inherited] |