Method and apparatus for acquiring a set of images illuminated by a flash
09769397 · 2017-09-19
Assignee
Inventors
- Paul Kerbiriou (Thorigne-Fouillard, FR)
- Matis Hudon (Epinay sur Orge, FR)
- Olivier Bureller (Cesson Sevigne, FR)
Cpc classification
H04N23/74
ELECTRICITY
G03B15/05
PHYSICS
International classification
Abstract
An electronic imaging device having a plurality of photosensitive cells arranged in an array to form a frame region, the frame region being composed of a plurality of frame sub-regions each frame sub-region corresponding to a sub-set of photosensitive cells, the device comprising an array controller configured to expose each of said frame sub-regions during an exposure duration wherein the exposure of at least some of said frame sub-regions occurs at different times during a total time of exposure of the frame region, a flash unit for illuminating a scene to be imaged during a flash time duration an activator for activating the flash unit to illuminate the scene to be imaged at a flash time delay determined in dependence upon said exposure duration of a frame sub region and the flash time duration; an image data acquisition unit for acquiring a set of frames of the scene wherein the time of occurrence of a flash event within a frame shifts temporally from frame to frame; and an image reconstruction unit for constructing a sequence of images from the frame sub-regions of the acquired frames.
Claims
1. A method of obtaining a sequence of images of a scene via an imaging device having a plurality of photosensitive cells arranged in an array to form a frame region, the frame region being composed of a plurality of frame sub-regions, each frame sub-region corresponding to a sub-set of the photosensitive cells each sub-set of photosensitive cells having an exposure time duration, wherein the exposure of at least some of said frame sub-regions occurs at different times during a total time of exposure of the frame region, the method comprising: illuminating the scene being imaged at a plurality of flash events; acquiring a set of frames of the scene; and constructing a sequence of images, each image being constructed from frame sub-regions of at least two acquired frames; wherein the time interval between consecutive flash events is set, so as to shift temporally from frame to frame the time of occurrence of a flash event with respect to the start of a frame, the time interval being set to be greater than or equal to the sum of the exposure time duration of a subset of the plurality of photosensitive cells and the time duration of the flash event.
2. The method according to claim 1, wherein each frame sub-region corresponds to a line of photosensitive cells of the array and exposure of the array is performed successively line by line.
3. The method according to claim 1, wherein the flash events are timed such that each sub-set of photosensitive cells is illuminated by one flash event during capture of a frame.
4. The method according to claim 1, wherein each image is constructed from frame sub-regions of at least two acquired frames.
5. The method according to claim 1, wherein each image of the sequence of images is formed by reassembling the frame sub-regions of consecutive frames illuminated by the same flash event to form a reconstructed image.
6. The method according to claim 5, comprising identifying frame sub regions for which the same flash event is shared between two consecutive frames and applying a weighted illumination intensity to said frame sub-regions to form the reconstructed image.
7. The method according to claim 1, wherein the time duration of the flash event is determined to be a fraction of the exposure time duration of a frame sub-region such that:
Exposure.sub.time=n×flash.sub.duration where n is an integer greater than 0.
8. The method according to claim 1, wherein the flash event duration changes from one frame to another frame and the flash interval is adjusted from frame to frame accordingly.
9. A non-transitory computer-readable medium having one or more executable instructions stored thereon, which when executed by a processor cause the processor to perform a method for obtaining a sequence of images of a scene via an imaging device having a plurality of photosensitive cells arranged in an array to form a frame region, wherein the frame region is composed of a plurality of frame sub-regions, each frame sub-region corresponding to a sub-set of the photosensitive cells each sub-set of photosensitive cells having an exposure time duration, and wherein the exposure of at least some of said frame sub-regions occurs at different times during a total time of exposure of the frame region, the method comprising: illuminating the scene being imaged at a plurality of flash events; acquiring a set of frames of the scene; and constructing a sequence of images, each image being constructed from frame sub-regions of at least two acquired frames; wherein the time interval between consecutive flash events is set, so as to shift temporally from frame to frame the time of occurrence of a flash event with respect to the start of a frame, the time interval being set to be greater than or equal to the sum of the exposure time duration of a subset of the plurality of photosensitive cells and the time duration of the flash event.
10. An electronic imaging device having a plurality of photosensitive cells arranged in an array to form a frame region, the frame region being composed of a plurality of frame sub-regions each frame sub-region corresponding to a sub-set of photosensitive cells, the device comprising: an array controller configured to expose each of said frame sub-regions during an exposure time duration wherein the exposure of at least some of said frame sub-regions occurs at different times during a total time of exposure of the frame region; a flash unit for illuminating a scene to be imaged during a flash time duration; a flash controller for activating the flash unit to illuminate the scene being imaged at a plurality of flash events, the time interval between consecutive flash events being set to be greater than or equal to the sum of the exposure time duration of a subset of the plurality of photosensitive cells and the time duration of the flash event; a processor configured to: acquire a set of frames of the scene wherein the time of occurrence of a flash event with respect to the start of a frame is shifted temporally from frame to frame; and construct a sequence of images from the frame sub-regions of the acquired frames.
11. The device according to claim 10, wherein the flash events are timed such that each subset of photosensitive cells is flashed only once during capture of a frame.
12. The device according to claim 10, wherein each image is constructed from frame sub-regions of at least two acquired frames.
13. The device according to claim 10, wherein each image of the sequence of images is formed by reassembling the frame sub-regions of consecutive frames illuminated by the same flash event to form a reconstructed image.
14. The device according to claim 13, wherein the processor is configured to identify sub regions for which the same flash event is shared between two consecutive frames and to apply a weighted illumination intensity to said frame sub-regions to form the reconstructed image.
15. The device according to claim 10, further comprising a clock to synchronise operation of the array controller and the flash controller.
16. A flash control device for an electronic imaging device, the electronic image device having a plurality of photosensitive cells arranged in an array to form a frame region, the frame region being composed of a plurality of frame sub-regions each frame sub-region corresponding to a sub-set of photosensitive cells, and being exposed during an exposure time duration wherein the exposure of at least some of said frame sub-regions occurs at different times during a total time of exposure of the frame region, the flash control device comprising: a flash controller for activating a flash unit to illuminate the scene being imaged at a plurality of flash events, the time interval between consecutive flash events being set to shift temporally from frame to frame the time of occurrence of a flash event with respect to the start of a frame, the time interval between consecutive flash events being greater than or equal to the sum of the exposure time duration of a subset of photosensitive cells and the time duration of the flash event.
17. A method of controlling a flash unit for an electronic imaging device, the electronic image device having a plurality of photosensitive cells arranged in an array to form a frame region, the frame region being composed of a plurality of frame sub-regions each frame sub-region corresponding to a sub-set of photosensitive cells, and being exposed during an exposure time duration wherein the exposure of at least some of said frame sub-regions occurs at different times during a total time of exposure of the frame region, the method comprising activating the flash unit to illuminate the scene being imaged at a plurality of flash events, the time interval between consecutive flash events being set to shift temporally from frame to frame the time of occurrence of a flash event with respect to the start of a frame, the time interval between consecutive flash events being greater than or equal to the sum of the exposure time duration of a subset of photosensitive cells and the time duration of the flash event.
18. A method of obtaining a sequence of images of a scene via an imaging device having a plurality of photosensitive cells arranged in an array to form a frame region, the frame region being composed of a plurality of frame sub-regions, each frame sub-region corresponding to a sub-set of the photosensitive cells each sub-set of photosensitive cells having an exposure time duration, wherein the exposure of at least some of said frame sub-regions occurs at different times during a total time of exposure of the frame region, the method comprising: the scene being imaged receiving an illumination at a plurality of flash events; acquiring a set of frames of the scene; and constructing a sequence of images, each image being constructed from frame sub-regions of at least two acquired frames; wherein the time interval between consecutive flash events is set, so as to shift temporally from frame to frame the time of occurrence of a flash event with respect to the start of a frame, the time interval being set to be greater than or equal to the sum of the exposure time duration of a subset of the plurality of photosensitive cells and the time duration of the flash event.
19. An electronic imaging device having a plurality of photosensitive cells arranged in an array to form a frame region, the frame region being composed of a plurality of frame sub-regions each frame sub-region corresponding to a sub-set of photosensitive cells, the device comprising: an array controller configured to expose each of said frame sub-regions during an exposure time duration wherein the exposure of at least some of said frame sub-regions occurs at different times during a total time of exposure of the frame region; a scene to be imaged receiving an illumination from a flash unit during a flash time duration; a flash controller for activating the flash unit to illuminate the scene being imaged at a plurality of flash events, the time interval between consecutive flash events being set to be greater than or equal to the sum of the exposure time duration of a subset of the plurality of photosensitive cells and the time duration of the flash event; and a processor configured to: acquire a set of frames of the scene wherein the time of occurrence of a flash event with respect to the start of a frame is shifted temporally from frame to frame; and construct a sequence of images from the frame sub-regions of the acquired frames.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Embodiments of the invention will now be described, by way of example only, and with reference to the following drawings in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
DETAILED DESCRIPTION
(15)
(16) The electronic imaging device 100 comprises an image sensor array 110 for capturing light from a scene, a lens 112 for guiding light to the sensor array 110, a signal processing unit 115 for processing signals from the sensor array 110, an image processing unit 125 for reconstructing images from the processed signals, a flash unit 120 for illuminating the scene to be captured, a flash controller 130 for controlling parameters of the flash unit 120, an array controller 140 for controlling the times of exposure of the photosites of the sensor array 110 to light from the scene and a clock 150 which may be used to provide timing synchronization of the various modules. It will be appreciated that in certain embodiments of the invention the flash controller 130 and the array controller 140 are not synchronized. In other embodiments the flash controller 130 and the array controller 140 are synchronized for increased timing accuracy between the time of occurrence of flash events and the exposure times of the lines.
(17) It will be appreciated that the imaging device may be provided with further optical elements such as a variable aperture, a zoom mechanism or an autofocus mechanism to provide enhancement of the captured image.
(18) The sensor array 110 is composed of a set of photosensitive cells (photosites) 111 arranged in a bi-dimensional array of N rows and M columns as illustrated in
(19)
(20) As illustrated in
(21)
(22)
(23) In embodiments of the invention the timing of the flash events is controlled to address such issues. In particular the flash time delay (FDly) between flash events (referred to herein as flash event delay (FDly) is set so as not to be equal to a line exposure time (ExpL) such that there is a time shift S in the time of occurrence of a flash event within a frame, from frame to frame. In some particular embodiments of the invention the flash event delay (also referred to as a stroboscopic event delay in the case where a stroboscope is used) is determined taking into account the camera exposure time (i.e. the time duration of exposure of a line (ExpL)) and the time duration of the flash event such that the time of occurrence of a flash event within a frame is temporally shifted from frame to frame. The flash controller 130 is configured to activate the flash at a flash event delay in accordance with this temporal shift. In one particular embodiment the flash event delay is based on the sum of the time duration of the exposure of a line and the time duration of the flash event such that:
Delay.sub.flash≧Camera Exposure.sub.duration+Flash.sub.duration (1)
(24) In one particular embodiment the flash event delay is based on the sum of the time duration of the exposure of a line and the time duration of the flash event such that:
Delay.sub.flash=Camera Exposure.sub.duration+Flash.sub.duration (2)
(25) For example if the exposure time duration of a scan line is 20 ms corresponding to a camera frequency of 50 Hz and the flash event duration is 2 ms, the flash event delay (FDly) between camera flash events will be 22 ms i.e. the flash frequency will be 45.45 Hz.
(26) An example of a flash control procedure in accordance with an embodiment of the invention is graphically illustrated in
(27) Post processing on captured frames of a video sequence is then performed by imaging processing unit 125 to reconstruct a set of images from the data read out from the scan lines of the captured sequence of frames. Image regions of consecutive captured frames which share the same flash event are identified so that an image can be reconstructed from image regions sharing the same flash event. During reconstruction of an image, lines of the video sequence of frames that are temporally concordant to share a flash event are reassembled to form an image. In
(28) For a video sequence of captured frames as illustrated in
(29)
(30)
(31) In one particular embodiment of the invention an Avisynth filter is used to recompose an image from lines of consecutive frames sharing the same flash event. Consecutive frames of a video sequence captured using a flash activated at a frequency determined in accordance with an embodiment of the invention are input into the filter. The filter reads through two consecutive frames sharing the same flash event to identify lines having the lowest light intensity i.e. lines of a captured frame where the same flash event is shared with that captured frame and at least one adjacent subsequent frame. Once such lines have been identified a reconstruction of an output image is performed. The lines identified as having the lowest light intensity are processed in a different way to the remaining lines of the consecutive frames sharing the same flash event. For example, with reference to the acquired frames of
(32) It may be noted that the weighting function is linear when the image is in the raw space. This means that if a gamma correction has been applied, the image should be converted back to the linear space before performing the recomposition and then gamma correction is reapplied to the recomposed image. In such conditions and for the central overlapping region between the two frames a simple addition of color values of pixels of frame i−1 and frame i is sufficient.
(33) In the source frames a gradient is logically present in one direction for the first frame and in another direction for the second frame. A gradient is highly dependent on the gamma LUT (look up table) taken to output the image.
(34)
(35) Exemplary image recomposition steps are shown in
(36) While
(37) In some embodiments of the invention, in order to avoid a flash event being associated with lines of more than two captured frames, the duration of the flash pulse or burst is determined to be a fraction of the line exposure time such that
Exposure.sub.time=n×flash.sub.duration;
(38) where n is an integer greater than 0.
(39) If the flash event duration is set in this way, in each frame the end of the flash event occurs at the end of the exposure of the last line of a captured frame.
(40) While
(41)
Delay.sub.flash≧Camera Exposure.sub.duration+Flash.sub.duration
(42) In step S1402 a set of frames of a scene is acquired with the flash being activated according to the determined flash timing to illuminate the scene. In step S1403 acquired consecutive frames are processed in order to determine regions of the frames associated with the same flash event. Lines within the consecutive frames having low light intensity are identified in step S1404 in order to identify regions to which a weighting function will be applied in step S1405 for reconstruction of the image from the identified frame regions. In step S1406 the identified frame regions including the weighted frame regions are combined to form a reconstructed image related to a single flash event. A sequence of images is formed in this way and rendered in step S1407 at a frequency dependent on the determined flash event delay.
(43) Embodiments of the invention described herein may be implemented in, for example, a method or a process, an apparatus, a software program, a data stream, or a signal. Even if only discussed in the context of a single form of implementation (for example, discussed only as a method), the implementation of features discussed may also be implemented in other forms (for example, an apparatus or program). An apparatus may be implemented in, for example, appropriate hardware, software, and firmware. The methods may be implemented in, for example, an apparatus such as, for example, a processor, which refers to processing devices in general, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. Processors also include communication devices, such as, for example, computers, tablets, cell phones, portable/personal digital assistants (“PDAs”), and other devices that facilitate communication of information between end-users.
(44) The modules of
(45) Reference to “one embodiment” or “an embodiment” or “one implementation” or “an implementation” of the present principles, as well as other variations thereof, mean that a particular feature, structure, characteristic, and so forth described in connection with the embodiment is included in at least one embodiment of the present principles. Thus, the appearances of the phrase “in one embodiment” or “in an embodiment” or “in one implementation” or “in an implementation”, as well any other variations, appearing in various places throughout the specification are not necessarily all referring to the same embodiment.
(46) Additionally, this application or its claims may refer to “determining” various pieces of information. Determining the information may include one or more of, for example, estimating the information, calculating the information, predicting the information, or retrieving the information from memory.
(47) Additionally, this application or its claims may refer to “receiving” various pieces of information. Receiving is, as with “accessing”, intended to be a broad term. Receiving the information may include one or more of, for example, accessing the information, or retrieving the information (for example, from memory). Further, “receiving” is typically involved, in one way or another, during operations such as, for example, storing the information, processing the information, transmitting the information, moving the information, copying the information, erasing the information, calculating the information, determining the information, predicting the information, or estimating the information.
(48) As will be evident to one of skill in the art, implementations may produce a variety of signals formatted to carry information that may be, for example, stored or transmitted. The information may include, for example, instructions for performing a method, or data produced by one of the described implementations.
(49) Although the present invention has been described hereinabove with reference to specific embodiments, the present invention is not limited to the specific embodiments, and modifications will be apparent to a skilled person in the art which lie within the scope of the present invention.
(50) For instance, while the foregoing examples have been described with respect to a digital imaging device based on CMOS technology it will be appreciated that the invention may be applied to any light capturing technology.
(51) Many further modifications and variations will suggest themselves to those versed in the art upon making reference to the foregoing illustrative embodiments, which are given by way of example only and which are not intended to limit the scope of the invention, that being determined solely by the appended claims. In particular the different features from different embodiments may be interchanged, where appropriate.