python
errorminimizers
point_to_point_with_cov.cpp
Go to the documentation of this file.
1
#include "
point_to_point_with_cov.h
"
2
3
#include "
pointmatcher/ErrorMinimizersImpl.h
"
4
5
namespace
python
6
{
7
namespace
errorminimizers
8
{
9
void
pybindPointToPointWithCov
(py::module& p_module)
10
{
11
using
PointToPointErrorMinimizer
=
ErrorMinimizersImpl<ScalarType>::PointToPointErrorMinimizer
;
12
using
PointToPointWithCovErrorMinimizer
=
ErrorMinimizersImpl<ScalarType>::PointToPointWithCovErrorMinimizer
;
13
py::class_<PointToPointWithCovErrorMinimizer, std::shared_ptr<PointToPointWithCovErrorMinimizer>,
PointToPointErrorMinimizer
>(p_module,
"PointToPointWithCovErrorMinimizer"
)
14
.def(py::init<const Parameters&>(), py::arg(
"params"
) =
Parameters
())
15
.def_readonly(
"sensorStdDev"
, &
PointToPointWithCovErrorMinimizer::sensorStdDev
)
16
.def_readwrite(
"covMatrix"
, &
PointToPointWithCovErrorMinimizer::covMatrix
)
17
.def_static(
"description"
, &
PointToPointWithCovErrorMinimizer::description
)
18
.def_static(
"availableParameters"
, &
PointToPointWithCovErrorMinimizer::availableParameters
)
19
.def(
"compute"
, &
PointToPointWithCovErrorMinimizer::compute
, py::arg(
"mPts"
))
20
.def(
"getCovariance"
, &
PointToPointWithCovErrorMinimizer::getCovariance
)
21
.def(
"estimateCovariance"
, &
PointToPointWithCovErrorMinimizer::estimateCovariance
, py::arg(
"mPts"
), py::arg(
"transformation"
));
22
}
23
}
24
}
ErrorMinimizersImpl::PointToPointWithCovErrorMinimizer
::PointToPointWithCovErrorMinimizer< T > PointToPointWithCovErrorMinimizer
Definition:
ErrorMinimizersImpl.h:53
PointToPointWithCovErrorMinimizer::estimateCovariance
Matrix estimateCovariance(const ErrorElements &mPts, const TransformationParameters &transformation)
Definition:
PointToPointWithCov.cpp:62
python::errorminimizers::pybindPointToPointWithCov
void pybindPointToPointWithCov(py::module &p_module)
Definition:
point_to_point_with_cov.cpp:9
Parameters
PM::Parameters Parameters
Definition:
filterProfiler.cpp:20
PointToPointWithCovErrorMinimizer::getCovariance
virtual Matrix getCovariance() const
If not redefined by child class, return zero matrix.
Definition:
PointToPointWithCov.cpp:148
PointToPointWithCovErrorMinimizer::covMatrix
Matrix covMatrix
Definition:
PointToPointWithCov.h:72
PointToPointWithCovErrorMinimizer::description
static const std::string description()
Definition:
PointToPointWithCov.h:59
ErrorMinimizersImpl.h
PointToPointWithCovErrorMinimizer::compute
virtual TransformationParameters compute(const ErrorElements &mPts)
Find the transformation that minimizes the error given matched pair of points. This function most be ...
Definition:
PointToPointWithCov.cpp:50
python
Definition:
add_descriptor.cpp:5
point_to_point_with_cov.h
ErrorMinimizersImpl::PointToPointErrorMinimizer
::PointToPointErrorMinimizer< T > PointToPointErrorMinimizer
Definition:
ErrorMinimizersImpl.h:52
PointToPointErrorMinimizer
Definition:
PointToPoint.h:42
PointToPointWithCovErrorMinimizer::availableParameters
static const ParametersDoc availableParameters()
Definition:
PointToPointWithCov.h:64
PointToPointWithCovErrorMinimizer
Definition:
PointToPointWithCov.h:43
PointToPointWithCovErrorMinimizer::sensorStdDev
const T sensorStdDev
Definition:
PointToPointWithCov.h:71
libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:10