I am new to 3D Slicer and was looking for an answer to my question in the forum but I haven’t been able to find one yet.
I would like to use my CT image to obtain a VOI of the lungs and liver. I would then like to apply this VOI to my PET data and work out the activity in the VOI for both my lungs and liver.
Is this possible?
I would be grateful for any and all help you could offer me, or even point me in the best direction to go with this.
You can use Segment Editor module to specify a VOIs (in Slicer it is called segments) based on the CT (using paint effect, thresholding, etc.). You can then use this segment to blank out all the values outside the segment in the PET image (using “Mask volume” effect): . You can then get all the voxel values from the masked volume as a numpy array in the Python console using slicer.util.arrayFromVolume and compute the activity using numpy functions.
I would recommend this tutorial to learn about Python scripting in Slicer.
If you have a complete workflow, we can help you create a nice automated module from it, with a convenient graphical user interface, using Python scripting.