# Displacement field invertion and mean operation

**URL:** https://discourse.slicer.org/t/displacement-field-invertion-and-mean-operation/31698
**Category:** Support
**Tags:** registration, python, 4d
**Created:** [September 14, 2023, 9:05am UTC](https://discourse.slicer.org/t/displacement-field-invertion-and-mean-operation/31698 "2023-09-14T09:05:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Zimogre](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zimogre/32/10062_2.png) [@Zimogre](https://discourse.slicer.org/u/Zimogre)
#### Post date: [September 14, 2023, 9:05am UTC](https://discourse.slicer.org/t/displacement-field-invertion-and-mean-operation/31698/1 "2023-09-14T09:05:05Z")

</div>

Hi all,

I have some questions about the inverse of transformations and the application of mathematical operations on them.  
I am recently working with a time series of volumes that, first, I have transformed into a sequence (Sequence module) and then registered using the SequenceRegistration module obtaining the corresponding Displacement Fields and OutputTransforms. Having these transforms that map the fixed volume to the moving ones, is there a way to calculate their time average internally in Slicer?

Also, what might be the most efficient way to calculate the inverse of each of these transforms?  
Thanks a lot!
