A.I.M.S algorithms


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

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
template<class T , class U >
virtual AimsEMThreshold< T, U >::~AimsEMThreshold ( )
inlinevirtual

Definition at line 43 of file emthreshold.h.

Member Function Documentation

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().

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()().

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

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