Description Usage Arguments Value Note Author(s) Examples
transform a .ppm file into a matrix of (L,a,b) pixel intensities (1 row-element per pixel).
1 |
filename |
path to a .ppm file. Alternatively, if needed, R file path manipulating routines are documented in document r-lang.pdf, section 7.1) |
filterWhite |
if TRUE, filter white points from result to return. |
addCoords |
if TRUE, append 2 normalized (x,y) coordinates for each pixel. |
matrix of pixel row-elements.
In order to save space, images associated to names in imgnames were not provided in this bundle. Caltech-256 should be retrieved first, converted to .ppm (e.g. with imageMagick), and then values in imgnames associated to relevants file paths, before using RGBtoLab.
Pierrick Bruneau
1 2 3 | # image collections are large, thus not provided.
# The following commented example relates to a member of this image collection.
#temp <- RGBtoLab(imgnames[[2]], filterWhite=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.