Nov 16, 2011

So Far, so good.

I have implemented GLUI library to my final project, and you can see the result as above. Since the project is using freeglut instead of glut which is suggested to be used in GLUI, I have made a great effort to make GLUI works in my project.

Following I will try other methods to render the volume.
Not a easy job, hope to finish it on time.

Nov 12, 2011

GLUI Installation

1. Install opengl, and make sure it works out.

2. Download "" (

3. In "glui-2.35/glui-2.35/src/include/GL",you get glui.h.
   creat file C:/Program Files/Microsoft Visual Studio 9.0/VC/include/GL, and put "glui.h" there.

4. in "glui-2.35/glui-2.35/src/msvc", click "glui.dsw" (load and open).

5. in the project Properties: -> C/C++ -> Preprocessor -> Preprocessor definitions and append GLUT_BUILDING_LIB to the existing definitions, seperated by semicolons.

6. in the project Properties: -> C/C++ -> Code Generation -> Runtime Library, and chang it to "Multi-threaded DLL(/MD)" or "Multi-threaded Debug DLL(/MDd)"(Latter one is Better).

7. run project "_glui library", then you get "glui32.lib" in a new "lib" file. Put glui32.lib in "C:/Program Files/Microsoft Visual Studio 9.0/VC/lib".

8. Now you can open an example of GLUI, and repeat step 5 and 6.
Then, Click the menu item "Project" --> "Properties...". Click "Linker" --> "Input" .
Type in Additional Dependencies: glui32.lib glut32.lib glu32.lib opengl32.lib
(Tag1: glui32.lib is only neccesary when you are using GLUI, but make sure there's glui32.lib when you are actually using GLUI).(Tag2: GLUI User Manual mentions that this is the proper order of specifying additional libraries for GLUI, GLUT and OpenGL)

9. Enjoy.


Oct 7, 2011

Brief Overview of final project: CT Visualization in GPU

    CT Visualization is a set of techniques used to display a 2D projection of 3D discretely sampled data set from Computed Tomography (CT). Typically, a CT scanner produces a group of 2D sliced images well ordered in space volume, representing density of the scanned object. With the rapid development of CT, MRI and other biomedical imaging techniques, many diseases are able to be detected early with non-invasive examination. However, such diagnosis, more or less, depends on doctor’s judgment. Hence, faster rendering, higher resolution, better arranged display and other improvements to represent CT Data, will be very beneficial in disease diagnosis. By computer graphics and scientific visualization, the investigator is now able to quickly obtain images with explicit geometric structure as well as tissue difference of certain part of the body. In pass few decades, as incredible booming growth in Graphics Processing Unit (GPU) industry, a trend that to applied advanced GPU techniques in visualization has been developed. Computing and rendering in high-performance GPU instead of CPU results in better quality of the output images, which is significant to improve the accuracy of doctor’s diagnosis.
In my final project, I am going to propose a method using OpenGL and CUDA to transform density CT data from 2D gray-level sliced image sequence into 3D volume. The first thing I am going to do is to render the volume space in openGL, adding exploration controls, e.g., rotation, zooming, shifting etc. And then add different rendering methods, for example different to compare their results and performance. At last, I will try to colorize the image to distinguish different tissues and organs as the image showed below. In addition, I will try to read DICOM data, the general data format for medical images, and implement my program on android device with openGL ES.
Here is the pdf link:
Final Project Brief Overview