MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Types | Public Member Functions | Static Public Attributes
mds::img::CVolumeLaplaceFilter1< V, N > Class Template Reference

Laplacian volume filter (second version). More...

#include <mdsLaplacian.h>

Inheritance diagram for mds::img::CVolumeLaplaceFilter1< V, N >:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { TEMPLATE_PARAMETER_IS_NOT_VOLUME = V::CLASS_VOLUME }
 Check that type V is a volume. More...
typedef CNormVolumeFilter< V, Nbase
 Volume filter base.
typedef base::tResult tResult
 Filter response type.
typedef base::tVolume tVolume
 Volume type.
typedef base::tVoxel tVoxel
 Volume voxel type.

Public Member Functions

 CVolumeLaplaceFilter1 ()
 Default constructor.
tResult 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.
 ~CVolumeLaplaceFilter1 ()
 Destructor.

Static Public Attributes

static const int DENOM = 26
 Number used to divide filter response.
static const CKernel3D::tData KERNEL []
 Filter kernel.

Detailed Description

template<class V, template< typename > class N = CDefaultFilterPolicy>
class mds::img::CVolumeLaplaceFilter1< V, N >

Laplacian volume filter (second version).


Member Typedef Documentation

template<class V , template< typename > class N = CDefaultFilterPolicy>
typedef CNormVolumeFilter<V,N> mds::img::CVolumeLaplaceFilter1< V, N >::base

Volume filter base.

Reimplemented from mds::img::CNormVolumeFilter< V, N >.

template<class V , template< typename > class N = CDefaultFilterPolicy>
typedef base::tResult mds::img::CVolumeLaplaceFilter1< V, N >::tResult

Filter response type.

Reimplemented from mds::img::CNormVolumeFilter< V, N >.

template<class V , template< typename > class N = CDefaultFilterPolicy>
typedef base::tVolume mds::img::CVolumeLaplaceFilter1< V, N >::tVolume

Volume type.

Reimplemented from mds::img::CNormVolumeFilter< V, N >.

template<class V , template< typename > class N = CDefaultFilterPolicy>
typedef base::tVoxel mds::img::CVolumeLaplaceFilter1< V, N >::tVoxel

Volume voxel type.

Reimplemented from mds::img::CNormVolumeFilter< V, N >.


Member Enumeration Documentation

template<class V>
anonymous enum [inherited]

Check that type V is a volume.

You will see name of this enum somewhere in compiler error message if the type V is not volume.

Enumerator:
TEMPLATE_PARAMETER_IS_NOT_VOLUME 

Constructor & Destructor Documentation

template<class V , template< typename > class N = CDefaultFilterPolicy>
mds::img::CVolumeLaplaceFilter1< V, N >::CVolumeLaplaceFilter1 ( )

Default constructor.

template<class V , template< typename > class N = CDefaultFilterPolicy>
mds::img::CVolumeLaplaceFilter1< V, N >::~CVolumeLaplaceFilter1 ( )

Destructor.


Member Function Documentation

template<class V , template< typename > class N>
CVolumeLaplaceFilter1< V, N >::tResult CVolumeLaplaceFilter1::getResponse ( const tVolume SrcVolume,
tSize  x,
tSize  y,
tSize  z 
)

Returns filter response at specified volume position.

  • Value is not normalized!
template<class V , template< typename > class N = CDefaultFilterPolicy>
tSize mds::img::CVolumeLaplaceFilter1< V, N >::getSize ( ) const

Returns filter standard deviation.

template<class V , template< typename > class N>
bool CVolumeLaplaceFilter1::operator() ( const tVolume SrcVolume,
tVolume DstVolume 
) [virtual]

Filtering of input/source volume.

  • Returns false on failure

Implements mds::img::CNormVolumeFilter< V, N >.


Member Data Documentation

template<class V , template< typename > class N = CDefaultFilterPolicy>
const int mds::img::CVolumeLaplaceFilter1< V, N >::DENOM = 26 [static]

Number used to divide filter response.

template<class V , template< typename > class N = CDefaultFilterPolicy>
const CKernel3D::tData CVolumeLaplaceFilter1::KERNEL [static]
Initial value:
{
    1.0f,  1.0f,  1.0f,
    1.0f,  1.0f,  1.0f,
    1.0f,  1.0f,  1.0f,

    1.0f,   1.0f, 1.0f,
    1.0f, -26.0f, 1.0f,
    1.0f,   1.0f, 1.0f,

    1.0f,  1.0f,  1.0f,
    1.0f,  1.0f,  1.0f,
    1.0f,  1.0f,  1.0f
}

Filter kernel.

Volume filter kernel.


The documentation for this class was generated from the following files: