Check if principal components are properly selected as expected by the method

select_PCA_components(
  Input_Image_File,
  Output_Dir,
  PCA_Files,
  TypePCA = "SPCA",
  File_Open = FALSE
)

Arguments

Input_Image_File

character. Path of the image to be processed

Output_Dir

character. Path for output directory

PCA_Files

character. Path of the PCA image

TypePCA

character. Type of PCA: choose either "PCA" or "SPCA"

File_Open

Boolean. Set to TRUE for file to open automatically

Value

Sel_PC