RESTART OF TIME FILTERING FOR IMPROVED SCENE INTEGRITY

DE602022043023T2Active Publication Date: 2026-09-16QUALCOMM INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE602022043023
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-06-21
Filing Date
2022-06-09
Publication Date
2026-09-16
Estimated Expiration
2042-06-09

AI Technical Summary

Technical Problem

Temporal filtering in image capture devices can produce artifacts such as 'ghosts' due to objects moving or disappearing from the scene, which are retained in the filtered image, especially in low light conditions, leading to reduced scene integrity.

Method used

Implementing a temporal filter reset mechanism that selectively adjusts the contribution of previous frames based on confidence levels and probability, allowing certain pixels to be based solely on the current frame, thereby reducing ghosting artifacts.

Benefits of technology

Improves image quality by reducing ghosting and other artifacts, resulting in a more accurate representation of the scene with enhanced scene integrity.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims the benefit of U.S. Patent Application No. 17 / 353,506, entitled, "TEMPORAL FILTERING RESTART FOR IMPROVED SCENE INTEGRITY," filed on June 21, 2021.FIELD OF THE DISCLOSURE

[0002] Aspects of the present disclosure relate generally to image processing. Some features of the disclosure may enable and provide improvements in the processing of images in computational photography.BACKGROUND

[0003] Image capture devices, devices that can capture one or more digital images whether still image photos or sequences of images for videos, can be incorporated into a wide variety of devices. By way of example, image capture devices may comprise stand-alone digital cameras or digital video camcorders, camera-equipped wireless communication device handsets, such as mobile telephones, cellular or satellite radio telephones, personal digital assistants (PDAs), panels or tablets, gaming devices, computer devices such as webcams, video surveillance cameras, or other devices with digital imaging or video capabilities.

[0004] An image capture device, regardless of its form, has certain inherent limitations in the image quality of a captured image. A temporal filter can be applied to image frames captured by the image capture device to improve the image quality in certain circumstances, particularly in low light scenes. A temporal filter modifies at least one pixel value in an image frame based at least in part on a value for a pixel in a prior frame. The temporal filter uses information from two image frames captured at different times to obtain an output image frame that may be higher quality than a single image frame. However, there are problems associated with temporal filtering that can reduce the resulting image quality. The article by LEI YANG ET AL, titled "A Survey of Temporal Antialiasing Techniques", COMPUTER GRAPHICS FORUM : JOURNAL OF THE EUROPEAN ASSOCIATION FOR COMPUTER GRAPHICS, WILEY-BLACKWELL, OXFORD, (20200713), vol. 39, no. 2, doi:10.1111 / CGF.14018, ISSN 0167-7055, pages 607 - 621, describes systems and methods for temporal antialiasing techniques. The article by C A DIMOULAS ET AL, titled "Joint Wavelet Video Denoising and Motion Activity Detection in Multimodal Human Activity Analysis: Application to Video-Assisted Bioacoustic / Psychophysiological Monitoring", EURASIP JOURNAL ON ADVANCES IN SIGNAL PROCESSING, (20071031), vol. 12, no. 1-3, doi:10.1155 / 2008 / 792028, ISSN 1687-6180, page 685), describes joint wavelet video denoising and motion activity detection in multimodal human activity analysis.BRIEF SUMMARY OF SOME EXAMPLES

[0005] Temporal filtering can produce artifacts in filtered images under certain circumstances. For example, objects that move or disappear from the scene can remain in the temporally filtered image output for a long time due to the temporally filtered image being based on previous image frames that included the object. These lingering objects in the image may be referred to as "ghosts" due to the object appearing in the image despite the object having left the scene. Ghosts may also appear under other circumstances such as when temporally filtering low contrast (e.g., signal-to-noise ratio (SNR) < 1) images. The effects of ghosting may be more pronounced when more aggressive temporal filtering is applied. Any of these temporal filtering artifacts results in scene integrity issues in the output image frame. More aggressive filtering uses image frames from a longer period of time, resulting in the ghost object appearing longer or more pronounced. More aggressive temporal filtering may be useful in low light circumstances where the associated longer time period can reduce noise in the low light scene. The present invention is defined by the appended claims. Further restricted embodiments are provided by the description.

[0006] One technique for improving temporal filtering according to certain embodiments of this disclosure is to reset the temporal filtering for certain pixels in the image frame to improve the image quality of the image generated by the temporal filtering process. Resetting the temporal filter may reduce the contribution from previous image frames in a temporal filter such that previous input frames have less impact on the output image frame. The resetting may reduce the contribution to, for example, zero, either immediately or within a predetermined period of time (e.g., a certain number of frames). The reset may reduce the appearance of ghosting artifacts in a photograph. decision regarding whether to reset temporal filtering for a pixel of the image frame may be based on a probability assigned to that pixel. The probability can be based on rules with one or more criteria. One example factor for adjusting probability is a confidence level regarding the temporal filtering decision for the pixel, in which the probability for a random reset of a pixel is based on the confidence level regarding the temporal filtering decision for that pixel.

[0007] Temporal filtering can be applied for some pixels in an image frame and not applied for other pixels in an image frame, and the amount of temporal filtering applied to certain pixels can also be varied during the temporal filtering. A decision regarding whether to apply temporal filtering to a certain pixel can be based on one or more rules, each with one or more criteria. The temporal filtering decision may be based on determining whether the pixel corresponds to a static region or a dynamic region of the image. A static region may be determined based on whether a temporal difference between image frames is below a certain threshold, in which the threshold may correspond to an expected temporal noise in the image frame. A confidence level can be determined regarding the temporal filtering decision, and that confidence level used to determine whether to reset a pixel during temporal filtering processing.

[0008] The pixel reset rate in the temporal filter may be based on the confidence level of the temporal filtering decision for that pixel. The rate of pixel resets may be reduced, or no resets performed, for a pixel in which a confidence level is high. The rate of pixel resets can also be adjusted proportionally with the confidence level. For example, no pixel resets may be performed in a region in which a confidence level for pixels in the region is above a high threshold, while a low rate of resets (e.g., 1 in 20 pixels) may be performed in a region in which a confidence level for pixels in the region is above a middle threshold, and while a normal rate of resets (e.g., 1 in 10 pixels) may be performed in a region in which a confidence level is below the middle threshold. The confidence level of a temporal filtering decision may be based on one or more criteria. For example, a high confidence level may be associated with having a sufficiently high signal-to-noise ratio (SNR) in a region of the image. In another example, a high confidence level may be associated with detecting a presence of a strong texture in a region of the image and, at the same time, a low temporal difference between the pixel in the image frames being input to the temporal filter. The pixel reset rate may be implemented using a reset weighting map indicating a probability of reset of a pixel and a random function modified by that probability to determine whether to reset or not reset an individual pixel for which temporal filtering is otherwise determined to be performed.

[0009] The temporal filtering described herein may be implemented by processing two or more image frames, either directly on the output of an image sensor or on a stored series of image frames. In some embodiments, one image frame is the current image frame referring to the image frame in a series of image frames that is currently being processed. In a real-time image capture device, the current image frame may be the most recent image frame captured by the image sensor. The temporal filtering may modify a pixel of the current image frame based on one or more previous image frames occurring earlier in the series of image frames, such as with an image frame captured earlier in time by the image sensor. In some embodiments, the temporal filter may be an Infinite Impulse Response (IIR) filter, which processes the current image frame using a previous image frame that is itself temporally filtered. IIR filters provide temporal filtering using lower bandwidth, lower computational resources, and less power. IIR filters may thus be beneficial in devices operating from limited power supplies such as batteries or in devices operating with reduced processing capabilities due to device mobility factors.

[0010] In some embodiments, temporal filtering may be applied to image frames without motion compensation applied prior to blending. In some embodiments, temporal filtering may be applied to image frames with motion compensation applied prior to blending with other frames in a temporal filter. In embodiments with motion compensation applied before temporal filtering, the blending of the image frames may be performed in static areas (e.g., areas in which the change in a pixel from the one image frame to another image frame is below a threshold amount).

[0011] This summary describes some aspects of the present disclosure to provide a basic understanding of the discussed technology. Its sole purpose is to present some concepts of one or more aspects of the disclosure in summary form as a prelude to the more detailed description that is presented later.

[0012] In general, this disclosure describes image processing techniques involving digital cameras having image sensors and image signal processors (ISPs). The image signal processor may be configured to control the capture of image frames from one or more image sensors and process the image frames from one or more image sensors to generate a view of a scene in a corrected image frame, in which temporal filtering may be applied to blend two or more image frames captured from one or more image sensors as part of a process to produce the corrected image frame. In an example, the image signal processor may receive an instruction to capture a sequence of image frames in response to the loading of software, such as a camera application, on the CPU. The image signal processor may be configured to produce a single flow of output frames, based on respective corrected images from the image sensors. The single flow of output frames may include image frames that contain image data from an image sensor that have been corrected, such as by temporal filtering. The corrected image frame may be produced by combining aspects of the temporal filtering of this disclosure with other computational photography techniques such as high dynamic range (HDR) photography or multi-frame noise reduction (MFNR).

[0013] After an output frame representing the scene is determined by the image signal processor using the temporal filtering described in various embodiments herein, the view of the scene may be displayed on a device display, saved to a storage device as a picture or a sequence of pictures as a video, transmitted over a network, and / or printed to an output medium. For example, the image signal processor may be configured to obtain input frames of image data (e.g., pixel values) from the different image sensors, and in turn, produce corresponding output frames of image data (e.g., preview display frames, still-image captures, frames for video, etc.). In other examples, the image signal processor may output frames of the image data to various output devices and / or camera modules for further processing, such as for 3A parameter synchronization (e.g., automatic focus (AF), automatic white balance (AWB), and automatic exposure control (AEC)), producing a video file via the output frames, configuring frames for display, configuring frames for storage, transmitting the frames through a network connection, etc. That is, the image signal processor may obtain incoming frames from one or more image sensors, each coupled to one or more camera lenses, and, in turn, may produce and output a flow of output frames to various output destinations. In such examples, the image signal processor may be configured to produce a flow of output frames that may have reduced ghosting or other artifacts due to the improved temporal filtering with pixel resets.

[0014] In one aspect of the disclosure, a method for image processing includes receiving a first image frame and a second image frame. The method may continue with determining a third image frame based on the first image frame and the second image frame by applying temporal filtering to combine the first image frame and the second image frame. The temporal filtering may include, for some pixels (e.g., a "first plurality of pixels"), determining a pixel of the third image frame as a combination of a corresponding pixel of the first image frame and the second image frame. The temporal filtering may include, for other pixels (e.g., a "second plurality of pixels"), resetting the temporal filter by determining a pixel of the third image frame based on the first image frame and not based on the second image frame. The reset may eliminate the contribution to the third image frame from previous image frames, and instead the pixel of the third image frame may be based only on the current image frame. This resetting of certain pixels of the third image frame may reduce the presence of ghosts and other artifacts in the third image frame, thereby improving scene integrity, producing a more accurate representation of the scene, and producing a higher quality photograph or video for the user.

[0015] In some embodiments, the pixels of the third image frame that are reset are randomly selected for each frame. In some embodiments, the random pixels are weighted based on a confidence level associated with a temporal filtering (TF) decision for the pixel. In some embodiments, the temporal filtering may be an infinite impulse response (IIR) filter in which the second image frame input used for combining in the temporal filter is itself a temporally-filtered image frame based on at least one image frame prior to the first image frame and the second image frame. In some embodiments, the temporal filtering may be a temporal filter operating on more than two image frames, such as a temporal filter that combines a first ("current") image frame with a first previous image frame and a second previous image frame. The resetting of a temporal filter combining more than two input image frames may involve basing the output image frame on the current image frame and not basing the output image frame on at least one of the previous image frames or all of the previous image frames.

[0016] In some aspects, the method may be performed for HDR photography in which the first image frame and the second image frame are captured using different exposure times, different apertures, different lenses, or other different characteristics that may result in improved dynamic range of a fused image when the two image frames are combined. In some aspects, the method may be performed for MFNR photography in which the first image frame and the second image frame are captured using the same or different exposure times.

[0017] In an additional aspect of the disclosure, an apparatus is disclosed that includes at least one processor, and a memory coupled to the at least one processor. The at least one processor is configured to perform any of the methods or techniques described herein. For example, the at least one processor may be configured to perform steps including receiving a first image frame and a second image frame. The at least one processor may also be configured to determine a third image frame based on the first image frame and the second image frame by applying temporal filtering to combine the first image frame and the second image frame. The temporal filtering may include, for some pixels (e.g., a "first plurality of pixels"), determining a pixel of the third image frame as a combination of a corresponding pixel of the first image frame and the second image frame. The temporal filtering may include, for other pixels (e.g., a "second plurality of pixels"), resetting the temporal filter by determining a pixel of the third image frame based on the first image frame and not based on the second image frame. The reset may eliminate the contribution to the third image frame from previous image frames, and instead the pixel of the third image frame may be based only on the current image frame. This resetting of certain pixels of the third image frame may reduce the presence of ghosts and other artifacts in the third image frame, thereby improving scene integrity, producing a more accurate representation of the scene, and producing a higher quality photograph or video for the user.

[0018] The at least one processor may include an image signal processor or a processor including specific functionality for camera controls and / or processing, such as enabling or disabling the temporal filtering and / or motion compensation. The at least one processor may also or alternatively include an application processor. The methods and techniques described herein may be entirely performed by the image signal processor or the application processor, or various operations may be split between the image signal processor and the application processor, and in some aspects split across additional processors.

[0019] The apparatus may include one, two, or more image sensors, such as including a first image sensor. When multiple image sensors are present, the first image sensor may have a larger field of view (FOV) than the second image sensor or the first image sensor may have different sensitivity or different dynamic range than the second image sensor. In one example, the first image sensor may be a wide-angle image sensor, and the second image sensor may be a tele image sensor. In another example, the first sensor is configured to obtain an image through a first lens with a first optical axis and the second sensor is configured to obtain an image through a second lens with a second optical axis different from the first optical axis. Additionally or alternatively, the first lens may have a first magnification, and the second lens may have a second magnification different from the first magnification. This configuration may occur with a lens cluster on a mobile device, such as where multiple image sensors and associated lenses are located in offset locations on a frontside or a backside of the mobile device. Additional image sensors may be included with larger, smaller, or same field of views. The image correction techniques described herein may be applied to image frames captured from any of the image sensors in a multi-sensor device.

[0020] In an additional aspect of the disclosure, a device configured for image processing and / or image capture is disclosed. The apparatus includes means for capturing image frames. The apparatus further includes one or more means for capturing data representative of a scene, such as image sensors (including charge-coupled devices (CCDs), Bayer-filter sensors, infrared (IR) detectors, ultraviolet (UV) detectors, complimentary metal-oxide-semiconductor (CMOS) sensors), time of flight detectors. The apparatus may further include one or more means for accumulating and / or focusing light rays into the one or more image sensors (including simple lenses, compound lenses, spherical lenses, and non-spherical lenses). These components may be controlled to capture the first and / or second image frames input to the image processing techniques described herein.

[0021] In an additional aspect of the disclosure, a non-transitory computer-readable medium stores instructions that, when executed by a processor, cause the processor to perform operations including those described in the method and techniques described herein. For example, the operations may include receiving a first image frame and a second image frame. The operations may also include determining a third image frame based on the first image frame and the second image frame by applying temporal filtering to combine the first image frame and the second image frame. The temporal filtering may include, for some pixels (e.g., a "first plurality of pixels"), determining a pixel of the third image frame as a combination of a corresponding pixel of the first image frame and the second image frame. The temporal filtering may include, for other pixels (e.g., a "second plurality of pixels"), resetting the temporal filter by determining a pixel of the third image frame based on the first image frame and not based on the second image frame. The reset may eliminate the contribution to the third image frame from previous image frames, and instead the pixel of the third image frame may be based only on the current image frame. This resetting of certain pixels of the third image frame may reduce the presence of ghosts and other artifacts in the third image frame, thereby improving scene integrity, producing a more accurate representation of the scene, and producing a higher quality photograph or video for the user.BRIEF DESCRIPTION OF THE DRAWINGS

[0022] A further understanding of the nature and advantages of the present disclosure may be realized by reference to the following drawings. In the appended figures, similar components or features may have the same reference label. Further, various components of the same type may be distinguished by following the reference label by a dash and a second label that distinguishes among the similar components. If just the first reference label is used in the specification, the description is applicable to any one of the similar components having the same first reference label irrespective of the second reference label. FIG. 1 is a block diagram of a computing device configured to perform one or more of the example techniques described in embodiments this disclosure. FIG. 2 is a flow chart illustrating a method of temporally filtering image frames with resetting of the temporal filtering according to some embodiments of the disclosure. FIG. 3 is a block diagram illustrating an implementation of temporal filtering using an infinite impulse response (IIR) filter with resetting of the filter in some pixels according to some embodiments of the disclosure. FIG. 4 is a block diagram illustrating an implementation of reset logic for an infinite impulse response (IIR) filter according to some embodiments of the disclosure. FIG. 5 is a flow chart illustrating a method of temporally filtering image frames with random resetting of the temporal filtering as described in some embodiments of the disclosure. FIG. 6 is a flow chart illustrating a method of temporally filtering image frames with the resetting determined based on characteristics of the pixels according to some embodiments of the disclosure. FIG. 7 is a block diagram illustrating weights for pixels of an image frame for the random resetting of a temporal filter according to some embodiments of the disclosure. FIG. 8 is a flow chart illustrating a method of determining a probability for resetting temporal filtering for a pixel of an image frame based on a confidence level according to some embodiments of the disclosure. FIG. 9 is a graph illustrating a method of determining a probability for resetting temporal filtering for a pixel of an image frame based on a temporal different metric according to some embodiments of the disclosure.

[0023] Like reference numbers and designations in the various drawings indicate like elements.DETAILED DESCRIPTION

[0024] The detailed description set forth below, in connection with the appended drawings, is intended as a description of various configurations and is not intended to limit the scope of the disclosure. Rather, the detailed description includes specific details for the purpose of providing a thorough understanding of the inventive subject matter. It will be apparent to those skilled in the art that these specific details are not required in every case and that, in some instances, well-known structures and components are shown in block diagram form for clarity of presentation.

[0025] The present disclosure provides systems, apparatus, methods, and computer-readable media that support image processing of captured image frames for photography and video, and in particular the temporal filtering of image frames to reduce ghosting and improve the integrity of scene in its representation in the image frame. Particular implementations of the subject matter described in this disclosure may be implemented to realize potential advantages or benefits, such as improved image quality by reducing artifacts in sequences of image frames obtained in, for example, low light scenes. The systems, apparatus, methods, and computer-readable media may be embedded in image capture devices, such as mobile phones, tablet computing devices, laptop computing devices, other computing devices, or digital cameras.

[0026] An example device for capturing image frames using one or more image sensors, such as a smartphone, may include a configuration of two, three, four, or more cameras on a backside (e.g., a side opposite a user display) or a front side (e.g., a same side as a user display) of the device. Devices with multiple image sensors include one or more image signal processors (ISPs), Computer Vision Processors (CVPs), or other suitable circuitry for processing images captured by the image sensors. The one or more image signal processors may provide processed image frames to a memory and / or a processor (such as an application processor, an image front end (IFE), an image processing engine (IPE), or other suitable processing circuitry) for further processing, such as for encoding, storage, transmission, or other manipulation.

[0027] As used herein, image sensor may refer to the image sensor itself and any certain other components coupled to the image sensor used to generate an image frame for processing by the image signal processor or other logic circuitry or storage in memory, whether a short-term buffer or longer-term non-volatile memory. For example, an image sensor may include other components of a camera, including a shutter, buffer, or other readout circuitry for accessing individual pixels of an image sensor. The image sensor may further refer to an analog front end or other circuitry for converting analog signals to digital representations for the image frame that are provided to digital circuitry coupled to the image sensor.

[0028] In the following description, numerous specific details are set forth, such as examples of specific components, circuits, and processes to provide a thorough understanding of the present disclosure. The term "coupled" as used herein means connected directly to or connected through one or more intervening components or circuits. Also, in the following description and for purposes of explanation, specific nomenclature is set forth to provide a thorough understanding of the present disclosure. However, it will be apparent to one skilled in the art that these specific details may not be required to practice the teachings disclosed herein. In other instances, well known circuits and devices are shown in block diagram form to avoid obscuring teachings of the present disclosure.

[0029] Some portions of the detailed descriptions which follow are presented in terms of procedures, logic blocks, processing, and other symbolic representations of operations on data bits within a computer memory. In the present disclosure, a procedure, logic block, process, or the like, is conceived to be a self-consistent sequence of steps or instructions leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, although not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated in a computer system.

[0030] In the figures, a single block may be described as performing a function or functions. The function or functions performed by that block may be performed in a single component or across multiple components, and / or may be performed using hardware, software, or a combination of hardware and software. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps are described below generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure. Also, the example devices may include components other than those shown, including well-known components such as a processor, memory, and the like.

[0031] Aspects of the present disclosure are applicable to any suitable electronic device including or coupled to two or more image sensors capable of capturing image frames (or "frames"). Further, aspects of the present disclosure may be implemented in devices having or coupled to image sensors of the same or different capabilities and characteristics (such as resolution, shutter speed, sensor type, and so on). Further, aspects of the present disclosure may be implemented in devices for processing image frames, whether or not the device includes or is coupled to the image sensors, such as processing devices that may retrieve stored images for processing, including processing devices present in a cloud computing system.

[0032] Unless specifically stated otherwise as apparent from the following discussions, it is appreciated that throughout the present application, discussions utilizing the terms such as "accessing," "receiving," "sending," "using," "selecting," "determining," "normalizing," "multiplying," "averaging," "monitoring," "comparing," "applying," "updating," "measuring," "deriving," "settling," "generating" or the like, refer to the actions and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system's registers, memories, or other such information storage, transmission, or display devices.

[0033] The terms "device" and "apparatus" are not limited to one or a specific number of physical objects (such as one smartphone, one camera controller, one processing system, and so on). As used herein, a device may be any electronic device with one or more parts that may implement at least some portions of the disclosure. While the below description and examples use the term "device" to describe various aspects of the disclosure, the term "device" is not limited to a specific configuration, type, or number of objects. As used herein, an apparatus may include a device or a portion of the device for performing the described operations.

[0034] Figure 1 shows a block diagram of an example device 100 for performing image capture from one or more image sensors. The device 100 may include, or otherwise be coupled to, an image signal processor 112 for processing image frames from one or more image sensors, such as a first image sensor 101, a second image sensor 102, and a depth sensor 140. In some implementations, the device 100 also includes or is coupled to a processor 104 and a memory 106 storing instructions 108. The device 100 may also include or be coupled to a display 114 and a number of input / output (I / O) components 116, such as a touch screen interface and / or physical buttons. The device 100 may further include or be coupled to a power supply 118 for the device 100, such as a battery or a component to couple the device 100 to an energy source. The device 100 may also include or be coupled to additional features or components that are not shown in Figure 1. In one example, a wireless interface, which may include a number of transceivers and a baseband processor, may be included for a wireless communication device. In a further example, an analog front end (AFE) to convert analog image frame data to digital image frame data may be coupled between the image sensors 101 and 102 and the image signal processor 112.

[0035] The device may include or be coupled to a sensor hub 150 for interfacing with sensors to receive data regarding movement of the device 100, data regarding an environment around the device 100, and / or other non-camera sensor data. Such non-camera sensors may be integrated in the device 100 in some embodiments. One example non-camera sensor is a gyroscope, a device configured for measuring rotation, orientation, and / or angular velocity to generate motion data. Another example non-camera sensor is an accelerometer, a device configured for measuring acceleration, which may also be used to determine velocity and distance traveled by appropriately integrating the measured acceleration, and one or more of the acceleration, velocity, and or distance may be included in generated motion data. In some aspects, a gyroscope in an electronic image stabilization system (EIS) may be coupled to the sensor hub or coupled directly to the image signal processor 112. In another example, a non-camera sensor may be a global positioning system (GPS) receiver.

[0036] The image signal processor 112 may receive image data, such as used to form image frames. In one embodiment, a local bus connection couples the image signal processor 112 to image sensors 101 and 102 of a first and second camera, respectively. In another embodiment, a wire interface couples the image signal processor 112 to an external image sensor. In a further embodiment, a wireless interface couples the image signal processor 112 to the image sensor 101, 102.

[0037] The first camera may include the first image sensor 101 and a corresponding first lens 131. The second camera may include the second image sensor 102 and a corresponding second lens 132. Each of the lenses 131 and 132 may have associated autofocus (AF) systems 133 and 134, respectively, which adjust the lenses 131 and 132 to focus on a particular focal plane at a certain scene depth from the image sensors 101 and 102. The AF systems 133 and 134 may be assisted by depth sensor 140. The focus depth of the AF systems 133 and 134 may provide depth information regarding the image scene to other components of the device 100, such as the ISP 112, through metadata associated with the image frames captured by the image sensors 101 and 102. The device 100 may perform image processing on the image data from a combination of image sensors located within the device 100 or separate from the device 100.

[0038] The first image sensor 101 and the second image sensor 102 are configured to capture one or more image frames. Lenses 131 and 132 focus light at the image sensors 101 and 102, respectively, through one or more apertures for receiving light, one or more shutters for blocking light when outside an exposure window, one or more color filter arrays (CFAs) for filtering light outside of specific frequency ranges, one or more analog front ends for converting analog measurements to digital information, and / or other suitable components for imaging. The first lens 131 and second lens 132 may have different field of views to capture different representations of a scene. For example, the first lens 131 may be an ultra-wide (UW) lens and the second lens 132 may be a wide (W) lens. The multiple image sensors may include a combination of ultra-wide (high field-of-view (FOV)), wide, tele, and ultra-tele (low FOV) sensors. That is, each image sensor may be configured through hardware configuration and / or software settings to obtain different, but overlapping, field of views. In one configuration, the image sensors are configured with different lenses with different magnification ratios that result in different fields of view. The sensors may be configured such that a UW sensor has a larger FOV than a W sensor, which has a larger FOV than a T sensor, which has a larger FOV than a UT sensor. For example, a sensor configured for wide FOV may capture fields of view in the range of 64-84 degrees, a sensor configured for ultra-side FOV may capture fields of view in the range of 100-140 degrees, a sensor configured for tele FOV may capture fields of view in the range of 10-30 degrees, and a sensor configured for ultra-tele FOV may capture fields of view in the range of 1-8 degrees.

[0039] The image signal processor 112 processes image frames captured by the image sensors 101 and 102. While Figure 1 illustrates the device 100 as including two image sensors 101 and 102 coupled to the image signal processor 112, any number (e.g., one, two, three, four, five, six, etc.) of image sensors may be coupled to the image signal processor 112. In some aspects, depth sensors such as depth sensor 140 may be coupled to the image signal processor 112 and output from the depth sensors processed in a similar manner to that of image sensors 101 and 102. In addition, any number of additional image sensors or image signal processors may exist for the device 100. In some embodiments, the image signal processor 112 may execute instructions from a memory, such as instructions 108 from the memory 106, instructions stored in a separate memory coupled to or included in the image signal processor 112, or instructions provided by the processor 104. In addition, or in the alternative, the image signal processor 112 may include specific hardware (such as one or more integrated circuits (ICs)) configured to perform one or more operations described in the present disclosure. For example, the image signal processor 112 may include circuitry specifically configured to temporally filter two or more image frames, circuitry specifically configured to implement an infinite impulse response (IIR) filter, and / or circuitry specifically configured to apply motion compensation to an image frame.

[0040] In some implementations, the memory 106 may include a non-transient or non-transitory computer readable medium storing computer-executable instructions 108 to perform all or a portion of one or more operations described in this disclosure. In some implementations, the instructions 108 include a camera application (or other suitable application) to be executed by the device 100 for generating images or videos. The instructions 108 may also include other applications or programs executed by the device 100, such as an operating system and specific applications other than for image or video generation. Execution of the camera application, such as by the processor 104, may cause the device 100 to generate images using the image sensors 101 and 102 and the image signal processor 112. The memory 106 may also be accessed by the image signal processor 112 to store processed frames or may be accessed by the processor 104 to obtain the processed frames. In some embodiments, the device 100 does not include the memory 106. For example, the device 100 may be a circuit including the image signal processor 112, and the memory may be outside the device 100. The device 100 may be coupled to an external memory and configured to access the memory for writing output frames for display or long-term storage. In some embodiments, the device 100 is a system on chip (SoC) that incorporates the image signal processor 112, the processor 104, the sensor hub 150, the memory 106, and input / output components 116 into a single package.

[0041] In some embodiments, at least one of the image signal processor 112 or the processor 104 executes instructions to perform various operations described herein, including the combining operations of temporal filtering. For example, execution of the instructions can instruct the image signal processor 112 to begin or end capturing an image frame or a sequence of image frames, in which the capture includes temporal filtering as described in embodiments herein. In some embodiments, the processor 104 may include one or more general-purpose processors capable of executing scripts or instructions of one or more software programs, such as instructions 108 stored within the memory 106. For example, the processor 104 may include one or more application processors configured to execute the camera application (or other suitable application for generating images or video) stored in the memory 106. In executing the camera application, the processor 104 may be configured to instruct the image signal processor 112 to perform one or more operations with reference to the image sensors 101 or 102. For example, the camera application may receive a capture command upon which a video comprising a sequence of image frames is captured and processed. Temporal filtering may be applied to one or more image frames in the sequence. The camera application may allow enabling and disabling the temporal filtering and / or configuring parameters of the temporal filtering, such as a number of image frames for combining in the temporal filtering, parameters for determining the application of temporal filtering, and / or an absolute or relative number of random resets to perform per image frame. Execution of instructions 108 outside of the camera application by the processor 104 may also cause the device 100 to perform any number of functions or operations. In some embodiments, the processor 104 may include ICs or other hardware in addition to the ability to execute software to cause the device 100 to perform a number of functions or operations, such as the operations described herein. In some other embodiments, the device 100 does not include the processor 104, such as when all of the described functionality is configured in the image signal processor 112.

[0042] In some embodiments, the display 114 may include one or more suitable displays or screens allowing for user interaction and / or to present items to the user, such as a preview of the image frames being captured by the image sensors 101 and 102. In some embodiments, the display 114 is a touch-sensitive display. The I / O components 116 may be or include any suitable mechanism, interface, or device to receive input (such as commands) from the user and to provide output to the user through the display 114. For example, the I / O components 116 may include (but are not limited to) a graphical user interface (GUI), a keyboard, a mouse, a microphone, speakers, a squeezable bezel, one or more buttons (such as a power button), a slider, a switch, and so on.

[0043] While shown to be coupled to each other via the processor 104, components (such as the processor 104, the memory 106, the image signal processor 112, the display 114, and the I / O components 116) may be coupled to each another in other various arrangements, such as via one or more local buses, which are not shown for simplicity. While the image signal processor 112 is illustrated as separate from the processor 104, the image signal processor 112 may be a core of a processor 104 that is an application processor unit (APU), included in a system on chip (SoC), or otherwise included with the processor 104. While the device 100 is referred to in the examples herein for performing aspects of the present disclosure, some device components may not be shown in Figure 1 to prevent obscuring aspects of the present disclosure. Additionally, other components, numbers of components, or combinations of components may be included in a suitable device for performing aspects of the present disclosure. As such, the present disclosure is not limited to a specific device or configuration of components, including the device 100.

[0044] When temporal filtering is enabled, conditions may exist that create artifacts in the output image frame. For example, objects that move or disappear from the scene can remain in the temporally-filtered output for a long time due to the temporally-filtered image being based on previous image frames that included the object. These lingering objects in the display are sometimes referred to as "ghosts" due to the object appearing in the image despite the object having left the scene. Ghosts may also appear under other circumstances such as when temporal filtering low contrast (e.g., SNR < 1) images. The effects of ghosting can be more pronounced when more aggressive temporal filtering is applied. Any of these artifacts results in scene integrity issues with the output image frame that reduces the accuracy of the scene representation and decreases the user experience. Shortcomings mentioned here are only representative and are included to highlight problems that the inventors have identified with respect to existing devices and sought to improve upon. Aspects of devices described below may address some or all of the shortcomings as well as others known in the art. Aspects of the improved devices described herein may present other benefits than, and be used in other applications than, those described above.

[0045] In one aspect of a device 100, image frames captured from one or more of the image sensors 101 and 102 may be modified, such as with temporal filtering with the reset for certain pixels of the image frame. For example, a first image frame from a first image sensor may be temporally filtered by combining portions of the first image frame with portions of a second image frame received from the first sensor or a different second sensor. Temporal filtering with pixel resetting is described in different embodiments with reference to aspects of Figure 2, Figure 3, Figure 4, Figure 5, Figure 6, Figure 7, and / or Figure 8.

[0046] Figure 2 is a flow chart illustrating a method of temporally filtering image frames with resetting of the temporal filtering as described in some embodiments of the disclosure. A method 200 for image processing includes, at block 202, receiving a first image frame and a second image frame. In some embodiments, the first and second image frames may be received from memory. In some embodiments, the first image frame may be received from an image sensor and the second image frame may be received from memory. In some embodiments, the first and second image frame may be received from the same or different image sensors. In some embodiments, the first image frame is an image frame received from a memory or image sensor and the second image frame is an output of the temporal filtering of block 204. Although only a first and a second image frame are described as received at block 202, additional image frames may be received at block 202 and used in the temporal filtering of block 204.

[0047] At block 204, the method 200 includes determining a third image frame (the "temporally-filtered" image frame) based on the first image frame and the second image frame by applying temporal filtering to combine the first image frame and the second image frame. The third image frame may be output to memory for storage as a photograph, may be output to memory for use in a sequence of image frames for storage as a video, may be displayed on a display device, may be transmitted to a remote viewer, may be transmitted to a remote storage device, and / or may be transmitted in real-time to a remote display.

[0048] The reset of the temporal filtering of block 204 may include performing different processing on pixels of the third image frame. Certain pixels of the third image frame (e.g., "third plurality of pixels") may be determined based on a result of temporal filtering using the first image frame and the second image frame of block 202. These pixels may be all of or a subset of all pixels in the third image frame (e.g., "fourth plurality of pixels"). Some of the third plurality of pixels that are to be determined using temporal filtering may be reset to improve image quality by, for example, reducing ghosting. This splits the third plurality of pixels determined to a first plurality of pixels determined by combining corresponding pixels of the first image frame with the second image frame and to a second plurality of pixels determined based on corresponding pixels of the first image frame without reference to corresponding pixels of the second image frame based on the second plurality of pixels being reset. Corresponding pixels of the first and second image frame may refer to pixels at the same position relative to the image frame or pixels at the same position relative to the scene. The reset of the second plurality of pixels may eliminate or reduce the contribution to the third image frame from previous image frames such as the second image frame. Instead, the second plurality of pixels may be based only on the first (or "current") image frame. This resetting of certain pixels of the third image frame may reduce the presence of ghosts and other artifacts in the third image frame, thereby improving scene integrity. One or more criteria may be used to determine a selection of pixels to be processed as the first plurality of pixels and to determine a selection of pixels to be processed as the second plurality of pixels. These one or more criteria may affect a probability of certain pixels being selected for inclusion in the second plurality of pixels for which the temporal filtering is reset, such that the second plurality of pixels is probabilistically selected. For example, pixels may be determined randomly such that at least a certain percentage or certain number of pixels are reset in each temporally filtered image frame.

[0049] The resetting of some pixels during temporal filtering in some embodiments is illustrated in Figure 3. Figure 3 is a block diagram illustrating an implementation of temporal filtering using an infinite impulse response (IIR) filter with resetting of the filter in some pixels according to some embodiments of the disclosure. An image sensor 101 may generate a current image frame 302 that is input to temporal filter 310. The temporal filter 310 also receives a previous image frame 304. The previous image frame 304 may be a feedback from the output of the temporal filter 310 for an infinite impulse response (IIR) filter. The previous image frame 304 may alternatively, in other embodiments of the temporal filter 310, be an image frame captured by the image sensor 101 or another image sensor prior to the capture of the current image frame 302. The temporal filter 310 may determine an output image frame 306 by modifying pixels of the current image frame 302 by combining certain pixels of the current image frame 302 with corresponding pixels of the previous image frame 304.

[0050] Some pixels 312 may be reset in the combining of the image frames 302 and 304 in the temporal filter 310 by reducing or eliminating the contribution of image frame 304 to the output image frame 306. For example, the pixels 312 may be randomly selected and reset such that the pixels 312 are based on the corresponding pixels of the image frame 302 without being based on the corresponding pixels of the previous image frame 304. The location of pixels 312 within the output image frame 306 may be randomized within and between output image frames such that the reset pixels change from one output image frame to another output image frame. The location of the random pixels 312 within an output image frame may be weighted based on characteristics of the pixels, regions around the pixels, and / or the image frame as a whole. Likewise, the number of random pixels 312 within an output image frame may vary from one frame to the next based on characteristics of pixels, regions of pixels, the image frame as a whole, or other parameters measured by other sensors of the image capture device. In some embodiments, gyroscope and / or accelerometer data corresponding to an image frame (e.g., collected during the capture of the image frame) may be used to determine a static camera (e.g., a camera mounted on a tripod) and based on the determination decrease probability of resets or decrease the amount of reset pixels in each frame.

[0051] The temporal filter processing involving combining and resetting is described in more detail with reference to Figure 4. Figure 4 is a block diagram illustrating an implementation of reset logic for an infinite impulse response (IIR) filter according to some embodiments of the disclosure. The temporal filter 310 receives the current image frame 302 and the previous image frame 304. The temporal filter 310 may modify the current image frame 302 on a pixel-by-pixel basis. A combiner 406 may combine one pixel of the current image frame 302 with a corresponding pixel of the previous image frame 304. The combining may include, for example, averaging the intensity values of the corresponding pixels of the current image frame 302 and the previous image frame 304. The combiner 406 may perform a weighted averaging of the corresponding pixels using a weight value provided by weight block 404. The weight block 404 may determine a weighting of the corresponding pixel in the previous image frame 304 based on a motion factor determined from the spatial movement of a scene from the current image frame 302 to the previous image frame 304. Reset logic 402 may determine certain pixels for resetting and cause the weight block 404 to output a zero weight to the combiner 406 for resetting a pixel, which cancels the contribution of the previous image frame 304 to the output image frame 306 for that pixel. Although pixel-by-pixel operations are described, the operations may alternatively be performed on groups of pixels in the image frame, regions of the image frame, or objects in the image frame.

[0052] In one embodiment, the reset logic 402 may randomly select pixels for resetting such that the temporal filter 310 operates according to the method shown in Figure 5. Figure 5 is a flow chart illustrating a method of temporally filtering image frames with random resetting of the temporal filtering as described in some embodiments of the disclosure. A method 500 begins at block 502 with receiving a first image frame (e.g., the current image frame 302) and a second image frame (e.g., the previous image frame 304). At block 504, the method 500 includes determining a third image frame by temporally filtering the first image frame and the second image frame, in which the temporal filtering for some pixels of the third image frame are randomly reset. The third image frame determined at block 504 may be displayed to a user and / or stored as a photograph or a frame in a video sequence.

[0053] In another embodiment, the reset logic 402 may determine particular pixels to reset based on reset weighting values that cause certain pixels to be more likely to be reset than other pixels. The reset weighting values may be determined based on characteristics of the pixel in the image frame, area around the pixel in the image frame, or other characteristics. Certain pixels may be determined, based on these characteristics, to be more beneficial to reset than other pixels based on, for example, whether a corresponding portion of the image frame is static, that is relatively unchanged over time, or dynamic, that is rapidly changing over time. In some embodiments, the random probability for a particular pixel may be reduced to zero to prevent a pixel from being reset or increased to one to force a pixel reset. Figure 6 is a flow chart illustrating a method of temporally filtering image frames with the resetting determined based on characteristics of the pixels according to some embodiments of the disclosure. A method 600 begins at block 602 with receiving a first image frame and a second image frame. At block 604, a third image frame is determined by temporally filtering the first image frame and the second image frame, in which the temporal filtering for some pixels of the third image frame are reset based on characteristics of the pixels.

[0054] One example characteristic of a pixel for adjusting a reset weighting value is whether that pixel is associated with an object. Object detection, such as through an object detection algorithm executing in a computer vision (CV) processor, may be performed on the first or the second image frame to identify objects, such as faces, trees, roads, animals, plants, surfaces, etc. Pixels may be associated with the objects and the reset weighting values for pixels corresponding to the object adjusted together. For example, reset weighting values may be zeroes, to prevent resetting, based on an identification of a static object (e.g., a tree) in pixels corresponding to that region of the image frame. Alternatively or additionally, motion vectors for the pixels may be correlated to identify objects in the image frame. Neighboring pixels with similar motion vectors may be associated such that the reset weighting values for the pixels with similar motion vectors are adjusted together.

[0055] A further example characteristic of a pixel for adjusting a reset weighting value is a motion factor associated with the pixel. The motion factor may indicate a spatial difference and / or a temporal difference. For example, a rapidly moving object may have a high temporal difference because the object is in significantly different locations between the first image frame and the second image frame. Objects that are rapidly moving may be more likely to create ghosting or other artifacts, and the reset weighting values for pixels associated with high temporal movement may be randomly reset more often by increasing the reset weighting value. In some embodiments, a motion factor for a pixel may be determined based on a motion vector for the pixel. The magnitude of the motion vector may be used as a motion factor for the pixel, and the reset weighting value corresponding to the pixel adjusted based on the motion vector magnitude.

[0056] Another example characteristic of a pixel for the determination of block 604 is the confidence level associated with a temporal filtering decision for the pixel. A decision regarding whether to apply temporal filtering to a certain pixel can be based on a rule with one or more criteria. The temporal filtering decision may be based on determining whether the pixel corresponds to a static region or a dynamic region of the image. A static region may be determined based on whether a temporal difference between image frames is below a certain threshold, which may correspond to an expected temporal noise in the image frame. A confidence level may be determined regarding the temporal filtering decision for a pixel, and that confidence level used to determine, in part, whether to reset a pixel during temporal filtering processing. The confidence level reflects the likelihood of the determination of the pixel being static or dynamic being correct, or more generically the likelihood of the determination to apply or not apply the temporal filter is correct. The confidence level may be determined based on the signal-to-noise ratio (SNR) and local contrast in the region of the pixel. For example, a high local contrast indicating neighboring pixels are very different indicates a strong texture that is unlikely to be noise in the image frame. A high confidence level may be set for pixels with a combination of high spatial difference and low temporal difference. A low confidence level may be set for pixels with low spatial different and high temporal difference.

[0057] For a pixel in which a confidence level is high regarding a temporal filtering decision, the rate of pixel resets may be reduced, or no resets performed. In some embodiments, the rate of pixel resets can be adjusted proportionally with the confidence level. For example, no pixel resets may be performed in a region in which a confidence level for pixels in the region is above a high threshold, while a low rate of resets (e.g., 1 in 20 pixels) may be performed in a region in which a confidence level for pixels in the region is above a middle threshold and a normal rate of resets (e.g., 1 in 10 pixels) may be performed in a region in which a confidence level is below the middle threshold. The confidence level of a temporal filtering decision may be based on one or more criteria. For example, a high confidence level may be associated with having a sufficiently high signal-to-noise ratio (SNR) in a region of the image. In another example, a high confidence level may be associated with detecting a presence of a strong texture in a region of the image and, at the same time, a low temporal difference between the pixel in the image frames being input to the temporal filter. Other factors for determining the confidence level include a brightness, a spatial difference, and / or a temporal difference.

[0058] The resetting of pixels may be based on reset weighting values, in which the likelihood of any particular pixel being randomly reset is based on a weighting for the particular pixel. A reset weighting map may be determined for each image frame modified by the temporal filter, and the weighting map applied during the determination of random pixels for resetting. Such a reset weighting map may include an array of values ranging from zero to one corresponding to each pixel, in which zero represents no chance of reset for the corresponding pixel and in which one represents a guaranteed reset for the corresponding pixel. The reset weighting map may be initialized with equal values, such as a value of 0.50, for all pixels, such that each pixel is equally likely to be randomly reset by the temporal filter. The reset weighting map may be used in combination with other parameters such that a random function executed for each pixel of an image frame results in a desired average number of pixels being reset in an image frame. An example reset weighting map is shown in Figure 7.

[0059] Figure 7 is a block diagram illustrating weights for pixels of an image frame for the random resetting of a temporal filter according to some embodiments of the disclosure. A table 700 includes reset weighting values to modify the probability of certain pixels within an input image frame being reset during application of temporal filtering. In some embodiments, the table 700 may have a 1:1 correlation between values and pixels of the image frame, such that the table 700 is the same in dimensions as the resolution of the input image. When a pixel is reset, the value of the table 700 corresponding to the pixel may be reduced to prevent the pixel from being reset too often. In some embodiments, the table 700 may have a N:1 correlation between values and the pixels of the image frame, such that the table 700 is smaller than the resolution of the input image. A region 702 with zero values may correspond to a detected object that is static in nature, such that temporal filtering resets are not performed for pixels associated with the detected object.

[0060] Figure 8 is a flow chart illustrating a method of determining reset weighting values for a pixel of an image frame based on a confidence level according to some embodiments of the disclosure. A method 800 begins at block 802 with determining whether to apply temporal filtering (TF) to a pixel. A confidence level may be associated with the TF decision. If the confidence level for the TF decision is greater than a threshold at block 804, the method 800 continues to set a low probability of resetting the pixel corresponding to the TF decision at block 808. If the confidence level for the TF decision is less than a threshold at block 804, the method 800 continues to set a high probability of resetting the pixel corresponding to the TF decision at block 806. For example, block 806 may set certain pixels to have a reset probability of 0.7 (a first probability value), whereas block 808 may set certain pixels to have a reset probability of 0.3 (a second probability value). In some embodiments, the probabilities value for a pixel may be modified based on other factors, such as whether the pixel was reset in one of N previous frames or how many times the pixel was reset in M previous frames. Additionally or alternatively, the probability value may be increased or decreased over time by basing the reset weighting map for a future (e.g., next) image frame based on the reset weighting map for a current or previous image frame. The method 800 may be applied to pixels of an image frame to generate a reset weighting map, such as shown in Figure 7, and applied during the temporal filtering method of Figure 6.

[0061] The determination of a pixel reset in the temporal filtering of Figure 6 may also be based on other characteristics. Figure 9 is a graph illustrating a method of determining a probability for resetting temporal filtering for a pixel of an image frame based on a temporal difference metric according to some embodiments of the disclosure. A graph 900 illustrates temporal difference metric values on the y-axis against brightness values on the x-axis. The temporal difference metric reflects a difference in value for a pixel and / or a region around the pixel from one image frame to the next image frame, or another value that reflects the dynamicity, or rate of change, of the pixel's value over time. More dynamic pixels are more likely to create artifacts and may be reset more often, such as by having higher reset weighting values, to improve the quality of the temporal filtering. The temporal difference metric and brightness values for a pixel may fall above a first threshold 902, below the first threshold 902 but above the second threshold 904, or below the second threshold 904. The relation of the pixel's characteristics to the thresholds 902 and 904 may be used to adjust a reset weighting map such as shown in Figure 7. A pixel that has characteristic values above the first threshold 902 in the x-y space of the graph 900 may be set to be reset frequently, such as by increasing the reset weighting values perhaps as high as one. A pixel that has characteristic values below the second threshold 904 may be set to never reset, such as by setting reset weighting values to zero. A pixel that has characteristic values between the thresholds 902 and 904 may have a weighting applied to the combining of image frames in the temporal filter such that pixels closer to the threshold 902 have larger contributions from the current image frame than the previous image frame.

[0062] Those of skill in the art would understand that information and signals may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips that may be referenced throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.

[0063] Components, the functional blocks, and the modules described herein with respect to Figure 1, Figure 3, and Figure 4 include processors, electronics devices, hardware devices, electronics components, logical circuits, memories, software codes, firmware codes, among other examples, or any combination thereof. In addition, features discussed herein may be implemented via specialized processor circuitry, via executable instructions, or combinations thereof.

[0064] Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure. Skilled artisans will also readily recognize that the order or combination of components, methods, or interactions that are described herein are merely examples and that the components, methods, or interactions of the various aspects of the present disclosure may be combined or performed in ways other than those illustrated and described herein.

[0065] The various illustrative logics, logical blocks, modules, circuits and algorithm processes described in connection with the implementations disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. The interchangeability of hardware and software has been described generally, in terms of functionality, and illustrated in the various illustrative components, blocks, modules, circuits and processes described above. Whether such functionality is implemented in hardware or software depends upon the particular application and design constraints imposed on the overall system.

[0066] The hardware and data processing apparatus used to implement the various illustrative logics, logical blocks, modules and circuits described in connection with the aspects disclosed herein may be implemented or performed with a general purpose single- or multi-chip processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general-purpose processor may be a microprocessor, or, any conventional processor, controller, microcontroller, or state machine. In some implementations, a processor may be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration. In some implementations, particular processes and methods may be performed by circuitry that is specific to a given function.

[0067] In one or more aspects, the functions described may be implemented in hardware, digital electronic circuitry, computer software, firmware, including the structures disclosed in this specification and their structural equivalents thereof, or in any combination thereof. Implementations of the subject matter described in this specification also may be implemented as one or more computer programs, that is one or more modules of computer program instructions, encoded on a computer storage media for execution by, or to control the operation of, data processing apparatus.

[0068] If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. The processes of a method or algorithm disclosed herein may be implemented in a processor-executable software module which may reside on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that may be enabled to transfer a computer program from one place to another. A storage media may be any available media that may be accessed by a computer. By way of example, and not limitation, such computer-readable media may include random-access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that may be used to store desired program code in the form of instructions or data structures and that may be accessed by a computer. Also, any connection may be properly termed a computer-readable medium. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media. Additionally, the operations of a method or algorithm may reside as one or any combination or set of codes and instructions on a machine readable medium and computer-readable medium, which may be incorporated into a computer program product.

[0069] As used herein, including in the claims, the term "or," when used in a list of two or more items, means that any one of the listed items may be employed by itself, or any combination of two or more of the listed items may be employed. For example, if a composition is described as containing components A, B, or C, the composition may contain A alone; B alone; C alone; A and B in combination; A and C in combination; B and C in combination; or A, B, and C in combination. Also, as used herein, including in the claims, "or" as used in a list of items prefaced by "at least one of" indicates a disjunctive list such that, for example, a list of "at least one of A, B, or C" means A or B or C or AB or AC or BC or ABC (that is A and B and C) or any of these in any combination thereof. The term "substantially" is defined as largely but not necessarily wholly what is specified (and includes what is specified; for example, substantially 90 degrees includes 90 degrees and substantially parallel includes parallel), as understood by a person of ordinary skill in the art. In any disclosed implementations, the term "substantially" may be substituted with "within [a percentage] of" what is specified, where the percentage includes .1, 1, 5, or 10 percent.

Claims

1. A method (200, 500, 600), comprising: receiving (202, 502, 602) a first image frame and a second image frame that is temporally prior to the first image frame; and determining (204, 504, 604) a third image frame based on the first image frame and the second image frame, wherein the determining comprises: determining to apply temporal filtering to a first plurality of pixels and to a second plurality of pixels within a third plurality of pixels of the third image frame; determining the first plurality of pixels using temporal filtering by combining corresponding pixels of the first image frame with the second image frame; and determining the second plurality of pixels based on corresponding pixels of the first image frame without reference to corresponding pixels of the second image frame.

2. The method of claim 1, further comprising determining a reset weighting map, wherein the second plurality of pixels are selected probabilistically based on the reset weighting map.

3. The method of claim 2, wherein determining the third image frame further comprises: determining confidence levels associated with the determining to apply temporal filtering to the first plurality of pixels and the second plurality of pixels, wherein the determining of the reset weighting map is based on the confidence levels.

4. The method of claim 2, further comprising determining motion factors corresponding to spatial movement of pixels in the first image frame from the second image frame to the first image frame, wherein the reset weighting map is based on the motion factors.

5. The method of claim 4, wherein determining the motion factors comprises determining motion vectors between the second image frame and the first image frame, wherein the reset weighting map is based on the motion vectors.

6. The method of claim 2, wherein determining the reset weighting map comprises determining a first location of an object in the first image frame, wherein the reset weighting map is based on the first location of the object.

7. The method of claim 1, wherein the second plurality of pixels are randomly selected pixels of the third plurality of pixels.

8. A device (100), comprising: a processor (104); and a memory (106) coupled to the processor and storing instructions that, when executed by the processor, cause the device to perform operations comprising: receiving a first image frame and a second image frame that is temporally prior to the first image frame; and determining a third image frame based on the first image frame and the second image frame, wherein the determining comprises: determining to apply temporal filtering to a first plurality of pixels and to a second plurality of pixels within a third plurality of pixels of the third image frame; determining the first plurality of pixels using temporal filtering by combining corresponding pixels of the first image frame with the second image frame; and determining the second plurality of pixels based on corresponding pixels of the first image frame without reference to corresponding pixels of the second image frame.

9. The device of claim 8, wherein the instructions, when executed by the processor, cause the device to perform further operations comprising determining a reset weighting map, wherein the second plurality of pixels are selected probabilistically based on the reset weighting map.

10. The device of claim 9, wherein determining the third image frame further comprises: determining confidence levels associated with the determining to apply temporal filtering to the first plurality of pixels and the second plurality of pixels, wherein the determining of the reset weighting map is based on the confidence levels.

11. The device of claim 10, wherein the instructions, when executed by the processor, cause the device to perform further operations comprising determining motion factors corresponding to spatial movement of pixels in the first image frame from the second image frame to the first image frame, wherein the reset weighting map is based on the motion factors.

12. The device of claim 11, wherein determining the motion factors comprises determining motion vectors between the second image frame and the first image frame, wherein the reset weighting map is based on the motion vectors.

13. The device of claim 9, wherein determining the reset weighting map comprises: determining a first location of an object in the first image frame, wherein the reset weighting map is based on the first location of the object.

14. The device of claim 8, further comprising a first image sensor, wherein the processor is coupled to the first image sensor.

15. A non-transitory computer-readable medium (106) storing instructions that, when executed by a processor (104) of a device (100), cause the device to perform operations comprising: receiving a first image frame and a second image frame that is temporally prior than the first image frame; and determining a third image frame based on the first image frame and the second image frame, wherein the determining comprises: determining to apply temporal filtering to a first plurality of pixels and to a second plurality of pixels within a third plurality of pixels of the third image frame; determining the first plurality of pixels using temporal filtering by combining corresponding pixels of the first image frame with the second image frame; and determining a second plurality of pixels based on corresponding pixels of the first image frame without reference to corresponding pixels of the second image frame.