![]() |
MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
3D Gaussian smoothing filter having kernel 3x3x3. More...
#include <mdsGaussian.h>

Public Types | |
| enum | { TEMPLATE_PARAMETER_IS_NOT_VOLUME = V::CLASS_VOLUME } |
| Check that type V is a volume. More... | |
| typedef CVolumeFilter< V > | base |
| Volume filter base. | |
| typedef mds::base::CFunctor < bool, int, int > | tProgressFunc |
| Progress observer (= functor). | |
| typedef CProgressInitializer | tProgressInitializer |
| Helper class which can be used to call methods beginProgress() and endProgress() automatically. | |
| typedef base::tVolume | tVolume |
| Volume type. | |
| typedef base::tVoxel | tVoxel |
| Volume voxel type. | |
Public Member Functions | |
| void | beginProgress () |
| This function must be called by the class realizing an operation before it starts. | |
| CVolumeGauss3Filter () | |
| Default constructor. | |
| void | deregisterProgressFunc () |
| Sets the default empty observer. | |
| void | endProgress () |
| The function must be called by the class realizing an operation every time the operation finishes. | |
| int | getProgressCount () const |
| Returns current value of the internal progress value. | |
| int | getProgressMax () const |
| Returns the maximum allowed value of the internal progress counter. | |
| tVoxel | getResponse (const tVolume &SrcVolume, tSize x, tSize y, tSize z) |
| Returns filter response at specified volume position. | |
| tSize | getSize () const |
| Returns filter standard deviation. | |
| bool | operator() (const tVolume &SrcVolume, tVolume &DstVolume) |
| Filtering of input/source volume. | |
| bool | progress (int iIncrement=1) |
| Calls the registered observer. | |
| void | registerProgressFunc (const tProgressFunc &Func) |
| Sets observer/functor called to inform a calling process about the current state of the running operation. | |
| void | setProgressMax (int iValue) |
| Sets the maximal counter value. | |
| ~CVolumeGauss3Filter () | |
| Destructor. | |
Static Public Attributes | |
| static const int | DENOM = 39 |
| Number used to divide filter response. | |
| static const CKernel3D::tData | KERNEL [] |
| Filter kernel. | |
3D Gaussian smoothing filter having kernel 3x3x3.
| typedef CVolumeFilter<V> mds::img::CVolumeGauss3Filter< V >::base |
Volume filter base.
typedef mds::base::CFunctor<bool, int, int> mds::mod::CProgress::tProgressFunc [inherited] |
Progress observer (= functor).
typedef CProgressInitializer mds::mod::CProgress::tProgressInitializer [inherited] |
Helper class which can be used to call methods beginProgress() and endProgress() automatically.
Create static object of this type at the begining of a method that realizes an operation.
| typedef base::tVolume mds::img::CVolumeGauss3Filter< V >::tVolume |
Volume type.
Reimplemented from mds::img::CVolumeFilter< V >.
| typedef base::tVoxel mds::img::CVolumeGauss3Filter< V >::tVoxel |
Volume voxel type.
Reimplemented from mds::img::CVolumeFilter< V >.
anonymous enum [inherited] |
| mds::img::CVolumeGauss3Filter< V >::CVolumeGauss3Filter | ( | ) |
Default constructor.
| mds::img::CVolumeGauss3Filter< V >::~CVolumeGauss3Filter | ( | ) |
Destructor.
| void mds::mod::CProgress::beginProgress | ( | ) | [inherited] |
This function must be called by the class realizing an operation before it starts.
| void mds::mod::CProgress::deregisterProgressFunc | ( | ) | [inherited] |
Sets the default empty observer.
| void mds::mod::CProgress::endProgress | ( | ) | [inherited] |
The function must be called by the class realizing an operation every time the operation finishes.
| int mds::mod::CProgress::getProgressCount | ( | ) | const [inherited] |
Returns current value of the internal progress value.
| int mds::mod::CProgress::getProgressMax | ( | ) | const [inherited] |
Returns the maximum allowed value of the internal progress counter.
| CVolumeGauss3Filter< V >::tVoxel CVolumeGauss3Filter::getResponse | ( | const tVolume & | SrcVolume, |
| tSize | x, | ||
| tSize | y, | ||
| tSize | z | ||
| ) |
Returns filter response at specified volume position.
| tSize mds::img::CVolumeGauss3Filter< V >::getSize | ( | ) | const |
Returns filter standard deviation.
| bool mds::mod::CProgress::progress | ( | int | iIncrement = 1 | ) | [inherited] |
Calls the registered observer.
| void mds::mod::CProgress::registerProgressFunc | ( | const tProgressFunc & | Func | ) | [inherited] |
Sets observer/functor called to inform a calling process about the current state of the running operation.
| void mds::mod::CProgress::setProgressMax | ( | int | iValue | ) | [inherited] |
Sets the maximal counter value.
const int mds::img::CVolumeGauss3Filter< V >::DENOM = 39 [static] |
Number used to divide filter response.
const CKernel3D::tData CVolumeGauss3Filter::KERNEL [static] |
{
0.0f, 1.0f, 0.0f,
1.0f, 3.0f, 1.0f,
0.0f, 1.0f, 0.0f,
1.0f, 3.0f, 1.0f,
3.0f, 9.0f, 3.0f,
1.0f, 3.0f, 1.0f,
0.0f, 1.0f, 0.0f,
1.0f, 3.0f, 1.0f,
0.0f, 1.0f, 0.0f
}
Filter kernel.
1.7.6.1