Hi. I would like to know if there exists some kind of preview-widget (opensource) you know for Slicer that achieves the following:
Has a pixmap where the preview current dicom image of the Series is loaded
Has a slider to move through the series in a way that the offset of the slices goes on positive direction and allows to preview all dicom images of Series using all the slider range
Dear @pieper have you worked on anything similar that you could share?
Thanks for your attention and to everyone answering
Have a great day
Hi @mau_igna_06 - yes we used to have something like this as part of the ctkDICOM infrastructure but it wasn’t every quite finished so it was disabled (thumbnail jpg images were generated when the dicom files were imported). But these days I would suggest just reading and rendering the images on the fly from disk would typically be efficient enough for what you are describing. An image rendering feature could be added to the metadata browser dialog. All the code for generating the dicom images in qt format is still around in the code so it would be pretty easy to hook it up to display images along side the metadata in the metadata browser dialog (or somewhere else).
Here’s what the original prototype looked like from the 2011 hackfest (good times!).