35 #if defined(MeaningfulScaleAnalysis_RECURSES) 36 #error Recursive header files inclusion detected in MeaningfulScaleAnalysis.h 37 #else // defined(MeaningfulScaleAnalysis_RECURSES) 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>
279 operator<< ( std::ostream & out, const MeaningfulScaleAnalysis<TProfile> & object );
287 #if !defined(BUILD_INLINE) 288 #include "DGtal/math/MeaningfulScaleAnalysis.ih" 295 #endif // !defined MeaningfulScaleAnalysis_h 297 #undef MeaningfulScaleAnalysis_RECURSES 298 #endif // else defined(MeaningfulScaleAnalysis_RECURSES)
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
unsigned int noiseLevel(const unsigned int minSize=1, const double maxSlope=-0.2, const double minSlope=-1e10) const
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
MeaningfulScaleAnalysis & operator=(const MeaningfulScaleAnalysis &other)
MeaningfulScaleAnalysis()
const Profile & myProfile
~MeaningfulScaleAnalysis()
Aim: This class implements different methods used to define the meaningful scale analysis as proposed...
DGtal is the top-level namespace which contains all DGtal functions and types.
void selfDisplay(std::ostream &out) const
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
std::pair< bool, double > getSlopeFromMeaningfulScales(const double maxSlope=-0.2, const double minSlope=-1e10, const unsigned int minSize=2) const