35 #if defined(MeaningfulScaleAnalysis_RECURSES)
36 #error Recursive header files inclusion detected in MeaningfulScaleAnalysis.h
39 #define MeaningfulScaleAnalysis_RECURSES
41 #if !defined MeaningfulScaleAnalysis_h
43 #define MeaningfulScaleAnalysis_h
48 #include "DGtal/base/Common.h"
49 #include "DGtal/base/ConstAlias.h"
50 #include "DGtal/math/Profile.h"
111 template<
typename TProfile>
148 const unsigned int minSize = 1,
149 const double maxSlope = -0.2,
150 const double minSlope = -1e10 )
const;
167 std::pair<bool, double>
169 const double minSlope=-1e10,
170 const unsigned int minSize=2)
const ;
188 const double maxSlope = -0.2,
189 const double minSlope = -1e10 )
const;
212 const double maxSlope = -0.2,
213 const double minSlope = -1e10,
214 const double lowerBoundAtScale1 = 1.0,
215 const double lowerBoundSlope = -2.0 )
const;
277 template<
typename TProfile>
287 #if !defined(BUILD_INLINE)
288 #include "DGtal/math/MeaningfulScaleAnalysis.ih"
297 #undef MeaningfulScaleAnalysis_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Aim: This class implements different methods used to define the meaningful scale analysis as proposed...
void selfDisplay(std::ostream &out) const
MeaningfulScaleAnalysis()
std::pair< bool, double > getSlopeFromMeaningfulScales(const double maxSlope=-0.2, const double minSlope=-1e10, const unsigned int minSize=2) const
void computeMeaningfulScales(std::vector< std::pair< unsigned int, unsigned int > > &intervals, const unsigned int minSize=1, const double maxSlope=-0.2, const double minSlope=-1e10) const
MeaningfulScaleAnalysis(ConstAlias< Profile > aProfile)
MeaningfulScaleAnalysis(const MeaningfulScaleAnalysis &other)
MeaningfulScaleAnalysis & operator=(const MeaningfulScaleAnalysis &other)
const Profile & myProfile
unsigned int noiseLevel(const unsigned int minSize=1, const double maxSlope=-0.2, const double minSlope=-1e10) const
~MeaningfulScaleAnalysis()
unsigned int lowerBoundedNoiseLevel(const unsigned int minSize=1, const double maxSlope=-0.2, const double minSlope=-1e10, const double lowerBoundAtScale1=1.0, const double lowerBoundSlope=-2.0) const
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)