imgDiffer {biOps}R Documentation

Substract two images

Description

This function substracts two images and returns a new image, imgdata1 - imgdata2.

Usage

imgDiffer(imgdata1, imgdata2)

Arguments

imgdata1 The first image
imgdata2 The second image

Value

return an imagedata object

Note

To substract a constant c to an image you can just do: >>> imgdata - c.

Examples

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

[Package biOps version 0.2.1 Index]