34 #if defined(FMMPointFunctors_RECURSES) 35 #error Recursive header files inclusion detected in FMMPointFunctors.h 36 #else // defined(FMMPointFunctors_RECURSES) 38 #define FMMPointFunctors_RECURSES 40 #if !defined FMMPointFunctors_h 42 #define FMMPointFunctors_h 50 #include "DGtal/base/Common.h" 51 #include "DGtal/base/ConstAlias.h" 53 #include "DGtal/kernel/sets/CDigitalSet.h" 54 #include "DGtal/kernel/CPointFunctor.h" 55 #include "DGtal/images/CImage.h" 56 #include "DGtal/images/ImageHelper.h" 92 template <
typename TImage,
typename TSet>
183 Value
compute(Values& aValueList)
const;
195 Value
gradientNorm(
const Value& aValue,
const Values& aValueList)
const;
227 template <
typename TImage,
typename TSet>
249 typedef std::vector<CoeffValue>
List;
319 Value
compute(List& aList)
const;
331 Value getValue(
const Value& aValue1,
const Value& aValue2)
const;
356 template <
typename TImage,
typename TSet>
447 Value
compute(Values& aValueList)
const;
471 template <
typename TImage,
typename TSet>
559 Value
compute(Values& aValueList)
const;
584 template <
typename TKSpace,
typename TMap,
bool isIndirect = false>
594 typedef typename Map::mapped_type
Value;
673 Value
compute(Values& aValueList)
const;
703 template <
typename TDistanceImage,
typename TSet,
typename TSpeedFunctor>
748 SpeedExtrapolator(
const DistanceImage& aDistImg,
const TSet& aSet, SpeedFunctor& aSpeedFunc);
790 #include "DGtal/geometry/volumes/distance/FMMPointFunctors.ih" 795 #endif // !defined FMMPointFunctors_h 797 #undef FMMPointFunctors_RECURSES 798 #endif // else defined(FMMPointFunctors_RECURSES)
Value operator()(const Point &aPoint)
Image * myImgPtr
Aliasing pointer on the underlying image.
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
std::vector< Value > Values
std::vector< CoeffValue > List
BOOST_CONCEPT_ASSERT((concepts::CImage< TImage >))
image
TKSpace KSpace
cellular grid
~L2FirstOrderLocalDistance()
Set * mySetPtr
Aliasing pointer on the underlying set.
BOOST_STATIC_ASSERT((boost::is_same< Point, typename TSet::Point >::value))
Image * myImgPtr
Aliasing pointer on the underlying image.
void selfDisplay(std::ostream &out) const
const KSpace * myKSpace
Aliasing pointer on the underlying cellular grid.
Value compute(Values &aValueList) const
Aim: Class for the computation of the Euclidean distance at some point p, from the available distance...
Aim: Class for the computation of the Euclidean distance at some point p, from the available distance...
Set * mySetPtr
Aliasing pointer on the underlying set.
Set * mySetPtr
Aliasing pointer on the underlying set.
std::vector< Value > Values
Image * myImgPtr
Aliasing pointer on the underlying image.
Aim: Class for the computation of the Euclidean distance at some point p, from the available distance...
std::vector< Value > Values
Value gradientNorm(const Value &aValue, const Values &aValueList) const
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Class for the computation of the L1-distance at some point p, from the available distance values...
std::pair< double, Value > CoeffValue
Map * myMap
Aliasing pointer on the underlying mapping.
Aim: Defines a functor on points.
Aim: Represents a set of points within the given domain. This set of points is modifiable by the user...
Image * myImgPtr
Aliasing pointer on the underlying image.
Aim: Defines the concept describing a read/write image, having an output iterator.
L2FirstOrderLocalDistance & operator=(const L2FirstOrderLocalDistance &other)
L2FirstOrderLocalDistance(Image &aImg, TSet &aSet)
Set * mySetPtr
Aliasing pointer on the underlying set.
std::vector< Value > Values
Aim: Class for the computation of the LInf-distance at some point p, from the available distance valu...