point_to_point_similarity.cpp
Go to the documentation of this file.
2 
4 
5 namespace python
6 {
7  namespace errorminimizers
8  {
9  void pybindPointToPointSimilarity(py::module& p_module)
10  {
12  py::class_<PointToPointSimilarityErrorMinimizer, std::shared_ptr<PointToPointSimilarityErrorMinimizer>, ErrorMinimizer>(p_module, "PointToPointSimilarityErrorMinimizer")
13  .def(py::init<>()).def_static("description", &PointToPointSimilarityErrorMinimizer::description)
14  .def("compute", &PointToPointSimilarityErrorMinimizer::compute, py::arg("mPts"))
15  .def("getResidualError", &PointToPointSimilarityErrorMinimizer::getResidualError, py::arg("filteredReading"), py::arg("filteredReference"), py::arg("outlierWeights"), py::arg("matches"))
17  }
18  }
19 }
virtual T getResidualError(const DataPoints &filteredReading, const DataPoints &filteredReference, const OutlierWeights &outlierWeights, const Matches &matches) const
If not redefined by child class, return max value for T.
virtual T getOverlap() const
If not redefined by child class, return the ratio of how many points were used (with weight) for erro...
An error minimizer will compute a transformation matrix such as to minimize the error between the rea...
Definition: PointMatcher.h:530
virtual TransformationParameters compute(const ErrorElements &mPts)
Find the transformation that minimizes the error given matched pair of points. This function most be ...
::PointToPointSimilarityErrorMinimizer< T > PointToPointSimilarityErrorMinimizer
void pybindPointToPointSimilarity(py::module &p_module)


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