aimsalgo  5.0.5
Neuroimaging image processing
aims::ImageAlgorithmSwitch< T, true > Class Template Reference

aims::ImageAlgorithmSwitch switch specialization for multi-channel ImageAlgorithmInterface More...

#include <aims/algorithm/imagealgorithm.h>

Public Types

typedef T::ChannelType ChannelType
 

Public Member Functions

 ImageAlgorithmSwitch ()
 

Static Public Member Functions

static void execute (ImageAlgorithmInterface< ChannelType > &algo, const carto::VolumeRef< T > &in, carto::VolumeRef< T > &out, int verbose)
 Execute ImageAlgorithmInterface<T> on VolumeRef<T>. More...
 

Detailed Description

template<typename T>
class aims::ImageAlgorithmSwitch< T, true >

aims::ImageAlgorithmSwitch switch specialization for multi-channel ImageAlgorithmInterface

aims::ImageAlgorithmSwitch is the specialized class for multi-channel ImageAlgorithmInterface implementation.

Template Parameters
Ttype of voxel that will be processed by ImageAlgorithmInterface

Definition at line 360 of file imagealgorithm.h.

Member Typedef Documentation

◆ ChannelType

template<typename T >
typedef T::ChannelType aims::ImageAlgorithmSwitch< T, true >::ChannelType

Definition at line 362 of file imagealgorithm.h.

Constructor & Destructor Documentation

◆ ImageAlgorithmSwitch()

template<typename T >
aims::ImageAlgorithmSwitch< T, true >::ImageAlgorithmSwitch ( )
inline

Definition at line 363 of file imagealgorithm.h.

Member Function Documentation

◆ execute()

template<typename T >
static void aims::ImageAlgorithmSwitch< T, true >::execute ( ImageAlgorithmInterface< ChannelType > &  algo,
const carto::VolumeRef< T > &  in,
carto::VolumeRef< T > &  out,
int  verbose 
)
inlinestatic

Execute ImageAlgorithmInterface<T> on VolumeRef<T>.

Parameters
algoProcessing algorithm to run
inInput image to filter
outFiltered image (must be already allocated)

Definition at line 369 of file imagealgorithm.h.

References aims::ImageAlgorithmInterface< T >::execute(), and carto::toString().


The documentation for this class was generated from the following file: