# Beginner question: what is ”same physical space”?

**URL:** <https://discourse.slicer.org/t/beginner-question-what-is-same-physical-space/42864>\
**Category:** Support\
**Created:** [May 10, 2025, 11:40am UTC](https://discourse.slicer.org/t/beginner-question-what-is-same-physical-space/42864 "2025-05-10T11:40:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikko\_Pyysalo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mikko_pyysalo/32/79903_2.png) [@Mikko\_Pyysalo](https://discourse.slicer.org/u/Mikko_Pyysalo)\
**Post date:** [May 10, 2025, 11:40am UTC](https://discourse.slicer.org/t/beginner-question-what-is-same-physical-space/42864/1 "2025-05-10T11:40:22Z")

</div>

Dear community,  
I have two aligned sinus STL models. Converted them to binary labelmaps via segmentation nodes. I made sure they have same spacing and origo. Then I tried to compute the euclidian distance with SimiarityIndexFilter. There comes an error, which tells the objects don’t share same physical space. What else than same origo and spacing is needed?

Best regards,  
Mikko

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 10, 2025, 11:43am UTC](https://discourse.slicer.org/t/beginner-question-what-is-same-physical-space/42864/2 "2025-05-10T11:43:18Z")

</div>

The default image geometry will not be exactly the same for two different surface models. You can use the “Specify geometry” button to change the geometry of the segmentation before exporting to labelmap; or you can choose the first exported labelmap as reference volume when you export the second segmentation to labelmap.

---

<div class="post-metadata">

**Author:** ![Mikko\_Pyysalo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mikko_pyysalo/32/79903_2.png) [@Mikko\_Pyysalo](https://discourse.slicer.org/u/Mikko_Pyysalo)\
**Post date:** [May 10, 2025, 6:11pm UTC](https://discourse.slicer.org/t/beginner-question-what-is-same-physical-space/42864/3 "2025-05-10T18:11:20Z")

</div>

Thank you!  
Now their geometry is similar.  
There comes an error:  
Error before execution of SimilarityIndexImageFilter: ’NoneType’ object has no attribute ’GetAddressAsString’

SquaredDifferenceImageFilter works perfectly but SimilarityIndexImageFilter gives an error.

Br  
Mikko

---

<div class="post-metadata">

**Author:** ![Mikko\_Pyysalo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mikko_pyysalo/32/79903_2.png) [@Mikko\_Pyysalo](https://discourse.slicer.org/u/Mikko_Pyysalo)\
**Post date:** [May 11, 2025, 12:24pm UTC](https://discourse.slicer.org/t/beginner-question-what-is-same-physical-space/42864/4 "2025-05-11T12:24:11Z")

</div>

Now there becomes an error, which tells that input file type is not correct. I have binary labelmap. What is the right input file type for SimilarityIndexImageFilter?

Br  
Mikko
