Set up initialization in LBFGSOptimizerv4

In LBFGSBOptimizerv4, there is a method called “SetInitialPosition (const ParametersType &param)”. I wonder whether or not in LBFGSOptimizerv4 there is a similar function to set up parameter initialization.

I couldn’t find it here:


In this example, the initial transform is applied to registration method registration->SetInitialTransform( transform );. Looking at the source code, LBFGS takes the initial value of parameters from the metric. You should be able to set that using SetParameters method.