blend {oro.nifti} | R 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 |
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 = |
Value
A single volume that blends the voxel-wise information from x
and y
.
Methods
- x = "nifti", y = "nifti"
Merge
x
andy
.- x = "anlz", y = "anlz"
Merge
x
ony
.- x = "nifti", y = "anlz"
Merge
x
ony
.- x = "anlz", y = "nifti"
Merge
x
andy
.
Author(s)
Brandon Whitcher bwhitcher@gmail.com
See Also
image-methods
, overlay-methods
[Package oro.nifti version 0.11.4 Index]