Split a colour image into a list of separate channels
channels(im, index, drop = FALSE)
which channels to extract (default all)
if TRUE drop extra dimensions, returning normal arrays and not cimg objects
a list of channels
channels(boats,1:2,drop=TRUE) %>% str #A list of 2D arrays
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.