Description: Generates a 2-D aperture map based on a binary image stack. You can add the format descriptor {image_file} in the aperture_map_name and it will be automatically replaced by the basename of the image file used.

For usage information run: apm_generate_aperture_map -h

Written By: Matthew stadelman
Date Written: 2016/09/13
Last Modfied: 2017/04/23

apmapflow.scripts.apm_generate_aperture_map.gen_colored_image_stack(img_data, aperture_map)[source]

Handles producing a colored image


Driver function to generate an aperture map from a TIF image.