view_slice: Display a visual of one slice of an image

Description Usage Arguments Examples

View source: R/view.R

Description

Display a visual of one slice of an image

Usage

1
view_slice(img_data, slice = NULL, col = grDevices::grey(0:64/64), ...)

Arguments

img_data

Image data returned by e.g. read_dicom or read_nifti1

slice

Slice number, or NULL if image is already 2D

col

Color scheme

...

Additional arguments to view_slice_mat

Examples

1
2

radtools documentation built on May 1, 2019, 7:51 p.m.