DGtal
2.2.0
Toggle main menu visibility
Loading...
Searching...
No Matches
BLUELocalLengthEstimator.h
1
16
17
#pragma once
18
33
34
#if defined(BLUELocalLengthEstimator_RECURSES)
35
#error Recursive header files inclusion detected in BLUELocalLengthEstimator.h
36
#else
// defined(BLUELocalLengthEstimator_RECURSES)
38
#define BLUELocalLengthEstimator_RECURSES
39
40
#if !defined BLUELocalLengthEstimator_h
42
#define BLUELocalLengthEstimator_h
43
45
// Inclusions
46
#include <iostream>
47
#include "DGtal/base/Common.h"
48
#include "DGtal/geometry/curves/estimation/TwoStepLocalLengthEstimator.h"
50
51
namespace
DGtal
52
{
53
55
// template class BLUELocalLengthEstimator
68
template
<
typename
TConstIterator>
69
class
BLUELocalLengthEstimator
:
public
DGtal::TwoStepLocalLengthEstimator
<TConstIterator>
70
{
71
// ----------------------- Standard services ------------------------------
72
public
:
73
74
76
typedef
TConstIterator
ConstIterator
;
77
typedef
double
Quantity
;
78
79
83
BLUELocalLengthEstimator
():
84
TwoStepLocalLengthEstimator
<TConstIterator>(0.948,1.343)
85
{}
86
92
BLUELocalLengthEstimator
(
const
BLUELocalLengthEstimator
& other ) =
delete
;
93
100
BLUELocalLengthEstimator
&
operator=
(
const
BLUELocalLengthEstimator
& other ) =
delete
;
101
102
// ----------------------- Interface --------------------------------------
103
public
:
104
109
void
selfDisplay
( std::ostream & out )
const
110
{
111
out <<
"[BLUELocalLengthEstimator]"
;
112
if
(this->
isValid
())
113
out <<
" initialized"
;
114
else
115
out<<
" not initialized"
;
116
}
117
118
};
// end of class BLUELocalLengthEstimator
119
120
127
template
<
typename
T>
128
std::ostream&
129
operator<<
( std::ostream & out,
const
BLUELocalLengthEstimator<T>
&
object
);
130
131
}
// namespace DGtal
132
133
// //
135
136
#endif
// !defined BLUELocalLengthEstimator_h
137
138
#undef BLUELocalLengthEstimator_RECURSES
139
#endif
// else defined(BLUELocalLengthEstimator_RECURSES)
DGtal::BLUELocalLengthEstimator
Aim: Best Linear Unbiased Two step length estimator.
Definition
BLUELocalLengthEstimator.h:70
DGtal::BLUELocalLengthEstimator::ConstIterator
TConstIterator ConstIterator
Definition
BLUELocalLengthEstimator.h:76
DGtal::BLUELocalLengthEstimator::BLUELocalLengthEstimator
BLUELocalLengthEstimator()
Definition
BLUELocalLengthEstimator.h:83
DGtal::BLUELocalLengthEstimator::Quantity
double Quantity
Definition
BLUELocalLengthEstimator.h:77
DGtal::BLUELocalLengthEstimator::operator=
BLUELocalLengthEstimator & operator=(const BLUELocalLengthEstimator &other)=delete
DGtal::BLUELocalLengthEstimator::selfDisplay
void selfDisplay(std::ostream &out) const
Definition
BLUELocalLengthEstimator.h:109
DGtal::BLUELocalLengthEstimator::BLUELocalLengthEstimator
BLUELocalLengthEstimator(const BLUELocalLengthEstimator &other)=delete
DGtal::TwoStepLocalLengthEstimator
Aim: a simple model of CGlobalCurveEstimator that compute the length of a curve using the l_1 metric ...
Definition
TwoStepLocalLengthEstimator.h:66
DGtal::TwoStepLocalLengthEstimator::TwoStepLocalLengthEstimator
TwoStepLocalLengthEstimator()=delete
DGtal::TwoStepLocalLengthEstimator::isValid
bool isValid() const
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition
ClosedIntegerHalfPlane.h:49
DGtal::operator<<
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
src
DGtal
geometry
curves
estimation
BLUELocalLengthEstimator.h
Generated on
for DGtal by
1.18.0