r_look_up_table {biOps}R Documentation

Transforms an image by a given look-up table

Description

This function applies a transformation to an image using a given look-up table.

Usage

r_look_up_table(imgdata, table)

Arguments

imgdata The image
table Look up table which determines the image operation to be applied

Value

return an imagedata object

Examples

        ## 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)

[Package biOps version 0.2.1 Index]