A method for the optimization of illumination in line-scan camera systems i
s proposed. By using this method it is possible to calculate the optimal po
sitions and luminous intensities of the light sources to obtain the desired
illuminance at a surface. The proposed method is especially suitable fur p
roducing uniform illumination on a line. The method can be used with severa
l types of light source, because experimental general models can be used fo
r the lamps. The method is based on the regularized least squares optimizat
ion. The performance of the method is evaluated by comparing the calculated
and measured illuminances before: and after the optimization.