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 }
IdentityErrorMinimizer
Definition: ErrorMinimizers/Identity.h:42
ErrorMinimizersImpl.h
python::errorminimizers::pybindIdentity
void pybindIdentity(py::module &p_module)
Definition: errorminimizers/identity.cpp:9
IdentityErrorMinimizer::compute
virtual TransformationParameters compute(const ErrorElements &mPts)
Find the transformation that minimizes the error given matched pair of points. This function most be ...
Definition: ErrorMinimizers/Identity.cpp:39
python
Definition: add_descriptor.cpp:5
ErrorMinimizersImpl::IdentityErrorMinimizer
::IdentityErrorMinimizer< T > IdentityErrorMinimizer
Definition: ErrorMinimizersImpl.h:55
IdentityErrorMinimizer::description
static const std::string description()
Definition: ErrorMinimizers/Identity.h:47
PointMatcher::ErrorMinimizer
An error minimizer will compute a transformation matrix such as to minimize the error between the rea...
Definition: PointMatcher.h:530
identity.h


libpointmatcher
Author(s):
autogenerated on Mon Jan 1 2024 03:24:43