define output directory and create it if necessary

define_output_directory(Output_Dir, ImPath, TypePCA)

Arguments

Output_Dir

character. output directory

ImPath

character. image path

TypePCA

character. Type of PCA (PCA, SPCA, NLPCA...)

Value

path of the output directory