fw4spl
opImageFilter::ThresholdFilter Struct Reference

Classes

struct  Parameter
 

Public Member Functions

template<class PIXELTYPE >
void operator() (Parameter &param)
 Applies the filter. More...
 

Detailed Description

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.

Member Function Documentation

template<class PIXELTYPE >
void opImageFilter::ThresholdFilter::operator() ( Parameter param)
inline

Applies the filter.

Template Parameters
PIXELTYPEimage 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.

+ Here is the call graph for this function:


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