General Registration (BRAINS) error

Hi andras,
I am trying to use bspline using general registration. I am getting following error. could you please help.

General Registration (BRAINS) standard error:

WARNING: In /work/Preview/Slicer-0-build/ITK/Modules/Numerics/Optimizersv4/src/itkLBFGSBOptimizerv4.cxx, line 113

LBFGSBOptimizerv4 (0x1545e90): LBFGSB optimizer does not support scaling. All scales are set to one.

This is just a warning, you don’t need to worry about it. Is there any other problem? What are you trying to do? What do you expect to happen? What happens instead?

Hi Andras,
I am using general registration (brains).
When I use the grid size = 14, 10,12
All settings are below in screen shot.


which is default grid size, the application give me results without error. When I use the output of bspline from this grid size and apply it on preop MRI, It is not transformed as expected. The results of transform of bspline on preop should result in close results to intraop mri, but i am not getting it.

Second, if I am increasing or decreasing the grid size it results into error.


General Registration (BRAINS) standard error:

WARNING: In /work/Preview/Slicer-0-build/ITK/Modules/Numerics/Optimizersv4/src/itkLBFGSBOptimizerv4.cxx, line 113

LBFGSBOptimizerv4 (0x1545e90): LBFGSB optimizer does not support scaling. All scales are set to one.

And if I use this bspline it does not show me any transform at all.

Looking forward to your reply

Regards,
Saima Safdar

Without any images and more informative error messages, it’s hard to tell what should be changed. Typically, “General registration (BRAINS)” module is a bit hard to use because you need to manually tune its parameters. You can find description of all parameters here and there are many examples in the Registration Case Library.

I find “General registration (Elastix)” module (provided by SlicerElastix extension) much easier to use, as the default rigid and bspline deformable presets usually work well (no manual parameter tuning is needed).

Thank you Andras.
I could not find the general registration (Elastix) in the registratio section. I am using nightly version 4.11.0 2019/09/17

Use latest stable or preview release and install SlicerElastix extension.