Public Member Functions | List of all members
mirtk::data::op::Binarize Class Reference

Set values to either one or zero. More...

#include <DataFunctions.h>

Inheritance diagram for mirtk::data::op::Binarize:
Inheritance graph
Collaboration diagram for mirtk::data::op::Binarize:
Collaboration graph

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.
 

Detailed Description

Set values to either one or zero.

Definition at line 1232 of file DataFunctions.h.


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