EP3625764A1 - Computational imaging of the electric grid - Google Patents
Computational imaging of the electric gridInfo
- Publication number
- EP3625764A1 EP3625764A1 EP18803175.1A EP18803175A EP3625764A1 EP 3625764 A1 EP3625764 A1 EP 3625764A1 EP 18803175 A EP18803175 A EP 18803175A EP 3625764 A1 EP3625764 A1 EP 3625764A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- image
- shutter
- light source
- cycle
- images
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/60—Extraction of image or video features relating to illumination properties, e.g. using a reflectance or lighting model
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/745—Detection of flicker frequency or suppression of flicker wherein the flicker is caused by illumination, e.g. due to fluorescent tube illumination or pulsed LED illumination
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N25/00—Circuitry of solid-state image sensors [SSIS]; Control thereof
- H04N25/50—Control of the SSIS exposure
- H04N25/53—Control of the integration time
- H04N25/531—Control of the integration time by controlling rolling shutters in CMOS SSIS
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/12—Classification; Matching
Definitions
- the present invention is in the field of imaging the electric grid.
- AC power transmission electrical energy is distributed by generating an AC voltage waveform (usually a sine wave) with a frequency of 50 or 60 Hz. This waveform is then distributed over the city's grid via power lines. The power plant generates three sine waves with phases spread apart by 120°. On a city scale, power transformers introduce additional phase shifts to these three phases. Each power consumer within the city, from street lamps to household power outlets, connects to ones of these three phases, arbitrarily.
- a method comprising: operating a rolling shutter imaging sensor to capture one or more images of a scene that is illuminated, at least in part, by an AC-powered light source; applying a machine learning classifier to a set of pixel intensity values for a vertical or horizontal sequence of pixels corresponding to one flicker cycle, wherein the classifier is trained on a plurality of sets of pixel intensity values corresponding to a plurality of labeled light source; and determining an identity of the AC-powered light source, based on the application of the classifier.
- a method comprising: operating a rolling shutter imaging sensor to capture one or more images of a scene that is illuminated, at least in part, by an AC-powered light source; estimating pixel intensity values for a vertical or horizontal sequence of pixels in the one or more images, the sequence corresponding to a flicker cycle of the AC-powered light source; and determining an identity of the AC-powered light source, based on the estimation.
- a method comprising: operating an imaging sensor and a shutter to capture image data of a scene illuminator by a plurality of AC-powered light sources, wherein the shutter is associated with AC mains power and is controlled to open and close based on cycles of the AC mains power; and extracting, for the image data, different components related to different ones of the light sources.
- a method comprising: operating a rolling shutter imaging sensor to capture an image of a scene illuminated by an AC-powered light source, wherein said image is subject to spatial flickering, and generating a de-flickered said image by extracting, for each pixel in said image, a flicker-independent intensity value.
- a system comprising: an imaging device comprising a rolling shutter imaging sensor; at least one hardware processor; and a non-transitory computer-readable storage medium having stored thereon program instructions, the program instructions executable by the at least one hardware processor to: (a) operate the imaging device to capture an image of a scene illuminated at least by a light source powered by an AC (Alternating Current) power source, (b) estimate a set of pixel intensity values for a vertical or horizontal sequence of pixels corresponding to one flicker cycle, (c) compare said set of pixel intensity values to a database of sets of pixel intensity values corresponding to a plurality of light sources, (d) identify said light source as one of said plurality of light sources in the database.
- AC Alternating Current
- said estimating is based, at least in part, on applying to said image at least one digital bandstop filter having a frequency response which blocks multiple harmonics of a base frequency given as a multiple of (i) an inter-row or inter-column delay value of said rolling shutter, divided by (ii) a duration of a cycle of said AC power source.
- said identifying further comprises determining an electric phase of said light source.
- said identifying further comprises determining a point in a cycle of said AC power source in which said image was captured.
- said instructions further comprise operating said imaging device to capture a second image.
- an exposure time used for capturing said second image is equal to an integer multiple of said flicker cycle, and wherein said estimating is based, at least in part, on said second image.
- said light source is within direct view of said imaging device, and wherein said image is captured using an optical filter operatively coupled to said imaging device, wherein said optical filter has a transfer function that creates stripes in the captured image.
- said instructions further comprise operating said imaging device to capture a plurality of images, (ii) wherein said estimating is based, at least in part, on identifying said vertical or horizontal sequence of pixels relating to a diffuse surface in said images, and (iii) wherein said identifying comprises at least determining a point in a cycle of said AC power source in which each said image was captured.
- said instructions further comprise operating said imaging device to capture a plurality of images, (ii) wherein said estimating is based, at least in part, on estimating a temporal difference between each pair of images, based at least in part on relative intensity values of corresponding pixels in said pair of images, (iii) and wherein said identifying comprises at least determining a point in a cycle of said AC power source in which each said image was captured.
- said instructions further comprise operating said imaging device to capture a plurality of images over a specified period, and wherein said identifying further comprises generating a global- shutter image at any point during said period, based, at least in part, on estimating a Fourier series coefficients of a temporal signal observed at each pixel in said images.
- a system comprising: an imaging device comprising a rolling shutter imaging sensor; at least one hardware processor; and a non-transitory computer-readable storage medium having stored thereon program instructions, the program instructions executable by the at least one hardware processor to: (a) operate the imaging device to capture an image of a scene illuminated at least by a light source powered by an AC (Alternating Current) power source, (b) apply a machine learning classifier to a set of pixel intensity values for a vertical or horizontal sequence of pixels corresponding to one flicker cycle, wherein the classifier was trained on a plurality of sets of pixel intensity values corresponding to a plurality of labeled light source, wherein the application of the classifier results in identification of said light source of said image.
- an imaging device comprising a rolling shutter imaging sensor
- at least one hardware processor and a non-transitory computer-readable storage medium having stored thereon program instructions, the program instructions executable by the at least one hardware processor to: (a) operate the imaging device to capture an image of a scene illuminate
- a system comprising: an imaging device comprising a rolling shutter imaging sensor; at least one hardware processor; and a non-transitory computer-readable storage medium having stored thereon program instructions, the program instructions executable by the at least one hardware processor to: (a) operate the imaging device to capture an image of a scene illuminated by an AC-powered light source, wherein said image is subject to spatial flickering, (b) generate a de-flickered said image by extracting, for each pixel in said image, a flicker-independent intensity value.
- said extracting is based, at least in part, on applying to said image at least one digital bandstop filter having a frequency response which blocks multiple harmonics of a base frequency given as a multiple of (i) an inter-row or inter-column delay value of said rolling shutter, divided by (ii) a duration of a cycle of said AC power source.
- a system comprising: an imaging device comprising an imaging sensor and a shutter configured to move between a closed position and an open position; at least one hardware processor; and a non-transitory computer-readable storage medium having stored thereon program instructions, the program instructions executable by the at least one hardware processor to: (a) generate a signal having level changes corresponding to specified points in a cycle of a waveform detected from a mains alternate current (AC) outlet, (b) move said shutter into said open position based upon said level changes, for a specified number of said cycles, (c) operate the imaging device to capture image data of a scene illuminated by a plurality of light sources, wherein said image data is being captured when said shutter is in said open position during said specified number of cycles, and (d) extract, from said image data, components related only to a selected one of said plurality of light sources, wherein said extraction is based on at least some of (i) a light response function, (ii) a
- said imaging device further comprises a plurality of shutter masks operatively coupled to said shutter.
- said capturing comprises defining a sequence of one or more of said shutter masks, wherein each of said shutter masks is applied to said shutter in said sequence, during each period when said shutter is in a said open position within a said cycle.
- each said open position has a duration of at least 1 microsecond.
- said specified number of cycles is at least 2.
- said system is further configured for detecting at least some of a light response function, a chromaticity value, and an electric phase of a said light source.
- said system is further configured for creating and storing a database of light sources, based, at least in part, on said detecting.
- said databased further comprises, for each light source, at least some of a type, a manufacturer, and a power rating.
- said extraction is based, at least on part, on information retrieved from said database.
- said extraction further comprises performing at least one of reflections corrections and color corrections with respect to said image data.
- Figures 1A-C (1A) Photo of a city-scale scene of Haifa. Inset is magnified in Figure Error! Reference source not found.A. (IB) Image from 1A, but with the AC bulb response function, we can recognize which bulbs are used and the electric-grid phase of each is color coded. This enables statistical analysis of the grid. (1C) Photos of unmixing a scene into single-light- source component images.
- FIG. 2A-C (2A) The top shows a pure sine wave, fitted to the raw voltage at the reference outlet in Haifa. We count time t starting from a negative-to-positive zero crossing at this outlet. The bottom shows raw sine waves from a bare photodiode for a sample of the bulbs in DELIGHT, spanning multiple cycles. Each signal was normalized by its temporal average over one flicker cycle. For better visualization, LED2's waveform was attenuated by 1/3. (2B) The bottom shows a line graph of the corresponding monochrome BRFs from Fig. 2A. These were computed by acquiring signals like those of Fig. 2A (bottom) 200 times, averaging them, and cropping them at ⁇ £[0, ⁇ ].
- LEDl 's BRF was amplified x lO to illustrate that it is not actually constant.
- the top shows the three-band BRF of one of the bulbs, measured by placing color filters in front of the photodiode.
- (2C) A photo of the bulbs and fixtures collection in DELIGHT.
- Figures 3A-C (3A) Enlarged photo of a close-up of Haifa bay from Fig. Error! Reference source not found.A. Kilometers away, lamps are recognized from DELIGHT ACam-captured images. In conjunction, the grid phase at each bulb is recognized. (3B) A line graph of raw signals normalized by mean brightness, plotted along with their best- matching BRFs from DELIGHT. Colors correspond to the bulbs indicated in 3A. (3C) A line graph to illustrate how well the measured signals of 3B compare to each other. We shifted each by minus its recognized phase, effectively placing them all on grid phase zero.
- Figures 4A-D (4A) Photos of unmixing results.
- the second column shows the single-source images reconstructed by unmixing.
- a line plot shows the monochrome BRFs sampled directly by ACam.
- Figures 5A-D Unmixing results for an (5A) outdoor scene showing phots of illumination by just (5B) a fluorescent light, (5C) a close sodium light and (5D) a farther away sodium light.
- FIGS 6A-C (6A) A photo through a window showing reflection on the glass from inside. (6B-C) Temporal variations due to AC flicker are attributed to the indoor scene. ICA separates the (6B) indoor reflection from the (6C) transmitted scene. Both are recovered up to an unknown scale.
- FIG. 7 A schematic summary of ACam operation. Top: The camera's pixels are repeatedly blocked and unblocked over C cycles so that they can integrate light only during the same brief interval in each cycle. Because each cycle's duration varies slightly, the timing of these events is controlled precisely with an electrician that tracks AC zero-crossings in real time. Here we show the electrician' s input voltage (blue) and the mask-switching signal it generates (red), measured simultaneously with a high-speed oscilloscope. Masks are switched at the signal's rising edge and must persist for at least A/K microseconds. The ACam supports K ⁇ 26 for 50Hz grids and K ⁇ 22 for 60Hz grids. Bottom: The corresponding DMD masks. Mask 0 is active most of the time and acts like a global shutter. Mask m 1 briefly exposes all pixels to light. Mask m 2 , on the other hand, blocks light from some of the pixels in the next cycle to prevent their saturation.
- FIG. 8 A diagram of Acam and its connection to the AC grid.
- Our ACam combines an chicken and voltage transformer with a DMD-based programmable mask.
- the chicken senses the AC grid in real-time, switching between DMD masks over hundreds of cycles.
- the masks are loaded to the DMD by a PC (not shown). In each AC cycle, these masks expose individual pixels for a small fraction of the cycle duration.
- Figures 9A-B (9A) Non-locked versus (9B) AC-locked imaging. Using a 1500- cycle integration to acquire frames corresponding to the maximum and minimum intensity of a bulb (LED2). (9A) Without AC locking the integration time window drifts, causing temporally-blurred results. (9B) When the ACam is continuously synchronized to the AC zero-crossings, temporal blur is minimal.
- FIGS 12A-C Semi-reflection separation for an AC-IUuminated scene experiment.
- FIG. 13A-B Images showing that rolling-shutter imaging flicker of AC lighting results in a vertical wave pattern, and that we can compute global-shutter frames of the scene.
- 13B Images of a scene at night of point emitters imaged with a standard lens and through an optical star filter. Along the vertical arms of the star point- spread function a rolling-shutter frame reveals wave-like modulation created by AC-induced flicker.
- FIG. 14 A schematic of rolling -shutter imaging under AC lighting.
- First a rolling- shutter camera captures a sequence of frames. In frame k, the topmost row is sampled at absolute time Row r is sampled with constant delay D relative to row r— 1. Thus, the space-time volume is sampled along diagonal slices. The resulting rolling-
- shutter frames exhibit a wave pattern in each frame and across frames. Each corresponds
- FIG. 15A-B Rolling- shutter image of a scene illuminated from its sides by two identical bulbs powered by different AC phases. In the top image flicker induces wave patterns. An image with single-frame de-flickering using a digital bandstop filter tuned to the flicker frequency and its higher harmonics is also provided.
- (15B) Line graph of the spectrum of a single image column before and after deflicker filtering. In the x-axis, the image spatial frequency (in pixel units) is multiplied by 1/D to yield the corresponding temporal frequency.
- FIGS 16A-E Single-frame analysis.
- (16A) The same image as in 15B, each scene side is dominated by one of two fluorescent bulbs powered by electric phases 0 and 240. Per pixel, we search for the AC phase that best fits the flicker wave pattern in a vertical domain centered at the pixel.
- (16C) A line graph showing the image signal
- FIG. 17A-C AC analysis using two frames.
- (17A) A DC image of the same scene from 16A.
- (17B) A normalized image generated by normalizing a rolling- shutter frame (16A) by a DC frame (17A) yields i norm . This improves bulb information recovery.
- (17C) An electrical phase map. Compare the estimated electric phase map to the one in 16E and they are the same.
- Figures 18A-B Imaging the same scene as in 13B using a severely defocused lens and a rolling -shutter camera. The PSF reveals the flicker-induced wave pattern but degrades the spatial image content. (18B) The same image as 13B, imaged with a star filter, which enables bulb and phase recognition while also preserving most image details. [053] Figure 19. A histogram showing where t FR corresponds to the declared setting of the camera. The histogram is based on 15000 frames of an IDS UI- 348xLE camera.
- Figures 20A-E An experiment using a OnePlus cellphone with exposure set to l/500sec. We manually triggered 138 rolling- shutter frames. (20A) The first frame. (20B) A line graph of the vertical signal along ⁇ . (20C) A polar plot of the recovered canonical times. In the polar plot, the radii and color denote k while the angle represents [0,10ms] .
- Figure 21 A schematic of the computing of a 2D embedding of frames to obtain their canonical times.
- a machine vision color camera (IDS UI-155xLE) with exposure time set to 1788us captured 80 frames of the Haifa bay area from afar.
- FIGS 22A-C Light transport decomposition.
- 22A A scene illuminated by four different bulbs. In a standard long exposure, illumination from all sources is mixed together.
- 22B Recovered images of the scene as it would appear illuminated by each individual source. We capture 120 rolling- shutter frames (not shown) and estimate a 25-frame global- shutter sequence of the scene. We then apply source unmixing as described herein. BRFs used here for unmixing were extracted as described in Example 14.
- FIG. 23 An image of the white printer paper placed over an iPhone 7 camera lens with the camera pointed at a bulb (Left). The paper diffused the bulb's illumination, destroying all scene-dependent spatial image variations and making ⁇ 5 uniform. The resulting image captured the bulb response function curve at high temporal resolution, for three color bands, which is shown in a line graph. To reduce noise, we averaged across columns.
- FIGS. 24A-C BRF curves measured by three methods: ACam, rolling shutter (RS) using the method of Example 14, and a photodiode for (24A) a CFL2U bulb and (24B) a LED2.
- (24C) A chart of the computed Mean Absolute Difference, normalized by BRF amplitude, between each pair of methods, per bulb. The curves are consistent. Because ACam yields only 26 BRF samples, its measurement of the LED2 BRF is somewhat inferior.
- Figure 25 A line graph demonstrating crude single-image unmixing. In the scene of
- pixel x 3 resides in a region affected strongly by two bulbs. Therefore, the vertical flicker signal around x 3 (in blue) is a mixture of their BRFs. Here we show that this is approximately an equal- weight mixture (red curve).
- the present invention provides systems and methods for imaging scenes illuminated at least by one or more light sources powered by alternating current.
- the systems and methods are capable of extracting data concerning those light sources, such as light response function, chromaticity and electric phase. Further, the systems and methods provide the capability to de-flicker images, as well as decompose scenes illuminated by multiple light sources into scenes illuminated by only a single light source. These systems and methods can employ a mechanical shutter or a rolling shutter.
- the wiggle is practically spatially invariant in spatiotemporal scales typical to computer vision: the temporary frequency of the AC is essentially the same in any electrical outlet across the city. The reason is that electricity perturbations propagate at a speed on the order of the speed of light.
- the temporary frequency of the AC is determined from the time interval ⁇ between two successive zero crossings (Fig. 2A, top). Since there are two such crossings per period of the AC, its frequency is given by
- a bulb ⁇ is a system whose input is the voltage V(t) and its output is spectral flux , where ⁇ denotes wavelength.
- Non- incandescent bulbs generally have electronic components inside the bulb fixture, to which the lay person is oblivious. These components (diodes, inductors, etc.) mediate between voltage and spectral flux. Mediators have response times and nonlinearities. Hence the
- ⁇ , ⁇ ( ⁇ , ⁇ ) is a distortion of V (t): there is a delay, and ⁇ , ⁇ ( ⁇ , ⁇ ) generally does not go to zero during a cycle.
- IB the finite set of bulbs in use.
- a bulb such as a particular fluorescent bulb in a brand fixture, whose time-averaged spectral flux over one cycle is
- SBRF SBRF
- the BRF depends on the placement and spectral sensitivity of the device used. Specifically, the spectral flux and measured intensity are related by the integral is the sensor's spectral sensitivity.
- geometric factor G converts emitted flux to pixel/photodiode intensity and depends on their placement, aperture, etc.
- both the SBRF and the BRF may exhibit a slightly different temporal profile across cycles (e.g., due to voltage polarity, warm-up period, ambient temperature, etc.)
- BRFs may exhibit a slightly different temporal profile across cycles (e.g., due to voltage polarity, warm-up period, ambient temperature, etc.)
- our BRFs are fully specified by their values in very first cycle.
- t we restrict t to lie in the interval [ ⁇ , ⁇ ] and treat the BRF as a function that is defined over just that interval.
- Cameras and photodiodes provide discrete samples of the continuous intensity / ⁇ ( ⁇ , ⁇ ) .
- / ⁇ ( ⁇ , ⁇ ) is resolved into K samples within a cycle. These samples correspond to integrals of / ⁇ ( ⁇ , ⁇ ) over consecutive time intervals of duration A/K.
- FIGs 2A and 2B show several examples of sampled BRFs. As can be seen, all bulbs flicker at double the AC frequency (Fig. 2A, bottom) and are locked to individual cycles.
- the database comprises light source specific bulb response function (BRF).
- BRF light source specific bulb response function
- the database further contains for a given light source at least one of: the manufacturer, the power rating, the bulb wattage and the sensor/filter used to capture the data.
- the database is for use in at least one of: computerized imaging of a power grid, determining grid phase of a light source, determining bulb type of a light source, unmixing an image, denoising an image, white balancing an image and relighting an image.
- unmixing refers to taking a scene illuminated by more than one light source and producing an image of the scene as it would appear when illuminated by only one, or only some of the slight sources.
- relighting refers to converting an image of a scene that is illuminated by at least one light to the same scene illuminated by a different light source. In some embodiments, the different light source does not illuminate the original scene. In some embodiments, the image is illuminated by more than one light source and the relighting is generating an image illuminated by one, or only some, of the light sources.
- the BRF is a monochrome BRF. In some embodiments, the BRF is a chromatic BRF. In some embodiments, the BRF is monochrome and/or chromatic.
- a system comprising: an imaging device comprising an imaging sensor and a shutter wherein the shutter is configured to move between a closed position and an open positions; at least one hardware processor; and a non- transitory computer-readable storage medium having stored thereon program instructions, the program instructions executable by the at least one hardware processor to: generate a signal having level changes corresponding to specified points in a cycle of a waveform detected from a mains alternate current (AC) outlet, move the shutter into the open position based upon the level changes, for a specified number of the cycles, operate the imaging device to capture an image of a scene illuminated by a plurality of light sources, wherein the image data is being captured when the shutter is in the open position during the specified number of cycles, and extract from the image data, components related only to a selected one of the plurality of light sources, wherein the extraction is based on at least some of (i) a light response function, (ii) a chromaticity value, and (iii) an
- a method of at least one of reflection correction, color correction, white balancing, de-flickering, relighting, calculating a light response, calculating a chromaticity value, determining the electric phase of a light source in and decomposing an image comprising operating a system of the invention to capture an image of a scene illuminated by at least one light source, and extracting data from the image.
- chromaticity refers to a quality of a color regardless of it luminance. In some embodiments, chromaticity comprises hue. In some embodiments, chromaticity comprises colorfulness. Colorfulness may also be referred to by saturation, chroma, intensity or excitation purity.
- the imaging device is a camera.
- the camera is a fixed aperture camera.
- the camera is a global shutter camera.
- the camera is a mechanical shutter camera.
- the camera is not a rolling shutter camera.
- the camera is configured to keep its shutter open for at least 1, 2, 3, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400, 500, 1000, 1500 or 2000 cycles of the electric grid. Each possibility represents a separate embodiment of the invention.
- the camera is configured to keep its shutter open for between 2-2000, 2-1500, 2-1000, 2-900, 2-800, 2- 700, 2-600, 2-500, 10-2000, 10-1500, 10-1000, 10-900, 10-800, 10-700, 10-600, 10-500, 50- 2000, 50-1500, 50-1000, 50-900, 50-800, 50-700, 50-600, 50-500, 100-2000, 100-1500, 100-1000, 100-900, 100-800, 100-700, 100-600, 100-500, 150-2000, 150-15000, 150-1000, 150-900, 150-800, 150-1700, 150-600 or 150-500 cycles of the electric grid.
- Each possibility represents a separate embodiment of the invention.
- the camera is configured to keep its shutter open for between 50 and 2000 cycles. In some embodiments, the camera is a black and white camera. In some embodiments, the camera is a color camera. In some embodiments, the camera is a black and white or color camera.
- the level changes correspond to a programmable delay from specified points in the cycle.
- the specified points are at least one reference point.
- the reference point is a zero-crossing.
- the level change is the same for each cycle.
- the term "waveform detected from a mains alternate current outlet” refers to the waveform produced by an electric grid.
- the electric grid will be the grid of the city in which the outlet is located, and the cycle of the waveform will be the cycle of the electric grid. In this way the system of the invention can couple the action of the imaging device and other components of the system to specific points in the AC cycle.
- the outlet draws power from the same power grid as the light sources. In some embodiments, the outlet draws power from a different power grid as the light sources.
- the mains alternate current outlet is any power outlet. In some embodiments, the mains alternate current outlet is AC power outlet. In some embodiments, the mains alternate current outlet is any outlet in a city.
- each open position has a duration of between 1 microsecond and 50 seconds, 1 microsecond and 40 seconds, 1 microsecond and 30 seconds, 1 microsecond and 20 seconds, 1 microsecond and 10 seconds, 1-50, 1-40, 1-30, 1-20, 1-10, 5-50, 5-40, 5-30, 5-20, 5-10, 10-50, 10-40, 10-30, 15-50, 15- 40 or 15-30 seconds.
- Each possibility represents a separate embodiment of the invention.
- each open position has a duration of at least 1 microsecond, 100 microseconds, 1000 microseconds, 10000 microseconds, 100000 microseconds, 1 seconds, 2 seconds, 5 seconds, 10 seconds or 20 seconds. Each possibility represents a separate embodiment of the invention.
- the system is connected to the AC electric grid.
- the system comprises a direct connection to the AC electric grid.
- the system can thus open and close the shutter at the same point in the AC cycle.
- the signal corresponds to an arbitrary start of the cycle.
- at least one signal is produced.
- a plurality of signals is produced.
- the specified number of cycles is at least 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400, or 500 cycles of the electric grid. Each possibility represents a separate embodiment of the invention.
- the specified number of cycles is between 10-2000, 10-1500, 10-1000, 10-900, 10-800, 10-700, 10-600, 10-500, 50-2000, 50- 1500, 50-1000, 50-900, 50-800, 50-700, 50-600, 50-500, 100-2000, 100-1500, 100-1000, 100-900, 100-800, 100-700, 100-600, 100-500, 150-2000, 150-15000, 150-1000, 150-900, 150-800, 150-1700, 150-600 or 150-500 cycles of the electric grid.
- the shutter is opened and closed in response to the same signal. In some embodiments, the shutter is opened and closed at the same specified point of the cycle.
- the scene is illuminated by at least one light source. In some embodiments, the scene is illuminated by at least 2 light sources. In some embodiments, the scene is illuminated by a plurality of light sources. In some embodiments, the light sources are attached to an AC power grid. In some embodiments, the light sources are all attached to the same AC power grid. In some embodiments, the light sources are attached to the same AC power grid as the system of the invention. In some embodiments, at least one light source is a natural light source. In some embodiments, at least one light source is not a man-made light source. In some embodiments, at least one light source does not run on AC power. In some embodiments, at least one light source is not connected to an AC power grid.
- the light source is in a database. In some embodiments, the light source is in the DELIGHT database. In some embodiments, the light source is not in the DELIGHT database. In some embodiments, the light source is selected from a fluorescent bulb, a non- fluorescent bulb, an LED, an incandescent bulb, a halogen bulb, a compact fluorescent bulb, a sodium lamp, a mercury lamp and a metal halide lamp.
- the extraction is based on a light response. In some embodiments, the extraction is based on chromaticity value. In some embodiments, the extraction is based on an electric phase of the light source. In some embodiments, the extraction is based on at least one of a light response function, a chromaticity value, and (iii) an electric phase of the light source. In some embodiments, the phase of the light source is extracted. In some embodiments, an image of the scene illuminated by only some of the light sources is extracted. In some embodiments, an image of the scene illuminated by only one light source is extracted. In some embodiments, a de-flickered image is extracted. In some embodiments, an image of the scene illuminated by a different light source is extracted.
- the type of bulb in the light source is extracted. In some embodiments, a combination of the above is extracted. In some embodiments, the extraction comprises performing a de-flickering of the image. In some embodiments, the extraction comprises performing a relighting of the image. In some embodiments, the extraction comprises performing a decomposition of the image. In some embodiments, the extraction comprises performing reflection correction with respect to the image. In some embodiments, the extraction comprises performing color correction with respect to the image. In some embodiments, the extraction comprises performing white balancing to the image. In some embodiments, the extraction comprises performing a combination of the above described alterations with respect to the image.
- the extraction comprises at least one of reflection correction, color correction, white balancing, de-flickering, relighting, and decomposing the image. In some embodiments, the extraction comprises at least one of reflection correction, color correction, white balancing, de-flickering, relighting, calculating a light response, calculating a chromaticity value, determining the electric phase of and decomposing the image.
- the imaging device further comprises at least one shutter masks. In some embodiments, the system further comprises at least one shutter masks. In some embodiments, the imaging device further comprises a plurality of shutter masks. In some embodiments, the system further comprises a plurality of shutter masks. In some embodiments, the shutter masks are operatively couple to the shutter. In some embodiments, the capturing comprises defining a sequence of one or more shutter masks. In some embodiments, each successive image in said series of images is captured using one of said shutter masks in the sequence. In some embodiments, each of the shutter masks is applied to the shutter in the sequence, during each period when the shutter is in an open position within a cycle.
- each shutter mask corresponds to a specified point in the cycle. In some embodiments, each mask is placed in front of the shutter only during the specified point in the cycle. In some embodiments, the sequence of shutter masks moves to block the shutter during one imaging. In this way during one imaging, which last many cycles, there is always the same mask on the shutter during the same point of the cycle.
- the shutter masks are spatially configurable.
- a shutter mask blocks, or turns off, at least one pixel.
- a shutter mask blocks or turns off, more than one pixel.
- a shutter mask blocks or turns off, a block of pixels.
- the specified points are zero points of the waveform. In some embodiments, the specified points are zero points crossings of the waveform. In some embodiments, the specified points may be any time in the waveform.
- the system further comprises a microprocessor.
- the microprocessor is an iOS.
- the microprocessor coordinates the opening/closing of the shutter, and/or the moving of the masks, with the AC cycle.
- the system further comprises an AC voltage transformer.
- the system is compatible with a voltage of 120 and/or 220 volts.
- the system is compatible with a frequency of 50 Hz and/or 60 Hz.
- the system is further configured for detecting at least one of a light response function, a chromaticity value and an electric phase of a light source.
- the system is further configured for creating and storing a database of light sources, based, at least in part on the detection.
- the database is the DELIGHT database.
- the database is a continuation of the DELIGHT database.
- the extraction is based, at least in part, on information from the database. In some embodiments, the extraction is based, at least in part, on information from the DELIGHT database.
- IB is the set of bulbs in DELIGHT
- P is the set of possible grid phases
- This transport encapsulates global factors such as the camera's numerical aperture and spectral response; spatial and angular variations in radiance at pixel p by source s; the BRDF at p when illuminated by s; shadows, inter-reflections, etc.
- column vector ⁇ ⁇ concatenates the transport factors of all pixels for source s. It follows that individual frames of the sequence are just scalings of vector ⁇ .
- Matrix T is the scene's PxS transport matrix. Each column of T describes the appearance of the scene when a specific source is turned on. This matrix is time-invariant and generally unknown.
- Sources are very often in the field of view. Thus, their BRFs and chromaticities can be acquired directly by our ACam. This is also possible for pixels dominated by one source (e.g., reflections from nearby surfaces).
- the transport matrix is estimated using
- Each column ofT is an unmixed image of the scene. This image is already white balanced because the chromaticities of all sources are factored into Q.
- light sources can be changed to bulbs that were not seen at all during the acquisition. Changing bulbs means changing their chromaticity and BRF to that of other bulbs (e.g., in DELIGHT or merely imagined). Moreover, we can change the grid phase of light sources and can use a diagonal amplification matrix A to amplify or de-amplify them. This leads to generalized relighting:
- Scene illumination contains an outdoor component from daylight.
- the indoor environment is illuminated by two kinds of sources. First, part of the natural daylight illuminates the indoors through a window.
- the second light source indoors is connected to the AC grid.
- T Qut and x ac correspond to the two sources. Since daylight is approximately time-invariant at timescales of a few thousand cycles, its BRF is a vector of all ones.
- the bulb's BRF b ac is unknown, i.e., we are not relying on any database or known grid phase.
- the time variable t can ranges over the circular domain [0, ⁇ ]. If a bulb is connected to an outlet of phase ⁇ p, then the bulb's flicker response is
- BRFs can be measured "in the field” (see Example 18) or obtained from a database such as DELIGHT.
- An image has R X C pixels, where r indexes rows and c indexes columns.
- the scene is illuminated by S sources, indexed by s.
- B s be the BRF of the bulb type to which source s belongs, and ⁇ p s be the electric phase to which this source is connected.
- the intensity of an object illuminated by S sources at pixel (r, c) is
- T s r, c) is the response of image pixel (r, c) to illumination by s. It encompasses image radiance factors that depend on the distance of the object from the light source, surface slope, albedo, lens aperture, bidirectional reflectance, inter-reflections and exposure duration ⁇ ⁇ . That is, T s r, c) is the light transport coefficient at this pixel. The transport coefficients in all pixels constitute a matrix ⁇ 5 .
- Rows thus correspond to distinct temporal samples. Often D is much smaller than the exposure duration T exp . This enables a high temporal sampling rate (1/D Hz), while enough photons accumulate during T exp for a high signal.
- mapping [0120] We describe herein how this mapping can be derived from image data. For the moment, let this mapping be known. Following Eq. (26), row r of rolling-shutter frame k is acquired at canonical time
- Eq. (29) corresponds to a spatial vertical wave pattern with a period of A/D rows (Fig. 15A- B). To see this mathematically, consider a region ⁇ for which x s (r, c) is vertically uniform, i.e., independent of r. Then, Eq. (29) satisfies
- Eq. (29) expresses a spatiotemporal wave function that moves vertically with upward velocity
- This wave motion is independent of the scene's BRFs.
- a system comprising an imaging device comprising a rolling shutter imaging sensor; at least one hardware processor; and a non- transitory computer-readable storage medium having stored thereon program instructions, the program instructions executable by the at least one hardware processor to: operate the imaging device to capture an image of a scene illuminated by at least one AC powered light source, wherein the image is subject to spatial flickering, generate a de-flickered image by extracting, for each pixel in the image, a flicker- independent intensity value.
- a system comprising an imaging device comprising a rolling shutter imaging sensor; at least one hardware processor; and a non- transitory computer-readable storage medium having stored thereon program instructions, the program instructions executable by the at least one hardware processor to: operate the imaging device to capture an image of a scene illuminated at least by one light source powered by an AC power source, estimate a set of pixel intensity values for a vertical or horizontal sequence of pixels corresponding to one flicker cycle, compare the set of pixel intensity values to a database of sets of pixel intensity values corresponding to a plurality of light sources, identify the light source as one of the plurality of light sources in the database.
- a system comprising an imaging device comprising a rolling shutter imaging sensor; at least one hardware processor; and a non- transitory computer-readable storage medium having stored thereon program instructions, the program instructions executable by the at least one hardware processor to: operate the imaging device to capture an image of a scene illuminated at least by one light source powered by an AC power source, apply a machine learning classifier to a set of pixel intensity values for a vertical or horizontal sequence of pixels corresponding to one flicker cycle, wherein the classifier was trained on a plurality of sets of pixel intensity values corresponding to a plurality of labeled light source, wherein the application of the classifier results in identification of the light source of the image
- a method for de-flickering an image subject to spatial flickering comprising: capturing with a rolling shutter imaging device an image of a scene illuminated by a single light source powered by an AC power source, wherein the image is subject to spatial flickering, extracting for each pixel in the image a flicker- independent intensity value, thereby extracting a de-flickered image from an image with spatial flickering.
- a method for at least one of reflection correction, color correction, white balancing, de-flickering, relighting, calculating a light response, calculating a chromaticity value, determining the electric phase of a light source and decomposing of an image comprising, operating an imaging device with a rolling shutter to capture an image of a scene illuminated by at least one light source powered by an AC power source, estimating a set of pixel intensity values for a vertical sequence or horizontal sequence of pixels corresponding to one flicker cycle, comparing the set of pixel intensity values to a database of sets of pixel intensity values corresponding to a plurality of light sources, identifying the at least one light source as one of the plurality of light sources in the database.
- the pixel intensities are flicker-independent.
- a method comprising: operating a rolling shutter imaging sensor to capture one or more images of a scene that is illuminated, at least in part, by an AC-powered light source; estimating pixel intensity values for a vertical or horizontal sequence of pixels in the one or more images, the sequence corresponding to a flicker cycle of the AC-powered light source; and determining an identity of the AC-powered light source, based on the estimation.
- the pixel intensities are flicker-independent.
- a method comprising: operating an imaging sensor and a shutter to capture image data of a scene illuminator by a plurality of AC- powered light sources, wherein the shutter is associated with AC mains power and is controlled to open and close based on cycles of the AC mains power; and extracting, for the image data, different components related to different ones of the light sources.
- the imaging device is a camera.
- the camera is in a computer.
- the camera is in a smart phone.
- the camera is a webcam.
- the camera is a commercially available camera.
- the camera is a black and white camera.
- the camera is a color camera.
- the camera is a black and white or color camera.
- the camera delays the exposure of each row. In some embodiments, the camera delays the exposure of each column. In some embodiments, the camera delays the exposure of each row and/or column.
- the estimating is based, at least in part, on applying to the image at least one digital bandstop filter.
- the bandstop filter has a frequency response which is a multiple of (i) and inter-row or inter-column delay value of the rolling shutter, divided by (ii) a duration of a cycle of the AC power source.
- the bandstop filter has a frequency response which blocks multiple harmonics of a base frequency given as a multiple of (i) and inter-row or inter-column delay value of the rolling shutter, divided by (ii) a duration of a cycle of the AC power source.
- the multiple is an integer multiple.
- the harmonic is a multiple or integer multiple.
- the bandstop filter blocks the main frequency. In some embodiments, the bandstop filter blocks the main frequency and at least one of its harmonics.
- the identification further comprises determining an electric phase of the light source. In some embodiments, the identification further comprises determining at least one of a light response function, a chromaticity value, and an electric phase of the light source. In some embodiments, the identification further comprises determining at least one of a light response function, a chromaticity value, a contribution of each light source to the total illumination in the image, and an electric phase of the light source. In some embodiments, the identification further comprises determining a point in a cycle of the AC power source in which the image was captured. In some embodiments, the determining the point in a cycle is determining the phase of the cycle. In some embodiments, the phase is selected from 0, 120 and 240 degrees.
- the instructions further comprise operating the imaging device to capture a second image.
- the exposure time used for capturing the second image is equal to an integer multiple of the flicker cycle.
- the exposure time is equal to an integer multiple of the AC cycle.
- the estimating is based, at least in part, on the second image.
- the instructions further comprise operating the imaging device to capture a plurality of images.
- the estimating is base, at least in part, on identifying a second vertical or horizontal sequence of pixels relating to a diffuse surface in the images. It will be understood that for cameras with vertical delay the sequence will be vertical and for cameras with horizontal delay the sequence will be horizontal.
- the estimating is based, at least in part, on estimating a temporal difference between each pair of images. In some embodiments, the estimating difference is based at least in part on relative intensity values of a selected pixel in the pair of images. In some embodiments, the estimating difference is based at least in part on relative intensity values of corresponding pixels in the pair of images.
- the identifying comprises at least determining a point in a cycle of the AC power source in which each of the images was captured. In some embodiments, the phase of the cycle is determined. In some embodiments, the point in the cycle in which all of the images were captured is determined.
- the identifying further comprises generating a global-shutter image.
- the global- shutter image is generated at any point during the period.
- the global-shutter image is generated at any point during the cycle.
- the global-shutter image is based, at least in part, on estimating Fourier series coefficients of a temporal signal observed at each pixel in the image.
- the Fourier series coefficients are determined using at least one of equations 47, 48, and 49.
- the Fourier series coefficients are determined using equation 56.
- the Fourier series coefficients are determined using at least one of equations 47, 48, 49 and 56.
- the period is longer than an AC cycle. In some embodiments, the period is multiple AC cycles. In some embodiments, the period is as long as the shutter is open.
- the scene is illuminated by at least one light source. In some embodiments, the scene is illuminated by at least 2 light sources. In some embodiments, the scene is illuminated by a plurality of light sources. In some embodiments, the light sources are attached to an AC power grid. In some embodiments, the light sources are all attached to the same AC power grid. In some embodiments, the light sources are attached to the same AC power grid as the system of the invention. In some embodiments, at least one light source is a natural light source. In some embodiments, at least one light source is not a man-made light source. In some embodiments, at least one light source does not run on AC power. In some embodiments, at least one light source is not connected to an AC power grid.
- the light source is in a database. In some embodiments, the light source is in the DELIGHT database. In some embodiments, the light source is not in the DELIGHT database. In some embodiments, the light source is selected from a fluorescent bulb, a non- fluorescent bulb, an LED, an incandescent bulb, a halogen bulb, a compact fluorescent bulb, a sodium lamp, a mercury lamp and a metal halide lamp.
- the light source is within direct view of the imagining device. In some embodiments, the light source is out of the view of the imaging device. In some embodiments, the light source is within direct view of the imaging device and the image is captured using an optical filter operatively coupled to the imaging device. In some embodiments, the optical filter has a transfer function that creates stripes in the captured image. In some embodiments, the stripes are an optical spread. In some embodiments, the stripes are horizontal, vertical or both. In some embodiments, the optical filter has an optical transfer function, or a point spread function, that creates stripes on a sensor plane with the filter. In some embodiments, the optical filter has an optical transfer function, or a point spread function, that creates stripes on an image taken with the filter.
- the optical filter is a star filter.
- optical filters include, but are not limited to a diffuser, a prism a diffraction grating, a star filter and a fast-rotating mirror.
- the optical filter is anything that spreads light.
- the optical filter creates a two-arm, or more, spread.
- the image is captured using an optical filter operatively coupled to the imaging device.
- the imaging device further comprises an optical filter.
- Machine learning is well known in the art, and the systems of the invention can use a machine learning algorithm to identify and categorize different AC-powered light sources. In some embodiments, at least 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, or 20 light sources with different BRFs are analyzed before the algorithm can identify and/or classify an unknown AC- powered light source.
- the methods of the invention further comprise color- correcting at least one of the one or more images. In some embodiments, the color correction is based on the determined identity of the AC-powered light source. In some embodiments, the methods of the invention further comprise determining a phase of the AC power. In some embodiments, the determining is determining a phase of the AC power of at least one light source illuminating the scene. In some embodiments, the phase of the AC power is determined based on the estimation. In some embodiments, when the scene is illuminated by multiple AC-powered light sources the methods of the invention further comprise creating at least one new image of the scene, each image simulating an appearance of the scene under illumination by at least one of the multiple AC-powered light sources.
- the simulated appearance is of the scene under illumination by not all of the light sources. In some embodiments, the simulated appearance is of the scene under illumination by only one light source. In some embodiments, the simulated appearance is of the scene under illumination by a different light source that did not originally illuminate the scene. In some embodiments, the methods of the invention further comprise relighting the scene. In some embodiments, the methods of the invention further comprise decomposing the lighting of the scene.
- the methods of the invention further comprise at least one of: color-correcting at least one of the one or more images; determining a phase of the AC power, and when the scene is illuminated by more than one light source creating at least one new image of the scene simulating the scene illuminated by not all of the more than one light source.
- AC Lighting Retrieval from a Single Frame Image regions mainly illuminated by a single source are modeled by Eq. (34). Different sources may illuminate different image regions. In regions dominated by each source s, we seek: (a) the bulb type
- each input index k should be mapped to an in-cycle canonical time according to Eq. (27). Consequently, the output intensity at each pixel (r, c) can be thought of as the output of a
- the wave pattern in has a spatial period
- this method does not make use of the rolling- shutter model, it can apply to global shutter sensors as well.
- we rely on the entire batch of captured frames to assign canonical time to each frame.
- Any frame is a point in a vector space of dimension RxC.
- the diffusion maps algorithm requires specifying the pairwise affinity of frames.
- a Gaussian kernel whose width was manually adjusted per scene to yield a ring.
- the resulting ring is generally skewed.
- SMD singular value decomposition
- l K roii is a row vector of length K ro11 , all of whose elements are l 's.
- T denotes transposition. Then, the ring is centered by
- any rolling- shutter frame k is represented by column k of V, where As seen in Figure 21, now the ring manifold is not skewed. Let column k of V be Then, using the argument of a complex number in lieu of a temporal phase-angle, set
- the canonical volume I can represents a signal which is temporally periodic.
- the canonical intensity function is represented by a Fourier series: the
- column vector d r c of length K roU denote the intensities at pixel
- Live Rolling-to-Global Shutter Conversion When the field of view includes a diffuse surface, we can estimate global-shutter images in real-time. This yields a live-streaming algorithm that can continuously compute global-shutter frames. To achieve this, we develop the following updated process: 1. In a ramp-up stage, K ro11 increases with every new input frame, until reaching a pre-set maximum value After this ramp-up, for each new frame streaming in, the oldest frame in the queue is deleted.
- the canonical volume I can be rendered for any t can .
- a length of about 1000 nanometers (nm) refers to a length of 1000 nm+- 100 nm.
- the present invention may be a system, a method, and/or a computer program product.
- the computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
- the computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device.
- the computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
- a non- exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device having instructions recorded thereon, and any suitable combination of the foregoing.
- RAM random access memory
- ROM read-only memory
- EPROM or Flash memory erasable programmable read-only memory
- SRAM static random access memory
- CD-ROM compact disc read-only memory
- DVD digital versatile disk
- memory stick a floppy disk
- any suitable combination of the foregoing includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable
- a computer readable storage medium is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire. Rather, the computer readable storage medium is a non-transient (i.e., not-volatile) medium.
- Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network.
- the network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers.
- a network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
- Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages.
- the computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
- electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
- These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
- the computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
- each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s).
- the functions noted in the block may occur out of the order noted in the figures.
- two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
- the field of view may include both bright light sources and poorly-lit surfaces (e.g., from shadows, squared-distance light fall-off, AC flicker, etc.) These issues make capturing K- frame sequences impractical with a high-speed camera.
- the procedure is applied K times to acquire all frames— and is potentially applied
- HDR high dynamic range
- Acquiring frame k without HDR To capture a frame we (1) define a sequence of M binary DMD masks, (2) open the electronic shutter for C cycles while the DMD is locked to the AC, and (3) close the shutter and read out the image. In practice, C ranges from 100 to 1500 cycles depending on light levels. During this period the DMD repeatedly goes through its M masks. ACam imaging is therefore controlled by three quantities: the number of cycles C, the matrix M holding the mask sequence, and the timing signal that forces the DMD to switch from one mask to the next.
- Our mask matrix has the following general form: where m m is a column vector representing a binary pixel mask and 0 is a mask of all zeros.
- the zero mask blocks the sensor completely and is active at all times except during the interval corresponding to frame k.
- Controller Delay Calibration The ACam tracks zero-crossings in real time. During capture of frame k G K , the chicken repeatedly detects AC voltage zero-crossings. Once a zero-crossing is detected, the chicken exposes sub-frame k by holding mask 0 for [(k - 1) ⁇ ]/ ⁇ seconds before switching to mask m m (see Fig. 7). However, in practice, electronic imperfections may introduce a constant delay be- tween zero-crossing detection and switching to mask m m . This delay causes a slight and constant phase shift AcpArd to the K - frame sequence I. Such a constant phase shift effects tasks that rely on DELIGHT BRFs; scene BRFs may be slightly shifted, compared to database BRFs.
- A0Ard To compensate for this phase shift, we find A0Ard by imaging a known scene bulb, e.g. a Sodium lamp, which is abundant in outdoor scenes. Then, A0Ard is determined as the phase difference between the measured BRF and the corresponding DELIGHT BRF. This calibration is done once per camera and operating conditions; A0Ard is then applied to all measured I.
- a known scene bulb e.g. a Sodium lamp
- Example 3 The DELIGHT database of bulb responses
- BRFs were sensed using a TEMT6000 Ambient Light Sensor, in parallel to measuring the AC voltage V (t) at the reference outlet.
- the reference outlet was selected arbitrarily.
- Color filters were used to measure different color channels.
- Each bulb folder contains between 100 and 400 identical measurements triggered by a positive-to-negative zero- crossing of the AC voltage. The actual data capturing begins with a slight delay after the zero-crossing. These multiple measurements are averaged and clipped between two zero crossings to produce a noise-free BRF.
- LED lighting has an interesting variety of BRFs, some having very low and some very high BRF amplitudes (Fig. 2B). Table 2 details the bulbs measured, so far.
- Figure 2C shows bulbs that were used. We found that new LED bulbs show an interesting variability or BRFs across brands.
- Figure 2A Bottom
- Figure 2B Bottom
- Figure 2B shows the averaged, low-noise BRFs, extracted using the multiple raw measurements.
- the ACam was also capable of separating a source image into unmixed images of the scene as it would appear if it were illuminated by only one source of light. No whit balancing was necessary as the chromaticities of all light sources are already factored into the unmixing equations. Examples for indoor and outdoor scenes are shown in Figures Error! Reference source not found.A-D and Error! Reference source not found.A-
- the ACam can be used to separate combined images arising from semi-reflection by transparent structures (windows, glass, etc.). This can be done with AC powered light sources on both sides of the transparent structure or when natural illumination is involved. An example of the result from such a separation when natural light is illuminating from one side of the transparent structure is shown in Figures Error! Reference source not found.A- C.
- both the indoor semi-reflected component and the outdoor transmitted component are under AC lighting.
- Indoor lighting inside the building is by sources connected to the different grid phases, yet all of them use bulb type CFL-F that appears in DELIGHT. Outdoor lighting outside this building is by sodium and fluorescent bulbs.
- ACam integrated C 1200 cycles. The camera gain was set to 25.
- Figure 11C shows the three semi-reflected components.
- Rolling-shutter cameras have been leveraged in computational photography for three-dimensional sensing, compressed sensing and white balance. They have also been used for inter-device communication. We show experimental results using several rolling -shutter cameras: two off-the-shelf machine vision cameras and two smartphones.
- This information includes (a) a flicker-independent (deflickered) image of the scene; (b) recognition of the types and electric phases of the scene's light sources; (c) image regions that are dominated by any one source; and (d) the canonical time of the image, relative to the zero-crossing of the AC -grid voltage.
- FIG. 15A This analysis mainly applies to image regions that are predominately illuminated by a single source.
- Figure 15A has two distinct image regions on the left and the right that are dominated by one of two sources. In regions where no source dominates (central region), the estimation degrades.
- We manually choose one region around a particular pixel (r 0 , c 0 ), dominated by a single source, to act as a reference whose source is connected to electric phase 0 0.
- bulb type and AC phase analysis requires prior knowledge about BRFs (e.g., DELIGHT).
- pixels x 1( x 2 are in image regions dominated exclusively by either of the two bulbs. Vertical image lines are defined around each pixel according to Eq.
- W samples i.e. The estimation precision is thus ⁇ /W.
- W 360.
- X-L and x 2 the optimal respective values of are 2.6ms and 5.9ms. Because X-L is chosen to correspond to the
- Example 10 Two frames: transport-invariant analysis and optical star-filter for emitter analysis
- FIG. 13B shows a cityscape scene viewed by a rolling -shutter camera through a Star-4 filter aligned with the sensor's axes. Most of the light sources are bright and spatially resolved, despite minor overlap caused by the star PSF. The vertical arms of the PSF play the role of ⁇ , modulated by for each source s.
- Example 11 Canonical volume from an image sequence
- the electronic control of the ACam can be replaced by computational post processing that assigns t can to each frame and row.
- This enables a rolling- shutter camera to operate asynchronously when capturing an image sequence.
- data acquisition in the ACam is intermittently suspended during operation by a controller enslaved to AC zero crossings.
- a rolling shutter offers very dense temporal sampling of flicker.
- the ACam is essentially a global- shutter system, which does not exploit the spatial domain for temporal sampling.
- ACam still has advantages, though. Being a coded aperture system, ACam can integrate optically an arbitrarily large number of flicker cycles. This enables superior dynamic range and sensitivity to low-light conditions, with which rolling- shutter readouts are currently incompatible.
- the rolling shutter approach is much simpler than a tethered coded- aperture system of ACam. It enables practical use of flicker for computer vision methods that rely on illumination and reflection modulation, e.g., photometric stereo, shape from shadows and spacetime stereo. Bulb recognition can assist in color balancing. Flicker may assist smartphones in separating window reflections as the ACam can.
- Scene separation into single-source images can be done using a sequence of rolling -shutter images in real-time (Fig. 22B). Further, a single rolling- shutter image can yield coarse image source unmixing (Fig. 25).
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
- Transforming Light Signals Into Electric Signals (AREA)
Abstract
Description
Claims
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US201762506678P | 2017-05-16 | 2017-05-16 | |
| US201762608086P | 2017-12-20 | 2017-12-20 | |
| US201862664199P | 2018-04-29 | 2018-04-29 | |
| PCT/IL2018/050539 WO2018211511A1 (en) | 2017-05-16 | 2018-05-16 | Computational imaging of the electric grid |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| EP3625764A1 true EP3625764A1 (en) | 2020-03-25 |
| EP3625764A4 EP3625764A4 (en) | 2021-03-03 |
Family
ID=64273454
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP18803175.1A Withdrawn EP3625764A4 (en) | 2017-05-16 | 2018-05-16 | COMPUTER-BASED IMAGING OF THE ELECTRIC GRID |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US11212459B2 (en) |
| EP (1) | EP3625764A4 (en) |
| CN (1) | CN111194460A (en) |
| CA (1) | CA3064067A1 (en) |
| WO (1) | WO2018211511A1 (en) |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019244158A1 (en) | 2018-06-20 | 2019-12-26 | Technion Research & Development Foundation Limited | Computational imaging of the electric grid |
| US10939042B1 (en) * | 2019-05-07 | 2021-03-02 | Zoox, Inc. | Simulated rolling shutter image data |
| US11010875B2 (en) | 2019-05-29 | 2021-05-18 | Datalogic Ip Tech S.R.L. | Apparatus and method to compute a high dynamic range image from a single acquisition |
| DE102019128219A1 (en) | 2019-10-18 | 2021-04-22 | Connaught Electronics Ltd. | An image processing method |
| CN110827317B (en) * | 2019-11-04 | 2023-05-12 | 西安邮电大学 | A four-eye moving target detection and recognition device and method based on FPGA |
| EP3869781A1 (en) * | 2020-02-20 | 2021-08-25 | Koninklijke Philips N.V. | Determining intensity distributions in imaging |
| CN112437206B (en) * | 2020-11-25 | 2022-07-29 | 杭州海康威视数字技术股份有限公司 | Light supplement control method and camera |
| CN112492227B (en) * | 2020-12-15 | 2022-02-08 | 维沃移动通信有限公司 | Exposure method, camera module and electronic equipment |
| CN116188279B (en) * | 2021-11-25 | 2026-03-27 | 华为技术有限公司 | Image processing and model training methods and electronic devices |
| CN114791908B (en) * | 2022-04-08 | 2025-06-03 | 国网福建省电力有限公司电力科学研究院 | A two-level real-time monitoring and prediction method for edge node status in smart grid |
| CN117499790A (en) * | 2022-07-21 | 2024-02-02 | 北京字跳网络技术有限公司 | Image processing methods, devices, equipment, media and products |
Family Cites Families (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6710818B1 (en) * | 1999-10-08 | 2004-03-23 | Matsushita Electric Industrial Co., Ltd. | Illumination flicker detection apparatus, an illumination flicker compensation apparatus, and an ac line frequency detection apparatus, methods of detecting illumination flicker, compensating illumination flicker, and measuring ac line frequency |
| US7298401B2 (en) * | 2001-08-10 | 2007-11-20 | Micron Technology, Inc. | Method and apparatus for removing flicker from images |
| US8106963B2 (en) * | 2006-02-16 | 2012-01-31 | Panasonic Corporation | Flicker correcting device and flicker correcting method |
| US8441551B2 (en) * | 2008-11-14 | 2013-05-14 | Ati Technologies Ulc | Flicker detection circuit for imaging sensors that employ rolling shutters |
| JP5625371B2 (en) * | 2010-01-29 | 2014-11-19 | ソニー株式会社 | Image processing apparatus, signal processing method, and program |
| US9088727B2 (en) * | 2011-04-06 | 2015-07-21 | Pelco, Inc. | Spatially-varying flicker detection |
| US9723676B2 (en) * | 2011-07-26 | 2017-08-01 | Abl Ip Holding Llc | Method and system for modifying a beacon light source for use in a light based positioning system |
| JP2013121099A (en) * | 2011-12-08 | 2013-06-17 | Sony Corp | Image processing device, image processing method, and program |
| CN104104882B (en) * | 2013-04-09 | 2017-08-11 | 展讯通信(上海)有限公司 | Image flicker detection method and device, image capture device |
| WO2014167865A1 (en) * | 2013-04-12 | 2014-10-16 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Flicker reducing device, imaging device, and flicker reducing method |
| EP2987389B1 (en) * | 2013-04-15 | 2017-06-14 | Philips Lighting Holding B.V. | A method of characterizing a light source and a mobile device |
| US9432590B2 (en) * | 2014-01-22 | 2016-08-30 | Nvidia Corporation | DCT based flicker detection |
| US9865044B2 (en) * | 2014-03-31 | 2018-01-09 | Hong Kong Baptist University | Method for light flicker analysis and device thereof |
| EP3139589B1 (en) * | 2014-04-30 | 2022-04-06 | Sony Group Corporation | Image processing apparatus and image processing method |
-
2018
- 2018-05-16 WO PCT/IL2018/050539 patent/WO2018211511A1/en not_active Ceased
- 2018-05-16 US US16/614,432 patent/US11212459B2/en active Active
- 2018-05-16 CA CA3064067A patent/CA3064067A1/en active Pending
- 2018-05-16 CN CN201880046499.6A patent/CN111194460A/en active Pending
- 2018-05-16 EP EP18803175.1A patent/EP3625764A4/en not_active Withdrawn
Also Published As
| Publication number | Publication date |
|---|---|
| CA3064067A1 (en) | 2018-11-22 |
| EP3625764A4 (en) | 2021-03-03 |
| CN111194460A (en) | 2020-05-22 |
| US11212459B2 (en) | 2021-12-28 |
| US20200177789A1 (en) | 2020-06-04 |
| WO2018211511A1 (en) | 2018-11-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11212459B2 (en) | Computational imaging of the electric grid | |
| Sheinin et al. | Computational imaging on the electric grid | |
| Sheinin et al. | Rolling shutter imaging on the electric grid | |
| Tocci et al. | A versatile HDR video production system | |
| Schechner et al. | Generalized mosaicing: Wide field of view multispectral imaging | |
| O'Toole et al. | 3D shape and indirect appearance by structured light transport | |
| US9060113B2 (en) | Sensor-synchronized spectrally-structured-light imaging | |
| US9291494B1 (en) | Discharge corona UV detection in AC power systems method and apparatus | |
| CN103108469B (en) | Method and device for controlling output light of illuminating device and illuminating system | |
| WO2007020760A1 (en) | Image processing method, image processing system and image processing program | |
| JP2023500510A (en) | A system for performing ambient light image correction | |
| Jiang et al. | Recovering spectral reflectance under commonly available lighting conditions | |
| CN108881730A (en) | Image interfusion method, device, electronic equipment and computer readable storage medium | |
| Galli et al. | An innovative protocol for the study of painting materials involving the combined use of MA-XRF maps and hyperspectral images | |
| US11601602B2 (en) | Computational imaging of the electric grid | |
| Yu et al. | Compressive moving target tracking with thermal light based on complementary sampling | |
| US10630907B2 (en) | Methods of producing video images that are independent of the background lighting | |
| Fredembach et al. | The bright-chromagenic algorithm for illuminant estimation | |
| CN108391356B (en) | Intelligent household lighting control system | |
| Han et al. | Canonical illumination decomposition and its applications | |
| Shah et al. | GridInSight: Monitoring electricity using visible lights | |
| JP2020507258A (en) | Coded light detection | |
| CN108391357B (en) | Intelligent household lighting control method and device | |
| Ajdin et al. | Compressive higher-order sparse and low-rank acquisition with a hyperspectral light stage | |
| Vatansever | Modern techniques in forensic analysis of multimedia signals |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
| 17P | Request for examination filed |
Effective date: 20191216 |
|
| AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| AX | Request for extension of the european patent |
Extension state: BA ME |
|
| DAV | Request for validation of the european patent (deleted) | ||
| DAX | Request for extension of the european patent (deleted) | ||
| A4 | Supplementary search report drawn up and despatched |
Effective date: 20210201 |
|
| RIC1 | Information provided on ipc code assigned before grant |
Ipc: H04N 5/351 20110101ALI20210126BHEP Ipc: H04N 5/235 20060101ALI20210126BHEP Ipc: G06K 9/46 20060101ALI20210126BHEP Ipc: G06T 7/00 20170101AFI20210126BHEP |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: EXAMINATION IS IN PROGRESS |
|
| 17Q | First examination report despatched |
Effective date: 20230405 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN |
|
| 18D | Application deemed to be withdrawn |
Effective date: 20230817 |