voxDims: Extract voxel dimensions from DICOM image

Description Usage Arguments Value Examples

View source: R/voxDims.R

Description

Extract pixel area and slice thickness from DICOM header to characterize voxel (3D pixel) dimensions.

Usage

1
voxDims(directory = file.choose())

Arguments

directory

a character string that can be a matrix of DICOM images or the address of an individual DICOM file in a folder of DICOM images. The default action is <code>file.choose()</code>; a browser menu appears so the user can select the the desired directory by identifying a single DICOM file in the folder of images.

Value

value voxDims returns a two-column dataframe showing the pixel area and slice thickness. Values in the DICOM headers are assumed to be millimeters; pixel area and slice thickness columns are labeled based on this assumption.

Examples

1
2
# data(core_426)
voxDims("core_426")

coreCT documentation built on June 25, 2018, 1:06 a.m.