load_foci_image() modified