stack_images module

This script takes the three perspectives of one asparagus piece and stacks them. They can be stacked horizontally (side by side) or vertically (one after another).

stack_images.get_files(PATH)

Get all file names in directories and subdirectories. Args: PATH to files Out: List of all file names and the corresponding directories

stack_images.stack_images(file_paths, file_names, path_out)

Load images and stack the three images of the same asparagus after another. Save the image stack into a new folder. Args: image file names

path where to save the images the original file names

Out: None