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 }
PointToPointSimilarityErrorMinimizer
Definition: PointToPointSimilarity.h:42
PointToPointSimilarityErrorMinimizer::getResidualError
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.
Definition: PointToPointSimilarity.cpp:101
python::errorminimizers::pybindPointToPointSimilarity
void pybindPointToPointSimilarity(py::module &p_module)
Definition: point_to_point_similarity.cpp:9
ErrorMinimizersImpl.h
point_to_point_similarity.h
python
Definition: add_descriptor.cpp:5
PointToPointSimilarityErrorMinimizer::getOverlap
virtual T getOverlap() const
If not redefined by child class, return the ratio of how many points were used (with weight) for erro...
Definition: PointToPointSimilarity.cpp:116
ErrorMinimizersImpl::PointToPointSimilarityErrorMinimizer
::PointToPointSimilarityErrorMinimizer< T > PointToPointSimilarityErrorMinimizer
Definition: ErrorMinimizersImpl.h:54
PointMatcher::ErrorMinimizer
An error minimizer will compute a transformation matrix such as to minimize the error between the rea...
Definition: PointMatcher.h:530
PointToPointSimilarityErrorMinimizer::compute
virtual TransformationParameters compute(const ErrorElements &mPts)
Find the transformation that minimizes the error given matched pair of points. This function most be ...
Definition: PointToPointSimilarity.cpp:43
PointToPointSimilarityErrorMinimizer::description
static const std::string description()
Definition: PointToPointSimilarity.h:53


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