aimsalgo 6.0.0
Neuroimaging image processing
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.
 
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.
 
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.
 
virtual Point4df getOutputImageVoxelSize (const Point4df &voxelsize) const
 Returns the output voxel size of the processed image.
 
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 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 349 of file filteringimagealgorithm.h.

Constructor & Destructor Documentation

◆ ElementFilteringImageAlgorithm() [1/3]

template<typename T>
aims::singlechannel::ElementFilteringImageAlgorithm< T >::ElementFilteringImageAlgorithm ( )
protected

◆ ElementFilteringImageAlgorithm() [2/3]

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

Definition at line 387 of file filteringimagealgorithm.h.

◆ ElementFilteringImageAlgorithm() [3/3]

template<typename T>
aims::singlechannel::ElementFilteringImageAlgorithm< T >::ElementFilteringImageAlgorithm ( const ::aims::singlechannel::ElementFilteringImageAlgorithm< T > & other)
inline

Definition at line 394 of file filteringimagealgorithm.h.

◆ ~ElementFilteringImageAlgorithm()

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

Definition at line 412 of file filteringimagealgorithm.h.

Member Function Documentation

◆ clone()

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 368 of file filteringimagealgorithm.h.

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

◆ execute()

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 424 of file filteringimagealgorithm.h.

References _func, _strel, aims::ImageAlgorithmInterface< T >::_verbose, carto::VolumeRef< typename T >::getBorders(), carto::VolumeRef< typename T >::getSizeT(), carto::VolumeRef< typename T >::getSizeX(), carto::VolumeRef< typename T >::getSizeY(), carto::VolumeRef< typename T >::getSizeZ(), carto::VolumeRef< typename T >::setPosInRefVolume(), and carto::toString().

◆ operator=()

◆ setOptions()

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

Reimplemented from aims::ImageAlgorithmInterface< T >.

Definition at line 358 of file filteringimagealgorithm.h.

◆ setStructuringElement()

template<typename T>
virtual void aims::singlechannel::ElementFilteringImageAlgorithm< T >::setStructuringElement ( const StructuringElement & se)
inlinevirtual

Definition at line 375 of file filteringimagealgorithm.h.

◆ updateOptions()

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

Reimplemented from aims::ImageAlgorithmInterface< T >.

Definition at line 363 of file filteringimagealgorithm.h.

Member Data Documentation

◆ _func

Definition at line 418 of file filteringimagealgorithm.h.

Referenced by execute().

◆ _strel

Definition at line 419 of file filteringimagealgorithm.h.

Referenced by execute().


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