a method and system for providing different images representing plural depths of field of an electronic device . the vision system has a beamsplitter for receiving an image of the device illuminated by the at least one light source , the beamsplitter providing one of the plurality of images of the device based in a wavelength of the light source ; an aperture having a plurality of effective diameters based on the wavelength of light from the at least one light source , the aperture determining a depth of field of the image of the device ; and an optical element for receiving the image of the device , the optical element magnifying the image by a predetermined magnification factor to produce a magnified image having the determined depth of field .