r_negative_lut {biOps}R Documentation

Negate an image

Description

This function negates an image.

Usage

r_negative_lut(imgdata)

Arguments

imgdata The image

Value

return an imagedata object

Note

This is the R implementation of imgNegative using look up tables.

See Also

imgNegative r_negative

Examples

        ## Not run: 
                x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
                y <- r_negative_lut(x)
        
## End(Not run)

[Package biOps version 0.2.1 Index]