clear up importing scipy.ndimage