oro.dicom 0.2.4

February 26, 2010

[This article was first published on Rigorous Analytics, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

The R package oro.dicom is a major revision, and improvement, on the previous package DICOM.  New features include

  • Increased speed
  • Uploading only header information (for restricted memory)
  • Reading implicit value representations (VR’s)
  • Parsing SequenceItem tags (undefined lengths are allowed)
  • Integration with oro.nifti to convert DICOM to NIfTI

Provided below is a straightforward application of the oro.dicom package to an example data set from the ADNI (Alzheimer’s Disease Neuroimaging Initiative).

The list object from reading all 166 DICOM files has two fields: header and image. Each hdr element contains the DICOM header fields associated with that file and the corresponding img element contains the PixelData tag.  The first DICOM file contains 312 DICOM header fields. Using extractHeader() one can obtain the value of a DICOM header field in either text or numeric format.

The image above is the mid-sagittal view of this subject from his/her MPRAGE acquisition.

To leave a comment for the author, please follow the link and comment on their blog: Rigorous Analytics.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)