In a bounded region such as a waveguide, a mode is an eigensolution of the electromagnetic-wave equation with particular boundary conditions imposed. Conversion from one mode to another through a mode converter could be accomplished by using a scatterer located within the waveguide. Generalizing to an arbitrary domain, either within a waveguide or in unbounded media, a field transformer converts one spatial field to another as a function of frequency. With this interpretation, a hologram is a field transformer, as is a mirror, filter, grating and spatial switch. Mode-control elements usually employ periodic structures, e.g., as is the case in ripple-wall waveguide-mode converters and photonic bandgap structures. A special case of this mode conversion is filtering (amplitude and phase control) with the same input and output mode. We have developed a new kind of field transformer which uses aperiodic structures. Specific designs are arrived at through numerical optimization of a cost function representing the mode transformation. Rather than effecting field transformations using a series of small geometry perturbations, our concept forcefully changes the field using an optimized structure. The optimization process allows consideration of a number of electrical and mechanical issues, such as efficiency, bandwidth, size, and amenability to manufacture. Of particular importance is the large parameter space afforded by the propagating and evanescent modes. We anticipate many opportunities in this area, facilitated by the continual reduction in cost of computing power. We present designs for microwave mode converters using our optimized irregular structure concept and compare them with those achieved using a periodic coupledmode concept. These designs show dramatic improvements in performance and physical size, while incorporating a dimensional constraint and sensitivity analysis that provides for ease in fabrication. A combined mode converter and transition between differing waveguides is illustrated by a device we built and tested at X-band. A power combiner or splitter is posed as a mode-conversion problem, as is the microwave phase shifter. Implementations of dielectric filters and frequency-dependent spatial switches are also suggested using optimized scattering elements.Index Terms-Diffractive elements, microwave phase shifters, mode control, mode converter, power combiner/splitter, waveguide transitions, wavelength division multiplexer.