I'm trying to use Ceres to set up curve fitting on a system with multiple parameters.
Before I work on the actual problem, I'm trying to learn Ceres by setting up a fit on a simple quadratic function with three parameters.
The challenge that I'm facing is that the documentation is either very simple cookbook, here are some example programs, with few comments in them. Or documentation that goes pretty deep in the weeds about the math.
I can't seem to find a lot about things like what the parameters for the cost functor need to be. I have determined that there have to be a certain number of arguments, that they are passed in as pointers to doubles, aka a simple C array.
I can't find explanations for things like what the values in
ceres::AutoDiffCostFunction<QuadraticResidual, 1, 1, 1>
mean.
At this point I'm just guessing things like
problem.AddResidualBlock() is used for adding another element of cost based
on parameters to a sum which Ceres tries to minimize. I haven't seen that explicitly
mentioned anyplace.
If there is any documentation on things like this, other than wading through all of
the source code, I'd greatly appreciate a pointer to it.
And yes, I have looked through:
http://ceres-solver.org/nnls_solving.htmlBut if there is a midlevel overview of Ceres itself, I haven't found it.
Thanks