Hi, I am trying to use the fieldMask function from the FIELDimageR package to remove soil from a raster image. I am using the following code:
# Packages
library(FIELDimageR)
library(FIELDimageR.Extra)
library(raster)
library(terra)
library(mapview)
library(sf)
library(stars)
# Uploading an example mosaic
https://drive.google.com/file/d/1JA7rrc8nU9T37HBQuidtcT3C3yoceISQ/view?usp=sharingEX1 <- rast("odm_orthophoto.tif")
# Removing soil using vegetation indices
EX1.RemSoil <- fieldMask(mosaic = EX1, ...)
I have a problem here because I don't know the meaning of each 4 bands in the mosaic (odm_orthophoto.tif). I create the mosaic using
ODM and my input images directory is composed of R, G, NIR and RE (Mavic 3 Multispectral).
Please, could you help me understand the meaning of each band in the mosaic so that I can use it the remove soil function?
Thanks in advance.