![]() |
aimsalgo
5.1.2
Neuroimaging image processing
|
aims::ImageAlgorithm class used to implement image algorithms More...
#include <aims/algorithm/imagealgorithm.h>
Public Types | |
typedef T | VoxelType |
typedef carto::DataTypeTraits< T >::ChannelType | ChannelType |
![]() | |
typedef T | VoxelType |
Public Member Functions | |
virtual void | execute (const carto::VolumeRef< T > &in, carto::VolumeRef< T > &out) const |
ImageAlgorithmInterface<T> Pure virtual method. More... | |
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 ImageAlgorithm< T > * | clone () const |
ImageAlgorithmInterface<T> Pure virtual method. More... | |
virtual void | setVerbose (int level) |
virtual | ~ImageAlgorithm () |
![]() | |
virtual void | setOptions (const carto::Object &) |
virtual void | updateOptions (const carto::Object &) |
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 | setQuiet () |
virtual | ~ImageAlgorithmInterface () |
Protected Member Functions | |
ImageAlgorithm () | |
ImageAlgorithm (const ImageAlgorithmInterface< ChannelType > &algo) | |
ImageAlgorithm (ImageAlgorithmInterface< ChannelType > *algo, bool deepcopy=true) | |
ImageAlgorithm (const ImageAlgorithm &other) | |
ImageAlgorithm & | operator= (const ImageAlgorithm &other) |
![]() | |
ImageAlgorithmInterface () | |
ImageAlgorithmInterface (const ImageAlgorithmInterface &other) | |
ImageAlgorithmInterface & | operator= (const ImageAlgorithmInterface &other) |
Protected Attributes | |
carto::rc_ptr< ImageAlgorithmInterface< ChannelType > > | _algo |
![]() | |
int | _verbose |
aims::ImageAlgorithm class used to implement image algorithms
aims::ImageAlgorithm
is a base class that allows to not take care about multi-channel management. When a multi-channel image is processed, the c ImageAlgorithmInterface will be applied to each channel separately.
T | type of voxel that will be processed by ImageAlgorithmInterface |
Definition at line 200 of file imagealgorithm.h.
typedef carto::DataTypeTraits<T>::ChannelType aims::ImageAlgorithm< T >::ChannelType |
Definition at line 207 of file imagealgorithm.h.
typedef T aims::ImageAlgorithm< T >::VoxelType |
Definition at line 206 of file imagealgorithm.h.
|
inlinevirtual |
Definition at line 247 of file imagealgorithm.h.
|
inlineprotected |
Definition at line 249 of file imagealgorithm.h.
|
inlineprotected |
Definition at line 250 of file imagealgorithm.h.
|
inlineprotected |
Definition at line 254 of file imagealgorithm.h.
References deepcopy().
|
inlineprotected |
Definition at line 258 of file imagealgorithm.h.
|
inlinevirtual |
ImageAlgorithmInterface<T>
Pure virtual method.
Clone the object
Implements aims::ImageAlgorithmInterface< T >.
Reimplemented in aims::VarFilter< T >, aims::SumFilter< T >, aims::StDevFilter< T >, aims::MinFilter< T >, aims::NotNullMedianFilter< T >, aims::MedianFilter< T >, aims::NotNullMeanFilter< T >, aims::MeanFilter< T >, aims::MaxFilter< T >, aims::NotNullMajorityFilter< T >, aims::MajorityFilter< T >, aims::GaborFilter< T >, aims::ElementFilteringImageAlgorithm< T >, aims::LinearFilteringImageAlgorithm< T >, aims::ExtremaDifferenceFilter< T >, and aims::SubSamplingImageAlgorithm< T >.
Definition at line 233 of file imagealgorithm.h.
|
inlinevirtual |
ImageAlgorithmInterface<T>
Pure virtual method.
Returns the image processed by an algorithm on the input image into an already allocated output volume.
in | Input image to process |
out | Output image processed |
Implements aims::ImageAlgorithmInterface< T >.
Definition at line 212 of file imagealgorithm.h.
References aims::ImageAlgorithm< T >::_algo, and aims::ImageAlgorithmInterface< T >::_verbose.
Referenced by MedianSmoothing< T >::doit().
|
inlinevirtual |
Returns the output dimensions of the processed image.
This is used when output image does not have the same dimensions as input image.
Point4dl | dims dimensions of the input image. |
Point4dl
dimensions of the output image.The default implementation returns same dimensions as input.
Reimplemented from aims::ImageAlgorithmInterface< T >.
Definition at line 219 of file imagealgorithm.h.
References aims::ImageAlgorithm< T >::_algo.
|
inlinevirtual |
Returns the output voxel size of the processed image.
This is used when output image does not have the same voxel size as input image.
Point4df | voxelsize voxel size of the input image. |
Point4df
voxel size of the output image.The default implementation returns same voxel size as input.
Reimplemented from aims::ImageAlgorithmInterface< T >.
Definition at line 223 of file imagealgorithm.h.
References aims::ImageAlgorithm< T >::_algo.
|
inlineprotected |
Definition at line 262 of file imagealgorithm.h.
References aims::ImageAlgorithm< T >::_algo, ASSERT, and aims::ImageAlgorithmInterface< T >::operator=().
Referenced by aims::SubSamplingImageAlgorithm< T >::operator=().
|
inlinevirtual |
Reimplemented from aims::ImageAlgorithmInterface< T >.
Definition at line 237 of file imagealgorithm.h.
References aims::ImageAlgorithm< T >::_algo, and aims::ImageAlgorithmInterface< T >::setVerbose().
|
protected |