mask_raster: Creates a mask over the background or foreground in a raster...

View source: R/mask_raster.R

mask_rasterR Documentation

Creates a mask over the background or foreground in a raster image (Cria uma mascara sobre o background ou foreground em uma imagem no formato raster)

Description

Function to create a mask above the background or foreground. (Funcao para criar uma mascara sobre o background ou foreground).

Usage

mask_raster(Class,legend,col,main,plot=TRUE)

Arguments

Class

Raster object with pixels grouped into classes (Objeto do tipo raster com os pixels agrupados em classes).

legend

Vector with the names corresponding to each class (Vetor os nomes correspondentes a cada classe).

col

Vector with the color names corresponding to each class (Vetor os nomes das cores correspondentes a cada classe).

main

Titulo da figura (Figure title)

plot

Logic value, if TRUE the figure will be shown (Valor logico, se TRUE a figura sera apresentada)

Value

Returns an array (retorna uma matriz).

Author(s)

Alcinei Mistico Azevedo (Instituto de ciencias agrarias da UFMG)


ExpImage documentation built on Jan. 6, 2023, 1:24 a.m.