# In Affine Transform, Get/SetTranslation Same As Get/SetOffset?

**URL:** https://discourse.itk.org/t/in-affine-transform-get-settranslation-same-as-get-setoffset/6744
**Category:** Algorithms
**Tags:** itk
**Created:** [July 3, 2024, 3:52am UTC](https://discourse.itk.org/t/in-affine-transform-get-settranslation-same-as-get-setoffset/6744 "2024-07-03T03:52:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![constantine](https://discourse.itk.org/user_avatar/discourse.itk.org/constantine/32/3915_2.png) [@constantine](https://discourse.itk.org/u/constantine)
#### Post date: [July 3, 2024, 3:52am UTC](https://discourse.itk.org/t/in-affine-transform-get-settranslation-same-as-get-setoffset/6744/1 "2024-07-03T03:52:47Z")

</div>

Greetings, everyone.

Looking at an instance of AffineTransform innards shows this:

```auto
AffineTransform (000002503E609850)
  RTTI typeinfo: class itk::AffineTransform<double,3>
  Reference Count: 1
  Modified Time: 967
  Debug: Off
  Object Name: 
  Observers: 
    none
  Matrix: 
    -0.0654164 0.889897 0.367128 
    0.962292 0.0705192 0.000530611 
    -0.0263427 0.366182 -0.892298 
  Offset: [136.363, -25.8827, -318.826]
  Center: [0, 0, 0]
  Translation: [136.363, -25.8827, -318.826]
  Inverse: 
    -0.0702662 1.03363 -0.0282957 
    0.955872 0.0757473 0.39333 
    0.394346 0.000569949 -0.958451 
  Singular: 0

```

Does the `Offset` field carry the same meaning/effect as the `Translation` field, along with the corresponding methods? Are they synonymous? When I change one, the other is updated.

(It is not immediately obvious from online documentation.)

---

<div class="post-metadata">

### Author: ![zivy](https://discourse.itk.org/user_avatar/discourse.itk.org/zivy/32/1726_2.png) [@zivy](https://discourse.itk.org/u/zivy)
#### Post date: [July 3, 2024, 12:12pm UTC](https://discourse.itk.org/t/in-affine-transform-get-settranslation-same-as-get-setoffset/6744/2 "2024-07-03T12:12:31Z")

</div>

Hello @constantine,

Please take a look at the [SimpleITK Transforms notebook](https://github.com/InsightSoftwareConsortium/SimpleITK-Notebooks/blob/master/Python/22_Transforms.ipynb), explains the transformation nomenclature, offset vs. translation etc.
