![]() |
aimsdata
5.0.5
Neuroimaging data handling
|
#include <aims/utility/threshold.h>
Public Member Functions | |
AimsTexThreshold (threshold_t type, T level, T level2=0, T backgd=0) | |
Texture thresholding. More... | |
virtual | ~AimsTexThreshold () |
TimeTexture< T > | operator() (const TimeTexture< T > &sqv) |
Return the multi-level thresholded texture. More... | |
TimeTexture< U > | bin (const TimeTexture< T > &sqv) |
Return the binary thresholded texture. More... | |
Protected Attributes | |
threshold_t | _type |
Threshold type. More... | |
T | _level |
Lower level or unique level. More... | |
T | _level2 |
Upper level. More... | |
T | _backgd |
Definition at line 131 of file threshold.h.
|
inline |
Texture thresholding.
type | threshold type (AIMS_LOWER_THAN,...) |
level | first threshold |
level2 | second threshold [default=0] |
backgd | value for voxels cut out by the thresholding |
Definition at line 166 of file threshold.h.
|
inlinevirtual |
Definition at line 141 of file threshold.h.
References AimsThreshold< T, U >::bin(), and AimsThreshold< T, U >::operator()().
|
inline |
Return the binary thresholded texture.
Definition at line 855 of file threshold.h.
References AimsTexThreshold< T, U >::_level, AimsTexThreshold< T, U >::_level2, AimsTexThreshold< T, U >::_type, AIMS_BETWEEN, AIMS_BETWEEN_EXCLUDE_BOUNDS, AIMS_BETWEEN_EXCLUDE_HIGHER_BOUND, AIMS_BETWEEN_EXCLUDE_LOWER_BOUND, AIMS_DIFFER, AIMS_EQUAL_TO, AIMS_GREATER_OR_EQUAL_TO, AIMS_GREATER_THAN, AIMS_LOWER_OR_EQUAL_TO, AIMS_LOWER_THAN, AIMS_OUTSIDE, AIMS_OUTSIDE_INCLUDE_BOUNDS, AIMS_OUTSIDE_INCLUDE_HIGHER_BOUND, AIMS_OUTSIDE_INCLUDE_LOWER_BOUND, TimeTexture< T >::nItem(), and TimeTexture< T >::push_back().
|
inline |
Return the multi-level thresholded texture.
Definition at line 589 of file threshold.h.
References AimsTexThreshold< T, U >::_backgd, AimsTexThreshold< T, U >::_level, AimsTexThreshold< T, U >::_level2, AimsTexThreshold< T, U >::_type, AIMS_BETWEEN, AIMS_BETWEEN_EXCLUDE_BOUNDS, AIMS_BETWEEN_EXCLUDE_HIGHER_BOUND, AIMS_BETWEEN_EXCLUDE_LOWER_BOUND, AIMS_DIFFER, AIMS_EQUAL_TO, AIMS_GREATER_OR_EQUAL_TO, AIMS_GREATER_THAN, AIMS_LOWER_OR_EQUAL_TO, AIMS_LOWER_THAN, AIMS_OUTSIDE, AIMS_OUTSIDE_INCLUDE_BOUNDS, AIMS_OUTSIDE_INCLUDE_HIGHER_BOUND, AIMS_OUTSIDE_INCLUDE_LOWER_BOUND, TimeTexture< T >::item(), and TimeTexture< T >::nItem().
|
protected |
Definition at line 155 of file threshold.h.
Referenced by AimsThreshold< T, U >::operator()(), and AimsTexThreshold< T, U >::operator()().
|
protected |
Lower level or unique level.
Definition at line 152 of file threshold.h.
Referenced by AimsThreshold< T, U >::bin(), AimsTexThreshold< T, U >::bin(), AimsThreshold< T, U >::clip(), AimsThreshold< T, U >::operator()(), and AimsTexThreshold< T, U >::operator()().
|
protected |
Upper level.
Definition at line 154 of file threshold.h.
Referenced by AimsThreshold< T, U >::bin(), AimsTexThreshold< T, U >::bin(), AimsThreshold< T, U >::clip(), AimsThreshold< T, U >::operator()(), and AimsTexThreshold< T, U >::operator()().
|
protected |
Threshold type.
Definition at line 150 of file threshold.h.
Referenced by AimsThreshold< T, U >::bin(), AimsTexThreshold< T, U >::bin(), AimsThreshold< T, U >::clip(), AimsThreshold< T, U >::operator()(), and AimsTexThreshold< T, U >::operator()().