Structurally adaptive mathematical morphology based on nonlinear scale-space decompositions