Description Usage Arguments Value Examples
This function convert color imagedata to grey imagedata.
1 | imgRGB2Grey(x, coefs=c(0.30, 0.59, 0.11))
|
x |
The image |
coefs |
The coefficients for red, green and blue bands |
grey imagedata
1 2 3 4 5 | ## Not run:
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
plot(imgRGB2Grey(x))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.