antsImage
to a vector.multichannelToVector.Rd
Employs a mask to flatten each channel of a multi-channel image into a contiguous piece of a vector.
multichannelToVector(multichannelimage, mask)
multichannelimage | input multichannel image |
---|---|
mask | mask of same dimensionality as multichannelimage |
vector is output
Avants BB
# see vectorToMultichannel