multi-scale discontinuity filter