Aim: Define a simple Foreground predicate thresholding image values given a single thresold. More precisely, the functor operator() returns true if the value is greater than a given threshold.
More...
#include <DGtal/images/SimpleThresholdForegroundPredicate.h>
template<typename Image>
class DGtal::functors::SimpleThresholdForegroundPredicate< Image >
Aim: Define a simple Foreground predicate thresholding image values given a single thresold. More precisely, the functor operator() returns true if the value is greater than a given threshold.
Description of template class 'SimpleThresholdForegroundPredicate'
This class is a model of concepts::CPointPredicate.
- Template Parameters
-
Image | an model of CConstImage concept. |
- Examples
- examples/tutorial-examples/polyhedralizer.cpp, geometry/volumes/distance/distancetransform2D.cpp, geometry/volumes/distance/distancetransform3D.cpp, geometry/volumes/distance/toricdomainvolumetric.cpp, tutorial-examples/polyhedralizer.cpp, and tutorial-examples/volDTGranulo.cpp.
Definition at line 65 of file SimpleThresholdForegroundPredicate.h.
◆ Point
template<typename Image >
◆ Value
template<typename Image >
◆ SimpleThresholdForegroundPredicate() [1/2]
template<typename Image >
Constructor. This functor can be used to threshold image values greater (>) than value.
- Parameters
-
aImage | the image. |
value | the threshold value. |
Definition at line 80 of file SimpleThresholdForegroundPredicate.h.
◆ SimpleThresholdForegroundPredicate() [2/2]
template<typename Image >
◆ BOOST_CONCEPT_ASSERT()
template<typename Image >
◆ operator()() [1/3]
template<typename Image >
◆ operator()() [2/3]
template<typename Image >
◆ operator()() [3/3]
template<typename Image >
◆ myImage
template<typename Image >
◆ myVal
template<typename Image >
The documentation for this class was generated from the following file: