Lens shading correction (LSC) in variable aperture (VA) camera systems

Through dynamic lens shadow correction technology, the lens shadow correction gain table is updated, which solves the problem of uneven image quality of variable aperture cameras under different apertures, and achieves higher quality photo output and aperture switching transition effects.

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

Patent Information

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

AI Technical Summary

Technical Problem

The prior art is difficult to effectively deal with the lens shading effect caused by variable aperture cameras at different aperture sizes, resulting in uneven image quality and inability to accurately represent the scene.

Method used

Through dynamic lens shadow correction (LSC) technology, the lens shadow correction gain table is updated based on image data collected by the image sensor at different aperture sizes, ensuring that higher quality photos are produced at different apertures.

Benefits of technology

This achieves reducing unusual color changes in image data, improving image appearance, providing smoother aperture switching transitions, and improving image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118891891A_ABST
    Figure CN118891891A_ABST
Patent Text Reader

Abstract

This disclosure provides systems, methods, and devices for image processing that support enhanced variable aperture (VA) camera operation. In a first aspect, a method of image processing includes determining first image statistics for first image data representing a first scene captured at a first aperture; and determining whether the first image data satisfies a first criterion. When the first image data satisfies the first criterion, the image processing includes: determining an updated lens shading correction (LSC) corresponding to the first aperture based on the first image statistics and a current LSC corresponding to the first aperture; and determining a first output image frame based on the updated LSC and the first image data. 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 lens shading correction (LSC). Certain features may enable and provide improved image processing, including reducing variations in photos at different aperture sizes. 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 camera module of an image capture device may include components such as a lens, an aperture, and an image sensor. Different configurations of the lens, aperture, and image sensor may produce different representations of the same scene. Variations in the manufacture and assembly of lenses, apertures, image sensors, and other components may also result in different representations of the same scene recorded by different equipment. Summary of the invention

[0004] The following summarizes some aspects of the present disclosure to provide a basic understanding of the technology discussed. 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 is it intended 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 a more detailed description presented later.

[0005] The camera module may have a variable aperture (VA) camera, where the aperture can be controlled to a specific size. Example aperture sizes are f / 2.0, f / 2.8, f / 3.2, f / 8.0, etc. Larger aperture values ​​correspond to smaller aperture sizes, and smaller aperture values ​​correspond to larger aperture sizes. The same camera module may have different characteristics based on the current aperture size. For example, the lens shading effect may be different across different aperture settings. Dynamic lens shading correction (LSC) compensation for an image capture device with a variable aperture (VA) camera module may be based on the aperture size and calibration data available for some aperture sizes that are less than all available aperture sizes. The dynamic LSC may include: generating an LSC gain table for different apertures, and updating the LSC gain table when collecting and analyzing image data for the corresponding aperture size. Although examples of image processing for image data captured from a variable aperture (VA) camera system are described, aspects of the present disclosure may be applied to any variable optical system capable of changing the amount of light captured by an image sensor.

[0006] In one aspect of the present disclosure, a method for image processing includes: determining first image statistics for first image data, the first image data representing a first scene captured at a first aperture; determining an updated lens shading correction (LSC) corresponding to the first aperture based on the first image statistics and a current LSC corresponding to the first aperture; and / or determining a first output image frame based on the updated LSC and the first image data. In some embodiments, the determination of the updated LSC may be performed only when the first image data satisfies a first criterion. The first criterion may include whether motion is detected in the scene represented by the first image data. In some embodiments, the updated LSC may be based on a pre-calibration of a camera system for capturing the first image data. In some embodiments, the updated LSC may be based on pre-calibration data, the first image data, statistics of the first image data, second image data (e.g., image data for another scene), and / or statistics of the second image data.

[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: determining a first image statistic for first image data, the first image data representing a first scene captured at a first aperture; determining an updated lens shading correction (LSC) corresponding to the first aperture based on the first image statistic and a current LSC corresponding to the first aperture; and / or determining a first output image frame based on the updated LSC and the first image data. In some embodiments, the determination of the updated LSC may be performed only when the first image data satisfies a first criterion. The first criterion may include whether motion is detected in the scene represented by the first image data. The apparatus may be an image capture device having a variable aperture (VA) camera module, such as a mobile phone.

[0008] In additional aspects of the disclosure, an apparatus includes: means for determining first image statistics for first image data, the first image data representing a first scene captured at a first aperture; means for determining an updated lens shading correction (LSC) corresponding to the first aperture based on the first image statistics and a current LSC corresponding to the first aperture; and / or means for determining a first output image frame based on the updated LSC and the first 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: determining a first image statistic for first image data, the first image data representing a first scene captured at a first aperture; determining an updated lens shading correction (LSC) corresponding to the first aperture based on the first image statistic and a current LSC corresponding to the first aperture; and / or determining a first output image frame based on the updated LSC and the first image data. In some embodiments, the determination of the updated LSC may be performed only when the first image data satisfies a first criterion. The first criterion may include whether motion is detected in the scene represented by the first 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 merging module. The image processing techniques described in the embodiments disclosed herein may be performed by a circuit system such as a merging 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 some processing performed 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 circuit systems 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 distributed between the image signal processor and the processor, and in some aspects distributed 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] Other aspects, features, and implementations will become apparent to those of ordinary skill in the art when reviewing the following description of specific exemplary aspects in conjunction with the accompanying drawings. Although the various features may be discussed below with respect to certain aspects and drawings, various aspects 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 a 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 broadly 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 illustrating 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 can 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 in conjunction with one or more aspects of the described innovations. In some practical environments, the equipment in conjunction with 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 label. 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 An example image signal processor (ISP) configuration for performing lens shading correction (LSC) for a variable aperture (VA) camera module is shown in accordance with some aspects of the present disclosure.

[0025] Figure 3is a flow chart illustrating an example method for applying lens shading correction (LSC) based on image statistics according to some embodiments of the present disclosure.

[0026] Figure 4 is a flow chart illustrating an example method for updating lens shading correction (LSC) based on certain criteria according to some embodiments of the present disclosure.

[0027] Figure 5 is a flow chart illustrating an example method for updating lens shading correction (LSC) based on detection of motion in a scene according to some embodiments of the present disclosure.

[0028] Figure 6 is a flow chart illustrating an example method for updating lens shading correction (LSC) using motion region post-processing according to some embodiments of the present disclosure.

[0029] Figure 7 is a graph illustrating updates to lens shading correction (LSC) according to some embodiments of the present disclosure.

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

[0031] The specific embodiments described below in conjunction with the accompanying drawings are intended as descriptions of various configurations and are not intended to limit the scope of the present disclosure. Instead, the specific embodiments include 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.

[0032] During an image capture operation, the aperture of a camera may change based on device controls, user requests, changing conditions, and / or other events. Aperture changes may result in different lens shading effects and photos that do not accurately represent the scene. Lens shading effect changes may occur based on different interactions of light with various elements of a camera (e.g., a lens, aperture, and / or image sensor).

[0033] The disadvantages mentioned here are merely representative, and these disadvantages 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 and other disadvantages known in the art. Aspects of the improved devices described herein may present other benefits other than those described above and may be used in other applications other than those described above.

[0034] The present disclosure provides systems, apparatus, methods, and computer-readable media that support improved lens shading correction (LSC) operations for compensating for changes in representation of a scene due to changes in the aperture of a camera that acquires image data representing the scene. The LSC operations involve updating the LSC correction operations for the aperture size based on image data collected by an image sensor at the aperture size. Thus, the LSC operations are customized for a specific camera module at a specific aperture. Differences in camera module functionality at different apertures can therefore be taken into account to produce higher quality photos.

[0035] Certain 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 image appearance by reducing unusual or unexpected color changes in image data received from an image sensor and viewed by a user. Differences in camera module functionality at different apertures may be accounted for by updating the LSC to produce higher quality photos. Additionally, generation of previews during aperture changes in a VA image capture system using aspects of the present disclosure may display smoother transitions in real-time aperture switching.

[0036] 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 circuit systems 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 circuit systems) for further processing, such as for encoding, storage, transmission, or other manipulation.

[0037] 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 storage in memory (whether a short-term buffer or 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 circuitry coupled to the image sensor.

[0038] 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 apparent to those skilled in the art that these specific details may not be required to practice 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.

[0039] 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, procedures, 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.

[0040] 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 a combination of hardware, software, or hardware and software. In order to clearly illustrate this interchangeability of hardware and software, the following generally describes each exemplary component, block, module, circuit, and step in terms of their functionality. Whether such functionality is implemented as hardware or software depends on specific applications and the design constraints proposed to the entire system. The technician 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. In addition, the example device may include components other than those components shown, including known components such as processors, memories, etc.

[0041] 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 (such as 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.

[0042] 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.

[0043] The terms "device" and "apparatus" are not limited to one or a specific number of physical objects (such as a smart phone, 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 following description and examples 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.

[0044] 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 can be coupled to an antenna, including multiple antennas configured for primary reception and diversity reception and / or configured to receive a particular frequency band. Device 100 can 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 can 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.

[0045] 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.

[0046] 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.

[0047] 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.

[0048] 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 measurement results 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.

[0049] 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.

[0050] 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 circuitry that is 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. 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 (IFC) 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).

[0051] 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. For example, the execution of the camera application 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 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.

[0052] 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.

[0053] When executing the camera application, the processor 104 can be configured to instruct 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, a video including a sequence of image frames is captured and processed 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.

[0054] 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 (such as a power button), a slider, a switch, etc.

[0055] 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, 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.

[0056] 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. In some embodiments, the image processing described herein may 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.

[0057] Figure 2 An example image signal processor (ISP) configuration for performing lens shading correction (LSC) for a variable aperture (VA) camera module according to some aspects of the present disclosure is shown. The camera 202 provides image data to a processor, such as the image signal processor (ISP) 112. The image data may be processed in the image front end (IFE) 135 to apply correction or enhancement to the image data captured by the camera 202. One example process is the application of lens shading correction (LSC) to the image data. The lens shading correction (LSC) corrects the image data of the input shading image caused by the camera aperture to compensate for the image brightness changes across different parts of the image and achieve a more uniform image. The light signal received by the camera 202 decreases from the center of the image where the brightness is the highest to the corners where the brightness is the lowest. This change in brightness is caused by the lens and image sensor limitations in the camera 202. The change is different at different aperture sizes. The lens shading correction (LSC) 218 ​​may apply the correction to the image data based on the aperture of the camera 202 that generated the image data. When camera 202 is a variable aperture (VA) camera and the aperture is changed, LSC 218 may change the applied LSC. When camera 202 is changed to a different camera with a different aperture, LSC 218 may change the applied LSC.

[0058] The camera control 214 may send a command to switch the aperture in a variable aperture (VA) system. The aperture switch may be caused based on an algorithm that monitors the image data and automatically adjusts the aperture size based on image conditions without user input. For example, when the ambient light decreases, the aperture may be increased to increase image brightness. The aperture switch may alternatively or may also be caused based on user input. For example, a user may manually specify the aperture in a camera application executed on the ISP 112 or another processor coupled to the ISP 112. As another example, a user may specify a camera mode, such as a portrait mode, which adjusts the aperture size to obtain a desired bokeh or background blur. The aperture size may be output from the camera control 214 to the camera 202 and also to the LSC 218, which uses the aperture size to adjust the correction applied to the image data.

[0059] The LSC 218 may apply corrections to the image data based on pre-calibration data 212, which may be stored in memory within the IFE 135 or in other memory in the system that the IFE 135 can access. The pre-calibration data 212 may not include calibration data for every available aperture size at the camera 202. The LSC 218 may use the available calibration data to determine an initial LSC table, such as by interpolating an initial LSC table for the current aperture size from calibration data for other apertures stored in the pre-calibration data 212. The LSC 218 may use the image data to update the initial LSC table and replace the initial LSC table with the updated LSC table. The update may be based on image statistics of the image data. The update may be conditional on criteria regarding the image data. For example, the LSC table may be updated only when no motion is detected in the scene. In some embodiments, when there is local motion in the image data rather than global motion, the image data may be processed and the LSC table updated based on the processed image data. The LSC 218 may perform a reference Figure 3 , Figure 4 , Figure 5 or Figure 6 After the image data is corrected by the LSC 218, further processing of the corrected image data may be performed by operations in the image front end (IFE) 135 and / or the image post-processing engine (IPE) 136 to generate an output image frame 204. The output image frame 204 may be stored in the memory 106 for output to a preview image on a display, output to a long-term storage device for storage, and / or output to a network adapter for transmission to another device or a remote server.

[0060] Figure 3 A method of processing image data in LSC 218 is shown in FIG. Figure 3is a flow chart illustrating an example method for applying lens shading correction (LSC) based on image statistics according to some embodiments of the present disclosure. The method 300 includes determining, at block 302, first image statistics for image data captured with a first aperture. The image statistics may include information about the brightness of different regions of the image. In some embodiments, the image statistics may include an array of values, where each value reflects an average brightness or other statistical measure for an NxN block (e.g., a 3x3 block) of pixels.

[0061] At block 304, a first lens shading correction (LSC) is determined based on pre-calibration data for a second aperture different from the first aperture. The LSC may be represented by an LSC table comprising an array of values, where each value represents an adjustment coefficient to be applied to image data from a corresponding portion of the camera. The LSC table determined at block 304 may be estimated for the first aperture based on pre-calibration data for the LSC table for the second aperture. For example, the LSC table determined at block 304 may be based on an interpolation between the LSC table for the second aperture and the LSC table for the third aperture. The second aperture and the third aperture may be selected from those apertures available in the pre-calibration data as aperture sizes closest to the first aperture, where one aperture is larger than the first aperture and one aperture is smaller than the first aperture.

[0062] At block 306, the LSC is updated based on the first image statistics. The interpolated LSC table of block 304 may be updated based on the image statistics of block 302. The image statistics may reflect the drop-off in light signal from the image center to the image corner for the first aperture, which is different from the drop-off in light signal for the second aperture and the third aperture. Thus, the image statistics may be used to update an estimated LSC table generated by interpolating between the LSC table for the second aperture and the LSC table for the third aperture.

[0063] In some embodiments, the updating of the LSC table based on the image statistics may be based on the reliability of the image statistics determined at block 302. The updating process of the LSC table for the first aperture may be performed based on the following formula:

[0064]

[0065] Among them LSC 新 It is the updated LSC table, LSC 先前 is the previous LSC table (which may be an initial LSC table interpolated from pre-calibration data), and LSC 估计 It is an LSC table based on image statistics.

[0066] At block 308, output image frames are determined based on the updated LSC. In some embodiments, the first number of output image frames have an LSC based on the initial LSC without an update from the image statistics. The delay corresponding to the first number of output image frames may correspond to a delay in the availability of image statistics for the image data. For example, when the aperture size is changed, image data at the new aperture size may be immediately available, but there may be a delay in the image statistics corresponding to the image data for the new aperture size. In some embodiments, the delay may be several frames, such as three frames.

[0067] Certain criteria may dictate that the image statistics do not provide accurate data for updating the LSC table, and thus updates may be performed only based on image data that meets certain criteria. Figure 4 4 is a flow chart illustrating an example method for updating lens shading correction (LSC) based on certain criteria according to some embodiments of the present disclosure. At box 402, image data is received and analyzed to determine whether the image data satisfies a first criterion at box 404. For example, the image data may be analyzed to identify motion in a scene. Motion in the scene may skew image statistics in a region of the image data around the motion. As another example, the image data may be analyzed for average brightness or other statistical measures. Very dim scenes may not provide sufficient contrast results in the image statistics, which inaccurately represent the lens shading effects of the aperture.

[0068] If the criterion is not met, such as when there is motion in the scene, the method 400 continues to block 410 to determine an output image frame by applying the previous LSC table to the image data without updating the LSC table. If the criterion is met, such as when there is no motion in the scene, the method 400 continues to block 406 to update the LSC table based on the image statistics of the image data received at block 402. At block 408, an output image frame is determined by applying the updated LSC of block 406 to the image data. The method of 400 may continue to be repeated as additional image data is received at the same aperture.

[0069] Aperture changes may trigger changes to the LSC table used to process the image data. Figure 5 5 is a flow chart illustrating an example method for updating lens shading correction (LSC) based on detection of motion in a scene according to some embodiments of the present disclosure. Method 500 includes determining an aperture change from a second aperture to a first aperture at block 502. As the aperture changes, an LSC table for the previous aperture that is updated based on image statistics may be stored in a buffer or other memory to be recalled when the camera switches back to the previous aperture. Thus, the LSC table may continue to be updated to improve the accuracy of correction of lens shading effects, and may continue to be updated to adjust for changes in camera modules over time.

[0070] After the aperture is changed, at block 504, an initial LSC is interpolated based on pre-calibrated data. Image data may be received after the aperture is changed, and at block 506, image statistics are calculated for the image data from the camera at the new aperture. At block 508, the processor determines whether motion is detected in the scene represented by the image data. In some embodiments, the motion detection of block 508 may be based on sensor data from an image capture device, such as Figure 1 accelerometer and / or gyroscope data received at the sensor hub 150 of the image data. In some embodiments, the motion detection of box 508 may be based on image statistics for the image data. For example, the image statistics may be compared to an expected outline to determine the presence of motion. In some embodiments, the processor may determine whether the image statistics show a lens shading effect, where pixels appearing in the center of the image are brighter than pixels at the corners. When the expected outline showing the lens shading effect does not appear in the image statistics, it may be determined that there is motion in the scene that makes the image statistics undesirable for updating the LSC table. In some embodiments, the processor may determine whether there is motion in the scene by determining a difference in the first image statistics between adjacent portions of the first image data, such as determining the sum of absolute differences across the image data for an image frame.

[0071] If motion is detected in the scene, the method 500 continues to block 512 to apply the LSC to the image data without updating the LSC table. If motion is not detected in the scene, the method 500 continues to estimate the LSC using image statistics at block 510, and updates the LSC based on the estimated LSC and a previous LSC (which may be an initial LSC). After updating the LSC table, the method 500 continues to block 512 to apply the updated LSC to the image data. The method 500 continues to process image data from the camera captured with the first aperture until another aperture change restarts the method at block 502.

[0072] In some embodiments, certain kinds of motion may be compensated and allow LSC updating to continue. For example, local motion may be compensated in the image data, and the compensated image data used to update the LSC. Some embodiments of LSC processing may be implemented as described in reference Figure 6 Describes the operation. Figure 66 is a flowchart illustrating an example method for updating lens shading correction (LSC) using motion region post-processing according to some embodiments of the present disclosure. Method 600 includes determining an aperture change from a second aperture to a first aperture at box 602, similar to that described with respect to box 502. At box 602, image statistics are calculated for the image data, similar to that described with respect to box 504. At boxes 606 and 622, criteria are evaluated to determine the presence of motion in the scene, and the motion is classified as local motion or global motion. In some embodiments, the processor may determine whether the difference between the number of adjacent blocks exceeds a threshold to determine whether the confidence level for the motion of the block is high. The motion confidence for the pixel block (i, j) may be calculated as:

[0073]

[0074] sports 置信度 The array may be iterated to count the number of entries above a threshold, and the count is compared to a global threshold to determine whether global motion is present in the image data, and / or compared to a local threshold to determine whether local motion is present in the image data. A lower threshold for the local threshold allows motion within the scene to be detected, and a higher threshold for the global threshold allows scene-wide motion (such as movement of the camera module itself) to be distinguished from local motion (such as movement of objects in the scene).

[0075] If motion is not detected, the method 600 continues to block 608 to estimate the LSC based on the image statistics, to update the LSC based on the estimated LSC at block 610 , and to apply the updated LSC to the image data at block 612 .

[0076] If motion is detected at block 606, the processor determines at block 622 whether the motion is global or local. If global motion is determined at block 622, the method 600 continues to block 612 to apply the LSC to the image data without updating the LSC, which avoids global motion degrading the LSC. If local motion is determined at block 622, the method 600 continues to block 624 to apply motion region post-processing. Block 624 compensates for local motion so that the LSC can be updated based on the image data. Block 624 may include smoothing, averaging, low-pass filtering, statistical analysis, or other processing to reduce the impact of local motion on the skew image statistics. In some embodiments, the post-processing of block 624 may include determining blocks with high motion confidence values ​​(such as above a threshold), and for those blocks, replacing the value with the average of its eight neighbors in the image statistics. In some embodiments, the post-processing of block 624 may include determining blocks with high motion confidence values ​​(such as above a threshold), and for those blocks, replacing the image statistics with a value corresponding to the initial LSC table.

[0077] After performing post-processing of the image statistics at block 624 , the method 600 continues to block 608 to determine an estimated LSC using the processed image statistics, determine an updated LSC based on the estimated LSC, and apply the updated LSC to the image data at block 612 .

[0078] Figure 7 The updating of LSC as described in the embodiments of the present disclosure is illustrated in FIG. Figure 7 704 is a graph illustrating updates to lens shading correction (LSC) according to some embodiments of the present disclosure. The graph shows LSC gains applied to image data representing a cross section of a line through an image frame. Line 702 shows an initial LSC gain, which may be represented as a row in an LSC table and reflects interpolated values ​​from pre-calibrated data for other apertures. The LSC of line 702 may be updated based on image statistics to obtain line 704. As further image data is collected, the LSC table may be further updated to arrive at line 706. Figure 7 The gains illustrated in 706 may be applied by the processor to the image data by multiplying the image data values ​​by the LSC gain corresponding to the location of the image data recorded by the image sensor. For example, image data recorded from the middle portion of the image sensor is multiplied by a smaller LSC gain than image data recorded from the left or right portions of the image sensor according to line 706. This correction reduces unintended color variations on the photograph and reduces artifacts such as unintended bright areas in the photograph.

[0079] 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 a device configured to perform operations including: determining a first image statistic for first image data, the first image data representing a first scene captured at a first aperture; determining whether the first image data satisfies a first criterion. In some aspects, when the first image data satisfies the first criterion, the operations further include: determining an updated lens shading correction (LSC) corresponding to the first aperture based on the first image statistic and a current LSC corresponding to the first aperture; and determining a first output image frame based on the updated LSC and the first image data. Additionally, the device may be performed or operated according to one or more aspects as described below. In some implementations, the device includes a wireless device, such as a UE or a BS. In some implementations, the device 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 device. In some other implementations, the apparatus may include a non-transitory computer-readable medium having a program code recorded thereon, and the program code may be executable by a computer to cause 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.

[0080] In a second aspect, in combination with the first aspect, the method may further include: storing the updated LSC as the current LSC corresponding to the first aperture; determining a second image statistic for second image data, the second image data representing a second scene captured at the first aperture; and determining a second output image frame based on the updated LSC and the second image data.

[0081] In a third aspect, in combination with one or more of the first aspect or the second aspect, storing the updated LSC as the current LSC is based on mixing the updated LSC with the current LSC based on reliability according to the first image statistics.

[0082] In a fourth aspect, in combination with one or more of the first to third aspects, determining whether the first image data satisfies the first criterion includes determining whether there is motion in the first scene.

[0083] In a fifth aspect, in combination with one or more of the first to fourth aspects, determining whether there is motion in the first scene includes determining a difference in the first image statistic between adjacent portions of the first image data.

[0084] In a sixth aspect, in combination with one or more of the first to fifth aspects, the operation further comprises determining whether the motion in the first scene is a global motion when the first image data satisfies the first criterion.

[0085] In a seventh aspect, in combination with one or more of the first to sixth aspects, the operation further includes, when the motion in the first scene is not a global motion: determining a statistical measure of the first image statistic, wherein determining the updated LSC is performed based on the statistical measure.

[0086] In an eighth aspect, in combination with one or more of the first to seventh aspects, the operation further comprises determining an aperture change for a first camera from a second aperture to the first aperture; and receiving the first image data from the first camera at the first aperture.

[0087] In a ninth aspect, in combination with one or more of the first to eighth aspects, determining the first image statistic is based on determining the aperture change.

[0088] In a tenth aspect, in combination with one or more of the first to ninth aspects, the operation further comprises determining the current lens shading correction (LSC) based on a first pre-calibrated lens shading correction (LSC) for a second aperture different from the first aperture, wherein the determination of the current LSC is performed before determining the updated LSC.

[0089] In the eleventh aspect, in combination with one or more aspects of the first to tenth aspects, the current LSC is determined based on the first pre-calibrated LSC for the second aperture different from the first aperture and based on the second pre-calibrated LSC for a third aperture different from the second aperture, by interpolating between the first pre-calibrated LSC and the second pre-calibrated LSC.

[0090] In the twelfth aspect, in combination with one or more aspects of the first to eleventh aspects, determining whether the first image data satisfies the first criterion includes the following operations: determining a motion confidence value for the first image data based on the first image statistics; determining a count of motion confidence values ​​above a confidence threshold; determining whether the count is above a local motion threshold; and determining whether the count is above a global motion threshold.

[0091] In a thirteenth aspect, in combination with one or more of the first to twelfth aspects, the operation further comprises processing the first image statistics to determine a processed first image statistics when the count is above a local motion threshold and below a global motion threshold, wherein determining the updated LSC is based on the processed first image statistics.

[0092] 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.

[0093] In this article, relative to Figures 1 to 5 The 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, procedures, and / or functions, etc., whether referred to as software, firmware, middleware, microcode, hardware description language or other terms. In addition, the features discussed herein may be implemented via a dedicated processor circuit system, via executable instructions, or a combination thereof.

[0094] 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, blocks, 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. The technician 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 only 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.

[0095] The various illustrative logic elements, 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 both. The interchangeability of hardware and software has been generally described in terms of functionality and is 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.

[0096] The hardware and data processing apparatus for implementing the various exemplary logics, 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, 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, a particular process and method may be performed by a circuit system specific to a given function.

[0097] 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 a data processing device or for controlling the operation of a data processing device.

[0098] 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 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 devices, disk storage devices or other magnetic storage devices, 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.

[0099] 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.

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

[0101] 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 subcombinations or variations of subcombinations.

[0102] 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 the 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 schematically illustrated example process. 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 may be 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.

[0103] 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, so 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 (i.e., A and B and C) or any combination of any of these. The term "substantially" is defined as to a large extent, but not necessarily entirely, 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%.

[0104] 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 conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method, the method include: determining a first image statistic for first image data representing a first scene captured at a first aperture; determining whether the first image data satisfies a first criterion; as well as When the first image data satisfies the first criterion: determining an updated lens shading correction (LSC) corresponding to the first aperture based on the first image statistics and a current LSC corresponding to the first aperture; as well as A first output image frame is determined based on the updated LSC and the first image data.

2. The method according to claim 1, further comprising: include: storing the updated LSC as the current LSC corresponding to the first aperture; determining a second image statistic for second image data representing a second scene captured at the first aperture; as well as A second output image frame is determined based on the updated LSC and the second image data.

3. The method of claim 2, wherein storing the updated LSC as the current LSC is based on blending the updated LSC with the current LSC according to a reliability of the first image statistics. 4 . The method of claim 1 , wherein determining whether the first image data satisfies the first criterion comprises determining whether there is motion in the first scene.

5. The method of claim 4, wherein determining whether motion is present in the first scene comprises determining a difference in the first image statistic between adjacent portions of the first image data.

6. The method according to claim 4, further comprising: include: When the first image data satisfies the first criterion, determining whether the motion in the first scene is a global motion; as well as When the motion in the first scene is not a global motion: determining a statistical measure of the first image statistic, Wherein determining the updated LSC is performed based on the statistical measure.

7. The method according to claim 1, further comprising: include: determining an aperture change for a first camera from a second aperture to the first aperture; as well as receiving the first image data from the first camera at the first aperture, Wherein determining the first image statistic is based on determining the aperture change.

8. The method according to claim 1, further comprising: include: The current lens shading correction (LSC) is determined based on a first pre-calibrated lens shading correction (LSC) for a second aperture different from the first aperture, wherein the determining of the current LSC is performed before determining the updated LSC.

9. The method of claim 8 , wherein determining the current LSC is based on the first pre-calibrated LSC for the second aperture different from the first aperture and based on a second pre-calibrated LSC for a third aperture different from the second aperture, by interpolating between the first pre-calibrated LSC and the second pre-calibrated LSC.

10. The method according to claim 1, in: Determining whether the first image data satisfies the first criterion includes: determining a motion confidence value for the first image data based on the first image statistics; determining a count of motion confidence values ​​above a confidence threshold; determining whether the count is above a local motion threshold; and determining whether the count is above a global motion threshold; and The method further comprises: When the count is above a local motion threshold and below a global motion threshold, the first image statistics are processed to determine a processed first image statistics value, wherein determining the updated LSC is based on the processed first image statistics value.

11. A device, wherein 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: determining a first image statistic for first image data representing a first scene captured at a first aperture; determining whether the first image data satisfies a first criterion; as well as When the first image data satisfies the first criterion: determining an updated lens shading correction (LSC) corresponding to the first aperture based on the first image statistics and a current LSC corresponding to the first aperture; as well as A first output image frame is determined based on the updated LSC and the first image data.

12. The apparatus of claim 11, wherein the at least one processor is further configured to execute the processor readable code so that the at least one processor performs operations comprising: storing the updated LSC as the current LSC corresponding to the first aperture; determining a second image statistic for second image data representing a second scene captured at the first aperture; as well as A second output image frame is determined based on the updated LSC and the second image data.

13. The apparatus of claim 12, wherein storing the updated LSC as the current LSC is based on blending the updated LSC with the current LSC according to a reliability of the first image statistics.

14. The apparatus of claim 11, wherein determining whether the first image data satisfies the first criterion comprises determining whether there is motion in the first scene.

15. The apparatus of claim 14, wherein determining whether motion is present in the first scene comprises determining a difference in the first image statistic between adjacent portions of the first image data.

16. The apparatus of claim 14, wherein the at least one processor is further configured to execute the processor readable code so that the at least one processor performs operations comprising: When the first image data satisfies the first criterion, determining whether the motion in the first scene is a global motion; and When the motion in the first scene is not a global motion: determining a statistical measure of the first image statistic, Wherein determining the updated LSC is performed based on the statistical measure.

17. The apparatus of claim 11, wherein the at least one processor is further configured to execute the processor readable code so that the at least one processor performs operations comprising: determining an aperture change for a first camera from a second aperture to the first aperture; and receiving the first image data from the first camera at the first aperture, Wherein determining the first image statistic is based on determining the aperture change.

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: The current lens shading correction (LSC) is determined based on a first pre-calibrated lens shading correction (LSC) for a second aperture different from the first aperture, wherein the determining of the current LSC is performed before determining the updated LSC.

19. The apparatus of claim 18, wherein determining the current LSC is based on the first pre-calibrated LSC for the second aperture different from the first aperture and based on a second pre-calibrated LSC for a third aperture different from the second aperture, by interpolating between the first pre-calibrated LSC and the second pre-calibrated LSC.

20. The apparatus of claim 11, further comprising a variable aperture (VA) camera module, 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: determining a first image statistic for first image data representing a first scene captured at a first aperture; Determine whether the first image data satisfies a first criterion ; as well as When the first image data satisfies the first criterion: determining an updated lens shading correction (LSC) corresponding to the first aperture based on the first image statistics and a current LSC corresponding to the first aperture; as well as A first output image frame is determined based on the updated LSC and the first image data.

22. 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: storing the updated LSC as the current LSC corresponding to the first aperture; determining a second image statistic for second image data representing a second scene captured at the first aperture; and A second output image frame is determined based on the updated LSC and the second image data.

23. The non-transitory computer readable medium of claim 22, wherein storing the updated LSC as the current LSC is based on blending the updated LSC with the current LSC based on reliability according to the first image statistics.

24. The non-transitory computer-readable medium of claim 21, wherein determining whether the first image data satisfies the first criterion comprises determining whether there is motion in the first scene.

25. The non-transitory computer readable medium of claim 24, wherein determining whether motion is present in the first scene comprises determining a difference in the first image statistic between adjacent portions of the first image data.

26. The non-transitory computer readable medium of claim 24, wherein the instructions, when executed by a processor, cause the processor to perform further operations comprising: When the first image data satisfies the first criterion, determining whether the motion in the first scene is a global motion; and When the motion in the first scene is not a global motion: determining a statistical measure of the first image statistic, Wherein determining the updated LSC is performed based on the statistical measure.

27. 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: determining an aperture change for a first camera from a second aperture to the first aperture; and receiving the first image data from the first camera at the first aperture, Wherein determining the first image statistic is based on determining the aperture change.

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: The current lens shading correction (LSC) is determined based on a first pre-calibrated lens shading correction (LSC) for a second aperture different from the first aperture, wherein the determining of the current LSC is performed before determining the updated LSC.

29. The non-transitory computer-readable medium of claim 28, wherein determining the current LSC is based on the first pre-calibrated LSC for the second aperture different from the first aperture and based on a second pre-calibrated LSC for a third aperture different from the second aperture, by interpolating between the first pre-calibrated LSC and the second pre-calibrated LSC.

30. The non-transitory computer readable medium of claim 21, in: Determining whether the first image data satisfies the first criterion includes: determining a motion confidence value for the first image data based on the first image statistics; determining a count of motion confidence values ​​above a confidence threshold; determining whether the count is above a local motion threshold; and determining whether the count is above a global motion threshold; and The instructions, when executed by a processor, cause the processor to perform further operations including: When the count is above a local motion threshold and below a global motion threshold, the first image statistics are processed to determine a processed first image statistics value, wherein determining the updated LSC is based on the processed first image statistics value.

Citation Information

Cited By

  • Image processing method and system, electronic equipment, medium and program product

    CN120455853A