Usage
readDICOMFile(fname, endian = "little", flipud = TRUE, skip128 = TRUE,
DICM = TRUE, skipSequence = TRUE, pixelData = TRUE,
warn = -1, debug = FALSE)
rereadDICOMFile(fname, endian = "little", flipud = TRUE, DICM = TRUE,
skipSequence = FALSE, readPixelData = TRUE,
warn = -1, debug = FALSE)
parseDICOMHeader(rawString, sq.txt = "", endian = "little",
verbose = FALSE)Arguments
fname
is the file name of the DICOM image (with suffix).
endian
is the endian-ness of the file (default is "little").
flipud
is a logical variable for vertical flipping of the image
(default is TRUE).
skip128
is a logical variable to skip the first 128 bytes in
the file (default = TRUE).
DICM
is a logical variable to read in the four bytes DICM
(default = TRUE).
skipSequence
is a logical variable to skip all content
contained in SequenceItem tags (default = TRUE).
pixelData
is a logical variable (default = TRUE) on
whether or not the PixelData should be read from the DICOM files.
readPixelData
is a logical variable (default = TRUE) on
whether or not the PixelData should be read from the DICOM files.
warn
is a number to regulate the display of warnings (default =
-1). See options for more details.
debug
is a logical variable (default = FALSE) that
regulates to display of intermediate processing steps.
verbose
is a logical variable (default = FALSE) that
regulates to display of intermediate processing steps.
rawString
is a vector of raw values taken directly from
the DICOM file.
sq.txt
is an character string (default = ) that indicates
if the DICOM header field is embedded within a sequence.