# Simultaneously display a sequence at different indices

**URL:** <https://discourse.slicer.org/t/simultaneously-display-a-sequence-at-different-indices/42588>\
**Category:** Support\
**Tags:** sequences, heart\
**Created:** [April 16, 2025, 7:00pm UTC](https://discourse.slicer.org/t/simultaneously-display-a-sequence-at-different-indices/42588 "2025-04-16T19:00:39Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [April 16, 2025, 7:00pm UTC](https://discourse.slicer.org/t/simultaneously-display-a-sequence-at-different-indices/42588/1 "2025-04-16T19:00:39Z")

</div>

How would I go about displaying a sequence in the slice views where one 2D slice viewer is displaying the sequence at a given index and another 2D slicer viewer is displaying the same sequence at a different index?

Consider the following use case - I have loaded Cardiac CT sequence and I have created a segmentation sequence that segments the heart at each of the indices. How would I go about showing the CT+segmentation at **systole** in the “Red” 2D slice viewer and also the CT+segmentation at **diastole** in the “Green” 2D slice viewer? Where the current layout is Red+Green so both would be seen simultaneously.

Maybe @lassoan you have knowledge in this area of Sequences functionality as well as Cardiac.

This principle of displaying the a specific index of a sequence in a given 2D slice viewer could apply more broadly for comparing states of a sequence. I have considered creation duplicate objects in the Slicer scene as a workaround, but it can be difficult to keep things in sync if say I want to edit the segmentation at diastole while also simultaneously viewing the segmentation at systole. This is because any changes to my copied node I would have to update the object in the sequence as well and vice versa.

---

<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 16, 2025, 7:33pm UTC](https://discourse.slicer.org/t/simultaneously-display-a-sequence-at-different-indices/42588/2 "2025-04-16T19:33:09Z")

</div>

This is a quite common use case in cardiac analysis. You can use multiple sequence browser nodes, each displaying a different time point. It works very well with segmentation, etc. all the sequence browser nodes can refer to the same sequences.

The only inconvenient thing is that you need to be mindful of which sequence browser node is selected in the Sequence toolbar. SlicerHeart modules often have sequence browser widget in the module GUI to make it easier to work with multiple sequence browser nodes in various views.

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [April 16, 2025, 7:39pm UTC](https://discourse.slicer.org/t/simultaneously-display-a-sequence-at-different-indices/42588/3 "2025-04-16T19:39:12Z")

</div>

Could you provide a mrb with a scene setup like this? I observe that if I have 2 sequence browsers that have the same synchronized sequence nodes specified that changing the index of one versus the other doesn’t produce the result I want to see. This is because the 2D slice viewer specifies a given volume node rather than a specific sequence index of said volume node.

---

<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 17, 2025, 4:42am UTC](https://discourse.slicer.org/t/simultaneously-display-a-sequence-at-different-indices/42588/4 "2025-04-17T04:42:56Z")

</div>

You can show different time point in each Slicer view by using different proxy nodes in each browser node. The slice viewer does not know anything about sequences, it just displays a proxy node.

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [April 17, 2025, 1:29pm UTC](https://discourse.slicer.org/t/simultaneously-display-a-sequence-at-different-indices/42588/5 "2025-04-17T13:29:40Z")

</div>

> [@jamesobutler](#):
>
> have considered creation duplicate objects in the Slicer scene as a workaround, but it can be difficult to keep things in sync if say I want to edit the segmentation at diastole while also simultaneously viewing the segmentation at systole. This is because any changes to my copied node I would have to update the object in the sequence as well and vice versa.

> [@lassoan](#):
>
> You can show different time point in each Slicer view by using different proxy nodes in each browser node.

Isn’t different proxy nodes resulting in multiple objects in the scene that I then I have to manage keeping in sync? If I update the segmentation of one of the proxy nodes I would then want it to be updated in the other.

---

<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 17, 2025, 4:31pm UTC](https://discourse.slicer.org/t/simultaneously-display-a-sequence-at-different-indices/42588/6 "2025-04-17T16:31:21Z")

</div>

Each proxy node represents a different timepoint. You can view and update various timepoints in the same sequence via one or more proxy nodes. When you segment a volume sequence, then you usually store the segmentation in a sequence, too. No need for any manual updates, as the Sequences module keeps everything in sync.

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [April 17, 2025, 4:32pm UTC](https://discourse.slicer.org/t/simultaneously-display-a-sequence-at-different-indices/42588/7 "2025-04-17T16:32:36Z")

</div>

The different proxy nodes and a second sequence browser seems to be no different than just loading the “CT Cardio Sequence” sample data twice into the scene. I’m not viewing the same object at 2 different time indices simultaneously in the layout manager, but viewing 2 copies that I’m viewing at different sequence indices.

 ![{102D5EBB-F241-4DEC-8A7F-8DCC9A9CA972}](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/a/faf1112016b436200aa0fe4aba1c021f00d8bb4c.png)

 ![{A04509B0-E494-47B3-B5FF-3D0EEAC752A0}](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/d/1dbca60134495f1b2f4c1e27236cb1190fb83b49.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:** [April 17, 2025, 4:35pm UTC](https://discourse.slicer.org/t/simultaneously-display-a-sequence-at-different-indices/42588/8 "2025-04-17T16:35:24Z")

</div>

I would not recommend to make a copy of the sequence nodes. Instead, you can add a secondary browser node for your existing volume sequence and segmentation sequence nodes.

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [April 17, 2025, 4:38pm UTC](https://discourse.slicer.org/t/simultaneously-display-a-sequence-at-different-indices/42588/9 "2025-04-17T16:38:16Z")

</div>

I guess I’m having difficulties understanding how to use the Sequences module GUI to do this.

 ![{FD6A909A-7616-4D33-8182-C251586D0682}](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/9/a9b765b93e8ed065f47e46b8a5735e121670aa21.png)

Upon creating a 2nd browser and adding the CTCardioSeq as synchronized sequence to it

 ![{70F86730-06A6-4A1C-B2F1-AB54D8695E89}](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/5/d5a01079e4b139386f4d35203dd63d8f035f33e0.png)  
I observe now that I have 2 copies in the scene:  
 ![{4C0F6083-3A92-4162-A79D-68C20CC8176A}](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/0/f0b6914fa97ce2cae414019b6f2a97ba4f56e475.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:** [April 17, 2025, 4:41pm UTC](https://discourse.slicer.org/t/simultaneously-display-a-sequence-at-different-indices/42588/10 "2025-04-17T16:41:51Z")

</div>

I agree that the Sequences module GUI is not easy to use. Maybe what is confusing is that your proxy nodes are called `CTCardioSeq`. If you check the “Rename” checkbox (so that the timepoint is included in the proxy node name) then it may make things more clear.

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [April 17, 2025, 4:45pm UTC](https://discourse.slicer.org/t/simultaneously-display-a-sequence-at-different-indices/42588/11 "2025-04-17T16:45:04Z")

</div>

Ok I see it reflecting the name now.

 ![{6F8FFEB0-B273-4E2D-9B59-13EF269B1383}](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/1/31d1bc55ce3bb65ea9e97fcb85a6bee982764a52.png)

What I want to do next is simultaneously display my CTCardioSeq at frame 0 in the Red 2D Slice viewer and my CTCardioSeq at frame 2 in the Green 2D Slice viewer. This is because I ultimately desire viewing 2 different indices simultaneously in the layout rather than toggling between the two. How would I go about this?

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [April 17, 2025, 4:52pm UTC](https://discourse.slicer.org/t/simultaneously-display-a-sequence-at-different-indices/42588/12 "2025-04-17T16:52:25Z")

</div>

Ultimately it appears that I’m still dealing with creating an additional copy of the object in the scene so that modules such as Volume Rendering no longer have the single option of rendering CTCardioSeq, but now has 2 different volumes to choose from. If I threshold my proxy node, then it doesn’t also threshold my display at the 2nd sequence index. I would have to try and keep this sync with various observe events. It’s confusing in that I’m not really viewing 1 sequence at different indices, but have created 2 different sequences that I’m manipulating.

 ![{9BBB9C7F-19FF-4809-94F4-03096D2C6473}](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/a/aa3dfab6f05c5413b1ad6814b69d4e324fdfbfcb.png)

 ![{B712A373-C91C-4684-9E7A-5AB9CAC87F01}](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/6/664dce26f4776f34b411637266179f7810591804.png)

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [April 17, 2025, 4:56pm UTC](https://discourse.slicer.org/t/simultaneously-display-a-sequence-at-different-indices/42588/13 "2025-04-17T16:56:56Z")

</div>

If I want to view the 10 sequence index CTCardioSeq in a tiled film strip view of all the axial views, then it seems like my scene one would have 10 scalar volume nodes in the scene along 10 different sequence browsers.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/4/44e28e033e721b80d7e85dd3e2dd4d79d7e9eccd.jpeg)
