You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on visualizing microscopy data that have multiple channels. These channels are basically co-registered volumes and I would like to render them at the same time using different color maps and then blend the pixel colors additively. However, adding multiple volumes to the plotter (plotter.add_volume(volume, opacity=[1], cmap=cmap, blending=maximum) ) overwrites the previously added volumes and only the last one is shown. I guess that’s because of the opaque opacity function. I would just like to add together the RGB values of the pixels, so basically additive blending in image space. Is there a good way to do this in pyvista?
Thanks
Haichao
Example Data
The text was updated successfully, but these errors were encountered:
I tried using a MultiBlock and call add_volume(block,...) but this seem to do the same thing as adding the volumes individually, except that I lose control over the color maps to be used for each volume [1]. Is there any way to achieve have control over color blending (in image space) in pyvista?
Description
Hi,
I am working on visualizing microscopy data that have multiple channels. These channels are basically co-registered volumes and I would like to render them at the same time using different color maps and then blend the pixel colors additively. However, adding multiple volumes to the plotter (plotter.add_volume(volume, opacity=[1], cmap=cmap, blending=maximum) ) overwrites the previously added volumes and only the last one is shown. I guess that’s because of the opaque opacity function. I would just like to add together the RGB values of the pixels, so basically additive blending in image space. Is there a good way to do this in pyvista?
Thanks
Haichao
Example Data
The text was updated successfully, but these errors were encountered: