# Transform Clarifications

**URL:** <https://discourse.slicer.org/t/transform-clarifications/44151>\
**Category:** SlicerAutoscoperM\
**Created:** [August 20, 2025, 10:06pm UTC](https://discourse.slicer.org/t/transform-clarifications/44151 "2025-08-20T22:06:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbugajski](https://avatars.discourse-cdn.com/v4/letter/t/e95f7d/32.png) [@tbugajski](https://discourse.slicer.org/u/tbugajski)\
**Post date:** [August 20, 2025, 10:06pm UTC](https://discourse.slicer.org/t/transform-clarifications/44151/1 "2025-08-20T22:06:03Z")

</div>

Hi SAM team,

I have a quick question regarding the transformation outputs when creating a partial volume. Based on the photo below, I would assume that combining {bone}.tfm and {bone}\_PVOL2AUT.tfm would give the result of {bone}\_DICOM2AUT.tfm.

As I understand it, the {bone}.tfm **non-rigid** transform contains a scaling parameter to properly scale the dimensionless bone TIFF into the world space. The {bone}\_PVOL2AUT.tfm **rigid** transform then places that model into AUT space.

However, when viewing the {bone}\_DICOM2AUT.tfm transform, it does not have any scaling parameters associated with it. Therefore, if I were to apply this transform to the dimensionless bone TIFF, wouldn’t it be improperly scaled? Am I missing something here?

Thanks for your time in advance!

P.S. - I am wondering if there will eventually be more details regarding the outputs of the transform file. I am trying to understand the difference between Parameters and FixedParameters.

Cheers,

Tomasz

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/5/e557ee3bb4cf472f99c1e77173945de09e9bef05.png)

---

<div class="post-metadata">

**Author:** ![John\_Holtgrewe](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@John\_Holtgrewe](https://discourse.slicer.org/u/John_Holtgrewe)\
**Post date:** [August 21, 2025, 4:45pm UTC](https://discourse.slicer.org/t/transform-clarifications/44151/2 "2025-08-21T16:45:58Z")

</div>

Hi Tomasz,

You are correct. The {bone}\_DICOM2AUT.tfm transform (and {bone}\_PVOL2AUT.tfm) does not have any scaling parameters.

The {bone}.tfm transform does scale the bone TIFF; however, the transform places the volume in the DICOM space rather than the world space. The {bone}\_scale.tfm does scale the bone TIFF and place it in the world space.

There are multiple ways to transform the un-scaled bone TIFF to the AUT space using the transforms. One way is to apply {bone}.tfm to scale and transform the volume to the DICOM space and then apply the {bone}\_DICOM2AUT.tfm transform. Another way is to apply the {bone}\_scale.tfm transform and then apply the {bone}\_PVOL2AUT.tfm transform.

Here are figures that show the results of applying these transforms:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/d/2d0b15d7dd8aa8b7b3f155481e3ba8dd5cf8153f.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/6/967e60b67c9361ae99b7f1677307f8c8be2da0bf.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/1/216a118e56869a8ab3e6cc400a4fdd09ca8f070a.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/8/e8af7dbb0c197b2e1bd7d1110d6906f6c3dd8ff1.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/a/7ad50bdd34e013807c40983e9ae778c18500f386.png)

I agree, looking at the flow chart from the readthedocs does make it seem like the way you were applying the transforms should have resulted in the same outcome. This is something we can revisit on our end and work on to better explain the workflow of applying the transforms. I hope this answered your question about the transforms. Let me know if you have any additional questions or feedback!

---

<div class="post-metadata">

**Author:** ![tbugajski](https://avatars.discourse-cdn.com/v4/letter/t/e95f7d/32.png) [@tbugajski](https://discourse.slicer.org/u/tbugajski)\
**Post date:** [August 21, 2025, 5:49pm UTC](https://discourse.slicer.org/t/transform-clarifications/44151/3 "2025-08-21T17:49:47Z")

</div>

Hi John,

Thanks for the clarification. This makes sense now, especially when considering the definitions supplied within the same document (I forgot those were in there!):

- **Transforms:**

Based on this information, would this pipeline I modified from the original image make sense?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/c/7c92442ae3a21f31fa5a6a8201f77ec08ee0dad9.png)

Lastly, I do want to mention that the documentation and figures are all greatly appreciated. It is valuable to us end-users to understand the processes that occur behind the scenes of SAM.

Tomasz

---

<div class="post-metadata">

**Author:** ![Amy\_Morton](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/amy_morton/32/67318_2.png) [@Amy\_Morton](https://discourse.slicer.org/u/Amy_Morton)\
**Post date:** [August 29, 2025, 3:17pm UTC](https://discourse.slicer.org/t/transform-clarifications/44151/4 "2025-08-29T15:17:27Z")

</div>

Hey @tbugajski

One of the tricky considerations for using Autoscoper is that the tiff volume will be internally represented in a specific (if colloquial) way. PVOL2AUT accommodates for this.

As @John_Holtgrewe pointed out (thanks John!) the PVOL is essentially the tiff stack subvolume with appropriate scaling- but still located at the origin, and the flow diagram contradicts our other graphics somewhat (we’ll work on updating!)

All intermediary transforms are provided and detailed fyi but we also attempted to streamline post-processing by calculating exporting STL models in AUT space, such that autoscoper bvr .tra outputs can be directly applied ot the AUT{bone}.stl for global motion.

If you generated a local anatomical cs- you can likewise apply DICOM2AUT for that bone to visually and mathematically appropriate the cs (and respectively apply you tra)

---

<div class="post-metadata">

**Author:** ![tbugajski](https://avatars.discourse-cdn.com/v4/letter/t/e95f7d/32.png) [@tbugajski](https://discourse.slicer.org/u/tbugajski)\
**Post date:** [August 29, 2025, 3:28pm UTC](https://discourse.slicer.org/t/transform-clarifications/44151/5 "2025-08-29T15:28:17Z")

</div>

Hey Amy,

Thanks for the clarifications. I did notice the ‘Models’ folder that contains the models in AUT space. These have been extremely helpful for visualization purposes. I will be on the lookout for those updated diagrams.

Cheers,

Tomasz
