DGtal
0.6.devel
|
#include <IntervalForegroundPredicate.h>
Public Types | |
typedef Image::Value | Value |
typedef Image::Point | Point |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((CImage< Image >)) | |
IntervalForegroundPredicate (const Image &aImage, const Value minVal, const Value maxVal) | |
bool | operator() (const typename Image::Point &aPoint) const |
bool | operator() (const typename Image::Iterator &it) const |
bool | operator() (const typename Image::ConstIterator &it) const |
bool | operator() (const typename Image::SpanIterator &it) const |
Protected Member Functions | |
IntervalForegroundPredicate () |
Private Attributes | |
CountedPtr< Image > | myImage |
Value | myMaxVal |
Value | myMinVal |
Aim: Define a simple Foreground predicate thresholding image values between two constant values.
Description of template class 'IntervalForegroundPredicate'
TImage | an model of CImageContainer concept. |
Definition at line 60 of file IntervalForegroundPredicate.h.
typedef Image::Point DGtal::IntervalForegroundPredicate< Image >::Point |
Definition at line 66 of file IntervalForegroundPredicate.h.
typedef Image::Value DGtal::IntervalForegroundPredicate< Image >::Value |
Definition at line 65 of file IntervalForegroundPredicate.h.
|
inline |
Constructor. This functor can be used to threshold image values in the interval ]minVal,maxVal].
minVal | the minimum value (first value excluded). |
maxVal | the maximum value (last value considered). |
Definition at line 75 of file IntervalForegroundPredicate.h.
|
protected |
DGtal::IntervalForegroundPredicate< Image >::BOOST_CONCEPT_ASSERT | ( | (CImage< Image >) | ) |
|
inline |
Definition at line 83 of file IntervalForegroundPredicate.h.
References DGtal::IntervalForegroundPredicate< Image >::myImage, DGtal::IntervalForegroundPredicate< Image >::myMaxVal, and DGtal::IntervalForegroundPredicate< Image >::myMinVal.
|
inline |
Definition at line 91 of file IntervalForegroundPredicate.h.
References DGtal::IntervalForegroundPredicate< Image >::myImage, DGtal::IntervalForegroundPredicate< Image >::myMaxVal, and DGtal::IntervalForegroundPredicate< Image >::myMinVal.
|
inline |
Definition at line 99 of file IntervalForegroundPredicate.h.
References DGtal::IntervalForegroundPredicate< Image >::myImage, DGtal::IntervalForegroundPredicate< Image >::myMaxVal, and DGtal::IntervalForegroundPredicate< Image >::myMinVal.
|
inline |
Definition at line 107 of file IntervalForegroundPredicate.h.
References DGtal::IntervalForegroundPredicate< Image >::myImage, DGtal::IntervalForegroundPredicate< Image >::myMaxVal, and DGtal::IntervalForegroundPredicate< Image >::myMinVal.
|
private |
Definition at line 113 of file IntervalForegroundPredicate.h.
Referenced by DGtal::IntervalForegroundPredicate< Image >::operator()().
|
private |
Definition at line 114 of file IntervalForegroundPredicate.h.
Referenced by DGtal::IntervalForegroundPredicate< Image >::operator()().
|
private |
Definition at line 115 of file IntervalForegroundPredicate.h.
Referenced by DGtal::IntervalForegroundPredicate< Image >::operator()().