# Slow loading dicom CT slices (~300)

**URL:** <https://discourse.slicer.org/t/slow-loading-dicom-ct-slices-300/36209>\
**Category:** Support\
**Tags:** data-loading\
**Created:** [May 16, 2024, 5:14pm UTC](https://discourse.slicer.org/t/slow-loading-dicom-ct-slices-300/36209 "2024-05-16T17:14:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tenzin\_kunkyab](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/tenzin_kunkyab/32/3916_2.png) [@tenzin\_kunkyab](https://discourse.slicer.org/u/tenzin_kunkyab)\
**Post date:** [May 16, 2024, 5:14pm UTC](https://discourse.slicer.org/t/slow-loading-dicom-ct-slices-300/36209/1 "2024-05-16T17:14:54Z")

</div>

Hi,

I wanted to ask if its normal to take couple of minutes to load CT volume of about 300 slices?

I used to drag + drop, which took long, so importing dicom files was quick. But then loading the actual CT volume to view/segment takes couple of minutes. Although I used an older version of slicer (5.4). Is that the reason?

---

<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:** [May 16, 2024, 8:38pm UTC](https://discourse.slicer.org/t/slow-loading-dicom-ct-slices-300/36209/2 "2024-05-16T20:38:49Z")

</div>

No, it shouldn’t take that long. Is there something special about your data compared to sample data?

---

<div class="post-metadata">

**Author:** ![tenzin\_kunkyab](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/tenzin_kunkyab/32/3916_2.png) [@tenzin\_kunkyab](https://discourse.slicer.org/u/tenzin_kunkyab)\
**Post date:** [May 17, 2024, 6:09pm UTC](https://discourse.slicer.org/t/slow-loading-dicom-ct-slices-300/36209/3 "2024-05-17T18:09:49Z")

</div>

Hi,

nothing special, it’s a high-resolution diagnostic CT with about 300 slices. Previously, I drag+dropped the data. The import time was shortened after I correctly loaded the dicom from a file. However, actual loading of the data still takes a bit of time.

Thanks, let me know if there is anything else I should try.

---

<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:** [May 17, 2024, 7:00pm UTC](https://discourse.slicer.org/t/slow-loading-dicom-ct-slices-300/36209/4 "2024-05-17T19:00:36Z")

</div>

I think the main thing would be to know if there’s something odd going on either with your data or maybe something with your setup.

A 300 slice CT should not take minutes to load. I just tested a 344 slice 512x512 CT and it loaded in just a couple seconds.

Maybe you can try other datasets or other computers to triangulate on what’s going on.

---

<div class="post-metadata">

**Author:** ![tenzin\_kunkyab](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/tenzin_kunkyab/32/3916_2.png) [@tenzin\_kunkyab](https://discourse.slicer.org/u/tenzin_kunkyab)\
**Post date:** [May 17, 2024, 7:05pm UTC](https://discourse.slicer.org/t/slow-loading-dicom-ct-slices-300/36209/5 "2024-05-17T19:05:46Z")

</div>

The other thing I can think of is that the data is in a shared drive and not on the computer hard drive itself. could that be an issue of the slow loading?

May be I can copy one of the data and try loading from the hard drive.

---

<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:** [May 17, 2024, 7:18pm UTC](https://discourse.slicer.org/t/slow-loading-dicom-ct-slices-300/36209/6 "2024-05-17T19:18:27Z")

</div>

Yes, that would explain it. There have been issues reported recently about OneDrive and Dropbox causing problems.

> [@Windows: Unable to import DICOM files that are in a OneDrive-backed up folder](https://discourse.slicer.org/t/windows-unable-to-import-dicom-files-that-are-in-a-onedrive-backed-up-folder/36153):
>
> TL;DR: on Windows, do not use folders that are backed up by Microsoft OneDrive for DICOM images that you want to import into Slicer DICOMBrowser! @vkt1414 and I have been debugging an issue that we thought is a problem with our extension, but upon further investigation it turned out the issue was not in the extension. Logs showed that DCMTK failed to open the DICOM files our extension was downloading. Initially, I thought this is due to the presence of dots in the folder hierarchy, but @pieper …

---

<div class="post-metadata">

**Author:** ![tenzin\_kunkyab](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/tenzin_kunkyab/32/3916_2.png) [@tenzin\_kunkyab](https://discourse.slicer.org/u/tenzin_kunkyab)\
**Post date:** [May 17, 2024, 7:37pm UTC](https://discourse.slicer.org/t/slow-loading-dicom-ct-slices-300/36209/7 "2024-05-17T19:37:23Z")

</div>

thanks. I made a local copy of the data on the desktop and the loading takes 2-3 minutes. I am not sure if that was the case for you or if it was instantaneous.

Might have something to do with the computer too. I probably need to investigate this further. We are doing a large number of segmentation, so every minute matters…

I am just using a remote desktop for now, may be that also could be a problem.

---

<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:** [May 17, 2024, 7:42pm UTC](https://discourse.slicer.org/t/slow-loading-dicom-ct-slices-300/36209/8 "2024-05-17T19:42:56Z")

</div>

I don’t use windows myself, but I’ve been told sometimes the “Desktop” folder is hijacked by OneDrive in unexpected ways.

Loading 300 CT slices really shouldn’t take more than a few seconds.

---

<div class="post-metadata">

**Author:** ![tenzin\_kunkyab](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/tenzin_kunkyab/32/3916_2.png) [@tenzin\_kunkyab](https://discourse.slicer.org/u/tenzin_kunkyab)\
**Post date:** [May 17, 2024, 8:34pm UTC](https://discourse.slicer.org/t/slow-loading-dicom-ct-slices-300/36209/9 "2024-05-17T20:34:41Z")

</div>

Thanks I put it into the same file as the Appdata for the slicer and it loaded much faster.

Thank you,
