multichannelToVector: Convert multichannel 'antsImage' to a vector.

Description Usage Arguments Value Author(s) Examples

View source: R/multichannelPCA.R

Description

Employs a mask to flatten each channel of a multi-channel image into a contiguous piece of a vector.

Usage

1
multichannelToVector(multichannelimage, mask)

Arguments

multichannelimage

input multichannel image

mask

mask of same dimensionality as multichannelimage

Value

vector is output

Author(s)

Avants BB

Examples

1
# see vectorToMultichannel

neuroconductor-devel/ANTsR documentation built on Jan. 29, 2019, 9:30 p.m.