Public Member Functions

DGtal::DistanceTransformation< TImage, TImageOutput, TSeparableMetric >::DefaultForegroundPredicate Struct Reference

Public Member Functions

bool operator() (const Image &aImage, const typename Image::Point &aPoint) const
bool operator() (const Image &aImage, const typename Image::Iterator &it) const
bool operator() (const Image &aImage, const typename Image::ConstIterator &it) const
bool operator() (const Image &aImage, const typename Image::SpanIterator &it) const

Detailed Description

template<typename TImage, typename TImageOutput, typename TSeparableMetric>
struct DGtal::DistanceTransformation< TImage, TImageOutput, TSeparableMetric >::DefaultForegroundPredicate

Default foregroundPredicate : we return true if the value at a point differs from zero.

Todo:
Refactoring needed to generalize this class !

Member Function Documentation

template<typename TImage, typename TImageOutput, typename TSeparableMetric>
bool DGtal::DistanceTransformation< TImage, TImageOutput, TSeparableMetric >::DefaultForegroundPredicate::operator() ( const Image aImage,
const typename Image::Point aPoint 
) const [inline]
template<typename TImage, typename TImageOutput, typename TSeparableMetric>
bool DGtal::DistanceTransformation< TImage, TImageOutput, TSeparableMetric >::DefaultForegroundPredicate::operator() ( const Image aImage,
const typename Image::SpanIterator &  it 
) const [inline]
template<typename TImage, typename TImageOutput, typename TSeparableMetric>
bool DGtal::DistanceTransformation< TImage, TImageOutput, TSeparableMetric >::DefaultForegroundPredicate::operator() ( const Image aImage,
const typename Image::ConstIterator &  it 
) const [inline]
template<typename TImage, typename TImageOutput, typename TSeparableMetric>
bool DGtal::DistanceTransformation< TImage, TImageOutput, TSeparableMetric >::DefaultForegroundPredicate::operator() ( const Image aImage,
const typename Image::Iterator &  it 
) const [inline]

The documentation for this struct was generated from the following file: