# Basic question about CT MultiPlanar Reconstruction and NRRD files

**URL:** <https://discourse.slicer.org/t/basic-question-about-ct-multiplanar-reconstruction-and-nrrd-files/4219>\
**Category:** Support\
**Created:** [September 28, 2018, 1:40pm UTC](https://discourse.slicer.org/t/basic-question-about-ct-multiplanar-reconstruction-and-nrrd-files/4219 "2018-09-28T13:40:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdx-john](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@jdx-john](https://discourse.slicer.org/u/jdx-john)\
**Post date:** [September 28, 2018, 1:40pm UTC](https://discourse.slicer.org/t/basic-question-about-ct-multiplanar-reconstruction-and-nrrd-files/4219/1 "2018-09-28T13:40:40Z")

</div>

When Slicer imports a raw CT DICOM dataset, my recollection is this is a set of 2D image ‘stacks’ taken on 3 orthogonal axes - correct? And Slicer uses MPR to convert this into a volumetric dataset so you can slice it any way and do volume rendering.

Is this volumetric data literally just a 3D array of voxel data, and is that what is saved in NRRD or are the original slices retained?

In the consumer GPU world, 3D textures are widely supported now for polygon rendering so I’m wondering how trivial it would be to export/convert a CT scan into such a format that could be applied in regular OpenGL or DirectX? Like if I wanted to employ a brain scan in a video game, etc

---

<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 28, 2018, 2:12pm UTC](https://discourse.slicer.org/t/basic-question-about-ct-multiplanar-reconstruction-and-nrrd-files/4219/2 "2018-09-28T14:12:20Z")

</div>

> [@jdx-john](#):
>
> Is this volumetric data literally just a 3D array of voxel data, and is that what is saved in NRRD or are the original slices retained?

Original slices are not retained, it is just a 3D array.

This 3D array is downloaded into the GPU as a texture and used for volume rendering.

For slice views, reslicing is done on the CPU because there are several and sharing of textures between renderers was not implemented in VTK (maybe it is now) and we would need to implement slice viewer layer compositing in GPU (fading between foreground, background, label volume). These are all doable, it just has not been the highest priority.

---

<div class="post-metadata">

**Author:** ![jdx-john](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@jdx-john](https://discourse.slicer.org/u/jdx-john)\
**Post date:** [September 28, 2018, 2:24pm UTC](https://discourse.slicer.org/t/basic-question-about-ct-multiplanar-reconstruction-and-nrrd-files/4219/3 "2018-09-28T14:24:11Z")

</div>

Thanks Andras 🙂
