A.I.M.S algorithms


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 359 of file imagealgorithm.h.

Member Typedef Documentation

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

Definition at line 361 of file imagealgorithm.h.

Constructor & Destructor Documentation

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

Definition at line 362 of file imagealgorithm.h.

Member Function Documentation

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 368 of file imagealgorithm.h.

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


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