# How do I view a Spatial Registration Obj in slicer?

**URL:** https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140
**Category:** Support
**Created:** [November 8, 2022, 1:58pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140 "2022-11-08T13:58:24Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![MikeC](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@MikeC](https://discourse.slicer.org/u/MikeC)
#### Post date: [November 8, 2022, 1:58pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/1 "2022-11-08T13:58:24Z")

</div>

I have installed a few of the extensions, but it still will not load the SRO dcm file.

---

<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: [November 8, 2022, 2:05pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/2 "2022-11-08T14:05:17Z")

</div>

You need SlicerRT. If that’s still not working provide more details.

---

<div class="post-metadata">

### Author: ![MikeC](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@MikeC](https://discourse.slicer.org/u/MikeC)
#### Post date: [November 8, 2022, 2:12pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/3 "2022-11-08T14:12:38Z")

</div>

Hi Steve. I had installed SlicerRT extension, but slicer just said ‘Failed to load’ when I tried to add an SRO file that I had gotten from a vendor.

---

<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: [November 8, 2022, 2:33pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/4 "2022-11-08T14:33:56Z")

</div>

See if you can get de-identified sample data that you can share so other people can test and make suggestions.

---

<div class="post-metadata">

### Author: ![MikeC](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@MikeC](https://discourse.slicer.org/u/MikeC)
#### Post date: [November 23, 2022, 1:14pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/5 "2022-11-23T13:14:55Z")

</div>

Hello Steve. Is it possible that SlicerRT needs more than just an SRO to display anything? I am not sure if it would display the attributes, or if it also expects to have images loaded prior to have something to apply the SRO to? If it should work with just the SRO, then I should be able to get an anonymized file.

---

<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: [November 23, 2022, 6:07pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/6 "2022-11-23T18:07:35Z")

</div>

If you load the SRO successfully then you should be able to inspect it and even display it in the Transforms module, but generally yes, you need some data to make sense of it.

---

<div class="post-metadata">

### Author: ![MikeC](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@MikeC](https://discourse.slicer.org/u/MikeC)
#### Post date: [November 23, 2022, 9:24pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/7 "2022-11-23T21:24:46Z")

</div>

Ok thanks. But it just errors with no meaninful details as to why. I have attached here the SRO file that will not load into Slicer. It does load into a couple other DICOM attr viewers just fine. So if you can determine if the issue is with the SRO or SlicerRT, that would be great. Thanks in advance.

Mike

(Attachment cosylab\_sro\_fixed\_tags.dcm is missing)

---

<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: [November 23, 2022, 9:28pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/8 "2022-11-23T21:28:33Z")

</div>

@MikeC You probably need to share via a different method (dropbox, google drive, etc).

@lassoan @cpinter @gcsharp do you have input on this?

---

<div class="post-metadata">

### Author: ![MikeC](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@MikeC](https://discourse.slicer.org/u/MikeC)
#### Post date: [November 23, 2022, 9:29pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/9 "2022-11-23T21:29:00Z")

</div>

Attaching the file again, w/o the dcm extension this time .

(Attachment cosylab\_sro\_fixed\_tags is missing)

---

<div class="post-metadata">

### Author: ![gcsharp](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gcsharp/32/863_2.png) [@gcsharp](https://discourse.slicer.org/u/gcsharp)
#### Post date: [November 23, 2022, 9:34pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/10 "2022-11-23T21:34:02Z")

</div>

Mike, did you attach to the discourse? I don’t see any attachment.

Maybe you can e-mail it to me or create a public download link.

---

<div class="post-metadata">

### Author: ![MikeC](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@MikeC](https://discourse.slicer.org/u/MikeC)
#### Post date: [November 23, 2022, 9:43pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/11 "2022-11-23T21:43:30Z")

</div>

I had attached it via email notification, but also just tried to upload it here and that didn’t work either. So I would be happy to email it to you if I can get an address. Mine is [mikecourtney48@yahoo.com](mailto:mikecourtney48@yahoo.com) if you would rather reach out to me directly rather than post it here. Thanks.

---

<div class="post-metadata">

### Author: ![gcsharp](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gcsharp/32/863_2.png) [@gcsharp](https://discourse.slicer.org/u/gcsharp)
#### Post date: [November 24, 2022, 12:05am UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/12 "2022-11-24T00:05:55Z")

</div>

File received. Thanks! Don’t hesitate to ping me if I am silent too long.

---

<div class="post-metadata">

### Author: ![gcsharp](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gcsharp/32/863_2.png) [@gcsharp](https://discourse.slicer.org/u/gcsharp)
#### Post date: [November 24, 2022, 6:23pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/13 "2022-11-24T18:23:18Z")

</div>

Hi Mike. I don’t yet have a final answer, but this REG has an uncommon format. Does Cosylab (the manufacturer) provide a DICOM conformance statement? -Greg

---

<div class="post-metadata">

### Author: ![MikeC](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@MikeC](https://discourse.slicer.org/u/MikeC)
#### Post date: [November 25, 2022, 2:47pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/14 "2022-11-25T14:47:45Z")

</div>

Hello Greg,

I can reach out to Cosy for a statement. I just searched their web site and didn’t find one there that’s publicly assessible.  
But maybe this will be enough for now. Here are the tags that are parsed by another viewer, and here is the log file detailing the parsing is attached. A quick look at the tags by myself doesn’t show anything out of expectations, but maybe I missed something.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/d/8d1a44f7849c4f84e846cfed7a45ee4ef87240df.png)

Thanks,  
Mike

(Attachment CosyLabSROLogFile.txt is missing)

---

<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: [November 25, 2022, 6:30pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/15 "2022-11-25T18:30:34Z")

</div>

> [@MikeC](#):
>
> I just searched their web site and didn’t find one there that’s publicly assessible

DICOM conformance statements must be made publicly accessible. If the company does not make one available, then it means that they actually do not officially support DICOM in their products. DICOM import/export may be just some untested, experimental feature.

---

<div class="post-metadata">

### Author: ![gcsharp](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gcsharp/32/863_2.png) [@gcsharp](https://discourse.slicer.org/u/gcsharp)
#### Post date: [November 25, 2022, 11:18pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/16 "2022-11-25T23:18:47Z")

</div>

Hi Mike,  
I fully agree with Andras. Cosylab needs to publish a conformance statement. Until that happens we can only guess.  
In my experience w awful vendor REG objects, there are two major misunderstanding. The first is frame of reference issues. The second is IEC vs DICOM.  
We are happy to help, but vendor support is needed.  
Greg

---

<div class="post-metadata">

### Author: ![MikeC](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@MikeC](https://discourse.slicer.org/u/MikeC)
#### Post date: [November 30, 2022, 3:12pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/17 "2022-11-30T15:12:57Z")

</div>

Hi guys,

I will try to get their DCS, although it may not be a released feature yet. More soon.

Thanks,  
Mike

---

<div class="post-metadata">

### Author: ![gcsharp](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gcsharp/32/863_2.png) [@gcsharp](https://discourse.slicer.org/u/gcsharp)
#### Post date: [December 1, 2022, 6:35pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/18 "2022-12-01T18:35:04Z")

</div>

Meanwhile, what you can do is grab the Transformation Matrix out of the REG and stuff it into an ITK transform file. The format is below:

```auto
#Insight Transform File V1.0
#Transform 0
Transform: AffineTransform_double_3_3
Parameters: 1 0 0 0 1 0 0 0 1 30 20 10
FixedParameters: 0 0 0

```

Note the rotation goes first, followed by the translation. You might need to transpose (invert) the rotation, and/or negate (invert) the translation.

---

<div class="post-metadata">

### Author: ![MikeC](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@MikeC](https://discourse.slicer.org/u/MikeC)
#### Post date: [December 2, 2022, 6:53pm UTC](https://discourse.slicer.org/t/how-do-i-view-a-spatial-registration-obj-in-slicer/26140/19 "2022-12-02T18:53:13Z")

</div>

Problem solved. They had a formatting error in their xform matrix. It imports now. Thanks for the replies.
