aimsalgo  5.0.5
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 AimsData< T > &image)
 
AimsData< T > operator() (const AimsData< T > &image)
 Return the multi-level thresholded image. More...
 
AimsData< U > bin (const AimsData< T > &image)
 Return the binary thresholded image. More...
 

Detailed Description

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

Definition at line 28 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

Member Function Documentation

◆ bin()

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

Return the binary thresholded image.

Definition at line 283 of file emthreshold.h.

References AimsThreshold< class, class >::bin(), and AimsEMThreshold< T, U >::processEMThresholds().

Referenced by AimsEMThreshold< T, U >::~AimsEMThreshold().

◆ operator()()

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

Return the multi-level thresholded image.

Definition at line 266 of file emthreshold.h.

References AimsThreshold< class, class >::operator()(), and AimsEMThreshold< T, U >::processEMThresholds().

Referenced by AimsEMThreshold< T, U >::~AimsEMThreshold().

◆ processEMThresholds()


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