Nonlinear spatial filtering with a dye-doped liquid-crystal cell.