Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Convert stacks 2D images to 3D Volume

  1. #1
    Newbie Newbie
    Join Date
    Jul 2013
    Posts
    1

    Convert stacks 2D images to 3D Volume

    Hello,

    I have a stack of images in grayscale. I would like display this in openGL in volume form. There are images of MRI (Medical) What is the process please?

    Thanks

  2. #2
    Junior Member Regular Contributor
    Join Date
    Mar 2012
    Posts
    129
    You need to write a volumetric renderer. You can extract a surface from the voxel data. You can do this by simply using cubes (like Minecraft, see http://codeflow.org/entries/2010/dec...s-in-opengl-4/) or you can use something more complex that gives nicer results like Marching Cubes or Surface Nets.

    Alternatively, you can ray cast the voxel data in a fragment shader after loading the layered images into a 3D texture.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •