![]() |
aimsalgo
5.1.2
Neuroimaging image processing
|
Make convolution only on a specified mask. More...
#include <aims/signalfilter/convol.h>
Public Member Functions | |
AimsMaskedConvolution (const carto::rc_ptr< carto::Volume< short > > &mask, short sources=0, bool safe=true) | |
virtual | ~AimsMaskedConvolution () |
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... | |
![]() | |
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 Attributes | |
short | _sources |
const carto::VolumeRef< short > | _mask |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
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... | |
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 |
Make convolution only on a specified mask.
In the mask, voxels with value :
|
inline |
|
inlinevirtual |
|
inlinevirtual |
called for each voxel (safe version)
Reimplemented from AimsConvolution< T >.
Definition at line 244 of file convol.h.
References AimsConvolution< T >::doit_voxel_safe().
|
inlinevirtual |
called for each voxel (unsafe version)
Reimplemented from AimsConvolution< T >.
Definition at line 254 of file convol.h.
References AimsConvolution< T >::doit_voxel_unsafe().
|
protected |
|
protected |