31 #if defined(IntervalForegroundPredicate_RECURSES)
32 #error Recursive header files inclusion detected in IntervalForegroundPredicate.h
33 #else // defined(IntervalForegroundPredicate_RECURSES)
35 #define IntervalForegroundPredicate_RECURSES
37 #if !defined IntervalForegroundPredicate_h
39 #define IntervalForegroundPredicate_h
44 #include "DGtal/base/Common.h"
45 #include "DGtal/images/CConstImage.h"
46 #include "DGtal/base/ConstAlias.h"
63 template <
typename Image>
118 #endif // !defined IntervalForegroundPredicate_h
120 #undef IntervalForegroundPredicate_RECURSES
121 #endif // else defined(IntervalForegroundPredicate_RECURSES)
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
bool operator()(const typename Image::ConstRange::ConstIterator &it) const
BOOST_CONCEPT_ASSERT((concepts::CConstImage< Image >))
std::vector< Value >::const_iterator ConstIterator
DGtal is the top-level namespace which contains all DGtal functions and types.
IntervalForegroundPredicate()
bool operator()(const typename Image::Point &aPoint) const
Aim: implements association bewteen points lying in a digital domain and values.
IntervalForegroundPredicate(ConstAlias< Image > aImage, const Value minVal, const Value maxVal)
Aim: Define a simple Foreground predicate thresholding image values between two constant values (the ...
Aim: Defines the concept describing a read-only image, which is a refinement of CPointFunctor.