| convR2GSM | R Documentation | 
This function convert a RasterLayer input to a gray-scale image, so that it can be used within EBImage functions.
convR2GSM(r, NA.val.in = 0)
r | 
 RasterLayer to be converted either to an image or a matrix  | 
NA.val.in | 
 replace value for no data (NA) in r. Default: 0  | 
data.table containing object-based textural features
r is stretched to gray-scale (0-255) during process by linear normalization
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.