Structurally adaptive mathematical morphology on nonlinear scale-space representations