aimsdata 6.0.0
Neuroimaging data handling
AimsTexThreshold< T, U > Class Template Reference

#include <aims/utility/threshold.h>

Collaboration diagram for AimsTexThreshold< T, U >:

Public Member Functions

 AimsTexThreshold (threshold_t type, T level, T level2=0, T backgd=0)
 Texture thresholding.
 
virtual ~AimsTexThreshold ()
 
TimeTexture< T > operator() (const TimeTexture< T > &sqv)
 Return the multi-level thresholded texture.
 
TimeTexture< U > bin (const TimeTexture< T > &sqv)
 Return the binary thresholded texture.
 

Protected Attributes

threshold_t _type
 Threshold type.
 
_level
 Lower level or unique level.
 
_level2
 Upper level.
 
_backgd
 

Detailed Description

template<class T, class U>
class AimsTexThreshold< T, U >

Definition at line 130 of file threshold.h.

Constructor & Destructor Documentation

◆ AimsTexThreshold()

template<class T, class U>
AimsTexThreshold< T, U >::AimsTexThreshold ( threshold_t type,
T level,
T level2 = 0,
T backgd = 0 )
inline

Texture thresholding.

Parameters
typethreshold type (AIMS_LOWER_THAN,...)
levelfirst threshold
level2second threshold [default=0]
backgdvalue for voxels cut out by the thresholding

Definition at line 165 of file threshold.h.

References _backgd, _level, _level2, and _type.

◆ ~AimsTexThreshold()

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

Definition at line 140 of file threshold.h.

Member Function Documentation

◆ bin()

◆ operator()()

Member Data Documentation

◆ _backgd

template<class T, class U>
T AimsTexThreshold< T, U >::_backgd
protected

Definition at line 154 of file threshold.h.

Referenced by AimsTexThreshold(), and operator()().

◆ _level

template<class T, class U>
T AimsTexThreshold< T, U >::_level
protected

Lower level or unique level.

Definition at line 151 of file threshold.h.

Referenced by AimsTexThreshold(), bin(), and operator()().

◆ _level2

template<class T, class U>
T AimsTexThreshold< T, U >::_level2
protected

Upper level.

Definition at line 153 of file threshold.h.

Referenced by AimsTexThreshold(), bin(), and operator()().

◆ _type

template<class T, class U>
threshold_t AimsTexThreshold< T, U >::_type
protected

Threshold type.

Definition at line 149 of file threshold.h.

Referenced by AimsTexThreshold(), bin(), and operator()().


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