Title: Maxpolynomials and morphological template decomposition