|
DGtal
0.6.devel
|
Data Structures | |
| struct | HasNestedType |
| Aim: Checks whether type has a nested type called 'Type' or not. NB: from en.wikipedia.org/wiki/Substitution_failure_is_not_an_error. More... | |
| struct | IsCirculator |
| Aim: Checks whether type is a circular or a classical iterator. NB: from en.wikipedia.org/wiki/Substitution_failure_is_not_an_error. More... | |
| struct | IsCirculator< IC, true > |
| struct | IteratorCirculatorTypeImpl |
| Aim: Defines the Iterator or Circulator type as a nested type according to the value of b. More... | |
| struct | IteratorCirculatorTypeImpl< true > |
| struct | LabelledMapMemFunctor |
| class | PosIndepScaleIndepSCEstimator |
| class | PosIndepScaleDepSCEstimator |
| class | PosDepScaleIndepSCEstimator |
| class | PosDepScaleDepSCEstimator |
| struct | TangentAngleFromDSS |
| struct | NormalizedTangentVectorFromDSS |
| struct | TangentVectorFromDSS |
| struct | CurvatureFromDCA |
| struct | CurvatureFromDCA< false > |
| struct | NormalVectorFromDCA |
| struct | TangentVectorFromDCA |
| struct | DistanceFromDCA |
| struct | CurvatureFromDSSLength |
| struct | CurvatureFromDSSLengthAndWidth |
| class | CurvatureFromDSSBaseEstimator |
Functions | |
| template<typename IC > | |
| bool | isNotEmpty (const IC &itb, const IC &ite, IteratorType) |
| template<typename IC > | |
| bool | isNotEmpty (const IC &c1, const IC &c2, CirculatorType) |
| template<typename TData > | |
| std::pair< unsigned int, unsigned int > | argminLabelledMapMemoryUsageForGeometricDistribution (unsigned int L, double prob_no_data, double prob_one_data) |
| std::pair< unsigned int, unsigned int > DGtal::detail::argminLabelledMapMemoryUsageForGeometricDistribution | ( | unsigned int | L, |
| double | prob_no_data, | ||
| double | prob_one_data | ||
| ) |
Tries to find the best values N and M which will minimized the memory usage of a LabelledMap, for the distribution specified by the parameters.
| TValue | the type of data that will be stored. |
| L | the total number of labels. |
| prob_no_data | Probability that there is no data at this location. |
| prob_one_data | If there is a possibility to have a data, this probability is used to define a geometric distribution that defines the number of data (ie valid labels) at this place. The smaller, the higher is the expectation. 0.5 means E(X) = 1. |
Definition at line 1225 of file LabelledMap.ih.
References DGtal::detail::LabelledMapMemFunctor::fctNM().
|
inline |
Definition at line 57 of file IteratorFunctions.h.
Referenced by DGtal::detail::PosIndepScaleIndepSCEstimator< DSSComputer, detail::TangentAngleFromDSS >::eval(), DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >::eval(), DGtal::detail::PosDepScaleIndepSCEstimator< DCAComputer, detail::TangentVectorFromDCA >::eval(), DGtal::detail::PosDepScaleDepSCEstimator< DCAComputer, detail::DistanceFromDCA >::eval(), and DGtal::detail::CurvatureFromDSSBaseEstimator< DSSComputer, detail::CurvatureFromDSSLength >::eval().
|
inline |
Definition at line 63 of file IteratorFunctions.h.
1.8.1.1