![]() |
aimsalgo
5.1.2
Neuroimaging image processing
|
The template class to make convolutions. More...
#include <aims/signalfilter/convol.h>
Public Member Functions | |
AimsConvolution (bool safe=true) | |
virtual | ~AimsConvolution () |
carto::VolumeRef< T > | doit (carto::rc_ptr< carto::Volume< T > > &, carto::rc_ptr< carto::Volume< T > > &) |
void | set_safe_status (bool safe=true) |
Protected Member Functions | |
T | doit_voxel (carto::rc_ptr< carto::Volume< T > > &img, carto::rc_ptr< carto::Volume< T > > &kernel, int x, int y, int z, int t) |
called for each voxel (user selected function) More... | |
virtual T | doit_voxel_safe (carto::rc_ptr< carto::Volume< T > > &img, carto::rc_ptr< carto::Volume< T > > &kernel, int x, int y, int z, int t) |
called for each voxel (safe version) More... | |
virtual T | doit_voxel_unsafe (carto::rc_ptr< carto::Volume< T > > &img, carto::rc_ptr< carto::Volume< T > > &kernel, int x, int y, int z, int t) |
called for each voxel (unsafe version) More... | |
T | min () const |
T | max () const |
int8_t | min () const |
int8_t | max () const |
uint8_t | min () const |
uint8_t | max () const |
int16_t | min () const |
int16_t | max () const |
uint16_t | min () const |
uint16_t | max () const |
int32_t | min () const |
int32_t | max () const |
uint32_t | min () const |
uint32_t | max () const |
float | min () const |
float | max () const |
double | min () const |
double | max () const |
char | min () const |
char | max () const |
long | min () const |
long | max () const |
ulong | min () const |
ulong | max () const |
Protected Attributes | |
T(AimsConvolution::* | _doit_voxel_method )(carto::rc_ptr< carto::Volume< T > > &img, carto::rc_ptr< carto::Volume< T > > &kernel, int x, int y, int z, int t) |
bool | _safe |
The template class to make convolutions.
This class is useful to perform a convolution of a data by a given kernel.
if the image has a border unsafe version of convolution is used (no test on borders).
|
inline |
Definition at line 56 of file convol.h.
References AimsConvolution< T >::set_safe_status().
|
inlinevirtual |
|
inline |
Definition at line 131 of file convol.h.
References ASSERT, aims::meshdistance::max(), aims::meshdistance::min(), and carto::VolumeRef< class >::setVoxelSize().
Referenced by aims::DiffusionSmoother< T >::doSmoothing(), and aims::MaskedDiffusionSmoother< T, std::vector< Point3df > >::doSmoothing().
|
inlineprotected |
|
inlineprotectedvirtual |
called for each voxel (safe version)
Reimplemented in AimsMaskedConvolution< T >.
Definition at line 176 of file convol.h.
Referenced by AimsMaskedConvolution< T >::doit_voxel_safe().
|
inlineprotectedvirtual |
called for each voxel (unsafe version)
Reimplemented in AimsMaskedConvolution< T >.
Definition at line 213 of file convol.h.
Referenced by AimsMaskedConvolution< T >::doit_voxel_unsafe().
|
protected |
|
inlineprotected |
Definition at line 273 of file convol.h.
References std::numeric_limits< class >::max().
|
inlineprotected |
Definition at line 289 of file convol.h.
References std::numeric_limits< class >::max().
|
inlineprotected |
Definition at line 305 of file convol.h.
References std::numeric_limits< class >::max().
|
inlineprotected |
Definition at line 321 of file convol.h.
References std::numeric_limits< class >::max().
|
inlineprotected |
Definition at line 337 of file convol.h.
References std::numeric_limits< class >::max().
|
inlineprotected |
Definition at line 353 of file convol.h.
References std::numeric_limits< class >::max().
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Definition at line 404 of file convol.h.
References std::numeric_limits< class >::max().
|
inlineprotected |
|
inlineprotected |
|
protected |
|
inlineprotected |
Definition at line 265 of file convol.h.
References std::numeric_limits< class >::min().
|
inlineprotected |
|
inlineprotected |
Definition at line 297 of file convol.h.
References std::numeric_limits< class >::min().
|
inlineprotected |
|
inlineprotected |
Definition at line 329 of file convol.h.
References std::numeric_limits< class >::min().
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Definition at line 396 of file convol.h.
References std::numeric_limits< class >::min().
|
inlineprotected |
|
inlineprotected |
|
inline |
Definition at line 64 of file convol.h.
References AimsConvolution< T >::_doit_voxel_method, and AimsConvolution< T >::_safe.
Referenced by AimsConvolution< T >::AimsConvolution().
|
protected |
Definition at line 88 of file convol.h.
Referenced by AimsConvolution< T >::set_safe_status().
|
protected |
Definition at line 92 of file convol.h.
Referenced by AimsConvolution< T >::set_safe_status().