High Performance 3D Image Reconstruction Platforms

By Nicole Hemsoth

October 26, 2007

by Prof. Dr. Marc Kachelrieß, Professor for Medical Imaging, Institute of Medical Physics (IMP), University of Erlangen-Nuremberg, Germany and Olivier Bockenbach, Systems Engineer, Mercury Computer Systems, Berlin, Germany

High-resolution tomographic scanners and other 3D technologies provide a number of compelling advantages for diagnostic medical imaging. However, 3D modalities such as Computed Tomography (CT) and Magnetic Resonance Imaging (MRI) are creating ever larger volumes of data, increasing the need for faster and bigger servers, higher network bandwidth, workstations with large memory and fast graphics, as well as advanced diagnostic software.

Advanced 3D Multi-Slice CT scanners generate up to more than 2000 projections per second, thus increasing the need for high-performance platforms that allow for the reconstruction and processing of medical imaging data nearly in real-time. High-performance systems, such as those based on the Cell Broadband Engine processor technology, allow for the implementation of advanced analytical and statistical CT reconstruction algorithms (and more specifically backprojection algorithms), thus enhancing image quality while keeping the X-Ray exposure of the patient as low as possible.

backprojection.JPG

Tomographic image reconstruction is computationally very demanding. In all cases the backprojection represents the performance bottleneck due to the high operational count and due to the high demand placed on the memory subsystem. In the past, solving this problem has led to the use of digital signal processors and the implementation of specific architectures, connecting Application Specific Integrated Circuits (ASICs) or Field Programmable Gate Arrays (FPGAs) to the memory through dedicated high-speed busses. More recently, attempts have also been made to use Graphic Processing Units (GPUs) and the Cell processor.

However much these architectures differ, they all share common properties that make them attractive for the implementation of backprojection algorithms: the relative balance of high memory bandwidth and processing capabilities. On the other hand, harnessing the power of such devices necessarily also involves decision making with regard to the computational precision, the handling of the signal dynamics and the allowed approximations one can consider for making efficient use of the processing power of these devices.

Once a valid solution for the implementation of a 3D backprojection algorithm has been found for the device under consideration, there are major tasks to be addressed before the algorithm-device pair can be successfully deployed in a medical Image Reconstruction System (IRS).

The backprojection is a considerable processing step, but a 3D image reconstruction algorithm also includes pre-processing, filtering and post-processing steps. Various devices considered for accelerating the backprojection reveal themselves to be more or less usable for other tasks, requiring more or less assistance from other co-processing units. The implementation of the complete reconstruction pipeline may require the combination of several different devices, influencing the design, implementation and maintenance costs. However broad the spectrum of possible solutions may be, clinical and hospital operating conditions place another constraint on the IRS. These requirements are mainly directed towards processing speed, in order to match the hospital workflow. Nevertheless, the operating environment also includes processing density, as well as power and cooling requirements. The expected level of availability also places another constraint on the IRS.

Finally, more and more attention is being paid to the costs of the IRS, not only during the design but also over the complete life cycle of the IRS. Hence, there are multiple aspects that need to be taken into consideration, such as the life cycle of the underlying technology, the rate at which new devices are introduced and the end of life, together with the level of compatibility that is offered among devices from the same vendor or product family.

Hardware platforms

The aim of this investigation is to implement a 3D cone-beam perspective backprojection algorithm for the Cell processor and to benchmark its performance against other alternatives, such as PC-, FPGA- or GPU-based implementations. Four different platforms were selected:

  • the reference platform for image quality is on a standard PC with a single Xeon processor clocked at 3.06 GHz and a front bus side with 533 MHz
  • the PCI Express Cell Accelerator Board from Mercury Computer Systems
  • the PCI VantageRT-FCN board from Mercury Computer Systems
  • the G70 GPU from NVIDIA.

Implementation principles

The reconstruction of the volume can be implemented in many different ways. For instance, one could choose processing of the voxels following x, y or z as the primary processing axis. The z direction offers the most interesting properties in terms of optimization of processing and was therefore chosen as the primary processing axis. Similarly, processing the projections to reconstruct the global volume makes best use of the hardware resources (e.g. registers for processors, BlockRAM for FPGAs) when it is carried out on sub-volumes of regular shape, such as the cube. For the above mentioned reasons, the overall reconstruction method is based on the division of the volume to be reconstructed into slabs, each slab being processed as a small cube.

The complete reconstruction of a slab requires all projections. However, each slab does not require complete full-sized projections. The surface needed to reconstruct a slab is contained in a rectangular shape. When the side of the reconstruction volume is parallel to the detector plane, the projection of the slab of these slices is a rectangle. At other projection angles, the projection of the slab is a hexagon. The height of the hexagon is greatest when the diagonal of the slices is perpendicular to the detector plane. The height of the hexagon is also greatest at the top and bottom of the reconstruction volume. The software has been designed to take advantage of these properties for the reconstruction of the complete volume.

Rectification-based or hybrid methods are in use to speed up the backprojection process [1]. These have demonstrated significant performance gains over direct methods. The advantage consists in utilizing the re-sampling and bilinear interpolation of the projection data to realign to an ideal detector geometry, in order to use only a nearest neighbor approach during the backprojection and thus save a significant number of cycles per point.

PC reference platform

The PC-based code implementation is of the hybrid type in regard to first performing a detector alignment, based on up-sampling and bilinear interpolation, followed by a voxel-driven backprojection based on a nearest neighbor interpolation. The proposed platform is capable of backprojecting 512 projections onto a 512^3 volume in 3.21 minutes.

FPGA platform

A complete description of the first implementation can be found in [3]. This platform performs the reconstruction in fixed point mathematics and is capable of backprojecting 512 projections onto a 512^3 volume in about 25 seconds.

GPU platform

Graphical image processing requires extraordinary data re-sampling capabilities. Therefore, most modern GPUs assist the processing elements with specialized circuitry for performing interpolations. It thus makes little sense to attempt to accelerate the backprojection through the use of hybrid methods. This platform performs the reconstruction in floating point mathematics and can backproject 512 projections onto a 512^3 volume in about 37 seconds [4].

Cell platform

Implementing a Feldkamp backprojection on the Cell processor consists in distributing the tasks between the processing elements of the processor [2]. Using the PPE as a manager of the reconstruction process while the SPEs are dedicated to performing the real reconstruction task is the approach that was selected for this investigation. This platform is capable of backprojecting 512 projections onto a 512^3 volume in about 17 seconds.

Image quality

The different implementations were tested using the same data set and the reconstructed clinical quality volumes obtained for each of these. For this investigation, a mouse scanned with a TomoScope 30s micro-CT scanner (VAMP GmbH, Erlangen, Germany) was used.

All implementations give images of clinical quality. However, slight differences were observed between the different reconstructed volumes. The deviations from the reference results have different origins.

FPGA implementations suffer from the lack of floating point support. In traditional implementations on earlier FPGAs, all of the computation has to use a fixed point representation with the inherent limit imposed by the width of the multipliers; 18 bits for the Virtex-2 Pro. Attempts for using floating point on FPGAs [5] have given interesting results, but the required accuracy has still to be demonstrated for the backprojection.

However close this may be to IEEE standards, the floating point processing on an NVIDIA GPU still shows some deviations with respect to the standard. The effect on the reconstruction results takes the form of incorrect handling of exceptional cases, such as Not A Number (NaN).

The Cell implementation suffers to a certain extent from inaccuracies related to the computations of estimates instead of real values for operators such as divide, square root and exponential. The estimates turn out to be accurate, up to the 6th digit after the floating point. However small the difference with exact results may be, the end effect is seen in the reconstructed volume.

However, image quality takes on a different meaning when it is evaluated in connection with reconstruction speed. For example, it takes approximately the same time for a Cell processor to reconstruct a 1024^3 volume as for a PC to reconstruct a 512^3 volume. Provided that the detector allows for this increased resolution, high performance can offer better resolution of the volume and in any case better image quality.

Performance

The Cell processor offers the best performance when compared with all other designed architectures. The Cell processor and the GPU we have selected are among the most recent technologies available on the market. The Virtex-II is not among the most recent FPGA packages, and the PC reference platform has more powerful successors with the dual-core and quad-core processors.

The newest Virtex-4 and Virtex-5 versions can run at clock speeds of around 500MHz, almost five times faster than the version we have investigated. Furthermore, Xilinx proposes designs to implement DDR-2 interfaces on the Virtex-4 and Virtex-5 chips, thus giving the same increase of 5x in performance for the memory subsystem. Without considering the improvements in the current state of the newest FPGAs, an increase in the performance factor of 5x is the absolute minimum to be expected.

The improvement in performance obtained with the newest dual-core and quad-core architectures is more difficult to estimate. The way in which the I/O and memory access resources are shared and distributed depends on the design of the processor. Nevertheless, with even the best case of a 4x performance improvement, a quad-core system does not come close to the performance of a Cell processor or a GPU, not to mention the newest FPGAs, considering that the reconstruction a standard quad-core system is at least three times slower than a Cell processor and 6 times slower than a modern GPU.

Software complexity

As pointed out in the software implementation section of this article, the most obvious and stable implementation has been realized using a PC. The Cell processor offers a multi-computing platform which is altogether comparable to multi-computers, such as those developed by Mercury Computer Systems with RACEWay, RACE++ and RapidIO. Even though all GPU boards support OpenGL and DirectX, the level of efficiency for different GPU boards varies considerably, even when these are from the same manufacturer. The result is that performance is not predictable across GPU board generations. The implementation section also shows that the coding of reconstruction algorithms is very much more difficult on FPGAs, mainly because these do not offer floating point operators and operators such as multiply, divide, sine and cosine. These functions must be coded as application-dependent Look-up Tables (LUTs).

System integration

The GPUs are intended as the graphical processor companion in every PC. Therefore, most modern PCs can accommodate the presence of a modern GPU, with respect to power supply and cooling. Consequently, all reconstruction hardware that fits in the same (cooling, power supply) envelope can be hosted in the same host PC. The Cell Accelerator Board – a high performance accelerator card based on the Cell BE processor – has been designed to fit into this envelope and can be hosted in any modern PC. FPGA-based boards are subject to the concept of the designer. FPGAs traditionally draw less power than high-clocked devices, such as a GPU or the Cell processor, and are in any case easier to cool.

Conclusion

All basic building blocks, i.e., GPU, FPGA and the Cell processor, are available and can deliver the appropriate image quality, however with varying degrees of effort. Depending on the evaluation criteria, the optimal choice between FPGAs, GPUs, multi-core based PCs and the Cell processor may differ. However, the Cell processor offers a fully programmable architecture, accessible from high-level programming languages such as C. Its application in the gaming industry suggests long-term availability of the parts for realistic field deployment and maintenance also in hospitals.

References

[1] Riddell, Cyril and Trousset, Yves, Rectification for Cone–Beam Projection and Backprojection, IEEE Transactions on Medical Imaging 25(7): 950-962, July 2006

[2] H.P. Hofstee. Power efficient processor architecture and the Cell processor. Proceedings of the 11th International Symposium on High-performance Computer Architecture, Feb. 2005

[3] I. Goddard, M. Trepanier. High Speed cone-beam reconstruction: an embedded system approach. SPIE Medical Imaging Proc., 4681:483-491, 2002.

[4] K. Müller, F. Xu. Accelerating popular tomographic reconstruction algorithms on commodity PC graphics hardware. IEEE Transactions on Nuclear Science, (3):654-663, 2005.

[5] R. Andraka, F. Xu. Hybrid Floating Techniques Yields 1.2 Gigasample Per Second 32 to 2048 point Floating Point FFT in a single FPGA. HPEC Proceedings, 2006.

Subscribe to HPCwire's Weekly Update!

Be the most informed person in the room! Stay ahead of the tech trends with industry updates delivered to you every week!

Q&A with Nvidia’s Chief of DGX Systems on the DGX-GB200 Rack-scale System

March 27, 2024

Pictures of Nvidia's new flagship mega-server, the DGX GB200, on the GTC show floor got favorable reactions on social media for the sheer amount of computing power it brings to artificial intelligence.  Nvidia's DGX Read more…

Call for Participation in Workshop on Potential NSF CISE Quantum Initiative

March 26, 2024

Editor’s Note: Next month there will be a workshop to discuss what a quantum initiative led by NSF’s Computer, Information Science and Engineering (CISE) directorate could entail. The details are posted below in a Ca Read more…

Waseda U. Researchers Reports New Quantum Algorithm for Speeding Optimization

March 25, 2024

Optimization problems cover a wide range of applications and are often cited as good candidates for quantum computing. However, the execution time for constrained combinatorial optimization applications on quantum device Read more…

NVLink: Faster Interconnects and Switches to Help Relieve Data Bottlenecks

March 25, 2024

Nvidia’s new Blackwell architecture may have stolen the show this week at the GPU Technology Conference in San Jose, California. But an emerging bottleneck at the network layer threatens to make bigger and brawnier pro Read more…

Who is David Blackwell?

March 22, 2024

During GTC24, co-founder and president of NVIDIA Jensen Huang unveiled the Blackwell GPU. This GPU itself is heavily optimized for AI work, boasting 192GB of HBM3E memory as well as the the ability to train 1 trillion pa Read more…

Nvidia Appoints Andy Grant as EMEA Director of Supercomputing, Higher Education, and AI

March 22, 2024

Nvidia recently appointed Andy Grant as Director, Supercomputing, Higher Education, and AI for Europe, the Middle East, and Africa (EMEA). With over 25 years of high-performance computing (HPC) experience, Grant brings a Read more…

Q&A with Nvidia’s Chief of DGX Systems on the DGX-GB200 Rack-scale System

March 27, 2024

Pictures of Nvidia's new flagship mega-server, the DGX GB200, on the GTC show floor got favorable reactions on social media for the sheer amount of computing po Read more…

NVLink: Faster Interconnects and Switches to Help Relieve Data Bottlenecks

March 25, 2024

Nvidia’s new Blackwell architecture may have stolen the show this week at the GPU Technology Conference in San Jose, California. But an emerging bottleneck at Read more…

Who is David Blackwell?

March 22, 2024

During GTC24, co-founder and president of NVIDIA Jensen Huang unveiled the Blackwell GPU. This GPU itself is heavily optimized for AI work, boasting 192GB of HB Read more…

Nvidia Looks to Accelerate GenAI Adoption with NIM

March 19, 2024

Today at the GPU Technology Conference, Nvidia launched a new offering aimed at helping customers quickly deploy their generative AI applications in a secure, s Read more…

The Generative AI Future Is Now, Nvidia’s Huang Says

March 19, 2024

We are in the early days of a transformative shift in how business gets done thanks to the advent of generative AI, according to Nvidia CEO and cofounder Jensen Read more…

Nvidia’s New Blackwell GPU Can Train AI Models with Trillions of Parameters

March 18, 2024

Nvidia's latest and fastest GPU, codenamed Blackwell, is here and will underpin the company's AI plans this year. The chip offers performance improvements from Read more…

Nvidia Showcases Quantum Cloud, Expanding Quantum Portfolio at GTC24

March 18, 2024

Nvidia’s barrage of quantum news at GTC24 this week includes new products, signature collaborations, and a new Nvidia Quantum Cloud for quantum developers. Wh Read more…

Houston We Have a Solution: Addressing the HPC and Tech Talent Gap

March 15, 2024

Generations of Houstonian teachers, counselors, and parents have either worked in the aerospace industry or know people who do - the prospect of entering the fi Read more…

Alibaba Shuts Down its Quantum Computing Effort

November 30, 2023

In case you missed it, China’s e-commerce giant Alibaba has shut down its quantum computing research effort. It’s not entirely clear what drove the change. Read more…

Nvidia H100: Are 550,000 GPUs Enough for This Year?

August 17, 2023

The GPU Squeeze continues to place a premium on Nvidia H100 GPUs. In a recent Financial Times article, Nvidia reports that it expects to ship 550,000 of its lat Read more…

Shutterstock 1285747942

AMD’s Horsepower-packed MI300X GPU Beats Nvidia’s Upcoming H200

December 7, 2023

AMD and Nvidia are locked in an AI performance battle – much like the gaming GPU performance clash the companies have waged for decades. AMD has claimed it Read more…

DoD Takes a Long View of Quantum Computing

December 19, 2023

Given the large sums tied to expensive weapon systems – think $100-million-plus per F-35 fighter – it’s easy to forget the U.S. Department of Defense is a Read more…

Synopsys Eats Ansys: Does HPC Get Indigestion?

February 8, 2024

Recently, it was announced that Synopsys is buying HPC tool developer Ansys. Started in Pittsburgh, Pa., in 1970 as Swanson Analysis Systems, Inc. (SASI) by John Swanson (and eventually renamed), Ansys serves the CAE (Computer Aided Engineering)/multiphysics engineering simulation market. Read more…

Choosing the Right GPU for LLM Inference and Training

December 11, 2023

Accelerating the training and inference processes of deep learning models is crucial for unleashing their true potential and NVIDIA GPUs have emerged as a game- Read more…

Intel’s Server and PC Chip Development Will Blur After 2025

January 15, 2024

Intel's dealing with much more than chip rivals breathing down its neck; it is simultaneously integrating a bevy of new technologies such as chiplets, artificia Read more…

Baidu Exits Quantum, Closely Following Alibaba’s Earlier Move

January 5, 2024

Reuters reported this week that Baidu, China’s giant e-commerce and services provider, is exiting the quantum computing development arena. Reuters reported � Read more…

Leading Solution Providers

Contributors

Comparing NVIDIA A100 and NVIDIA L40S: Which GPU is Ideal for AI and Graphics-Intensive Workloads?

October 30, 2023

With long lead times for the NVIDIA H100 and A100 GPUs, many organizations are looking at the new NVIDIA L40S GPU, which it’s a new GPU optimized for AI and g Read more…

Shutterstock 1179408610

Google Addresses the Mysteries of Its Hypercomputer 

December 28, 2023

When Google launched its Hypercomputer earlier this month (December 2023), the first reaction was, "Say what?" It turns out that the Hypercomputer is Google's t Read more…

AMD MI3000A

How AMD May Get Across the CUDA Moat

October 5, 2023

When discussing GenAI, the term "GPU" almost always enters the conversation and the topic often moves toward performance and access. Interestingly, the word "GPU" is assumed to mean "Nvidia" products. (As an aside, the popular Nvidia hardware used in GenAI are not technically... Read more…

Shutterstock 1606064203

Meta’s Zuckerberg Puts Its AI Future in the Hands of 600,000 GPUs

January 25, 2024

In under two minutes, Meta's CEO, Mark Zuckerberg, laid out the company's AI plans, which included a plan to build an artificial intelligence system with the eq Read more…

Google Introduces ‘Hypercomputer’ to Its AI Infrastructure

December 11, 2023

Google ran out of monikers to describe its new AI system released on December 7. Supercomputer perhaps wasn't an apt description, so it settled on Hypercomputer Read more…

China Is All In on a RISC-V Future

January 8, 2024

The state of RISC-V in China was discussed in a recent report released by the Jamestown Foundation, a Washington, D.C.-based think tank. The report, entitled "E Read more…

Intel Won’t Have a Xeon Max Chip with New Emerald Rapids CPU

December 14, 2023

As expected, Intel officially announced its 5th generation Xeon server chips codenamed Emerald Rapids at an event in New York City, where the focus was really o Read more…

IBM Quantum Summit: Two New QPUs, Upgraded Qiskit, 10-year Roadmap and More

December 4, 2023

IBM kicks off its annual Quantum Summit today and will announce a broad range of advances including its much-anticipated 1121-qubit Condor QPU, a smaller 133-qu Read more…

  • arrow
  • Click Here for More Headlines
  • arrow
HPCwire