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

Use SliceLocation to identify frames #7

Open fedorov opened 10 years ago

fedorov commented 10 years ago

This approach can potentially be more robust and generic than using pre-defined fixed tags. The tags across the frames that correspond to the same slice location can be diffed to find the tag that is changing.

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?

lassoan commented 2 years ago

@macaroniart123 please create a separate issue for this question. If possible share the data set you have problems with (upload somewhere and post the link; make sure it does not contain patient health information).

macaroniart123 commented 2 years ago

ok will do thank you!