# Using 3DSlicer for Optical Coherence Tomography (St Jude's)

**URL:** https://discourse.slicer.org/t/using-3dslicer-for-optical-coherence-tomography-st-judes/494
**Category:** Support
**Created:** [June 13, 2017, 4:06pm UTC](https://discourse.slicer.org/t/using-3dslicer-for-optical-coherence-tomography-st-judes/494 "2017-06-13T16:06:08Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Jaytee](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@Jaytee](https://discourse.slicer.org/u/Jaytee)
#### Post date: [June 13, 2017, 4:06pm UTC](https://discourse.slicer.org/t/using-3dslicer-for-optical-coherence-tomography-st-judes/494/1 "2017-06-13T16:06:08Z")

</div>

Hi Everyone,

I’m very new to 3D slicer, I just downloaded it to try get some 3D images for a case report but having some trouble.

Not sure if anyone has experience in using the St Jude’s OCT system (used in cardiology for imaging inside the coronary arteries, [https://www.sjm.com/optis/index.html](https://www.sjm.com/optis/index.html)). This system can export a DICOM file which I’ve then tried loading into 3DSlicer however the ‘DICOM’ importer doesn’t work, when I examine the file it comes up with:  
“Multi-frame image. If slice orientation or spacing is non-uniform then the image may be displayed incorrectly. Use with caution. Reference image in series does not contain geometry information. Please use caution.”

Using the Add Data widget allows the study to load but it doesn’t give a 3D image or allow editing. It does make a volume render which I’ve tried using the ‘Crop Volume’ module but this just crashed the program.

Anyone have any idea of what to do? I’ve posted a quick screenshot below.

Cheers,  
Justin

 ![](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/1X/fb13dc3df5396f0f88faa5d0ded748c6ef45fe57.png)

---

<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: [June 13, 2017, 4:12pm UTC](https://discourse.slicer.org/t/using-3dslicer-for-optical-coherence-tomography-st-judes/494/2 "2017-06-13T16:12:17Z")

</div>

> [@Jaytee](#):
>
> Using the Add Data widget allows the study to load but it doesn’t give a 3D image or allow editing.

The image looks good, it’s a 3D volume, as it shows up with significant extent in three orthogonal slice viewers.

Volume rendering and most editing operations are only supported for grayscale volumes, so you have to convert your color image to grayscale, using `Vector to Scalar volume` module.

It might be better to export your OCT as a grayscale (scalar) volume - you can then apply any colormaps after you load that into Slicer.

---

<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: [June 13, 2017, 4:13pm UTC](https://discourse.slicer.org/t/using-3dslicer-for-optical-coherence-tomography-st-judes/494/3 "2017-06-13T16:13:55Z")

</div>

If you cannot scroll in any of the slice viewers, then maybe only a screen capture is saved.

Can you share a data set? (preferably phantom data; make sure no patient data is contained in the files)

---

<div class="post-metadata">

### Author: ![Jaytee](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@Jaytee](https://discourse.slicer.org/u/Jaytee)
#### Post date: [June 14, 2017, 2:38am UTC](https://discourse.slicer.org/t/using-3dslicer-for-optical-coherence-tomography-st-judes/494/4 "2017-06-14T02:38:54Z")

</div>

I can scroll through the 2d pictures and the orthogonal views work… I’ll  
try make it grayscale and also upload a anonymous dicom to Dropbox, just  
need to export again from work…

---

<div class="post-metadata">

### Author: ![Jaytee](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@Jaytee](https://discourse.slicer.org/u/Jaytee)
#### Post date: [June 14, 2017, 10:54am UTC](https://discourse.slicer.org/t/using-3dslicer-for-optical-coherence-tomography-st-judes/494/5 "2017-06-14T10:54:07Z")

</div>

I managed to use the Vector to Scalar Volume module to make it grayscale but it still wouldn’t allow me to edit or 3D render… I tried to export this version but same thing. The workstation with the originals doesn’t have a grayscale export function…

I’ve uploaded a low res version of the file here: [https://www.dropbox.com/s/l03x5x54rtf3gvi/IMG001?dl=0](https://www.dropbox.com/s/l03x5x54rtf3gvi/IMG001?dl=0) , if there are any other hints I’d be happy to hear it!

---

<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: [June 14, 2017, 11:59am UTC](https://discourse.slicer.org/t/using-3dslicer-for-optical-coherence-tomography-st-judes/494/6 "2017-06-14T11:59:17Z")

</div>

3D rendering: Go to Volume Rendering module, select the scalar volume (output of the conversion step), then click the eye icon next to the volume selector. You’ll need to select a transfer function, for me MR-Default seems to work well with your data. Adjust with the Shift slider. If it’s slow, switch to VTK GPU Ray Casting.

Editing: What do you mean exactly? Segmenting out regions of interest? Go to Segment Editor and use the editor effects.

If you’d like to see the scalar volume similarly to the RGB image, go to Volumes module, choose the scalar volume, and select the lookup table called Inferno (or any other that you like).

---

<div class="post-metadata">

### Author: ![MHB](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mhb/32/1306_2.png) [@MHB](https://discourse.slicer.org/u/MHB)
#### Post date: [March 6, 2018, 4:35am UTC](https://discourse.slicer.org/t/using-3dslicer-for-optical-coherence-tomography-st-judes/494/7 "2018-03-06T04:35:00Z")

</div>

Following up on this, I am trying to process some OCT data in the form of a series of 2D images, but am having little/no luck with volume rendering. These are already in grayscale and seem to show up fine in volume module, but I don’t know which knows to tweak to get a reasonable result.  
Images: [https://www.dropbox.com/sh/ce95fzhimgtrdgt/AABB2B7ISsy10lqKd9OeFPHha?dl=0](https://www.dropbox.com/sh/ce95fzhimgtrdgt/AABB2B7ISsy10lqKd9OeFPHha?dl=0)

---

<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: [March 6, 2018, 4:02pm UTC](https://discourse.slicer.org/t/using-3dslicer-for-optical-coherence-tomography-st-judes/494/8 "2018-03-06T16:02:55Z")

</div>

This data worked for me once I converted to scalar (even though the bmp files are grayscale they actually have three equal rgb components)

[https://www.slicer.org/wiki/Documentation/Nightly/Modules/VectorToScalarVolume](https://www.slicer.org/wiki/Documentation/Nightly/Modules/VectorToScalarVolume)

---

<div class="post-metadata">

### Author: ![PaoloZaffino](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/paolozaffino/32/81052_2.png) [@PaoloZaffino](https://discourse.slicer.org/u/PaoloZaffino)
#### Post date: [April 22, 2020, 9:53am UTC](https://discourse.slicer.org/t/using-3dslicer-for-optical-coherence-tomography-st-judes/494/9 "2020-04-22T09:53:08Z")

</div>

Hi all,  
I’m trying to import the exemplary dicom file, but I get nothing loaded.

Any idea?

Thanks a lot.  
Paolo

---

<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: [April 22, 2020, 1:28pm UTC](https://discourse.slicer.org/t/using-3dslicer-for-optical-coherence-tomography-st-judes/494/10 "2020-04-22T13:28:44Z")

</div>

Currently [Slicer does not support loading of color DICOM images](https://github.com/Slicer/Slicer/issues/3168). It would probably not too hard to add, but since color images are almost always screen captures that are not suitable for further analysis or processing, there hasn’t been enough motivation to dedicate time for that.

This DICOM image is a screen capture, too (8-bit, with some unknown color table, burnt-in annotations, etc.), so not usable for much. Instead of such derived image, the original data should be exported to DICOM, if possible. As a workaround, you can use ITK’s image reader by circumventing the DICOM module (just drag-and-dropping a single file to the Slicer application window).

---

<div class="post-metadata">

### Author: ![PaoloZaffino](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/paolozaffino/32/81052_2.png) [@PaoloZaffino](https://discourse.slicer.org/u/PaoloZaffino)
#### Post date: [April 22, 2020, 3:19pm UTC](https://discourse.slicer.org/t/using-3dslicer-for-optical-coherence-tomography-st-judes/494/11 "2020-04-22T15:19:04Z")

</div>

Thanks @lassoan!  
By dopping the file into the main window it works!
