Set values to either one or zero. More...
#include <DataFunctions.h>
Public Member Functions | |
Binarize (double l, double u=numeric_limits< double >::infinity()) | |
Constructor. | |
virtual double | Op (double value, bool &) const |
Transform data value and/or mask data value by setting *mask = false. | |
virtual void | Process (int n, double *data, bool *mask=NULL) |
Process given data (not thread-safe!) | |
Public Member Functions inherited from mirtk::data::Op | |
virtual | ~Op () |
Destructor. | |
Set values to either one or zero.
Definition at line 1232 of file DataFunctions.h.