I would like to create a deformation field from 2 linear transforms, which are defined on different regions of my image.
So, I have two different linear transforms (one for the right hemisphere, and one for the left hemisphere of the brain). I also have 2 masks, corresponding to the two hemispheres. And I would like to create a deformation field where I get the left linear transform applied over the left hemisphere mask, and the right linear transform applied over the right mask.
I get that this should lead to some discontinuities at the jonction, but I don’t think that this should be a problem for my further calculation.
I am just starting with ITK, so any help will probably be a lot to me,
Thanks in advance !!