perform filtering based on extreme values PCA identified through PCA

filter_PCA(
  Input_Image_File,
  HDR,
  Input_Mask_File,
  Shade_Update,
  Spectral,
  Continuum_Removal,
  PCA_model,
  PCsel,
  TypePCA,
  nbCPU = 1,
  MaxRAM = 0.25
)

Arguments

Input_Image_File

character. Path of the image to be processed

HDR

character. Path of the header file corresponding to the image to be processed

Input_Mask_File

character. Path of the mask raster corresponding to the image (keeps pixels = 1)

Shade_Update

character. Path of the updated mask raster corresponding to the image (keeps pixels = 1)

Spectral

list. spectral information from data

Continuum_Removal

boolean. set TRUE if continuum removal should be applied

PCA_model

dataframe. general parameters of the PCA

PCsel

numeric. PCs used to filter out extreme values

TypePCA

character. Set to PCA, SPCA or MNF

nbCPU

numeric. number of CPUs to be used in parallel

MaxRAM

numeric. indicator of RAM to be used to read image file

Value

Shade_Update = updated shade mask