Restrict Deformation with ANTS

Hello,

I am trying to compute the deformation field only in phase encoding direction, using ANTs with restricted deformation option.

Does anyone have some idea about how to use correctly " --restrict deformation " option in ANTs? I used "–Restrict-Deformation 0x1x0, in order to compute only the deformation on the phase encoded direction(y-axis). But it doesn’t seem like work well, I have still deformation on the x and z-axis. How I could have the deformation field computed only on the phase encoding direction (y-axis, AP)?

Or any other advice to have restricted deformation field would be appreciated!

Thanks,
Gizem