cuda accelerated real time signal processing in high … · 2013. 3. 21. · introduction to...

18
CUDA Accelerated Real Time Signal Processing in High Performance Diagnostic Ultrasound Imaging Sample NVIDIA GPU Technology Conference March 18-21, 2013 Copyright © 2010 Siemens Medical Solutions USA, Inc. All rights reserved. Ismayil Guracar Senior Key Expert Siemens Medical Solutions USA, Inc Ultrasound Business Unit Copyright © 2013 Siemens Medical Solutions USA, Inc. All rights reserved.

Upload: others

Post on 10-Oct-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

CUDA Accelerated Real Time Signal Processing in High Performance Diagnostic Ultrasound Imaging

Sample NVIDIA GPU Technology Conference March 18-21, 2 013

Copyright © 2010 Siemens Medical Solutions USA, Inc . All rights reserved.

Ismayil GuracarSenior Key ExpertSiemens Medical Solutions USA, IncUltrasound Business Unit

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.

Page 2: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

Introduction to Diagnostic Ultrasonic Imaging1Speckle Reduction Processing Example2

Real time Ultrasound Signal Processing

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 2 2008-04-01 AuthorPage 2

2Cardiac Imaging in real time 2D and 3D3

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 2

Page 3: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

Diagnostic Imaging Instrument

A machine for the acquisition of imaging information to affect diagnosis and treatment of disease

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 3

Page 4: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

� High frequency sound

� typically from 1 to 20 MHz

Introduction to Ultrasonic Imaging1

Real time Ultrasound Signal Processing

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 4

� λ=1.5 mm ~ 77 µm

� speed of sound in tissue 1540 m/sec� 15 cm round trip propagation in 200 µsec

� 80 transmit/receive events can sample a region at 60 Hz

� transmit and receive waves into the body from a piezoelectric transducer: 128 to 512 elements

� phased array transmit and receive beam forming

Page 5: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

ACUSON SC2000TM Ultrasound System Signal Processing Pipeline

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 5

Quadro2000CUDA

Page 6: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

Conventional 2D Cardiac Imaging

Real time cross sectional imaging

� Typical frame rates 30-60 Hz

� Data rates on the order of 10 Megasamples per second

� Multiple views and transducer orientations needed to acquire a complete diagnostic exam

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 6

Page 7: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

3D Imaging

Real time volumetric imaging

� Typical frame rates 20-30 Hz

� Data rates on the order of 100 Megasamples per second

� All data required for cardiac exam acquired in a single heartbeat

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 7

More Diagnostic Information from a Single Exam

Page 8: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

� Speckle is a random process inherent in any coherent imaging system

Speckle Reduction Processing2

Real time Ultrasound Signal Processing

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 8

� laser speckle example

� Speckle reduces lesion conspicuity: � subtle variations in backscatter are obscured by

the random noise from speckle

� Some speckle reduction techniques� spatial averaging

� spatial resolution traded for speckle reduction

� spatial compounding� temporal resolution traded off for spatial diversity

acquisition and averaging

Page 9: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

Steered Spatial Compounding Speckle Reduction Using Combined Measurements from a Diversity of Steering Angles

0 degree steering angle

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 9

Page 10: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

Steered Spatial Compounding Speckle Reduction Using Combined Measurements from a Diversity of Steering Angles

-20° -15° -9°

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 10

0° +9° +15°

+20°

Page 11: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 11

non-compounded image 7-way compounded image

Page 12: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

Scan Geometry Transformation Using CUDA Texture Lookups

Geometric transformation with bilinear interpolation using a sequence of 2D texture lookups in the kernel core

� for a given sample in the target Cartesian grid at (x,y) first find the transformation coordinates� using transformation coordinates (r,p)

cartesian.x→

cartesian.y →

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 12

acousticCoordinate.r = tex2D(scanGeometryTextTransformationTexture, cartesian.x, cartesian.y).x;acousticCoordinate.p = tex2D(scanGeometryTextTransformationTexture, cartesian.x, cartesian.y).y;transformedData = tex2D(acousticData, acousticCoordinate.r, acousticCoordinate.p);

using transformation coordinates (r,p) perform bilinear interpolation of the nearest data points in the acquired grid

Page 13: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

Imaging Condition Example

• ACUSON SC2000 with 9L4 vascular transducer • 55 mm imaging depth at 9 MHz• 7-way compounding • Frame rate: 61 frames/sec• Data rate: 10 Megasamples/sec

CPU Implementation: scan convert and compound• Uses one active CPU core of a quad core 2.33 GHz Xeon

Performance Measurements

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 13

• Uses one active CPU core of a quad core 2.33 GHz Xeon• Performance achieved: 86 Megasamples/sec• Imaging condition requires 10÷86 = 12% of the available CPU compute power

CUDA Implementation: scan convert and compound• Quadro2000 • Performance achieved: 694 Megasamples/sec• Imaging condition requires 10÷694 = 1.4% of the available GPU compute power

The CUDA implementation increased data processing rate performance by a factor of nearly 8 over single core processors and theoretically greater than a factor of 2 over a fully utilized quad core processor.

Page 14: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

� Small aperture: � the heart is relatively far away from the probe and often

imaged between two ribs—spatial diversity impractical

Speckle Reduction in 3D Cardiac Imaging3

Real time Ultrasound Signal Processing

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 14

imaged between two ribs—spatial diversity impractical

� Demanding data rates: � about 100 Mega Samples/sec

� 20 Hz frame rate minimum

� Morphology based filtering techniques

� non linear processing with surface filters oriented parallel to chamber surface

� reduces loss in resolution compared to conventional spatial filtering

� improves heart muscle / blood chamber interface visibility

Page 15: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

Cardiac Volume Imaging– with and without speckle filtering

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 15 2008-04-01 AuthorPage 15

Page 16: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

Performance Measurements

Imaging Condition

• ACUSON SC2000TM volume imaging ultrasound system with 4Z1c matrix transducer

• 160 mm imaging depth at 2.8 MHz• Volume rate: 19 volumes/sec• Data rate: 90 MB/sec

CPU Based Software Implementation• Uses six active CPU cores of a dual quad core 2.13 GHz Xeon

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 16

• Uses six active CPU cores of a dual quad core 2.13 GHz Xeon• Performance achieved: 141.7 Megasamples/sec• Imaging condition requires 90/141.7×6/8 = 47.6% of the total available CPU compute power

Kepler 2000D CUDA Implementation• performance achieved: 289 Megasamples/sec• imaging condition requires 31.1% of the GPU available compute power

CUDA implementation speed increased by a factor of 1.9 over dual quad core processors and greater than a factor of 11 over a single core

Main memory bandwidth demand reduced by an order of magnitude

Page 17: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

Engineering development to do list…

To do:

� Leverage improvements in GPU technology to further improve the signal processing pipeline

� Move to all-software image formation to completely displace custom FPGA hardware

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 17

completely displace custom FPGA hardware

� Meet increasing parallel receive beam former information rates

� Better, faster, smaller, cheaper…

Page 18: CUDA Accelerated Real Time Signal Processing in High … · 2013. 3. 21. · Introduction to Diagnostic Ultrasonic 1 Imaging ... RT CUDA-based signal processing and high data rate

Thank you for your attention!

Ismayil GuracarSenior Key ExpertSiemens Medical Solutions, USA IncUltrasound Business Unit

685 E. Middlefield Road

Copyright © 2013 Siemens Medical Solutions USA, Inc . All rights reserved.Page 18

685 E. Middlefield RoadMountain View, CA 94043Phone: (650) [email protected]