SuperElastix / SimpleElastix

Multi-lingual medical image registration library
http://simpleelastix.github.io
Apache License 2.0
509 stars 149 forks source link

how to invert a given deformation field with transformix? #440

Open XXZhou25 opened 2 years ago

XXZhou25 commented 2 years ago

Hi, I wonder how to invert a given deformation field with transformix? For example, a given dvf is as below: dvf = np.zeros([80, 120, 160, 3]) dvf[5:15, 15:30, 25:45, 0] = 10 dvf[5:15, 15:30, 25:45, 1] = 20 dvf[5:15, 15:30, 25:45, 2] = 30

How to invert it? Thanks.