convR2GSM: Conversion of raster layer to gray-scale image

Description Usage Arguments Value Note

Description

This function convert a RasterLayer input to a gray-scale image, so that it can be used within EBImage functions.

Usage

1
convR2GSM(r, NA.val.in = 0)

Arguments

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

Value

data.table containing object-based textural features

Note


ggRaver/Lslide documentation built on June 20, 2019, 2:29 p.m.