DGtal 1.3.0
|
Aim: A class that models a \( (2k+1)^d \) neighborhood and that provides services to analyse the convexity properties of a digital set within this neighborhood. More...
#include <DGtal/geometry/volumes/NeighborhoodConvexityAnalyzer.h>
Public Types | |
typedef NeighborhoodConvexityAnalyzer< TKSpace, K > | Self |
typedef TKSpace | KSpace |
typedef KSpace::Space | Space |
typedef KSpace::Integer | Integer |
typedef KSpace::Point | Point |
typedef KSpace::Vector | Vector |
typedef KSpace::Cell | Cell |
typedef std::vector< Point > | PointRange |
typedef HyperRectDomain< Space > | Domain |
typedef std::size_t | Size |
typedef std::bitset< functions::const_pow(2 *K+1, dimension) > | Configuration |
typedef std::bitset< 9 > | BasicConfiguration |
Static Public Attributes | |
static const Dimension | dimension = KSpace::dimension |
static const Size | neigh_size = functions::const_pow( 2*K+1, dimension ) |
static const Size | middle = functions::const_middle( K, dimension ) |
static const bool | false_positive = ( dimension > 2 ) || ( K > 1 ) |
Protected Types | |
enum | Computation { FullConvexity_X_with_center = 0x1 , FullConvexity_X_without_center = 0x2 , FullConvexity_CompX_with_center = 0x4 , FullConvexity_CompX_without_center = 0x8 , Convexity_X_with_center = 0x10 , Convexity_X_without_center = 0x20 , Convexity_CompX_with_center = 0x40 , Convexity_CompX_without_center = 0x80 } |
Enum types indicating the possible type of local computations. More... | |
Protected Attributes | |
Domain | myDomain |
The bounded domain in which computations are carried out. More... | |
DigitalConvexity< KSpace > | myDigConv |
The digital convexity that is used for checking full convexity. More... | |
Point | myCenter |
The current center of the neighborhood. More... | |
TimeStampMemoizer< Configuration, bool > | myMemoizer |
The memoizer. More... | |
bool | myCenterInX |
tells if the center belongs to X More... | |
Size | myNbInX |
The number of points of the neighborhood that belongs to X (center omitted). More... | |
Configuration | myCfgX |
Stores the local configuration for X (without the center) More... | |
std::vector< BasicConfiguration > | myBasicCfgX |
Stores the basic local configurations associated to myCfgX, for speed-up. More... | |
std::bitset< 512 > | myBasicFullConvexityTable |
Stores the full convexity property of the basic 3x3 neighborhood configurations. More... | |
std::bitset< 512 > | myBasic0ConvexityTable |
Stores the 0-convexity property of the basic 3x3 neighborhood configurations. More... | |
int | myComputations |
Stores which properties have already been computed. More... | |
int | myResults |
Stores the properties boolean values. More... | |
Private Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CCellularGridSpaceND< TKSpace >)) | |
void | computeBasicFullConvexityTable () |
bool | checkBasicConfigurationsFullConvexity (bool compX, bool with_center) const |
bool | checkBasicConfigurations0Convexity (bool compX, bool with_center) const |
void | computeBasicConfigurations (Configuration cfg, std::vector< BasicConfiguration > &result) const |
BasicConfiguration | computeCentralBasicConfiguration (Configuration cfg, Dimension i, Dimension j) const |
Standard services (construction, initialization, assignment) | |
~NeighborhoodConvexityAnalyzer ()=default | |
NeighborhoodConvexityAnalyzer ()=default | |
NeighborhoodConvexityAnalyzer (const Self &other)=default | |
NeighborhoodConvexityAnalyzer (Clone< KSpace > aKSpace, Size memoizer_size=0) | |
NeighborhoodConvexityAnalyzer (Point lo, Point hi, Size memoizer_size=0) | |
Self & | operator= (const Self &other)=default |
const KSpace & | space () const |
const Domain & | domain () const |
static int | radius () |
static Size | size () |
Neighborhood and convexity services | |
template<typename PointPredicate > | |
void | setCenter (Point c, const PointPredicate &X) |
Point | center () const |
Configuration | configuration () const |
bool | isCenterInX () const |
Tells if the current center belongs to the shape X. More... | |
bool | isFullyConvexCollapsible () |
bool | isLikelyNoise () |
bool | is0ConvexCollapsible () |
bool | isFullyConvex (bool with_center) |
bool | isComplementaryFullyConvex (bool with_center) |
bool | is0Convex (bool with_center) |
bool | isComplementary0Convex (bool with_center) |
void | getLocalX (std::vector< Point > &localX, bool with_center) const |
void | getLocalCompX (std::vector< Point > &localCompX, bool with_center) const |
static Configuration | makeConfiguration (Configuration current, bool complement, bool with_center) |
Aim: A class that models a \( (2k+1)^d \) neighborhood and that provides services to analyse the convexity properties of a digital set within this neighborhood.
Description of template class 'NeighborhoodConvexityAnalyzer'
It is a model of boost::CopyConstructible, boost::DefaultConstructible, boost::Assignable.
TKSpace | an arbitrary model of CCellularGridSpaceND. |
K | the parameter that determines the size of the neighborhood along all dimensions (spans 2K+1 points in each direction, hence the neighborhood cardinal is \( (2K+1)^d \)). |
Definition at line 94 of file NeighborhoodConvexityAnalyzer.h.
typedef std::bitset< 9 > DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::BasicConfiguration |
Definition at line 116 of file NeighborhoodConvexityAnalyzer.h.
typedef KSpace::Cell DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::Cell |
Definition at line 105 of file NeighborhoodConvexityAnalyzer.h.
typedef std::bitset< functions::const_pow( 2*K+1, dimension ) > DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::Configuration |
Definition at line 115 of file NeighborhoodConvexityAnalyzer.h.
typedef HyperRectDomain<Space> DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::Domain |
Definition at line 107 of file NeighborhoodConvexityAnalyzer.h.
typedef KSpace::Integer DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::Integer |
Definition at line 102 of file NeighborhoodConvexityAnalyzer.h.
typedef TKSpace DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::KSpace |
Definition at line 100 of file NeighborhoodConvexityAnalyzer.h.
typedef KSpace::Point DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::Point |
Definition at line 103 of file NeighborhoodConvexityAnalyzer.h.
typedef std::vector<Point> DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::PointRange |
Definition at line 106 of file NeighborhoodConvexityAnalyzer.h.
typedef NeighborhoodConvexityAnalyzer<TKSpace,K> DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::Self |
Definition at line 99 of file NeighborhoodConvexityAnalyzer.h.
typedef std::size_t DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::Size |
Definition at line 108 of file NeighborhoodConvexityAnalyzer.h.
typedef KSpace::Space DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::Space |
Definition at line 101 of file NeighborhoodConvexityAnalyzer.h.
typedef KSpace::Vector DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::Vector |
Definition at line 104 of file NeighborhoodConvexityAnalyzer.h.
|
protected |
Enum types indicating the possible type of local computations.
Definition at line 528 of file NeighborhoodConvexityAnalyzer.h.
|
default |
Destructor.
|
default |
Constructor. Invalid object.
|
default |
Copy constructor.
other | the object to clone. |
|
inline |
Constructor from cellular space.
aKSpace | any cellular grid space. |
memoizer_size | if 0, no memoizer is used (useless in 2D), otherwise it is the maximal number of memoized elements. |
Definition at line 147 of file NeighborhoodConvexityAnalyzer.h.
References DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::computeBasicFullConvexityTable(), DGtal::Trace::info(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::middle, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myComputations, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myDigConv, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myDomain, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myResults, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::size(), DGtal::DigitalConvexity< TKSpace >::space(), and DGtal::trace.
|
inline |
Constructor from lower and upper points.
lo | the lowest point of the domain (bounding box for computations). |
hi | the highest point of the domain (bounding box for computations). |
memoizer_size | if 0, no memoizer is used (useless in 2D), otherwise it is the maximal number of memoized elements. |
Definition at line 166 of file NeighborhoodConvexityAnalyzer.h.
References DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::computeBasicFullConvexityTable(), DGtal::Trace::info(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::middle, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myComputations, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myResults, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::size(), and DGtal::trace.
|
private |
|
inline |
Definition at line 225 of file NeighborhoodConvexityAnalyzer.h.
References DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myCenter.
|
private |
For the current configuration, checks if all the 2D slices of the configuration are 0-convex (for speed-up). They must be all true for the global nD configuration to be 0-convex.
compX | when 'true', complements the configuration. |
with_center | when 'true', makes the center point part of the configuration |
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::is0Convex(), and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementary0Convex().
|
private |
For the current configuration, checks if all the 2D slices of the configuration are fully convex (for speed-up). They must be all true for the global nD configuration to be fully convex.
compX | when 'true', complements the configuration. |
with_center | when 'true', makes the center point part of the configuration |
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementaryFullyConvex(), and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvex().
|
private |
Given a configuration cfg, outputs all the 2D slice configurations in result.
[in] | cfg | any configuration in nD |
[out] | result | the vector of all basic configurations (i.e. 3x3) within each possible 2D local slice. |
|
private |
Precomputes the table storing for each basic configuration if it is fully convex.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::NeighborhoodConvexityAnalyzer().
|
private |
Given a configuration cfg, returns the central 3x3 configuration of the 2D slice along coordinates i and j.
[in] | cfg | any configuration in nD |
[in] | i | any dimension |
[in] | j | any other dimension |
|
inline |
Definition at line 231 of file NeighborhoodConvexityAnalyzer.h.
References DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myCfgX.
|
inline |
Definition at line 190 of file NeighborhoodConvexityAnalyzer.h.
References DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myDomain.
void DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::getLocalCompX | ( | std::vector< Point > & | localCompX, |
bool | with_center | ||
) | const |
[in,out] | localCompX | as output, the set of points of the neighborhood not belonging to the shape |
[in] | with_center | if 'true' adds the center point. |
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementary0Convex(), and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementaryFullyConvex().
void DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::getLocalX | ( | std::vector< Point > & | localX, |
bool | with_center | ||
) | const |
[in,out] | localX | as output, the set of points of the neighborhood belonging to the shape |
[in] | with_center | if 'true' adds the center point. |
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::is0Convex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvex(), and main().
|
inline |
Tells if the shape is locally digitally 0-convex.
with_center | if 'true' add the center to the digital set. |
Definition at line 424 of file NeighborhoodConvexityAnalyzer.h.
References DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::checkBasicConfigurations0Convexity(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::false_positive, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::FullConvexity_X_with_center, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::FullConvexity_X_without_center, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::getLocalX(), DGtal::DigitalConvexity< TKSpace >::is0Convex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myComputations, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myDigConv, and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myResults.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::is0ConvexCollapsible().
|
inline |
Definition at line 271 of file NeighborhoodConvexityAnalyzer.h.
References DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::is0Convex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isCenterInX(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementary0Convex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myNbInX, and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::size().
Referenced by main().
|
inline |
Tells if the current center belongs to the shape X.
Definition at line 237 of file NeighborhoodConvexityAnalyzer.h.
References DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myCenterInX.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::is0ConvexCollapsible(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvexCollapsible(), and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isLikelyNoise().
|
inline |
Tells if the complementary of the shape is locally digitally 0-convex.
with_center | if 'true' add the center to the digital set. |
Definition at line 447 of file NeighborhoodConvexityAnalyzer.h.
References DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::checkBasicConfigurations0Convexity(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::false_positive, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::FullConvexity_CompX_with_center, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::FullConvexity_CompX_without_center, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::getLocalCompX(), DGtal::DigitalConvexity< TKSpace >::is0Convex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myComputations, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myDigConv, and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myResults.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::is0ConvexCollapsible().
|
inline |
Tells if the complementary of the shape is locally fully convex.
with_center | if 'true' add the center to the digital set. |
Definition at line 355 of file NeighborhoodConvexityAnalyzer.h.
References DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::checkBasicConfigurationsFullConvexity(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::false_positive, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::FullConvexity_CompX_with_center, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::FullConvexity_CompX_without_center, DGtal::TimeStampMemoizer< TKey, TValue >::get(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::getLocalCompX(), DGtal::DigitalConvexity< TKSpace >::isFullyConvex(), DGtal::TimeStampMemoizer< TKey, TValue >::isValid(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::makeConfiguration(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myCfgX, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myComputations, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myDigConv, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myMemoizer, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myResults, and DGtal::TimeStampMemoizer< TKey, TValue >::set().
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvexCollapsible(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isLikelyNoise(), and main().
|
inline |
Tells if the shape X is locally fully convex.
with_center | if 'true' add the center to the digital set. |
Definition at line 288 of file NeighborhoodConvexityAnalyzer.h.
References DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::checkBasicConfigurationsFullConvexity(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::false_positive, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::FullConvexity_X_with_center, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::FullConvexity_X_without_center, DGtal::TimeStampMemoizer< TKey, TValue >::get(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::getLocalX(), DGtal::DigitalConvexity< TKSpace >::isFullyConvex(), DGtal::TimeStampMemoizer< TKey, TValue >::isValid(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::makeConfiguration(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myCfgX, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myComputations, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myDigConv, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myMemoizer, DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myResults, and DGtal::TimeStampMemoizer< TKey, TValue >::set().
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvexCollapsible(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isLikelyNoise(), and main().
|
inline |
Definition at line 243 of file NeighborhoodConvexityAnalyzer.h.
References DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isCenterInX(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementaryFullyConvex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myNbInX, and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::size().
Referenced by main().
|
inline |
Definition at line 256 of file NeighborhoodConvexityAnalyzer.h.
References DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isCenterInX(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementaryFullyConvex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myNbInX, and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::size().
|
inlinestatic |
Builds the final configuration from the configuration current, by complementing it according to complement, and by adding its center point according to with_center.
current | any configuration (with empty center/middle bit) |
complement | when 'true', complements the configuration. |
with_center | when 'true', makes the center point part of the configuration |
Definition at line 473 of file NeighborhoodConvexityAnalyzer.h.
References DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::middle.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementaryFullyConvex(), and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvex().
|
default |
Assignment.
other | the object to copy. |
|
inlinestatic |
Definition at line 196 of file NeighborhoodConvexityAnalyzer.h.
References K.
void DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::setCenter | ( | Point | c, |
const PointPredicate & | X | ||
) |
Place the center of the neighborhood at point c on shape X All subsequent computations and results are related to this point afterwards.
PointPredicate | an arbitrary model of concept::CPointPredicate |
c | any point in the domain of the embedding space. |
X | a predicate associating a boolean to any point, which corresponds to a characteristic function of a digital subset X of the digital space. |
Referenced by main().
|
inlinestatic |
Definition at line 201 of file NeighborhoodConvexityAnalyzer.h.
References DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::neigh_size.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::is0ConvexCollapsible(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvexCollapsible(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isLikelyNoise(), and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::NeighborhoodConvexityAnalyzer().
|
inline |
Definition at line 184 of file NeighborhoodConvexityAnalyzer.h.
References DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::myDigConv, and DGtal::DigitalConvexity< TKSpace >::space().
|
static |
Definition at line 110 of file NeighborhoodConvexityAnalyzer.h.
|
static |
Definition at line 113 of file NeighborhoodConvexityAnalyzer.h.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::is0Convex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementary0Convex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementaryFullyConvex(), and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvex().
|
static |
Definition at line 112 of file NeighborhoodConvexityAnalyzer.h.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::makeConfiguration(), and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::NeighborhoodConvexityAnalyzer().
|
protected |
Stores the 0-convexity property of the basic 3x3 neighborhood configurations.
Definition at line 525 of file NeighborhoodConvexityAnalyzer.h.
|
protected |
Stores the basic local configurations associated to myCfgX, for speed-up.
Definition at line 520 of file NeighborhoodConvexityAnalyzer.h.
|
protected |
Stores the full convexity property of the basic 3x3 neighborhood configurations.
Definition at line 523 of file NeighborhoodConvexityAnalyzer.h.
|
protected |
The current center of the neighborhood.
Definition at line 510 of file NeighborhoodConvexityAnalyzer.h.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::center().
|
protected |
tells if the center belongs to X
Definition at line 514 of file NeighborhoodConvexityAnalyzer.h.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isCenterInX().
|
protected |
Stores the local configuration for X (without the center)
Definition at line 518 of file NeighborhoodConvexityAnalyzer.h.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::configuration(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementaryFullyConvex(), and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvex().
|
protected |
Stores which properties have already been computed.
Definition at line 539 of file NeighborhoodConvexityAnalyzer.h.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::is0Convex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementary0Convex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementaryFullyConvex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvex(), and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::NeighborhoodConvexityAnalyzer().
|
protected |
The digital convexity that is used for checking full convexity.
Definition at line 508 of file NeighborhoodConvexityAnalyzer.h.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::is0Convex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementary0Convex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementaryFullyConvex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::NeighborhoodConvexityAnalyzer(), and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::space().
|
protected |
The bounded domain in which computations are carried out.
Definition at line 506 of file NeighborhoodConvexityAnalyzer.h.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::domain(), and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::NeighborhoodConvexityAnalyzer().
|
protected |
The memoizer.
Definition at line 512 of file NeighborhoodConvexityAnalyzer.h.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementaryFullyConvex(), and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvex().
|
protected |
The number of points of the neighborhood that belongs to X (center omitted).
Definition at line 516 of file NeighborhoodConvexityAnalyzer.h.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::is0ConvexCollapsible(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvexCollapsible(), and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isLikelyNoise().
|
protected |
Stores the properties boolean values.
Definition at line 541 of file NeighborhoodConvexityAnalyzer.h.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::is0Convex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementary0Convex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isComplementaryFullyConvex(), DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::isFullyConvex(), and DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::NeighborhoodConvexityAnalyzer().
|
static |
Definition at line 111 of file NeighborhoodConvexityAnalyzer.h.
Referenced by DGtal::NeighborhoodConvexityAnalyzer< TKSpace, K >::size().