7 namespace errorminimizers
12 py::class_<PointToPointErrorMinimizer, std::shared_ptr<PointToPointErrorMinimizer>,
ErrorMinimizer>(p_module,
"PointToPointErrorMinimizer")
14 .def(py::init<const std::string&, const ParametersDoc, const Parameters&>(), py::arg(
"className"), py::arg(
"paramsDoc"), py::arg(
"params"))
void pybindPointToPoint(py::module &p_module)
TransformationParameters compute_in_place(ErrorElements &mPts)
An error minimizer will compute a transformation matrix such as to minimize the error between the rea...
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 TransformationParameters compute(const ErrorElements &mPts)
Find the transformation that minimizes the error given matched pair of points. This function most be ...
static T computeResidualError(const ErrorElements &mPts)
::PointToPointErrorMinimizer< T > PointToPointErrorMinimizer
virtual T getOverlap() const
If not redefined by child class, return the ratio of how many points were used (with weight) for erro...