title: Transform object has no attribute GetInverseTransform
body: <p>This is not a duplicate, please take the few seconds it'll take to read my question, I would be glad. </p>
  
  <p>I'm currently using the RegistrationMethodClass from <a href="http://insightsoftwareconsortium.github.io/SimpleITK-Notebooks/Python_html/60_Registration_Introduction.html" rel="nofollow noreferrer">simpleITK registration</a>. Due to there being a lot of noise in the fixed image (which could then be selected as comparison points in the metric, which selects points from fixed image), I wanted to  try to register the other way around, using the clean mask image as the fixed image, and then applying the inverse of the returned transformation to this very same mask using <a href="https://itk.org/Doxygen/html/classitk_1_1Transform.html#a599ffb471dbdb9de9d8e3d735edd8112" rel="nofollow noreferrer">the GetInverseTransform</a> method from transform class. </p>
  
  <p>Somethind like: </p>
  
  <pre><code>Resample(
      img_mv, img,
      Reg.Execute(img, img_mv).GetInverseTransform(), Linear, 0.0, img.GetPixelIDValue()
  )
  </code></pre>
  
  <p>However, when I run into this line, I get the error: </p>
  
  <p><code>AttributeError: 'Transform' object has no attribute 'GetInverseTransform'</code></p>
  
  <p>Searched a while but there doesn't seem to be anything saying it's deprecated or it's been replaced by something else. There aren't many simpleITK users out there and little doc can be found aside from their official doc, which says I can use GetInverseTransform.. </p>
  
  <p>Does any of you know why this is happening / what would be the good alternative / replacement to get the inverse of the transformation ? 
  I've been thinking it might be related to the "Simple" wrapper or the fact that it is a python bind of the c doc I linked, but couldn't find anything on that either. </p>
  
  <p>Any help is appreciated, have a nice day ! </p>