The invention relates to creating a colour image in an imaging device comprising at least three image capturing apparatuses.
The popularity of photography is continuously increasing. This applies especially to digital photography as the supply of inexpensive digital cameras has improved. Also the integrated cameras in mobile phones have contributed to the increase in the popularity of photography.
There is a growing demand for small cameras. The small size of cameras presents a challenge for camera manufacturers as reducing the size of the cameras should not preferably reduce the quality of the images the camera produces.
A possibility to reduce the size of cameras is to use lenslet technology. This solution is especially useful in digital cameras. In lenslet technology, a camera is realized with at least three image capturing apparatuses, each apparatus including a separate lens system. The apparatuses produce an image using a sensor. The distance between the lenses and the sensor in lenslet cameras is considerably shorter compared to conventional cameras. Thus, the camera may be designed to be small. One known problem associated with lenslet cameras is that the lenslet system requires high precision in the manufacturing phase. A lenslet camera requires accurate optical elements and precise alignment between the elements. So far, it has been very difficult to implement a focusing mechanism in lenslet cameras.
The quality of images is naturally important for every photographer. In many situations it is difficult to evaluate correct parameters to be used in photographing. In many cases, small size cameras determine many parameters automatically as the user interface of the camera must be kept simple. For example, many cameras are equipped with an auto-focus system, where the user does not need to take care of the focusing. The camera may measure the distance between the object and the camera and focus automatically on the basis of the measurement, or the focus of the camera may be fixed to a predetermined distance (in practice to infinity). The latter alternative is popular especially in low-cost cameras. However, this alternative requires precision in the manufacturing phase.
Wavefront coding technology (WFC) has been proposed to increase depth of field. WFC is described in WO 09052331, for example. When a camera is focused to an object at a given distance, the depth of field is the area in front and behind the object which appears to be sharp. With WFC, the depth of field can be increased typically by a factor of ten. However, WFC has so far been utilized mainly in monochrome imaging systems, since it suffers from non-optimal signal sampling in colour cameras utilizing the common Bayer matrix.
An object of the invention is to provide an improved solution for creating colour images. Another object of the invention is to facilitate manufacturing of cameras by reducing precision requirements.
According to an aspect of the invention, there is provided an imaging device comprising at least three image capturing apparatuses, each apparatus including a lens system and a sensor and being configured to produce an image, the device further comprising a processor configured to combine at least a portion of the images with each other to produce a colour image. Each lens system comprises a phase mask which modifies the phase of incoming light rays such that distribution of rays after the lens system is insensitive to the location of the sensor.
According to another aspect of the invention, there is provided a method of creating a colour image in an imaging device comprising at least three image capturing apparatuses, each apparatus including a lens system and a sensor and being arranged to produce an image, where the colour image is produced by combining at least a portion of the images with each other. The method comprises processing incoming rays of light in each lens system with a phase mask which modifies the phase of the incoming rays of light of such that the distribution of rays after the lens system is insensitive to the location of the sensor; processing the image obtained by each apparatus in a processor by removing the effect of the phase mask from the image; and combining the processed images produced with each apparatus with each other, thus obtaining a colour image.
According to another aspect of the invention, there is provided an imaging device module comprising at least three image capturing apparatuses, each apparatus including a lens system and a sensor and being configured to produce an image. Each lens system comprises a phase mask which modifies the phase of incoming rays of light such that distribution of rays after the lens system is insensitive to the location of the sensor.
The invention provides several advantages. In an embodiment, the invention enables lenslet technology to be used in colour cameras as the precision requirements related to manufacturing may be avoided. WFC makes it unnecessary to focus the lenslet camera due to the extended depth of field inherent to the WFC.
The WFC can be efficiently utilised in a colour lenslet camera as the problems related to a Bayer matrix solution may be avoided. The use of WFC in a lenslet camera solves the problem of irregular and sparse sampling for colour components. As each RGB colour component is sampled separately, the sampling is regular and non-sparse (each pixel is sampling the same spectrum component).
With a phase mask, the depth of focus range can be made for example 10 to 20 times larger compared to a conventional system. The invention makes a lenslet camera insensitive to focusing errors. In this way, the camera does not require accurate and expensive optical elements nor a focusing mechanism built into the camera system. It is possible to use standard techniques, such as standard injection moulding, for manufacturing the lenses used in lenslet cameras. As focusing is not required in the production, the construction is simple, robust, fast to manufacture and inexpensive.
In the following, the invention will be described in greater detail with reference to the embodiments and the accompanying drawings, in which
The apparatus of
The apparatus may further comprise an image memory 108 where the signal processor may store finished images, a work memory 110 for data and program storage, a display 112 and a user interface 114, which typically comprises a keyboard or corresponding means for the user to give input to the apparatus.
The phase mask arrangement 203 of the image sensing arrangement comprises a phase mask 250 to 256 for each lens. The phase mask modifies the phase of incoming light rays such that the distribution of rays after the lens is insensitive to the location of the sensor. The phase mask may also be realized as a film coating on the surface of the lens. The phase mask will be explained later in more below.
In this example, the colour filter arrangement 206 of the image sensing arrangement comprises three colour filters, i.e. red 226, green 228 and blue 230 in front of lenses 210 to 214, respectively. In this example, the sensor array 202 is divided into four sections 234 to 239. Thus, in this example the image sensing arrangement comprises four image capturing apparatuses 240 to 246. Thus, the image capturing apparatus 240 comprises a colour filter 226, an aperture 218, a phase mask 250, a lens 210 and a section 234 of the sensor array. Respectively, the image capturing apparatus 242 comprises a colour filter 228, an aperture 220, a phase mask 252, a lens 212 and a section 236 of the sensor array and the image capturing apparatus 244 comprises a colour filter 230, an aperture 222, a phase mask 254, a lens 214 and a section 238 of the sensor array. The fourth image capturing apparatus 246 comprises an aperture 224, a phase mask 256, a lens 216 and a section 239 of the sensor array. Thus, in this example the fourth apparatus 246 comprises no colour filter.
The image sensing arrangement of
The image sensor 202 is thus sensitive to light and produces an electric signal when exposed to light. However, the sensor is not able to differentiate different colours from each other. Thus, the sensor as such produces only black and white images. A number of solutions is proposed to enable a digital imaging apparatus to produce colour images. It is well known to one skilled in the art that a full colour image can be produced using only three basic colours in the image capturing phase. One generally used combination of three suitable colours is red, green and blue (RGB). Another widely used combination is cyan, magenta and yellow (CMY). Other combinations are also possible. Although all colours can be synthesised using three colours, other solutions are also available, such as RGBE, where emerald is used as the fourth colour.
One solution used in a single-lens digital image capturing apparatus is to provide a colour filter array in front of an image sensor, the filter consisting of a three-colour pattern of RGB or CMY colours. Such a solution is often called a Bayer matrix. When using an RGB Bayer matrix filter, each pixel is typically covered by a filter of a single colour in such a way that in a horizontal direction, every other pixel is covered with a green filter and every other pixel is covered by a red filter on every other line and by a blue filter on every other line. A single colour filter passes through to the sensor pixel under the filter light whose wavelength corresponds to the wavelength of the single colour. A signal processor interpolates the image signal received from the sensor in such a way that all pixels receive a colour value for all three colours. Thus a colour image can be produced.
In the multiple lens embodiment of
Each lens of the lens assembly 200 thus produces a separate image to the sensor 202. The sensor is divided between the lenses in such a way that the images produced by the lenses do not overlap. The area of the sensor divided to the lenses may be equal, or the areas may be of different sizes, depending on the embodiment. In this example, let us assume that the sensor 202 is a VGA imaging sensor and that the sections 234 to 239 allocated for each lens are of Quarter VGA (QVGA) resolution (320×240).
As described above, the electric signal produced by the sensor 202 is digitised and taken to the signal processor 104. The signal processor processes the signals from the sensor such that three separate subimages from the signals of lenses 210 to 214 are produced, one filtered with a single colour. The signal processor further processes the subimages and combines a VGA resolution image from the subimages.
In an embodiment, when composing the final image, the signal processor 104 may take into account a parallax error arising from the distances of the lenses 210 to 214 from each other.
The electric signal produced by the sensor 202 is digitised and taken to the signal processor 104. The signal processor processes the signals from the sensor in such a way that three separate subimages from the signals of the lenses 210 to 214 are produced, one being filtered with a single colour. The signal processor further processes the subimages and combines a VGA resolution image from the subimages. Each of the subimages thus comprises a 320×240 pixel array. The top left pixels of the subimages correspond to each other and differ only in that the colour filter used in producing the pixel information is different. Due to the parallax error, the same pixels of the subimages do not necessarily correspond to each other. The parallax error is compensated for by an algorithm. The final image formation may be described as comprising many steps: first, the three subimages are registered (also called matching). Registering means that any two image points are identified as corresponding to the same physical point). Then, the subimages are interpolated and the interpolated subimages are fused to an RGB-colour image. Interpolation and fusion may also be in another order. The final image corresponds in total resolution to the image produced with a single lens system with a VGA sensor array and a corresponding Bayer colour matrix.
The subimages produced by the three image capturing apparatuses 240 to 244 are used to produce a colour image. The fourth image capturing apparatus 246 may have properties different from those of the other apparatuses. The aperture plate 204 may comprise an aperture 224 of a size for the fourth image capturing apparatus 246 different from those of the three other image capturing apparatuses. The signal processor 104 may be configured to combine at least a portion of the subimage produced with the fourth image capturing apparatus with the subimages produced with the three image capturing apparatuses 240 to 244 to produce a colour image with an enhanced image quality. The signal processor 104 may be configured to analyse the images produced with the image capturing apparatus and to determine which portions of the images to combine. The fourth image capturing apparatus may also be utilised in many other ways not related to the present invention and not explained here.
Let us study the phase mask arrangement. The operation of a lens system is often described using an optical transfer function (OTF). The optical transfer function describes how the lens system affects the light rays passing through the lens system. The optical transfer function gives attenuation T of the light rays and phase shift θ of the light rays in the lens system as a function of spatial frequencies ω:
OTF(ω)=T(ω)·eiθ(ω)
The attenuation T may be called a modulation transfer function (MTF) and the phase shift θ may be called a phase transfer function (PTF). The phase mask modifies the optical transfer function of the lens system in such a way that the transfer function is insensitive to the location of the sensor.
In
Returning to
The sensor 202 detects the filtered light rays and converts the light into an electric signal. The electric signal produced by the sensor 202 is digitised and taken to the signal processor 104. The signal processor processes the signals from the sensor in such a way that three separate subimages from the signals of the lenses 210 to 214 are produced, one filtered with a single colour. When producing the subimages the signal processor 104 removes the effect of the phase mask from each subimage. The signal processor may then combine the final image from the subimages.
Each subimage is sampled in full resolution in any given spectrum band, unlike in Bayer-matrix sampling. This improves the image quality of the final image compared to a non-lenslet camera. In Bayer-matrix sampling, the sampling for red and blue colours in a Bayer pattern is regular. However, the imaging spots are undersampled as only every other pixel is sampled both row-wise and column-wise. Furthermore, the sampling for green colour is irregular: every other column is sampled horizontally, but vertically every row is sampled, with one pixel shift sideways for two adjacent rows. The sampling is regular only diagonally, creating a complex sampling grid. In conclusion, sampling is regular for red and blue colours, but creates undersampled versions of red and blue spots. The sampling grid for green is regular, but very different from red and green colour sampling grids. This creates a need for a sampling rate conversion for different colours.
However, in the method described in the invention, the sampling for each colour is regular and perfect. This is advantageous, since the signal (the imaging spots) is perfectly sampled for each colour. There is no need for sampling rate or sampling grid conversions, as is the case in Bayer-matrix sampling.
An advantage of the invention is that interchannel crosstalk between colour channels is minimised. When a Bayer-matrix is utilised, there is always optical crosstalk from channel to channel. In crosstalk, a ray of light which should go to colour A pixel goes to colour B pixel because microlenses on top of a sensor cannot reflect light when the ray of light is coming to the colour A pixel at an angle which is too large compared to the normal of the surface of the sensor. This reduces the modulation transfer function of the sensor, and causes colour noise. The colour noise is very difficult to remove, because the angle spectrum for rays of light is generally unknown. The colour noise is increased when an inverse filter is applied to reconstruct the image, causing colour artefacts to the reconstructed image.
In a lenslet camera, however, the colour noise in totally removed, and a reconstructed image quality is better than when a Bayer matrix is utilised.
An advantage of the invention is that a better signal to noise ratio for blue channel is obtained. When a Bayer-matrix is utilised, the filter for the blue channel usually attenuates the light more than the filters for green and red colours. In most cases, the sensitivity of the sensor is also relatively low for blue. Therefore, the signal from blue pixels is lower than the signal from green or red pixels. To get a balanced image, the gain for the blue channel has to be increased, which also increases noise in the blue channel.
In the lenslet camera, however, the filters for different colours can be carefully tuned for each channel. In addition, each channel output may be balanced by using different apertures for each channel. Thus, the signal to noise ratio is improved for the blue channel, improving the reconstructed image quality over that of a Bayer-patterned sensor.
Yet another advantage of the invention is that wavelength tuning of lens systems for each colour channel improves image quality. When a Bayer-matrix is utilised, the lens system of the camera has to form an image over the full visible range, which requires a compromised lens. Thus, the resulted spots are colour-dependent, making it impossible to achieve good similarity of the spots in wave front coded systems.
In the lenslet camera, however, each channel can be carefully optimised for a narrow spectrum (colour) only, making the spots in each channel very similar to each other, which improves the quality of the reconstructed (inverse filtered) image.
In an embodiment, the invention is realized in an imaging device module comprising at least three image capturing apparatuses, each apparatus including a lens system and a sensor and being configured to produce an image. Referring to
Even though the invention has been described above with reference to an example according to the accompanying drawings, it is clear that the invention is not restricted thereto but it can be modified in several ways within the scope of the appended claims.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/FI04/00522 | 9/9/2004 | WO | 2/27/2007 |