remapRaster: Remap pixel values of an image

Description Usage Arguments

View source: R/block.R

Description

Replace each pixel of an image file by a given set of values. Every value in the original image must be mapped, even if the updated value is the same. It returns a raster in memory with the updated values.

Usage

1
remapRaster(file, replacements)

Arguments

file

A tiff file.

replacements

A vector with the code of classes to be remapped according to its position.


pedro-andrade-inpe/sits.validate documentation built on Dec. 4, 2019, 3:02 p.m.