Set up step length for LBFGSBOptimizerv4

Hello!

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: https://itk.org/Doxygen/html/classitk_1_1LBFGSBOptimizerv4.html#a71e1357c63f5547b8e175e738a080930

In LBFGSOptimizer, there is such a method called “SetDefaultStepLength()”: https://itk.org/Doxygen/html/classitk_1_1LBFGSOptimizer.html#ae2c7ee103163ea6b36161632d9d9b539 . I wonder if there is a way to set up step length using LBFGSBOptimizerv4?

Thanks!

-Ray

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.