Learn R Programming

radtools (version 1.0.6)

header_fields: Get the names of metadata fields from an image dataset's header(s)

Description

Get the names of metadata fields from an image dataset's header(s)

Usage

header_fields(img_data)

Arguments

img_data

Image data returned by e.g. read_dicom or read_nifti1

Value

Vector of header field names

Examples

Run this code
# NOT RUN {
data(sample_dicom_img)
data(sample_nifti_img)
header_fields(sample_dicom_img)
header_fields(sample_nifti_img)
# }

Run the code above in your browser using DataLab