Aim: The predicate on surfels that represents the frontier between a region and its complementary 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/BoundaryPredicate.h>
template<typename TKSpace, typename TImage>
class DGtal::functors::BoundaryPredicate< TKSpace, TImage >
Aim: The predicate on surfels that represents the frontier between a region and its complementary 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 'BoundaryPredicate'
- Template Parameters
-
TKSpace | any model of cellular space |
TImage | any model of Image |
- Examples
- topology/frontierAndBoundary.cpp.
Definition at line 69 of file BoundaryPredicate.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 >
◆ ~BoundaryPredicate()
template<typename TKSpace , typename TImage >
◆ BoundaryPredicate() [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 boundary.
- Parameters
-
aSpace | a cellular grid space (referenced). |
anImage | any image (referenced). |
l1 | a label in the image that defines the inner region. |
◆ BoundaryPredicate() [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 a label different from myLabel1.
◆ 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 >
◆ myPtrImage
template<typename TKSpace , typename TImage >
◆ myPtrSpace
template<typename TKSpace , typename TImage >
The documentation for this class was generated from the following file: