Description Usage Arguments Value Examples
try to convert from color model to grayscale model for raster images
1 | tryGrayScale(image01, nameFileImag)
|
image01 |
: object of class 'cimg' |
nameFileImag |
: string (file name) |
object grayscale image (spectrum == 1)
1 2 3 | image01 <- imager::cimg(array(1,c(10,10,5,3)))
nameFileImag <- "Image.bmp"
tryGrayScale(image01, nameFileImag)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.