r_look_up_table: Transforms an image by a given look-up table

Description Usage Arguments Value Examples

Description

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

Usage

1

Arguments

imgdata

The image

table

Look up table which determines the image operation to be applied

Value

return an imagedata object

Examples

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)

matiasb/biOps documentation built on May 21, 2019, 12:55 p.m.