Method of obtaining a digital image
11378694 · 2022-07-05
Assignee
Inventors
Cpc classification
H04N23/11
ELECTRICITY
H04N13/254
ELECTRICITY
H04N23/684
ELECTRICITY
H04N25/13
ELECTRICITY
H04N23/10
ELECTRICITY
H04N23/74
ELECTRICITY
International classification
H04N13/254
ELECTRICITY
Abstract
Devices, systems and methods are described. A method includes driving a first light source to generate a visible light pulse having a first intensity for a first duration to illuminate a scene. An image sensor is used to record a visible-spectrum image of the scene illuminated by the first light pulse. A second light source is driven to generate a second light pulse having a second intensity that exceeds the first intensity by at least 100% for a second duration that is at most 10% of the first duration to illuminate the scene during the first duration. An image sensor is used to record a monochrome image of the scene illuminated by the second light pulse. Image processing is performed on a visible-spectrum image and the monochrome image to obtain the digital image of the scene.
Claims
1. A method of obtaining a digital image of a scene, the method comprising: driving a first light source using a first drive current having a first current density of about 1.0 A/mm2 to generate a visible light pulse having a first intensity for a first duration to illuminate the scene, the first duration being at least a sensor integration time; using an image sensor to record a visible-spectrum image of the scene illuminated by the first light pulse; driving a second light source using a second drive current having a second current density of more than about 1.5 A/mm2 to generate a second light pulse having a second intensity that exceeds the first intensity by at least about 100% for a second duration that is at most about 10% of the first duration to illuminate the scene during the first duration, the second duration being at most about 5.0 ms; using an image sensor to record a monochrome image of the scene illuminated by the second light pulse, the image sensor used to record the monochrome image being the same or different than the image sensor used to record the visible-spectrum image; and performing image processing on the visible-spectrum image and the monochrome image to obtain the digital image of the scene.
2. The method according to claim 1, wherein the image processing is performed on a sequence of visible-spectrum images and monochrome images recorded with respective light pulses.
3. The method according to claim 1, wherein the image processing comprises identifying a common image region corresponding to an imaged subject present in the visible-spectrum image and the monochrome image.
4. The method according to claim 1, further comprising identifying a motion blur image region in the visible-spectrum image.
5. The method according to claim 4, further comprising correcting color values in at least the motion blur image region.
6. A system comprising: a visible-spectrum light source configured to emit visible-spectrum light in a visible spectrum; a second light source that is configured to emit at least one type of light selected from the visible-spectrum light in the visible-spectrum and infrared-spectrum light in an infrared-spectrum; a driver configured to provide a first drive current having a first current density of about 1.0 A/mm2 to a first light source to generate a first light pulse having a first light intensity over a first duration and to provide a second drive current having a second current density of more than about 1.5 A/mm2 to the second light source to generate a second light pulse having a second light intensity that exceeds the first light intensity by at least about 100% over a second duration that is at most about 10% of the first duration, the first light pulse being a visible-spectrum light pulse, the first duration being at least a sensor integration time, the second duration being at most about 5.0 MS; at least one image sensor having pixels that are sensitive to at least the visible-spectrum light; and an image processing unit configured to combine information from a visible-spectrum image and a monochrome image to obtain a digital image of a scene.
7. The system according to claim 6, wherein the second light source comprises one or more light-emitting diodes configured to emit the infrared-spectrum light.
8. The system according to claim 6, wherein the second light source comprises one or more vertical cavity surface-emitting laser diodes.
9. The system according to claim 6, wherein the at least one image sensor comprises a single image sensor that comprises pixels that are sensitive to the visible-spectrum and pixels that are sensitive to the infrared-spectrum.
10. The system according to claim 9, wherein the single image sensor further comprises a filter that is at least partially transmissive to the infrared-spectrum.
11. The system according to claim 6, wherein the at least one image sensor comprises two image sensors, each comprising only pixels that are sensitive to the visible-spectrum.
12. The system according to claim 6, wherein the at least one image sensor comprises two image sensors, and a first one of the two image sensors comprises pixels that are sensitive to the visible-spectrum, and a second one of the two image sensors comprises pixels that are sensitive to the infrared-spectrum.
13. The system according to claim 12, wherein the first one of the two image sensors comprises a filter that is transmissive only in the visible-spectrum, and the second one of the two image sensors comprises a filter that is transmissive only in the infrared-spectrum.
14. The system according to claim 6, wherein the sensor integration time is approximately 50 ms.
15. The system according to claim 6, wherein the second duration is at most about 1.0 ms.
16. A wireless device comprising: a camera flash comprising: a visible-spectrum light source configured to emit visible-spectrum light in a visible spectrum, a second light source that is configured to emit at least one type of light selected from the visible-spectrum light in the visible-spectrum and infrared-spectrum light in an infrared-spectrum, and a driver configured to provide a first drive current having a first current density of about 1.0 A/mm2 to a first light source to generate a first light pulse having a first light intensity over a first duration and to provide a second drive current having a second current density of more than about 1.5 A/mm2 to the second light source to generate a second light pulse having a second light intensity that exceeds the first light intensity by at least about 100% over a second duration that is at most about 10% of the first duration, the first light pulse being a visible-spectrum light pulse, the first duration being at least a sensor integration time, the second duration being at most about 5.0 ms; a camera comprising at least one image sensor having pixels that are sensitive to at least the visible-spectrum light; and an image processing unit configured to combine information from a visible-spectrum image and a monochrome image to obtain a digital image of a scene.
17. The device of claim 16, wherein the device is a smartphone.
18. The device of claim 16, wherein at least one of the first light source and the second light source comprises one or more light-emitting diodes.
19. The device of claim 16, wherein: the pixels comprise visible-spectrum pixels that are sensitive to the visible-spectrum light and infrared sensitive pixels that are sensitive to the infrared-spectrum, the infrared sensitive pixels are about 25% of a total number of pixels in the at least one image sensor, and the infrared sensitive pixels are distributed between the visible-spectrum pixels.
Description
BRIEF DESCRIPTION OF THE DRAWING(S)
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8) In the drawings, like numbers refer to like objects throughout. Objects in the diagrams are not necessarily drawn to scale.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT(S)
(9)
(10) The second light source could be realised as a visible-spectrum LED that can be overdriven over a brief period, i.e. to provide a high-intensity light pulse over a very short time. However, in this exemplary embodiment, it may be assumed that the second light source 12 is an infrared-emitting light source, and that the “monochrome” light pulse comprises wavelengths in the infrared range.
(11) In an image processing step 140, the RGB values of the image pixels of the colour image M.sub.RGB are adjusted by a suitable luminance factor to improve the image signal-to-noise ratio. The algorithm comprises several main steps including the identification of blurred objects B.sub.blur in the colour image (only one exemplary blurred object is shown for the sake of clarity) using information from the monochrome image M.sub.mono, performing brightness correction over the pixels in that image region B.sub.blur, and performing colour adjustment in any corrected image region.
(12) An initial step may be to consider the brightness of the image. Each image pixel X has a red (R.sub.X), a green (G.sub.X) and a blue (B.sub.X) value. In one approach, a “brightness image” may simply comprise the G.sub.X values of the pixels of the RGB image. Alternatively, the red, green and blue colour values of each image pixel X of the colour image M.sub.RGB can be adjusted as follows
R.sub.X.fwdarw.R.sub.X−Y.sub.X (1)
G.sub.X.fwdarw.Y.sub.X (2)
B.sub.X.fwdarw.B.sub.X−Y.sub.X (3)
where Y.sub.X is a “grey value” of luminance for that pixel and is computed using the equation:
Y.sub.X=0.2R.sub.X+0.7G.sub.X+0.1B.sub.X (4)
(13) The result of this adjustment on each image pixel is a monochrome corrected brightness image (also referred to as “RGB-Y image” or “G image”) described above. These adjustments can be beneficial especially in the case of an embodiment using only a single image sensor with an IR notch filter. In such an embodiment, the red, green and blue sensor pixels will also—to a small extent—integrate the infrared light arriving at the sensor. For colour reproduction, the red, green and blue components can be corrected using information from the IR image. In the above equations (1) and (3), such correction is performed by subtracting the IR signal.
(14) The brightness image and the IR image are then analysed using pattern recognition or edge detection techniques. Where an edge is identified in the brightness image as well as the IR image M.sub.mono, no correction is needed in the corresponding region of the RGB image M.sub.RGB. Where an edge is blurred in the brightness image but sharp in the IR image M.sub.mono, the RGB image M.sub.RGB will be corrected using information from the IR image M.sub.mono. The grey value Y of equation (2) is therefore further adjusted for each pixel as follows
Y′.sub.X=α.Math.Y.sub.X+(1−α).Math.β.Math.IR.sub.X (5)
where α is a pixel-dependent matching parameter, δ is a secondary matching factor to correct for the different reflectance of infrared light compared to visible light, and IR.sub.X is the appropriate pixel value in the motion-freeze image M.sub.mono. The matching parameter α will be 1.0 for a non-blurred regions of the image and can be as low as 0.0 in a motion-blur region. In an alternative approach, the matching parameter α could be varied between 0.5 and 0.0 to use the IR information for the complete image, if e.g. noise conditions make this preferable.
(15) For colour reconstruction, information from the RGB image M.sub.RGB will remain unchanged for any non-blurred image regions, i.e. α=1.0 for each pixel in a non-blurred region (see equations (6)-(8) below). For motion-blur regions B.sub.blur, several image processing techniques can be applied. For example, the difference in size of a moving object as recorded in the RGB image M.sub.RGB compared to its size in the IR image M.sub.mono will give an indication of the speed and direction of the movement and thereby give an indication of the “mixing ratio” between moving object B and background. For an object B moving across the scene D, the colour in a motion blur region B.sub.blur is essentially a blend of object colour and background colour, and more background is “mixed in” when the object B is moving quickly. Similarly, if the object B is moving towards the camera, the flash light will become more relevant and will highlight the object colour more than the background colour. The colour of any pixel X in blurred area of the image can be reconstructed from RGB values R.sub.BG, G.sub.BG, B.sub.BG of neighbouring background pixels (i.e. background pixels that are adjacent to the blurred image region), and image regions of the moving object B can be assigned the colour of the blurred region, corrected—for the mixing in of a suitable background colour. For the image pixels of the blurred object B.sub.blur, colour is preferably reconstructed within regions corresponding to the moving object B identified in the “common” region R, as well as in regions R.sub.blur that actually belong to the background.
(16) Motion towards or away from the camera can be identified by observing size and brightness changes over the object's trajectory or path, for example its brightness will increase if it is moving towards the camera. Object recognition can also be performed to assist in assigning a realistic colour to any corrected image region.
(17) Within the object, i.e. within edges of the shape B.sub.mf detected in the IR motion freeze image M.sub.mono:
R′.sub.X.fwdarw.αR.sub.X+(1−α)(R.sub.X−γR.sub.BG) (6)
G′.sub.X.fwdarw.αG.sub.X+(1−α)(G.sub.X−γG.sub.BG) (7)
B′.sub.X.fwdarw.αB.sub.X+(1−α)(B.sub.X−γB.sub.BG) (8)
(18) The term γ expresses the above-mentioned mixing ratio between the moving object and the background. In any blurred region of the image that is outside of the object, such interpolated/extrapolated RGB values can also be used to reconstruct the background colour. The background color for a pixel in a motion blur region R.sub.blur (and to the side of the object) can be assumed to be the same as the colour of an adjacent pixel outside the motion blur region R.sub.blur. This simple assumption may suffice, or processing steps may be included to adjust such pixel colours to take into account any variations in the background. A resulting pixel value of the optimized image M.sub.opt is the set of equations (6)-(8).
(19) The optimized image M.sub.opt will therefore show the object Box to a satisfactory degree of sharpness and colour, and will include image regions R.sub.edit (derived from motion blur R.sub.blur regions as shown in colour image M.sub.RGB) that have been “edited” or corrected, for example to reconstruct the background.
(20) An alternative approach to optimising the background is to combine information from images taken before or after the actual photo event carried out by the user. Such techniques are already used in smartphones to improve image quality.
(21) In general, the form of the imaged object may be slightly elongated in the motion-freeze image, so that the shape of the object in the final image M.sub.opt may also be slightly elongated. Additional processing steps may be applied on an image sequence, if desired, to determine the object trajectory and speed from which the object's “real” shape may be deduced.
(22) In a prior art imaging arrangement which uses an RGB sensor and a visible-spectrum flash F.sub.RGB that are optimised for imaging well-lit scenes, a moving object in a dimly-lit scene will result in a poor-quality image such as colour image M.sub.RGB, in which a moving object B is imaged as a distorted and blurred shape B.sub.blur.
(23)
(24)
(25)
(26) The image sensor is equipped with a filter, for example by depositing a four-channel colour filter mosaic on the pixels of the image sensor die. The IR filter for pixels that are to respond to IR wavelengths may be formed by depositing red, green and blue filter layers onto those pixels P.sub.IR.
(27) The smartphone 4 also comprises a white LED light source 11 and an infrared light source 12. To capture a colour image M.sub.RGB, a driver 13 causes the white LED light source 11 to generate a visible-spectrum light pulse F.sub.RGB (the main flash) as explained in
(28) To capture a motion-freeze image M.sub.mono, the driver 13 causes the infrared light source 12 to generate an infrared-spectrum light pulse F.sub.mono (the motion-freeze flash) as explained in
(29) The colour image M.sub.RGB and the motion-freeze image M.sub.mono are then forwarded to an image processing unit 14 which will use the information provided by the images M.sub.RGB, M.sub.mono to obtain the optimized image M.sub.opt described in
(30)
(31) One image sensor S1 is used to capture a colour image, and the other image sensor S2 is used to capture a monochrome infrared image. To this end, the first image sensor S1 is equipped with a colour filter mosaic applied to the image sensor die so that each sensor pixel is covered by a corresponding R, G, B filter as appropriate. The second image sensor S2 is equipped with a filter that is partially transmissive in the infrared region (so that its transmission spectrum overlaps with the emission spectrum of the infrared-spectrum light pulse F.sub.mono). In this way, the sensor pixels of the second image sensor will record an infrared image. Because the second image sensor S2 is also sensitive to visible light, its integration time is reduced or shortened to allow the short motion-freeze exposure with the IR spectrum light pulse F.sub.mono.
(32) As described in
(33)
(34) The first image sensor S1 is used to capture a colour image M.sub.RGB, and the infrared image sensor S.sub.IR is used to capture a monochrome infrared image M.sub.mono. To this end, the first image sensor S1 is equipped with a colour filter mosaic applied to the image sensor die so that each sensor pixel is covered by a corresponding R, G, B filter as appropriate. The infrared image sensor S.sub.IR is equipped with a filter that is only transmissive in the infrared region. In this way, the sensor pixels of the infrared image sensor will record an infrared image M.sub.mono.
(35) As described in
(36) The performance of the imaging arrangement 1 can be optimized by matching the light source spectra to the sensitivities of the image sensors.
(37) Although the present invention has been disclosed in the form of preferred embodiments and variations thereon, it will be understood that numerous additional modifications and variations could be made thereto without departing from the scope of the invention. For example, the distribution of RGB and IR image sensor pixels could be different than shown in
(38) For the sake of clarity, it is to be understood that the use of “a” or “an” throughout this application does not exclude a plurality, and “comprising” does not exclude other steps or elements. The mention of a “unit” or a “module” does not preclude the use of more than one unit or module.
REFERENCE SIGNS
(39) imaging arrangement 1 visible-spectrum light source 11 infrared-spectrum light source 12 intensity graph 110, 120 driver 13 image processor 14 image processing step 140 device 4 sensitivity curve 70_R, 70_G, 70_B, 70_IR visible-spectrum image M.sub.RGB infrared-spectrum image M.sub.mono digital image M.sub.opt camera C, C1, C2, C.sub.IR image sensor S, S1, S2, S.sub.IR RGB sensor pixels P.sub.R, P.sub.G, P.sub.B infrared sensor pixel P.sub.IR scene D moving object X blurred imaged object B.sub.blur motion-freeze imaged object B.sub.mf imaged object B.sub.OK common image region R motion blur region R.sub.blur corrected image regions R.sub.edit matching parameter α visible-spectrum light pulse F.sub.RGB infrared-spectrum light pulse F.sub.mono pulse duration t.sub.RGB, t.sub.mono sensor integration time t.sub.int