fedorov / MultiVolumeImporter

A 3D Slicer module to support import of multi-volume data from non-DICOM sources, and provide plugin for importing such data from images saved in DICOM.
http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Modules/MultiVolumeImporter
Other
9 stars 25 forks source link

Loading multiframe dicoms from a folder #50

Open macaroniart123 opened 2 years ago

macaroniart123 commented 2 years ago

Hello, I am trying to load a multivolume diacom folder with well over 100 images that restart in original location every x number of images. I tried loading w/ and without frame identifier of SliceLocation and get the following error:

Successfully read 0 frames Traceback (most recent call last): File "C:/Users/rfran/AppData/Local/NA-MIC/Slicer 5.1.0-2022-05-04/bin/../lib/Slicer-5.1/qt-scripted-modules/MultiVolumeImporter.py", line 235, in onImportButtonClicked mvImage.SetExtent(frame0Extent) UnboundLocalError: local variable 'frame0Extent' referenced before assignment

I tried saving the images as an nrrd from 3d slicer and then importing that, but then it says it is only a single frame sequence. Tried this with and without SliceLocation as a frame identifier as well

Ideally, I would be able to create multiple frames using the SliceLocation but am stumbling. Any thoughts?

macaroniart123 commented 2 years ago

@lassoan Im not able to upload the data folder, do you think it would be possible to discuss without?

lassoan commented 2 years ago

I don't see a chance for investigating 4D image loading issues without data access. You can remove all patient health information and even blank out pixel values, but leave everything else intact.

fedorov commented 2 years ago

I agree with Andras.