imgMultiply {biOps} | R Documentation |
This function multiplies two images and returns a new image.
imgMultiply(imgdata1, imgdata2)
imgdata1 |
The first image |
imgdata2 |
The second image |
return an imagedata object
To multiply an image by a constant c you can just do: >>> imgdata * c.
## Not run: x <- readJpeg(system.file("samples", "violet.jpg", package="biOps")) y <- imgMultiply(x, x) ## End(Not run)