r_imgAdd {biOps}R Documentation

Add two images

Description

This function adds two images and returns a new image.

Usage

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

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

[Package biOps version 0.2.1 Index]