View source: R/reflectance_color_indices.R
reflectance_color_indices | R Documentation |
This function calculates reflectance using a 18 percent reference image, calculates the corresponding Lab and LCH parameters for each pixel and then it extracts the pixel data using a shapefile with the desired ROI. It was designed specifically for Konstantina's workflow so it is unlikelly to function outside that scope.
reflectance_color_indices( camera_file, reference_file, roi_file, my_plots = TRUE )
camera_file |
path to the camera file, cube version |
reference_file |
path to the 18 percent reference file |
roi_file |
path shapefile with the ROI file |
my_plots |
logical value to activate-desactivate plots. Not implemented yet |
The function outputs a reflectance tif file, a LAB tif file, a LCH tif file, an excel LAB file stats + pixel values, an excel LCH file stats + pixel values and it returns a R list with lab/lch statistics, the reflectance image, and the lab+lch images
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.