![]() |
aimsalgo
5.1.2
Neuroimaging image processing
|
Convolution Filter. More...
#include <aims/signalfilter/convolutionfilter.h>


Public Member Functions | |
| ConvolutionFilter (const BasisFunction &bfunc) | |
| Constructor / Destructor / Copy. More... | |
| ConvolutionFilter (const std::vector< BasisFunction > &bfunc=std::vector< BasisFunction >()) | |
| A different basis function is used in each direction. More... | |
| ConvolutionFilter (const ConvolutionFilter &other) | |
| virtual | ~ConvolutionFilter () |
| ConvolutionFilter & | operator= (const ConvolutionFilter &other) |
| template<typename OUT , typename IN > | |
| carto::VolumeRef< OUT > | execute (const carto::VolumeRef< IN > &in) const |
| Execution. More... | |
| template<typename OUT , typename IN > | |
| carto::VolumeRef< OUT > | execute (const carto::VolumeRef< IN > &in, carto::VolumeRef< OUT > &out) const |
| Write result in an existing volume. More... | |
| const std::vector< bool > & | directions () const |
| Parameters. More... | |
| void | setBasisFunction (const BasisFunction &func) |
| Change the basis functions. More... | |
| void | setBasisFunction (const std::vector< BasisFunction > &func) |
| Change the basis functions. More... | |
| void | setDirections (const std::vector< bool > &dir) |
| Set the directions along which the filter is applied. More... | |
| void | setDirections (bool dirx, bool diry, bool dirz, bool dirt) |
| Set the directions along which the filter is applied. More... | |
| void | setVerbose (int verbose=1) |
| Verbosity level. More... | |
| void | setQuiet () |
| Equivalent to setVerbose(0) More... | |
Protected Attributes | |
| std::vector< BasisFunction > | _func |
| int | _verbose |
| std::vector< bool > | _dir |
Convolution Filter.
Interpolate a discrete signal with a separable kernel of finite support. The basis function must possess:
Definition at line 55 of file convolutionfilter.h.
| aims::ConvolutionFilter< BasisFunction >::ConvolutionFilter | ( | const BasisFunction & | bfunc | ) |
Constructor / Destructor / Copy.
The same basis function is used in all directions
| aims::ConvolutionFilter< BasisFunction >::ConvolutionFilter | ( | const std::vector< BasisFunction > & | bfunc = std::vector< BasisFunction >() | ) |
A different basis function is used in each direction.
| aims::ConvolutionFilter< BasisFunction >::ConvolutionFilter | ( | const ConvolutionFilter< BasisFunction > & | other | ) |
|
virtual |
Definition at line 74 of file convolutionfilter_d.h.
| const std::vector< bool > & aims::ConvolutionFilter< F >::directions |
Parameters.
4D vector giving directions along which the filter is applied.
Definition at line 225 of file convolutionfilter_d.h.
| carto::VolumeRef< OUT > aims::ConvolutionFilter< F >::execute | ( | const carto::VolumeRef< IN > & | in | ) | const |
Execution.
Function-like operator that filters a given volume
Definition at line 137 of file convolutionfilter_d.h.
References execute.
Referenced by aims::DirectBSplineFilter::execute().
| carto::VolumeRef< OUT > aims::ConvolutionFilter< F >::execute | ( | const carto::VolumeRef< IN > & | in, |
| carto::VolumeRef< OUT > & | out | ||
| ) | const |
Write result in an existing volume.
If the allocated size differs from the needed resulting size, the volume is reallocated.
Definition at line 145 of file convolutionfilter_d.h.
References aims::convolutionfilter::at(), carto::VolumeRef< class >::getBorders(), carto::VolumeRef< class >::getSize(), carto::VolumeRef< class >::getSizeT(), carto::VolumeRef< class >::getSizeX(), carto::VolumeRef< class >::getSizeY(), carto::VolumeRef< class >::getSizeZ(), aims::ProgressInfo< class, class >::print(), and carto::toString().
| ConvolutionFilter< F > & aims::ConvolutionFilter< F >::operator= | ( | const ConvolutionFilter< BasisFunction > & | other | ) |
Definition at line 78 of file convolutionfilter_d.h.
| void aims::ConvolutionFilter< BasisFunction >::setBasisFunction | ( | const BasisFunction & | func | ) |
Change the basis functions.
| void aims::ConvolutionFilter< BasisFunction >::setBasisFunction | ( | const std::vector< BasisFunction > & | func | ) |
Change the basis functions.
| void aims::ConvolutionFilter< F >::setDirections | ( | bool | dirx, |
| bool | diry, | ||
| bool | dirz, | ||
| bool | dirt | ||
| ) |
Set the directions along which the filter is applied.
Definition at line 252 of file convolutionfilter_d.h.
| void aims::ConvolutionFilter< F >::setDirections | ( | const std::vector< bool > & | dir | ) |
Set the directions along which the filter is applied.
Definition at line 243 of file convolutionfilter_d.h.
| void aims::ConvolutionFilter< F >::setQuiet |
Equivalent to setVerbose(0)
Definition at line 267 of file convolutionfilter_d.h.
| void aims::ConvolutionFilter< F >::setVerbose | ( | int | verbose = 1 | ) |
|
protected |
Definition at line 113 of file convolutionfilter.h.
Referenced by aims::ConvolutionFilter< MovingAverageCascadeKernel >::execute().
|
protected |
Definition at line 111 of file convolutionfilter.h.
Referenced by aims::ConvolutionFilter< MovingAverageCascadeKernel >::execute().
|
protected |
Definition at line 112 of file convolutionfilter.h.
Referenced by aims::ConvolutionFilter< MovingAverageCascadeKernel >::execute().