# Error loading DICOM file

**URL:** <https://discourse.itk.org/t/error-loading-dicom-file/6489>\
**Category:** Beginner Questions\
**Tags:** dicom\
**Created:** [March 3, 2024, 10:23am UTC](https://discourse.itk.org/t/error-loading-dicom-file/6489 "2024-03-03T10:23:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kewil\_Bhima](https://discourse.itk.org/user_avatar/discourse.itk.org/kewil_bhima/32/3931_2.png) [@Kewil\_Bhima](https://discourse.itk.org/u/Kewil_Bhima)\
**Post date:** [March 3, 2024, 10:23am UTC](https://discourse.itk.org/t/error-loading-dicom-file/6489/1 "2024-03-03T10:23:07Z")

</div>

I have recently downloaded ITK-Snap and I am having issues loading an image. I get an error saying “vector too long” when trying to load a DICOM file from a MRI scan. I have no issue opening this same image in other software. Any help will be appreciated.

 ![image](https://discourse.itk.org/uploads/default/original/2X/6/624f0c027c5e3aff1515a1c85c686efc641c0594.png)

---

<div class="post-metadata">

**Author:** ![dchen](https://discourse.itk.org/user_avatar/discourse.itk.org/dchen/32/34_2.png) [@dchen](https://discourse.itk.org/u/dchen)\
**Post date:** [March 4, 2024, 3:04pm UTC](https://discourse.itk.org/t/error-loading-dicom-file/6489/2 "2024-03-04T15:04:24Z")

</div>

Can you share an example of a DICOM that produces that error (removing any PII, of course)?

---

<div class="post-metadata">

**Author:** ![Kewil\_Bhima](https://discourse.itk.org/user_avatar/discourse.itk.org/kewil_bhima/32/3931_2.png) [@Kewil\_Bhima](https://discourse.itk.org/u/Kewil_Bhima)\
**Post date:** [March 4, 2024, 3:22pm UTC](https://discourse.itk.org/t/error-loading-dicom-file/6489/3 "2024-03-04T15:22:00Z")

</div>

Hi Dave, I have attached the DICOM image.  
[IMG0001.dcm](https://discourse.itk.org/uploads/short-url/bOcpchyp9p37ixkmvFy7FYSAY8p.dcm) (513.3 KB)

---

<div class="post-metadata">

**Author:** ![dchen](https://discourse.itk.org/user_avatar/discourse.itk.org/dchen/32/34_2.png) [@dchen](https://discourse.itk.org/u/dchen)\
**Post date:** [March 4, 2024, 8:15pm UTC](https://discourse.itk.org/t/error-loading-dicom-file/6489/4 "2024-03-04T20:15:38Z")

</div>

I looked at the image and didn’t see anything unusual about it. I was able to load it into SimpleITK and ITK-Snap without any issue.

Perhaps ask the developers of ITK-Snap? They have a mailing list here: [https://groups.google.com/g/itksnap-users](https://groups.google.com/g/itksnap-users)
