I have a MRI scan that i have applied lut with proper windowing, when i try to volume render this colored MRI i still get grayscale volume.
i have tried using volumeProperty.SetIndependentComponents(False) but then i get error that
“If IndependentComponents is Off in the volume property, then the data must have either 2 or 4 component scalars. The input data has 3 component(s).”
is there a way to color the volume from the color that the data has and with out setting volumeproperty.setColor