COD Time median filter. Add center_of_mass for skimage