powered by
This function processes IFCB data by reading images, matching them to the corresponding header and feature files, and joining them into a single dataframe. This function may be useful when preparing metadata files for an EcoTaxa submission.
ifcb_summarize_png_metadata( png_folder, feature_folder = NULL, hdr_folder = NULL )
A dataframe that joins image data, header data, and feature data based on the sample and roi number.
Character. The file path to the folder containing the PNG images.
Character. The file path to the folder containing the feature files (optional).
Character. The file path to the folder containing the header files (optional).
if (FALSE) { png_folder <- "path/to/pngs" feature_folder <- "path/to/features" hdr_folder <- "path/to/hdr_data" result_df <- ifcb_summarize_png_metadata(png_folder, feature_folder, hdr_folder) }
Run the code above in your browser using DataLab