# Error loading tiff images as a 3D model

**URL:** <https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561>\
**Category:** Support\
**Created:** [March 25, 2026, 3:00pm UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561 "2026-03-25T15:00:19Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Varsha](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@Varsha](https://discourse.slicer.org/u/Varsha)\
**Post date:** [March 25, 2026, 3:00pm UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/1 "2026-03-25T15:00:20Z")

</div>

I am trying to load 15 tiff images which are basically images taken at different z slices and create a 3D model out of it. When I try doing this using the Image Stack option under Slicer Morph, the load button remains de-activated. Could anyone advise on what I might be doing wrong? Alternatively, when I try to load it using the ‘Add Data’ option, even though I de-select ‘Single output/ file’ and select ‘Volume’ option, I keep getting error messages of the kind shown below.

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

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/f/bf99477a5236dfba4a5305288c77c2e899b82085.png)

Any idea why this might be happening?

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 25, 2026, 3:38pm UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/2 "2026-03-25T15:38:48Z")

</div>

1. Upgrade to the latest stable (5.10), you are using and unmaintained version of Slicer.
2. Copy the files somewhere that’s not on Onedrive. Cloud synced folders can sometimes cause weird issues.

If these don’t help, you need to share the dataset.

---

<div class="post-metadata">

**Author:** ![Varsha](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@Varsha](https://discourse.slicer.org/u/Varsha)\
**Post date:** [March 30, 2026, 8:31am UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/3 "2026-03-30T08:31:56Z")

</div>

Hi @muratmaga thanks for the quick response.

I have upgraded to the 5.10 version, and also tried loading the images from a non One-Drive location. However, I still get the same error message, and still can’t get the Load option to work. I would be grateful if you could advice as to what might be going wrong here. What might be the best way to share these images here for troubleshooting?

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 30, 2026, 3:55pm UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/4 "2026-03-30T15:55:38Z")

</div>

you can upload somewhere like google drive, onedrive, etc. and share the link.

---

<div class="post-metadata">

**Author:** ![Varsha](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@Varsha](https://discourse.slicer.org/u/Varsha)\
**Post date:** [March 30, 2026, 4:56pm UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/5 "2026-03-30T16:56:23Z")

</div>

[Bone 1](https://unimailderbyac-my.sharepoint.com/:f:/g/personal/303958_derby_ac_uk/IgBg3XLCIatQQZ0-TGaBdDMkATKKgni1dM67KIzjBRQx6Q0?e=rBLajb)

Hopefully, this is accessible.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 30, 2026, 6:21pm UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/6 "2026-03-30T18:21:57Z")

</div>

I am not seeing a link

---

<div class="post-metadata">

**Author:** ![Varsha](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@Varsha](https://discourse.slicer.org/u/Varsha)\
**Post date:** [March 30, 2026, 8:17pm UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/7 "2026-03-30T20:17:37Z")

</div>

Hi @muratmaga the folder Bone 1 contains the images. I have also included a separate link here if that helps: [Bone 1](https://unimailderbyac-my.sharepoint.com/:f:/g/personal/303958_derby_ac_uk/IgBg3XLCIatQQZ0-TGaBdDMkATKKgni1dM67KIzjBRQx6Q0?e=UbAsNo)

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 30, 2026, 9:22pm UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/8 "2026-03-30T21:22:29Z")

</div>

You have a space in your filenames. That’s not acceptable. Get rid off the space and it should work fine.

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

```auto
Traceback (most recent call last):
  File "/Applications/Slicer.app/Contents/Extensions-34045/SlicerMorph/lib/Slicer-5.10/qt-scripted-modules/ImageStacks.py", line 412, in populateFromArchetype
    self.setFilePaths(filePaths)
  File "/Applications/Slicer.app/Contents/Extensions-34045/SlicerMorph/lib/Slicer-5.10/qt-scripted-modules/ImageStacks.py", line 358, in setFilePaths
    self.logic.filePaths = filePaths
    ^^^^^^^^^^^^^^^^^^^^
  File "/Applications/Slicer.app/Contents/Extensions-34045/SlicerMorph/lib/Slicer-5.10/qt-scripted-modules/ImageStacks.py", line 694, in filePaths
    image = reader.Execute()
            ^^^^^^^^^^^^^^^^
  File "/Applications/Slicer.app/Contents/lib/Python/lib/python3.12/site-packages/SimpleITK/SimpleITK.py", line 6215, in Execute
    return _SimpleITK.ImageFileReader_Execute(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Exception thrown in SimpleITK ImageFileReader_Execute: /Users/svc-dashboard/D/S/A/ITK/Modules/IO/TIFF/src/itkTIFFImageIO.cxx:1414:
ITK ERROR: TIFFImageIO(0x7fe427b77b50): Problem reading the row: 120

```

---

<div class="post-metadata">

**Author:** ![Varsha](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@Varsha](https://discourse.slicer.org/u/Varsha)\
**Post date:** [March 31, 2026, 9:51am UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/9 "2026-03-31T09:51:36Z")

</div>

Hi @muratmaga I have got rid of the spaces in the image name itself. However, I keep getting the same error. I might of course have just done the wrong thing. Does this look right? I just can’t get the Load button to activate.

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

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [March 31, 2026, 12:50pm UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/10 "2026-03-31T12:50:02Z")

</div>

I believe he meant in the directory path too, so “Bone1” not “Bone 1”.

---

<div class="post-metadata">

**Author:** ![issakomi](https://avatars.discourse-cdn.com/v4/letter/i/b9e5f3/32.png) [@issakomi](https://discourse.slicer.org/u/issakomi)\
**Post date:** [March 31, 2026, 3:40pm UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/11 "2026-03-31T15:40:44Z")

</div>

> ```auto
> ITK ERROR: TIFFImageIO(0x7fe427b77b50): Problem reading the row: 120
> 
> ```

ITK’s TIFFImageIO can’t read these images. I’m not sure why, they’re multi-page, BTW.

This (extract 1st page) might help (I haven’t tested it in Slicer, but ITK’s TIFFImageIO can open output\_Bone\* images).

 ![Screenshot at 2026-03-31 17-30-48](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/4/54e64238bfeb09f442368b831863d6de1150128b.png)

Edit:

`convert` belongs to ImageMagick

Edit:

the second page seems to be the same image, but 160 × 120 pixels, perhaps it is not important.

---

<div class="post-metadata">

**Author:** ![Varsha](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@Varsha](https://discourse.slicer.org/u/Varsha)\
**Post date:** [March 31, 2026, 4:53pm UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/12 "2026-03-31T16:53:52Z")

</div>

@issakomi thanks for looking into this. Apologies- but could you explain in a little more detail how I might rectify this? @pieper I tried it by changing the directory name as well- the issue persists.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 31, 2026, 5:08pm UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/13 "2026-03-31T17:08:23Z")

</div>

@Varsha I opened the image using Fiji. To me images look like series of a focus stack from a microscope. This is not a modality you can do much with 3D Slicer. We expect true, continuous 3D data. It is also clear as @issakomi pointed out that the TIFF format they are in is not compatible with the TIFF readers Slicer support.

What are you hoping to do with this in Slicer? Even if you get it, you cannot construct a 3D volume from these.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/b/1b4a2093195293e1fa686f7a01078e02dd4d2e1b.jpeg)

---

<div class="post-metadata">

**Author:** ![issakomi](https://avatars.discourse-cdn.com/v4/letter/i/b9e5f3/32.png) [@issakomi](https://discourse.slicer.org/u/issakomi)\
**Post date:** [March 31, 2026, 5:16pm UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/14 "2026-03-31T17:16:13Z")

</div>

> [@Varsha](#):
>
> thanks for looking into this. Apologies- but could you explain in a little more detail how I might rectify this?

I have simply extracted 1st page from multi-page tiff, in particular case there are 2 pages per image. I don’t know is it focus stack or whatever else. 1st is 2880 × 2160 pixels image, the 2nd page _seems_ to be the same image, but 160 × 120 pixels. ITK’s TIFFImageIO can read extracted image. I have done with ImageMagick on Linux, s. screenshot.

---

<div class="post-metadata">

**Author:** ![Varsha](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@Varsha](https://discourse.slicer.org/u/Varsha)\
**Post date:** [April 9, 2026, 9:28am UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/15 "2026-04-09T09:28:59Z")

</div>

Hi @muratmaga I was ideally hoping to stack these images to create a 3D model, and then attempt Geometric Morphometric analysis. Would it be possible to reconstruct this into a 3D model using alternate softwares and then input these into 3D Slicer for GM analysis?

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [April 9, 2026, 4:05pm UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/16 "2026-04-09T16:05:53Z")

</div>

This is not something I am particularly knowledgeable, but when I searched for it, I saw specific microscopy based photogrammetry tools in which you should be able to do what you want (e.g,. see this video [https://www.youtube.com/watch?v=wznsRLOpSiw](https://www.youtube.com/watch?v=wznsRLOpSiw))

The real issue you have only one view, everything I saw (and typically requirement of photogrammetry) is you have multiple angles so that the software can triangulate the 3D model. If you repeat that with many angles (possibly using a motor controlled microscopy stage), and the generate focused images for every angle (i.e., acquire a your focus stack for each angle and generate the focused image), then you might even be able to do it with SlicerMorph’s Photogrammetry extension ( [GitHub - SlicerMorph/SlicerPhotogrammetry · GitHub](https://github.com/SlicerMorph/SlicerPhotogrammetry) ).

If search for “3D models from focus stacks” on internet, there are a lot of resources.

But, yes, if you generate 3D models elsewhere you can do the GM in SlicerMorph.

---

<div class="post-metadata">

**Author:** ![Varsha](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@Varsha](https://discourse.slicer.org/u/Varsha)\
**Post date:** [April 13, 2026, 11:27am UTC](https://discourse.slicer.org/t/error-loading-tiff-images-as-a-3d-model/46561/17 "2026-04-13T11:27:58Z")

</div>

Hi @muratmaga Thank you! This is really helpful.
