ifcb_summarize_png_metadata {iRfcb} | R Documentation |
Summarize PNG Image Metadata
Description
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.
Usage
ifcb_summarize_png_metadata(
png_folder,
feature_folder = NULL,
hdr_folder = NULL
)
Arguments
png_folder |
Character. The file path to the folder containing the PNG images. |
feature_folder |
Character. The file path to the folder containing the feature files (optional). |
hdr_folder |
Character. The file path to the folder containing the header files (optional). |
Value
A dataframe that joins image data, header data, and feature data based on the sample and roi number.
Examples
## Not run:
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)
## End(Not run)
[Package iRfcb version 0.5.1 Index]