DGtal 1.4.0
|
Aim: Define a simple Foreground predicate thresholding image values between two constant values (the first one being excluded). More...
#include <DGtal/images/IntervalForegroundPredicate.h>
Public Types | |
typedef Image::Value | Value |
typedef Image::Point | Point |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CConstImage< Image >)) | |
IntervalForegroundPredicate (ConstAlias< Image > aImage, const Value minVal, const Value maxVal) | |
bool | operator() (const typename Image::Point &aPoint) const |
bool | operator() (const typename Image::ConstRange::ConstIterator &it) const |
Protected Member Functions | |
IntervalForegroundPredicate () | |
Private Attributes | |
const Image * | myImage |
Value | myMaxVal |
Value | myMinVal |
Aim: Define a simple Foreground predicate thresholding image values between two constant values (the first one being excluded).
Description of template class 'IntervalForegroundPredicate'
This class is a model of concepts::CPointPredicate.
Image | an model of CImageContainer concept. |
Definition at line 64 of file IntervalForegroundPredicate.h.
typedef Image::Point DGtal::functors::IntervalForegroundPredicate< Image >::Point |
Definition at line 70 of file IntervalForegroundPredicate.h.
typedef Image::Value DGtal::functors::IntervalForegroundPredicate< Image >::Value |
Definition at line 69 of file IntervalForegroundPredicate.h.
|
inline |
Constructor. This functor can be used to threshold image values in the interval ]minVal,maxVal].
aImage | the image. |
minVal | the minimum value (first value excluded). |
maxVal | the maximum value (last value considered). |
Definition at line 80 of file IntervalForegroundPredicate.h.
|
protected |
DGtal::functors::IntervalForegroundPredicate< Image >::BOOST_CONCEPT_ASSERT | ( | (concepts::CConstImage< Image >) | ) |
|
inline |
Definition at line 96 of file IntervalForegroundPredicate.h.
References DGtal::functors::IntervalForegroundPredicate< Image >::myMaxVal, and DGtal::functors::IntervalForegroundPredicate< Image >::myMinVal.
|
inline |
Definition at line 88 of file IntervalForegroundPredicate.h.
References aPoint(), DGtal::functors::IntervalForegroundPredicate< Image >::myImage, DGtal::functors::IntervalForegroundPredicate< Image >::myMaxVal, and DGtal::functors::IntervalForegroundPredicate< Image >::myMinVal.
|
private |
Definition at line 103 of file IntervalForegroundPredicate.h.
Referenced by DGtal::functors::IntervalForegroundPredicate< Image >::operator()().
|
private |
Definition at line 104 of file IntervalForegroundPredicate.h.
Referenced by DGtal::functors::IntervalForegroundPredicate< Image >::operator()(), and DGtal::functors::IntervalForegroundPredicate< Image >::operator()().
|
private |
Definition at line 105 of file IntervalForegroundPredicate.h.
Referenced by DGtal::functors::IntervalForegroundPredicate< Image >::operator()(), and DGtal::functors::IntervalForegroundPredicate< Image >::operator()().