aimsalgo 6.0.0
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.
 
carto::VolumeRef< U > bin (const carto::VolumeRef< T > &image)
 Return the binary thresholded image.
 

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,
T 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< T, U >::_level, AimsThreshold< T, U >::_level2, AimsThreshold< class T, class U >::bin(), and processEMThresholds().

◆ 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< T, U >::_level, AimsThreshold< T, U >::_level2, AimsThreshold< class T, class U >::operator()(), and processEMThresholds().

◆ 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: