DicomMetadata-class: The DicomMetadata class

DicomMetadata-classR Documentation

The DicomMetadata class

Description

This class represents DICOM metadata, which typically contains detailed information about the scan parameters and subject.

Fields

source

String naming the source file

tags

Data frame of tag information

tagOffset

Starting offset for tags in the file

dataOffset

Starting offset for pixel data in the file

dataLength

Pixel data length

explicitTypes

Logical value indicating whether explicit types are used in the file

endian

String naming the endianness of the file

asciiFields

Character vector containing the contents of the ASCII header, if requested and present in the file.

transferSyntax

Transfer syntax string, if specified in the file; otherwise the empty string.

Methods

getAsciiFields(regex = NULL)

Retrieve the value of one or more fields in the ASCII header. Returns NA if no fields match

getTagValue(group, element)

Retrieve the value of a given tag, using an appropriate R type. Returns NA if the tag is missing


tractor.base documentation built on Aug. 24, 2022, 5:06 p.m.