# How to load TIFF image stacks that don't have scalar overlay already associated?

**URL:** <https://discourse.slicer.org/t/how-to-load-tiff-image-stacks-that-dont-have-scalar-overlay-already-associated/9679>\
**Category:** Support\
**Created:** [January 1, 2020, 7:43pm UTC](https://discourse.slicer.org/t/how-to-load-tiff-image-stacks-that-dont-have-scalar-overlay-already-associated/9679 "2020-01-01T19:43:15Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![carterrt](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@carterrt](https://discourse.slicer.org/u/carterrt)\
**Post date:** [January 1, 2020, 7:43pm UTC](https://discourse.slicer.org/t/how-to-load-tiff-image-stacks-that-dont-have-scalar-overlay-already-associated/9679/1 "2020-01-01T19:43:16Z")

</div>

I have a few TIFF image stacks that when I load into Slicer seem to only have a volume data set and no scalar overlay data associated with them and therefore load in an illogical way. When I load different TIFF image stacks that seem to “come with” a scalar overlay meaning that it appears in data loading box, they load fine. All these data sets (with and without scalar overlay data) load fine in Dragonfly, leading me to suspect there is a way to load image stacks that don’t have scalar overlay data in Dragonfly but I don’t know how. I would prefer to use Slicer for all these data sets if possible.

---

<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:** [January 1, 2020, 10:50pm UTC](https://discourse.slicer.org/t/how-to-load-tiff-image-stacks-that-dont-have-scalar-overlay-already-associated/9679/2 "2020-01-01T22:50:32Z")

</div>

I am not sure what you mean by ‘load in an illogical way’. You do not need a scalar overlay for an image stack to be imported as scalar volume.

Just drag and drop one of the tiff files, uncheck the option ‘single file’ and then you should be able to read your image stack as a scalar volume (not overlay). If this is a RBG stack, then you may have to use the vector2scalar module to convert them as a scalar.

If you can tell us more about these stacks, better yet share one we can probably help more. I do not know anything about Dragonfly.

---

<div class="post-metadata">

**Author:** ![carterrt](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@carterrt](https://discourse.slicer.org/u/carterrt)\
**Post date:** [January 2, 2020, 3:54pm UTC](https://discourse.slicer.org/t/how-to-load-tiff-image-stacks-that-dont-have-scalar-overlay-already-associated/9679/3 "2020-01-02T15:54:29Z")

</div>

Thanks of getting back to me. Dragging and dropping didn’t work and I tried the vector to scalar module but I must be doing something wrong because I cant get the Input Vector Volume drop down to work. Whats the best way to share a data set with you?

---

<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:** [January 2, 2020, 4:19pm UTC](https://discourse.slicer.org/t/how-to-load-tiff-image-stacks-that-dont-have-scalar-overlay-already-associated/9679/4 "2020-01-02T16:19:34Z")

</div>

> [@carterrt](#):
>
> Whats the best way to share a data set with you?

Yes, it will hep to look at an example. You can use dropbox, google drive, or microsoft onedrive, whatever is easiest for you to share.

---

<div class="post-metadata">

**Author:** ![carterrt](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@carterrt](https://discourse.slicer.org/u/carterrt)\
**Post date:** [January 2, 2020, 8:09pm UTC](https://discourse.slicer.org/t/how-to-load-tiff-image-stacks-that-dont-have-scalar-overlay-already-associated/9679/5 "2020-01-02T20:09:31Z")

</div>

here is a link to a folder with one of the TIFF image stacks that I having trouble loading.

[https://etsu365-my.sharepoint.com/:f:/g/personal/carterrt\_etsu\_edu/EgIeFFyiG5NBt8RTzhuv7q4B305lbCX6bRLhpGcuQog6Gg?e=jwefGw](https://etsu365-my.sharepoint.com/:f:/g/personal/carterrt_etsu_edu/EgIeFFyiG5NBt8RTzhuv7q4B305lbCX6bRLhpGcuQog6Gg?e=jwefGw)

---

<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:** [January 2, 2020, 8:38pm UTC](https://discourse.slicer.org/t/how-to-load-tiff-image-stacks-that-dont-have-scalar-overlay-already-associated/9679/6 "2020-01-02T20:38:12Z")

</div>

Thanks, downloading right now. Next time packaging them into single zip file would be preferable.

---

<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:** [January 2, 2020, 8:51pm UTC](https://discourse.slicer.org/t/how-to-load-tiff-image-stacks-that-dont-have-scalar-overlay-already-associated/9679/7 "2020-01-02T20:51:55Z")

</div>

Once I downloaded it seems to load up just fine. I selected one file, turned on the load options and unchecked “Single file”. Then in the Volumes module I set the slice spacing to 0.015 to match the in plane spacing. The image quality looks great.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/e/aea615eb9d85fab2f2e3b6b02e432703f85aa15d.jpeg)

---

<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:** [January 2, 2020, 8:54pm UTC](https://discourse.slicer.org/t/how-to-load-tiff-image-stacks-that-dont-have-scalar-overlay-already-associated/9679/8 "2020-01-02T20:54:12Z")

</div>

Yep, works just fine. Here is a visual of load data dialog box. I just replaced the filename (which was too long, with hagfish), and unchecked the Single File option.

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

---

<div class="post-metadata">

**Author:** ![carterrt](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@carterrt](https://discourse.slicer.org/u/carterrt)\
**Post date:** [January 3, 2020, 4:11pm UTC](https://discourse.slicer.org/t/how-to-load-tiff-image-stacks-that-dont-have-scalar-overlay-already-associated/9679/9 "2020-01-03T16:11:53Z")

</div>

Still struggling. Here’s what I did. selected Load Data \> Choose File(s) to Add and selected one TIFF from the stack as shown below.

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

Then unchecked single file and changed volume name to hagfish as shown below.

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

Loads like this…

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/f/0ff04601bb0b6b46353653af4157dafa8fb1f1fc.jpeg)

---

<div class="post-metadata">

**Author:** ![carterrt](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@carterrt](https://discourse.slicer.org/u/carterrt)\
**Post date:** [January 3, 2020, 4:14pm UTC](https://discourse.slicer.org/t/how-to-load-tiff-image-stacks-that-dont-have-scalar-overlay-already-associated/9679/10 "2020-01-03T16:14:22Z")

</div>

Sorry that second screen capture should have looked like this…

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

---

<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:** [January 3, 2020, 5:16pm UTC](https://discourse.slicer.org/t/how-to-load-tiff-image-stacks-that-dont-have-scalar-overlay-already-associated/9679/11 "2020-01-03T17:16:23Z")

</div>

Go to volumes module and check your data

1. Does volume dimensions make sense?
2. Is the slice spacing across three axes correct?

If the image stack loaded correctly, I suspect you are suffering from #2.

---

<div class="post-metadata">

**Author:** ![carterrt](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@carterrt](https://discourse.slicer.org/u/carterrt)\
**Post date:** [January 3, 2020, 5:40pm UTC](https://discourse.slicer.org/t/how-to-load-tiff-image-stacks-that-dont-have-scalar-overlay-already-associated/9679/12 "2020-01-03T17:40:18Z")

</div>

OK, finally got it. Thanks for your patience!

---

<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:** [January 3, 2020, 5:43pm UTC](https://discourse.slicer.org/t/how-to-load-tiff-image-stacks-that-dont-have-scalar-overlay-already-associated/9679/13 "2020-01-03T17:43:08Z")

</div>

Tiff is not a suitable format to retain image geometry. Make sure to save your volume as nrrd file so that you don’t encounter the same issue when you reload your data.
