Skip to main content
Log in

Wavefront raycasting using larger filter kernels for on-the-fly GPU gradient reconstruction

  • Original Article
  • Published:
The Visual Computer Aims and scope Submit manuscript

Abstract

The quality of images generated by volume rendering strongly depends on the accuracy of gradient estimation. However, the most commonly used techniques for on-the-fly gradient reconstruction are still very simple, such as central differences; they generally gather only limited neighbourhood information and thus ultimately produce rather poor quality images. While there are many higher-order reconstruction methods, such as 3×3×3 or 5×5×5 filters, which can improve the quality, their excessive sampling costs have meant that they are generally used only for pre-computed gradients, which are then quantized and stored for later runtime re-interpolation. This may introduce further errors and, significantly, may consume valuable texture memory.

In this paper, we address these issues by proposing a CUDA-based rendering framework that uses larger filter kernels for on-the-fly gradient computation in real-time raycasting applications. By using adaptive wavefront tracing, our approach can dramatically reduce the memory bandwidth requirements related to larger neighbour samples. To further ensure that samples are consumed wisely, we have devised a novel adaptive sampling scheme and a customized 3D mipmapping technique in the CUDA environment to sample at a proper level of detail as the ray recedes into the distance. We compared our technique with two previous state-of-the-art GPU raycasting algorithms and found that it achieves higher quality imaging and faster rendering performance across a variety of data sets than the previous methods.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Agus, M., Giachetti, A., Gobbetti, E., Guitián, J.A.I., Marton, F.: Towards advanced volumetric display of the human musculoskeletal system. In: Eurographics Italian Chapter Conference, Conference held in Salerno, Italy, June 2008. Eurographics Association

  2. Agus, M., Bettio, F., Gobbetti, E., Marton, F., Zorcolo, A.: Recent results in rendering massive models on horizontal parallax-only light field displays. In: Final Workshop of GRID projects, AVVISO 1575, February 2009 (to appear)

  3. Amanatides, J.: Ray tracing with cones. SIGGRAPH Comput. Graph. 18(3), 129–135 (1984)

    Article  Google Scholar 

  4. Dong, F., Clapworthy, G.J., Krokos, M.A.: Volume rendering of fine details within medical data. In: IEEE Visualization 2001, pp. 387–396. IEEE Computer Society, Los Alamitos (2001)

    Google Scholar 

  5. Engel, K., Hadwiger, M., Kniss, J., Rezk-Salama, C., Weiskopf, D.: Real-Time Volume Graphics. A.K. Peters Ltd. (2006)

  6. Hadwiger, M., Sigg, C., Scharsach, H., Buhler, K., Gross, M.: Real-time ray-casting and advanced shading of discrete isosurfaces. Comput. Graph. Forum 24(3), 303–312 (2005)

    Article  Google Scholar 

  7. Harris, M.: Optimizing parallel reduction in CUDA, 2007

  8. Ihrke, I., Ziegler, G., Tevs, A., Theobalt, C., Magnor, M., Seidel, H.-P.: Eikonal rendering: efficient light transport in refractive objects. ACM Trans. Graph. 26(3), 59 (2007)

    Article  Google Scholar 

  9. Kim, J.: Volume raycasting with CUDA. PhD Dissertation, University of Maryland, College Park (2008)

  10. Krüger, J., Westermann, R.: Acceleration techniques for GPU-based volume rendering. In: Proceedings IEEE Visualization 2003, pp. 287–292 (2003)

  11. Liu, B., Clapworthy, G.J., Dong, F.: Accelerating volume raycasting using proxy spheres. Comput. Graph. Forum 28(3), 839–846 (2009)

    Article  Google Scholar 

  12. Ljung, P.: Adaptive sampling in single pass GPU-based raycasting of multiresolution volumes. In: Volume Graphics 2006, pp. 39–46 (2006)

  13. Ljung, P., Lundström, C., Ynnerman, A., Museth, K.: Transfer function based adaptive decompression for volume rendering of large medical data sets. In: IEEE Symposium on Volume Visualization and Graphics, pp. 25–32 (2004)

  14. Marsalek, L., Hauber, A., Slusallek, P.: High-speed volume ray casting with CUDA. In: IEEE Symposium on Interactive Ray Tracing, Poster. Eurographics Association (2008)

  15. Neumann, L., Csébfalvi, B., König, A., Gröller, E.: Gradient estimation in volume data using 4D linear regression. In: Gross, M., Hopgood, F.R.A. (eds.) Computer Graphics Forum (Eurographics 2000), vol. 19(3), pp. 351–358 (2000)

  16. NVIDIA. NVIDIA CUDA SDK 2.3 code samples (2009)

  17. Weinlich, A., Keck, B., Scherl, H., Kowarschik, M., Hornegger, J.: Comparison of high-speed ray casting on GPU using CUDA and OpenGL. In: Buchty, R., Weiss, J.-P. (eds.) Proceedings of International Workshop on New Frontiers in High-performance and Hardware-aware Computing, vol. 1, pp. 25–30. Karlsruh (2008)

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Baoquan Liu.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Liu, B., Clapworthy, G.J. & Dong, F. Wavefront raycasting using larger filter kernels for on-the-fly GPU gradient reconstruction. Vis Comput 26, 1079–1089 (2010). https://doi.org/10.1007/s00371-010-0493-3

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00371-010-0493-3

Keywords

Navigation