PerkLab / SlicerSandbox

Collection of utilities that are not polished implementations but can be useful to users
BSD 2-Clause "Simplified" License
69 stars 24 forks source link

Feature Request: Apply ColorizeVolume to all items of a sequence #26

Open henrykrumb opened 7 months ago

henrykrumb commented 7 months ago

If the selected Volume and Segmentation belong to a Sequence, I would want the Colorized Volume to be generated for each frame of that sequence, and the Colorized Volume to be tracked within that sequence. So far, I would have to do apply my settings manually for each individual frame which is quite tedious.

The user should be prompted if they want to apply changes to the whole Sequence. We could use a Checkbox "Colorize whole Sequence" that is disabled for atomic volumes (not part of a Sequence) and enabled for Sequential Volumes+Segmentations.

I created this PR in SlicerTotalSegmentator which has a similar behavior, but for creating the segmentation:

https://github.com/lassoan/SlicerTotalSegmentator/pull/56

If I use it to generate a 4D segmentation, I would like to use ColorizeVolume to create a 4D visualization of that sequence automatically.