discolor: Destroy color table for raster images.

Description Usage Arguments Value Author(s) Examples

Description

If raster's categories are integer or numeric, then raster values are restored from names of categories. Otherwise only category names are dropped.

Usage

1
discolor(obj, nodata = NA)

Arguments

obj

Object of class ursaRaster

nodata

Numeric. Flag value for "no-data". If NA, then no-data values are missed. Default is NA.

Value

Object of class ursaRaster without color table.

Author(s)

Nikita Platonov [email protected]

Examples

1
2
3
4
5
6
7

nplatonov/ursa documentation built on April 15, 2019, 10:49 a.m.