Description Usage Arguments Value
Convert RGB image to Luminance. Reduces the three R, G and B matrices to a one dimensional matrix for weighted intensities
1 | rgb2luminance(img)
|
img |
RGB image; class: [array]; dim: [nrow, ncol, 3] |
gray: grayscale image; class: [matrix]; dim: [nrow, ncol, 1]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.