Description Usage Arguments Value Examples
This function applies a transformation to an image using a given look-up table.
1 | r_look_up_table(imgdata, table)
|
imgdata |
The image |
table |
Look up table which determines the image operation to be applied |
return an imagedata object
1 2 3 4 5 6 | ## Not run:
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
lut <- seq(255, 0, by=-1)
y <- r_threshold(x, lut)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.