# Option for Single-File DICOM Drag-and-Drop Import

**URL:** <https://discourse.slicer.org/t/option-for-single-file-dicom-drag-and-drop-import/31567>\
**Category:** Feature requests\
**Created:** [September 5, 2023, 1:20pm UTC](https://discourse.slicer.org/t/option-for-single-file-dicom-drag-and-drop-import/31567 "2023-09-05T13:20:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alireza](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/alireza/32/67173_2.png) [@alireza](https://discourse.slicer.org/u/alireza)\
**Post date:** [September 5, 2023, 1:20pm UTC](https://discourse.slicer.org/t/option-for-single-file-dicom-drag-and-drop-import/31567/1 "2023-09-05T13:20:35Z")

</div>

The current behavior in 3D Slicer for loading DICOM files have changed and automatically indexes all the DICOM files present in the same folder as the dragged DICOM file. This causes inconvenience in scenarios where a user wants to load only a specific DICOM file for inspection, especially when it resides in a folder containing multiple DICOM files.

Drag and drop usecase should just care about the dragged content and not the directory, similar to other apps in my opinion: e.g., in powerpoint, if you drag and drop an image you don’t get all the other images in that folder imported, word, and other apps too

You can make a case for when a directory is imported, but darg and drop becomes meaningless if you import all files in that folder.

Read more here [DICOM drag and drop loads all the dicoms in the same folder instead of just the dragged one - #4 by alireza](https://discourse.slicer.org/t/dicom-drag-and-drop-loads-all-the-dicoms-in-the-same-folder-instead-of-just-the-dragged-one/31437/4)

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [September 5, 2023, 5:04pm UTC](https://discourse.slicer.org/t/option-for-single-file-dicom-drag-and-drop-import/31567/2 "2023-09-05T17:04:14Z")

</div>

This may go well with my PR to add a “DICOM Direct Load” option which allows for loading DICOM image data without using the DICOM browser of the DICOM module if all you care about is the image data and not viewing all the metadata info.

> <https://github.com/Slicer/Slicer/pull/7156>
>
> This is used for directly loading DICOM files into the scene without adding to t…he DICOM database. The DICOM module however is still used in the logic for loading. Currently there is the "DICOM import" reader option from the Add Data dialog which will import it into the DICOM database, but will not load it into the scene.
> 
> Based on https://slicer.readthedocs.io/en/latest/developer\_guide/script\_repository.html#load-dicom-files-into-the-scene-from-a-folder
