r_imgAdd: Add two images

Description Usage Arguments Value Note See Also Examples

Description

This function adds two images and returns a new image.

Usage

1
r_imgAdd(imgdata1, imgdata2)

Arguments

imgdata1

The first image

imgdata2

The second image

Value

return an imagedata object

Note

This is the R implementation of imgAdd.

See Also

imgAdd

Examples

1
2
3
4
5
	## Not run: 
		x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
		y <- r_imgAdd(x, x)
	
## End(Not run)

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