Method and system for visualizing a volume dataset
A machine-implemented display method that, with respect to a volume dataset being rendered, enables a user to navigate to any position in space and look in any direction. Preferably, the volume dataset is derived from a computer tomography (CT) or magnetic resonance imaging (RMI) scan. With the described approach, the user can see details within the dataset that are not available using conventional visualization approaches. The freedom-of-motion capability allows the user to go to places (positions) within the volume rendering that are not otherwise possible using conventional “orbit” and “zoom” display techniques. Thus, for example, using the described approach, the display image enables a user to travel inside physical structures (e.g., a patient's heart, brain, arteries, and the like).
Latest INTRINSIC MEDICAL IMAGING, INC. Patents:
The application is a continuation of Ser. No. 12/954,856, filed Nov. 27, 2010.
BACKGROUND OF THE INVENTION1. Technical Field
The present invention relates generally to medical imaging.
2. Background of the Related Art
Medical imaging is the technique used to create images of the human body or parts thereof for clinical purposes (medical procedures that seek to reveal, to diagnose or to examine disease) or medical science (including the study of normal anatomy and physiology). Computer tomography (CT) and magnetic resonance imaging (MRI) are two of the most common approaches. These techniques generate a set of individual 2D images that can be displayed in a 3D visualization as a “volume dataset.” Typically, however, the extent of the 3D visualization is limited to “orbiting” and “zooming.” In an “orbit” mode, the view of the object being rendered is like an orbiting satellite in that the viewer can move around the object being viewed from any angle but cannot look “out” from a position within the object. A zoom operation provides the viewer with additional useful details about the object; however, zooming does not enable the viewer to move down to a surface or inside of a volume. Thus, the orbit and zoom approach has limited applicability for rendering and viewing a volume medical dataset.
BRIEF SUMMARYThe disclosed subject matter provides a machine-implemented display method that, with respect to a volume dataset being rendered, enables a user to navigate to any position in space and look in any direction. Preferably, the volume dataset is derived from a computer tomography or magnetic resonance imaging scan. With the described approach, the user can see details within the dataset that are not available using conventional visualization approaches. The freedom-of-motion capability allows the user to go to places (positions) within the volume rendering that are not otherwise possible using conventional “orbit” and “zoom” display techniques. Thus, for example, using the described approach, the display image enables a user to travel inside physical structures (e.g., a patient's heart, brain, arteries, and the like).
In one embodiment, a rendering method is implemented on a machine, such as a computer that includes a display. The machine receives a volume dataset generated by the CT or MRI scan. Typically, the dataset is a set of digital data comprising a set of individual 2D images. An image of the volume dataset is rendered on the display at a given number of frames per second, where each frame of the image has pixels that are uniform. According to the technique, any frame (within a set of frames being displayed at the display rate) may have a resolution that differs from that of another frame. This concept is referred to herein as continuous real-time dynamic rendering resolution. Moreover, any pixel within a given frame may intersect a ray cast forward into the view at a point that differs from that of another pixel in the frame. This latter concept is referred to herein as continuous per pixel dynamic sampling distance for ray tracing within the volume dataset. Thus, according to a rendering method herein, at least two frames of an image sequence have varying resolution relative to one another, and at least two pixels within a particular frame have a varying number of ray tracing steps relative to one another. When the volume dataset is rendered in this manner, a viewer can navigate to any position and orientation within the 3D visualization.
According to another aspect of this disclosure, the machine provides the user with a “virtual camera” that the user can control with an input device (e.g., a pointing device, keyboard, or the like) to facilitate rendering on a display monitor of a display object from any point in space and in any direction at real-time display frame update rates. As noted above, preferably the volume dataset is rendered using both dynamic rendering resolution and per pixel dynamic sampling distance for ray tracing. This rendering approach enables the user to move and rotate the virtual camera in response to the rendered image from any point within or outside the image.
The foregoing has outlined some of the more pertinent features of the invention. These features should be construed to be merely illustrative. Many other beneficial results can be attained by applying the disclosed invention in a different manner or by modifying the invention as will be described.
For a more complete understanding of the present invention and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
As illustrated in
As noted above, this disclosure provides a display method, preferably implemented in a computer, such as a workstation as shown in
By way of background,
Although it provides some basic interactivity, the “orbit” approach illustrated in
There are two (2) techniques that facilitate the disclosed method: (i) continuous real-time dynamic rendering resolution, and (ii) continuous per pixel dynamic sampling distance for ray tracing volume datasets. Each of these techniques is now described.
As used herein, “resolution” refers to a spatial number of pixels horizontally and vertically, with respect to a picture (image) that is drawn from a particular display frame. “Rendering” refers to a process by which the eventual picture is drawn by the disclosed technique. In a representative embodiment, rendering is implemented by ray tracing, although this is not a limitation. The term “dynamic” refers to changes to the output rendering resolution at each frame, or as needed. The term “real-time” generally refers to a frame per second update rate greater than a predetermined value, such as 24. The term “continuous” refers to the number of pixels that are added to or subtracted from a final picture every frame to ensure that the picture only changes a small amount, to ensure smoothness. The “continuous real-time dynamic rendering resolution” function changes a number of pixels horizontally and vertically by a small amount in relation to a difference between a current frame rate and a desired frame rate, with respect to a picture that is drawn at a frame update rate (preferably >24 frames per second) to provide high resolution rendering. This feature is beneficial as it allows higher rendering quality than is possible for fixed resolution, which cannot guarantee real-time frame rates especially with respect to any position in space.
The dynamic rendering resolution is illustrated in
This dynamic rendering resolution function preferably is achieved as follows. Inside a main display processing loop, and at a minimum of “desired” frames per second, the routine calculates a difference between a “current” frame rate and a “desired” frame rate. This frame rate difference is what determines how the resolution will change for this frame. When the difference is positive (i.e., when the desired frame rate is greater than current frame rate), the display routine use one less pixel column or pixel row alternately (or one less of each) in the final image to render a next frame. This operation “speeds up” the rendering application and helps achieve the desired frame rate. If, on the other hand, the difference in frame rate is negative (i.e., the desired frame rate is less than the current frame rate), the display routine uses one more pixel column or pixel row alternately (or one more of each) in the final image to render the next frame. This increases the rendering resolution and, thus, the quality of the rendered image. At the end of each frame, the routine rescales the image back to screen resolution with or without interpolation to account for the change in the number of pixels. This process speeds up the rendering because ray tracing is inherently very dependent on the total number of cast rays in the final image. If that number is reduced, the application speeds up.
In addition to dynamic rendering resolution, the display method of this disclosure implements an approach referred to as “continuous per pixel dynamic sampling distance for ray tracing,” as is now described. By way of background,
A preferred approach to implementing the per-pixel dynamic sampling distance for ray tracing is now described. For every frame at real time rates, and for every pixel in the final image, the routine “starts” the ray at the camera position. Then, the routine sets the ray's direction to be the camera direction plus the pixel position in the image transformed into world space. This operation amounts to an aperture or lens for the 3D camera; as a result, the ray has both a position and a direction. The program then steps down the ray, stopping at locations to sample the volume dataset. The distance that is stepped each frame is dependent on the value at the current sample point of the volume data and a value (e.g., CT density, MRI electron spin, or equivalent) of the desired tissue in current focus. Preferably, and as described above, the distance stepped equals an absolute value of the difference between the currently sampled value (e.g., density) and the user- or system-configured target, multiplied by a small number to ensure smoothness. In general, if the absolute value of the difference in desired tissue value and current sampled volume data is high, then a larger step is taken. If, however, the value of the difference in desired tissue value and current sampled volume data is small, then a smaller step is taken.
Preferably, and as illustrated in
When it is time for the next frame to be rendered, the camera is moved to its new position and orientation, and then process is repeated again.
For computational efficiency, the above-described approach may be implemented using a GPU so that many pixels can be processed in parallel. In the alternative, a multi-core CPU can be used to facilitate the parallel processing.
While certain aspects or features have been described in the context of a computer-based method or process, this is not a limitation of the invention. Moreover, such computer-based methods may be implemented in an apparatus or system for performing the described operations, or as an adjunct to other dental restoration equipment, devices or systems. This apparatus may be specially constructed for the required purposes, or it may comprise a general purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including optical disks, CD-ROMs, and magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), magnetic or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus. The described functionality may also be implemented in firmware, in an ASIC, or in any other known or developed processor-controlled device.
While the above describes a particular order of operations performed by certain embodiments of the invention, it should be understood that such order is exemplary, as alternative embodiments may perform the operations in a different order, combine certain operations, overlap certain operations, or the like. References in the specification to a given embodiment indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic.
While given components of the system have been described separately, one of ordinary skill will appreciate that some of the functions may be combined or shared in given systems, machines, devices, processes, instructions, program sequences, code portions, and the like.
The volume dataset may be generated from any data source. It is not required that the volume dataset be CT or MRI data, or that the data itself be medical imaging data. The techniques herein may be used within any volume dataset irrespective of content.
In one embodiment, a tangible (non-transitory) machine-readable medium stores the computer program that performs the dynamic rendering resolution and dynamic per-pixel ray tracing during the process of rendering the volume dataset on the display. The program receives the volume dataset and renders the virtual camera construct (which lives inside the machine). The program moves and re-orients the camera under the user's control, altering the view as desired. As described, the dynamic rendering resolution process increases or decreases the number of pixels in each frame of a set of frames, while the per-pixel dynamic stepping increases or reduces the number of ray tracing steps (i.e., step distance along the ray) per pixel. By continuously reducing the resolution across frames and reducing the number of steps (i.e., varying the step distance along the ray) per pixel within a frame, the program can speed up its overall rendering of the image at the desired frame rate, and in this manner the virtual camera construct can be positioned and oriented anywhere, including within the volume dataset itself. The virtual camera has complete freedom-of-motion within and about the volume dataset; thus, the viewer has the ability to move to any position in 3D space and look in any direction in real-time. The described approach enables real-time tissue selection and segmentation in 3D so that various tissues (including bone) are visualized without requiring the program to continually re-build a 3D mesh or to use preset tissue palettes.
Claims
1. An article comprising a tangible, non-transitory machine-readable medium that stores a program, the program being executed by a machine having a hardware component to perform a method, the method comprising:
- receiving a volume dataset defining a volume; and
- rendering, with respect to any position and orientation in the volume, an image of the volume dataset at a given number of frames per second, each frame of the image having pixels that are uniform, at least two frames of an image sequence having varying resolution, and at least two pixels within a particular frame each being associated with a ray having a dynamic step distance.
2. The article as described in claim 1 wherein the volume dataset is received from a medical imaging scan.
3. The article as described in claim 1 wherein the image is rendered from a perspective that is external to the volume dataset.
4. The article as described in claim 1 wherein the image is rendered from a perspective that is internal to the volume dataset.
5. The article as described in claim 1 wherein the dynamic step distance is defined as a size of a step between a pair of samples along the ray associated with the pixel, wherein the size of the step is a function of a value in the volume dataset at each sample point.
6. Apparatus, comprising:
- a display;
- a processor; and
- computer memory holding computer program instructions that, when executed by or in association with the processor, render a 3D image on the display at a frame rate with two frames of an image sequence having varying resolution with respect to one another, and at least two pixels within a particular frame each being associated with a ray having a dynamic step distance.
7. The apparatus as described in claim 6 wherein the image is rendered from a perspective that is external to the 3D image.
8. The apparatus as described in claim 6 wherein the set of images are rendered from a perspective that is internal to the 3D image.
9. The apparatus as described in claim 6 wherein the processor is one of: a CPU, and a GPU.
10. The apparatus as described in claim 6 wherein the 3D image is one of: a CT scan, and an MRI scan.
11. The apparatus as described in claim 6 further including an input device.
12. The apparatus as described in claim 11 wherein data is received from the input device to simulate a user of the input device being positioned at any position in space, and to view in any direction, and with full freedom of motion, with respect to the 3D image.
13. A display method, comprising:
- receiving a volume dataset defining a volume; and
- rendering, using a hardware processor, and with respect to any position and orientation in the volume, an image of the volume dataset from a perspective of a virtual camera, at least two frames of an image sequence having varying resolution with respect to one another, and at least two pixels within a particular frame each being associated with a ray having a dynamic step distance.
14. The display method as described in claim 13 wherein the image is rendered from a perspective of the virtual camera that is external to the volume dataset.
15. The display method as described in claim 13 wherein the image is rendered from a perspective of the virtual camera that is internal to the volume dataset.
16. The display method as described in claim 15 wherein an orientation of the virtual camera is adjusted from within a position internal to the volume dataset.
17. The display method as described in claim 13 wherein the volume dataset is received from a medical imaging scan.
18. The apparatus as described in claim 6 wherein the dynamic step distance is defined as a size of a step between a pair of samples along the ray associated with the pixel, wherein the size of the step is a function of a value in the volume dataset at each sample point.
19. The display method as described in claim 13 wherein the dynamic step distance is defined as a size of a step between a pair of samples along the ray associated with the pixel, wherein the size of the step is a function of a value in the volume dataset at each sample point.
Type: Application
Filed: Jan 18, 2012
Publication Date: May 31, 2012
Patent Grant number: 8244018
Applicant: INTRINSIC MEDICAL IMAGING, INC. (Howell, MI)
Inventors: Lee R. McKenzie (Howell, MI), Mark C. McKenzie (Howell, MI)
Application Number: 13/352,502