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/ANTsR documentation built on Oct. 11, 2020, 8:14 a.m.