Copies PNG images from a flat source folder into class-organized subfolders, both for temporary use by ifcb_annotate_samples and for permanent storage.
Examples
if (FALSE) { # \dontrun{
# Copy images to class folders
copy_images_to_class_folders(
classifications = data.frame(
file_name = c("sample_00001.png", "sample_00002.png"),
class_name = c("Diatom", "Ciliate")
),
src_folder = "/tmp/png/sample",
temp_folder = "/tmp/annotate",
output_folder = "/data/png_output"
)
} # }