Learn R Programming

oro.nifti (version 0.11.4)

blend: Merge Two NIfTI or ANALYZE Volumes

Description

Two volumes of medical imaging data are merged together in the superior-inferior (or $z$) direction. One assumes that there is at least one slice that overlaps between the two volumes.

Usage

blendVolumes(x, y, seqX, seqY, method = "linear")

# S4 method for nifti,nifti blend(x, y, seqX, seqY, method = "linear")

# S4 method for anlz,anlz blend(x, y, seqX, seqY, method = "linear")

# S4 method for anlz,nifti blend(x, y, seqX, seqY, method = "linear")

# S4 method for nifti,anlz blend(x, y, seqX, seqY, method = "linear")

Value

A single volume that blends the voxel-wise information from x

and y.

Arguments

x, y

are objects of class nifti or anlz.

seqX, seqY

are vectors that provide the $z$-coordinate values for the two imaging volumes.

method

is the type of weighing to use when combining information where there is an overlap (default = "linear").

Methods

x = "nifti", y = "nifti"

Merge x and y.

x = "anlz", y = "anlz"

Merge x on y.

x = "nifti", y = "anlz"

Merge x on y.

x = "anlz", y = "nifti"

Merge x and y.

Author

Brandon Whitcher bwhitcher@gmail.com

See Also

image-methods, overlay-methods