# Import of registration DICOM files

**URL:** https://discourse.slicer.org/t/import-of-registration-dicom-files/368
**Category:** Support
**Tags:** dicom
**Created:** [May 24, 2017, 11:44am UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368 "2017-05-24T11:44:20Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![edumeilan](https://avatars.discourse-cdn.com/v4/letter/e/9fc29f/32.png) [@edumeilan](https://discourse.slicer.org/u/edumeilan)
#### Post date: [May 24, 2017, 11:44am UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/1 "2017-05-24T11:44:20Z")

</div>

Operating system: Windows 7 Profesional 64 bits  
Slicer version: 4.6.2

Hi everyone,

I’m trying to use a DICOM registration object but I can’t even load it. I made a registration (in fact, two of them; one is rigid and the other one deformable) using Varian Eclipse module and I want to use this transformation for other purposes. What I really want right now is to change the format to a vector field or something like that.  
If I try to import this object with the DICOM module it says “Could not load x as a scalar volume”. If I try to load it as data it doesn’t give me any message but it doesn’t load it.

Is there any way I could import a registration in DICOM format?

Thank you very much,

Best regards,

Edu

---

<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: [May 24, 2017, 11:44am UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/2 "2017-05-24T11:44:51Z")

</div>

Use the latest nightly version of Slicer and install SlicerRT extension.

---

<div class="post-metadata">

### Author: ![edumeilan](https://avatars.discourse-cdn.com/v4/letter/e/9fc29f/32.png) [@edumeilan](https://discourse.slicer.org/u/edumeilan)
#### Post date: [May 24, 2017, 11:59am UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/3 "2017-05-24T11:59:09Z")

</div>

Thank you very much! I’ll try as soon as I can

---

<div class="post-metadata">

### Author: ![edumeilan](https://avatars.discourse-cdn.com/v4/letter/e/9fc29f/32.png) [@edumeilan](https://discourse.slicer.org/u/edumeilan)
#### Post date: [May 29, 2017, 8:55am UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/4 "2017-05-29T08:55:03Z")

</div>

Hi!  
I’ve been trying to download the slicerRT extension, but I have some  
problems when doing from my institution. Is there any posibility of  
downloading from the web and not from the extension manager? I could then  
install it from the file. I’ve benn looking in several webs (  
[http://slicer.kitware.com/midas3](http://slicer.kitware.com/midas3), [https://github.com/SlicerRt/SlicerRT](https://github.com/SlicerRt/SlicerRT)…)  
but I can’t find any zip, tar or similar file to download. Could you help  
me, please?

Sorry for disturbing you.  
Best regards,

Edu

---

<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: [May 29, 2017, 12:51pm UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/5 "2017-05-29T12:51:34Z")

</div>

See detailed instructions here: [https://www.slicer.org/wiki/Documentation/Nightly/SlicerApplication/ExtensionsManager#How\_to\_manually\_download\_an\_extension\_package.3F](https://www.slicer.org/wiki/Documentation/Nightly/SlicerApplication/ExtensionsManager#How_to_manually_download_an_extension_package.3F)

---

<div class="post-metadata">

### Author: ![stephan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/stephan/32/2444_2.png) [@stephan](https://discourse.slicer.org/u/stephan)
#### Post date: [September 21, 2018, 2:03pm UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/6 "2018-09-21T14:03:03Z")

</div>

Hi everybody,  
I have the same issue as the OP, but I have installed the latest SlicerRT version (0.18.0). Slicer is 4.9. nightly 2018-09-10.  
I have two DICOM registration objects, exported from MIM 6.8.3.  
The rigid registration registers a CT to an MRI, and the deformable one registers a CT to a follow-up CT (accounting for animal growth in between).  
They import into the DICOM database nicely, but when I try to load either registration object, a warning is triggered by the Scalar Volume Reader: “Reference image in series does not contain geometry information. Please use caution.”  
When I proceed with “load anyway”, an error is thrown “Could not load 0: Image registration as a scalar volume”  
When I uncheck the DICOMScalarVolumePlugin reader and leave only the DicomRtImportExportPlugin checked in the DICOM browser, no warning is triggered but nothing is loaded either.

Any hints at what I am missing are greatly appreciated.

Thank you  
Stephan

---

<div class="post-metadata">

### Author: ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)
#### Post date: [September 21, 2018, 2:27pm UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/7 "2018-09-21T14:27:28Z")

</div>

This warning is rarely a cause for concern. The threshold for giving this warning is very low, so you can usually ignore it I think.

FYI I’m not sure how well deformable SROs are handler right now, but we’ll work on it soon in SlicerRT.

---

<div class="post-metadata">

### Author: ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)
#### Post date: [September 21, 2018, 2:34pm UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/8 "2018-09-21T14:34:40Z")

</div>

I think the issue is that ScalarVolumePlugin should not even examine the registration object. If it loads correctly when you uncheck ScalarVolumePlugin, I would not worry about anything else. ScalarVolumePlugin needs to be fixed to ignore this IOD.

---

<div class="post-metadata">

### Author: ![stephan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/stephan/32/2444_2.png) [@stephan](https://discourse.slicer.org/u/stephan)
#### Post date: [September 21, 2018, 2:39pm UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/9 "2018-09-21T14:39:28Z")

</div>

Thank you for the swift reply.  
It works now.  
For the record: For some reason, DicomSroPlugin was unchecked from the beginning in my DICOM browser.  
And after getting the ScalarVolume warning for the first time, i unchecked all other handlers as well, except for DicomRtImportExport (which I thought would handle REGs), not being aware of that the SroPlugin is the one I would actually need. Only after Csaba referred to “deformable SROs” I realized that this acronym must stand for registration objects. Since I re-activated the DicomSrcoPlugin handler, everything works fine without warnings and with the registrations showing up in the scene hierarchy.

Thank you all for your great work with Slicer.  
Stephan

---

<div class="post-metadata">

### Author: ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)
#### Post date: [September 21, 2018, 3:05pm UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/10 "2018-09-21T15:05:53Z")

</div>

> [@stephan](#):
>
> Only after Csaba referred to “deformable SROs” I realized that this acronym must stand for registration objects.

I have to admit, I do not know what “SRO” stands for (in this context)!

---

<div class="post-metadata">

### Author: ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)
#### Post date: [September 21, 2018, 3:06pm UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/11 "2018-09-21T15:06:18Z")

</div>

DICOM Spatial Registration Object

---

<div class="post-metadata">

### Author: ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)
#### Post date: [September 21, 2018, 3:08pm UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/12 "2018-09-21T15:08:26Z")

</div>

> [@stephan](#):
>
> DicomSroPlugin was unchecked from the beginning

This is strange. I’ll look into this.

> [@fedorov](#):
>
> ScalarVolumePlugin needs to be fixed to ignore this IOD.

I’m not sure if the warning was thrown from the SRO. It gets thrown many times from valid scalar volumes as well. However in general it wouldn’t hurt making it ignore special IOD types.

---

<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 21, 2018, 4:06pm UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/13 "2018-09-21T16:06:46Z")

</div>

If the plugin recognizes the SOPClass then it should return a very high confidence so that it is selected by default. The ScalarVolume plugin returns medium confidence for for pretty much anything so that it can be the catch-all for anything not recognized by specialized readers. So in this case it’s the SRO plugin that should be fixed.

---

<div class="post-metadata">

### Author: ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)
#### Post date: [September 21, 2018, 4:27pm UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/14 "2018-09-21T16:27:38Z")

</div>

The SRO plugin does the same, not sure what is there to fix. Again I think there is a misunderstanding and the ScalarVolume plugin actually never tries to load SRO and vice versa, SRO never tries to load a scalar volume, but there is a usual geometry warning for ScalarVolume plugin trying to load a scalar volume while everything is loaded as expected. @stephan needs to confirm this, but if my hunch is right then we’re good.

---

<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 21, 2018, 5:03pm UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/15 "2018-09-21T17:03:04Z")

</div>

Good - if both SRO and ScalarVolume plugins are enabled then SRO plugin should recognize the sop class and return highest priority and be selected for loading.

---

<div class="post-metadata">

### Author: ![stephan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/stephan/32/2444_2.png) [@stephan](https://discourse.slicer.org/u/stephan)
#### Post date: [September 21, 2018, 6:14pm UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/16 "2018-09-21T18:14:31Z")

</div>

Yes, I think we are good here. The only scenario where a warning was displayed (and the import eventually failed if I clicked “load anyway”) was when the SRO plugin was inactive. It seems that the scalar plugin works as a sort of scavenger, trying to import any class which is not imported by some more specific plugin. As soon as I activated the checkbox for the SRO plugin, the scalar plugin threw no more warning messages.  
Sorry for all the confusion.

---

<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 21, 2018, 6:43pm UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/17 "2018-09-21T18:43:51Z")

</div>

Thanks for checking and clearing this up.

> [@stephan](#):
>
> It seems that the scalar plugin works as a sort of scavenger, trying to import any class which is not imported by some more specific plugin.

Yes, my rationale for that is that there are so many poorly formatted dicom files out there and so many heuristics and fixes that are hard-coded into the ITK/GDCM/DCMTK layers that we may as well give it a try instead of just giving up (or before giving up).

---

<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 23, 2018, 2:34am UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/18 "2018-09-23T02:34:42Z")

</div>

Keeping scalar volume reader as a catch-all makes sense, but when scalar volume reader is used as a last resort, it could be nicer to show a more generic error message “Could not load 0: Image registration" (do not mention scalar volume) and maybe add some basic information (imaging modality, SOP class UID, etc.) that may be useful for debugging.

---

<div class="post-metadata">

### Author: ![hannahrhea](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hannahrhea/32/69277_2.png) [@hannahrhea](https://discourse.slicer.org/u/hannahrhea)
#### Post date: [December 17, 2018, 8:30pm UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/19 "2018-12-17T20:30:03Z")

</div>

I have a similar query. I want to import the DICOM registration objects, exported from MIM 6.8.7. The cooresponding DICOM images came in without any problems. However the registration objects did not and I got the following error. ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/f/df66eee76559b67f8e26fe602fd289947cc2a27d.png)

Slicer has caught an internal error.

You may be able to continue from this point, but results are undefined.

Suggested action is to save your work and restart.

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at [http://slicer.org](http://slicer.org)

The message detail is:

Exception thrown in event: d:\d\p\slicer-480-package\itkv4\modules\io\imagebase\include\itkImageFileReader.hxx:143:  
Could not create IO object for reading file C:/Users/hmthomas/Desktop/New folder/2016-08\_\_Studies/FLARE005\_9599-FLARE005\_REG\_2016-08-15\_152550\_CT.THERAPY.PLAN.RAD.ON\_FDG.PET.fusion.pretx\_n1\_\_00000/2.16.840.1.114362.1.6.6.4.16526.10113205933.441938047.913.5384.dcm  
Tried to create one of the following:  
NiftiImageIO  
NrrdImageIO  
GiplImageIO  
JPEGImageIO  
GDCMImageIO  
BMPImageIO  
LSMImageIO  
PNGImageIO  
TIFFImageIO  
VTKImageIO  
StimulateImageIO  
BioRadImageIO  
MetaImageIO  
MRCImageIO  
MINCImageIO  
MGHImageIO  
MRMLIDImageIO  
HDF5ImageIO  
GE4ImageIO  
GE5ImageIO  
You probably failed to set a file suffix, or  
set the suffix to an unsupported type.

How can I resolve this problem?  
Thanks,  
Hannah

---

<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: [December 17, 2018, 10:02pm UTC](https://discourse.slicer.org/t/import-of-registration-dicom-files/368/20 "2018-12-17T22:02:42Z")

</div>

You need to install SlicerRT extension and load DICOM data using DICOM module (drag-and-drop the parent folder to the application window and not individual files).

We are actively working on improving DICOM SRO import/export compatibility with mim. If you find any issues then let us know and if possible, share your data sets (make sure they do not contain patient information).

[Next page](https://discourse.slicer.org/t/import-of-registration-dicom-files/368.md?page=2)
