Learn R Programming

radtools (version 1.0.6)

dicom_constant_header_values: Get the values of header attributes that are constant across slices

Description

Get the values of header attributes that are constant across slices

Usage

dicom_constant_header_values(dicom_data, numeric = TRUE)

Arguments

dicom_data

DICOM data returned by read_dicom

numeric

Convert number values to numeric instead of strings

Value

List of field values that are constant across all slices. List identifiers are field names and values are the common attribute values. Fields that are included more than once in the header are excluded from the return list.

Examples

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

Run the code above in your browser using DataLab