read.3d.dicom: Read 3d DICOM

View source: R/reading-writing-functions.R

read.3d.dicomR Documentation

Read 3d DICOM

Description

Read 3D image from DICOM dile and return a values object. Note: it assumes a regurlary spaced slices, constant pixel dimensions among slices and the same ImagePositionPatient for each slice.

Usage

read.3d.dicom(dicom.folder, exclude = NULL, recursive = TRUE,
  verbose = TRUE, invert = TRUE, variable = "HounsfieldNumber")

Arguments

dicom.folder

Path name to the DICOM directory.

exclude

Exclude file names containing this character string.

recursive

Search recursively down from the given path name.

verbose

Flag to provide text-based progress bar.

variable

name of the variable to be assigned to the 3d data.

Value

A values object.


planit-group/Rplanit documentation built on Dec. 5, 2022, 11:10 p.m.