![]() |
aimsalgo
5.0.5
Neuroimaging image processing
|
aims::singlechannel::SubSamplingImageAlgorithm is the algorithm to apply subsampling on single channel image. More...
#include <aims/resampling/subsamplingimagealgorithm.h>
Public Types | |
typedef T | VoxelType |
![]() | |
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 SubSamplingImageAlgorithm< T > * | clone () const |
ImageAlgorithmInterface<T> Pure virtual method. More... | |
SubSamplingImageAlgorithm (int sx, int sy, int sz, const FilteringFunctionInterface< T > &f) | |
SubSamplingImageAlgorithm (const SubSamplingImageAlgorithm &other) | |
SubSamplingImageAlgorithm< T > & | operator= (const SubSamplingImageAlgorithm &other) |
virtual | ~SubSamplingImageAlgorithm () |
![]() | |
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 AimsData< T > | execute (const AimsData< T > &in) const |
virtual void | setVerbose (int level) |
virtual void | setQuiet () |
virtual | ~ImageAlgorithmInterface () |
Protected Attributes | |
int | _win_size_x |
int | _win_size_y |
int | _win_size_z |
carto::rc_ptr< FilteringFunctionInterface< T > > | _func |
![]() | |
int | _verbose |
Additional Inherited Members | |
![]() | |
ImageAlgorithmInterface () | |
ImageAlgorithmInterface (const ImageAlgorithmInterface &other) | |
ImageAlgorithmInterface & | operator= (const ImageAlgorithmInterface &other) |
aims::singlechannel::SubSamplingImageAlgorithm is the algorithm to apply subsampling on single channel image.
The aims::SubSamplingImageAlgorithm
class is used to subsample a single channel image.
T | type of voxel that will be subsampled. |
Definition at line 56 of file subsamplingimagealgorithm.h.
typedef T aims::singlechannel::SubSamplingImageAlgorithm< T >::VoxelType |
Definition at line 130 of file subsamplingimagealgorithm.h.
|
inline |
Definition at line 160 of file subsamplingimagealgorithm.h.
Referenced by aims::SubSamplingImageAlgorithm< T >::clone().
|
inline |
Definition at line 169 of file subsamplingimagealgorithm.h.
|
inlinevirtual |
Definition at line 189 of file subsamplingimagealgorithm.h.
|
inlinevirtual |
ImageAlgorithmInterface<T>
Pure virtual method.
Clone the object
Implements aims::ImageAlgorithmInterface< T >.
Definition at line 152 of file subsamplingimagealgorithm.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 200 of file subsamplingimagealgorithm.h.
References aims::singlechannel::SubSamplingImageAlgorithm< T >::_func, aims::ImageAlgorithmInterface< T >::_verbose, aims::singlechannel::SubSamplingImageAlgorithm< T >::_win_size_x, aims::singlechannel::SubSamplingImageAlgorithm< T >::_win_size_y, aims::singlechannel::SubSamplingImageAlgorithm< T >::_win_size_z, carto::VolumeRef< T >::getSizeT(), carto::VolumeRef< T >::getSizeX(), carto::VolumeRef< T >::getSizeY(), carto::VolumeRef< T >::getSizeZ(), and carto::VolumeRef< T >::setPosInRefVolume().
|
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 138 of file subsamplingimagealgorithm.h.
References aims::singlechannel::SubSamplingImageAlgorithm< T >::_win_size_x, aims::singlechannel::SubSamplingImageAlgorithm< T >::_win_size_y, and aims::singlechannel::SubSamplingImageAlgorithm< T >::_win_size_z.
|
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 145 of file subsamplingimagealgorithm.h.
References aims::singlechannel::SubSamplingImageAlgorithm< T >::_win_size_x, aims::singlechannel::SubSamplingImageAlgorithm< T >::_win_size_y, and aims::singlechannel::SubSamplingImageAlgorithm< T >::_win_size_z.
|
inline |
Definition at line 177 of file subsamplingimagealgorithm.h.
References aims::singlechannel::SubSamplingImageAlgorithm< T >::_func, aims::singlechannel::SubSamplingImageAlgorithm< T >::_win_size_x, aims::singlechannel::SubSamplingImageAlgorithm< T >::_win_size_y, aims::singlechannel::SubSamplingImageAlgorithm< T >::_win_size_z, and ASSERT.
|
protected |
Definition at line 195 of file subsamplingimagealgorithm.h.
Referenced by aims::singlechannel::SubSamplingImageAlgorithm< T >::execute(), and aims::singlechannel::SubSamplingImageAlgorithm< T >::operator=().
|
protected |
Definition at line 192 of file subsamplingimagealgorithm.h.
Referenced by aims::singlechannel::SubSamplingImageAlgorithm< T >::execute(), aims::singlechannel::SubSamplingImageAlgorithm< T >::getOutputImageDimensions(), aims::singlechannel::SubSamplingImageAlgorithm< T >::getOutputImageVoxelSize(), and aims::singlechannel::SubSamplingImageAlgorithm< T >::operator=().
|
protected |
Definition at line 193 of file subsamplingimagealgorithm.h.
Referenced by aims::singlechannel::SubSamplingImageAlgorithm< T >::execute(), aims::singlechannel::SubSamplingImageAlgorithm< T >::getOutputImageDimensions(), aims::singlechannel::SubSamplingImageAlgorithm< T >::getOutputImageVoxelSize(), and aims::singlechannel::SubSamplingImageAlgorithm< T >::operator=().
|
protected |
Definition at line 194 of file subsamplingimagealgorithm.h.
Referenced by aims::singlechannel::SubSamplingImageAlgorithm< T >::execute(), aims::singlechannel::SubSamplingImageAlgorithm< T >::getOutputImageDimensions(), aims::singlechannel::SubSamplingImageAlgorithm< T >::getOutputImageVoxelSize(), and aims::singlechannel::SubSamplingImageAlgorithm< T >::operator=().