SlideShare a Scribd company logo
Quantitative Analysis of
Dynamic Contrast-Enhanced MRI using R
The dcemriS4 package
Brandon Whitcher PhD CStat
b.whitcher@imperial.ac.uk
GlaxoSmithKline Clinical Imaging Centre
London, United Kingdom
rigorousanalytics.blogspot.com — www.dcemri.org — dcemri.blogspot.com
@whitcher — @dcemri — @rigorous
20 July 2010 for useR!2010
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 1 / 19
Outline
1 Motivation
2 Dynamic Contrast Enhanced MRI
3 Parameter Estimation
4 Conclusions
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 2 / 19
Motivation
Introduction
The quantitative analysis of DCE-MRI involves fitting
pharmacokinetic (PK) models to the concentration of a contrast
agent over time.
Gadolinium-based contrast agents, involving a small molecular-weight
substance, are injected after several baseline scans.
Using T1-weighted sequences, the reduction in T1 relaxation time
caused by the contrast agent is the signal dominant enhancement.
T1-weighted kinetic curves have three major phases
the upslope
maximum enhancement
washout
Dynamic acquisition
5-10 minutes for oncology applications
60-90 minutes for neurology (BBB) applications
dcemriS4 facilitates all stages of data analysis for DCE-MRI, and
diffusion-weighted imaging (DWI), using S4 nifti objects.
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 3 / 19
Motivation
RIDER Neuro MRI
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 4 / 19
Dynamic Contrast Enhanced MRI
Data Acquisition
1 Localizer
2 Structural scans
3 Multiple flip angles
4 B1 characterization (3T or higher fields)
5 Dynamic (bolus injection + 30s)
6 Structural scans
7 DWI
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 5 / 19
Dynamic Contrast Enhanced MRI
Data Acquisition
1 Motion correction and co-registration
2 T1 relaxation
3 Gadolinium concentration
4 B1 mapping
For higher field strengths (3T or more)
5 Arterial input function
6 Kinetic parameter estimation
7 Statistical inference
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 6 / 19
Dynamic Contrast Enhanced MRI
Tips and Tricks
Automation is the key to accurate and consistent results
Quantitative analysis of DCE-MRI depends on several key acquisition
parameters
oro.dicom provides the facility of converting DICOM header
information into a CSV file
path <- file.path(".")
subject <- 1086100996
dcm <- dicomSeparate(file.path(path, subject))
## Save DICOM header information to CSV file
dcm.csv <- dicomTable(dcm$hdr)
write.csv(dcm.csv, file=paste(subject, "csv", sep="."))
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 7 / 19
Dynamic Contrast Enhanced MRI
T1 Relaxation
Figure: T1 Phantom
Parametric form dictated
by physics
Multiple flip-angle
acquisitions
Nonlinear regression
Levenburg-Marquardt
minpack.lm
B1 field correction is
possible
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 8 / 19
Parameter Estimation
R code for T1 Estimation
R> alpha <- c(5, 10, 20, 25, 15)
R> TR <- 4.22 / 1000 # seconds
R> R1 <- R1.fast(flip, mask, alpha, TR, verbose = TRUE)
Deconstructing data...
Calculating R10 and M0...
Reconstructing results...
R> overlay(vibe, 1/R1$R10[, , 1:nsli(vibe)], z = 13,
+ zlim.x = c(0, 1024), zlim.y = c(0, 2.5),
+ plot.type = "single")
Flip angles in degrees
Repetition time in seconds
Signal intensities = 4D array
Mask = 3D array
Visualization provided by overlay() in oro.nifti
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 9 / 19
Parameter Estimation
Arterial Input Functions
Cp(t) = D [a1 exp(−m1t) + a2 exp(−m2t)]
Variables
D = 0.1mmol/kg, a1 = 3.99kg/l, a2 = 4.78kg/l , m1 = 0.144min−1
and m2 = 0.0111min−1
Weinmann et al. (1984); Tofts and Kermode (1984).
D = 0.1mmol/kg, a1 = 2.4kg/l, a2 = 0.62kg/l, m1 = 3.0min−1 and
m2 = 0.016min−1
Fritz-Hansen et al. (1996).
Cp(t) = ABt exp(−µBt) + AG [exp(−µG t) − exp(−µBt)] ,
Variables
Orton et al. (2008)
Seed-based algorithm in extract.aif()
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 10 / 19
Parameter Estimation
Kinetic Parameter Estimation
The standard Kety (1951) model, a single-compartment model, or the
extended Kety model, forms the basis for dcemriS4.
Ct(t) = Ktrans
[Cp(t) ⊗ exp(−kept)]
Ct(t) = vpCp(t) + Ktrans
[Cp(t) ⊗ exp(−kept)]
Estimation techniques include:
Nonlinear regression (Levenburg-Marquardt, minpack.lm)
Bayesian estimation via MCMC (Schmid et al. 2006)
Bayesian estimation via MAP (adaptation of Schmid et al. 2006)
Bayesian estimation via penalized B-splines (Schmid et al. 2009a)
Hierarchical Bayesian methods are not available at this time in
dcemriS4, but will be in PILFER.
http://pilfer.sourceforge.net
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 11 / 19
Parameter Estimation
Kinetic Parameter Estimation
acqtimes <- str2time(unique(sort(scan("rawtimes.txt", quiet=TRUE))))$time
conc <- readNIfTI(paste(s, d, "perfusion", "gdconc", sep="_"))
mask <- readANALYZE(paste(s, d, "perfusion", "mask2", sep="_"))
fit <- dcemri.lm(conc, (acqtimes - acqtimes[8]) / 60,
ifelse(mask > 0, TRUE, FALSE), model="extended",
aif="fritz.hansen", verbose=TRUE)
writeNIfTI(fit$ktrans, paste(s, d, "perfusion", "ktrans", sep="_"))
overlay(dyn[, ,6:9,],
ifelse(fit$ktrans[, ,6:9] < 0.25, fit$ktrans[, ,6:9], NA),
w=11, zlim.x=c(32,512), col.y=hotmetal(), zlim.y=c(0,.1))
Acquisition times are found in the DICOM data
DICOM header fields are vendor dependent
Zero must be defined as time of gadolinium injection
Mask was created in FSLView
Visualization provided by overlay() in oro.nifti
Time conversion provided by str2time() in oro.dicom
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 12 / 19
Parameter Estimation
RIDER Neuro MRI: Ktrans
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 13 / 19
Parameter Estimation
RIDER Neuro MRI: kep
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 14 / 19
Parameter Estimation
Statistical Inference
Methodology for statistical inference is not included in the dcemriS4
package.
Please use the models/tests in R to perform hypothesis tests.
Hierarchical Bayesian models are available, but not using R.
See Schmid et al. (2009b) for more information.
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 15 / 19
Conclusions
Conclusions
The package dcemriS4 attempts to provide quantitative methods for
DCE-MRI
Vendor software (GE, Siemens, Philips, etc.)
Proprietary software (JIM, etc.)
Home-grown solutions
Future directions
Multi-compartment models (Buckley et al.)
Parallelization (e.g., multicore)
Semi-parametric procedures (AUC, Tmax , Cmax , etc.)
Feedback
Please provide feedback (pos/neg) on the SourceForge forum or
mailing list.
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 16 / 19
Conclusions
References I
Fritz-Hansen, T., E. Rostrup, et al. (1996). Measurement of the arterial
concentration of Gd-DTPA using MRI: A step toward quantitative perfusion
imaging. Magnetic Resonance in Medicine, 36, 225–231.
Kety, S. S. (1951). The theory and applications of the exchange of inert gas
at the lungs and tissues, Pharmaceutical Review, 3, 1–41.
Larsson H. B. W, M. Stubgaard, et al. (1990). Quantitation of blood-brain
barrier defect by magnetic resonance imaging and gadolinium-DTPA in
patients with multiple sclerosis and brain tumors. Magnetic Resonance in
Medicine, 16, 117–131.
Orton M. R., J. A. d’Arcy, et al. (2008). Computationally efficient vascular
input function models for quantitative kinetic modelling using DCE-MRI.
Physics in Medicine and Biology, 53, 1225–1239.
Schmid, V., B. Whitcher, et al. (2006). Bayesian Methods for
Pharmacokinetic Models in Dynamic Contrast-Enhanced Magnetic
Resonance Imaging, IEEE Transactions in Medical Imaging, 25 (12),
1627–1636.
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 17 / 19
Conclusions
References II
Schmid, V. J., B. Whitcher, et al. (2009a). A Bayesian Hierarchical Model
for the Analysis of a Longitudinal Dynamic Contrast-Enhanced MRI
Oncology Study, Magnetic Resonance in Medicine, 61 (1), 163–174.
Schmid, V. J., B. Whitcher, et al. (2009b). A Semi-parametric Technique
for the Quantitative Analysis of Dynamic Contrast-enhanced MR Images
Based on Bayesian P-splines, IEEE Transactions in Medical Imaging, 28 (6),
789–798.
Tofts P. S., A. G. Kermode (1984). Measurement of the blood-brain barrier
permeability and leakage space using dynamic MR imaging. 1. Fundamental
concepts. Magnetic Resonance in Medicine, 17(2), 357–367.
Weinmann H. J., M. Laniado, W. Mutzel (1984). Pharmacokinetics of
Gd-DTPA/dimeglumine after intraveneous injection into healthy volunteers.
Physiological Chemistry and Physics and Medical NMR, 16, 167–172.
B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 18 / 19

More Related Content

PDF
Bayesian and Frequentist Methods for Compartmental Models in Perfusion MRI
PDF
DCE-MRI for Oncology in R
PDF
On Dose Reduction and View Number
PDF
Comparative dosimetry of forward and inverse treatment planning for Intensity...
PDF
THE USE OF ADAPTIVE STATISTICAL ITERATIVE RECONSTRUCTION (ASIR) ON IMAGE QUAL...
PDF
F04433538
PDF
An intensity based medical image registration using genetic algorithm
PPTX
Vmat technique for Breast, Head and Neck, Brain and Craniospinal irradiation ...
Bayesian and Frequentist Methods for Compartmental Models in Perfusion MRI
DCE-MRI for Oncology in R
On Dose Reduction and View Number
Comparative dosimetry of forward and inverse treatment planning for Intensity...
THE USE OF ADAPTIVE STATISTICAL ITERATIVE RECONSTRUCTION (ASIR) ON IMAGE QUAL...
F04433538
An intensity based medical image registration using genetic algorithm
Vmat technique for Breast, Head and Neck, Brain and Craniospinal irradiation ...

What's hot (20)

PDF
IRJET- A New Strategy to Detect Lung Cancer on CT Images
PDF
Medical Image Synthesis with Improved Cycle-GAN: CT from CECT
PDF
Unsupervised Deformable Image Registration Using Cycle-Consistent CNN
PDF
CycleMorph: Cycle consistent unsupervised deformable image registration
PDF
COMPARISON OF RADIATION DOSE AND IMAGE QUALITY BETWEEN THE SINGLE DETECTOR CT...
PDF
Detection of Diverse Tumefactions in Medial Images by Various Cumulation Methods
PDF
A study of a modified histogram based fast enhancement algorithm (mhbfe)
PPTX
Image registration and data fusion techniques.pptx latest save
PDF
An Improved TRICKS Method for Dynamic Contrast-Enhanced Tumor Imaging
PDF
Lung Nodule detection System
PDF
The Advantages of Two Dimensional Techniques (2D) in Pituitary Adenoma Treatment
PDF
Review on Medical Image Fusion using Shearlet Transform
PPTX
Image registraiton in Radiation Therapy
PDF
Automatic detection of lung cancer in ct images
PPTX
Lung Cancer Prediction using Image Classification
PDF
Session 7 interventional radiology
PDF
IRJET - Review on Lung Cancer Detection Techniques
PDF
Hybrid Speckle Noise Reduction Method for Abdominal Circumference Segmentatio...
PDF
Lung Nodule Segmentation in CT Images using Rotation Invariant Local Binary P...
PDF
A Novel Adaptive Denoising Method for Removal of Impulse Noise in Images usin...
IRJET- A New Strategy to Detect Lung Cancer on CT Images
Medical Image Synthesis with Improved Cycle-GAN: CT from CECT
Unsupervised Deformable Image Registration Using Cycle-Consistent CNN
CycleMorph: Cycle consistent unsupervised deformable image registration
COMPARISON OF RADIATION DOSE AND IMAGE QUALITY BETWEEN THE SINGLE DETECTOR CT...
Detection of Diverse Tumefactions in Medial Images by Various Cumulation Methods
A study of a modified histogram based fast enhancement algorithm (mhbfe)
Image registration and data fusion techniques.pptx latest save
An Improved TRICKS Method for Dynamic Contrast-Enhanced Tumor Imaging
Lung Nodule detection System
The Advantages of Two Dimensional Techniques (2D) in Pituitary Adenoma Treatment
Review on Medical Image Fusion using Shearlet Transform
Image registraiton in Radiation Therapy
Automatic detection of lung cancer in ct images
Lung Cancer Prediction using Image Classification
Session 7 interventional radiology
IRJET - Review on Lung Cancer Detection Techniques
Hybrid Speckle Noise Reduction Method for Abdominal Circumference Segmentatio...
Lung Nodule Segmentation in CT Images using Rotation Invariant Local Binary P...
A Novel Adaptive Denoising Method for Removal of Impulse Noise in Images usin...
Ad

Viewers also liked (11)

PPT
Introduction to trauma imaging. Guidelines and highlights for different imagi...
PPTX
Mri basics
PPTX
Mri basics
PPTX
Current trends in imaging of Epilepsy
PPTX
Advances in neuroimaging
PPTX
Radiology of trauma patients
PPT
Imaging modalities
PPTX
Advances in neuroimaging techniques
PPTX
Perfusion and dynamic contrast enhanced mri
PPSX
Alternative Imaging Techniques
PDF
Imaging biomarkers in Clinical trials
Introduction to trauma imaging. Guidelines and highlights for different imagi...
Mri basics
Mri basics
Current trends in imaging of Epilepsy
Advances in neuroimaging
Radiology of trauma patients
Imaging modalities
Advances in neuroimaging techniques
Perfusion and dynamic contrast enhanced mri
Alternative Imaging Techniques
Imaging biomarkers in Clinical trials
Ad

Similar to Quantitative Analysis of DCE-MRI using R (20)

PDF
useR2011 - Whitcher
PDF
Introduction to compressed sensing MRI
PDF
Perfusion MRI (DSC and DCE perfusion techniques) for radiology residents
PPT
SMRT_2007_Dunn
PPTX
Presentation1, mr pulse sequences.
PDF
Analysis of contrast concentration for radiological images using cbir framework
PDF
Perfusion deconvolution via em algorithm
 
PDF
Cedric De Bazelaire new advance in multiparametric breast mri jfim ifupi mila...
PPTX
Mri breast (2)
PDF
Neurology advanced mr imaging in epilepsy v lai
PPTX
MRI APPLICATION CLINICAL PRACTICE - RADIOLOGY
PPTX
MRI APPLICATION CLINICAL PRACTICE.pptx RADIOLOGY
PPTX
01_Overview.pptx
PPTX
whole body MR Imaging and application.pptx
PDF
Functional Magnetic Resonance Imaging (FMRI)
PPTX
module 3.pptx
PDF
Multiparametric Quantitative MRI as a Metric for Radiation Treatment Planning
PPTX
Diffusion weighted imaging
PPTX
Recent advancements in MRI Sequences.pptx
PPTX
8.CLINICAL APPLICATION OF MRI.pptx by ravindra kumar.pptx
useR2011 - Whitcher
Introduction to compressed sensing MRI
Perfusion MRI (DSC and DCE perfusion techniques) for radiology residents
SMRT_2007_Dunn
Presentation1, mr pulse sequences.
Analysis of contrast concentration for radiological images using cbir framework
Perfusion deconvolution via em algorithm
 
Cedric De Bazelaire new advance in multiparametric breast mri jfim ifupi mila...
Mri breast (2)
Neurology advanced mr imaging in epilepsy v lai
MRI APPLICATION CLINICAL PRACTICE - RADIOLOGY
MRI APPLICATION CLINICAL PRACTICE.pptx RADIOLOGY
01_Overview.pptx
whole body MR Imaging and application.pptx
Functional Magnetic Resonance Imaging (FMRI)
module 3.pptx
Multiparametric Quantitative MRI as a Metric for Radiation Treatment Planning
Diffusion weighted imaging
Recent advancements in MRI Sequences.pptx
8.CLINICAL APPLICATION OF MRI.pptx by ravindra kumar.pptx

Recently uploaded (20)

PDF
Therapeutic Potential of Citrus Flavonoids in Metabolic Inflammation and Ins...
PPTX
JUVENILE NASOPHARYNGEAL ANGIOFIBROMA.pptx
DOCX
RUHS II MBBS Microbiology Paper-II with Answer Key | 6th August 2025 (New Sch...
PPTX
CEREBROVASCULAR DISORDER.POWERPOINT PRESENTATIONx
PPTX
Important Obstetric Emergency that must be recognised
PPT
OPIOID ANALGESICS AND THEIR IMPLICATIONS
PPTX
Note on Abortion.pptx for the student note
PDF
focused on the development and application of glycoHILIC, pepHILIC, and comm...
PDF
Copy of OB - Exam #2 Study Guide. pdf
PPT
Management of Acute Kidney Injury at LAUTECH
PPT
STD NOTES INTRODUCTION TO COMMUNITY HEALT STRATEGY.ppt
PPTX
antibiotics rational use of antibiotics.pptx
PPTX
MANAGEMENT SNAKE BITE IN THE TROPICALS.pptx
PDF
Intl J Gynecology Obste - 2021 - Melamed - FIGO International Federation o...
PDF
Handout_ NURS 220 Topic 10-Abnormal Pregnancy.pdf
PPTX
Stimulation Protocols for IUI | Dr. Laxmi Shrikhande
PPTX
Respiratory drugs, drugs acting on the respi system
PPTX
Chapter-1-The-Human-Body-Orientation-Edited-55-slides.pptx
PPT
HIV lecture final - student.pptfghjjkkejjhhge
PDF
Oral Aspect of Metabolic Disease_20250717_192438_0000.pdf
Therapeutic Potential of Citrus Flavonoids in Metabolic Inflammation and Ins...
JUVENILE NASOPHARYNGEAL ANGIOFIBROMA.pptx
RUHS II MBBS Microbiology Paper-II with Answer Key | 6th August 2025 (New Sch...
CEREBROVASCULAR DISORDER.POWERPOINT PRESENTATIONx
Important Obstetric Emergency that must be recognised
OPIOID ANALGESICS AND THEIR IMPLICATIONS
Note on Abortion.pptx for the student note
focused on the development and application of glycoHILIC, pepHILIC, and comm...
Copy of OB - Exam #2 Study Guide. pdf
Management of Acute Kidney Injury at LAUTECH
STD NOTES INTRODUCTION TO COMMUNITY HEALT STRATEGY.ppt
antibiotics rational use of antibiotics.pptx
MANAGEMENT SNAKE BITE IN THE TROPICALS.pptx
Intl J Gynecology Obste - 2021 - Melamed - FIGO International Federation o...
Handout_ NURS 220 Topic 10-Abnormal Pregnancy.pdf
Stimulation Protocols for IUI | Dr. Laxmi Shrikhande
Respiratory drugs, drugs acting on the respi system
Chapter-1-The-Human-Body-Orientation-Edited-55-slides.pptx
HIV lecture final - student.pptfghjjkkejjhhge
Oral Aspect of Metabolic Disease_20250717_192438_0000.pdf

Quantitative Analysis of DCE-MRI using R

  • 1. Quantitative Analysis of Dynamic Contrast-Enhanced MRI using R The dcemriS4 package Brandon Whitcher PhD CStat b.whitcher@imperial.ac.uk GlaxoSmithKline Clinical Imaging Centre London, United Kingdom rigorousanalytics.blogspot.com — www.dcemri.org — dcemri.blogspot.com @whitcher — @dcemri — @rigorous 20 July 2010 for useR!2010 B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 1 / 19
  • 2. Outline 1 Motivation 2 Dynamic Contrast Enhanced MRI 3 Parameter Estimation 4 Conclusions B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 2 / 19
  • 3. Motivation Introduction The quantitative analysis of DCE-MRI involves fitting pharmacokinetic (PK) models to the concentration of a contrast agent over time. Gadolinium-based contrast agents, involving a small molecular-weight substance, are injected after several baseline scans. Using T1-weighted sequences, the reduction in T1 relaxation time caused by the contrast agent is the signal dominant enhancement. T1-weighted kinetic curves have three major phases the upslope maximum enhancement washout Dynamic acquisition 5-10 minutes for oncology applications 60-90 minutes for neurology (BBB) applications dcemriS4 facilitates all stages of data analysis for DCE-MRI, and diffusion-weighted imaging (DWI), using S4 nifti objects. B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 3 / 19
  • 4. Motivation RIDER Neuro MRI B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 4 / 19
  • 5. Dynamic Contrast Enhanced MRI Data Acquisition 1 Localizer 2 Structural scans 3 Multiple flip angles 4 B1 characterization (3T or higher fields) 5 Dynamic (bolus injection + 30s) 6 Structural scans 7 DWI B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 5 / 19
  • 6. Dynamic Contrast Enhanced MRI Data Acquisition 1 Motion correction and co-registration 2 T1 relaxation 3 Gadolinium concentration 4 B1 mapping For higher field strengths (3T or more) 5 Arterial input function 6 Kinetic parameter estimation 7 Statistical inference B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 6 / 19
  • 7. Dynamic Contrast Enhanced MRI Tips and Tricks Automation is the key to accurate and consistent results Quantitative analysis of DCE-MRI depends on several key acquisition parameters oro.dicom provides the facility of converting DICOM header information into a CSV file path <- file.path(".") subject <- 1086100996 dcm <- dicomSeparate(file.path(path, subject)) ## Save DICOM header information to CSV file dcm.csv <- dicomTable(dcm$hdr) write.csv(dcm.csv, file=paste(subject, "csv", sep=".")) B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 7 / 19
  • 8. Dynamic Contrast Enhanced MRI T1 Relaxation Figure: T1 Phantom Parametric form dictated by physics Multiple flip-angle acquisitions Nonlinear regression Levenburg-Marquardt minpack.lm B1 field correction is possible B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 8 / 19
  • 9. Parameter Estimation R code for T1 Estimation R> alpha <- c(5, 10, 20, 25, 15) R> TR <- 4.22 / 1000 # seconds R> R1 <- R1.fast(flip, mask, alpha, TR, verbose = TRUE) Deconstructing data... Calculating R10 and M0... Reconstructing results... R> overlay(vibe, 1/R1$R10[, , 1:nsli(vibe)], z = 13, + zlim.x = c(0, 1024), zlim.y = c(0, 2.5), + plot.type = "single") Flip angles in degrees Repetition time in seconds Signal intensities = 4D array Mask = 3D array Visualization provided by overlay() in oro.nifti B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 9 / 19
  • 10. Parameter Estimation Arterial Input Functions Cp(t) = D [a1 exp(−m1t) + a2 exp(−m2t)] Variables D = 0.1mmol/kg, a1 = 3.99kg/l, a2 = 4.78kg/l , m1 = 0.144min−1 and m2 = 0.0111min−1 Weinmann et al. (1984); Tofts and Kermode (1984). D = 0.1mmol/kg, a1 = 2.4kg/l, a2 = 0.62kg/l, m1 = 3.0min−1 and m2 = 0.016min−1 Fritz-Hansen et al. (1996). Cp(t) = ABt exp(−µBt) + AG [exp(−µG t) − exp(−µBt)] , Variables Orton et al. (2008) Seed-based algorithm in extract.aif() B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 10 / 19
  • 11. Parameter Estimation Kinetic Parameter Estimation The standard Kety (1951) model, a single-compartment model, or the extended Kety model, forms the basis for dcemriS4. Ct(t) = Ktrans [Cp(t) ⊗ exp(−kept)] Ct(t) = vpCp(t) + Ktrans [Cp(t) ⊗ exp(−kept)] Estimation techniques include: Nonlinear regression (Levenburg-Marquardt, minpack.lm) Bayesian estimation via MCMC (Schmid et al. 2006) Bayesian estimation via MAP (adaptation of Schmid et al. 2006) Bayesian estimation via penalized B-splines (Schmid et al. 2009a) Hierarchical Bayesian methods are not available at this time in dcemriS4, but will be in PILFER. http://pilfer.sourceforge.net B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 11 / 19
  • 12. Parameter Estimation Kinetic Parameter Estimation acqtimes <- str2time(unique(sort(scan("rawtimes.txt", quiet=TRUE))))$time conc <- readNIfTI(paste(s, d, "perfusion", "gdconc", sep="_")) mask <- readANALYZE(paste(s, d, "perfusion", "mask2", sep="_")) fit <- dcemri.lm(conc, (acqtimes - acqtimes[8]) / 60, ifelse(mask > 0, TRUE, FALSE), model="extended", aif="fritz.hansen", verbose=TRUE) writeNIfTI(fit$ktrans, paste(s, d, "perfusion", "ktrans", sep="_")) overlay(dyn[, ,6:9,], ifelse(fit$ktrans[, ,6:9] < 0.25, fit$ktrans[, ,6:9], NA), w=11, zlim.x=c(32,512), col.y=hotmetal(), zlim.y=c(0,.1)) Acquisition times are found in the DICOM data DICOM header fields are vendor dependent Zero must be defined as time of gadolinium injection Mask was created in FSLView Visualization provided by overlay() in oro.nifti Time conversion provided by str2time() in oro.dicom B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 12 / 19
  • 13. Parameter Estimation RIDER Neuro MRI: Ktrans B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 13 / 19
  • 14. Parameter Estimation RIDER Neuro MRI: kep B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 14 / 19
  • 15. Parameter Estimation Statistical Inference Methodology for statistical inference is not included in the dcemriS4 package. Please use the models/tests in R to perform hypothesis tests. Hierarchical Bayesian models are available, but not using R. See Schmid et al. (2009b) for more information. B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 15 / 19
  • 16. Conclusions Conclusions The package dcemriS4 attempts to provide quantitative methods for DCE-MRI Vendor software (GE, Siemens, Philips, etc.) Proprietary software (JIM, etc.) Home-grown solutions Future directions Multi-compartment models (Buckley et al.) Parallelization (e.g., multicore) Semi-parametric procedures (AUC, Tmax , Cmax , etc.) Feedback Please provide feedback (pos/neg) on the SourceForge forum or mailing list. B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 16 / 19
  • 17. Conclusions References I Fritz-Hansen, T., E. Rostrup, et al. (1996). Measurement of the arterial concentration of Gd-DTPA using MRI: A step toward quantitative perfusion imaging. Magnetic Resonance in Medicine, 36, 225–231. Kety, S. S. (1951). The theory and applications of the exchange of inert gas at the lungs and tissues, Pharmaceutical Review, 3, 1–41. Larsson H. B. W, M. Stubgaard, et al. (1990). Quantitation of blood-brain barrier defect by magnetic resonance imaging and gadolinium-DTPA in patients with multiple sclerosis and brain tumors. Magnetic Resonance in Medicine, 16, 117–131. Orton M. R., J. A. d’Arcy, et al. (2008). Computationally efficient vascular input function models for quantitative kinetic modelling using DCE-MRI. Physics in Medicine and Biology, 53, 1225–1239. Schmid, V., B. Whitcher, et al. (2006). Bayesian Methods for Pharmacokinetic Models in Dynamic Contrast-Enhanced Magnetic Resonance Imaging, IEEE Transactions in Medical Imaging, 25 (12), 1627–1636. B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 17 / 19
  • 18. Conclusions References II Schmid, V. J., B. Whitcher, et al. (2009a). A Bayesian Hierarchical Model for the Analysis of a Longitudinal Dynamic Contrast-Enhanced MRI Oncology Study, Magnetic Resonance in Medicine, 61 (1), 163–174. Schmid, V. J., B. Whitcher, et al. (2009b). A Semi-parametric Technique for the Quantitative Analysis of Dynamic Contrast-enhanced MR Images Based on Bayesian P-splines, IEEE Transactions in Medical Imaging, 28 (6), 789–798. Tofts P. S., A. G. Kermode (1984). Measurement of the blood-brain barrier permeability and leakage space using dynamic MR imaging. 1. Fundamental concepts. Magnetic Resonance in Medicine, 17(2), 357–367. Weinmann H. J., M. Laniado, W. Mutzel (1984). Pharmacokinetics of Gd-DTPA/dimeglumine after intraveneous injection into healthy volunteers. Physiological Chemistry and Physics and Medical NMR, 16, 167–172. B. Whitcher (GSK CIC) DCE-MRI in R 20 July 2010 18 / 19