groupDirectoryToLevel1: Reclassify pixels using the first level of the legend

Description Usage Arguments

View source: R/groupToLevel.R

Description

Reclassify each pixel of each image of a directory using the first level of the legend, which are the values less than ten. The output images are saved in the output directory.

Usage

1
groupDirectoryToLevel1(inputDir, outputDir, legend)

Arguments

inputDir

Input directory. It must be a relative path within baseDir().

outputDir

Output directory. It will be cleaned before processing the files. It must also be a relative path within baseDir().

legend

A legend, that can be created with readLegend().


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