As this picture shows, the ROI is a cube, and sometimes it may be better to change it to a sphere. Of course, this function PRISM rendering can be implemented, but it will be more convenient if you can directly adjust the ROI. Or is there a corresponding script code to achieve
Right now you need to create a custom markup node for this, but we plan to provide ellipsoid ROI shape in the near future.
I believe this change is very meaningful，as a neurosurgeon, I often use slicer for surgical planning.This function should be needed by many clinicians.Thank you very much to the team of Dr. Andras Lasso.
What would you use the ellipsoid ROI for?
You can already paint an arbitrary shape region to hide certain parts of the volume from volume rendering.
For example, brain surgery incisions are often oval or irregular. If I use a cube ROI, this kind of simulated incision is not very realistic. In addition, we hope that the area inside the ROI can be hidden, so that the internal situation can be seen in real time. Of course, this function can be achieved through PRISM，This function is really necessary for many neurosurgeons.Currently we are more dependent on Volume Rendering than PRISM.
Just like the picture above, if I want to make a circular surgical skull incision, there are many methods, but my purpose is to hide the skull inside ROI so that I can observe the internal structure of the skull. However, currently ROI is to show the selected area instead of hiding it.
You might find the VolumeRenderingSpecialEffects module in Sandbox extension easier to use then PRISM. It just uses regular volume rendering.
Yeah,it is very convenient.Thank you very much!
You can remove the skull from MRI images using SwillSkullStripper module, and using SegmentEndoCranium module of SlicerMorph extension (or SurfaceWrapSolidify extension) + Mask volume effect. This approach has the advantage that you can specify arbitrary shape.
Volume masking using a segment:
Thanks to Mr. Lassoan for the answer. One disadvantage of this method is that it is irrevocable and not in real time.
Changing the masked volume requires two clicks, it is reversible and happens in a fraction of a second. You can update the ROI anytime, because the original volume is preserved by default and you just update the masked volume (see the demo video above).
I agree though that the two extra clicks (and going to segment editor, creating a segmentation, etc.) is significantly more complicated than just defining an ROI, that’s why we’ll add clipping with ellipsoid ROI. We’ll also add clipping with an ROI box where you can push in/out one side with an ellipsoid shape, which is essential for cropping 4D cardiac ultrasound volumes, but may be useful for quick approximate removal of the skull in brain images, too.