powered by
antsImage
Employs a mask to flatten each channel of a multi-channel image into a contiguous piece of a vector.
multichannelToVector(multichannelimage, mask)
input multichannel image
mask of same dimensionality as multichannelimage
vector is output
# NOT RUN { # see vectorToMultichannel # }
Run the code above in your browser using DataLab