A closed-form spectral optimization method for the design of weighted median (WM) filters admitting negative weights is presented. The algorithm is a generalization of Mallows' (1980) theory for nonlinear smoothers that consists of first finding a set of positive weights for a WM filter whose sample selection probabilities are as close as possible to the… (More)