r_look_up_table {biOps} | R Documentation |
This function applies a transformation to an image using a given look-up table.
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
## 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)