Learn R Programming

coreCT (version 1.3.2)

voxDims: Extract voxel dimensions from DICOM image

Description

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

Usage

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

Run this code
# NOT RUN {
# data(core_426)
voxDims("core_426")

# }

Run the code above in your browser using DataLab