# Problems with Load Data from a directory

**URL:** <https://discourse.slicer.org/t/problems-with-load-data-from-a-directory/13567>\
**Category:** Support\
**Created:** [September 19, 2020, 2:46pm UTC](https://discourse.slicer.org/t/problems-with-load-data-from-a-directory/13567 "2020-09-19T14:46:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![lars12345](https://avatars.discourse-cdn.com/v4/letter/l/f14d63/32.png) [@lars12345](https://discourse.slicer.org/u/lars12345)\
**Post date:** [September 19, 2020, 2:46pm UTC](https://discourse.slicer.org/t/problems-with-load-data-from-a-directory/13567/1 "2020-09-19T14:46:28Z")

</div>

Operating system: Windows 10 Pro  
Slicer version: 4.10.2  
Expected behavior:The red slider scrolls through the images  
Actual behavior: Adjusting the red slider does nothing

First of all thank you for your help, I am probably missing something basic. Here are the steps I am following:

1. Open up 3D slicer.
2. Click on the Load Data button.
3. Click on the Choose Directory to Add button.
4. Browse out to my directory and click on the Choose button.
5. Click Ok on the Add data into the scene dialog. I then temporarily see a Loading progress bar.
6. I then see an overlay with the name of the 10th image file, along with with part of the 10th image in the red slider panel.
7. If I drag the red slider, the image draws centered once and then nothing changes no matter how much I drag the slider.

Additional note: The png files are 14 bits deep and of size 1104 x 1104. They open normally in Windows Paint. The associated calibration factor (sCAL) is 0.37u/p. The images were captured by a Cellomics CX7.

Thanks,

Lars

---

<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:** [September 19, 2020, 2:51pm UTC](https://discourse.slicer.org/t/problems-with-load-data-from-a-directory/13567/2 "2020-09-19T14:51:52Z")

</div>

If you uncheck “Single file” option and file names are similar then Slicer will load the entire image stack. See detailed instructions here: [https://slicer.readthedocs.io/en/latest/user\_guide/modules/volumes.html#load-a-series-of-png-jpeg-or-tiff-images-as-volume](https://slicer.readthedocs.io/en/latest/user_guide/modules/volumes.html#load-a-series-of-png-jpeg-or-tiff-images-as-volume)

---

<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:** [September 19, 2020, 2:55pm UTC](https://discourse.slicer.org/t/problems-with-load-data-from-a-directory/13567/3 "2020-09-19T14:55:57Z")

</div>

You might also want to try the ImageStacks module from SlicerMorph:

> <https://github.com/SlicerMorph/S_2020/blob/master/Day_1/ImageStacks/ImageStacks.md>

---

<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:** [September 19, 2020, 2:57pm UTC](https://discourse.slicer.org/t/problems-with-load-data-from-a-directory/13567/4 "2020-09-19T14:57:47Z")

</div>

@pieper could you add a note about imagestacks module to the readthedocs page?

---

<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:** [September 19, 2020, 3:07pm UTC](https://discourse.slicer.org/t/problems-with-load-data-from-a-directory/13567/5 "2020-09-19T15:07:26Z")

</div>

> <https://github.com/Slicer/Slicer/pull/5191/files>

---

<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:** [September 19, 2020, 6:46pm UTC](https://discourse.slicer.org/t/problems-with-load-data-from-a-directory/13567/6 "2020-09-19T18:46:55Z")

</div>

@lars12345 just keep in mind the SlicerMorph is only available for v4.11 but not for stable. So you will need to use a preview version.

---

<div class="post-metadata">

**Author:** ![lars12345](https://avatars.discourse-cdn.com/v4/letter/l/f14d63/32.png) [@lars12345](https://discourse.slicer.org/u/lars12345)\
**Post date:** [September 21, 2020, 6:31pm UTC](https://discourse.slicer.org/t/problems-with-load-data-from-a-directory/13567/7 "2020-09-21T18:31:57Z")

</div>

I was able to import my images with SlicerMorph \> ImageStacks after updating to the 4.11 pre-release. Thank you very much for the help.
