viewNew: Interactive Medical Image Viewer

Description Usage Arguments Details Value Examples

Description

This function allows for interactive viewing of 3D and 4D medical Images.

Usage

1

Arguments

data

A 3D/4D array. If the array has an attribute named pixdim viewR will try and adjust the aspect appropriately. If NULL an interactive file selector will open to select the images one would like to view. If file paths to 3D/4D images are supplied they will be read and displayed. Multiple 3D files will be concatenated if the dimensions match. viewR can then be ran in movie mode.

Details

Currently this viewR displays "world" coordinates as well as voxel coordiantes. The "world" coordinates are obtained by transforming the voxel coordinates using the qform matrix in the nifti header.

Value

Nothing is returned.

Examples

1
2
3
4
5
 ## Not run: 
file<-system.file("extdata","mni.nii.gz",package="FIACH")
viewNew(file)

## End(Not run)

tierneytim/FIACH documentation built on May 31, 2019, 1:45 p.m.