Amplitude-transmitting f ilters for apodizing and hyperresolving applications can be easily implemented by use of a two-dimensional programmable liquid-crystal spatial light modulator operating in a transmissiononly mode. Experimental results are in excellent agreement with theoretical predictions. This approach can permit the analysis of various f ilter designs and can allow the f ilters to be changed rapidly to modify the response of an optical system.