DGtal
0.6.devel
|
#include <SimpleThresholdForegroundPredicate.h>
Public Types | |
typedef Image::Value | Value |
typedef Image::Point | Point |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((CImage< Image >)) | |
SimpleThresholdForegroundPredicate (const Image &aImage, const Value value) | |
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 | |
SimpleThresholdForegroundPredicate () |
Private Attributes | |
CountedPtr< Image > | myImage |
Value | myVal |
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'
TImage | an model of CImageContainer concept. |
Definition at line 62 of file SimpleThresholdForegroundPredicate.h.
typedef Image::Point DGtal::SimpleThresholdForegroundPredicate< Image >::Point |
Definition at line 68 of file SimpleThresholdForegroundPredicate.h.
typedef Image::Value DGtal::SimpleThresholdForegroundPredicate< Image >::Value |
Definition at line 67 of file SimpleThresholdForegroundPredicate.h.
|
inline |
Constructor. This functor can be used to threshold image values greater (>) than value.
value | the threshold value. |
Definition at line 76 of file SimpleThresholdForegroundPredicate.h.
|
protected |
DGtal::SimpleThresholdForegroundPredicate< Image >::BOOST_CONCEPT_ASSERT | ( | (CImage< Image >) | ) |
|
inline |
Definition at line 83 of file SimpleThresholdForegroundPredicate.h.
References DGtal::SimpleThresholdForegroundPredicate< Image >::myImage, and DGtal::SimpleThresholdForegroundPredicate< Image >::myVal.
|
inline |
Definition at line 91 of file SimpleThresholdForegroundPredicate.h.
References DGtal::SimpleThresholdForegroundPredicate< Image >::myImage, and DGtal::SimpleThresholdForegroundPredicate< Image >::myVal.
|
inline |
Definition at line 99 of file SimpleThresholdForegroundPredicate.h.
References DGtal::SimpleThresholdForegroundPredicate< Image >::myImage, and DGtal::SimpleThresholdForegroundPredicate< Image >::myVal.
|
inline |
Definition at line 107 of file SimpleThresholdForegroundPredicate.h.
References DGtal::SimpleThresholdForegroundPredicate< Image >::myImage, and DGtal::SimpleThresholdForegroundPredicate< Image >::myVal.
|
private |
Definition at line 113 of file SimpleThresholdForegroundPredicate.h.
Referenced by DGtal::SimpleThresholdForegroundPredicate< Image >::operator()().
|
private |
Definition at line 114 of file SimpleThresholdForegroundPredicate.h.
Referenced by DGtal::SimpleThresholdForegroundPredicate< Image >::operator()().