DGtal
1.5.beta
|
#include <DGtal/geometry/curves/estimation/FunctorsLambdaMST.h>
Public Types | |
typedef DSS | DSSType |
typedef IteratorCirculatorTraits< typename DSSType::ConstIterator >::Value | Point |
Public Member Functions | |
DSSLengthLessEqualFilter () | |
void | init (double threshold) |
bool | operator() (const DSSType &dss) const |
bool | admissibility (const DSSType &dss, const Point &p) const |
long int | position (const DSSType &dss, const Point &p) const |
Private Attributes | |
double | lenThreshold |
bool | initThreshold |
Description of class 'DSSLengthLessEqualFilter' – model of CLMSTDSSFilter. Aim: Provide a functor which allow for filtering DSSes of length lower than a given threshold.
DSS | digital straight segment recognition algorithm |
Definition at line 269 of file FunctorsLambdaMST.h.
typedef DSS DGtal::DSSLengthLessEqualFilter< DSS >::DSSType |
Definition at line 273 of file FunctorsLambdaMST.h.
typedef IteratorCirculatorTraits< typename DSSType::ConstIterator >::Value DGtal::DSSLengthLessEqualFilter< DSS >::Point |
Definition at line 274 of file FunctorsLambdaMST.h.
|
inline |
Definition at line 276 of file FunctorsLambdaMST.h.
|
inline |
Checks if the DSS can be used for points that are not covered by any DSS longer than the threshold.
dss | - the DSS to be checked if it is close enough to the point p |
p | - the point that is not covered by a long enough DSS |
Definition at line 307 of file FunctorsLambdaMST.h.
References DGtal::DSSLengthLessEqualFilter< DSS >::lenThreshold.
|
inline |
Filter initialization method, which has to be used before using the filter
threshold | length threshold used by the filter |
Definition at line 281 of file FunctorsLambdaMST.h.
References DGtal::DSSLengthLessEqualFilter< DSS >::initThreshold, and DGtal::DSSLengthLessEqualFilter< DSS >::lenThreshold.
|
inline |
dss | - the DSS to be checked by the filter |
Definition at line 293 of file FunctorsLambdaMST.h.
References DGtal::DSSLengthLessEqualFilter< DSS >::initThreshold, and DGtal::DSSLengthLessEqualFilter< DSS >::lenThreshold.
|
inline |
Returns position for an uncovered point i.e., point that is not covered by a DSS longer than the threshold, and a DSS that is long enough and it is in the vicinity of the point.
dss | - the DSS that does not cover the point but it is close enough to it |
p | - uncovered point |
Definition at line 319 of file FunctorsLambdaMST.h.
References DGtal::DSSLengthLessEqualFilter< DSS >::lenThreshold.
|
private |
Definition at line 331 of file FunctorsLambdaMST.h.
Referenced by DGtal::DSSLengthLessEqualFilter< DSS >::init(), and DGtal::DSSLengthLessEqualFilter< DSS >::operator()().
|
private |