readDicomFile | R Documentation |
This function reads a DICOM file into a DicomMetadata
object.
Only DICOM files from magnetic resonance scanners are supported.
readDicomFile(fileName, checkFormat = TRUE, stopTag = NULL,
ignoreTransferSyntax = FALSE, ascii = TRUE)
fileName |
The name of a DICOM file. |
checkFormat |
If |
stopTag |
An integer vector giving the group and element numbers (in
that order) of a DICOM tag, or |
ignoreTransferSyntax |
If |
ascii |
If |
readDicomFile
returns a DicomMetadata
object, or NULL
on failure.
Jon Clayden
Please cite the following reference when using TractoR in your work:
J.D. Clayden, S. Muñoz Maniega, A.J. Storkey, M.D. King, M.E. Bastin & C.A. Clark (2011). TractoR: Magnetic resonance imaging and tractography with R. Journal of Statistical Software 44(8):1-18. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v044.i08")}.
The DICOM standard, found online at
https://www.dicomstandard.org/. (Warning: may produce headaches!)
Also readDicomDirectory
for information on how to create
MriImage
objects from DICOM files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.