Image analysis code used for availability assay experiments