31 #if defined(SimpleThresholdForegroundPredicate_RECURSES)
32 #error Recursive header files inclusion detected in SimpleThresholdForegroundPredicate.h
35 #define SimpleThresholdForegroundPredicate_RECURSES
37 #if !defined SimpleThresholdForegroundPredicate_h
39 #define SimpleThresholdForegroundPredicate_h
44 #include "DGtal/base/Common.h"
45 #include "DGtal/images/CConstImage.h"
46 #include "DGtal/base/ConstAlias.h"
64 template <
typename Image>
105 return ((*it) >
myVal);
127 #undef SimpleThresholdForegroundPredicate_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
std::vector< Value >::const_iterator ConstIterator
Aim: implements association bewteen points lying in a digital domain and values.
Aim: Define a simple Foreground predicate thresholding image values given a single thresold....
bool operator()(const typename Image::Point &aPoint) const
BOOST_CONCEPT_ASSERT((concepts::CConstImage< Image >))
bool operator()(const typename Image::Domain::ConstIterator &it) const
SimpleThresholdForegroundPredicate()
bool operator()(const typename Image::ConstRange::ConstIterator &it) const
SimpleThresholdForegroundPredicate(ConstAlias< Image > aImage, const Value value)
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Defines the concept describing a read-only image, which is a refinement of CPointFunctor.