Blurring effects in variable aperture (VA) camera systems

By capturing image data at different aperture sizes and adjusting the amount of blur, the blur problem caused by low-aperture lenses is solved, image processing with natural blur effects is achieved, and equipment cost and volume are reduced.

CN118872259APending Publication Date: 2024-10-29QUALCOMM INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380026685.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-03-24
Filing Date
2023-03-15
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Existing technology has difficulty achieving a natural blur effect in image data captured at multiple aperture sizes, especially the blurring problem caused by low-aperture lenses, which are usually large and costly.

Method used

By receiving image data captured at different aperture sizes, determining the depth map and focus map, and using the simulated aperture size to adjust the amount of blur, an output image frame with a natural blur effect is generated.

Benefits of technology

It achieves the reproduction of the photographic effect of a larger aperture size at a smaller aperture size, provides a more natural blur effect, and reduces equipment cost and size.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118872259A_ABST
    Figure CN118872259A_ABST
Patent Text Reader

Abstract

This disclosure provides systems, methods, and devices for image processing that support enhanced image effects, such as blurring effects, applied in image processing. In a first aspect, an image processing method includes determining a depth map corresponding to a first scene based on first image data and second image data captured at different aperture sizes; determining a focus map based on the depth map and a simulated aperture size different from the first aperture size and the second aperture size; and determining an output image frame based on the focus map, the first image data, and the second 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 generally relate to image processing, and more particularly to applying effects to captured image data, such as background blur to replicate a defocusing effect. Some features may enable and provide improved image processing, including improved appearance of photographs of subjects and objects in scenes with objects at multiple depths. 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 a variety of 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), tablets or tablets, gaming devices, computer devices (such as webcams, video surveillance cameras), or other devices with digital imaging or video capabilities.

[0003] In some scenes, the photographer may want to direct the viewer's focus to a portion of the scene. For example, in a portrait photo of a person, the photographer may want the viewer to focus on the person rather than the rest of the scenery. The photographer may choose a low aperture lens for such a photo because the low aperture causes objects at a different depth than the person to be noticeably blurred. Compared to a high aperture lens, a lower aperture lens produces a higher blur. However, low aperture lenses are usually larger in size and made of higher cost materials. Summary of the invention

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

[0005] Computational photography can be used to process image data and apply effects to a scene, such as the application of a blur effect that simulates the blur that typically occurs with a low aperture lens. In a variable aperture (VA) camera system, it may be desirable to blur at an aperture size that is different from the aperture size available in the VA camera system. Image processing may be applied to obtain an aperture size that is different from the aperture size available in the VA camera system or that is different from the aperture size used to capture the image data. Visual effects to photographs, such as blur that replicates a blur effect, may be applied through image processing based on image data captured at multiple aperture sizes by controlling the aperture of the VA camera system.

[0006] In one aspect of the present disclosure, a method for image processing includes: receiving first image data captured at a first aperture size and second image data captured at a second aperture size, each of the first image data and the second image data representing a first scene; determining a depth map corresponding to the first scene based on the first image data and the second image data, the depth map including a first value indicating a distance between an image sensor recording the first image data and an object in the first scene; determining a focus map based on the depth map and a simulated aperture size different from the first aperture size and the second aperture size, the focus map including a second value indicating an amount of blur at the simulated aperture size for a corresponding distance between the image sensor recording the first image data and the object in the first scene; and determining an output image frame based on the focus map, the first image data, and 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: receiving first image data captured at a first aperture size and second image data captured at a second aperture size, each of the first image data and the second image data representing a first scene; determining a depth map corresponding to the first scene based on the first image data and the second image data, the depth map including a first value indicating a distance between an image sensor recording the first image data and an object in the first scene; determining a focus map based on the depth map and a simulated aperture size different from the first aperture size and the second aperture size, the focus map including a second value indicating a blur amount at the simulated aperture size for a corresponding distance between the image sensor recording the first image data and the object in the first scene; and determining an output image frame based on the focus map, the first image data, and the second image data.

[0008] In an additional aspect of the present disclosure, an apparatus includes: a component for receiving first image data captured at a first aperture size and second image data captured at a second aperture size, each of the first image data and the second image data representing a first scene; a component for determining a depth map corresponding to the first scene based on the first image data and the second image data, the depth map including a first value indicating a distance between an image sensor that recorded the first image data and an object in the first scene; a component for determining a focus map based on the depth map and a simulated aperture size different from the first aperture size and the second aperture size, the focus map including a second value indicating an amount of blur at the simulated aperture size for a corresponding distance between the image sensor that recorded the first image data and the object in the first scene; and a component for determining an output image frame based on the focus map, the first image data, and the second image data.

[0009] In an additional aspect of the present disclosure, a non-transitory computer-readable medium stores instructions that, when executed by a processor, cause the processor to perform operations. The operations include receiving first image data captured at a first aperture size and second image data captured at a second aperture size, each of the first image data and the second image data representing a first scene; determining a depth map corresponding to the first scene based on the first image data and the second image data, the depth map including a first value indicating a distance between an image sensor recording the first image data and an object in the first scene; determining a focus map based on the depth map and a simulated aperture size different from the first aperture size and the second aperture size, the focus map including a second value indicating an amount of blur at the simulated aperture size for a corresponding distance between the image sensor recording the first image data and the object in the first scene; and determining an output image frame based on the focus map, the first image data, and the second image data.

[0010] Image capture devices (devices that can capture one or more digital images, whether still image photographs or video image sequences) 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 such as mobile phones, cellular or satellite radio phones, personal digital assistants (PDAs), tablets or tablets, 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. The video sequence may include other image frames received from an image sensor or other image sensors and / or other corrected image frames based on inputs from an image sensor or another image sensor. In some embodiments, processing of one or more image frames may be performed within an image sensor, such as in a binning module. The image processing techniques described in the embodiments disclosed herein may be performed by circuits in an image sensor, an image signal processor (ISP), an application processor (AP), or a combination of two or all of these components, such as a binning module.

[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, image data from a merged readout of an image sensor, or corrected image frames processed by one or more algorithms within the image signal processor (such as in a merged readout module). For example, image frames obtained from an image sensor (which may have had some processing performed on the data before being output to the image signal processor) may be processed in the image signal processor by processing the image frames through an image post-processing engine (IPE) and / or other image processing circuits for performing one or more of tone mapping, portrait lighting, contrast enhancement, gamma correction, etc.

[0013] After the image signal processor determines the output frames representing the scene using image correction (such as the merged readout 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, transmitted over a network, and / or printed to an output medium. For example, the image signal processor may be configured to obtain input frames of image data (e.g., pixel values) from 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 generated 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 binning readout module or otherwise controlling aspects of image correction. The methods and techniques described herein may be performed entirely by an image signal processor or processor, or various operations may be split between the image signal processor and the processor, and in some aspects on an additional processor.

[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 the examples according to the present disclosure have been outlined quite extensively above so that the following specific embodiments may be better understood. Additional features and advantages will be described below. The disclosed concepts and specific examples may be easily used as a basis for modifying or designing other structures for the same purpose of achieving the present disclosure. Such equivalent constructions do not depart from the scope of protection of the appended claims. When considered in conjunction with the accompanying drawings, the characteristics of the concepts disclosed herein (both their organization and methods of operation) and the associated advantages will be better understood according to the following description. Each of the accompanying drawings is provided for the purpose of illustration and description, and not as a definition of the limitations of the claims.

[0021] Although various aspects and specific implementations are described in this application by the illustration of some examples, it will be understood by those skilled in the art that additional specific implementations and use cases may be generated 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, various 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 relate to use cases or applications, the innovation may have a wide range of applicability. The scope of specific implementations may range from chip-level or module components to non-module, non-chip-level specific implementations, and further to aggregated, distributed or original equipment manufacturer (OEM) devices or systems in conjunction with one or more aspects of the described innovation. In some practical environments, the equipment in conjunction with the various aspects and features described may also inevitably include additional components and features for implementing and implementing the claimed and described aspects. For example, the transmission and reception of wireless signals inevitably 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 implemented 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 numerals. In addition, various components of the same type may be distinguished by adding a dash and a second reference numeral after the reference numeral to distinguish between similar components. If only the first reference numeral is used in the specification, the description applies to any of the similar components having the same first reference numeral, regardless of the second reference numeral.

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

[0024] Figure 2 A block diagram is shown of an example processing configuration for applying a blur effect in accordance with one or more aspects of the present disclosure.

[0025] Figure 3 A flow chart of an example method for applying a blur effect using a variable aperture (VA) camera system in accordance with one or more aspects of the present disclosure is shown.

[0026] Figure 4 A flow chart of an example method for applying a blur effect using a sharpness value according to one or more aspects of the present disclosure is shown.

[0027] Figure 5 A block diagram is shown of an example processing configuration for applying a blur effect using sharpness values ​​in accordance with one or more aspects of the present disclosure.

[0028] Figure 6 A flow chart of an example method for applying a blur effect via a variable aperture (VA) camera system using machine learning in accordance with one or more aspects of the present disclosure is shown.

[0029] Figure 7 A block diagram is shown of an example processing configuration for applying a blur effect using machine learning in accordance with one or more aspects of the present disclosure.

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

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

[0032] The present disclosure provides systems, apparatus, methods, and computer-readable media that support improved image processing for applying effects to image data captured by a camera system, such as a variable aperture (VA) camera system. The improved image processing can use image data captured at two (or more) different aperture sizes to produce a focus map that can be combined with a predetermined relationship for aperture sizes to apply blur to a scene captured by image data from multiple aperture sizes.

[0033] 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 disclosure provides techniques for improving the appearance of images by producing more natural effects, such as blurring, that provide an appearance that is more similar to natural effects obtained by an optical system. This may allow a camera system with a smaller available aperture size to replicate photographic effects available with a camera system with a larger available aperture size, which is typically more expensive and less convenient to carry.

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

[0035] As used herein, an image sensor may refer to the image sensor itself and any specific other components coupled to the image sensor for generating image frames for processing by an image signal processor or other logic circuitry or for storage in 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 circuit coupled to the image sensor.

[0036] In the following description, a large number of specific details (such as examples of specific components, circuits and processes) are set forth 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 to provide a thorough understanding of the present disclosure. However, it will be appreciated by those skilled in the art that these specific details may not be required for implementing the teachings disclosed herein. In other examples, in order to avoid blurring the teachings of the present disclosure, known circuits and devices are shown in block diagram form.

[0037] Some portions of the following detailed description are presented in terms of procedures, logic blocks, processing, and other symbolic representations of operations on data bits within a computer memory. In the present disclosure, programs, logic blocks, processes, etc. are conceived as a self-consistent sequence of steps or instructions leading to a desired result. These steps are steps requiring physical manipulations of physical quantities. Typically, although not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated in a computer system.

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

[0039] Aspects of the present disclosure are applicable to any electronic device that includes or is coupled to two or more image sensors capable of capturing image frames (or "frames"). In addition, aspects of the present disclosure can be implemented in image sensors or devices coupled to image sensors having the same or different capabilities and characteristics (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.

[0040] Unless otherwise stated, it will be apparent from the following discussion that it should be understood that throughout this application, discussions using terms such as "access," "receive," "transmit," "use," "select," "determine," "normalize," "multiply," "average," "monitor," "compare," "apply," "update," "measure," "derive," "set," "generate," and the like refer to the actions and processes of a computer system or similar electronic computing device that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system's registers, memories, or other such information storage, transmission, or display devices.

[0041] 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 parts 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.

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

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

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

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

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

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

[0048] In some embodiments, the image signal processor 112 may execute instructions from a memory, such as instructions 108 from the memory 106, instructions stored in a separate memory coupled to or included in the image signal processor 112, or instructions provided by the processor 104. Additionally or alternatively, 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 112. The ISP 112 may additionally execute an automatic white balance (AWB) engine for performing white balance operations. The AWB engine may be executed in, for example, the image front end (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).

[0049] In some implementations, the memory 106 may include a non-transitory or non-transitory computer-readable medium storing computer-executable instructions 108 to perform all or part of one or more operations described in the present disclosure. In some implementations, the instructions 108 include a camera application (or other suitable application) to be executed by the device 100 for generating images or videos. The instructions 108 may also include other applications or programs executed by the device 100, such as an operating system and specific applications other than for image or video generation. The execution of the camera application (such as by the processor 104) may cause the device 100 to generate images using the image sensors 101 and 102 and the image signal processor 112. The memory 106 may also be accessed by the image signal processor 112 to store processed frames, or may be accessed by the processor 104 to obtain 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. Device 100 may be coupled to external memory and configured to access the memory to write output frames for display or long-term storage. In some embodiments, device 100 is a system on a chip (SoC) that combines image signal processor 112, processor 104, sensor hub 150, memory 106, and input / output components 116 into a single package.

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

[0051] When executing the camera application, the processor 104 can be configured to command the image signal processor 112 to perform one or more operations with reference to the image sensor 101 or 102. For example, the camera application can receive a command to start a video preview display, and upon receiving the command, 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 enable the device 100 to perform multiple functions or operations (such as the operations described herein), the processor 104 can also include an IC or other hardware (e.g., an artificial intelligence (AI) engine 124). In some other embodiments, the device 100 does not include the processor 104, such as when all the described functionality is configured in the image signal processor 112.

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

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

[0054] Figure 2 A block diagram of an example processing configuration for applying a blur effect according to one or more aspects of the present disclosure is shown. The processor 104 of the system 200 may communicate with an image signal processor (ISP) 112 via a bidirectional bus and / or separate control and data lines. The processor 104 may control the camera 202 via a camera control block 212 of the ISP 112 to obtain first image data at a first aperture size and second image data at a second aperture size. For example, when the camera 202 is a variable aperture (VA) camera system, the processor 104 may execute a camera application to command the camera 202 to be configured to a first aperture size, obtain first image data from the camera 202, command the camera 202 to be configured to a second aperture size, and obtain second image data from the camera 202. The reconfiguration of the aperture and the obtaining of the first image data and the second image data may occur with little or no change in the scene captured at the first aperture size and at the second aperture size. Example aperture sizes are f / 2.0, f / 2.8, f / 3.2, f / 8.0, etc. A larger aperture value corresponds to a smaller aperture size, and a smaller aperture value corresponds to a larger aperture size. That is, f / 2.0 is a larger aperture size than f / 8.0.

[0055] The image data received from the camera 202 may be processed in one or more blocks 214 of the ISP 112 and provided to the processor 104. The processor 104 may further process the image data to apply effects based on the image data captured at multiple aperture sizes. In some embodiments, blur effects may be applied using image data captured at multiple aperture sizes to provide a more realistic blur effect that more closely resembles a blur effect obtained by a camera lens having a desired aperture size. For example, first image data captured at a first aperture size of f / 2.0 and second image data captured at a second aperture size of f / 2.4 may be used to apply a blur effect of a simulated aperture size of f / 1.4 than could be obtained using image data from a single aperture size.

[0056] The processor 104 may include a focus map generator 222 and a blur application device 224. The focus map generator 222 may determine a desired amount of focus for a portion of a scene, wherein the amount of focus is determined to match a blur effect of a desired aperture size. The focus map may be based on a depth map describing the distance of objects in the scene from the camera 202. The depth map may be determined based on image data obtained at two or more aperture sizes. The focus map generator 222 provides the focus map to the blur application device 224, which also receives image data collected at two or more aperture sizes. The blur application device 224 determines an output image frame 204 based on the focus map and the image data obtained at various aperture sizes. The output image frame may be stored in the memory 106, which may be later recorded to another memory (such as a non-volatile memory), sent via a network adapter, and / or output to a display device. Although not shown, other logic and memory circuits may be present in the system 200. For example, there may be a buffer between the processor 104 and the ISP 112 or between the ISP 112 and the camera 202. As another example, additional processing circuitry may be present in the processor 104 for applying additional effects (e.g., lighting, color projection, high dynamic range (HDR) merging) to the image data. In some embodiments, the processing circuitry that provides the functionality of the defocus application device 224 may be reconfigured to provide the functionality of the additional effects. In some embodiments, the processing circuitry that provides the functionality of the focus map generator 222 and / or the defocus application device 224 may be embedded in a different component, such as the ISP 112, a DSP, an ASIC, or other custom logic circuitry.

[0057] Figure 2 The system 200 may be configured to perform reference Figure 3 The operations described are to determine the output image frame. Figure 3A flow chart of an example method for applying a blur effect using a variable aperture (VA) camera system according to one or more aspects of the present disclosure is shown. The method 300 includes receiving first image data and second image data captured at a first aperture size and a second aperture size, respectively, at block 302. The first image data and the second image data may represent the same scene, such as by being captured in close temporal proximity (such as sequentially) from the same or similar viewpoints, such that objects in the scene are at the same or similar locations in the first image data and the second image data.

[0058] The first image data and the second image data may be captured by a variable aperture (VA) camera system. In a variable aperture (VA) camera system, block 302 may include configuring a camera 202 having a first aperture size to obtain the first image data and then configuring a camera 202 having a second aperture size to obtain the second image data. In other camera systems having multiple fixed aperture sizes, block 302 may include capturing image data from multiple cameras each having a different aperture size. Capturing image data from a single camera system having variable aperture (VA) capabilities or other techniques for adjusting the amount of light reaching the image sensor may be superior to multiple camera systems. For example, multiple camera systems may have different fields of view, different alignments, and different light and color sensitivities. These differences may need to be compensated before merging the image data from multiple camera systems. When image data is obtained from a single camera system, these alignment and other challenges may be reduced or avoided.

[0059] At block 304, a depth map is determined. The depth map may be a set of values, such as arranged into one or more arrays (e.g., matrices or tables), where each value represents a portion of a scene and one or more pixels in the portion of the scene. Thus, image data organized in image frames of N×M pixels may have a corresponding depth map of K×L values, where N is an integer multiple of K and M is an integer multiple of L. The values ​​indicate the distance between the image sensor recording the image data and an object in the first scene. The depth map may be determined from the first image data and the second image data received at block 302, such as by reference to FIG. Figure 4 , Figure 5 , Figure 6 or Figure 7 For example, the depth map may be a blur map indicating an amount of blur for a corresponding portion of the scene. A depth map as described with respect to block 304 may include any representation of depth, regardless of whether the units of the values ​​in the depth map are distances.

[0060] At block 306, a focus map may be determined based on the depth map and the simulated aperture size. The simulated aperture size may be an expected aperture size for representing a scene and may be input by a user into a camera application executing on processor 104. The focus map may use predetermined information about the camera system at the simulated aperture size reflecting the sharpness of an image at various depths. The values ​​in the depth map may be combined with the predetermined information to determine a focus map value indicating an amount of blur at the simulated aperture size for a corresponding distance in the depth map between the image sensor and an object in the scene.

[0061] At box 308, an output image frame is determined from the focus map and the first image data. For example, the output image frame can be determined by applying a blur algorithm to the first image data with a blur strength based on the corresponding portion of the focus map. In some embodiments, the output image frame is also based on the second image data. For example, the output image frame can be determined by blending the first image data with the corresponding data of the second image data based on the focus map, wherein the weights assigned to the first image data and the second image data in the blending are based on the focus map. The resulting output image frame includes a portion blurred based on the focus map to obtain a photo corresponding to a simulated aperture size. The blurred portion can provide the photo with a blurred appearance reflecting the lens having an aperture size different from either the first aperture size or the second aperture size of box 402. The larger aperture size can be larger than the aperture size obtainable by the camera system that obtains the first image data and the second image data, thereby allowing image characteristics similar to those of a more expensive, larger camera system to be obtained without increasing the cost and size of a higher aperture camera system.

[0062] Figure 3 Some embodiments of the image processing described in Figure 4 Describes the image-based contrast calculation. Figure 4 A flow chart of an example method for applying a blur effect using a sharpness value according to one or more aspects of the present disclosure is shown. Figure 5 An example is shown in Figure 4 Block diagram of image data processing. Figure 5 A block diagram is shown of an example processing configuration for applying a blur effect using sharpness values ​​in accordance with one or more aspects of the present disclosure.

[0063] The method 400 includes receiving, at block 402, first image data 502 captured at a first aperture size and second image data 504 captured at a second aperture size. Figure 3As described in block 302 of method 400, the first image data and the second image data may be received after being captured. The processing of method 400 may be performed in real time with the capture of the first image data and the second image data to generate, for example, a preview image on a display. The processing of method 400 may also or alternatively be performed on the image capture device and / or after the first image data and the second image data are captured by a remote device.

[0064] At box 404, a blurriness map is determined based on the first sharpness of the first image data and the second sharpness of the second image data. The blurriness map may indicate the depth of the object from the camera. The first sharpness may be a first sharpness map 512 determined from the first image data 502, and the second sharpness may be a second sharpness map 514 determined from the second image data 504. Similar to the depth map described above, image data organized in image frames of N×M pixels may have a corresponding sharpness map of K×L values, where N is an integer multiple of K and M is an integer multiple of L. The values ​​in the sharpness map may indicate the distance between the image sensor recording the image data and an object in the first scene, because portions of the scene closer to the focus of the camera are sharper. Sharpness may measure the level of clarity of image detail. In some embodiments, sharpness may be determined as a function of its Laplacian, normalized by the local average brightness in the surrounding pixels according to the following equation:

[0065]

[0066] where μ xy represents the average brightness around pixel (x, y). In some embodiments, the blurriness map may be normalized to a value such as between 0 and 100, where higher values ​​indicate lower blurriness. In some embodiments, the blurriness map value may be calculated from the clarity map value according to the following equation:

[0067] Blur = 100-abs(SH1-SH2),

[0068] Where SH1 is the sharpness value of the small aperture image data, and SH2 is the sharpness value of the corresponding large aperture image data. Due to the shallow DOF with a larger aperture size, the image data obtained at the larger aperture size can be sharp in the desired individual portion, while in contrast, the image data obtained at the smaller aperture size has a larger portion with higher sharpness. The blur analyzer determines the blur map 516 from the first sharpness map 512 and the second sharpness map 514.

[0069] At block 406, a focus map may be determined based on the blurriness map and the blurriness lookup table. The focus map generator 224 may receive the blurriness map 516 and the blurriness lookup table (LUT) 518 (or other predetermined relationship between aperture size and depth). The LUT 518 may provide relationships 518A and 518B that map blurriness to depth for different aperture sizes. Relationship 518A may correspond to a smaller aperture size than relationship 518B based on its lower blurriness at higher depths. The LUT 518 may include one or more relationships that may be stored as a table, but the predetermined relationships may alternatively or additionally be stored as representative equations. The focus map generator 224 determines the focus map 520 by mapping the blurriness map to the focus map using the relationship in the LUT 518 that corresponds to the simulated aperture size. In some embodiments, the relationship for the simulated aperture size may not exist in the LUT 518, and the relationship may instead be interpolated or otherwise estimated from other relationships that exist in the LUT 518.

[0070] At box 408, the first image data 502 and the second image data 504 may be blended by the blur application device 222 based on the focus map 520 to determine an output image frame. The output image frame 204 may be a photograph or a video sequence with a background (e.g., blur) blur corresponding to the simulated aperture size. The blending may apply a heavier weight to the large aperture image data of the background portion based on a larger focus map score, and the blending may apply a heavier weight to the small aperture image data of the foreground (or individual) portion based on a smaller focus map score. Although the processing of two image data at two aperture sizes is described for generating separate output image frames, the processing may similarly involve three or more image data at additional aperture sizes.

[0071] Figure 3 Some embodiments of the image processing described in Figure 6 Describes machine learning-based computations. Figure 6 A flow chart of an example method for applying a blur effect via a variable aperture (VA) camera system using machine learning in accordance with one or more aspects of the present disclosure is shown. Figure 7 An example is shown in Figure 6 Block diagram of image data processing. Figure 7 A block diagram is shown of an example processing configuration for applying a blur effect using machine learning in accordance with one or more aspects of the present disclosure.

[0072] The method 600 includes receiving, at block 602, first image data 502 captured at a first aperture size and second image data 504 captured at a second aperture size. Figure 3As described in block 302 of , the first image data and the second image data may be received as streaming data during capture from the camera system. The processing of method 600 may be performed in real time with the capture of the first image data and the second image data to generate, for example, a preview image on a display. The processing of method 600 may also or alternatively be performed on the image capture device and / or after the first image data and the second image data are captured by a remote device.

[0073] At box 604, a blur kernel size map is determined based on a machine learning analysis in a pre-trained artificial intelligence (AI) model 710 of the first image data 502 and the second image data 504. The blur kernel size map may indicate the depth of the object from the camera. The blur kernel may be a small matrix of values ​​representing the blur applied to a portion of the image data. The AI ​​model may be trained using images captured at different aperture sizes to prepare an offline model. The model may be applied to the image data 502 and 504 to determine representative blur kernel sizes for different portions of the image data. Similar to the depth map described above, image data organized in an image frame of N×M pixels may have a corresponding blur kernel size map of K×L values, where N is an integer multiple of K and M is an integer multiple of L. The values ​​in the blur kernel size map may indicate the distance between the image sensor recording the image data and an object in the first scene, because portions of the scene closer to the focus of the camera have smaller blur kernel sizes. In some embodiments, the AI ​​model 710 is a Resnet-34 model.

[0074] At block 606, a focus map may be determined based on the blur kernel size map and the blur kernel size lookup table. The focus map generator 224 may receive the blur kernel size map 716 and the blur kernel size lookup table (LUT) 718 (or other predetermined relationship between aperture size and depth). The LUT 718 may provide relationships 718A and 718B that map blur kernel size to depth for different aperture sizes. The relationship 718A may correspond to a smaller aperture size of the relationship 718B based on its smaller blur kernel size at a higher depth. The LUT 718 may include one or more relationships, which may be stored as a table, but the predetermined relationship may alternatively or additionally be stored as a representative equation. The focus map generator 224 maps the blur kernel size map 716 to the focus map 520 using the relationship of the LUT 718 corresponding to the simulated aperture size, thereby determining the focus map 520. In some embodiments, the relationship for the simulated aperture size may not exist in the LUT 718, and the relationship may instead be interpolated or otherwise estimated from other relationships present in the LUT 718. For example, predetermined data may be available for aperture sizes of f / 2.0 and f / 2.4, and when the user selects a simulated aperture size of f / 1.4, the predetermined data for f / 2.0 and f / 2.4 may be interpolated to obtain the relationship for f / 1.4.

[0075] At box 608, the first image data 502 and the second image data 504 may be blended by the blur application device 222 based on the focus map 520 to determine an output image frame. The output image frame 204 may be a photograph or a video sequence with a background (e.g., blur) blur corresponding to the simulated aperture size. The blending may apply a heavier weight to the large aperture image data of the background portion based on a larger focus map score, and the blending may apply a heavier weight to the small aperture image data of the foreground (or individual) portion based on a smaller focus map score. Although the processing of two image data at two aperture sizes is described for generating separate output image frames, the processing may similarly involve three or more image data at additional aperture sizes.

[0076] The blurring effect applied according to the above-described embodiments using the focus map 520 and a predetermined relationship (such as lookup tables 518 and 718) provides a blurring that looks more natural. Based in part on the predetermined relationship, the blurring looks closer to the blur naturally produced by an optical lens with a large aperture. Conventional blurring effects may assume a linear relationship between blur and the depth of focus from the camera. However, optical lenses typically have nonlinear characteristics, as shown in relationships 518A, 518B, 718A, and 718B. Therefore, the predetermined data provides a more realistic natural blurring effect. In addition, the focus map generated by the image data captured at two different aperture sizes provides a more accurate representation of the depth of objects in the scene, thereby allowing a more realistic application of the blurring effect.

[0077] In one or more aspects, techniques for supporting image processing may include additional aspects, such as any single aspect or any combination of aspects described below or in combination with one or more other processes or devices described elsewhere herein. In a first aspect, supporting image processing may include an apparatus configured to perform operations including: receiving first image data captured at a first aperture size and second image data captured at a second aperture size, each of the first image data and the second image data representing a first scene; determining a depth map corresponding to the first scene based on the first image data and the second image data, the depth map including a first value indicating a distance between an image sensor recording the first image data and an object in the first scene; determining a focus map based on the depth map and a simulated aperture size different from the first aperture size and the second aperture size, the focus map including a second value indicating an amount of blur at the simulated aperture size for a corresponding distance between the image sensor recording the first image data and the object in the first scene; and determining an output image frame based on the focus map, the first image data, and the second image data. Additionally, the apparatus may perform or operate according to one or more aspects as described below. In some specific implementations, the apparatus includes a wireless device, such as a UE or a BS. In some specific implementations, the apparatus may include at least one processor and a memory coupled to the processor. The processor may be configured to perform the operations described herein with respect to the apparatus. In some other specific 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 enable the computer to perform the operations described herein with reference to the apparatus. In some specific implementations, the apparatus may include one or more components configured to perform the operations described herein. In some specific implementations, the wireless communication method may include one or more operations described herein with reference to the apparatus.

[0078] In a second aspect, in combination with the first aspect, determining the depth map includes determining a blur map corresponding to the first scene based on the first image data and the second image data.

[0079] In a third aspect, in combination with one or more of the first aspect or the second aspect, determining the blur map includes determining a first clarity value of the first image data and determining a second clarity value of the second image data, wherein the blur map includes blur values ​​based on the first clarity value and the second clarity value.

[0080] In a fourth aspect, in combination with one or more aspects of the first to third aspects, determining the blur map includes determining a blur kernel size value corresponding to the distance between the image sensor recording the first image data and the object in the first scene based on supervised machine learning.

[0081] In a fifth aspect, in combination with one or more of the first to fourth aspects, determining the focus map includes determining the second value based on the depth map and a predetermined relationship between depth and blur.

[0082] In a sixth aspect, in combination with one or more of the first to fifth aspects, the image sensor is configured as a variable aperture (VA) camera system.

[0083] In a seventh aspect, in combination with one or more of the first to sixth aspects, the image sensor captures the first image data and the second image data.

[0084] In the eighth aspect, in combination with one or more aspects of the first to seventh aspects, determining the depth map includes determining a blur map, determining the blur map includes determining a first clarity value of the first image data and determining a second clarity value of the second image data, wherein the blur map includes blur values ​​based on the first clarity value and the second clarity value.

[0085] In a ninth aspect, in combination with one or more of the first to eighth aspects, determining the focus map comprises determining the focus map based on the blur map and a predetermined relationship between aperture size and depth.

[0086] In a tenth aspect, in combination with one or more of the first to ninth aspects, determining the output image frame includes blending corresponding data of the first image data and the second image data based on the focus map.

[0087] In the eleventh aspect, in combination with one or more aspects of the first to tenth aspects, determining the output image frame includes determining the output image frame including a portion blurred based on the focus map to obtain a photo corresponding to the simulated aperture size.

[0088] In a twelfth aspect, in combination with one or more of the first to eleventh aspects, determining the depth map includes determining a blur kernel size value based on supervised machine learning.

[0089] In a thirteenth aspect, in combination with one or more of the first to twelfth aspects, determining the focus map includes determining the focus map based on the blur kernel size value and a predetermined relationship between the blur kernel size and the depth.

[0090] In a fourteenth aspect, in combination with one or more of the first to thirteenth aspects, determining the output image frame includes blending corresponding data of the first image data and the second image data based on the focus map.

[0091] In the fifteenth aspect, in combination with one or more aspects of the first to fourteenth aspects, determining the output image frame includes determining an output image frame including a portion blurred based on the focus map to obtain a photo corresponding to a simulated aperture size.

[0092] In the sixteenth aspect, in combination with one or more aspects of the first to fifteenth aspects, the operation is performed by an image capture device, which includes a variable aperture (VA) camera system, and the variable aperture (VA) camera system is configured to capture the first image data at the first aperture size and capture the second image data at the second aperture size.

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

[0094] This article is 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 and other examples or any combination thereof. Software should be broadly interpreted as meaning instructions, instruction sets, codes, code segments, program codes, programs, subroutines, software modules, applications, software applications, software packages, routines, subroutines, objects, executable files, threads of execution, processes and / or functions, etc., whether referred to as software, firmware, middleware, microcode, hardware description language or other terms. In addition, the features discussed herein can be implemented via a dedicated processor circuit system, via executable instructions or a combination thereof.

[0095] The technician will further understand that the various illustrative logic boxes, modules, circuits and algorithm steps described in conjunction with the disclosure of this article 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 illustrative components, boxes, modules, circuits and steps have been generally described in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints proposed to the entire system. Those skilled in the art can implement the described functionality in different ways for each specific application, but such specific implementation decisions should not be interpreted as causing departure from the scope of the present disclosure. The technician will also easily recognize that the order or combination of components, methods or interactions described herein are merely examples, and the components, methods or interactions of various aspects of the present disclosure can be combined or performed in a manner other than the manner illustrated and described herein.

[0096] The various illustrative logical components, logic blocks, modules, circuits, and algorithmic processes described in conjunction with the specific implementations disclosed herein may be implemented as electronic hardware, computer software, or a combination of the two. The interchangeability of hardware and software has been generally described in terms of functionality and illustrated in the various illustrative components, blocks, modules, circuits, and processes described above. Whether such functionality is implemented in hardware or software depends on the specific application and the design constraints imposed on the overall system.

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

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

[0099] If implemented in software, the function can 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 can be implemented in a processor-executable software module that can reside on a computer-readable medium. Computer-readable media include both computer storage media and communication media, and the communication media include any medium that can be implemented to transfer a computer program from one place to another. The storage medium can 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, magnetic disk storage devices or other magnetic storage devices, or any other medium that can be used to store the desired program code in the form of an instruction or data structure and that a computer can access. In addition, any connection can 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.

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

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

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

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

[0104] 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 comprising components A, B, or C, the composition may comprise A alone; B alone; C alone; A and B in combination; A and C in combination; B and C in combination; or A, B, and C in combination. In addition, as used herein, including in the claims, "or" as used in a list of items beginning with "at least one" indicates a separate list, for example, a list of "at least one of A, B, or C" means A or B or C or AB or AC or BC or ABC (i.e., A and B and C) or any combination of any of these items. The term "substantially" is defined as being largely, 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 .1%, 1%, 5%, or 10%.

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

Claims

1. A method, the method include: receiving first image data captured at a first aperture size and second image data captured at a second aperture size, each of the first image data and the second image data representing a first scene; determining a depth map corresponding to the first scene based on the first image data and the second image data, the depth map comprising first values ​​indicating distances between an image sensor recording the first image data and objects in the first scene; determining a focus map based on the depth map and a simulated aperture size different from the first aperture size and the second aperture size, the focus map including a second value indicating an amount of blur at the simulated aperture size for a corresponding distance between the image sensor recording the first image data and the object in the first scene; as well as An output image frame is determined based on the focus map, the first image data and the second image data. 2 . The method of claim 1 , wherein determining the depth map comprises determining a blur map corresponding to the first scene based on the first image data and the second image data.

3. The method of claim 2, wherein determining the blur map comprises determining a first sharpness value for the first image data and determining a second sharpness value for the second image data, wherein the blur map comprises blur values ​​based on the first sharpness value and the second sharpness value.

4. The method of claim 2, wherein determining the blur map comprises determining a blur kernel size value corresponding to the distance between the image sensor recording the first image data and the object in the first scene based on supervised machine learning. 5 . The method of claim 2 , wherein determining the focus map comprises determining the second value based on the depth map and a predetermined relationship between depth and blur. 6 . The method of claim 1 , wherein the image sensor captures the first image data and the second image data, and wherein the image sensor is configured as a variable aperture (VA) camera system.

7. The method according to claim 6, in: determining the depth map comprises determining a blurriness map, determining the blurriness map comprises determining a first sharpness value for the first image data and determining a second sharpness value for the second image data, wherein the blurriness map comprises blurriness values ​​based on the first sharpness value and the second sharpness value; Determining the focus map includes determining the focus map based on the blur map and a predetermined relationship between aperture size and depth; as well as Determining the output image frame includes blending the first image data with corresponding data of the second image data based on the focus map. 8 . The method of claim 7 , wherein determining the output image frame comprises determining the output image frame including a portion blurred based on the focus map to obtain a photograph corresponding to the simulated aperture size.

9. The method according to claim 6, in: Determining the depth map includes determining a blur kernel size value based on supervised machine learning; Determining the focus map includes determining the focus map based on the blur kernel size value and a predetermined relationship between blur kernel size and depth; as well as Determining the output image frame includes blending the first image data with corresponding data of the second image data based on the focus map. 10 . The method of claim 9 , wherein determining the output image frame comprises determining the output image frame including a portion blurred based on the focus map to obtain a photograph corresponding to the simulated aperture size.

11. A device, wherein the device include: a memory storing processor readable code; as well as at least one processor coupled to the memory, the at least one processor configured to execute the processor readable code to cause the at least one processor to perform operations including: receiving first image data captured at a first aperture size and second image data captured at a second aperture size, each of the first image data and the second image data representing a first scene; determining a depth map corresponding to the first scene based on the first image data and the second image data, the depth map comprising first values ​​indicating distances between an image sensor recording the first image data and objects in the first scene; determining a focus map based on the depth map and a simulated aperture size different from the first aperture size and the second aperture size, the focus map including a second value indicating an amount of blur at the simulated aperture size for a corresponding distance between the image sensor recording the first image data and the object in the first scene; as well as An output image frame is determined based on the focus map, the first image data and the second image data. 12 . The apparatus of claim 11 , wherein determining the depth map comprises determining a blur map corresponding to the first scene based on the first image data and the second image data.

13. The apparatus of claim 12, wherein determining the blur map comprises determining a first sharpness value for the first image data and determining a second sharpness value for the second image data, wherein the blur map comprises blur values ​​based on the first sharpness value and the second sharpness value.

14. The apparatus of claim 12, wherein determining the blur map comprises determining a blur kernel size value corresponding to the distance between the image sensor recording the first image data and the object in the first scene based on supervised machine learning.

15. The apparatus of claim 12, wherein determining the focus map comprises determining the second value based on the depth map and a predetermined relationship between depth and blur.

16. The apparatus of claim 11, further comprising a variable aperture (VA) camera system configured to capture the first image data at the first aperture size and to capture the second image data at the second aperture size.

17. The device according to claim 16, in: determining the depth map comprises determining a blurriness map, determining the blurriness map comprises determining a first sharpness value for the first image data and determining a second sharpness value for the second image data, wherein the blurriness map comprises blurriness values ​​based on the first sharpness value and the second sharpness value; Determining the focus map includes determining the focus map based on the blur map and a predetermined relationship between aperture size and depth; as well as Determining the output image frame includes blending the first image data with corresponding data of the second image data based on the focus map.

18. The apparatus of claim 17, wherein determining the output image frame comprises determining the output image frame including a portion blurred based on the focus map to obtain a photograph corresponding to the simulated aperture size.

19. The device according to claim 16, in: Determining the depth map includes determining a blur kernel size value based on supervised machine learning; Determining the focus map includes determining the focus map based on the blur kernel size value and a predetermined relationship between blur kernel size and depth; as well as Determining the output image frame includes blending the first image data with corresponding data of the second image data based on the focus map.

20. The apparatus of claim 19, wherein determining the output image frame comprises determining the output image frame including a portion blurred based on the focus map to obtain a photograph corresponding to the simulated aperture size.

21. A non-transitory computer readable medium storing instructions that, when executed by a processor, cause the processor to perform operations comprising: receiving first image data captured at a first aperture size and second image data captured at a second aperture size, each of the first image data and the second image data representing a first scene; determining a depth map corresponding to the first scene based on the first image data and the second image data, the depth map comprising first values ​​indicating distances between an image sensor recording the first image data and objects in the first scene; determining a focus map based on the depth map and a simulated aperture size different from the first aperture size and the second aperture size, the focus map including a second value indicating an amount of blur at the simulated aperture size for a corresponding distance between the image sensor recording the first image data and the object in the first scene; as well as An output image frame is determined based on the focus map, the first image data and the second image data.

22. The non-transitory computer-readable medium of claim 21, wherein determining the depth map comprises determining a blur map corresponding to the first scene based on the first image data and the second image data.

23. The non-transitory computer-readable medium of claim 22, wherein determining the blur map comprises determining a first sharpness value for the first image data and determining a second sharpness value for the second image data, wherein the blur map comprises blur values ​​based on the first sharpness value and the second sharpness value.

24. The non-transitory computer-readable medium of claim 22, wherein determining the blur map comprises determining a blur kernel size value corresponding to the distance between the image sensor that recorded the first image data and the object in the first scene based on supervised machine learning.

25. The non-transitory computer readable medium of claim 22, wherein determining the focus map comprises determining the second value based on the depth map and a predetermined relationship between depth and blur.

26. The non-transitory computer readable medium of claim 21, wherein the image sensor captures the first image data and the second image data, and wherein the image sensor is configured as a variable aperture (VA) camera system.

27. The non-transitory computer readable medium of claim 26, in: determining the depth map comprises determining a blurriness map, determining the blurriness map comprises determining a first sharpness value for the first image data and determining a second sharpness value for the second image data, wherein the blurriness map comprises blurriness values ​​based on the first sharpness value and the second sharpness value; Determining the focus map includes determining the focus map based on the blur map and a predetermined relationship between aperture size and depth; as well as Determining the output image frame includes blending the first image data with corresponding data of the second image data based on the focus map.

28. The non-transitory computer-readable medium of claim 27, wherein determining the output image frame comprises determining the output image frame including a portion blurred based on the focus map to obtain a photograph corresponding to the simulated aperture size.

29. The non-transitory computer readable medium of claim 26, in: Determining the depth map includes determining a blur kernel size value based on supervised machine learning; Determining the focus map includes determining the focus map based on the blur kernel size value and a predetermined relationship between blur kernel size and depth; as well as Determining the output image frame includes blending the first image data with corresponding data of the second image data based on the focus map.

30. The non-transitory computer-readable medium of claim 29, wherein determining the output image frame comprises determining the output image frame including a portion blurred based on the focus map to obtain a photograph corresponding to the simulated aperture size.