imgXOR {biOps}R Documentation

Xor two images

Description

This function does a logic XOR between two images and returns a new image.

Usage

imgXOR(imgdata1, imgdata2)

Arguments

imgdata1 The first image
imgdata2 The second image

Value

return an imagedata object

See Also

imgOR imgAND

Examples

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

[Package biOps version 0.2.1 Index]