Description Usage Arguments Value Examples
Documentation for the RGBtoGRAY function
1 | RGBtoGRAY(m, n = 3, Red = 1, Green = 2, Blue = 3)
|
m |
Input image |
n |
Number of bands in the image (default is 3) |
Red |
Band number of red (default is 1) |
Green |
Band number of green (default is 2) |
Blue |
Band number of blue (default is 3) |
an object of class "grayimage"
1 2 3 4 5 6 | ## Not run:
library(stars)
imgRGB <- read_stars(system.file("extdata/image.tif", package="ImageSegmentation"))
RGBtoGRAY(imgRGB,3,1,2,3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.