This is a new feature, just added to the Nightly. There is a release planned in the next few weeks. It might be possible to use the newer code with the older release, I didn’t check.
Is there any chance you are a python programmer? Neither Andrey nor I have a particular use case for 4D nifti files but we added minimal support without planning to take on all possible uses. if you wanted to customize the interface to suit what’s most convenient that would be great.
Right now the code only tries to read a 4D nifti when there’s one file in the selected folder, but this could obviously be generalized to loop through and load all the files, but also some logic would be needed to tell when it’s a directory of 3D that should be one multivolume vs. a folder with more than one 4D volume. Perhaps the easiest would be just to add a file browser in addition to the directory browser, perhaps with a radio button to select which to use. None of this is especially hard to do, but it would be some work to implement, document, test, etc.
Again, thanks for all the help. Unfortunately, I am not a python programmer. I have had programming experience (Fortran for computations many years ago), but probably would take me a while to get to know the language and Slicer code. I could ask around here if someone is up to it.
I do like slicer now that I understand it a bit more. It was very helpful with some DTI reconstructions. I have been recommending it to our customers and I am trying to get it running for the group looking at the cardiac data. I think it will be very useful for them.
Doug
4D cardiac DICOM import in Slicer is quite good. Probably one of the best among all open-source applications. If you find any problems with importing cardiac DICOM data then let us know.