Set up step length for LBFGSBOptimizerv4


I’m LBFGSBOptimizerv4 to perform optimization for BSpline registration. I want to set up step length for the optimizer, but it looks this class doesn’t provide this method:

In LBFGSOptimizer, there is such a method called “SetDefaultStepLength()”: . I wonder if there is a way to set up step length using LBFGSBOptimizerv4?



Judging by a quick look at the source code, there does not appear to be a way to set the step length. Why do you want to change it?

My moving image is very close to my target image. I’m a little worried that the step length is too large for my images, so I want to decrease it.