I have encountered another problem with importing “.seq.nrrd” sequence files. I have recorded a sequence file with the PLUS remote module via Slicer containing US and tracker data. When I try to import this directly into Slicer, it reads the volume voxel data but not the spacing / offset / tracking information stored with it.
Is there any way I can access the PLUS-stored data from the “.seq.nrrd” file directly from Slicer?
Plus saves the raw data (original transforms and uncalibrated image data) to sequence files, so you need to apply calibration as explained in SlicerIGT tutorials.
That is exactly what I was trying to do (import the PLUS raw data into Slicer to run the calibration). But for this it is necessary to read the volumes AND the original transforms from the .seq.nrrd file. I am not sure what I am doing wrong since only the volumes appear in the data module but not the corresponding transforms.
Do you have transforms in the .seq.nrrd file?
Have you installed Sequences extension?
Can you replay the sequence using sequence browser toolbar (play/pause/prev/next buttons)?
Yes to all of your questions. The .seq.nrrd file saved by PLUS contains a header like the example included below. In this case I have used the “FakeTracker” for simulation and as you can see the transforms are included in the PLUS file. When replaying this file via PLUS remote, the volumes and the transforms can be transferred to Slicer without problems. However, when I try to import the file directly into Slicer, only the volumes are imported with default spacing, zero offset and without the corresponding transforms. I can use the sequence browser to move through the volume sequence.
Any ideas what might be going wrong? Thanks for your help!
(Note that we have added a custom field for “ElementSpacing” according to what is sent from the US station but this should not have any effect on Slicer / PLUS).
Thanks for the data. It seems that Sequences can only import tracked image data from seq.mha or seq.mhd files (and not from seq.nrrd or seq.nhdr). If you save the data in Plus as seq.mha then you can load it as “Sequence Metafile” instead of “Volume Sequence”.
I’m not sure if Plus can save 4D tracked ultrasound in seq.mha file. If that’s the case then submit a feature request at Plus library’s issue tracker.