New sequnce building

Operating system: windows 10
Slicer version:4.9
Expected behavior:
Actual behavior:
How could I crop and merge two volume sequences please. If I have 100 frames (transformed from multivolume to image sequence) and I want to select 10 out of those and play together with a different 10 frames as one sequence so that I can use the same fiducial points in one sequence on the other. Also is there a way to save all fiducial points frame by frame as fscv file automatically rather than saving frame by frame.

Thanks for the advice.

HI Could someone kindly let me know why I cannot build up a new sequence from combining previously loaded 2 sequences please. I followed the steps on sequences document, but sequence browser does not play back the combined sequence. Is there any other tutorial or document to read please

The only user interface for editing items in a sequence is the Sequences module. You can clip the sequence by selecting items and click the trashcan button. You can concatenate by selecting proxy node of the other sequence, then go to the first frame you want to add, click left-arrow button to add the frame to the selected sequence, switch to next frame (hit Ctrl+Shift+right-arrow key), click left-arrow button… and repeat the last two steps until you reach the last frame. These operations are tedious if you have more than a few ten frames, but you can automate this quite easily by Python scripting. In the future we plan to add a convenient module for clipping and merging - if you are interested in helping out with writing these simple Python scripted modules then let us know.

For synchronized replay of multiple sequences, you need to make sure all sequences have the exact same index name, unit, and type (you can set it in Sequences module). Index values must match be in the same range if index type is “numeric” (must match exactly if index type is “text”).

Yes, you can write a simple Python script to iterate through all sequence items and append markup point coordinates to a selected file. You can see a simple example of how to iterate through a sequence in Crop volume sequence module.

1 Like

Thank you very much Prof Lasso, I will try this. will reduce the number of frames and try. This has been very useful. I am happy to help in anyway I could, but from my questions you may understand that I am ‘0’ software. (trying to learn python as it looks very useful) But if I could make any contribution like giving input about what options will be useful for research we do, I am more than happy to help in anyway I could.

1 Like

Sorry for continuing the thread. I did try this but when I select the proxy node of the second sequence , I cannot get the frames that I clipped from the first sequence on the right hand box. Adding the whole second sequence does not work. Could you please advise whether I am doing some step wrong/ Thanks a lot

In Sequences module, proxy node of the second sequence will only show up if the node type of the second sequence’s proxy node is the same as the type of nodes in the sequence that you are editing.

1 Like