I am struggling with that error:
itk::ERROR Image(0x55f0ab8f5690): A spacing of 0 is not allowed: Spacing is [0, 0, 0]
The situation is the following:
I am performing a multistage image registration.
First stage is a
rigid transform (
3DVersorRigidTransform) using the
After that I resample the moving image to obtained a rigidly registered image.
That image is used as the input for the
This stage starts ok, but crashes right away with that
I already tested the process with two different optimizers for the deformable stage:
LBFGSOptimizer . No success though.
Any clues are welcome.