# Echocardiogram time stamp

**URL:** <https://discourse.slicer.org/t/echocardiogram-time-stamp/24202>\
**Category:** Support\
**Tags:** sequences, volume-rendering, heart\
**Created:** [July 6, 2022, 12:08pm UTC](https://discourse.slicer.org/t/echocardiogram-time-stamp/24202 "2022-07-06T12:08:10Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deepthy\_Rose\_Jose\_am](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/deepthy_rose_jose_am/32/13425_2.png) [@Deepthy\_Rose\_Jose\_am](https://discourse.slicer.org/u/Deepthy_Rose_Jose_am)\
**Post date:** [July 6, 2022, 12:08pm UTC](https://discourse.slicer.org/t/echocardiogram-time-stamp/24202/1 "2022-07-06T12:08:10Z")

</div>

Hello Everyone,  
I’m trying to render an 4D echocardiogram in Slicer3D. The data format is a 3D dcm exported from Qlab software. Please find the attached picture. The volume rendering feature doesn’t show the time stamp feature. And sequence browser wasn’t a help too. Could someone guide me on the same and point out if I am missing out something?

![QLAB 2022-06-18 13-49-24 (5)](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/8/18a097fff72c57d948973084e7f739b8f0e2f092.gif)

 ![SLICER VIEW](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/8/18a1f7224b18c96e67555a06cc8132852fc06444.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:** [July 6, 2022, 12:46pm UTC](https://discourse.slicer.org/t/echocardiogram-time-stamp/24202/2 "2022-07-06T12:46:13Z")

</div>

If you cannot select a sequence browser node in the toolbar (in `Select a ...eBrowser`) then it means you have loaded a single volume, not a volume sequence.

---

<div class="post-metadata">

**Author:** ![Deepthy\_Rose\_Jose\_am](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/deepthy_rose_jose_am/32/13425_2.png) [@Deepthy\_Rose\_Jose\_am](https://discourse.slicer.org/u/Deepthy_Rose_Jose_am)\
**Post date:** [July 6, 2022, 1:32pm UTC](https://discourse.slicer.org/t/echocardiogram-time-stamp/24202/3 "2022-07-06T13:32:24Z")

</div>

I wanted to do the mpr reconstruction of the volume with time stamp. the other format looks like the following. I’m able to simulate the heart beat but it is not a whole volume render. I wanted to simulate the 4th tab in qlab(previous thread) . Am I missing something?

 ![view](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/4/d469c487fefe791c392b57c63edcc9077edb3112.jpeg)  
 ![3D-Slicer-502-2022-07-06-18-58-4](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/6/56677b43ac72db3e499797dba3f4a295a6af9f77.gif)

---

<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:** [July 6, 2022, 2:41pm UTC](https://discourse.slicer.org/t/echocardiogram-time-stamp/24202/4 "2022-07-06T14:41:51Z")

</div>

> [@Deepthy\_Rose\_Jose\_am](#):
>
> I wanted to do the mpr reconstruction of the volume with time stamp. the other format looks like the following.

Those are just 2D screenshots. You can only get 4D volume Philips via Cartesian export from QLab.

---

<div class="post-metadata">

**Author:** ![Deepthy\_Rose\_Jose\_am](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/deepthy_rose_jose_am/32/13425_2.png) [@Deepthy\_Rose\_Jose\_am](https://discourse.slicer.org/u/Deepthy_Rose_Jose_am)\
**Post date:** [July 7, 2022, 12:23pm UTC](https://discourse.slicer.org/t/echocardiogram-time-stamp/24202/5 "2022-07-07T12:23:38Z")

</div>

The following data is a 3d dcm taken from QLab software. How can i show the animation for the same? Does the exported data from Qlab pose any issue?

 ![SLICER VIEW](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/8/18a1f7224b18c96e67555a06cc8132852fc06444.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:** [July 7, 2022, 1:15pm UTC](https://discourse.slicer.org/t/echocardiogram-time-stamp/24202/6 "2022-07-07T13:15:53Z")

</div>

If you cannot select a sequence browser node in the toolbar (in `Select a ...eBrowser`) then it means you have loaded a single volume, not a volume sequence

What is the file size?

---

<div class="post-metadata">

**Author:** ![Deepthy\_Rose\_Jose\_am](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/deepthy_rose_jose_am/32/13425_2.png) [@Deepthy\_Rose\_Jose\_am](https://discourse.slicer.org/u/Deepthy_Rose_Jose_am)\
**Post date:** [July 8, 2022, 12:46am UTC](https://discourse.slicer.org/t/echocardiogram-time-stamp/24202/7 "2022-07-08T00:46:35Z")

</div>

1385386 KB. This is the exported data from Qlab. It doesn’t come in asequence.  
 ![file Size](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/9/d99d3de0fe915b699f13f03029f8e377b6704770.jpeg)

---

<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:** [July 8, 2022, 3:06am UTC](https://discourse.slicer.org/t/echocardiogram-time-stamp/24202/8 "2022-07-08T03:06:19Z")

</div>

This size is much larger than usual. Normally size of 4D cardiac ultrasound images are about a few 10 megabytes, while this file is more than a 1000 megabytes. It should definitely more than just a single volume.

How long was this recording (in seconds)?  
What transducer was used?  
Can you share a phantom or anonymized data set (upload to dropbox/onedrive/google drive and post the link) so that we can investigate?

---

<div class="post-metadata">

**Author:** ![Deepthy\_Rose\_Jose\_am](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/deepthy_rose_jose_am/32/13425_2.png) [@Deepthy\_Rose\_Jose\_am](https://discourse.slicer.org/u/Deepthy_Rose_Jose_am)\
**Post date:** [July 8, 2022, 3:46am UTC](https://discourse.slicer.org/t/echocardiogram-time-stamp/24202/9 "2022-07-08T03:46:39Z")

</div>

The transducer used is X72 of Philips. The time shown is 4.15 seconds based on the qlab details as shown in the attached picture . Please find the attached google drive link: [sample data - Google Drive](https://drive.google.com/drive/folders/1Nv_Aat3U3NohLkNzOK1rwP-QjMbA3apN?usp=sharing)

 ![time taken for recording](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/3/b3662cd3d0a6d2ac095227fdc9400a62d7e901e9.jpeg)

---

<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:** [July 10, 2022, 2:30pm UTC](https://discourse.slicer.org/t/echocardiogram-time-stamp/24202/10 "2022-07-10T14:30:54Z")

</div>

You’ve almost got it, the only step you missed was to fix up the invalid DICOM that QLab generates to a valid DICOM image, as described [here](https://github.com/SlicerHeart/SlicerHeart/blob/master/Docs/ImageImportExport.md#import-philips-4d-cardiac-images).

After patching, the image loads correctly:

[https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/e/defacbdc02d3194e988477b07b2905b30a0f7376.mp4](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/e/defacbdc02d3194e988477b07b2905b30a0f7376.mp4)

---

<div class="post-metadata">

**Author:** ![Deepthy\_Rose\_Jose\_am](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/deepthy_rose_jose_am/32/13425_2.png) [@Deepthy\_Rose\_Jose\_am](https://discourse.slicer.org/u/Deepthy_Rose_Jose_am)\
**Post date:** [July 22, 2022, 9:24am UTC](https://discourse.slicer.org/t/echocardiogram-time-stamp/24202/11 "2022-07-22T09:24:08Z")

</div>

Hello lassoan ,  
Thank you for your quick reply! Was not physically well for a week. I will check this method and let you know at the earliest.

---

<div class="post-metadata">

**Author:** ![Deepthy\_Rose\_Jose\_am](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/deepthy_rose_jose_am/32/13425_2.png) [@Deepthy\_Rose\_Jose\_am](https://discourse.slicer.org/u/Deepthy_Rose_Jose_am)\
**Post date:** [July 29, 2022, 6:24am UTC](https://discourse.slicer.org/t/echocardiogram-time-stamp/24202/12 "2022-07-29T06:24:08Z")

</div>

Hello Lassoan,

I’m glad to say I was able to obtain timestamp out of the data. I converted the data to nrrd files using philips dicom patcher and it helped in obtaining the timestamp.

1. Also, could you please mention which modules you are using in the video you sent which is titled Preprocessing and Volume rendering.
2. If we convert the data in nrrd format to dcm using slicer 3d, would it retain the time stamp/ animation. When I tried it, the time stamp/animation was not retained. Am i missing something?
3. I wanted to visualise the said data in Unity3D. Does slicer3d has any module pertaining to it?

---

<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:** [July 29, 2022, 11:00am UTC](https://discourse.slicer.org/t/echocardiogram-time-stamp/24202/13 "2022-07-29T11:00:09Z")

</div>

> [@Deepthy\_Rose\_Jose\_am](#):
>
> Also, could you please mention which modules you are using in the video you sent which is titled Preprocessing and Volume rendering.

That is the Echo Volume Render module that will be publicly released in SlicerHeart extension from tomorrow.

> [@Deepthy\_Rose\_Jose\_am](#):
>
> If we convert the data in nrrd format to dcm using slicer 3d, would it retain the time stamp/ animation. When I tried it, the time stamp/animation was not retained. Am i missing something?

Timestamps are preserved in the 4D nrrd file (saved by default as with .seq.nrrd extension).

> [@Deepthy\_Rose\_Jose\_am](#):
>
> I wanted to visualise the said data in Unity3D. Does slicer3d has any module pertaining to it?

Unity is just a good game engine. It has no built-in support for volume rendering (and just a few paid plugins that can do basic volume rendering), so you won’t be able to view echo volumes in any Unity-based applications without very significant development effort. Instead, I would recommend to use SlicerVirtualReality extension if you want to view 4D echo in virtual reality.
