Unable to create a new sequence

Hi ,Sorry for posting this again.
I am trying to create new sequence out of several multivolume sequences.
I have about 3-5 frames in each multivolume sequence that I want to play back together.
I ve selected the first sequence as the active node in the sequences module and added subsequent sequences on to that by left arrow key.

My problems

  1. The subsequent sequences does not show all the frames , they get sent to the left hand box as one single entity, not as separate frames.
    2.When I play back , it only show the original sequence, the second one is not added

Thank you very much

Would you like to concatenate them into a long sequence or replay them in sync?

Have you loaded the .nrrd files as MultiVolume nodes or as Volume Sequence nodes (using Sequences extension)? A .nrrd file is loaded by default as MultiVolume - you need to choose “Volume Sequence” in the “Description” column to load it as a Volume Sequence that you can edit in Sequences module. You can make a .nrrd file loaded as Volume Sequence by default, by changing the file extension from .nrrd to .seq.nrrd.

Thank you very much Prof Lasso @lassoan. Yes I am im trying to concatenate them into a long sequence.

I have loaded them as a volume sequence, not as .nrrd.
Is it possible to do it while keeping this as a volume sequence.
Actually I want to make a long sequence out of output volume frames that are resulted by sequence registration.
Any advice please. Thanks

To concatenate sequences, probably the simplest is to load all the sequences into the scene and then copy-paste this script into the Python console.

1 Like

Thank you very much Prof@lassoan

Hi Prof. Lasso, @lassoan

Many thanks for the help.
Sorry to continue the same thread but I have two questions and will be grateful if you could help.

  1. I want to create a sequence of output volumes. i.e after image registration of multiple frames, I create about 10 output volumes. This is because I try to reference the fisrt frame to the second and then the second to the third rather than do it all at once. I expect the accuracy will be more if I do that.
    My question is if I concatenate all output volumes will that automatically give me the transformation sequence to calculate displacement using fiducial markers.

  2. I am trying to segment my images, which are bones. Sp If I achieve frame 1 segmented stl model and save it , and then try to do the next frame segmentation they overlap. What should I do to get individual segmented models for each frame without overlapping, please. only way I can think is load the sequence repeatedly and get the frame of interest and delete all others and segment and save. Probably do this procedure for multiple frames. Is there an easy alternative.

  3. If I do this somehow, can I make a sequence of STL files that can be registered using elastix- please
    Thanks a lot
    Please let m know if I need to create a separate thread for this.
    Thanks
    Jain

Yes. Once you have your input as a volume sequence, you can use Sequence Registration extension to compute transform sequence that you can apply to markup fiducials.

You can allow overlapping of segments (without overwriting each other) by setting “Overwrite other segments” → “None” in Masking section Segment Editor module. Since you will have all segments in a single segmentation node, you cannot switch between the segments using Sequence Browser.

If you want to create a segmentation sequence for a volume sequence then follow instructions here: Documentation/Nightly/Extensions/Sequences - Slicer Wiki

If you have a volume sequence then you can use Sequence Registration extension to register the frames to each other using Elastix.