updated to normalize images by exptime