errorminimizers/identity.cpp
Go to the documentation of this file.
1 #include "identity.h"
2 
4 
5 namespace python
6 {
7  namespace errorminimizers
8  {
9  void pybindIdentity(py::module& p_module)
10  {
12  py::class_<IdentityErrorMinimizer, std::shared_ptr<IdentityErrorMinimizer>, ErrorMinimizer>(p_module, "IdentityErrorMinimizer")
13  .def(py::init<>()).def_static("description", &IdentityErrorMinimizer::description)
14  .def("compute", &IdentityErrorMinimizer::compute, py::arg("mPts"));
15  }
16  }
17 }
void pybindIdentity(py::module &p_module)
static const std::string description()
virtual TransformationParameters compute(const ErrorElements &mPts)
Find the transformation that minimizes the error given matched pair of points. This function most be ...
An error minimizer will compute a transformation matrix such as to minimize the error between the rea...
Definition: PointMatcher.h:530
::IdentityErrorMinimizer< T > IdentityErrorMinimizer


libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:38:02