Public Member Functions | |
void | apply (algebra::MultiArray< T, D > &m) |
Function to apply the filter. | |
FilterByThreshold (double threshold, int mode, double value) | |
void | set_parameters (T threshold, int mode) |
void | set_parameters (T threshold, int mode, T value) |
Function to set the paramters of of the filter. | |
Protected Attributes | |
int | mode_ |
T | threshold_ |
T | value_ |
void IMP::em::FilterByThreshold< T, D >::set_parameters | ( | T | threshold, | |
int | mode, | |||
T | value | |||
) |
Function to set the paramters of of the filter.
[in] | threshold | |
[in] | mode,: | 0 - Filter all the values BELOW the threshold 1 - Filter all the values ABOVE the threshold |
[in] | value | Value to given to the filtered entries. By default the given value is the threshold |