Implicit Surface Shading in Medical Volume Rendering

By using the noise function to perturb the local gradient calculation in the Monte Carlo path tracing algorithm, and modifying the BRDF to simulate the roughness of the implicit surface, the calculation and memory problems in rendering medical volume images in the existing technology are solved, and the diagnosis of the image is improved. Quality and legibility.

CN112541882BActive Publication Date: 2024-10-25SIEMENS HEALTHINEERS AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010995886.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-09-23
Filing Date
2020-09-21
Publication Date
2024-10-25
Estimated Expiration
2040-09-21

AI Technical Summary

Technical Problem

When rendering medical volume images with existing technology, specular light maps have high computational costs and large memory usage, and cannot effectively handle changes in different surface roughness, affecting the diagnostic quality of the image.

Method used

A Monte Carlo path tracing algorithm is used to perturb the local gradient calculation through a noise function, the Bidirectional Reflectance Distribution Function (BRDF) is modified to simulate the roughness of the implicit surface, and the modified BRDF is used for shading to avoid precomputing the specular map , saving computing and storage resources.

Benefits of technology

It improves the quality of medical diagnostic images, reduces the consumption of computing and storage resources, enables effective coloring of different structures and materials, and enhances the legibility and diagnostic value of images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112541882B_ABST
    Figure CN112541882B_ABST
Patent Text Reader

Abstract

The present disclosure relates to implicit surface shading in medical volume rendering. In one aspect, the present invention relates to a method for rendering a medical volume image from received volume data using an image rendering method based on a Monte Carlo path tracing algorithm MCPT, wherein the MCPT algorithm uses at least one microfacet-based bidirectional reflectance distribution function BRDF to calculate the probability of how light is reflected at an implicit surface, and the probability is used to color the implicit surface. The method includes: detecting (S1) whether a surface scattering event is triggered, and if a surface scattering event is triggered, then: modifying (S2) the calculation of the local gradient in the BRDF by applying a noise function to perturb the corresponding received volume data to simulate the roughness of the implicit surface; coloring the implicit surface (S3) to render the received volume data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method and a rendering device, a system and a computer program for rendering a medical volume image based on image rendering. Background Art

[0002] During the last few decades, medical imaging has impacted the practice of medicine, helping to greatly improve the diagnosis, treatment, and follow-up of disease. Image-guided minimally invasive surgeries are becoming more common in hospitals, replacing conventional surgical procedures and resulting in faster recovery and fewer postoperative complications. We expect this trend to continue, with medical imaging playing an increasingly important role in bringing precision medicine to clinical practice. By being able to characterize a patient’s anatomy, physiology, and metabolism, medical imaging enables precise, personalized surgery as well as predictive, patient-specific treatment selection and delivery.

[0003] For medical diagnostic purposes, volume data, such as CT or MRI / MRT images, may be generated, for example, by a computed tomography scanner or a magnetic resonance imaging scanner. Trained medical personnel may interpret the "image slices" and may explain their findings, such as it may be desirable to use the image information for diagnosis or planned surgery.

[0004] To this end, in order to display the information contained in volume data from different sources (e.g., CT, MRI, PET or other image generation forms) in a way that even an untrained person can identify the elements of interest in the volume, it has been proposed in WO 2016 / 045701 A1 to apply a method called "cinematic rendering" to display the information as a "3D image", i.e. a two-dimensional view of the three-dimensional volume data (e.g., displayed on a computer monitor), so as to display the object of interest in a very realistic way. More details about the cinematic rendering technology can be found in K. Engel, Real-Time Monte-Carlo Path Tracing of Medical Volume Data, GPU Technology Conference, APRIL 4–7, 2016, CA, USA, San Jose Convention Center (2016). This technology allows the viewer to observe a three-dimensional "object" (e.g., head, chest, abdomen, etc.) from any viewpoint or at any level of detail, and clearly identify different objects or elements such as bones, muscles, blood vessels, therapeutic inorganic materials such as implants, etc.

[0005] The result of an image rendering algorithm or renderer is a physically plausible image that is generally easier for the human brain to interpret because the brain is trained to interpret the most subtle shading cues to reconstruct shape and depth information. Such shading cues are often missing in computer-generated images based on simpler geometric calculations such as ray casting. In particular, image rendering calculates the interaction of visible photons with the scanned patient anatomy in real time. The algorithm generates photorealistic or even hyper-realistic images using Monte Carlo path tracing methods through light transport simulations along the paths of hundreds or thousands of photons per pixel, which are implemented in iterations through the anatomy using a stochastic process to render volumetric data in a three-dimensional image.

[0006] In this technique, many virtual paths are traced in the reverse manner, i.e. starting from a pixel in the image plane and traveling through the volume. The color and intensity of a pixel in the image plane are determined by the global radiance map (defining the direction, color and brightness of a virtual light source pointing to the image) and whether the path being traced (starting from that pixel) is absorbed in the volume, whether the path being traced passes through the volume, or whether the path being traced experiences volume scattering or surface scattering in the volume. A path may experience several scattering events, for example, before leaving the volume or being absorbed by the volume. The parameters of each traced path are largely determined by the properties of the data volume voxels, for example, according to the alpha value of the data volume voxels of the transfer function. Typically, a global transfer function assigns a color value and an opacity value to each voxel of the volume. Since the input data involves volume data, no explicit surface, object or mesh data is available. This is why the surface is referred to as "implicit".

[0007] When rendering the data, the implicit surface is probabilistically shaded based on the magnitude of the local gradient. For shading, diffuse and specular light maps are typically used. A specific specular light map is pre-filtered for a specific specular lobe, depending on, for example, the specular exponent in a Phong-based bidirectional reflectance distribution function (hereinafter referred to as BRDF) model or the surface roughness of a microfacet-based BRDF. For rendering different surface materials such as plastics or metals, it is desirable to allow different BRDFs for different implicit surfaces in image rendering, for example depending on the local scalar value or segmentation information of the surface.

[0008] However, in known methods in the prior art, in order to allow for variations in the roughness of the surface, the specular map must be recalculated (filtered) when the specular index or the roughness parameter is changed. This recalculation step has the disadvantage of being computationally expensive.

[0009] Another option in the prior art known systems is to pre-calculate a set of specular maps at different specular indices or surface roughnesses, which can then be selected for surface shading. However, the disadvantage of this second approach is that it takes up a lot of memory. Summary of the invention

[0010] Therefore, an object of the present invention is to provide a method for rendering volumetric data by providing the option of rendering different objects or regions of interest (e.g. different materials like bones or implants or different kinds of tissue) with different shading without increasing the computational and memory costs.

[0011] This object is solved by a method, a renderer, a computer program and a computer readable medium for rendering a medical volume image according to the attached independent claims. Advantageous aspects, features and embodiments are described together with advantages in the dependent claims and in the following description.

[0012] In a first aspect, the present invention relates to a computer-implemented method for rendering a medical volume image based on volume data received from an imaging modality or from a reconstruction or storage unit (e.g., PACS) using an image rendering method. The method uses or implements a Monte Carlo path tracing algorithm (MCPT algorithm). The MCPT algorithm uses at least one and typically several microfacet-based bidirectional reflectance distribution functions (also referred to as BRDFs) to calculate the probability of how light is reflected at an implicit surface, the probability being used to color the implicit surface. The method comprises the following steps:

[0013] - Detect if a surface scattering event is triggered, and if so:

[0014] - Modify the calculation of local gradients in the BRDF by applying a noise function to perturb the corresponding received volume data required for gradient calculation to simulate the roughness of the implicit surface;

[0015] - As mentioned in the previous "Modification" step, render the received volume data by shading the implicit surface using the modified BRDF.

[0016] By modifying the calculation of the local gradient in the BRDF, the BRDF will be modified accordingly. This modified BRDF will be used to calculate the shading performed by the shader.

[0017] The present invention has the following technical advantages: Different structures, objects or materials in volume data can be rendered and, in particular, colored differently to make them distinguishable for the purpose of finding or providing a medical diagnosis. By this method, the quality of the medical diagnosis can be improved because the underlying medical image information within the structure can be provided in an improved manner. This is a major advantage because the quality of the image information is key when providing a medical diagnosis to a patient. This becomes even more important when the image information is the only information used to generate an answer to a medical question.

[0018] Furthermore, storage resources for storing pre-computed specular maps can be avoided and no longer required. In addition, processing power of computing resources can be saved because the specular map does not need to be recomputed for different specular components.

[0019] According to a preferred embodiment, the noise function is a process noise function. The noise function can be controlled or scaled by the user by means of a slider on a graphical user interface of an activation application (i.e., an application that executes or controls the computer-implemented method) through a user-defined roughness parameter. This has the advantage that the shading properties and in particular the roughness parameter can be controlled in response to the specific configuration of the actual use case. In this way, for example, the distinction between specific structures (e.g., bone and implant) can be prioritized.

[0020] According to another preferred embodiment, the roughness parameter can be specifically determined for different objects or materials in the received volume data. Therefore, each of the different objects and / or materials is specially colored. The roughness parameter can be determined by using local gray values, segmentation or object classification information (a segmentation or classification step can be provided as a previous step to provide a segmented image or classified objects within the image data) and / or other image processing parameters including gradient amplitude and / or curvature. In other words, the roughness parameter can be modified by the gray values ​​in the volume data. For example, brighter voxels can be assigned to lower roughness parameters or brighter voxels can have lower roughness parameters. This feature can also be implemented by means of a transfer function that maps voxel values ​​to roughness values.

[0021] According to another preferred embodiment, the method further comprises:

[0022] - Segmenting or classifying different objects or materials or tissue types in the received volume data;

[0023] - receiving a roughness parameter for scaling the noise function of each segmented or classified object separately;

[0024] - For each segmented or classified object, a specially scaled noise function is applied to each of the BRDFs.

[0025] Alternatively, the volume data may be subjected to a previous segmentation process such that the roughness parameter may be specifically determined based on the segmentation or classification. With this feature, objects of a first category (one type of object, e.g. an implant) may be rendered with a first shading and objects of a second category (e.g. bones or other body structures) with a second (different) shading. This improves the discernibility of different objects (e.g. tissue types) within the image. Thus, the (modified) scaling may also depend on the segmentation or classification.

[0026] In another preferred embodiment, for each of the segmented or classified objects, a different BRDF can be applied, which can be scaled by different roughness parameters. This improves the adaptability of rendering applications, especially for prioritizing specific structures or diagnostic aspects (e.g., different blood vessel types in vascular diseases, etc.).

[0027] In another preferred embodiment, detecting whether a surface scattering event is (or has been) triggered is performed by first detecting whether a scattering event is triggered, and (only) if a scattering event is triggered, then:

[0028] - Compute local gradients by modifying local samples used for gradient computation using a noise function;

[0029] - The probability of a surface scattering event is calculated by executing a surface scattering probability density function. In other words, in response to detecting a scattering event, the probability of a surface scattering event is calculated by executing a surface scattering probability density function based on the magnitude of the local gradient. This feature makes the modified computer-implemented shader module more efficient.

[0030] In another preferred embodiment, the scattering event is triggered by:

[0031] - Compares the accumulated opacity value along the path to see if it exceeds a predefined threshold, and if so:

[0032] - Triggering a scattering event, wherein the threshold is calculated by executing a scattering probability density function. The scattering probability density function is typically different from the surface scattering probability density function. This has the technical effect that the calculation can be performed more efficiently.

[0033] In another preferred embodiment, the local gradient is calculated by modifying the central difference samples of the central difference algorithm or by modifying the higher order difference samples of the higher order difference algorithm. For more details, please refer to https: / / en.wikipedia.org / wiki / Finite_difference. In general, higher order differences provide gradients with higher quality and avoid artifacts or image failures.

[0034] In another preferred embodiment, the shading of the implicit surface is modified on the fly during rendering. This helps to reduce processing time and makes the method more attractive to the end user, as the time for in-depth diagnostics can be reduced.

[0035] In yet another preferred embodiment, the method accesses a storage device in which only a single unfiltered specular map is stored for calculating shading with varying surface roughness for different objects. Thus, storage capacity can be reduced since multiple sets of specular maps will not be stored.

[0036] So far, the present invention has been described with respect to the claimed method. Features, advantages or alternative embodiments mentioned in this context may also be assigned to other claimed objects (e.g., renderers, computer programs or computer program products), and vice versa. In other words, the features described or claimed in the context of the method may be used to improve the subject matter claimed or described with respect to the device (e.g., renderer), and vice versa. In this case, the functional features of the method are embodied by the structural units of the system, respectively, and vice versa. Generally, in computer science, software implementations and corresponding hardware implementations are equivalent. Thus, for example, a method step for "shading" data may be performed using a shader (computing unit) and corresponding instructions for shading the surface to be rendered. In order to avoid redundancy, although a renderer may also be used in the alternative embodiments described with reference to the method, these embodiments do not explicitly describe the renderer again.

[0037] In another aspect, the invention relates to a renderer for rendering a medical volume image. A renderer or rendering unit is a computer-implemented unit and may be provided in hardware and / or software and is equipped with an input interface for receiving volume data. The renderer is adapted to perform the method as described above and may be configured to perform any of the above-mentioned steps.

[0038] In particular, the renderer can be implemented on a processing unit (graphics processing unit or central processing unit) or can access the processing unit to perform image rendering based on a Monte Carlo path tracing algorithm (MCPT), wherein the MCPT algorithm uses at least one microfacet-based bidirectional reflectivity distribution function (BRDF) to calculate the probability of how light is reflected at an implicit surface, which is used to color the implicit surface. The renderer also includes:

[0039] - a surface scattering detection unit, which is used to detect whether a surface scattering event is triggered; and

[0040] - A modifier for modifying the calculation of local gradients in the BRDF to simulate the roughness of an implicit surface by perturbing the corresponding received volume data (necessary for gradient calculation) by applying a noise function, which is used to shade the implicit surface to render the received volume data.

[0041] The renderer is computer-implemented and comprises a modified shader module for gradient calculation. Modification refers to the fact that the renderer comprises a modifier for modifying (perturbing) the local gradient by a small random number to simulate the roughness of an implicit surface.

[0042] The renderer may include a shader (module) for computational shading. The shader may use a modified BRDF. Therefore, the shader proposed herein may be provided as an additional module of a known system or renderer. As described above with respect to the method, the shader is adjusted accordingly.

[0043] Typically, rendering calculations are complex and resource-intensive. This is why rendering calculations are often outsourced to a graphics processing unit (GPU) in real time, for example, via OpenGL. Therefore, the method and the modified shader can also be outsourced to the GPU. The shader can be written in the OpenGL shading language and compiled, for example. The compiled program is then executed on the GPU.

[0044] In another aspect, the invention relates to a system for rendering a medical volume image from received volume data, the system comprising or having access to:

[0045] - a user interface such as a slider bar for adjusting the roughness parameters of different objects to be used by the renderer;

[0046] - a renderer as mentioned above, which is used to execute the method as mentioned above;

[0047] - an output interface for providing rendered medical volume images with varying surface roughness for different objects in the volume data.

[0048] Therefore, compared to known rendering applications, an additional user interface is provided, for example in the form of a slider bar. The slider bar is used to modify the roughness parameter used for shading. Although in known applications in the prior art, the user can interact with the rendered three-dimensional "object" to change the viewpoint, the illumination level, the type of tissue to be displayed, etc., in the art, such a specific user interface element with the function of changing the assignment of the roughness to be used for shading different types of objects is unknown. For example, in systems of the prior art, the user can switch from a front view to a side view; the user can switch between a view in which only bones are displayed and a view in which muscles and other tissue types are also displayed, etc. However, it is unknown to change the roughness parameter to be immediately taken into account for shading.

[0049] In another aspect, the invention relates to a computer program product comprising a computer program, or to a computer program comprising program elements which, when loaded into a memory of a computer, direct the computer to perform the steps of the method for rendering a medical volume image according to the aforementioned method.

[0050] In another aspect, the invention relates to a computer-readable medium having stored thereon program elements which can be read and executed by a computer, so as to perform the steps of the method for rendering a medical volume image according to the aforementioned method when the program elements are executed by the computer.

[0051] Implementing the invention by means of a computer program product and / or a computer-readable medium has the advantage that already existing computers, such as servers or clients, can be easily adapted by means of a software update to operate according to the proposal of the invention.

[0052] Definitions of terms used within this application are given below.

[0053] The method is computer-implemented. The computer for performing the rendering and shading tasks mentioned above may be a personal computer or a workstation in a computer network, and may include a processing unit, a system memory, and a system bus, which couples various system components including the system memory to the processing unit. The system memory may include a read-only memory (ROM) and / or a random access memory (RAM). A basic input / output system (BIOS) (which contains basic routines that help to transfer information between elements in a personal computer, such as during startup) may be stored in the ROM. The computer may also include several types of disk drives for reading and writing disks from disks. Hard disk drives, disk drives, and (magnetic) optical disk drives may be coupled to the system bus via a hard disk drive interface, a disk drive interface, and a (magnetic) optical disk drive interface, respectively. The drive and its associated storage medium provide non-volatile storage of machine-readable instructions, data structures, program modules, and other data for the computer. Multiple program modules may be stored in a storage unit such as an operating system, one or more application programs (such as an application for executing a method for rendering and shading a volumetric medical image). For example, a user may enter commands and information into a computer via an input device such as a keyboard and a pointing device. Other input devices such as microphones, joysticks, game controllers, etc. may also be included. These devices and other input devices are usually connected to the processing unit through a serial port interface coupled to the system bus. For example, a monitor (e.g., a GUI) or other type of display device may also be connected to the system bus via an interface (e.g., a video adapter). In addition to the monitor, the computer may also include other peripheral output devices such as speakers and printers.

[0054] The computer for performing the rendering method can operate in a networked environment that defines logical connections to one or more remote computers. The remote computer can be another personal computer, a post-processing workstation, a server, a router, a network PC, a peer device, or other public network node, and can include many or all of the elements described above with respect to a personal computer. Logical connections include local area networks (LANs) and wide area networks (WANs), intranets, and the Internet.

[0055] A scattering event refers to a probabilistic state in which light on the path of the Monte Carlo path tracing algorithm is scattered. A scattering event is triggered if the accumulated opacity value for each sampling point along the path of the MC path tracing algorithm exceeds a predefined threshold.

[0056] Surface scattering events are a subset of scattering events and refer to the probability state in which light that cuts an implicit surface on the path of the Monte Carlo path tracing algorithm is scattered. This can be determined by the high magnitude of the gradient. A surface scattering event is triggered if the random number [0,1] is less than the surface scattering probability density function used in the BRDF. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] According to the following detailed description, the above-mentioned characteristics, features and advantages of the present invention and the way to achieve them become clearer and easier to understand, and the above-mentioned characteristics, features and advantages of the present invention and the way to achieve them will be described in more detail against the background of the accompanying drawings. The following description does not limit the present invention to the embodiments included. In different drawings, the same parts or parts can be marked with the same reference numerals. Generally, the drawings are not drawn to scale. It should be understood that the preferred embodiments of the present invention can also be any combination of dependent claims or the above embodiments with corresponding independent claims.

[0058] Figure 1 is a flow chart of a method according to a preferred embodiment of the present invention;

[0059] Figure 2 is another flow chart according to another preferred embodiment of the present invention; and

[0060] Figure 3 is an overview diagram of the structural components of a system according to a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0061] Figure 1 A flow chart of a method for shading an implicit surface in response to a roughness parameter is shown.

[0062] After the start of the method, in step S1, it is detected whether a surface scattering event has been triggered or occurred. If such a surface scattering event has been detected, the calculation of the local gradient in the BRDF is modified in step S2. Such a modification is based on: the corresponding received volume data required for the gradient calculation is disturbed by applying a noise function to simulate the roughness of the implicit surface. Subsequently, the shading for the implicit surface is calculated in step S3 to render the received volume data. If all Monte Carlo iterations of all pixels of the volume are processed, the method can end (END); otherwise the method will branch out to start again from step S1.

[0063] Typically, the present invention utilizes a single, unfiltered specular map. Typically, a gradient must first be calculated to detect whether it is a surface scattering event (this depends on the magnitude of the gradient; typically, the larger the magnitude, the higher the probability of a surface scattering event). When a scattering event is detected during the Monte Carlo path tracing algorithm, a local gradient is calculated, for example using central differences. During the gradient calculation, the local samples used for the gradient calculation are perturbed with a small noise value calculated on-the-fly in the modifier 14 of the renderer 10 (this will be discussed below with respect to Figure 3 ). In particular, each volume sample required for the gradient calculation is modified by a small noise value. The roughness parameter [0., 1.] is used to modify or scale the amount of noise added to each gradient calculation sample, thereby allowing any surface roughness from zero (resulting in a perfect mirror) to one (1) (for a diffuse surface).

[0064] The roughness parameters used for the local gradient calculation are modified using local grayscale values, segmentation information or any other locally available parameters such as gradient magnitude, curvature, etc. This allows for specific and different rendering (particularly, coloring) of different materials or objects per volume dataset such as metals, plastics and different soft tissue types.

[0065] The shader can be written in, for example, the OpenGL Shading Language and compiled. The compiled program is then executed on the GPU. An example of GLSL code using central differencing is given below.

[0066]

[0067]

[0068]

[0069] After a scattering event has been triggered (and detected), the probability of the surface scattering event is calculated based on the surface scattering probability density function PDF. The surface scattering probability density function PDF may be selected from the group consisting of:

[0070] -float PDF_BRDF=(1.0-exp(-sd*gradMag));

[0071] --float PDF_BRDF=sampleColor.a*(1.0-exp(-sd*gradMag));

[0072] Wherein, sd is a surface modification factor or parameter, which can be user-controlled. The default value can be, for example: 10.0 for CT data and 1.0 for MR data. The factor or parameter defines how to render the surface by coloring. "gradMag" refers to the local magnitude of the gradient, and "sampleColor.a" refers to the alpha value of the transfer function.

[0073] If the random number in [0, 1] is less than PDF_BRDF (in the above code snippet: "if(rand()<PdfBrdf)"), then a surface scattering event will be emitted or triggered.

[0074] Based on the corresponding gray value or based on the previous segmentation step, the parameter sd may vary depending on the object or on the material.

[0075] The pseudocode of the modified shader module proposed in this article to solve the problem and which can be provided as an additional device for existing applications is as follows:

[0076] For all MC iterations

[0077] For all pixels

[0078] Generate a camera ray

[0079] Intersect the camera ray with the bounding box of the volume data

[0080] Set the sampling position to the ray entry point of the bounding box

[0081] Without terminating (absorbing) the path and sample the positions inside the bounding box

[0082] Calculate the opacity threshold for the scattering event based on the scattering PDF

[0083] When no new scattering event is detected

[0084] Sample the volume data

[0085] Classify the sample (transfer function lookup, produce color and o)

[0086] Accumulate opacity

[0087] If a scattering event is detected (based on the accumulated opacity and the scattering probability density function)

[0088] Calculate the local gradient for the proposed modification by using the proposed method or an additional shader in the renderer respectively: Modify the central difference samples with noise / random numbers to simulate surface roughness (the roughness factor scales the noise)

[0089] If a surface scattering event is triggered ("if(rand() <PdfBrdf)”)

[0090] BRDF is used for surface shading calculation

[0091] Change the direction of scattered rays in the hemisphere

[0092] otherwise

[0093] Using Volume Phase Function to Change Ray Direction

[0094] Advance the ray position along the ray direction.

[0095] Figure 2 A flow chart of a rendering method according to a preferred embodiment is shown, the rendering method comprising a segmentation or classification step. After the start of the method, in step S21, different objects or materials or tissue types in the received volume data are segmented or classified. In step S22, a roughness parameter is received. This can be selected by selecting a slider sb( Figure 3 The received roughness parameter is used to scale the noise function of each segmented or classified object respectively. In step S33, for each segmented or classified object or material, a specifically modified or scaled noise function is applied to each of the different BRDFs. This has the following technical effect: different materials or objects of each volume data set, such as different tissue types, are rendered and colored differently. This improves the diagnostic relevance of the rendered image and improves the quality.

[0096] Figure 3 A block diagram of software and / or hardware entities or modules of a system 1 for rendering and coloring medical volume data is shown. The system 1 includes a renderer 10. The renderer 10 may be implemented on a graphics processing unit (GPU) or a central processing unit (CPU) of a computer system. In an alternative embodiment, the renderer 10 may access such a GPU (e.g., a CPU) via a data communication link (network connection). Figure 3 As shown). The system 1 also includes a user interface UI, which includes a slide bar sb for receiving a roughness parameter. Figure 3 As shown in the example embodiment in , the renderer 10 may be provided with an input interface IN for receiving volume data, and with an output interface OUT for providing a rendered and in particular shaded image. The renderer 10 may include a surface scattering detection unit 12 and a modifier 14 for modifying the calculation of the local gradient in the BRDF if the surface scattering detection unit 12 has detected a surface scattering event. The interfaces IN, OUT may be implemented as hardware interfaces or as software interfaces (e.g. PCI bus, USB or FireWire).

[0097] In the case where surface scattering events are algorithmically identified during rendering, the modified shading process proposed in this paper for rendering uses artificial and expected modifications to the received volume data. The perturbations of the volume data are used to modify the BRDF.

[0098] The present invention shows several advantages. The solution proposed in this paper is computationally cheap and does not require a set of specular maps to be pre-computed for different roughness parameters, thus saving storage space. These advantages are achieved by perturbing the local gradient using a simple process noise function. In addition, the image rendering provides photo-realistic image rendering results, which can be further enhanced by using this technique. In particular, for NDT (non-destructive testing) volume data, it is crucial to use different surface materials in volume rendering. Finally, the perturbation of the local gradient by noise scaled by the roughness parameter allows a variety of surface materials to be used in the image rendering. Using this method does not require specific sampling of the specular lobe. The roughness of the implicit surface is easy to control and can depend on various parameters, such as grayscale value, segmentation, gradient amplitude, etc.

[0099] Other variations of the disclosed embodiments may be understood and effected by those skilled in the art in practicing the claimed invention from a study of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the indefinite article "a" or "an" does not exclude a plurality.

[0100] A single unit or device may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.

[0101] The renderer for rendering medical volume data according to the method as described above may be implemented as program code means of a computer program and / or as dedicated hardware.

[0102] The computer program may be stored / distributed on suitable media such as optical storage media or solid-state media provided together with or as part of other hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunication systems.

[0103] Any reference signs in the claims should not be construed as limiting the scope.

[0104] Where not explicitly described, the individual embodiments described with respect to the figures or their various aspects and features may be combined or exchanged with one another without limiting or expanding the scope of the described invention, provided that such combination or exchange makes sense and is within the meaning of the invention. Advantages described with respect to a specific embodiment of the invention or with respect to a specific figure are also advantages of other embodiments of the invention where applicable.

Claims

1. A method for rendering a medical volume image from corresponding received volume data using an image rendering method based on a Monte Carlo path tracing (MCPT) algorithm, wherein: The MCPT algorithm is configured to use at least one microfacet-based bidirectional reflectance distribution function BRDF to calculate the probability of how light is reflected at an implicit surface, the probability being able to be used to color the implicit surface, the method comprising: Detects whether a surface scattering event was triggered, and if so: Calculating local gradients at volume sampling locations along the path of the MCPT algorithm; calculating the probability of the surface scattering event by performing a surface scattering probability density function according to the magnitude of the local gradient, wherein the surface scattering event is a probability state in which scattering of light is to be performed according to the BRDF; calculating a surface shading at the volume sampling position according to the local gradient to render the corresponding received volume data; receiving a user-defined roughness parameter; and A modified local gradient in the BRDF is obtained by perturbing samples of the received volume data used for the local gradient calculation by adding noise according to a process noise function scaled by the received roughness parameter to simulate surface roughness in the surface shading calculation, wherein the process noise function uses at least one of local grayscale values, segmentation classification information, object classification information, gradient magnitude or curvature.

2. The method according to claim 1, wherein: Receiving the user-defined roughness parameter includes receiving the user-defined roughness parameter via a slider bar on a graphical user interface.

3. The method according to claim 1, further comprising: Segmenting or classifying different objects in the corresponding received volume data; as well as For each respective segmented or classified object, a scaled noise function is applied to each of the respective BRDFs.

4. The method according to claim 3, further comprising: A different BRDF is applied to each of the respective segmented or classified objects, the different BRDFs being correspondingly configured to be scaled by a different roughness parameter.

5. The method according to claim 1, further comprising: comparing whether the accumulated opacity value along the path exceeds a threshold, the threshold being calculated by executing a scattering probability density function; and In response to the comparison indicating that the accumulated opacity value along the path exceeds the threshold, a scattering event is triggered.

6. The method according to claim 1, further comprising: The local gradient is calculated by modifying the central difference samples of the central difference algorithm or modifying the higher order difference samples of the higher order difference algorithm.

7. The method according to claim 1, The shading of the implicit surface is modified during rendering.

8. The method according to claim 1, further comprising: A storage device is accessed in which a single unfiltered specular map is stored, the single unfiltered specular map being usable for computing shading with varying surface roughness for different objects.

9. The method according to claim 2, further comprising: Segmenting or classifying different objects in the corresponding received volume data; as well as For each respective segmented or classified object, a scaled noise function is applied to each of the respective BRDFs.

10. The method according to claim 9, further comprising: A different BRDF is applied to each of the respective segmented or classified objects, the different BRDFs being correspondingly configured to be scaled by a different roughness parameter.

11. The method according to claim 2, further comprising: comparing whether the accumulated opacity value along the path exceeds a threshold, the threshold being calculated by executing a scattering probability density function; and In response to the comparison indicating that the accumulated opacity value along the path exceeds the threshold, a scattering event is triggered.

12. The method according to claim 2, further comprising: The local gradient is calculated by modifying the central difference samples of the central difference algorithm or modifying the higher order difference samples of the higher order difference algorithm.

13. A renderer for rendering a medical volume image, the renderer having an input interface for receiving volume data, wherein: The renderer is adapted to be implemented on at least one processor or to be able to access the at least one processor to perform image rendering based on a Monte Carlo path tracing (MCPT) algorithm, wherein the MCPT algorithm uses at least one microfacet-based bidirectional reflectivity distribution function (BRDF) to calculate the probability of how light is reflected at an implicit surface, and the probability is used to color the implicit surface, and the renderer comprises: The at least one processor is configured to: Detects whether a surface scattering event was triggered, and if so: Calculating local gradients at volume sampling locations along the path of the MCPT algorithm; calculating the probability of the surface scattering event based on the magnitude of the local gradient and a surface scattering probability density function, wherein the surface scattering event is a probabilistic state in which scattering of light is to be performed according to the BRDF; Calculating surface shading at the volume sampling position according to the local gradient to render the corresponding received volume data; receiving a user-defined roughness parameter; and A modified local gradient in the BRDF is obtained by perturbing samples of the received volume data used for the local gradient calculation by adding noise according to a process noise function scaled by the received roughness parameter to simulate surface roughness in the surface shading calculation, wherein the process noise function uses at least one of local grayscale values, segmentation classification information, object classification information, gradient magnitude or curvature.

14. A system for rendering a medical volume image from received volume data, comprising: The renderer according to claim 13; An output interface is configured to provide a rendered medical volumetric image having varying surface roughness for different objects in the volumetric data.

15. A computer program product comprising program elements which, when loaded into a memory of a computer, direct the computer to perform the steps of the method for rendering a medical volume image according to one of the preceding method claims.

16. A computer-readable medium having stored thereon program elements which can be read and executed by a computer, in order to perform the steps of the method for rendering a medical volume image according to one of the preceding method claims when the program elements are executed by the computer.