aimsalgo  5.1.2
Neuroimaging image processing
AimsEMThreshold< T, U > Class Template Reference

#include <aims/threshold/emthreshold.h>

Inheritance diagram for AimsEMThreshold< T, U >:
Collaboration diagram for AimsEMThreshold< T, U >:

Public Member Functions

 AimsEMThreshold (threshold_t type, T backgd=0, float foregd=32767, int classes=2, int levelindex=0, int level2index=1, int bins=0, int binstart=0, int binend=0)
 
virtual ~AimsEMThreshold ()
 
std::vector< T > processEMThresholds (const carto::VolumeRef< T > &image)
 
carto::VolumeRef< U > operator() (const carto::VolumeRef< T > &image)
 Return the multi-level thresholded image. More...
 
carto::VolumeRef< U > bin (const carto::VolumeRef< T > &image)
 Return the binary thresholded image. More...
 

Detailed Description

template<class T, class U>
class AimsEMThreshold< T, U >

Definition at line 23 of file emthreshold.h.

Constructor & Destructor Documentation

◆ AimsEMThreshold()

template<class T , class U >
AimsEMThreshold< T, U >::AimsEMThreshold ( threshold_t  type,
backgd = 0,
float  foregd = 32767,
int  classes = 2,
int  levelindex = 0,
int  level2index = 1,
int  bins = 0,
int  binstart = 0,
int  binend = 0 
)
inline

◆ ~AimsEMThreshold()

template<class T , class U >
virtual AimsEMThreshold< T, U >::~AimsEMThreshold ( )
inlinevirtual

Definition at line 38 of file emthreshold.h.

Member Function Documentation

◆ bin()

template<class T , class U >
carto::VolumeRef< U > AimsEMThreshold< T, U >::bin ( const carto::VolumeRef< T > &  image)
inline

Return the binary thresholded image.

Definition at line 280 of file emthreshold.h.

References AimsThreshold< class, class >::bin().

◆ operator()()

template<class T , class U >
carto::VolumeRef< U > AimsEMThreshold< T, U >::operator() ( const carto::VolumeRef< T > &  image)
inline

Return the multi-level thresholded image.

Definition at line 262 of file emthreshold.h.

References AimsThreshold< class, class >::operator()().

◆ processEMThresholds()

template<class T , class U >
std::vector< T > AimsEMThreshold< T, U >::processEMThresholds ( const carto::VolumeRef< T > &  image)
inline

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