STIR  6.2.0
Namespaces
thresholding.h File Reference

Declaration of functions that threshold sequences (specified by iterators). More...

#include "stir/min_positive_element.h"
#include <algorithm>

Go to the source code of this file.

Namespaces

 stir
 Namespace for the STIR library (and some/most of its applications)
 

Functions

Functions for thresholding numbers and sequences
template<typename forw_iterT , typename elemT >
void stir::threshold_upper_lower (forw_iterT begin, forw_iterT end, const elemT new_min, const elemT new_max)
 Threshold a sequence from above and below. More...
 
template<typename forw_iterT , typename elemT >
void stir::threshold_upper (forw_iterT begin, forw_iterT end, const elemT new_max)
 Threshold a sequence from above. More...
 
template<typename forw_iterT , typename elemT >
void stir::threshold_lower (forw_iterT begin, forw_iterT end, const elemT new_min)
 Threshold a sequence from below. More...
 
template<typename ForwardIter_t , typename elemT >
void stir::threshold_min_to_small_positive_value (ForwardIter_t begin, ForwardIter_t end, const elemT &small_number)
 sets non-positive values in the sequence to small positive ones More...
 

Detailed Description

Declaration of functions that threshold sequences (specified by iterators).

Author
Kris Thielemans