Obtain the mean and std of several images.