Published by the Foundation for Open Access Statistics
Editors-in-chief: Bettina Grün, Torsten Hothorn, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Working with the DICOM and NIfTI Data Standards in R | Whitcher | Journal of Statistical Software
Authors: Brandon Whitcher, Volker J. Schmid, Andrew Thorton
Title: Working with the DICOM and NIfTI Data Standards in R
Abstract: Two packages, oro.dicom and oro.nifti, are provided for the interaction with and manipulation of medical imaging data that conform to the DICOM standard or ANALYZE/NIfTI formats. DICOM data, from a single file or directory tree, may be uploaded into R using basic data structures: a data frame for the header information and a matrix for the image data. A list structure is used to organize multiple DICOM files. The S4 class framework is used to develop basic ANALYZE and NIfTI classes, where NIfTI extensions may be used to extend the fixed-byte NIfTI header. One example of this, that has been implemented, is an XML-based “audit trail” tracking the history of operations applied to a data set. The conversion from DICOM to ANALYZE/NIfTI is straightforward using the capabilities of both packages. The S4 classes have been developed to provide a userfriendly interface to the ANALYZE/NIfTI data formats; allowing easy data input, data output, image processing and visualization.

Page views:: 9851. Submitted: 2010-10-25. Published: 2011-10-27.
Paper: Working with the DICOM and NIfTI Data Standards in R     Download PDF (Downloads: 10463)
oro.dicom_0.3.1.tar.gz: R source package Download (Downloads: 779; 1MB)
oro.nifti_0.2.8.tar.gz: R source package Download (Downloads: 797; 3MB)
v44i06.R: R example code from the paper Download (Downloads: 898; 16KB) Example data Download (Downloads: 906; 27MB)

DOI: 10.18637/jss.v044.i06

This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.