Automatic white balance (AWB) in variable aperture (VA) camera systems

By applying dynamic white balance technology in the image signal processor and adjusting channel sensitivity using compensation factors, the problem of inconsistent white balance of image capture devices under different aperture conditions is solved, and a more realistic and consistent image display effect is achieved.

CN118891889APending Publication Date: 2024-11-01QUALCOMM INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280093632.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-03-25
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

There is white balance inconsistency in the image data captured by existing image capture devices under different aperture conditions, resulting in unreal image appearance, especially when the aperture changes, the color shift is obvious, affecting the visual effect of the image.

Method used

By applying dynamic white balance (AWB) technology in an image signal processor, using compensation factors to adjust channel sensitivity, calculate white balance offset based on the previous first aperture and the current second aperture, and adjust image data in real time to reduce color offsets. , achieve a smoother white balance transformation.

Benefits of technology

Effectively reduces the appearance of unusual color shifts in images, provides a more realistic image appearance, and ensures the color consistency and authenticity of the image display when the aperture changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118891889A_ABST
    Figure CN118891889A_ABST
Patent Text Reader

Abstract

This disclosure provides systems, methods, and devices for image processing that support enhanced white balance operations. In a first aspect, a method of image processing includes receiving first image data obtained at a first aperture; determining a first output image frame based on the first image data by applying a first white balance to at least a portion of the first image data; receiving second image data obtained at a second aperture; and determining a second output image frame based on the second image data by applying a second white balance based on the first aperture and the second aperture to at least a portion of the second image data. The second white balance may be based on a first compensation factor based on the first aperture and the second aperture used to adjust the first white balance. Other aspects and features are also claimed and described.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Aspects of the present disclosure relate generally to image processing, and more particularly to automatic white balance. Some features may enable and provide improved image processing, including reducing the display of unintended colors when capturing images. Background Art

[0002] An image capture device is a device that can capture one or more digital images (whether still images for photographs or image sequences for videos). Capture devices can be incorporated into various devices. By way of example, image capture devices may include stand-alone digital cameras or digital video cameras, wireless communication devices equipped with cameras, such as mobile phones, cellular or satellite radio phones, personal digital assistants (PDAs), tablet or tablet devices, gaming devices, computer devices (such as webcams, video surveillance cameras), or other devices with digital imaging or video capabilities.

[0003] The human eye perceives color differently than an electronic image sensor. One configuration records separate red, green, and blue values ​​that represent a scene. The appearance of a scene, and in particular the color of objects in the scene, depends on the illumination source. Different illumination sources have different light colors, which can be observed by comparing an incandescent light bulb that outputs yellow-tinted white light to a light emitting diode (LED) that outputs blue-tinted white light. The human eye adapts to different light sources, while electronic image sensors typically capture light information identically in different scenes. As a result, the recorded colors from an electronic image sensor may not match the scene colors perceived by humans, such as when the human eye compensates for a yellow tint so that a white object appears white even when illuminated by an incandescent light bulb, while an electronic image sensor records white objects as yellow when illuminated by an incandescent light bulb. A white balance algorithm can be applied to the output of an electronic image sensor to compensate for different illumination sources, thereby improving the match between the electronic representation of the scene and the human-perceived appearance of the scene. Summary of the invention

[0004] The following summarizes some aspects of the present disclosure to provide a basic understanding of the discussed technology. This summary is not an exhaustive overview of all expected features of the present disclosure, and is neither intended to identify key or important elements of all aspects of the present disclosure, nor to delineate the scope of any or all aspects of the present disclosure. Its sole purpose is to present some concepts of one or more aspects of the present disclosure in a summarized form as a prelude to more specific embodiments presented later.

[0005] In a variable aperture (VA) camera, the channel sensitivity of the camera module (including the lens and sensor) may be different across different aperture settings. Dynamic WB compensation for a VA system may be based on the aperture size and the relationship between the first aperture and the second aperture. Dynamic WB compensation may include generating WB calibration factors for different apertures under different lighting conditions. Then, based on the lighting conditions and the aperture, the compensation factor may be determined by interpolation. The compensation factor for a given aperture and lighting scene condition may be used to determine the WB offset between apertures. The WB offset may be used to compensate for the channel sensitivity as the aperture changes.

[0006] In one aspect of the present disclosure, a method for image processing includes: receiving first image data obtained at a first aperture; determining a first output image frame based on the first image data by applying a first white balance to at least a portion of the first image data; receiving second image data obtained at a second aperture; and determining a second output image frame based on the second image data by applying a second white balance based on the first aperture and the second aperture to at least a portion of the second image data. In some embodiments, the second white balance operation is determined by: determining a first compensation factor based on the first aperture and the second aperture; and adjusting the first white balance by the first compensation factor to determine a second white balance, wherein determining the second output image frame is based on the second white balance.

[0007] In an additional aspect of the present disclosure, an apparatus includes at least one processor and a memory coupled to the at least one processor. The at least one processor is configured to perform operations including: receiving first image data obtained at a first aperture; determining a first output image frame based on the first image data by applying a first white balance to at least a portion of the first image data; receiving second image data obtained at a second aperture; and determining a second output image frame based on the second image data by applying a second white balance based on the first aperture and the second aperture to at least a portion of the second image data.

[0008] In an additional aspect of the present disclosure, an apparatus includes: a component for receiving first image data obtained at a first aperture; a component for determining a first output image frame based on the first image data by applying a first white balance to at least a portion of the first image data; a component for receiving second image data obtained at a second aperture; and a component for determining a second output image frame based on the second image data by applying a second white balance based on the first aperture and the second aperture to at least a portion of the second image data.

[0009] In an additional aspect of the present disclosure, a non-transitory computer-readable medium stores instructions that, when executed by a processor, cause the processor to perform operations. The operations include receiving first image data obtained at a first aperture; determining a first output image frame based on the first image data by applying a first white balance to at least a portion of the first image data; receiving second image data obtained at a second aperture; and determining a second output image frame based on the second image data by applying a second white balance based on the first aperture and the second aperture to at least a portion of the second image data.

[0010] Image capture devices (devices that can capture one or more digital images, whether still images, photographs or video sequences of images) can be incorporated into a variety of devices. By way of example, image capture devices may include stand-alone digital cameras or digital video cameras, camera-equipped wireless communication devices, cell phones (such as mobile phones, cellular or satellite radio phones), personal digital assistants (PDAs), tablet or tablet devices, gaming devices, computer devices (such as webcams, video surveillance cameras), or other devices with digital imaging or video capabilities.

[0011] In general, the present disclosure describes image processing techniques for digital cameras having image sensors and image signal processors (ISPs). The ISP may be configured to control the capture of image frames from one or more image sensors and process one or more image frames from the one or more image sensors to generate a view of a scene in a corrected image frame. The corrected image frame may be part of a sequence of image frames that forms a video sequence. A video sequence may include other image frames received from an image sensor or other image sensors and / or other corrected image frames based on inputs from an image sensor or another image sensor. In some embodiments, processing of one or more image frames may be performed within an image sensor, such as in a binning module. The image processing techniques described in the embodiments disclosed herein may be performed by circuits such as a binning module in an image sensor, in an image signal processor (ISP), in an application processor (AP), or in a combination of two or all of these components.

[0012] In one example, an image signal processor may receive instructions for capturing a sequence of image frames in response to loading of software (such as a camera application) to generate a preview display from an image capture device. The image signal processor may be configured to generate a single output frame stream based on image frames received from one or more image sensors. The single output frame stream may include raw image data from an image sensor, merged image data from an image sensor, or corrected image frames processed by one or more algorithms within the image signal processor (such as in a merging module). For example, image frames obtained from an image sensor (which may have performed some processing on the data before output to the image signal processor) may be processed in the image signal processor by processing the image frames through an image post-processing engine (IPE) and / or other image processing circuits for performing one or more of tone mapping, portrait lighting, contrast enhancement, gamma correction, etc.

[0013] After the image signal processor determines the output frames representing the scene using image correction (such as the merging described in various embodiments herein), the output frames may be displayed on a device display as a single still image and / or as part of a video sequence, saved to a storage device as a picture or video sequence, sent 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 different image sensors, and then generate corresponding output frames of image data (e.g., preview display frames, still image capture, frames for video, frames for object tracking, etc.). In other examples, the image signal processor may output frames of image data to various output devices and / or camera modules for further processing, such as for 3A parameter synchronization (e.g., auto focus (AF), automatic white balance (AWB), and automatic exposure control (AEC)), generate video files via output frames, configure frames for display, configure frames for storage, send frames over a network connection, etc. That is, an image signal processor may obtain incoming frames from one or more image sensors, each of which is coupled to one or more camera lenses, and may then generate and output an output frame stream to various output destinations.

[0014] In some aspects, a corrected image frame may be produced by combining aspects of the image correction of the present disclosure with other computational photography techniques such as high dynamic range (HDR) photography or multi-frame noise reduction (MFNR). In the case of HDR photography, a first image frame and a second image frame are captured using different exposure times, different apertures, different lenses, and / or other characteristics that may result in an improved dynamic range of the fused image when the two image frames are combined. In some aspects, the method may be performed for MFNR photography, wherein the first image frame and the second image frame are captured using the same or different exposure times, and the first image frame and the second image frame are fused to generate a corrected first image frame having reduced noise compared to the captured first image frame.

[0015] In some aspects, a device may include an image signal processor or processor (e.g., an application processor) that includes specific functionality for camera control and / or processing, such as enabling or disabling a merging module or otherwise controlling aspects of image correction. The methods and techniques described herein may be performed entirely by an image signal processor or processor, or various operations may be split between the image signal processor and the processor, and in some aspects split across additional processors.

[0016] The device may include one, two or more image sensors, such as including a first image sensor. When there are multiple image sensors, the first image sensor may have a larger field of view (FOV) than the second image sensor, or the first image sensor may have a different sensitivity or a 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 remote image sensor. In another example, the first sensor is configured to obtain an image through a first lens having a first optical axis, and the second sensor is configured to obtain an image through a second lens having 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. The configuration may occur in a lens cluster on a mobile device, such as where multiple image sensors and associated lenses are located in offset positions on the front or back side of the mobile device. Additional image sensors with larger, smaller, or the same field of view may be included. The image correction techniques described herein may be applied to image frames captured from any of the image sensors in a multi-sensor device.

[0017] In an additional aspect of the present disclosure, a device configured for image processing and / or image capture is disclosed. The device includes a component for capturing an image frame. The device also includes one or more components for capturing data representing a scene, such as an image sensor (including a charge coupled device (CCD), a Bayer filter sensor, an infrared (IR) detector, an ultraviolet (UV) detector, a complementary metal oxide semiconductor (CMOS) sensor), a time-of-flight detector. The device may also include one or more components for gathering and / or focusing light into one or more image sensors (including simple lenses, compound lenses, spherical lenses, and aspherical lenses). These components can be controlled to capture a first image frame and / or a second image frame input to the image processing techniques described herein.

[0018] For those of ordinary skill in the art, other aspects, features, and specific implementations will become apparent when reviewing the following description of specific exemplary aspects in conjunction with the accompanying drawings. Although each feature may be discussed below with respect to certain aspects and accompanying drawings, each aspect may include one or more of the advantageous features discussed herein. In other words, although one or more aspects may be discussed as having certain advantageous features, one or more of such features may also be used according to various aspects. In a similar manner, although the exemplary aspects may be discussed below as aspects of a device, system, or method, the exemplary aspects may be implemented in various devices, systems, and methods.

[0019] The method may be embedded in a computer readable medium as a computer program code including instructions for causing a processor to perform the steps of the method. In some embodiments, the processor may be part of a mobile device comprising: a first network adapter configured to send data, such as an image or video as recorded data or as streaming data, over a first network connection of a plurality of network connections; and a processor coupled to the first network adapter and the memory. The processor may cause the corrected image frame described herein to be sent over a wireless communication network, such as a 5G NR communication network.

[0020] The features and technical advantages of examples according to the present disclosure have been outlined quite extensively above so that the following specific embodiments may be better understood. Additional features and advantages will be described below. The disclosed concepts and specific examples may be easily used as a basis for modifying or designing other structures for achieving the same purpose of the present disclosure. Such equivalent constructions do not depart from the scope of protection of the appended claims. The characteristics of the concepts disclosed herein, both in terms of their organization and method of operation, and the associated advantages will be better understood by considering the following description in conjunction with the accompanying drawings. Each of the accompanying drawings is provided for the purpose of illustration and description, and not as a definition of the limitations of the claims.

[0021] Although various aspects and specific implementations are described in this application by the description of some examples, it will be understood by those skilled in the art that additional specific implementations and use cases may occur in many other arrangements and scenarios. The innovation described herein can be implemented across many different platform types, devices, systems, shapes, sizes, and packaging arrangements. For example, aspects and / or uses can be generated via integrated chip specific implementations and other devices based on non-module components (e.g., end-user devices, vehicles, communication equipment, computing equipment, industrial equipment, retail / purchase equipment, medical equipment, devices that enable artificial intelligence (AI), etc.). Although some examples may or may not specifically point to use cases or applications, the applicability of various types of described innovations may occur. The scope of specific implementations may range from chip-level or module components to non-module, non-chip-level specific implementations, and further to aggregated, distributed or original equipment manufacturer (OEM) devices or systems incorporating one or more aspects of the described innovations. In some practical environments, the devices incorporating the various aspects and features described may also necessarily include additional components and features for implementing and practicing the various aspects claimed and described. For example, the transmission and reception of wireless signals necessarily include multiple components for analog and digital purposes (e.g., hardware components, including antennas, radio frequency (RF) chains, power amplifiers, modulators, buffers, processors, interleavers, adders / summers, etc.). The innovations described herein are intended to be practiced in a variety of devices, chip-level components, systems, distributed arrangements, end-user devices, etc., having different sizes, shapes, and configurations. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] A further understanding of the nature and advantages of the present disclosure may be achieved by reference to the following drawings. In the drawings, similar components or features may have the same reference number. In addition, various components of the same type may be distinguished by adding a dash and a second label to distinguish between similar components after the reference label. If only the first reference label is used in the specification, the description applies to any of the similar components having the same first reference label, regardless of the second reference label.

[0023] Figure 1 A block diagram of an example device for performing image capture from one or more image sensors in accordance with one or more aspects of the present disclosure is shown.

[0024] Figure 2 A block diagram of an example white balance system for image processing of image data from one or more image sensors in accordance with one or more aspects of the present disclosure is shown.

[0025] Figure 3A flow chart of an example method for performing white balance processing on image data according to one or more aspects of the present disclosure is shown.

[0026] Figure 4 A diagram illustrating an example variable aperture configuration for an image sensor in accordance with one or more aspects of the present disclosure.

[0027] Figure 5 A flow chart of an example method for performing white balance processing using interpolation from calibration values ​​in accordance with one or more aspects of the present disclosure is shown.

[0028] The same reference numbers and designations in different drawings indicate the same elements. DETAILED DESCRIPTION

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

[0030] Automatic white balance (AWB) in an image capture device analyzes image data received from an image sensor and generates corrected image data by adjusting the received image data to adjust the white balance in the image data (to compensate for the light source). For example, the received image data may be adjusted so that a white shirt that appears yellow due to, for example, sunlight or an incandescent light bulb is correctly rendered white by changing the sensitivity of color channels (e.g., red, green, and blue channels) to reduce the yellow appearance. Other colors in the scene may be adjusted in a similar manner based on the adjustments used to correct the appearance of white to white. During an image capture operation, the aperture of the camera may change based on device controls, user requests, changing conditions, and / or other events. Aperture changes may result in white balance inconsistencies because the sensitivity of the camera may change based on different interactions of light with the various elements of the camera (e.g., lens, aperture, image sensor).

[0031] The disadvantages mentioned here are merely representative, and are included to highlight the problems that the inventors have identified and sought to improve with respect to existing devices. Aspects of the devices described below may address some or all of these disadvantages as well as other disadvantages known in the art. Aspects of the improved devices described herein may present other benefits than those described above, and may be used in other applications than those described above.

[0032] The present disclosure provides systems, devices, methods, and computer-readable media that support improved automatic white balance by compensating for changes in a representation of a scene caused by changing the aperture of a camera that acquires image data including a representation of the scene. White balance can compensate for image data based on a previous first aperture and a current second aperture by applying a compensation factor to a channel sensitivity (e.g., a WB gain value) that is applied to image data obtained immediately after the aperture is changed to the second aperture.

[0033] Certain specific implementations of the subject matter described in this disclosure may be implemented to achieve one or more of the following potential advantages or benefits. In some aspects, the present disclosure provides techniques for improving the appearance of images by reducing unusual or unexpected color casts in image data received from an image sensor and viewed by a user. By using an AWB calibration system for a variable aperture (VA) image capture system, compensation for a changing aperture may provide images with a more realistic appearance. Additionally, generating a preview during a change in aperture of a VA image capture system using aspects of the present invention may display smoother white balance transitions in real-time aperture switching.

[0034] An example device for capturing image frames using one or more image sensors, such as a smart phone, may include a configuration of two, three, four, or more cameras on the back side (e.g., the side opposite the user display) or the front side (e.g., the same side as the user display) of the device. Devices with multiple image sensors include one or more image signal processors (ISPs), computer vision processors (CVPs) (e.g., AI engines), or other suitable circuits 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 processor (such as an application processor, an image front end (IFE), an image processing engine (IPE), or other suitable processing circuits) for further processing, such as for encoding, storage, transmission, or other manipulation.

[0035] As used herein, an image sensor may refer to the image sensor itself and any specific other components coupled to the image sensor for generating image frames for processing by an image signal processor or other logic circuitry or for storage in a memory (whether a short-term buffer or a long-term non-volatile memory). For example, an image sensor may include other components of a camera, including a shutter, a buffer, or other readout circuitry for accessing individual pixels of the image sensor. An image sensor may also refer to an analog front end or other circuitry for converting an analog signal into a digital representation of an image frame, which is provided to a digital circuit coupled to the image sensor.

[0036] In the following description, a large number of specific details (such as examples of specific components, circuits and processes) are set forth in order to provide a thorough understanding of the present disclosure. As used herein, the term "coupled" means directly connected or connected through one or more intermediate components or circuits. In addition, in the following description and for the purpose of explanation, specific terms are set forth in order to provide a thorough understanding of the present disclosure. However, it will be appreciated by those skilled in the art that these specific details may not be required to implement the teachings disclosed herein. In other examples, in order to avoid obscuring the teachings of the present disclosure, known circuits and devices are shown in block diagram form.

[0037] Some portions of the following detailed description 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, programs, logic blocks, processes, etc. are conceived as a self-consistent sequence of steps or instructions leading to a desired result. These steps are steps requiring physical manipulations of physical quantities. Typically, although not necessarily, these physical quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated in a computer system.

[0038] In the accompanying drawings, a single box may be described as performing one or more functions. The one or more functions performed by the box 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. In order to clearly illustrate this interchangeability of hardware and software, the following generally describes various exemplary components, blocks, modules, circuits, and steps in terms of their functionality. Whether such functionality is implemented as hardware or software depends on specific applications and the design constraints proposed for the entire system. Those skilled in the art may implement the described functionality in different ways for each specific application, but such specific implementation decisions should not be interpreted as causing departure from the scope of the present disclosure. Moreover, the example device may include components other than those shown, including known components such as processors, memories, etc.

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

[0040] Unless otherwise specifically stated, it will be apparent from the following discussion that it should be understood that throughout this application, discussions utilizing terms such as "access," "receive," "transmit," "use," "select," "determine," "normalize," "multiply," "average," "monitor," "compare," "apply," "update," "measure," "derive," "set," "generate," etc., refer to the actions and processes of a computer system or similar electronic computing device that manipulate and transform 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.

[0041] The terms "device" and "apparatus" are not limited to one or a specific number of physical objects (e.g., a smartphone, a camera controller, a processing system, etc.). As used herein, a device can be any electronic device having one or more parts that can implement at least some portions of the present disclosure. Although the description and examples below use the term "device" to describe various aspects of the present 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 a device for performing the described operations.

[0042] Figure 1A block diagram of an example device 100 for performing image capture from one or more image sensors is shown. 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 an input / output (I / O) component 116. The I / O component 116 may be used to interact with a user, such as a touch screen interface and / or physical buttons. The I / O component 116 may also include a network interface for communicating with other devices including a wide area network (WAN) adapter 152, a local area network (LAN) adapter 153, and / or a personal area network (PAN) adapter 154. An example WAN adapter is a 4G LTE or 5G NR wireless network adapter. An example LAN adapter 153 is an IEEE 802.11 WiFi wireless network adapter. An example PAN adapter 154 is a Bluetooth wireless network adapter. Each of adapters 152, 153, and / or 154 may be coupled to an antenna, including multiple antennas configured for primary and diversity reception and / or configured to receive a particular frequency band. Device 100 may also include or be coupled to a power source 118 for device 100, such as a battery or a component that couples device 100 to an energy source. Device 100 may also include or be coupled to Figure 1 Additional features or components not shown in the figure. In one example, a wireless interface that may include multiple transceivers and a baseband processor may be coupled to or included in the WAN adapter 152 for wireless communication devices. In another example, an analog front end (AFE) for converting analog image frame data into digital image frame data may be coupled between the image sensors 101 and 102 and the image signal processor 112.

[0043] The device may include or be coupled to a sensor hub 150 for interfacing with sensors to receive data about the movement of the device 100, data about the environment surrounding the device 100, and / or other non-camera sensor data. One example non-camera sensor is a gyroscope, i.e., a device configured to measure rotation, orientation, and / or angular velocity to generate motion data. Another example non-camera sensor is an accelerometer, i.e., a device configured to measure 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 the generated motion data. In some aspects, a gyroscope in an electronic image stabilization system (EIS) may be coupled to the sensor hub or directly to the image signal processor 112. In another example, the non-camera sensor may be a global positioning system (GPS) receiver.

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

[0045] The first camera may include a first image sensor 101 and a corresponding first lens 131. The second camera may include a second image sensor 102 and a corresponding second lens 132. Each of the lenses 131 and 132 may be controlled by an associated auto focus (AF) algorithm 133 executed in the ISP 112, which adjusts the lenses 131 and 132 to focus on a specific focal plane at a certain scene depth from the image sensors 101 and 102. The AF algorithm 133 may be assisted by a depth sensor 140.

[0046] The first image sensor 101 and the second image sensor 102 are configured to capture one or more image frames. The 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 the exposure window, one or more color filter arrays (CFA) for filtering light outside a specific frequency range, one or more analog front ends for converting analog measurements into digital information, and / or other suitable components for imaging. The first lens 131 and the second lens 132 can have different fields of view to capture different representations of the scene. For example, the first lens 131 can be an ultra-wide (UW) lens, and the second lens 132 can be a wide (W) lens. Multiple image sensors can include a combination of ultra-wide (high field of view (FOV)) sensors, wide sensors, long-range sensors, and ultra-long-range (low FOV) sensors. That is, each image sensor can be configured by hardware configuration and / or software settings to obtain different but overlapping fields of view. In one configuration, the image sensor is configured with different lenses with different magnifications, which results in different fields of view. The sensors may be configured such that the UW sensor has a larger FOV than the W sensor, the W sensor has a larger FOV than the T sensor, and the T sensor has a larger FOV than the UT sensor. For example, a sensor configured for a wide FOV may capture a field of view in the range of 64 to 84 degrees, a sensor configured for an ultra-lateral FOV may capture a field of view in the range of 100 to 140 degrees, a sensor configured for a long-range FOV may capture a field of view in the range of 10 to 30 degrees, and a sensor configured for an ultra-long-range FOV may capture a field of view in the range of 1 to 8 degrees.

[0047] The image signal processor 112 processes the image frames captured by the image sensors 101 and 102. Figure 1 Device 100 is illustrated as including two image sensors 101 and 102 coupled to image signal processor 112, but any number (e.g., one, two, three, four, five, six, etc.) of image sensors may be coupled to image signal processor 112. In some aspects, a depth sensor such as depth sensor 140 may be coupled to image signal processor 112, and the output from the depth sensor may be processed in a manner similar to that of image sensors 101 and 102. Furthermore, any number of additional image sensors or image signal processors may be present for device 100.

[0048] 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 one or more image front ends (IFEs) 135, one or more image post-processing engines 136 (IPEs), and / or one or more automatic exposure compensation (AEC) 134 engines. The AF 133, AEC 134, AFE 135, APE 136 may each include dedicated circuits embodied as software code executed by the ISP 112 and / or a combination of hardware within the ISP 112 and software code executed on the ISP 112. The ISP 112 may additionally execute an automatic white balance (AWB) engine for performing white balance operations. The AWB engine may be executed in, for example, the image front end (IFE) 135 or the ISP 112 or other dedicated or general purpose processing circuitry within the image capture device 100, such as on a digital signal processor (DSP).

[0049] In some implementations, the memory 106 may include a non-transitory or non-transitory computer-readable medium storing computer-executable instructions 108 to perform all or part of one or more operations described in the present 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. A camera application such as that executed by the processor 104 may enable 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 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 external to the device 100. The device 100 may be coupled to an external memory and configured to access the memory to write output frames for display or long-term storage. In some embodiments, device 100 is a system on a chip (SoC) that combines image signal processor 112, processor 104, sensor hub 150, memory 106, and input / output components 116 into a single package.

[0050] 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 noise reduction operations. For example, execution of the instructions may instruct the image signal processor 112 to start or end capturing an image frame or a sequence of image frames, wherein the capture includes noise reduction as described in the embodiments herein. In some embodiments, the processor 104 may include one or more general-purpose processor cores 104A capable of executing scripts or instructions of one or more software programs (such as instructions 108 stored in the memory 106). For example, the processor 104 may include one or more application processors configured to execute a camera application (or other suitable application for generating images or videos) stored in the memory 106.

[0051] When executing the camera application, the processor 104 can be configured to command the image signal processor 112 to perform one or more operations with reference to the image sensor 101 or 102. For example, the camera application can receive a command to start a video preview display, and upon receiving the command, capture and process a video including a sequence of image frames from one or more image sensors 101 or 102. Image correction, such as using a cascaded IPE, can be applied to one or more image frames in the sequence. Execution of instructions 108 by the processor 104 outside the camera application can also cause the device 100 to perform any number of functions or operations. In some embodiments, in addition to the ability to execute software to cause the device 100 to perform multiple functions or operations (such as the operations described herein), the processor 104 can also include an IC or other hardware (e.g., an artificial intelligence (AI) engine 124). In some other embodiments, the device 100 does not include the processor 104, such as when all the described functionality is configured in the image signal processor 112.

[0052] In some embodiments, display 114 may include one or more suitable displays or screens that allow user interaction and / or present items to the user (such as previews of image frames captured by image sensors 101 and 102). In some embodiments, display 114 is a touch-sensitive display. I / O component 116 may be or include any suitable mechanism, interface, or device to receive input (such as commands) from a user and provide output to the user through display 114. For example, I / O component 116 may include (but is not limited to) a graphical user interface (GUI), a keyboard, a mouse, a microphone, a speaker, a squeezable bezel, one or more buttons (e.g., a power button), a slider, a switch, etc.

[0053] Although shown coupled to each other via processor 104, components such as processor 104, memory 106, image signal processor 112, display 114, and I / O components 116 may be coupled to each other in various other arrangements, such as via one or more local buses, which are not shown for simplicity. Although image signal processor 112 is illustrated as being separate from processor 104, image signal processor 112 may be a core of processor 104, which is an application processor unit (APU), included in a system on chip (SoC), or otherwise included in processor 104. Although reference is made to device 100 in the examples herein to perform aspects of the present disclosure, some device components may not be present. Figure 1 100. In some embodiments, the present invention is not limited to the configuration of a particular device or component, including device 100.

[0054] In some embodiments of the image capture device, the first camera and / or the second camera may support variable aperture (VA) operation, allowing the aperture to be changed during the capture of the image data. Since different light reaches the image sensor through the aperture, the color appearance in the image data can change with the changing aperture. White balance in the image capture device can correct for different image characteristics of the image data captured at different apertures through the variable aperture. In some embodiments, the image processing described herein can be performed separately from the capture of the image data, such as when aspects of the image processing described herein are performed after the image data is acquired.

[0055] Figure 2A block diagram of an example white balance system for image processing of image data from one or more image sensors according to one or more aspects of the present disclosure is shown. An image signal processor (ISP) 112 may include an automatic white balance (AWB) block 210. The ISP 112 receives image data and image metadata from a first camera 202. The image metadata may include, for example, an aperture size at the first camera 202 used to acquire the corresponding image data. The image data may be provided to a white balance applicator block 218, which applies a white balance algorithm to adjust channels (e.g., a red channel, a blue channel, and a green channel) of the image data to improve the appearance of a scene represented by the image data by producing image data that more accurately represents the human eye's perception of the scene. The white balance algorithm may multiply color channel data within the image data by a WB gain value that adjusts the ratio of blue to green (b / g) and red to green (r / g). The white balance (WB) corrected image data may be formed as an output image frame 204. The output image frame 204 may be stored in the memory 106 , which may be further processed by other processing circuitry, stored in other storage devices, output to a display, and / or sent over a network.

[0056] The white balance applied in the white balance applicator block 218 may involve applying channel sensitivity values ​​to the image data. For example, the white balance applicator block 218 may multiply the red channel image data and the blue channel image data by the r / g and b / g sensitivity values. These sensitivity values ​​may be generated by the channel sensitivity generator block 216. The channel sensitivity generator block 216 may receive one or more compensation factors from the compensation generator 214 and a channel sensitivity corresponding to a calibrated aperture from the white balance processor block 212. The channel sensitivity generator block 216 may adjust the output of the white balance processor 212 by scaling the channel sensitivity from the white balance processor block 212 using one or more compensation factors.

[0057] The compensation factor is received from the compensation generator block 214, which can determine the white balance offset between the previous first aperture and the current second aperture. The white balance offset can also depend on the current lighting conditions of the scene. When the aperture of the camera 202 changes from the first aperture to the second aperture, the WB offset is used to compensate the output WB gain applied by the white balance applicator 218. The compensation factor can be based on calibration data. The compensation generator 214 can also generate additional parameters for controlling the channel sensitivity generator block 216, such as a flexible factor, which can be determined according to the trigger defined by the tuning parameter to fine-tune the compensation.

[0058] The white balance processor block 212 can generate initial channel sensitivity values ​​for the current aperture of the camera 202 based on the calibration data. For example, the white balance processor block 212 can access calibration data for multiple modules at multiple apertures. The white balance processor block 212 can use information about the modules and aperture sizes present in the camera 202 to select channel sensitivity values ​​from the calibration data to output to the channel sensitivity generator block 216. In some embodiments, the aperture and / or modules of the camera 202 may not match the calibration data, and an estimated channel sensitivity for the aperture and / or module is determined based on the calibration data. For example, the channel selectivity of the aperture can be interpolated between the calibration data corresponding to the aperture with the most similar size available in the calibration data.

[0059] In some embodiments, the channel sensitivity generator block 216 may determine the sensitivity as:

[0060] AWB 光圈2 =AWB 光圈1 * compensation_factor,

[0061] AWB 光圈2 is one or more sensitivity values ​​(e.g., a set of two values ​​corresponding to r / g and b / g gains) to be applied by the white balance applicator block 218 to the image data captured at the second aperture, AWB 光圈1 is one or more sensitivity values ​​of the first aperture applied to the image data captured at the first aperture before changing to the second aperture, and compensation_factor is the output of the compensation generator block 214. In some embodiments, compensation_factor may be generated by the compensation generator block 214 based on the following equation:

[0062] Compensation_factor = F B / F A ,

[0063] where F A is the channel sensitivity for the first aperture, and F B is the channel sensitivity for the second aperture. In some embodiments, F A and F B The values ​​may be channel sensitivities for different first and second apertures that are specific to scene conditions (such as specific to a certain scene CCT).

[0064] In some embodiments, when changing from a first aperture to a second aperture, an additional factor may be used to adjust the white balance, such as a flexible factor. The channel sensitivity generator block 216 may determine the sensitivity as:

[0065] AWB 光圈2 =AWB 光圈1 *Compensation_factor*Flexibility_factor.

[0066] Applying white balance channel sensitivities based on the first aperture to image data captured at the second aperture may reduce the appearance of abrupt color changes when changing from the first aperture to the second aperture. Figure 3 One method for processing image data to reduce color shift is shown in FIG.

[0067] Figure 3 A flow chart of an example method for performing white balance processing on image data according to one or more aspects of the present disclosure is shown. At block 302, method 300 includes receiving first image data obtained at a first aperture. The first image data may be received at ISP 112 from camera 202 via a bus interface. Alternatively, the first image data may be received at ISP 112 from a memory storing previously recorded image data for processing. For example, ISP 112 may receive the first image data from a buffer between camera 202 and ISP 112, or may receive the first image data from a system memory, a non-volatile memory, or a network connection.

[0068] At block 304, white balance is applied to the first image data based on the first aperture. The white balance operation may be performed by the AWB 210 in the ISP 112. Under steady-state conditions, such as when the aperture has not changed for a particular period of time, the white balance at block 304 may not include compensation factors from the compensation generator block 214. The white balance at block 304 may be based on calibration data for the first aperture or based on channel sensitivities determined for the first aperture that are determined based on calibration data for other apertures.

[0069] At block 306, second image data is received, wherein the second image data is obtained at a second aperture. At block 302, the second image data may represent the same scene with the same scene conditions (such as scene CCT) as the first image data. The second image data may be received in the same manner as the first image data is received at block 302, or in a different manner. The second image data may be captured at a second aperture different from the first aperture after ISP 112 instructs camera 202 to change the aperture to the second aperture. Alternatively, the second image data may be captured at a second aperture different from the first aperture after ISP instruction from camera 202 to change the aperture to a different camera having a different aperture.

[0070] At block 308, white balance is applied to the second image data based on the first aperture and the second aperture. Applying the white balance channel sensitivity based on the first aperture to the image data captured at the second aperture reduces the appearance of abrupt color changes when changing from the first aperture to the second aperture. This can provide smoother white balance transitions in real-time aperture switching between the first aperture and the second aperture when capturing the first image data and the second image data. The white balance of block 308 may include determining and applying a compensation factor based on the first aperture and the second aperture, such as a reference. Figure 2 The second white balance may be based on the lighting conditions (e.g., CCT, brightness, hue) of the first image data and the second image data.

[0071] refer to Figure 4 One way to determine the compensation factor for white balance of block 306 is described. Figure 4 A diagram illustrating an example variable aperture configuration for an image sensor in accordance with one or more aspects of the present disclosure. Figure 4 The graph of shows various correlated color temperatures (CCT) on the y-axis and various apertures on the x-axis. Figure 4 Calibration data is available for certain aperture ranges and CCTs within the color aperture space of . Figure 4 Example calibration data 410, 412, 414, 416, 418, and 420 are shown. Calibration data 410, labeled F11, is calibration data for apertures between the start and end of aperture 1 and CCTs between the start and end of CCT1. Calibration data 412, labeled F21, is calibration data for apertures between the start and end of aperture 1 and CCTs between the start and end of CCT2. Calibration data 414, labeled F12, is calibration data for apertures between the start and end of aperture 2 and CCTs between the start and end of CCT2. Calibration data 416, labeled F22, is calibration data for apertures between the start and end of aperture 2 and CCTs between the start and end of CCT2. Calibration data 418, labeled F13, is calibration data for apertures between the start and end of aperture 3 and CCTs between the start and end of CCT1. Calibration data 420 labeled F23 is calibration data for the aperture between the start and end of aperture 3 and the CCT between the start and end of CCT2.

[0072] Can be configured with the corresponding Figure 4 The camera receives the aperture A and the scene CCT at point 422 on the graph. Figure 3The first image data received at block 302 of FIG. 4 may be white balanced based on point 422. When point 422 is outside of the channel sensitivity calibration data 410, 412, 414, 416, 418, 420, the calibration data 410, 412, 414, 416, 418, 420 may be used to determine the channel sensitivity at point 422, such as by interpolating from two, three, or four nearby calibration data sets. For example, the channel sensitivity of point 422 may be interpolated from the calibration data 410, 412, 414, and 416. At block 304, the interpolated channel sensitivity may be applied to the first image data. The white balance of the second image data may be based on point 424 and point 422.

[0073] Can be configured with the corresponding Figure 4 The camera receives the aperture B and the scene CCT at point 424 on the graph. Figure 3 When point 424 is outside of the channel sensitivity calibration data 410, 412, 414, 416, 418, 420, the calibration data 410, 412, 414, 416, 418, 420 may be used to determine the channel sensitivity at point 424, similar to that described for point 422. For example, point 424 may be interpolated from calibration data 414, 416, 418, and 420. White balancing of block 306 may be based on points 422 and 424. For example, white balancing of block 306 may include applying a white balance corresponding to point 422 multiplied by the ratio of point 424 to point 422 (e.g., F B / F A ) of the image data. The compensated channel sensitivity is then applied to the second image data. After capturing and processing one or other specified number of frames of image data, the white balance of the additional image data may be based on point 424 to allow for a gradual shift to point 424.

[0074] exist Figure 5 As shown in the reference Figure 4 The method of image processing using interpolation. Figure 5 A flow chart of an example method for performing white balance processing using interpolation from calibration values ​​according to one or more aspects of the present disclosure is shown. The method 500 includes configuring a camera at block 502 for capturing first image data at a first aperture. At block 504, a first channel sensitivity for the first aperture is determined by interpolating based on calibration data for the calibration aperture, wherein the calibration aperture may include an aperture different from the first aperture. At block 506, the first image data is white balanced based on the first channel sensitivity.

[0075] At box 508, the camera is configured to capture second image data at a second aperture. This may be based on an automatic camera control system that determines, for example, that more light will improve the appearance of the representation of the scene in the image data. This may alternatively be based on a user selection of a new aperture size in a camera application executed on the image capture device. This may alternatively be based on a user selection of a photography mode change in the camera application, such as when the user selects a portrait photography mode using a larger aperture. Then, at box 510, a second channel sensitivity is determined for the second aperture by interpolating from calibration data for calibrating the aperture. At box 512, one or more compensation factors are determined based on the second channel sensitivity and the first channel sensitivity. At box 514, the second image data is white balanced based on the second channel sensitivity and the compensation factor. At box 516, additional image data captured at the second aperture is white balanced based on the second channel sensitivity after a suitable convergence period (such as one, two, or three frames), which reduces the appearance of any sudden color changes. Image statistics are determined based on the third image data. Furthermore, a subsequent third output image frame may be determined based on third image data captured at the second aperture by applying a third white balance based on image statistics of the third image data.

[0076] In one or more aspects, techniques for supporting image processing may include additional aspects, such as any single aspect or any combination of aspects described below or in combination with one or more other processes or devices described elsewhere herein. In a first aspect, supporting image processing may include an apparatus configured to perform operations including: receiving first image data obtained at a first aperture; determining a first output image frame based on the first image data by applying a first white balance to at least a portion of the first image data; receiving second image data obtained at a second aperture; and determining a second output image frame based on the second image data by applying a second white balance. In some aspects, determining the second white balance may include determining a first compensation factor based on the first aperture and the second aperture; and adjusting the first white balance by the first compensation factor to determine the second white balance, wherein determining the second output image frame is based on the second white balance. Additionally, the apparatus may be performed or operated according to one or more aspects as described below. In some implementations, the apparatus includes a wireless device, such as a UE or a BS. In some implementations, the apparatus may include at least one processor and a memory coupled to the processor. The processor may be configured to perform the operations described herein with respect to the apparatus. In some other implementations, the apparatus may include a non-transitory computer-readable medium having program code recorded thereon, and the program code may be executable by a computer for causing the computer to perform the operations described herein with reference to the apparatus. In some implementations, the apparatus may include one or more components configured to perform the operations described herein. In some implementations, the method of wireless communication may include one or more operations described herein with reference to the apparatus.

[0077] In a second aspect combined with the first aspect, the first compensation factor is further based on a first lighting condition of the first image data and a second lighting condition of the second image data.

[0078] In a third aspect combined with one or more of the first aspect or the second aspect, applying the first white balance includes applying the first white balance based on first calibration data.

[0079] In a fourth aspect combined with one or more of the first to third aspects, the first calibration data corresponds to a third aperture different from the first aperture, and wherein applying the first white balance includes an operation of determining the white balance channel sensitivity based on the first calibration data by interpolating between the first calibration data corresponding to the third aperture and the second calibration data corresponding to the fourth aperture different from the first aperture.

[0080] In a fifth aspect combined with one or more of the first to fourth aspects, the first calibration data corresponds to a first aperture range including a third aperture and a first correlated color temperature (CCT) range.

[0081] In a sixth aspect combined with one or more of the first to fifth aspects, the second calibration data corresponds to a second aperture range including the fourth aperture and a second correlated color temperature (CCT) range.

[0082] In a seventh aspect combined with one or more of the first to sixth aspects, determining a white balance channel sensitivity for a first white balance comprises interpolating between first and second calibration data for a first aperture and a scene CCT of the first image data.

[0083] In an eighth aspect combined with one or more of the first to seventh aspects, adjusting the first white balance by the first compensation factor includes adjusting the first white balance by the first compensation factor and the second compensation factor.

[0084] In a ninth aspect combined with one or more of the first to eighth aspects, the second white balance is based on the first aperture and the second aperture, so that the first white balance of the first output image frame is related to the second white balance of the second output image frame.

[0085] In a tenth aspect combined with one or more of the first to ninth aspects, the operation further comprises instructing the camera module to change from the first aperture to the second aperture before receiving second image data obtained at the second aperture.

[0086] In the eleventh aspect combined with one or more of the first to tenth aspects, the operation also includes receiving third image data obtained at a second aperture; determining image statistics based on the third image data; and determining a third output image frame based on the third image data by applying a third white balance based on the image statistics.

[0087] In a twelfth aspect combined with one or more of the first to eleventh aspects, determining a second output image frame comprises the following operations: receiving second image data at a white balance module of an image signal processor (ISP); and applying a second white balance in the white balance module.

[0088] It should be understood by those skilled in the art that any of a variety of different technologies and techniques may be used to represent information and signals. For example, data, instructions, commands, information, signals, bits, symbols, and chips that may be mentioned throughout the above description may be represented by voltage, current, electromagnetic waves, magnetic fields or magnetic particles, light fields or optical particles, or any combination thereof.

[0089] This article is relative to Figures 1 to 5The components, functional blocks and modules described include processors, electronic devices, hardware devices, electronic components, logical circuits, memories, software codes, firmware codes, etc., or any combination thereof. Software should be broadly interpreted to mean instructions, instruction sets, codes, code segments, program codes, programs, subroutines, software modules, applications, software applications, software packages, routines, subroutines, objects, executables, threads of execution, processes, and / or functions, etc., whether referred to as software, firmware, middleware, microcode, hardware description languages, or other terms. In addition, the features discussed herein may be implemented via dedicated processor circuits, via executable instructions, or a combination thereof.

[0090] The technician will further understand that the various exemplary logic blocks, modules, circuits and algorithm steps described in conjunction with the present disclosure can be implemented as electronic hardware, computer software or a combination of the two. In order to clearly illustrate this interchangeability of hardware and software, various exemplary components, frames, modules, circuits and steps have been generally described above in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints proposed to the entire system. Those skilled in the art can implement the described functionality in different ways for each specific application, but such specific implementation decisions should not be interpreted as causing departure from the scope of the present disclosure. The technician will also easily recognize that the order or combination of components, methods or interactions described herein are merely examples, and the components, methods or interactions of various aspects of the present disclosure can be combined or performed in a manner other than the manner illustrated and described herein.

[0091] The various illustrative logical components, logic blocks, modules, circuits, and algorithmic processes described in conjunction with the specific implementations disclosed herein may be implemented as electronic hardware, computer software, or a combination of the two. The interchangeability of hardware and software has been generally described 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 on the specific application and the design constraints imposed on the overall system.

[0092] The hardware and data processing apparatus for implementing the various illustrative logic components, logic blocks, modules and circuits described in conjunction with the various aspects disclosed herein may be implemented or executed using a general purpose single-chip 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, a discrete gate or transistor logic component, a discrete hardware component, 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 specific 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 combination with a DSP core, or any other such configuration. In some specific implementations, specific processes and methods may be performed by circuits specific to a given function.

[0093] 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, or in any combination thereof. Specific implementations of the subject matter described in this specification may also be implemented as one or more computer programs, i.e., one or more modules of computer program instructions encoded on computer storage media for execution by data processing apparatus or for controlling the operation of data processing apparatus.

[0094] If implemented in software, the function may be stored as one or more instructions or codes on a computer-readable medium or sent via a computer-readable medium. The process of the method or algorithm disclosed herein may be implemented in a processor executable software module that may reside on a computer-readable medium. Computer-readable media include both computer storage media and communication media, including any medium that may be implemented to transfer a computer program from one place to another. The storage medium may be any available medium that a computer can access. As an example and not limitation, such a computer-readable medium may include a random access memory (RAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a CD-ROM or other optical disk storage device, a disk storage device or other magnetic storage device, or any other medium that can be used to store the required program code in the form of an instruction or data structure and can be accessed by a computer. In addition, any connection may be appropriately referred to as a computer-readable medium. Disks and optical disks as used herein include compact disks (CDs), laser disks, optical disks, digital versatile disks (DVDs), floppy disks, and blue-ray disks, wherein disks generally reproduce data magnetically, and optical disks reproduce data optically with lasers. The above combination should also be included in the scope of computer-readable media. Additionally, the operations of a method or algorithm may be located as a code and instruction set, or any combination of code and instruction sets, on a machine-readable medium or computer-readable medium, which may be incorporated into a computer program product.

[0095] Various modifications to the specific implementations described in this disclosure will be apparent to those skilled in the art, and the general principles defined herein may be applied to some other specific implementations without departing from the spirit or scope of the disclosure. Therefore, the claims are not intended to be limited to the specific implementations shown herein, but are to be consistent with the broadest scope consistent with the disclosure, the principles and novel features disclosed herein.

[0096] Additionally, one of ordinary skill in the art will readily recognize that the terms "upper" and "lower" are sometimes used for ease of describing the drawings and indicate relative positions corresponding to the orientation of the drawings on a correctly oriented page, and may not reflect the correct orientation of any device as implemented.

[0097] Certain features described in this specification in the context of separate implementations may also be implemented in combination in a single implementation. Conversely, various features described in the context of a single implementation may also be implemented in multiple implementations, either individually or in any suitable subcombination. Furthermore, while features may be described above as functioning in certain combinations and even initially claimed as such, one or more features from a claimed combination may in some cases be removed from the combination, and a claimed combination may be directed to a subcombination or variations of a subcombination.

[0098] Similarly, although the operations are depicted in a specific order in the accompanying drawings, this should not be understood as requiring such operations to be performed in the specific order shown or in a sequential order, or to perform all illustrated operations to achieve the desired result. In addition, the accompanying drawings can schematically depict one or more example processes in the form of a flow chart. However, other operations that are not depicted can be incorporated into the example processes schematically illustrated. For example, one or more additional operations can be performed before, after, simultaneously or between any illustrated operations. In some cases, multitasking and parallel processing are advantageous. In addition, the separation of various system components in the specific implementation described above should not be understood as requiring such separation in all specific implementations, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products. Additionally, some other specific implementations also fall within the scope of the appended claims. In some cases, the actions narrated in the claims can be performed in different orders and still achieve the desired result.

[0099] As used herein, including in the claims, the term "or" used in a list of two or more items means that any of the listed items may be employed alone, 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 combined; A and C combined; B and C combined; or A, B, and C combined. In addition, as used herein, including in the claims, "or" as used in a list of items beginning with "at least one" indicates a separate list, 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 (i.e., A and B and C) or any combination of any of these. The term "substantially" is defined as being largely, but not necessarily completely, what is specified (and includes what is specified; for example, substantially 90 degrees includes 90 degrees, and substantially parallel includes parallel), as understood by one of ordinary skill in the art. In any disclosed implementation, the term "substantially" may be replaced with "within [percent] of" a specified content, where the percentage includes 0.1%, 1%, 5%, or 10%.

[0100] The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be apparent to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Therefore, the disclosure is not intended to be limited to the examples and designs described herein, but to be consistent with the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for automatic white balance compensation, the method include: receiving first image data obtained at a first aperture; determining a first output image frame based on the first image data by applying a first white balance to at least a portion of the first image data; receiving second image data obtained at a second aperture; as well as A second output image frame is determined based on the second image data by applying a second white balance in the following manner: determining a first compensation factor based on the first aperture and the second aperture; as well as The first white balance is adjusted by the first compensation factor to determine the second white balance, wherein determining the second output image frame is based on the second white balance. 2 . The method of claim 1 , wherein the first compensation factor is further based on a first lighting condition of the first image data and a second lighting condition of the second image data. The method of claim 1 , wherein applying the first white balance comprises applying the first white balance based on first calibration data.

4. The method of claim 3, wherein the first calibration data corresponds to a third aperture different from the first aperture, and wherein the first white balance is applied include: White balance channel sensitivity is determined based on the first calibration data by interpolating between the first calibration data corresponding to the third aperture and second calibration data corresponding to a fourth aperture different from the first aperture.

5. The method according to claim 4, in: The first calibration data corresponds to a first aperture range including the third aperture and a first correlated color temperature (CCT) range; The second calibration data corresponds to a second aperture range including the fourth aperture and a second correlated color temperature (CCT) range; and Determining the white balance channel sensitivity for the first white balance includes interpolating between the first calibration data and the second calibration data for the first aperture and a scene CCT of the first image data. 6 . The method of claim 1 , wherein adjusting the first white balance by the first compensation factor comprises adjusting the first white balance by the first compensation factor and a second compensation factor.

7. The method of claim 1, wherein the second white balance is based on the first aperture and the second aperture such that a first white balance of the first output image frame is related to a second white balance of the second output image frame. 8 . The method of claim 1 , further comprising instructing a camera module to change from the first aperture to the second aperture prior to receiving the second image data obtained at the second aperture.

9. The method according to claim 1, further comprising: include: receiving third image data obtained at the second aperture; determining image statistics based on the third image data; as well as A third output image frame is determined based on the third image data by applying a third white balance based on the image statistics.

10. The method according to claim 1, wherein determining the second output image frame include: receiving the second image data at a white balance module of an image signal processor (ISP); as well as The second white balance is applied in the white balance module.

11. A device for automatic white balance compensation, the device include: a memory storing processor readable code; and at least one processor, the at least one processor being coupled to the memory, the at least one processor being configured to execute the processor readable code so that the at least one processor performs operations including: receiving first image data obtained at a first aperture; determining a first output image frame based on the first image data by applying a first white balance to at least a portion of the first image data; receiving second image data obtained at a second aperture; as well as A second output image frame is determined based on the second image data by applying a second white balance in the following manner: determining a first compensation factor based on the first aperture and the second aperture; as well as The first white balance is adjusted by the first compensation factor to determine the second white balance, wherein determining the second output image frame is based on the second white balance.

12. The apparatus of claim 11, wherein the first compensation factor is further based on a first lighting condition of the first image data and a second lighting condition of the second image data. 13 . The apparatus of claim 11 , wherein applying the first white balance comprises applying the first white balance based on first calibration data.

14. The apparatus of claim 13, wherein the first calibration data corresponds to a third aperture different from the first aperture, and wherein the first white balance is applied include: White balance channel sensitivity is determined based on the first calibration data by interpolating between the first calibration data corresponding to the third aperture and second calibration data corresponding to a fourth aperture different from the first aperture.

15. The device according to claim 14, in: The first calibration data corresponds to a first aperture range including the third aperture and a first correlated color temperature (CCT) range; The second calibration data corresponds to a second aperture range including the fourth aperture and a second correlated color temperature (CCT) range; and Determining the white balance channel sensitivity for the first white balance includes interpolating between the first calibration data and the second calibration data for the first aperture and a scene CCT of the first image data. 16 . The apparatus of claim 11 , wherein adjusting the first white balance by the first compensation factor comprises adjusting the first white balance by the first compensation factor and a second compensation factor.

17. The apparatus of claim 11, wherein the second white balance is based on the first aperture and the second aperture such that a first white balance of the first output image frame is related to a second white balance of the second output image frame.

18. The apparatus of claim 11, wherein the at least one processor is further configured to execute the processor readable code to cause the at least one processor to perform operations comprising: receiving third image data obtained at the second aperture; determining image statistics based on the third image data; and A third output image frame is determined based on the third image data by applying a third white balance based on the image statistics.

19. The device according to claim 11, further comprising: include: a camera module coupled to the at least one processor, Wherein the processor is further configured to execute the processor readable code to cause the at least one processor to perform operations including instructing the camera module to change from the first aperture to the second aperture before receiving the second image data obtained at the second aperture.

20. The apparatus of claim 19, wherein the at least one processor comprises an image signal processor (ISP).

21. A non-transitory computer readable medium storing instructions that, when executed by a processor, cause the processor to perform operations comprising: receiving first image data obtained at a first aperture; determining a first output image frame based on the first image data by applying a first white balance to at least a portion of the first image data; receiving second image data obtained at a second aperture; as well as A second output image frame is determined based on the second image data by applying a second white balance in the following manner: determining a first compensation factor based on the first aperture and the second aperture; as well as The first white balance is adjusted by the first compensation factor to determine the second white balance, wherein determining the second output image frame is based on the second white balance.

22. The non-transitory computer readable medium of claim 21, wherein the first compensation factor is further based on a first lighting condition of the first image data and a second lighting condition of the second image data.

23. The non-transitory computer readable medium of claim 21, wherein applying the first white balance comprises applying the first white balance based on first calibration data.

24. The non-transitory computer readable medium of claim 23, wherein the first calibration data corresponds to a third aperture different from the first aperture, and wherein applying the first white balance include: White balance channel sensitivity is determined based on the first calibration data by interpolating between the first calibration data corresponding to the third aperture and second calibration data corresponding to a fourth aperture different from the first aperture.

25. The non-transitory computer readable medium of claim 24, in: The first calibration data corresponds to a first aperture range including the third aperture and a first correlated color temperature (CCT) range; The second calibration data corresponds to a second aperture range including the fourth aperture and a second correlated color temperature (CCT) range; and Determining the white balance channel sensitivity for the first white balance includes interpolating between the first calibration data and the second calibration data for the first aperture and a scene CCT of the first image data.

26. The non-transitory computer readable medium of claim 21, wherein adjusting the first white balance by the first compensation factor comprises adjusting the first white balance by the first compensation factor and a second compensation factor.

27. The non-transitory computer readable medium of claim 21, wherein the second white balance is based on the first aperture and the second aperture such that a first white balance of the first output image frame is related to a second white balance of the second output image frame.

28. The non-transitory computer readable medium of claim 21, wherein the instructions, when executed by a processor, cause the processor to perform further operations comprising: A camera module is instructed to change from the first aperture to the second aperture prior to receiving the second image data obtained at the second aperture.

29. The non-transitory computer readable medium of claim 21, wherein the instructions, when executed by a processor, cause the processor to perform further operations comprising: receiving third image data obtained at the second aperture; determining image statistics based on the third image data; and A third output image frame is determined based on the third image data by applying a third white balance based on the image statistics.

30. The non-transitory computer readable medium of claim 21, wherein determining the second output image frame include: receiving the second image data at a white balance module of an image signal processor (ISP); as well as The second white balance is applied in the white balance module.