readDicomDirectory | R Documentation |
This function scans a directory for files in DICOM format, and converts them to a single Analyze/NIfTI-format image of the appropriate dimensionality.
readDicomDirectory(dicomDir, method = c("internal", "divest"),
readDiffusionParams = FALSE, untileMosaics = TRUE, ...)
dicomDir |
Character vector of length one giving the name of a directory containing DICOM files. |
method |
Character string specifying whether to use the internal DICOM
reading code or use the |
readDiffusionParams |
Logical value. Should diffusion MRI parameters (b-values and gradient directions) be retrieved from the files if possible? |
untileMosaics |
Logical value. Should Siemens mosaic images be
converted into 3D volumes? This may occasionally be performed in error,
which can be prevented by setting this value to |
... |
Additional arguments to |
A list containing elements
An MriImage
object.
Diffusion b-values, if requested. Will be NA
if
the information could not be found in files.
Diffusion gradient vectors, if requested. Will be
NA
if the information could not be found in the files.
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")}.
DicomMetadata
, MriImage
,
sortDicomDirectories
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.