fw4spl
|
Classes | |
struct | Parameter |
Public Member Functions | |
template<class PIXELTYPE > | |
void | operator() (Parameter ¶m) |
Applies the filter. More... | |
Functor to apply a threshold filter.
The pixel with the value less than the threshold value will be set to 0, else the value is set to the maximum value of the image pixel type.
The functor provides a template method operator(param) to apply the filter
Definition at line 84 of file SThreshold.cpp.
|
inline |
Applies the filter.
PIXELTYPE | image pixel type (uint8, uint16, int8, int16, float, double, ....) |
Definition at line 98 of file SThreshold.cpp.
References fwDataTools::helper::ImageGetter::getBuffer(), fwDataTools::helper::Image::getBuffer(), opImageFilter::ThresholdFilter::Parameter::imageIn, opImageFilter::ThresholdFilter::Parameter::imageOut, SLM_ASSERT, and opImageFilter::ThresholdFilter::Parameter::thresholdValue.