Improve user experience while importing data
fedorov opened this issue · 1 comments
fedorov commented
Two options (later add icons?):
- import into DB only
- import & load
Import and load:
- index the directory:
indexer = ctk.ctkDICOMIndexer(); indexer.addDirectory(slicer.dicomDatabase, inputStudyDir) - get the list of loadables and examine using each one (?)
plugin = slicer.modules.dicomPlugins'DICOMScalarVolumePlugin'
svs = plugin.examine([filenames])
volume = plugin.load(svs[0])