Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

blend-methods

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 signature 'nifti,nifti'
blend(x, y, seqX, seqY, method = "linear")

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

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

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

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").

Value

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

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(s)

Brandon Whitcher bwhitcher@gmail.com

See Also


oro.nifti

Rigorous - 'NIfTI' + 'ANALYZE' + 'AFNI' : Input / Output

v0.11.0
BSD_3_clause + file LICENSE
Authors
Brandon Whitcher [aut, cre], Volker Schmid [aut], Andrew Thornton [aut], Karsten Tabelow [ctb], Jon Clayden [ctb], John Muschelli [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.