7/24/2014 Image Quality for the Radiation Oncology Physicist: Review of the Fundamentals and Implementation Image Quality Review I: Basics and Image Quality TH-A-16A-1 Thursday 7:30AM - 9:30AM Room: 16A J. Anthony Seibert, PhD Department of Radiology UC Davis Medical Center Sacramento, California Disclosures • Trustee, American Board of Radiology • Author, Essential Physics of Medical Imaging Outline • Image quality and ROC analysis • Image quality fundamentals – – – – Contrast resolution, noise, NPS Spatial resolution, detail, MTF Digital sampling and aliasing Contrast – detail analysis • Detector uniformity and flat-fielding • Cone Beam CT issues • QA – QC resources 1 7/24/2014 Image Quality Technologist/Therapist: Work with the patient and the instruments to produce the best possible images. Medical Physicist: Optimize image quality of each medical imaging procedure to maximize diagnostic performance Radiologist/Radiation Oncologist: Optimize image interpretation skills for the most accurate diagnosis/evaluation possible maximize diagnostic performance sensitivity specificity Receiver-Operator Characteristic (ROC) distribution relationship to Image Quality and information decision threshold “normal” “abnormal” false negatives false positives abnormal normal decision parameter The ability to detect abnormality (disease) when it is present TP sensitivity = TP + FN decision threshold normal abnormal TP FN decision parameter 2 7/24/2014 TN specificity = The ability to exclude abnormality (disease) when it is not present TN + FP decision threshold normal abnormal TN FP decision parameter 100% t 0% sensitivity normal specificity abnormal decision parameter t Overlapping distributions --real world normal abnormal t Ideal performance normal abnormal decision parameter 3 7/24/2014 receiver operating characteristic (ROC) curve ideal performance sensitivity real world 1-specificity pure guessing In ROC analysis, which of the following is a measure of sensitivity? 28% 21% 17% 10% 24% 1. 2. 3. 4. 5. TP/(TP+FP) TP/(TP+FN) FP/(FP+TN) TN/(TN+FP) TP/(TP+FP+TN+FN) In ROC analysis, which of the following is a measure of sensitivity? 1. 2. 3. 4. 5. TP/(TP+FP) ..Positive Predictive Value TP/(TP+FN)…. Sensitivity FP/(FP+TN) … False Positive Fraction TN/(TN+FP)…. Specificity TP+TN/(TP+FP+TN+FN) ... Accuracy Reference: Essential Physics of Medical Imaging, Bushberg, Seibert, Leidholdt, Boone, 3rd Ed. Lippincott Williams & Wilkens, 2012. Chapter 4, Image Quality 4 7/24/2014 Image Quality contrast Contrast Resolution noise input functions Spatial Resolution digital sampling Contrast / Detail Image with no contrast Image with contrast Contrast subject contrast detector contrast digital contrast 5 7/24/2014 Subject Contrast C= No No A B A–B A No Subject Contrast No bone tissue A x-ray spectrum low kVp med kVp B high kVp bone contrast example low kVp high kVp good bone contrast good lung contrast 6 7/24/2014 Subject Contrast scattered radiation reduces subject contrast No C= No A–B A+S A S B S Subject Contrast contrast agents (obviously) affect contrast iodine in vessel digital subtraction angiography with iodine contrast agent in vessel double contrast GI study Contrast subject contrast detector contrast digital contrast 7 7/24/2014 Detector contrast (screen film) Detector contrast (screen film) detector contrast is the derivative of the characteristic curve Detector contrast (screen film) acceptable latitude 8 7/24/2014 Detector contrast (screen film) latitude Radiographic contrast (screen film) OD1 – OD2 = radiographic contrast screen film radiography Contrast subject contrast detector contrast digital contrast 9 7/24/2014 Detector contrast (digital) Characteristic Curve: Exposure in, GS out multiple exposures test object step wedge Detector contrast (digital) GS – GS GS = contrast digital radiography w white dark L digital manipulation of contrast contrast enhancement (post-acquisition) “window and leveling” 10 7/24/2014 The subject contrast generated in a patient is most dependent on which acquisition parameter? 13% 13% 37% 20% 17% 1. 2. 3. 4. 5. Generator waveform kV mAs Focal spot Collimation The subject contrast generated in a patient is most dependent on which acquisition parameter? 1. 2. 3. 4. 5. Generator waveform kV mAs Focal spot Collimation Reference: Essential Physics of Medical Imaging, Bushberg, Seibert, Leidholdt, Boone, 3rd Ed. Lippincott Williams & Wilkens, 2012. Chapter 7, Radiography. 11 7/24/2014 Image Quality Contrast Resolution contrast noise Spatial Resolution input functions digital sampling Contrast / Detail Noise SNR = m N ο΅ = N s N Fractional noise = 1 N 12 7/24/2014 Manipulation of digital detector contrast narrower window narrower window narrower window noise limited screen film contrast limited digital images noise limited Characterizing image noise RMS noise (s) 2 Noise sources: Quantum Electronic Pattern Anatomic Ideally, noise should always be quantum limited; the RMS noise also does not indicate noise correlation nq ne np na s = ο nq + n e + np + na Expected statistical noise slope of power function = -0.5 Quantum-limited operation s = ο n q + n e + np + na Overall noise dominated by quantum fluctuations over a defined range 13 7/24/2014 What level of noise? …depends on incident number of photons efficiency of detection, signal conversion, and #photons detected / unit volume Example: variance for CT image reconstruction ππ ο΅ π ππ π πΈ w pixel dimension h slice thickness Q # photons Contrast resolution is determined by contrast and noise Contrast to Noise Ratio (CNR) πππ = πππ πππ πΆππ = (ππ − πππ ) πππ 41 Characterizing image noise Noise Power Spectrum: NPS(f) Fourier Transform 14 7/24/2014 Characterizing image noise – noise texture Noise Power Spectrum: NPS(f) Noise Power Spectrum: NPS(f) small objects large objects s2 A total of 1,000,000 photons/mm2 are incident on a 100% efficient digital detector with pixels of 0.1 mm x 0.1 mm. What is the estimated SNR? 10% 10% 30% 23% 27% 1. 2. 3. 4. 5. 10 32 100 320 1000 Hint: 0.1 mm x 0.1 mm = 0.01 mm2 15 7/24/2014 A total of 1,000,000 photons/mm2 are incident on a 100% efficient digital detector with pixels of 0.1 mm x 0.1 mm. What is the estimated SNR? 1. 2. 3. 4. 5. 10 32 100 320 1000 106 / mm2 x 10-2 mm2 = 104 ; ο104 = 100 Reference: Essential Physics of Medical Imaging, Bushberg, Seibert, Leidholdt, Boone, 3rd Ed. Lippincott Williams & Wilkens, 2012. Chapter 4, Image Quality Image Quality Contrast Resolution contrast noise Spatial Resolution input functions digital sampling Contrast / Detail object in imaging system image out 16 7/24/2014 object in imaging system Point Spread Function (PSF) image out object in imaging system Line Spread Function (LSF) image out object in imaging system Edge Spread Function (ESF) image out 17 7/24/2014 input signal PSF: h(x,y) image produced = I′(x,y) h(x,y) I(x,y) The convolution integral stationary non-stationary 53 Spatial Frequency cycle/mm, mm-1 line pair / mm (lp/mm) square wave sine wave 18 output signal amplitude input signal amplitude output signal amplitude input signal amplitude 7/24/2014 D f = 0.5 cycles / mm D f = 1.0 cycles / mm 19 output signal amplitude input signal amplitude 7/24/2014 D f = 1.5 cycles / mm 20 7/24/2014 input signal amplitude output signal amplitude D f = 2.0 cycles / mm output signal amplitude input signal amplitude D f = 1.0 cycles / mm f = 0.5 cycles / mm D f = 1.5 cycles / mm D D f = 2.0 cycles / mm 21 7/24/2014 large objects smaller objects Ideal Performance Practical way for measuring the MTF of an imaging system slit phantom slit image LSF(x) LSF(x) 22 7/24/2014 Geometry Issues x-ray source Magnification a M = (a + b)/a object size for a point source object in patient b detector image size Focal spot and geometric magnification focus width, F x-ray source a Large focus (1.2 mm) edge in patient b detector penumbra width, P Small focus (0.6 mm) Amount of blur is dependent on magnification πbππ’π = mm-1 1 π − 1 πΉπ mm Image Quality Contrast Resolution contrast noise Spatial Resolution input functions digital sampling Contrast / Detail 23 7/24/2014 detector element affects resolution affects aliasing aliasing frequency f P D Nyquist Criterion: F = 1 / 2D have to sample at least twice per period 24 7/24/2014 aliasing frequency f P Nyquist Criterion OK to over-sample aliasing frequency f P Nyquist Criterion not OK to under-sample aliasing Nyquist Criterion not OK to under-sample 25 7/24/2014 With Fn = 5 cycles / mm (D = 0.100 mm) aperture blurring signal averaged 26 7/24/2014 Typical measurement of resolution Bar phantom analysis and determination of lp/mm Where d is the del dimension … lpxy=1/d√2 2d lpx=1/2d lpx lpxy 1/2d = 1/d√2 lpx lpxy = d√2 2d lpx 2 = lpxy √2 lpx √2 = 2d lpxy lpy=1/2d A B C Limiting resolution imaging chain 27 7/24/2014 Image Quality Contrast Resolution contrast noise Spatial Resolution input functions digital sampling Contrast / Detail SNR ο΅οN contrast resolution spatial resolution the contrast detail curve combines the effects of spatial resolution and contrast resolution contrast easiest to see hardest to see detail Looking for the “just visible” disks 28 7/24/2014 the contrast detail curve A B the contrast detail curve contrast contrast Limiting resolution Limiting contrast detail detail a = contrast A = area of object s = StdDev noise Rose criterion: contrast “Visibility” requires SNR of at least 3…. detail mathematical approach to combining contrast & spatial resolution ? 29 7/24/2014 contrast resolution – Noise Power Spectrum (NPS) how an imaging system “passes” noise spatial resolution – Modulation Transfer Function (MTF) how an imaging system “passes” signal A contrast-detail image is acquired and processed (A). A second image is acquired (B) with different acquisition or processing parameters. What is the likely cause for the change in the C-D curves? contrast DQE: Information recording & retrieval efficiency A B detail 17% 1. Image B is processed with a spatial blurring filter 23% 2. Image B is processed with a spatial sharpening filter 23% 3. Image B is acquired with more mAs 13% 4. Image B is acquired with more filtration 23% 5. Image B is unchanged. 30 A contrast-detail image is acquired and processed (A). A second image is acquired (B) with different acquisition or processing parameters. What is the likely cause for the change in the C-D curves? contrast 7/24/2014 Reference: Essential Physics of Medical Imaging, Bushberg, Seibert, Leidholdt, Boone, 3rd Ed. Lippincott Williams & Wilkens, 2012. Chapter 4. A B detail 1. Image B is processed with a spatial blurring filter 2. Image B is processed with a spatial sharpening filter 3. Image B is acquired with more mAs 4. Image B is acquired with more tube filtration 5. Image B is unchanged. Detector Uniformity Issues 2-D flat-field correction ο§ Non-functioning components: ο§ Intensity variations: ο§ ο§ ο§ ο§ Dead pixels in columns and/or rows Uneven phosphor coating Optical coupling (vignetting, barrel distortion) Converter sensitivity ο§ Variation in offset and gain of sub-panels ο§ Variation in black-level correction Uncorrected flat-panel image Background signal +,column defects row defects pixel defects Sub-panel offset gain variation 31 7/24/2014 Uncorrected flat-panel image Pixel and column defects Identify location of pixel defects: Interpolate bi-linearly (4 nearest neighbors) Column, row defects: Interpolate linearly (2 surrounding neighbors) Example “raw” image & flat-field Raw, Raw Background variations Column, line defects “Del” dropouts Correction “mask” Avg, inverted background Column, line, pixel repair Normalized values Screen-Film “For Processing” (original) Raw Pre-processed image Image pixel value to exposure relationship? “For Presentation” (presentation) Processed Contrast, resolution enhancement; proprietary processing Flat-field pre-processing 125 kVp 2 mAs aSi/CsI Flat-Panel CR Low contrast resolution ο MDACC: Chris Shaw, et al 32 7/24/2014 MITA Industry Definitions for Image Data States LINEARIZED DATA Inverse CONVERSION FUNCTION RAW DATA ORIGINAL DATA (aka “For Processing”) Detector corrections Detector Data PRESENTATION DATA (aka “For Presentation”) Nonlinear processing Image for Viewing on a Display Detector Corrected Data CBCT issues ο§ Large area detector ο§ Geometric rotation accuracy ο§ Diverging radiation beam along z-axis ο§ X-ray scatter and beam uniformity ο§ HU accuracy and percent noise ο§ Cone beam reconstruction artifacts ο§ Radiation dose measurements geometric calibration uwr = yobj D + uwr sin f (C + xobj) cos f flat field correction cupping correction HU correction cone beam reconstruction 33 7/24/2014 An Integrated CT Image Quality / Dosimetry Phantom noise power spectrum (NPS) modulation transfer function (MTF) dosimetry 2D NPS 3D NPS Noise Power Spectra Assessment MTF Assessment oversampled slit effect of technique MTF LSF Cone Beam CT artifacts Defriese phantom fairly aggressive cone beam acquisition circular geometry more conventional helical acquisition helical geometry 34 7/24/2014 axial sagittal 3D Noise Power Spectrum coronal CT image quality evaluation Old Era New Era phantom complicated basic ο₯ MTF ( f ) = analysis e ο2ο° ifx dx ο₯ ο² LSF ( x) dx οο₯ simple results ο² LSF ( x) οο₯ clinically useful more sophisticated useful & quantitative QA and QC • Quality assurance (QA)*: “The planned and systematic activities implemented in a quality system so that quality requirements for a product or service will be fulfilled.” • Quality control (QC)*: “The observation techniques and activities used to fulfill requirements for quality.” *The American Society for Quality 35 7/24/2014 QC resources • AAPM Task Group Reports • ACR / AAPM / SIIM technical standards • NCRP / ICRU Reports • Accreditation program guidelines • Manufacturer’s guidelines • Automated software evaluation with specificallydesigned phantoms and /or software …… AAPM reports Applications for Diagnostic • • • • • • • #14: X-ray generators #25: X-ray survey #74: General x-ray QC #93: CR testing & QC #116: DR Exposure #150: DR detector #151: DR clinical QC (1985) (1988) (2002) (2006) (2009) (IP) (IP) Applications for CT • #39: CT testing QC (1993) • #96: CT dosimetry (2008) • #111: Future of CT dose (2010) • #204: SSDE (2011) • #200: CT Phantoms (IP) • #220: CT Patient size (IP) • #233: CT Perf Evaluation (IP) • #246: CT Patient Dose (IP) Applications for therapy IGRT • • • • #104: kV imaging (2009) #142: Med Accel QC (2009) #179: IGRT systems (2012) ACR–AAPM Technical Std for Perf Monitoring of IGRT (2014) AAPM Report 179 Modes of acquisition Flat panel detector - Projection Imaging - Cone beam CT QC Test AAPM 179 Safety system Daily IQ: Uniformity Monthly / Semi-annual IQ: Image density Optional monthly IQ: Noise Monthly / Semi-annual IQ: Contrast detail Monthly / Semi-annual IQ: Resolution Monthly / Semi-annual Geometry: isocenter Daily Geometry: scaling Monthly / Annually X-ray generator Annual Dosimetry Annual 36 7/24/2014 Which of the following QC tests is performed on a daily basis for a cone-beam CT scanner used for IGRT? 20% 13% 27% 27% 13% 1. 2. 3. 4. 5. Image Uniformity Spatial Resolution Noise Distribution Contrast Detail Isocenter Verification Which of the following QC tests is performed on a daily basis for a cone-beam CT scanner used for IGRT? 1. 2. 3. 4. 5. Image Uniformity Spatial Resolution Signal/Noise Ratio Contrast Detail Isocenter Accuracy Reference: Quality assurance for image-guided radiation therapy utilizing CT-based technologies: A report of the AAPM TG-179. Med. Phys. 39 (4), April 2012. Available at aapm.org/pubs/reports/RPT_179 Summary • An understanding of basic image quality fundamentals is essential to performing QA and QC in a knowledgeable manner • Increased use of imaging in radiation therapy requires medical physicists to engage in converting QA/QC “information” into knowledge through experiential efforts • Both qualitative and quantitative QC tools are important in verifying system performance 37