I’m looking to assign an intensity value to a CT image for every voxel within a segment, and the voxels outside that segment should stay the same. I imagine there is a filter for this, but there are so many to choose! Anyone able to point me in the right direction?
A direct way to do this is to use numpy. This example shows how to get the coordinates of all voxels corresponding to a particular label value and this example shows how to modify the values. You’d just need to export the segmentation as a labelmap to use these.
Sorry, I broke this yesterday when added a new effect (Split volume). I’ve fixed the issues now, all effects in SegmentEditorExtraEffects work in both Slicer-4.10 and Slicer-4.11 in releases downloaded tomorrow or later.