fieldIndex: Building vegetation indices using Red, Green, Blue, Red Edge,...

View source: R/fct_fieldIndex.R

fieldIndexR Documentation

Building vegetation indices using Red, Green, Blue, Red Edge, and NIR band

Description

Different vegetation indices can be calculated using at least 3 bands. For the list of indices please visit the FIELDimageR manual at link

Usage

fieldIndex(
  mosaic,
  Red = 1,
  Green = 2,
  Blue = 3,
  RedEdge = NULL,
  NIR = NULL,
  index = "HUE",
  myIndex = NULL,
  plot = TRUE
)

Arguments

mosaic

object of class stack with at least 3 bands.

Red

vector with the vegetation indices to be calculated.

Green

user can calculate a diferent index using the bands names, e.g. "(Green+Blue)/Red-NIR/RedEdge"

Blue

if is TRUE the original and crop image will be plotted.

RedEdge

vector with the vegetation indices to be calculated.

NIR

if is TRUE the original and crop image will be plotted.

index

vector with the vegetation indices to be calculated.

myIndex

user can calculate a diferent index using the bands names, e.g. "(Green+Blue)/Red-NIR/RedEdge"

plot

if is TRUE the original and crop image will be plotted.

Details

fieldIndex

Value

A Image format stack.


OpenDroneMap/FIELDimageR documentation built on May 4, 2024, 4:24 a.m.