School of Computer Science and Engineeing, Northeastern University, Shenyang, Liaoning, P. R. China.
PLoS One. 2024 Oct 21;19(10):e0312339. doi: 10.1371/journal.pone.0312339. eCollection 2024.
Cinematic Rendering (CR) employs physical models such as ray tracing and global illumination to simulate real-world light phenomena, producing high-quality images with rich details. In the medical field, CR can significantly aid doctors in accurate diagnosis and preoperative planning. However, doctors require efficient real-time rendering when using CR, which presents a challenge due to the substantial computing resources demanded by CR's ray tracing and global illumination models. Precomputed lighting can enhance the efficiency of real-time rendering by freezing certain scene variables. Typically, precomputed methods freeze geometry and materials. However, since the physical rendering of medical images relies on volume data rendering of transfer functions, the CR algorithm cannot utilize precomputed methods directly. To improve the rendering efficiency of the CR algorithm, we propose a precomputed low-frequency lighting method. By simulating the lighting pattern of shadowless surgical lamps, we adopt a spherical distribution of multiple light sources, with each source capable of illuminating the entire volume of data. Under the influence of these large-area multi-light sources, the precomputed lighting adheres to physical principles, resulting in shadow-free and uniformly distributed illumination. We integrated this precomputed method into the ray-casting algorithm, creating an accelerated CR algorithm that achieves more than twice the rendering efficiency of traditional CR rendering.
电影渲染(Cinematic Rendering,简称 CR)采用光线追踪和全局光照等物理模型来模拟真实世界的光线现象,生成具有丰富细节的高质量图像。在医学领域,CR 可以极大地帮助医生进行准确的诊断和术前规划。然而,医生在使用 CR 时需要高效的实时渲染,这是因为 CR 的光线追踪和全局光照模型需要大量的计算资源。预计算光照可以通过冻结某些场景变量来提高实时渲染的效率。通常,预计算方法会冻结几何形状和材质。然而,由于医学图像的物理渲染依赖于传递函数的体数据渲染,CR 算法无法直接利用预计算方法。为了提高 CR 算法的渲染效率,我们提出了一种预计算低频光照方法。通过模拟无影手术灯的照明模式,我们采用了多个光源的球形分布,每个光源都能够照亮整个数据体积。在这些大面积多光源的影响下,预计算光照符合物理原理,实现了无阴影和均匀分布的照明。我们将这种预计算方法集成到光线投射算法中,创建了一个加速的 CR 算法,其渲染效率比传统的 CR 渲染提高了两倍以上。