# C++ Robust Model Fitting Library

Often when I need to perform model fitting I find myself looking for a decent C++ library to do this. There is the RANSAC implementation in MRPT, but I was wondering if there are alternatives available.

To give an example for the type of problems I would like to solve: For a set $A$ of (approx 500) 3D point pairs $(a, b)$ I would like to find the Isometry transform $T$, which maps the points onto each other so that $|(a - Tb)| < \epsilon$. I would like to get the largest subset of $A$ for a given $\epsilon$. Alternatively I guess I could have the subset size fixed and ask for the lowest $\epsilon$.