I’m wondering whether it is already possible to render, within the same 3D scene, a scalar volume along with an RGB volume, with the possibility of setting one of the two, e.g., the scalar volume, as the foreground and the other volume as a background.
I’ve tried using the Multi-Volume option in the Volume Rendering module, without success. The error message I’ve got is the following:
“If IndependentComponents is Off in the volume property, then the data must have either 2 or 4 component scalars. The input data has 1 component(s).”
The RGB volume is loaded as a stack of RGB TIFF files.
I’m working in a 64-bit Windows environment and with Ver. 5.7.0.
The MultiVolume renderer may not support color rendering - I haven’t tried - but you could try making an RGBA volume. There’s no specific GUI tool in Slicer for this but it could be done in python or maybe with some tool like imagej.
If the RGB volume was originally a labelmap or segmentation, yes, you could create a new version using ColorizeVolume. But I’ve never tried that with the MultiVolume volume renderer so it may not work. It would be interesting to try.
Maybe @micgriffa could describe more specifically what the data is and what is desired.