A.I.M.S algorithms


aims::singlechannel::ElementFilteringImageAlgorithm< T > Class Template Reference

#include <aims/signalfilter/filteringimagealgorithm.h>

Inheritance diagram for aims::singlechannel::ElementFilteringImageAlgorithm< T >:
Collaboration diagram for aims::singlechannel::ElementFilteringImageAlgorithm< T >:

Public Member Functions

virtual void execute (const carto::VolumeRef< T > &in, carto::VolumeRef< T > &out) const
 ImageAlgorithmInterface<T> Pure virtual method. More...
 
virtual void setOptions (const carto::Object &options)
 
virtual void updateOptions (const carto::Object &options)
 
virtual
::aims::singlechannel::ElementFilteringImageAlgorithm
< T > * 
clone () const
 ImageAlgorithmInterface<T> Pure virtual method. More...
 
virtual void setStructuringElement (const StructuringElement &se)
 
 ElementFilteringImageAlgorithm (const ElementFilteringFunction< T > &f, const StructuringElement &se=strel::Cube(1.))
 
 ElementFilteringImageAlgorithm (const ::aims::singlechannel::ElementFilteringImageAlgorithm< T > &other)
 
::aims::singlechannel::ElementFilteringImageAlgorithm
< T > & 
operator= (const ::aims::singlechannel::ElementFilteringImageAlgorithm< T > &other)
 
virtual ~ElementFilteringImageAlgorithm ()
 
- Public Member Functions inherited from aims::ImageAlgorithmInterface< T >
virtual Point4dl getOutputImageDimensions (const Point4dl &dims) const
 Returns the output dimensions of the processed image. More...
 
virtual Point4df getOutputImageVoxelSize (const Point4df &voxelsize) const
 Returns the output voxel size of the processed image. More...
 
virtual Point4dl getOutputImageDimensions (const long &dx=1, const long &dy=1, const long &dz=1, const long &dt=1) const
 
virtual Point4df getOutputImageVoxelSize (const float &vx=1.0, const float &vy=1.0, const float &vz=1.0, const float &vt=1.0) const
 
virtual carto::VolumeRef< T > execute (const carto::VolumeRef< T > &in) const
 
virtual AimsData< T > execute (const AimsData< T > &in) const
 
virtual void setVerbose (int level)
 
virtual void setQuiet ()
 
virtual ~ImageAlgorithmInterface ()
 

Protected Member Functions

 ElementFilteringImageAlgorithm ()
 
- Protected Member Functions inherited from aims::ImageAlgorithmInterface< T >
 ImageAlgorithmInterface ()
 
 ImageAlgorithmInterface (const ImageAlgorithmInterface &other)
 
ImageAlgorithmInterfaceoperator= (const ImageAlgorithmInterface &other)
 

Protected Attributes

carto::rc_ptr
< ElementFilteringFunction< T > > 
_func
 
carto::rc_ptr< StructuringElement_strel
 
- Protected Attributes inherited from aims::ImageAlgorithmInterface< T >
int _verbose
 

Additional Inherited Members

- Public Types inherited from aims::ImageAlgorithmInterface< T >
typedef T VoxelType
 

Detailed Description

template<typename T>
class aims::singlechannel::ElementFilteringImageAlgorithm< T >

Definition at line 63 of file filteringimagealgorithm.h.

Constructor & Destructor Documentation

template<typename T >
aims::singlechannel::ElementFilteringImageAlgorithm< T >::ElementFilteringImageAlgorithm ( const ElementFilteringFunction< T > &  f,
const StructuringElement se = strel::Cube(1.) 
)
inline

Definition at line 392 of file filteringimagealgorithm.h.

template<typename T >
virtual aims::singlechannel::ElementFilteringImageAlgorithm< T >::~ElementFilteringImageAlgorithm ( )
inlinevirtual

Definition at line 415 of file filteringimagealgorithm.h.

Member Function Documentation

template<typename T >
virtual ::aims::singlechannel::ElementFilteringImageAlgorithm<T>* aims::singlechannel::ElementFilteringImageAlgorithm< T >::clone ( ) const
inlinevirtual

ImageAlgorithmInterface<T> Pure virtual method.

Clone the object

Implements aims::ImageAlgorithmInterface< T >.

Definition at line 373 of file filteringimagealgorithm.h.

Referenced by aims::ElementFilteringImageAlgorithm< T >::operator=().

template<typename T >
void aims::singlechannel::ElementFilteringImageAlgorithm< T >::execute ( const carto::VolumeRef< T > &  in,
carto::VolumeRef< T > &  out 
) const
inlinevirtual

ImageAlgorithmInterface<T> Pure virtual method.

Returns the image processed by an algorithm on the input image into an already allocated output volume.

Parameters
inInput image to process
outOutput image processed

Implements aims::ImageAlgorithmInterface< T >.

Definition at line 427 of file filteringimagealgorithm.h.

References carto::VolumeRef< T >::getBorders(), carto::VolumeRef< T >::getSizeT(), carto::VolumeRef< T >::getSizeX(), carto::VolumeRef< T >::getSizeY(), carto::VolumeRef< T >::getSizeZ(), carto::VolumeRef< T >::setPosInRefVolume(), and carto::toString().

template<typename T >
virtual void aims::singlechannel::ElementFilteringImageAlgorithm< T >::setOptions ( const carto::Object options)
inlinevirtual
template<typename T >
virtual void aims::singlechannel::ElementFilteringImageAlgorithm< T >::updateOptions ( const carto::Object options)
inlinevirtual

Member Data Documentation


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