image processing of time lapse satellite images in R