DGtal
0.6.devel
|
#include <FMMPointFunctors.h>
Public Types | |
typedef TDistanceImage | DistanceImage |
typedef DistanceImage::Point | Point |
typedef DistanceImage::Value | DistanceValue |
typedef TSpeedFunctor | SpeedFunctor |
typedef SpeedFunctor::Value | Value |
typedef TSet | Set |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((CImage< TDistanceImage >)) | |
BOOST_CONCEPT_ASSERT ((CPointFunctor< TSpeedFunctor >)) | |
BOOST_STATIC_ASSERT ((boost::is_same< Point, typename SpeedFunctor::Point >::value)) | |
BOOST_CONCEPT_ASSERT ((CDigitalSet< TSet >)) | |
BOOST_STATIC_ASSERT ((boost::is_same< Point, typename TSet::Point >::value)) | |
SpeedExtrapolator (const DistanceImage &aDistImg, const TSet &aSet, SpeedFunctor &aSpeedFunc) | |
SpeedExtrapolator (const SpeedExtrapolator &other) | |
SpeedExtrapolator & | operator= (const SpeedExtrapolator &other) |
~SpeedExtrapolator () | |
Value | operator() (const Point &aPoint) |
Data Fields | |
const DistanceImage * | myDistImgPtr |
const Set * | mySetPtr |
SpeedFunctor * | mySpeedFuncPtr |
Aim: Class for the computation of the a speed value at some point p, from the available distance values and speed values of some points lying in the 1-neighborhood of p (ie. points at a L1-distance to p equal to 1) in order to extrapolate a speed field in the normal direction to the interface.
Description of template class 'SpeedExtrapolator' <p> The computed value is such that the dot product of the gradients of the speed function and of the distance function is zero, ie.
\( \nabla S . \nabla \Phi = 0 \).
@note see [Adalsteinsson and Sethian, Fast Construction of Extension Velocities in Level Set Methods, J. Comput. Phys. 148, 2-22, 1999] It is a model of CPointFunctor. @tparam TDistanceImage model of CImage used for the mapping point-distance value @tparam TSet model of CDigitalSet for storing points whose distance value is known @tparam TSpeedFunctor model of CImage used for the mapping point-speed value @see FMM
Definition at line 702 of file FMMPointFunctors.h.
typedef TDistanceImage DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::DistanceImage |
Definition at line 711 of file FMMPointFunctors.h.
typedef DistanceImage::Value DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::DistanceValue |
Definition at line 713 of file FMMPointFunctors.h.
typedef DistanceImage::Point DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::Point |
Definition at line 712 of file FMMPointFunctors.h.
typedef TSet DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::Set |
Definition at line 721 of file FMMPointFunctors.h.
typedef TSpeedFunctor DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::SpeedFunctor |
Definition at line 715 of file FMMPointFunctors.h.
typedef SpeedFunctor::Value DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::Value |
Definition at line 717 of file FMMPointFunctors.h.
|
inline |
Constructor from images and set. NB: only pointers are stored
aDistImg | any distance map |
aSet | any digital set |
aSpeedFunc | any speed map |
Definition at line 909 of file FMMPointFunctors.ih.
|
inline |
Copy constructor.
other | the object to clone. |
Definition at line 921 of file FMMPointFunctors.ih.
|
inline |
DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::BOOST_CONCEPT_ASSERT | ( | (CImage< TDistanceImage >) | ) |
image
DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::BOOST_CONCEPT_ASSERT | ( | (CPointFunctor< TSpeedFunctor >) | ) |
DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::BOOST_CONCEPT_ASSERT | ( | (CDigitalSet< TSet >) | ) |
set
DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::BOOST_STATIC_ASSERT | ( | (boost::is_same< Point, typename SpeedFunctor::Point >::value) | ) |
DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::BOOST_STATIC_ASSERT | ( | (boost::is_same< Point, typename TSet::Point >::value) | ) |
|
inline |
Speed value computation at aPoint , from the available distance/speed values of the 1-neighbors of aPoint .
aPoint | the point for which the speed is computed |
Definition at line 961 of file FMMPointFunctors.ih.
References DGtal::findAndGetValue().
|
inline |
Assignment.
other | the object to copy. |
Definition at line 934 of file FMMPointFunctors.ih.
References DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::myDistImgPtr, DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::mySetPtr, and DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::mySpeedFuncPtr.
const DistanceImage* DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::myDistImgPtr |
Aliasing pointer on the underlying image of distance values.
Definition at line 727 of file FMMPointFunctors.h.
Referenced by DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::operator=().
const Set* DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::mySetPtr |
Aliasing pointer on the underlying set of points whose distance value is known
Definition at line 730 of file FMMPointFunctors.h.
Referenced by DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::operator=().
SpeedFunctor* DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::mySpeedFuncPtr |
Aliasing pointer on the underlying image of speed values.
Definition at line 732 of file FMMPointFunctors.h.
Referenced by DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::operator=().