Learn R Programming

oro.dicom (version 0.3.1)

DICOM Headers: Internal Functions for DICOM Headers

Description

These functions are only used internally, via dicomInfo, to handle the various types of DICOM header fields.

Usage

floating.header(VR, implicit, fid, endian)
other.header(fid, implicit, endian)
pixeldata.header(hdr, implicit, fid, endian)
signed.header(VR, implicit, fid, endian)
sequence.header(group, element, fid, implicit, endian, skipSQ, SQ, EOS)
unknown.header(VR, implicit, fid, endian, skipSQ)
unsigned.header(VR, implicit, fid, endian)

Arguments

VR
is the
implicit
is a logical value that denotes if the VR is implicit or not.
fid
is the file object.
endian
is a character string denoting the endianness of the data, where possible values are big, little and swap.
hdr
is the DICOM header information provided in a list structure.
group
is the first hexadecimal number associated with the DICOM header element.
element
is the second hexadecimal number associated with the DICOM header element.
skipSQ
is a logical value (SQ = seqence).
SQ
is a character string (default = NULL).
EOS
is a logical value (EOS = end of sequence).

Value

  • List with two elements:
  • lengthis the length of the value in bytes.
  • valueis the value of the DICOM header field.

References

Digital Imaging and Communications in Medicine (DICOM) http://medical.nema.org

See Also

dicomInfo, dicomSeparate