blend-methods: Merge Two NIfTI or ANALYZE Volumes

blendR Documentation

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

image-methods, overlay-methods


oro.nifti documentation built on Aug. 10, 2022, 5:09 p.m.