Maximum intensity projection in pyqtgraph using GLVolumeItem

13 views
Skip to first unread message

Junxi Zhu

unread,
Jul 5, 2019, 12:14:36 PM7/5/19
to pyqtgraph

I would like to use the maximum intensity projection (MIP) to view some 3D medical images in pyqtgraph using GLVolumeItem. I see that there are three pre-defined GLOptions settings. The translucent and additive mode both look like MIP. So I am wondering

  1. 1. Is it the real MIP view? If not, how should I change the GLOptions (e.g., GL_DEPTH_TESTGL_BLEND, etc)?
  2. 2. Is there a website that contains the GL configurations (e.g., GL_DEPTH_TESTGL_BLEND, etc) for different display mode?

Junxi Zhu

unread,
Jul 5, 2019, 12:35:23 PM7/5/19
to pyqtgraph

Update:

From this website (http://schorsch.efi.fh-nuernberg.de/roettger/index.php/VolumeRendering/MaximumIntensityProjection), I set the GLOptions to be

{'glBlendFunc': (GL_ONE, GL_ONE), 'glBlendEquation': (GL_MAX_EXT), GL_BLEND: True}

However, an error pops up saying that GL_MAX_EXT is not defined. Any ideas how I should fix it?

Reply all
Reply to author
Forward
0 new messages