powered by
antsImage
multichanneltovector(multichannelimage, mask)
# see vectortomultichannel
Run the code above in your browser using DataLab