Aim: The predicate on surfels that represents the frontier between two regions in an image. It can be used with ExplicitDigitalSurface or LightExplicitDigitalSurface so as to define a digital surface. Such surfaces may of course be open.
More...
#include <DGtal/topology/helpers/FrontierPredicate.h>
template<typename TKSpace, typename TImage>
class DGtal::functors::FrontierPredicate< TKSpace, TImage >
Aim: The predicate on surfels that represents the frontier between two regions in an image. It can be used with ExplicitDigitalSurface or LightExplicitDigitalSurface so as to define a digital surface. Such surfaces may of course be open.
Description of class 'FrontierPredicate'
- Template Parameters
-
TKSpace | any model of cellular space |
TImage | any model of Image |
- Examples
- geometry/volumes/distance/exampleFMM3D.cpp, topology/frontierAndBoundary.cpp, and tutorial-examples/FMMErosion.cpp.
Definition at line 67 of file FrontierPredicate.h.
◆ Image
template<typename TKSpace , typename TImage >
◆ KSpace
template<typename TKSpace , typename TImage >
◆ Point
template<typename TKSpace , typename TImage >
◆ SCell
template<typename TKSpace , typename TImage >
◆ Surfel
template<typename TKSpace , typename TImage >
◆ Value
template<typename TKSpace , typename TImage >
◆ ~FrontierPredicate()
template<typename TKSpace , typename TImage >
◆ FrontierPredicate() [1/2]
template<typename TKSpace , typename TImage >
Constructor. The frontier will be defined only with the image domain. The space must be large enough to contain the frontier.
- Parameters
-
aSpace | a cellular grid space (referenced). |
anImage | any image (referenced). |
l1 | a label in the image that defines the inner region. |
l2 | a label in the image that defines the outer region. |
◆ FrontierPredicate() [2/2]
template<typename TKSpace , typename TImage >
Copy constructor.
- Parameters
-
other | the object to clone. |
◆ BOOST_CONCEPT_ASSERT() [1/2]
template<typename TKSpace , typename TImage >
◆ BOOST_CONCEPT_ASSERT() [2/2]
template<typename TKSpace , typename TImage >
◆ BOOST_STATIC_ASSERT()
template<typename TKSpace , typename TImage >
◆ isValid()
template<typename TKSpace , typename TImage >
Checks the validity/consistency of the object.
- Returns
- 'true' if the object is valid, 'false' otherwise.
◆ operator()()
template<typename TKSpace , typename TImage >
Predicate operator.
- Parameters
-
- Returns
- 'true' iff s has its inner voxel that has label myLabel1 in image myImage and its outer voxel that has label myLabel2 in image myImage.
◆ operator=()
template<typename TKSpace , typename TImage >
Assignment. Required by CSurfelPredicate.
- Parameters
-
other | the object to clone. |
- Returns
- a reference to this object.
◆ selfDisplay()
template<typename TKSpace , typename TImage >
Writes/Displays the object on an output stream.
- Parameters
-
out | the output stream where the object is written. |
◆ myLabel1
template<typename TKSpace , typename TImage >
◆ myLabel2
template<typename TKSpace , typename TImage >
◆ myPtrImage
template<typename TKSpace , typename TImage >
◆ myPtrSpace
template<typename TKSpace , typename TImage >
The documentation for this class was generated from the following file: