Why Volume Data Visualization Matters

by Alexey Tukalo

Volume Data Visualization 101

Volumetric data is very common nowadays. The importance of this dataset type will grow rapidly due to the development of the 3D data acquisition field. Also, because of increasing possibilities to perform an advanced visualization on a modern office workstation with an interactive framerate.

The dataset can be captured by various technologies, e.g. MRI, CT, PET, USCT, or echolocation. It also can be produced by physical simulations, for example, fluid dynamics or particle systems. The set of technologies mentioned before demonstrates that volumetric information plays an important role in medicine. It is used for advanced cancer detection, visualization of aneurysms, and treatment planning.

This kind of data is also very useful for non-destructive material testing via computer tomography or ultrasound. In addition, a huge three-dimensional dataset is produced by geoseismic research.

Overview of Volume Data

Volume data consists of voxels. Voxel is the basic volume element. It can be represented as a point in a 3D space with a certain position and a color. This gives an opportunity to keep up to six scalar parameters.

Usually, the points belong to the fixed grid, so the volume data can be stored as a table. In this case, the runtime representation can be kept as a multidimensional array, and volume data can be represented as a *.csv file in local storage. However, more commonly the dataset is broken into several slices, and every slice is stored as a bitmap image. The approach allows to significantly reduce the model size due to the sophisticated compressing algorithm which could be applied to the images.

Ways of Volume Data Visualization

In this section, we will look at the four main ways to visualize the volumetric dataset. Next, we will discuss the advantages and disadvantages of the technologies.

Slice-Based Approach

This is the most straightforward solution, which implies the separate visualization of every slice of the volume dataset with an opportunity to scroll them interactively.

Further, the simplicity of the implementation and low computational complexity are the key advantages of the technique. However, its main problem is that the viewer should use his/her imagination to reconstruct an entire object structure. As a result, the slice-based approach is not the most suitable for visual analyses of very complex and unknown structures. But, it suits the detection of features inside well-known objects, such as parts of the human body. That’s why, the methodology is widely used in medicine.

For example, it is the most popular way of representation for MRI and CT. It is worth to mention, that general CT and MRI studies have a much lower resolution in one of the dimensions, which causes some difficulties for utilizing the datasets with more advanced technologies.

slice based approach

Emulation of Other Technologies

This approach can be very useful when visual analyses are performed by experts, who are accustomed to certain technology. For instance, it can be used during the development of new technologies in medical and geoseismic areas. Moreover, the emulation allows experts to have a smooth transition to a modern technic from their old solutions.

However, the approach is not very popular due to several reasons :

  • Firstly, it requires the usage of a very detailed volume dataset. However, the major part of the information would be lost or spoiled by mimicking another technology. For this reason, the popularity of the visualization will be steadily decreasing during the integration of the new technology into the experts’ workflow.
  • Secondly, the development of this visualization type requires too much time to archive the results. This would be close to the initial technology’s images and its usage can be dropped at the end of the transition period. An additional problem of the approach is that it requires certain knowledge and experience for the correct result interpretation.

Volume Rendering

Visualization of a 3D object as a 2D image is called 3D rendering. The most common way of 3D rendering is based on photo-realistic visualization of surfaces which are represented by polygonal meshes. Notably, the technology is utilized so widely that modern graphic card architecture is designed to accelerate the operation.

Indirect Volume Rendering

As there are many tools for visualizing polygonal mesh models, the idea behind Indirect Volume Rendering is obvious. The approach consists of two steps.

  • The first one is an extraction of isosurface out of a dataset in accordance with a certain threshold. There are several algorithms that exist to perform the task.
  • The most popular one is Marching Cubes. Sometimes isosurface extraction can be improved by developing a special algorithm that is based on a specific feature of the particular dataset. Then the polygonal surface model can be visualized by any 3D engine or other tools for visualization of polygonal mesh models, e.g. LightningChart MeshModels.
Advantages of the Approach :
  • It contains all the typical features of 3D object visualization such as rotation, usage of different amounts of light sources, interaction with other 3D objects, and so on.
  • As a result, it makes complex 3D structures analysis much simpler.
  • It is especially useful for the visual detection of meaningful details inside unknown datasets.
  • Due to the performance optimization of common 3D rendering engines, the visualization can be handled by any modern office workstation.
  • Moreover, the technique allows developers to use much more sophisticated noise reduction algorithms.
Disadvantages : 

The disadvantages of the approach are caused by the first step of the visualization process.

  • Firstly, conversion of the volume dataset to the polygonal mesh surface leads to the loss of the data from inside the surface area.
  • Secondly, the isosurface extraction algorithm can require complex calculations, so preprocessing can take a noticeable amount of time, that’s why usually it is impossible to interactively change the threshold of the surface extraction.
indirect volume rendering
indirect volume rendering 2

Direct Volume Rendering

Direct Volume Rendering does not require any preprocessing. The data is visualized from an original dataset. Further, it gives the algorithms an opportunity to modify the transfer function and threshold dynamically.

Also, some of the approaches allow to visualization of the internal structure of the dataset in a semi-transparent way.

Further, it is practically the most powerful way to visualize volume data. The visualization has all the advantages of polygonal mesh models. Therefore, it can be easily combined with them on the same scene. In addition, it is possible to cut a part of the model for an investigation of structures hidden by the object surface.

Disadvantages
  • The main disadvantage of the approach was a high-hardware requirement. Due to modern graphic card development achievements, it is possible to run the visualization even with cheap options.
  • Another problem is the high cost of the own volume rendering engine development.
direct volume rendering

Importantly, there are several different technological implementations of Direct Volume Rendering. The most common ones use the tools created for a GPU acceleration of polygonal mesh models rendering in their own way. Above all, texture-based Volume and Volume Ray Casting are presently the most successful approaches of direct volume rendering.

Moreover, texture-based Volume Rendering technic uses a set of planes to construct the object. The dataset is projected to the planes as textures. The final picture is combined by alpha blending of the planes. Volume Ray Casting approach uses cube as a placeholder for the volume model. The model itself is projected to the sides of the cube by the Ray Casting algorithm, which uses rays to accumulate the data and combine it with the specific equation called Ray Function.

Ray Function

Ray Function is a truly fascinating feature of Volume Ray Casting. Therefore, it allows defining how rays perform sampling of the dataset and calculation of the pixel color. Different Ray Functions can extract different features out of the dataset. Let’s discuss three examples of Ray Function:

Examples of Ray Function : 

1. The accumulation Function tries to collect and combine as much data as possible to give a viewer an opportunity to explore the internal structure of the object. The visualization produced by this technique looks like a semi-transparent gel.

Ray function example

Accumulation Ray Function application visualizing the medical dataset.

2. Here, Maximum Intensity Function visualizes only the brightest value sampled by the ray. Visually it provides similar result to the X-ray images. It allows to get an additional information about the internal structure of the object.

maximum intensity function

Maximum Intensity Function application for the ultrasound waves interference simulation.

3. As we can see, Isosurface Rendering draws the model surface in a way that it looks like polygonal model rendering. The final result is very similar to those produced by the Indirect Volume Rendering.

Isosurface Ray Function application

Isosurface Ray Function application for visualization of water flow simulation.

Conclusion

In conclusion, the development of hardware prepares the base for the growth of interest in different volume data acquisition technologies. Improvements in consumer’s computer performance will have a positive effect on popularity of advanced volume visualization techniques, such as Direct and Indirect Volume Rendering, while more basic ones will become less popular.

LightningChart has an outstanding tool for the implementation of Slice-based and Indirect Volume rendering visualizations of volume data. Moreover, our own Direct Volume Rendering Engine with a lot of advanced features for volume data visualization will be available soon.

The database of University of Iowa was utilised to provide the images of Volume Data visualization in this article.