| getColorMap.BitmapImage {R.image} | R Documentation |
Gets the color map of the image.
## S3 method for class 'BitmapImage': getColorMap(this, ...)
... |
Not used. |
Returns a matrix of color indices.
Henrik Bengtsson (http://www.braju.com/R/)
*getColors().
For more information see BitmapImage.
# Read the images 'logosm.ppm' of size 51x38.
logo <- BitmapImage$read("logosm.ppm", path=system.file("images", package="R.image"))
image(getColorMap(logo))