Convert an image's pixels to a vector of RGB objects.
This function converts the channels of a raster image to a vector of colorspace library RGB objects. These objects can be processed using colorspace functions and vector processing functions.
An RGB raster image
A vector of colorspace RGB objects, one for each pixel in the image. Rows can be extracted from this as ranges within the vector.
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.