Learn R Programming

CTRing (version 0.1.0)

getImageInfo: Extract from header of CT scan image grayscale number of bits and pixel size

Description

Extract from header of CT scan image grayscale number of bits and pixel size

Usage

getImageInfo(hdr)

Value

List with grayscale values, and pixel size

Arguments

hdr

Header dataframe

Examples

Run this code
library(oro.dicom)
file_path <- system.file("extdata", "disk.dcm", package = "CTRing")
dcm <-  readDICOM(file_path)
hdr_df <- dcm$hdr[[1]]
getImageInfo(hdr = hdr_df)

Run the code above in your browser using DataLab