An application to render computerized tomography (CT or CAT) scans and view the data using various techniques, including:
- Normal CT rendering
- Slice by slice viewing
- Maximum Intensity Projection
- Volume rendering
- Gradient shading
- Smooth gradient shading using interpolation
When volume rendering the opacity of the skin can be changed. Also, when using either gradient shading option, the light source can be moved along the X-axis. Both of these features are controlled using their respective sliders located in the sidebar.
I have included some datasets to be used as default ones. In this case, the file name of the dataset includes the dimensions of the X, Y and Z axis in that order. These are the dimensions to be used in the axis length input boxes when loading a file.
e.g. The filename CThead_256x256x113 has an X-axis length of 256, a Y-axis length of 256 and a Z-axis length of 113.
The original, pre-processed data is from: Stanford volume archive
The Visible human project includes a CT scan of a full human cadaver. I have processed this CT scan for use in this application.
If you wish to render this, download the scan from the following dropbox link: VHPDataset
- Place this file within the directory 'src/data'.
- Ensure the "big-endian?" and "visible human re-sampling?" checkboxes are checked when loading this file.
To only view the data chest up and increase render speed, set the Z-axis length to 512.
Please note the size of this file tends towards 1GB
Read more about the visible human project, and view the original data here: Visible Human Project
All datasets that use the Hounsfield unit are possible to be rendered using this application. In order to render a CT scan of your own, you must have the dimensions of the 3D dataset, the dataset must also be headerless. Place your CT scan into the directory named "data", it will then be selectable in the drop-down menu to load a CT scan.
Please note that only binary files are accepted at this point in time and that little-endian is assumed unless big-endian is selected.
In the command line run the following instructions.