In this paper we discuss a microprocessor controlled illumination system that covers the visible spectrum. The system uses multiple discrete wavelength LEDs. Uniform intensity illumination is achieved by controlling LED currents with an array of voltage controlled current sources. A highly efficient polycarbonate holographic diffuser is used to improve the uniformity of the distribution. Current control is also used to maintain a spatially and spectrally homogenous illumination. Image analysis techniques are then used to parameterise the recorded scene and provide a figure of merit for the quality of the illumination. Several functions such as contrast, low/high saturation, average brightness and histogram entropy are applied to extract objective quality judgements and to compute an overall quality function. This process is then iterated so as to maximise the image quality against embedded quality function benchmarks.