calc_epidemic_onset_from_image function

Calculate epidemic onset from image