parse_hdr: Parse DICOM header

View source: R/parse_hdr.R

parse_hdrR Documentation

Parse DICOM header

Description

Parses a DICOM header to a data.frame

Usage

parse_hdr(hdr)

Arguments

hdr

Character vector from dcmdump

Value

data.frame of tags and values

Examples

file = system.file("extdata", "example.dcm", package = "dcmtk")
hdr = dcmdump(file)
parsed = parse_hdr(hdr)

muschellij2/dcmtk documentation built on March 6, 2025, 12:07 a.m.