Enhancing Ray Casting with a Modified Adaptive Sampling Technique Based on Feature Importance
DOI:
https://doi.org/10.24191/jcrinn.v11i2.596Keywords:
Radiation field visualization, Ray casting, Adaptive sampling, Feature importance, Computational efficiencyAbstract
Radiation simulation is an essential tool for predicting radiation field distributions and supporting safety assessment, emergency response, and training applications, where accurate visualization plays a critical role in understanding spatial dose variations. However, conventional ray casting methods commonly employ an equidistant sampling strategy, which fails to account for the heterogeneous characteristics of radiation data. This leads to redundant computations in homogeneous regions and insufficient representation of critical areas with sharp gradients or complex structures, thereby reducing both computational efficiency and visualization quality. To address this limitation, this paper proposes a Feature Importance-Based Adaptive Ray Casting Algorithm, which modifies the sampling technique by introducing a feature importance mechanism. Specifically, distance weighting, gradient magnitude, and radiation dose values are integrated to adaptively adjust sampling density and shading intensity along each ray. By allocating more computational resources to physically and visually significant regions, the proposed method enhances boundary representation, preserves critical structural details, and reduces unnecessary sampling. Experimental results demonstrate that the proposed approach improves the visual representation of radiation dose distributions by producing clearer boundaries in high-dose regions, smoother colour transitions, and fewer visual artefacts in low-gradient areas. These results indicate that the proposed method enhances the visual fidelity and interpretability of radiation field visualisation. Additionally, it produces clearer boundaries in high-dose regions, smoother colour transitions, and fewer visual artefacts in low-gradient areas. These results indicate that the method achieves an effective balance between sampling resource utilisation and visualisation quality. Furthermore, the proposed method reduced the number of sampling points by 60% while maintaining superior visualization quality, demonstrating improved computational efficiency.
Downloads
References
Bai, H., Lin, Y., Chen, Y., & Wang, L. (2023). Dynamic PlenOctree for adaptive sampling refinement in explicit NeRF. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV) (pp. 8751–8761). https://doi.org/10.1109/ICCV51070.2023.00807.
Chen, S., Zhou, J., & Li, L. (2024). Optimizing 3d gaussian splatting for sparse viewpoint scene reconstruction. arXiv preprint arXiv:2409.03213. https://arxiv.org/abs/2409.03213.
Feng, C., Qin, T., Ai, B., Ding, J., Wu, T., & Yuan, M. (2024). Dynamic typhoon visualization based on the integration of vector and scalar fields. Frontiers in Marine Science, 11, 1367702. https://doi.org/10.3389/fmars.2024.1367702.
Firmino, A., Frisvad, J. R., & Jensen, H. W. (2023). Denoising-aware adaptive sampling for Monte Carlo ray tracing. In SIGGRAPH ’23 Conference Proceedings (pp. 1–11). ACM. https://doi.org/10.1145/3588432.3591537.
Guo, Y., Li, B., Li, Y., Du, W., Feng, W., Feng, S., & Miao, G. (2023). Application of a linear interpolation algorithm in radiation therapy dosimetry for 3D dose point acquisition. Scientific Reports, 13, 4539. https://doi.org/10.1038/s41598-023-31562-3.
Hachisuka, T., Jarosz, W., Weistroffer, R. P., Dale, K., Humphreys, G., Zwicker, M., & Jensen, H. W. (2008). Multidimensional adaptive sampling and reconstruction for ray tracing. In ACM SIGGRAPH 2008 papers (pp. 1-10). Association for Computing Machinery.
Hadwiger, M., Al-Awami, A. K., Beyer, J., Agus, M., & Pfister, H. (2018). SparseLeap: Efficient empty space skipping for large-scale volume rendering. IEEE Transactions on Visualization And Computer Graphics, 24(1), 974-983. https://doi.org/10.1109/TVCG.2017.2744091.
Hochstetter, H., Orthmann, J., & Kolb, A. (2016, June). Adaptive sampling for on-the-fly ray casting of particle-based fluids. In Proceedings of High Performance Graphics (pp. 129-138). Eurographics Association.
I. A. E. A. (2006). Fundamental safety principles (Vol. 1273). Vienna, Austria: International Atomic Energy Agency.
I. A. E. A. (2015). Response for a Nuclear or Radiological Emergency. Vienna, Austria: International Atomic Energy Agency.
Kawamura, T., & Idomura, Y. (2020). Improvement in interactive remote in situ visualization using SIMD-aware function parser and asynchronous data I/O. Journal of Visualization, 23(4), 695–706. https://doi.org/10.1007/s12650-020-00652-z.
Kindlmann, G., & Durkin, J. W. (1998). Semi-automatic generation of transfer functions for direct volume rendering. In Proceedings of the IEEE Symposium on Volume Visualization (pp. 79–86). IEEE. https://doi.org/10.1109/SVV.1998.729588.
Kniss, J., Kindlmann, G., & Hansen, C. (2002). Multidimensional transfer functions for interactive volume rendering. IEEE Transactions on Visualization and Computer Graphics, 8(3), 270–285. https://doi.org/10.1109/TVCG.2002.1021579.
Knoll, A., Hijazi, Y., Westerteiger, R., Schott, M., Hansen, C., & Hagen, H. (2009). Volume ray casting with peak finding and differential sampling. IEEE Transactions on Visualization and Computer Graphics, 15(6), 1571–1578. https://doi.org/10.1109/TVCG.2009.143.
Kraft, V., Link, F., Schenk, A., & Schumann, C. (2020, October). Adaptive illumination sampling for direct volume rendering. In Computer Graphics International Conference (pp. 107-118). Cham: Springer International Publishing.
Lee, S., & Kye, H. (2023). Efficient MIP volume rendering via fast SIMD interpolation and memory access reordering. Multimedia Tools and Applications, 82, 10515–10534. https://doi.org/10.1007/s11042-022-13732-z.
Leonhardt, V., Wiebel, A., & Garth, C. (2025). A framework for visual comparison of scalar fields with uncertainty. The Visual Computer, 41(7), 4431–4448. https://doi.org/10.1007/s00371-025-03838-w.
Lesar, Ž. (2015). Real-time ray casting of volumetric data. In 2015 IEEE International Conference on Computer as a Tool (EUROCON) (pp. 1–6). IEEE. https://doi.org/10.1109/EUROCON.2015.7313802.
Levoy, M. (1988). Display of surfaces from volume data. IEEE Computer Graphics and Applications, 8(3), 29–37. https://doi.org/10.1109/38.511.
Li, W., Liang, C., Yang, F., Ai, B., Shi, Q., & Lv, G. (2023). A spherical volume-rendering method of ocean scalar data based on adaptive ray casting. ISPRS International Journal of Geo-Information, 12(4), 153. https://doi.org/10.3390/ijgi12040153.
Li, L., Tang, M., & Yang, Y. (2024). Random ordinate method for mitigating the ray effect in radiative transport equation simulations. arXiv preprint arXiv:2407.12527. https://arxiv.org/abs/2407.12527.
Liang, Y., Liu, T., Huo, Y., Wang, R., Chen, S., & Bao, H. (2024). Adaptive sampling and reconstruction for gradient-domain rendering. Computational Visual Media, 10, 885-902. https://doi.org/10.1007/s41095-023-0361-5.
Lili, L., Shengyong, C., & Yan, S. (2013). Plane-based sampling for ray casting algorithm in sequential medical images. Computational and Mathematical Methods in Medicine, 2013, Article 970790. https://doi.org/10.1155/2013/970790.
Ljung, P. (2006). Adaptive sampling in single pass, GPU-based raycasting of multiresolution volumes [Master's thesis, Linköping University].
López, O., & Yılmaz, Ö. (2023). Embracing off-the-grid samples. Sampling Theory, Signal Processing, and Data Analysis, 21(2), Article 26. https://doi.org/10.1007/s43670-023-00067-5.
Meißner, M. (2000). Volume visualization and volume rendering techniques. Eurographics Tutorial. https://www.labri.fr/perso/preuter/imageSynthesis/02-03/papers/volvistut.pdf.
Mori, Y., Isobe, T., Ide, Y., Uematsu, S., Tomita, T., Nagai, Y., ... & Sakae, T. (2024). Visualization of spatial dose distribution for effective radiation protection education in interventional radiology: obtaining high-accuracy spatial doses. Physical and Engineering Sciences in Medicine, 47(4), 1665-1676.
Morrical, N., Usher, W., Wald, I., & Pascucci, V. (2019, October). Efficient space skipping and adaptive sampling of unstructured volumes using hardware accelerated ray tracing. In 2019 IEEE Visualization Conference (VIS) (pp. 256–260). IEEE. https://doi.org/10.1109/VISUAL.2019.8933762.
Pharr, M., Jakob, W., & Humphreys, G. (2023). Physically based rendering: From theory to implementation (4th ed.). MIT Press.
Ren, K., Jiang, L., Lu, T., Yu, M., Xu, L., Ni, Z., & Dai, B. (2024). Octree-gs: Towards consistent real-time rendering with lod-structured 3d gaussians. arXiv preprint arXiv:2403.17898. https://arxiv.org/abs/2403.17898.
Sarton, J., Zellmann, S., Demirci, S., Güdükbay, U., Alexandre-Barff, W., Lucas, L., ... Wald, I. (2023). State-of-the-art in large-scale volume visualization beyond structured data. Computer Graphics Forum, 42(3), 491–515.
Takata, T., Kondo, H., Yamamoto, M., Shiraishi, K., Kobayashi, T., Furui, S., … Kotoku, J. (2020). Immersive radiation experience for interventional radiology with virtual reality radiation dose visualization using fast Monte Carlo dose estimation. Interventional Radiology, 5(2), 58–66. https://doi.org/10.22575/interventionalradiology.2019-0007.
Tang, Z., Long, P., Huang, S., Zou, J., & Qiu, Y. (2010). Real-time dose assessment and visualization of radiation field for EAST tokamak. Fusion Engineering and Design, 85(7–9), 1591–1594. https://doi.org/10.1016/j.fusengdes.2010.04.054.
Uy, M. A., Nakayama, K., Yang, G., Thomas, R., Guibas, L. J., & Li, K. (2023). NeRF revisited: Fixing quadrature instability in volume rendering. Advances in Neural Information Processing Systems, 36, 26159–26189. https://arxiv.org/abs/2310.20685.
Wang, H. D., Xu, G., Pan, X. P., Liu, Z. B., Lan, R. S., & Luo, X. N. (2020). A novel ray-casting algorithm using dynamic adaptive sampling. Wireless Communications and Mobile Computing, 2020, Article 8822624. https://doi.org/10.1155/2020/8822624.
Wang, Z., Chen, S., Dai, J., Qin, S., Cao, Y., Zhao, R., & Chen, J. (2024). A No-Reference Medical Image Quality Assessment Method Based on Automated Distortion Recognition Technology: Application to Preprocessing in MRI-guided Radiotherapy. arXiv preprint arXiv:2412.06599. https://arxiv.org/abs/2412.06599.
Weiss, S., IşIk, M., Thies, J., & Westermann, R. (2020). Learning adaptive sampling and reconstruction for volume visualization. IEEE Transactions on Visualization and Computer Graphics, 28(7), 2654–2667. https://doi.org/10.1109/TVCG.2020.3039340.
Xie, J., Liu, H., Li, Y., Zheng, X., Zeng, Q., & Hou, X. (2022). The reconstruction of 3D radiation field based on sparse measurement data. Annals of Nuclear Energy, 179, 109391. https://doi.org/10.1016/j.anucene.2022.109391.
Zeng, Y., Pei, Q., & Li, B. (2019). Ray-casting algorithm based on adaptive compound interpolation. Journal of System Simulation, 31(11), 4187–4194.
Zhang, Y., Chen, Q., Wang, H., Hou, Y., & Zhang, J. (2021). The visualization of 3D nuclear radiation dose field. Progress in Nuclear Energy, 139, 103896.
Zhang, Q., Eagleson, R., & Peters, T. M. (2011). Volume visualization: A technical overview with a focus on medical applications. Journal of Digital Imaging, 24(4), 640–664. https://doi.org/10.1007/s10278-010-9321-6.
Zhang, K., Chen, Z., Lei, J., & Yu, T. (2024, August). Virtual simulation of nuclear radiation based on improved ray casting. In Third International Conference on Advanced Manufacturing Technology and Manufacturing Systems (ICAMTMS 2024) (Vol. 13226, pp. 1015-1020). SPIE.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Qian Chao Huo, Lee Chang Kerk, Shamala Palaniappan, Yuchen Li (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.