Method and apparatus employing phase detection auto focus (PDAF) optical system

By dynamically adjusting the focusing pixel density and configuration of the image sensor, the problem of focusing density mismatch in PDAF technology is solved, the focusing performance on the area of ​​interest is improved, and information waste and artifacts are reduced.

CN118695093APending Publication Date: 2024-09-24QUALCOMM INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411028908.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2020-04-27
Filing Date
2021-03-23
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In existing phase detection autofocus (PDAF) technology, the fixed arrangement of focusing pixels results in a mismatch in the focusing density of the image sensor in different areas, making it impossible to accurately detect textures or edges in areas of interest, and may lead to information waste and artifacts.

Method used

By dynamically adjusting the focus pixel density of the image sensor, determining areas of interest and non-interest areas based on scene analysis, dynamically configuring pixels as focus pixels or imaging pixels, and adjusting the focus direction to improve the accuracy and effectiveness of focus data.

Benefits of technology

It improves the focusing performance of the image sensor in different areas, reduces information waste, enhances the detection ability of focused data in areas of interest, and reduces the possibility of artifacts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118695093A
    Figure CN118695093A
Patent Text Reader

Abstract

Apparatuses and methods employing a PDAF optical system are disclosed herein. An example apparatus includes an image sensor including a plurality of pixels. The plurality of pixels includes a set of pixels that may be configured as imaging pixels or focusing pixels. The image sensor is configured to generate image data of the scene based on the received light at the plurality of pixels. The processor may be configured to: receive first image data of a first frame of a scene; determining at least one region of interest or non-region of interest of the first frame; selecting a subset of the set of pixels to be focused pixels based on the determined at least one region of interest or non-region of interest; and causing the selected subset of the set of pixels to operate as focused pixels.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the Chinese invention patent application with application number 202180028726.4.

[0002] CROSS-REFERENCE TO RELATED APPLICATIONS

[0003] This application claims the benefit of U.S. Patent Application No. 16 / 859,821, filed on April 27, 2020, and entitled “METHODS AND APPARATUS EMPLOYING A PHASE DETECTION AUTOFOCUS (PDAF) OPTICAL SYSTEM,” the entire contents of which are expressly incorporated herein by reference. Technical Field

[0004] Generally speaking, the present disclosure relates to phase detection autofocus (PDAF), and more particularly, the present disclosure relates to methods and apparatus employing PDAF optical systems. Background Art

[0005] Image capture devices, such as digital cameras and mobile devices (e.g., smart phones, tablet devices, laptop computers, etc.), include an imaging system that includes an image sensor positioned downstream of one or more optical components. Typical optical components may include one or more lenses and an aperture. The optical components direct light from a scene onto the image sensor. A processor processes the data captured by the image sensor to record an image. In order to record a clear image, the optical components focus light from the scene onto the image sensor. If the light is out of focus on the plane of the image sensor, the image sensor may capture a blurry image.

[0006] Some image capture devices use phase detection autofocus (PDAF) pixels to perform autofocus. An image capture device may include an image sensor that includes a pixel array. The pixel array may include one or more imaging pixels and one or more focusing pixels (also referred to as "phase detection pixels") arranged in a pattern. There is a need for improved autofocus techniques, including techniques implemented using combined image sensors (e.g., image sensors that include imaging pixels and focusing pixels). Summary of the invention

[0007] A brief summary of one or more aspects is given below to provide a basic understanding of such aspects. This summary is not an extensive overview of all contemplated aspects, and is neither intended to identify key or essential elements of all aspects, nor to delineate the scope of any or all aspects. Its sole purpose is to present some concepts of one or more aspects in a simplified form as a prelude to a more detailed description presented later.

[0008] In one aspect of the present disclosure, a method, a computer-readable medium, and an apparatus are provided. An example apparatus includes an image sensor and a processor coupled to the image sensor. The example image sensor may include a plurality of pixels, the plurality of pixels including a set of pixels that may be configured as imaging pixels or focusing pixels. The example image sensor may be configured to generate first image data of a scene based on received light at the plurality of pixels. The example processor may be configured to receive first image data of a first frame of the scene. The example processor may be configured to determine at least one region of interest or region of non-interest of the first frame. The example processor may be configured to select a subset of the set of pixels to be focused pixels based on the determined at least one region of interest or region of non-interest, and the example processor may be configured to cause the selected subset of the set of pixels to operate as focused pixels.

[0009] In another aspect, the disclosed technology includes a method for operation of autofocus. The example method includes: receiving first image data of a first frame of a scene from an image sensor. In some examples, the image sensor may include a plurality of pixels, the plurality of pixels including a set of pixels that may be configured as imaging pixels or focusing pixels. In some examples, the image sensor may be configured to generate first image data of the scene based on received light at the plurality of pixels. The example method also includes: determining at least one region of interest or region of non-interest of the first frame. In addition, the example method includes: selecting a subset of the set of pixels to be focused pixels based on the determined at least one region of interest or region of non-interest. Further, the example method includes: causing the selected subset of the set of pixels to operate as focused pixels.

[0010] In another aspect, the disclosed technology includes an apparatus for performing autofocus. The example apparatus includes: a unit for receiving first image data of a first frame of a scene from an image sensor. In some examples, the image sensor may include a plurality of pixels, the plurality of pixels including a set of pixels that may be configured as imaging pixels or focusing pixels. In some examples, the image sensor may be configured to generate first image data of the scene based on received light at the plurality of pixels. The example apparatus also includes: a unit for determining at least one region of interest or region of non-interest of the first frame. In addition, the example apparatus includes: a unit for selecting a subset of the pixel set to be the focusing pixels based on the determined at least one region of interest or region of non-interest. Further, the example apparatus includes: a unit for causing the selected subset of the pixel set to operate as the focusing pixels.

[0011] To accomplish the foregoing and related ends, one or more aspects include features hereinafter fully described and particularly pointed out in the claims. The following description and the accompanying drawings set forth in detail certain illustrative features of one or more aspects. However, these features are indicative of only some of the various ways in which the principles of the various aspects may be employed, and this description is intended to include all such aspects and their equivalents. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 An example image sensor including sparsely focused pixels that can be used to perform PDAF is shown.

[0013] Figure 2 is a block diagram illustrating an example content generation system in accordance with one or more techniques of this disclosure.

[0014] Figure 3 A side view of an example configurable pixel of an image sensor illustrating one or more techniques of the present disclosure.

[0015] Figure 4A and 4B A top view of a configurable pixel illustrating one or more techniques of the present disclosure is shown.

[0016] Figures 5A to 5F A top view showing the focus orientation for a configurable pixel in accordance with one or more techniques of the present disclosure, wherein an opaque conversion material is divided into four independently controllable portions.

[0017] Figure 6 is a block diagram of an image processor in accordance with one or more techniques of this disclosure.

[0018] Figure 7 Example images depicting one or more techniques of this disclosure.

[0019] Figure 8 A region of interest including multiple levels of texture in accordance with one or more techniques of the present disclosure is depicted.

[0020] Fig. 9 An example image including an identified region of interest is depicted that embodies one or more techniques of the present disclosure.

[0021] Fig.10 A portion of an image sensor including a pixel array is shown in accordance with one or more techniques of the present disclosure.

[0022] Figures 11 to 15 One or more techniques of the present disclosure may be Figure 2 An example flowchart of an example method implemented by an example device. DETAILED DESCRIPTION

[0023] 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 represent the only configuration in which the concepts described herein may be practiced. For the purpose of providing a thorough understanding of the various concepts, the detailed description includes specific details. However, it will be apparent to those skilled in the art that these concepts may be practiced without these specific details. In some instances, well-known structures and components are shown in the form of block diagrams in order to avoid obscuring such concepts.

[0024] The following is a more complete description of various aspects of the system, device, computer program product and method with reference to the accompanying drawings. However, the present disclosure can be embodied in many different forms, and should not be interpreted as being limited to any specific structure or function presented throughout the present disclosure. Instead, these aspects are provided so that the present disclosure will be comprehensive and complete, and the scope of the present disclosure will be fully conveyed to those skilled in the art. Based on the teachings of this article, it should be appreciated by those skilled in the art that the scope of the present disclosure is intended to cover any aspect of the system, device, computer program product and method disclosed herein, whether the aspect is implemented independently of other aspects of the present disclosure or implemented in combination with it. For example, using any number of aspects set forth herein, a device can be implemented or a method can be practiced. In addition, the scope of the present disclosure is intended to cover such a device or method practiced using other structures, functions or structures and functions other than or different from the various aspects of the present disclosure set forth herein. Any aspect disclosed herein can be implemented by one or more elements of the claims.

[0025] Although various aspects are described herein, many variations and permutations of these aspects fall within the scope of the present disclosure. Although some potential benefits and advantages of various aspects of the present disclosure are mentioned, the scope of the present disclosure is not intended to be limited to specific benefits, uses or goals. Instead, various aspects of the present disclosure are intended to be widely applicable to different wireless technologies, system configurations, networks and transmission protocols, some of which are illustrated by way of example in the drawings and the description below. The specific embodiments and drawings are merely illustrative of the present disclosure and are not limiting, and the scope of the present disclosure is defined by the appended claims and their equivalents.

[0026] Several aspects will now be presented with reference to various devices and methods. These devices and methods will be described in the detailed description below and illustrated in the accompanying drawings by various blocks, components, circuits, processes, algorithms, etc. (collectively referred to as "elements"). These elements can be implemented using electronic hardware, computer software, or any combination thereof. Whether such elements are implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system.

[0027] For example, an element, or any part of an element, or any combination of elements may be implemented as a "processing system" that includes one or more processors (which may also be referred to as a processing unit). Examples of processors include: microprocessors, microcontrollers, graphics processing units (GPUs), general purpose GPUs (GPGPUs), central processing units (CPUs), application processors, image signal processors (ISPs), digital signal processors (DSPs), reduced instruction set computing (RISC) processors, systems on chip (SoCs), baseband processors, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), programmable logic devices (PLDs), state machines, gated logic, discrete hardware circuits, and other suitable hardware configured to perform various functions described throughout the present disclosure. One or more processors in a processing system may execute software. Whether referred to as software, firmware, middleware, microcode, hardware description language, or other names, software should be broadly interpreted as meaning instructions, instruction sets, codes, code segments, program codes, programs, subroutines, software components, applications, software applications, software packages, routines, subroutines, objects, executable files, threads of execution, processes, functions, etc. The term application may refer to software. As described herein, one or more technologies may refer to an application, i.e., software, configured to perform one or more functions. In such an example, the application may be stored on a memory, such as an on-chip memory of a processor, a system memory, or any other memory. The hardware described herein, such as a processor, may be configured to execute an application. For example, an application may be described as including a code that causes the hardware to perform one or more technologies described herein when executed by hardware. As an example, the hardware may access code from a memory and execute code accessed from the memory to perform one or more technologies described herein. In some examples, components are identified in the present disclosure. In such an example, a component may be hardware, software, or a combination thereof. A component may be a separate component or a subcomponent of a single component.

[0028] Accordingly, in one or more example configurations described herein, the described functions can be implemented with hardware, software, or any combination thereof. If implemented with software, the functions can be stored on a computer-readable medium or encoded as one or more instructions or codes on a computer-readable medium as one or more instructions or codes. Computer-readable media include computer storage media. Storage media can be any available medium that can be accessed by a computer. By way of example and not limitation, such computer-readable media can include random access memory (RAM), read-only memory (ROM), electrically erasable programmable ROM (EEPROM), optical disk storage, magnetic disk storage, other magnetic storage devices, a combination of computer-readable media of the above types, or any other medium that can be used to store computer executable code that can be accessed by a computer in the form of instructions or data structures.

[0029] Phase detection autofocus (PDAF) technology is based on measuring the offset (or phase difference) between two images generated using different asymmetric optical apertures. The magnitude and sign of the calculated phase can be related to the amount of defocus, which can be used to estimate the lens shift required for optimal focus.

[0030] There may be many different types of focus pixel patterns and / or arrangements that may be included in an image sensor. Figure 1 An example image sensor 100 including sparse focused pixels that can be used to perform PDAF is shown. An array 102 of pixels 104 can include one or more focused pixels 106 that are shielded (e.g., using a metal shield) that can be used to create a left image or a right image for use in PDAF. For example, in some examples using sparse PDAF with metal shielding, 1% to 3% of the pixels 104 can be dedicated to left / right PDAF. On each of the focused pixels 106, a metal shield 108 is located between the photodiode and a microlens (sometimes referred to as a "u-lens," "on-chip lens," or "OCL") that creates an effective asymmetric aperture by blocking light at a specific interception angle, thereby allowing capture of left or right image information for PDAF purposes. The microlens can be used to increase the sensitivity of the underlying photodiode to light. For imaging purposes, the value of the focused pixel 106 can be replaced by interpolation of the surrounding pixels, similar to how a defective pixel can be corrected.

[0031] It should be appreciated that while the above description of image sensor 100 includes left and right focus pixel pairs, in other examples, image sensor 100 may additionally or alternatively include upper and lower focus pixel pairs. For example, a mask or metal shield of the focus pixels may mask the top and bottom of the corresponding focus pixels, which may generate an upper and lower (or top and bottom) image pair.

[0032] In some examples, the focusing pixels may include dual photodiode (2PD) pixels, where each focusing pixel includes two diodes (e.g., a first photodiode and a second photodiode adjacent to the first photodiode). In some examples, the image sensor 100 may include one or more 2PD focusing pixels, which include a left diode and a right diode. In some such examples, the left diode may generate a left image, and the right diode may generate a right image. In some examples, the image sensor 100 may include all 2PD focusing pixels (e.g., no imaging pixel includes a single photodiode). In some examples, the image sensor 100 may include sparse 2PD focusing pixels. For example, the image sensor 100 may include a pixel array including: a first subset of imaging pixels including a single photodiode, and a second subset of 2PD focusing pixels. In some such examples, the 2PD focusing pixels may be arranged in any manner (e.g., adjacent to each other, spaced apart from each other, etc.). In some examples, the focusing pixels in the pixel array of the image sensor 100 may be left-right focusing pixel pairs or top-bottom focusing pixel pairs. In some examples, the image sensor 100 may include a combination of left-right focusing pixel pairs and top-bottom focusing pixel pairs.

[0033] In some examples, image sensor 100 can include 4PD focusing pixels, where each focusing pixel includes four photodiodes (sometimes referred to as "quad PD" or "QPD" pixels). In some such examples, the 4PD focusing pixels can generate two image pairs (e.g., a left-right image pair and a top-bottom image pair).

[0034] In some examples, image sensor 100 may include all 4PD focusing pixels (e.g., no imaging pixel includes a single photodiode). In some examples, image sensor 100 may include sparse 4PD focusing pixels, such that a subset of focusing pixels of a pixel array of image sensor 100 are 4PD focusing pixels arranged in any manner (e.g., adjacent to each other, spaced apart from each other, etc.). In some such examples, one or more remaining pixels of the pixel array may be imaging pixels and / or 2PD focusing pixels.

[0035] Once an image pair (e.g., a left-right image pair and / or an up-down image pair) is generated for each focused pixel, the images can be compared to each other. For example, the phase difference between the signals generated from the left focused pixel (e.g., the left image) and the right focused pixel (e.g., the right image) can be compared, and the offset (e.g., the phase difference) between the signals can be determined. The offset can be used to estimate the lens shift required for optimal focus.

[0036] While different image sensors may utilize different patterns and / or arrangements of focus pixels, it should be understood that the distribution of such focus pixels within an image sensor is fixed. Therefore, the density of focus pixels that provide focus data (or "phase information") associated with a region of interest in an image for PDAF purposes is also fixed. However, for some regions of interest (ROIs) in an image (e.g., faces, food, and other ROIs that people consider "more important"), the density of corresponding focus pixels may be too low to provide accurate focus data. For other ROIs (e.g., sky, walls, and other ROIs that people consider "low importance"), the density of focus pixels associated with the ROI within the image sensor may be too high and may result in wasted information.

[0037] In some examples, a fixed focus orientation (e.g., left-right or up-down) of a focus pixel may cause textures or edges of an image to not be detected. For example, the focus data provided by a focus pixel with a left-right focus orientation may not detect horizontal textures within a region of interest. In some examples, if a region of interest includes an area of ​​non-interest (such as a saturated area), the focus data provided by the focus pixel corresponding to the area of ​​non-interest may not provide useful information. In some examples, a fixed pattern and / or arrangement of focus pixels may cause artifacts when applying denoising techniques.

[0038] In general, example techniques disclosed herein are directed to adjusting a focus pixel of an image sensor based on an analysis of a scene. For example, the disclosed techniques utilize an image sensor having a plurality of pixels, the plurality of pixels comprising a set of pixels that can be configured to operate as a focus pixel or an imaging pixel. For example, a configurable pixel may include a photodiode and an opaque conversion material located above the photodiode. The opaque conversion material may include a first opaque conversion material portion disposed above a first segment of the photodiode and a second opaque conversion material portion disposed above a second segment of the photodiode, and wherein the first opaque conversion material portion and the second opaque conversion material portion may be independently configured to be opaque or transparent. In some such examples, when one of the first opaque conversion material portion or the second opaque conversion material portion is opaque and the other opaque conversion material portion is transparent, the configurable pixel may be configured to operate as a focus pixel. When both opaque conversion material portions are transparent, the configurable pixel may be configured to operate as an imaging pixel.

[0039] When the configurable pixel is configured to operate as an imaging pixel, the corresponding imaging pixel generates imaging data that can be used to capture a scene. When the configurable pixel is configured to operate as a focusing pixel, the corresponding focusing pixel generates focusing data that can be used to perform autofocus. In some examples, when the configurable pixel is configured to operate as a focusing pixel, the corresponding focusing pixel can be configured with a focusing orientation. As described above, the focusing pixels can be arranged in a left-right pattern, wherein the first focusing pixel can be operated as a left focusing pixel and the second focusing pixel can be operated as a right focusing pixel. In other examples, the focusing pixels can be arranged in an up-down pattern, wherein the first focusing pixel can be operated as an upper focusing pixel and the second focusing pixel can be operated as a lower focusing pixel.

[0040] In some examples, the configurable pixel can be dynamically adjusted to operate as an imaging pixel or a focusing pixel based on an analysis of the scene. For example, the disclosed technology can set the configurable pixel to operate as an imaging pixel for a first frame of the scene, and can set the configurable pixel to operate as a focusing pixel for subsequent frames of the scene. In some examples, the disclosed technology can set a first focusing orientation of the configurable pixel for operating as a focusing pixel for a frame, and can set a second focusing orientation of the configurable pixel for subsequent frames of the scene.

[0041] Example techniques disclosed herein include receiving first image data at a processor from an image sensor coupled to the processor, and determining at least one region of interest or region of non-interest based on the first image data. As used herein, a "region of interest" or a "region of non-interest" may generally be referred to as an "identified region." The disclosed techniques may then apply one or more scene analysis techniques to the first image data and the identified region to determine how to adjust the pixel configuration of the image sensor. The disclosed techniques may then adjust the density of focused pixels associated with the identified region within the image sensor based on the determined pixel configuration. For example, the disclosed techniques may increase or decrease the number of focused pixels associated with the identified region to adjust the density of focused pixels within the image sensor.

[0042] In some examples, one or more scene analysis techniques may include performing object detection and / or recognition techniques. For example, the disclosed techniques may process the first image data and detect and / or recognize one or more objects within the identified area. In some examples, the disclosed techniques may increase the density of focused pixels associated with the identified area within the image sensor based on the detected and / or recognized objects. In some examples, the disclosed techniques may additionally or alternatively reduce the density of focused pixels associated with the identified area within the image sensor based on the detected and / or recognized objects. For example, a scene may include: a first identified area including a face, a second identified area including a microphone, and a third identified area including a cup. In some examples, the disclosed techniques may set the density of focused pixels associated with the first identified area to a first density level, may set the density of focused pixels associated with the second identified area to a second density level that is less dense than the first density level, and may set the density of focused pixels associated with the third identified area to a third density level that is less dense than the first density level and the second density level. In some examples, the first density level and the second density level may correspond to increasing the density of focused pixels within the image sensor associated with the corresponding identified areas, while the third density level may correspond to decreasing the density of focused pixels within the image sensor associated with a third identified area.

[0043] In some examples, the disclosed technology can perform focus data orientation detection techniques based on analysis of a scene. For example, in some cases, a texture or edge within a region of interest can be oriented in a particular direction, such as a horizontal direction or a vertical direction. In addition, the corresponding focus pixels associated with the region of interest can be configured in a focus orientation such that the texture or edge can not be detected by the generated focus data. For example, since a phase detection (PD) analysis of the focus data may not be able to determine the offset between the left and right images generated by the left and right focus pixels, respectively, the focus pixels arranged in the left and right focus orientations may not be able to detect horizontal textures.

[0044] The example technology disclosed herein sets a first (or default) focus orientation for a focus pixel associated with a region of interest within an image sensor. The disclosed technology then performs a PD analysis on image data generated by the image sensor when the focus pixel is set at the first focus orientation. If the confidence level output by the PD analysis does not meet the confidence threshold, the disclosed technology can then set a second focus orientation for the focus pixel associated with the region of interest, wherein the second focus orientation is different from the first focus orientation. For example, the disclosed technology can change the focus orientation of the focus pixel associated with the identified region from a left-right focus orientation to an up-down focus orientation. However, if the confidence level meets the confidence threshold, the disclosed technology can then maintain the first focus orientation of the focus pixel. It should be understood that in some examples, focus pixels associated with different regions of interest can be associated with different corresponding focus orientations. In addition, it should be understood that in some examples, the corresponding focus orientations of the respective focus pixels associated with the region of interest can vary.

[0045] The confidence level indicates the likelihood that the focus value calculated for an image is correct. For example, the confidence level (sometimes referred to as a "confidence measure") can be determined based on a spectral analysis of image data corresponding to an edge. Sharper edges have high contrast between adjacent pixels, and spectral analysis shows that sharper edges have non-zero coefficients for high-order frequency components. The confidence level as a function of focal length in an image typically tracks the focus value as a function of focal length (lens position). The confidence level typically has a peak at the focal length where the image is focused, and drops rapidly as the lens position moves away from the focused position. Low light levels or the presence of high-frequency patterns (e.g., closely spaced parallel lines) may reduce the confidence level for the focus value. When the image is severely out of focus, autofocus may select a lens position with a local maximum contrast value, so the confidence level is low. In most cases, under sufficient lighting conditions, the confidence level has a peak when the focus value is accurate. The confidence value can be based on various statistical metrics, such as the mean, variance, standard deviation, or other metrics. In one example, if the statistical analysis reveals that the lens positions selected for the near or far focus ranges include lens positions that are located at considerable distances from each other, the confidence value may be low.

[0046] In some examples, the disclosed technology may perform saturation detection techniques based on analysis of a scene. For example, in some cases, a region of interest may include one or more saturation regions. As used herein, a region is saturated when a digital value output by an image sensor for a corresponding pixel is greater than a saturation threshold. In some examples, the saturation threshold may be a predetermined value. In some examples, the saturation threshold may be a percentage. The information provided by the focused pixels corresponding to the saturation region may not be conducive to autofocus purposes because the information provided may not be used to compare images and determine offsets. The example technology disclosed herein provides a technique for identifying a saturation region within a region of interest. The example technology may then set the density of the focused pixels corresponding to the saturation region within the image sensor to a first density level, and may set the density of the focused pixels corresponding to the remaining region in the region of interest to a second density level greater than the first density level. In some examples, the disclosed technology may set the first density level to zero so that the configurable pixels corresponding to the saturation region are configured to operate as imaging pixels.

[0047] In some examples, the disclosed technology can perform edge detection techniques based on analysis of a scene. In a low-light environment, the image data generated by the image sensor may include a low signal-to-noise ratio (SNR) and / or high noise. In order to improve the quality of such images, some examples apply denoising techniques to the generated image data. For example, for a selected pixel, binning includes averaging the values ​​of two or more nearby pixels (collectively referred to herein as "binned pixels") and using the average value as the value for the selected pixel. However, in some examples, the edge may extend between binned pixels. For example, the region of interest may include the screen of a monitor (e.g., a first object) and the base of the monitor (e.g., a second object). As used herein, "edge" refers to a boundary created by two or more objects (e.g., a boundary between the screen of a display and the base of the display). In some such examples, binned pixels may include pixels located at a position corresponding to the first object and pixels located at a position corresponding to the second object (e.g., pixels corresponding to different objects). Binning or averaging the values ​​of these pixels may skew the average value for the selected pixels, resulting in artifacts and / or incorrect representation of the image.

[0048] Example techniques disclosed herein may apply edge detection techniques to detect edges within a region of interest. If an edge is detected, the disclosed techniques may segment the region of interest and corresponding pixels based on the detected edge. The example techniques may then increase the number of focused pixels associated with the corresponding region of interest portion within the image sensor. By increasing the number of focused pixels associated with the corresponding region of interest portion, the disclosed techniques may facilitate using the focused pixels associated with the corresponding region of interest portion to perform binning for the same corresponding object, thereby reducing (or avoiding) binning of focused pixels across edges and for two or more objects.

[0049] Figure 2 200 is a block diagram showing an example content generation system 200 configured to implement one or more technologies of the present disclosure. The content generation system 200 includes a device 204. As described herein, a device such as the device 204 may refer to any device, apparatus, or system configured to perform one or more technologies described herein. For example, the device may be a server, a base station, a user device, a client device, a station, an access point, a computer (e.g., a personal computer, a desktop computer, a laptop computer, a tablet computer, a computer workstation, or a mainframe computer), a terminal product, an apparatus, a phone, a smart phone, a server, a video game platform or console, a handheld device (e.g., a portable video game device or a personal digital assistant (PDA)), a wearable computing device (e.g., a smart watch, an augmented reality device, or a virtual reality device), a non-wearable device, a display or display device, a television, a television set-top box, an intermediate network device, a digital media player, a video streaming device, a content streaming device, an onboard computer, any mobile device, any device configured to generate graphic content, or any device configured to perform one or more technologies described herein. The processes herein may be described as being performed by a particular component (eg, an ISP), but in further embodiments may be performed using other components (eg, an application processor or CPU) consistent with the disclosed embodiments.

[0050] Device 204 may include one or more components or circuits for performing the various functions described herein. In some examples, one or more components of device 204 may be components of a SOC. Device 204 may include one or more components configured to perform one or more techniques of the present disclosure. In the example shown, device 204 includes processing unit 220, memory 224, and optical system 250. In some examples, the device 204 may include multiple additional or alternative components, such as communication interface 226, transceiver 232, receiver 228, transmitter 230, and display client 231.

[0051] In the example shown, processing unit 220 includes internal memory 221. Processing unit 220 can be configured to perform image processing, such as in image processing pipeline 209. An example implementation of image processing pipeline 299 can facilitate image capture functionality. In some examples, processing unit 220 can additionally or alternatively be configured to perform graphics processing, such as in a graphics processing pipeline and / or non-graphics processing, such as in a compute processing pipeline. An example implementation of a compute processing pipeline can facilitate performing general-purpose operations or non-graphics operations, such as machine learning operations and / or artificial intelligence operations.

[0052] In some examples, processing unit 220 includes an ISP (or application processor) configured to implement image processing pipeline 209. The ISP facilitates controlling image capture functions such as auto focus, auto white balance, and / or auto exposure. In some examples, the ISP may also facilitate performing post-processing functions such as depth mapping and / or bokeh effects. In some examples, the ISP may also facilitate performing cropping, scaling (e.g., scaling to different resolutions), image stitching, image format conversion, color interpolation, color processing, image filtering (e.g., spatial image filtering), lens artifact or defect correction, sharpening, etc.

[0053] In some examples, processing unit 220 may include a display processor for performing one or more display processing techniques on one or more frames generated by processing unit 220 before presentation by display client 231. For example, the display processor may be configured to perform one or more display processing techniques on one or more frames generated by processing unit 220. The display processor may output image data to display client 231 according to an interface protocol (e.g., MIPIDSI (Mobile Industry Processor Interface, Display Serial Interface)).

[0054] Display client 231 may be configured to display or otherwise present frames processed by processing unit 220 (and / or display processor). In some examples, display client 231 may include one or more of the following: a liquid crystal display (LCD), a plasma display, an organic light emitting diode (OLED) display, a projection display device, an augmented reality display device, a virtual reality display device, a head mounted display, or any other type of display device.

[0055] References to display client 231 may refer to one or more displays. For example, display client 231 may include a single display or multiple displays. Display client 231 may include a first display and a second display. In a further example, the result of the image processing may not be displayed on a device. For example, a display may not receive any frames for rendering thereon. Instead, the frames or image processing results may be transmitted to another device. In some examples, transmitting the frames or image processing results to another device may be referred to as split rendering.

[0056] As disclosed above, the display client 231 can be configured according to the MIPIDSI standard. The MIPIDSI standard supports a video mode and a command mode. In an example where the display client 231 is operating in a video mode, the processing unit 220 (and / or the display processor) can continuously refresh the graphics content of the display client 231. For example, the entire graphics content of a frame can be refreshed every refresh cycle (e.g., line by line).

[0057] In an example where the display client 231 is operating in command mode, the processing unit 220 (and / or the display processor) may write the graphics content of the frame to a buffer. In some examples, the display client 231 may include a buffer, and thus the buffer may represent a memory local to the display client 231. In some such examples, the processing unit 220 (and / or the display processor) may not continuously refresh the graphics content of the display client 231. Instead, the processing unit 220 (and / or the display processor) may use vertical synchronization (Vsync) pulses to coordinate the rendering and consumption of the graphics content at the buffer. For example, when a Vsync pulse is generated, the processing unit 220 (and / or the display processor) may output new graphics content to the buffer. Thus, the generation of the Vsync pulse may indicate when the current graphics content at the buffer has been rendered.

[0058] Memory external to processing unit 220, such as memory 224, may be accessible to processing unit 220, display client 231, and / or communication interface 226. For example, processing unit 220 may be configured to read from and / or write to an external memory, such as memory 224. Processing unit 220, display client 231, and / or communication interface 226 may be communicatively coupled to memory 224 via a bus. In some examples, processing unit 220, memory 224, communication interface 226, and / or display client 231 may be communicatively coupled to each other via a bus or different connections.

[0059] In some examples, device 204 may include a content encoder / decoder configured to receive graphics and / or display content from any source such as memory 224 and / or communication interface 226. Memory 224 may be configured to store the received encoded content or decoded content. In some examples, the content encoder / decoder may be configured to receive (e.g., from memory 224 and / or communication interface 226) encoded content or decoded content in the form of encoded pixel data or decoded pixel data. In some examples, the content encoder / decoder may be configured to encode or decode any content.

[0060] Internal memory 221 and / or memory 224 may include one or more volatile or non-volatile memories or storage devices. In some examples, internal memory 221 and / or memory 224 may include RAM, SRAM, DRAM, erasable programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic data media or optical storage media, or any other type of memory.

[0061] According to some examples, the internal memory 221 and / or the memory 224 may be a non-transitory storage medium. The term "non-transitory" may indicate that the storage medium is not embodied in a carrier wave or a propagated signal. However, the term "non-transitory" should not be interpreted as meaning that the internal memory 221 and / or the memory 224 is non-removable or that its contents are static. As an example, the memory 224 may be removed from the device 204 and moved to another device. As another example, the memory 224 may be non-removable from the device 204.

[0062] The processing unit 220 may be a CPU, an application processor, an ISP, a GPU, a general purpose GPU (GPGPU), a DPU, a display processor, or any other processing unit that may be configured to perform image processing. In some examples, the processing unit 220 may be integrated into the motherboard of the device 204. In some examples, the processing unit 220 may be present on a graphics card installed in a port in the motherboard of the device 204, or may be otherwise incorporated into a peripheral device configured to interoperate with the device 204. The processing unit 220 may include one or more processors, such as one or more microprocessors, CPUs, application processors, GPUs, DPUs, display processors, ISPs, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), arithmetic logic units (ALUs), digital signal processors (DSPs), discrete logic, software, hardware, firmware, other equivalent integrated or discrete logic circuits, or any combination thereof. If the technology is partially implemented in software, the processing unit 220 may store instructions for the software in a suitable non-temporary computer-readable storage medium (e.g., an internal memory 221), and may use one or more processors to execute the instructions in hardware to perform the technology of the present disclosure. Any of the foregoing, including hardware, software, a combination of hardware and software, etc., may be considered to be one or more processors.

[0063] In the example shown, the device 204 may include a communication interface 226. The communication interface 226 may include a receiver 228 and a transmitter 230. The receiver 228 may be configured to perform any receiving functions described herein with respect to the device 204. In addition, the receiver 228 may be configured to receive information (e.g., eye or head position information, rendering commands, and / or position information) from another device. The transmitter 230 may be configured to perform any sending functions described herein with respect to the device 204. For example, the transmitter 230 may be configured to send information that may include a request for content to another device. The receiver 228 and the transmitter 230 may be combined into a transceiver 232. In such an example, the transceiver 232 may be configured to perform any receiving functions and / or sending functions described herein with respect to the device 204.

[0064] In the example shown, device 204 includes an optical system 250 in communication with processing unit 220. Optical system 250 includes lens assembly 252, image sensor 254, and charge assembly 256. Lens assembly 253 can facilitate focusing incident light onto pixels of image sensor 255. It should be appreciated that lens assembly 252 can include any number of optical elements. In some examples, processing unit 220 can be configured to shift lens assembly 252 to adjust the focus of light received on image sensor 254. It should be appreciated that optical system 250 can include one or more additional optical components mounted within the housing of device 204 and / or positioned on the housing or lens assembly 252. For example, the additional optical components can include motion sensors (e.g., accelerometers, gyroscopes, etc.), apertures, shutters, mirrors, filters, coatings, etc.

[0065] An example image sensor 254 may be a complementary metal oxide semiconductor (CMOS) imaging sensor or a charge coupled device (CCD) sensor. However, it should be appreciated that in other examples, the image sensor may be any suitable sensor including pixels for capturing image data. Figure 2 The example image sensor 254 includes a plurality of pixels for capturing image data. The image sensor 254 can be configured to digitize the amount of light received by each pixel. For example, when the received light is represented as a 10-bit digital value, a low value (e.g., 100) can indicate a low amount of light, while a high value (e.g., 1023) can indicate a high amount of light. The plurality of pixels can also include a set of pixels that can be configured to operate as a focusing pixel or an imaging pixel. In some examples, the configurable pixel set can include one to all of the plurality of pixels of the image sensor 254.

[0066] Figure 3 The technology disclosed in this article is shown Figure 2 2 is a side view of a configurable pixel 300 of an image sensor 254. The configurable pixel 300 includes three components common to imaging pixels, including a microlens 310, a color filter 320, and a photodiode 330. The microlens 310 can be configured to focus received light onto the photodiode 330. The color filter 320 can be red, green, or blue (R, G, or B) arranged in a Bayer pattern. In other examples, the color filter 320 can be arranged in a cyan, yellow, green, and magenta pattern, in a red, green, blue, and emerald pattern, in a cyan, magenta, yellow, and white pattern, in a red, green, blue, and white pattern, or in other patterns. Figure 3 The photodiode 330 is located in a substrate 340 (such as a silicon substrate).

[0067] Figure 3The configurable pixel 300 includes an opaque conversion material 350 located between the color filter 320 and the photodiode 330. The opaque conversion material 350 can be an electrically controlled material that can be transparent or opaque, such as a liquid crystal. When the opaque conversion material 350 is transparent, light can be received by the photodiode 330. When the opaque conversion material 350 is opaque, light is blocked and not received by the photodiode 330.

[0068] exist Figure 3 In the example shown, the opaque conversion material 350 is divided into a first opaque conversion material portion 350a and a second opaque conversion material portion 350b, and each portion 350a, 350b can be independently controlled. When no charge (or current or voltage) is applied to the opaque conversion material 350, the opaque conversion material 350 appears transparent, and the configurable pixel 300 can operate as an imaging pixel, such as Figure 1 When a charge (or current or voltage) is applied to the opaque conversion material 350, the corresponding portions 350a, 350b become opaque, which produces an effect similar to blocking light using a metal shield (e.g., Figure 1 ), and the configurable pixels can act as focus pixels (such as Figure 1 The following is combined with the focus pixel 106 Figure 2 The charge component 256 describes an example technique for applying charge (or current or voltage).

[0069] Thus, the configurable pixel 300 can be configured to operate as a focusing pixel or an imaging pixel based on whether a charge is applied to the opaque conversion material 350. In addition, the density of focused pixels associated with a region of interest of an image can be adjusted by applying (or not applying) a charge to corresponding pixels in the configurable pixels 300 of the image sensor 254.

[0070] In some examples, multiple pixels of image sensor 254 can be configurable pixels. In some such examples, each pixel of image sensor 254 can be configured to operate as a focusing pixel and / or an imaging pixel.

[0071] In some examples, the set of configurable pixels may be less than the plurality of pixels of image sensor 254. For example, one or more of the pixels of image sensor 254 may be dedicated imaging pixels, and the remaining pixels may be configurable pixels. In some such examples, the dedicated imaging pixels may be positioned along the periphery of image sensor 254. It should be appreciated that the ratio of dedicated imaging pixels to configurable pixels may vary.

[0072] In some examples, the opaque conversion material 350 can be divided into two independently controllable portions (eg, Figure 3 shown). Figure 4A 4 shows a top view of a configurable pixel 400 including a first (or left) opaque conversion material portion 410 and a second (or right) opaque conversion material portion 420. Figure 4A In the example shown, portions 410, 420 are positioned so that configurable pixel 40 can operate as left and right focused pixels. For example, a charge can be applied to the left opaque conversion material portion 410, and configurable pixel 400 can operate as a "right focused pixel" because light entering the right opaque conversion material portion 420 can reach the photodiode. Similarly, when a charge is applied to the right opaque conversion material portion 420, configurable pixel 400 can operate as a "left focused pixel" because light entering the left opaque conversion material portion 410 can reach the photodiode. Aspects of portions 410, 420 can be controlled by Figure 3 Part 350 is implemented.

[0073] Figure 4B 4 shows a top view of a configurable pixel 450 that includes a first (or upper) opaque conversion material portion 460 and a second (or lower) opaque conversion material portion 470. Figure 4B In the example shown, portions 460, 470 are positioned so that configurable pixel 400 can operate as an upper and lower focused pixel. For example, a charge can be applied to upper opaque conversion material portion 460, and configurable pixel 450 can operate as a "lower focused pixel" because light entering lower opaque conversion material portion 470 can reach the photodiode. Similarly, when a charge is applied to lower opaque conversion material portion 470, configurable pixel 450 can operate as an "upper focused pixel" because light entering upper opaque conversion material portion 460 can reach the photodiode. Aspects of portions 460, 470 can be controlled by Figure 3 Part 350 is implemented.

[0074] Figures 5A to 5F A top view of the focus orientation for a configurable pixel is shown, where the opaque conversion material is divided into four independently controllable portions 502, 504, 506, 508. Aspects of the portions 502, 504, 506, 508 can be controlled by Figure 3 Part 350, Figure 4A Parts 410, 420 and / or Figure 4B In some examples, the focusing direction of the configurable pixel can be determined based on which portion of the opaque conversion material the charge is applied to. Figure 5A and 5B Configurable pixels with left and right focus orientations are shown. For example, Figure 5A The configurable pixel 500 is shown configured to operate as a “right focused pixel” because charge is applied to the first opaque conversion material portion 502 and the third opaque conversion material portion 506 , and charge is not applied to the second opaque conversion material portion 504 and the fourth opaque conversion material portion 508 . Figure 5B The configurable pixel 510 is shown configured to operate as a “left focused pixel” because charge is applied to the second opaque conversion material portion 504 and the fourth opaque conversion material portion 508 , and charge is not applied to the first opaque conversion material portion 502 and the third opaque conversion material portion 506 .

[0075] Figure 5C and 5D Configurable pixels with up and down focus orientations are shown. For example, Figure 5C The configurable pixel 520 is shown configured to operate as an “up-focused pixel” because charge is applied to the third opaque conversion material portion 506 and the fourth opaque conversion material portion 508 , and charge is not applied to the first opaque conversion material portion 502 and the second opaque conversion material portion 504 . Figure 5D The configurable pixel 530 is shown configured to operate as a “down-focused pixel” because charge is applied to the first opaque conversion material portion 502 and the second opaque conversion material portion 504 , and charge is not applied to the third opaque conversion material portion 506 and the fourth opaque conversion material portion 508 .

[0076] Figure 5E and 5F Configurable pixels with diagonal focus orientations are shown. For example, Figure 5E The configurable pixel 540 is shown configured to operate as a “top left, bottom right focused pixel” because charge is applied to the second opaque conversion material portion 504 and the third opaque conversion material portion 506, and charge is not applied to the first opaque conversion material portion 502 and the fourth opaque conversion material portion 508. Fig. 5F The configurable pixel 550 is shown configured to operate as an “upper right, lower left focus pixel” because charge is applied to the first opaque conversion material portion 502 and the fourth opaque conversion material portion 508, and charge is not applied to the second opaque conversion material portion 504 and the third opaque conversion material portion 506.

[0077] although Figure 4A and 4BAn example configurable pixel shows an opaque conversion material arranged as two parts and Figures 5A to 5F The example configurable pixel shows an opaque conversion material arranged in four sections, but it should be appreciated that other examples may include additional or alternative numbers and / or arrangements of sections. Furthermore, it should be appreciated that while Figures 5A to 5F The illustrated example of includes setting two of the four opaque conversion material portions to be opaque, but in other examples, any suitable number of opaque conversion material portions may be configured to be opaque to enable the corresponding pixel to operate as a focus pixel.

[0078] Furthermore, it should be appreciated that in some examples, different configurable pixels may be configured to operate as focus pixels having different focus orientations. For example, a first subset of configurable pixels may be configured to operate as focus pixels having left and right focus orientations (e.g., Figure 5A and 5B The second configurable pixel subset can be configured to operate as a focus pixel with an upper and lower focus orientation (as shown in FIG. Figure 5C and 5D ) and / or the third configurable pixel subset may be configured to operate as focus pixels having a diagonal focus orientation (as shown in Figure 5E and 5F shown).

[0079] Reference again Figure 2 , the charge component 256 can be coupled to a portion of the opaque conversion material of a selected configurable pixel of the configurable pixel set, for example, via a wire. The charge component 256 can be configured to apply a charge (or current or voltage) to a portion of the opaque conversion material of a selected configurable pixel in the configurable pixel set (e.g., via a wire) so that the selected configurable pixel operates as a focusing pixel. In addition, the charge component 256 can be configured not to apply a charge (or current or voltage) to a non-selected configurable pixel of the configurable pixel set (e.g., via a wire) so that the non-selected configurable pixel operates as an imaging pixel. Although the above description provides an example in which the charge component 256 is coupled to a portion of the opaque conversion material via a wire, it should be understood that other examples may use additional or alternative techniques to couple the charge component 256 to a portion of the opaque conversion material. For example, the charge component 256 can be coupled to a portion of the opaque conversion material via an electrode.

[0080] Still reference Figure 2In some aspects, the processing unit 220 can be configured to operate one or more techniques disclosed herein. For example, the processing unit 220 can include a determination component 298 configured to receive first image data of a first frame of a scene. The determination component 298 can be configured to determine at least one region of interest or region of non-interest of the first frame. The determination component 298 can be configured to select a subset of the configurable set of pixels to be used as focused pixels based on the determined at least one region of interest or region of non-interest. The determination component 298 can also be configured to cause the selected subset of the configurable set of pixels to operate as focused pixels.

[0081] Figure 6 1 shows a block diagram of an image processor 600 according to aspects of the present disclosure. One or more aspects of the image processor 600 may be implemented by Figure 2 The example image processor 600 may include one or more processors configured to execute an object handling component 610 , an orientation handling component 620 , a saturation handling component 630 , and an edge handling component 640 .

[0082] In the example shown, the image processor 600 is configured to receive image data for a frame. For example, the image processor 600 may receive image data from Figure 2 Image sensor 254 receives image data for a frame of a scene. In some examples, the image data may not include focus data. For example, the configurable pixels of image sensor 254 may be configured to operate as imaging pixels when image sensor 255 generates image data. In some examples, the image data may include focus data. For example, a subset of the configurable pixels of image sensor 254 may be configured to operate as focus pixels when image sensor 255 generates image data. In some examples, the subset of configurable pixels configured to operate as focus pixels may be a default subset of configurable pixels. For example, the default subset of configurable pixels may be a predetermined number and / or pattern of focus pixels that are not based on a scene analysis technique performed on previously received image data (e.g., for a previous frame). In some examples, the subset of configurable pixels configured to operate as focus pixels may be based on performing one or more scene analysis techniques on previously received image data. In some examples, the focus data may be used to adjust the focus of device 204.

[0083] The example image processor 600 may also be configured to perform one or more scene analysis techniques on the received image data, and select a subset of the configurable pixels of the image sensor 254 to operate as focus pixels based on performing the one or more scene analysis techniques. The image processor 600 may cause the selected subset of the configurable pixels to operate as focus pixels by instructing the charge component 256 to apply a charge to the corresponding opaque conversion material portions for the selected subset of the configurable pixels.

[0084] The example image processor 600 may also be configured to identify regions of interest and / or regions of non-interest in the image based on analysis of the image data. For example, the image processor 600 may utilize an artificial intelligence mechanism and / or a machine learning mechanism to identify the region. In some examples, the image processor 600 may receive information indicating a region of interest or a region of non-interest. For example, the image processor 600 may receive user input via an input interface. In some such examples, the image processor 600 may determine at least one region of interest and / or region of non-interest based on the received user input.

[0085] In some examples, the image processor 600 can be configured to adjust the density of focused pixels associated with the identified area within the image sensor based on performing one or more scene analysis techniques. For example, the image processor 600 can be configured to increase or decrease the number of focused pixels associated with the identified area. In some examples, the image processor 600 can be configured to adjust the number of focused pixels associated with a sub-region of the identified area. For example, the image processor 600 can identify a non-interested region (or zone) within the region of interest. In some such examples, the image processor 600 can increase the number of focused pixels of the image sensor associated with the region of interest, and can also reduce the number of focused pixels associated with the identified non-interested region.

[0086] exist Figure 6 In the example shown, the image processor 600 is configured to include an object handling component 610 to facilitate implementation of object detection and / or recognition techniques. In some examples, the image may include one or more identified regions. In some such examples, the object handling component 610 may be configured to determine whether the identified region is an area of ​​interest or a non-area of ​​interest. For example, the object handling component 610 may be configured to implement one or more object detection and / or recognition mechanisms to identify (e.g., detect and / or recognize) an object in an image.

[0087] Figure 7 An image 700 is depicted that includes a person 710 wearing a hat 720 in the foreground and a wall 730 in the background. In the example shown, Figure 6The object handling component 610 can identify a first area 712 corresponding to the face of the person 710, a second area 722 corresponding to the hat 720, and a third area 732 corresponding to the wall 730. The object handling component 310 can classify the relative areas based on the objects detected and / or recognized in each of the identified areas 712, 722, 732. For example, the object handling component 610 can classify the first area 712 corresponding to the face of the person 710 and the second area 722 corresponding to the hat 720 as an area of ​​interest. The object handling component 610 can classify the third area 732 corresponding to the wall 730 as a non-area of ​​interest. In some examples, the object handling component 610 can be configured to classify the area based on a target item or an item of interest (such as a face or a person).

[0088] In some examples, the object handling component 610 can be configured to sub-classify the identified area based on the detected and / or recognized objects. For example, the object handling component 610 can be configured to classify the face of the person 710 as an object of a first level of importance, the hat 720 as an object of a second level of importance, and the wall 730 as an object of a third level of importance. In some such examples, the second level of importance can be less important than the first level of importance, and can be more important than the third level of importance.

[0089] The object handling component 610 may also be configured to determine how to adjust the density of focused pixels corresponding to each of the identified regions. For example, the object handling component 610 may determine to increase the density of focused pixels associated with the region of interest and / or reduce the density of focused pixels associated with the non-region of interest. In some examples, the density of focused pixels associated with the non-region of interest may be reduced so that the configurable pixels corresponding to the non-region of interest are configured to operate as imaging pixels. In some examples, the object handling component 610 may determine to adjust the density of focused pixels based on different levels of importance. For example, a region of first level importance may be associated with a first density level, a region of second level importance may be associated with a second density level, and a region of third level importance may be associated with a third density level. In some such examples, the second density level may be less dense than the first density level, and may be denser than the third density level.

[0090] It should be understood that the area of ​​the image that does not correspond to the identified area can be associated with the background density level. For example, the area of ​​the image 700 corresponding to the hair or shirt of the person 710 can be associated with the background density level. In some examples, one or more of the density levels can have a greater density than the background density level and / or can have a lesser density than the background density level. For example, in some examples, the first density level, the second density level, and the third density level can be greater than the background density level. In some examples, the density level for the area of ​​interest (e.g., the first area 712 and the second area 722) can have a greater density than the background density level, while the density level for the non-interested area (e.g., the third area 732) can be less dense than the background density level.

[0091] exist Figure 6 In the example shown, the image processor 600 is configured to include an orientation handling component 620 to facilitate implementation of the focus data orientation detection technique. In some examples, the identified area may include a texture or edge oriented in a particular direction, such as a horizontal texture or a vertical texture. In some such examples, if the focus pixel corresponding to the identified area has the same focus orientation as the texture or edge, the focus data generated by the corresponding focus pixel may not be useful for PDAF purposes.

[0092] In some examples, the orientation handling component 620 can be configured to perform a confidence test based on the focus data received for the image data. For example, the confidence test can measure the noise associated with the focus data along the focus orientation of the corresponding focused pixel. Figure 8 A region of interest 800 is depicted that includes a plurality of horizontal textures 810. It should be appreciated that if the focused pixels corresponding to the region of interest 800 have left and right focus orientations, the focus data generated by the focused pixels may not provide useful information for PDAF purposes. For example, the orientation handling component 620 may not be able to determine the offset between the left and right images generated by the left and right focused pixels, respectively.

[0093] In the example shown, the orientation handling component 620 can be configured to set a first focus orientation for the focus pixels associated with the identified area. For example, the first focus orientation can be a default focus orientation, such as a left-right focus orientation (e.g., Figure 5A and 5B The orientation handling component 620 may perform a confidence test based on the image data received from the focused pixel having a first focus orientation.

[0094] In some examples, if the confidence level generated by the confidence test satisfies the confidence threshold, the orientation handling component 620 can determine that the current focus orientation of the focus pixels associated with the identified area can provide useful information for PDAF purposes. However, if the confidence level does not satisfy the confidence threshold, the orientation handling component 620 can determine to change the focus orientation of the focus pixels associated with the identified area. For example, the orientation handling component 620 can determine to change the focus orientation to an up-down focus orientation (such as Figure 5C and 5D ) or diagonally focused (as shown Figure 5E and 5F shown).

[0095] In some examples, the confidence level may satisfy the confidence threshold when the confidence level is greater than or equal to the confidence threshold. In some examples, the confidence level may satisfy the confidence threshold when the confidence level is greater than the confidence threshold. However, it should be appreciated that in some examples, the confidence level may satisfy the confidence threshold when the confidence level is less than or equal to the confidence threshold or when the confidence level is less than the confidence threshold.

[0096] In some examples, the confidence level may be a numerical value, such as a number between zero and one hundred. In some such examples, the confidence threshold may be a numerical value between zero and one hundred. In some examples, the confidence level may be a binary value corresponding to a "sure" or "unsure" level. In some such examples, the confidence threshold may be a value corresponding to "sure".

[0097] It should be appreciated that the orientation handling component 620 facilitates increasing the likelihood of receiving useful information for PDAF purposes from focus data generated during subsequent frames by adjusting the focus orientation of focus pixels of the image sensor associated with the identified area when the confidence level does not satisfy the confidence threshold.

[0098] exist Figure 6 In the example shown, the image processor 600 is configured to include a saturation handling component 630 to facilitate implementation of saturation detection techniques. In some images, the region of interest may include a saturated region. The focus data generated by the focus pixels associated with the saturated region may not provide useful information for PDAF purposes. For example, the focus data generated by the focus pixels associated with the saturated region may not provide enough details to measure the offset between the focus pixel pairs.

[0099] Fig. 9An example image 900 including an identified region of interest 910 corresponding to a car is depicted. The example saturation handling component 630 can be configured to apply a saturation region detection technique to identify one or more saturation regions in a frame. In some examples, the saturation handling component 630 can identify saturation regions based on digital values ​​generated by the image sensor 254. For example, for a 10-bit digital value, the image sensor 254 can generate a digital value between 0 and 1023. In some such examples, the digital value 1023 represents the maximum amount of light that the image sensor 254 is capable of digitizing. In some examples, the saturation handling component 630 can be configured to apply a percentage of the maximum digital value that can be output by the image sensor 254 when a region is saturated.

[0100] exist Fig. 9 In the example shown, the saturation handling component 630 can identify a first saturation region 920 corresponding to the headlights of a car and a second saturation region 930 corresponding to the rear taillights of another car. Fig. 9 As shown, the first saturation region 920 is located within the identified region of interest 910 .

[0101] In some examples, the saturation handling component 630 can determine to reduce the density of focused pixels of the image sensor associated with the saturation regions 920, 930. For example, the saturation handling component 630 can set the number of focused pixels associated with the saturation regions 920, 930 to zero focused pixels such that the configurable pixels of the image sensor associated with the saturation regions 920, 930 are configured to operate as imaging pixels.

[0102] In some examples, the saturation handling component 630 may determine whether the saturation region overlaps with the identified region of interest. For example, the saturation handling component 630 may determine that the identified region of interest 910 and the first saturation region 920 overlap. In some such examples, the saturation handling component 630 may determine to increase the density of focused pixels associated with the identified region of interest 910, and may determine to reduce the density of focused pixels associated with the first saturation region 920. For example, the saturation handling component 630 may determine to set the density level of focused pixels associated with the identified region of interest 910 and outside the first saturation region to a first density greater than a background density level. The saturation handling component 630 may also determine to set the density level of focused pixels associated with the first saturation region 920 to a second density less than the first density. In some examples, the second density may correspond to zero focused pixels, so that the configurable pixels associated with the first saturation region 920 are configured to operate as imaging pixels. In some examples, the second density may correspond to a density level greater than zero focused pixels and less than the background density level.

[0103] It should be appreciated that by reducing the density level of the focus pixels associated with the saturation region, the saturation handling component 630 facilitates reducing the amount of focus data that may not be useful for PDAF purposes. In addition, by setting the configurable pixels associated with the saturation region to operate as imaging pixels, the saturation handling component 630 can also facilitate improving the quality of the image.

[0104] exist Figure 6 In the example shown, the image processor 600 can be configured to include an edge handling component 640 to facilitate the implementation of edge detection techniques. In some examples, the scene can correspond to a low light environment. For example, the digital value generated by the image sensor 254 can be less than a low light environment threshold. For example, for a 10-bit digital value (ranging between 0 and 1023), a low light environment can be represented by a digital value less than 100. However, it should be understood that additional or alternative examples can use other threshold values.

[0105] In low light environments, the digital values ​​generated by the image sensor 254 may have a low signal-to-noise ratio (SNR) and / or high noise. To improve the quality of the image, the image processor 600 may perform a de-noising technique, such as binning (or averaging) the values ​​(or data) of a plurality of nearby focused pixels (collectively referred to as "binned pixels") having the same focus orientation.

[0106] Fig.10 A portion of an array 1002 of an image sensor 1000 including pixels 1004 is shown. In the example shown, the portion of the image sensor 1000 corresponds to configurable pixels that operate as imaging pixels or focus pixels associated with a region of interest for a first frame. In the example shown, the array 1002 includes a plurality of left focus pixels 1010 and a plurality of right focus pixels 1020. When performing binning, the image processor 600 may average the digital values ​​of focus pixels having the same focus orientation. For example, in Fig.10 In the example shown, the image processor 600 may average the digital values ​​of the first left-focused pixel 1010a, the second left-focused pixel 1010b, the third left-focused pixel 1010c, and the fourth left-focused pixel 1010d to determine the value of the second left-focused pixel 1010b. Similarly, the binned pixels used to determine the value of the second right-focused pixel 1020b may include the first right-focused pixel 1020a, the second right-focused pixel 1020b, the third right-focused pixel 1020c, and the fourth right-focused pixel 1020d.

[0107] In some examples, the region of interest may include an edge. The edge may be determined by a brightness change or a color change. For example, the edge handling component 640 may be configured to detect an edge when the brightness change and / or the color change is greater than a threshold percentage. In some examples, the edge may correspond to a boundary between different objects. For example, referring to Figure 7 700, edge handling component 640 can detect an edge between hat 720 and the forehead of person 710's face within second identified region 722. In some examples, edge handling component 640 can detect edges between different regions of an object. For example, edge handling component 640 can detect an edge between a screen of a monitor and a base of the monitor.

[0108] exist Fig.10 In the example shown, an edge is detected within the first image that is associated with pixels between a first subset 1002a of pixels 1004 and a second subset 1002b of pixels 1004. Thus, pixels 1004 within the first subset 1002a may be associated with a first similar brightness or a first similar color, while pixels 1004 within the second subset 1002b may be associated with a second similar brightness or a second similar color.

[0109] However, it should be appreciated that determining the value of a focused pixel by averaging the digital values ​​of focused pixels across an edge may skew the average value for the focused pixels when binning is performed, which may result in artifacts. For example, determining the value of the second left focused pixel 1010b includes averaging the digital values ​​of the first left focused pixel 1010a and the second left focused pixel 1010b, which are located within the first subset 1002a of the pixels 1004 and are associated with a first similar brightness or a first similar color, and the third left focused pixel 1010c and the fourth left focused pixel 1010d, which are located within the second subset 1002b of the pixels 1004 and are associated with a second similar brightness or a second similar color.

[0110] To improve the performance of binning in low light environments, the edge handling component 640 is configured to detect one or more edges within the region of interest. If the edge handling component 640 detects an edge within the region of interest, the edge handling component 640 is configured to increase the density of focused pixels associated with the corresponding sub-region of the region of interest. For example, referring to Fig.10In the example of FIG. 1 , the edge handling component 640 can be configured to increase the density of left-focused pixels 1010 and right-focused pixels 1020 within the first subset 1002a of pixels 1004 of the image sensor 1000. The edge handling component 640 can additionally or alternatively be configured to increase the density of left-focused pixels 1010 and right-focused pixels 1020 within the second subset 1002b of pixels 1004 of the image sensor 1000.

[0111] It should be appreciated that by increasing the density of focused pixels associated with respective sub-regions of the region of interest, the edge handling component 640 can facilitate improved binning quality by reducing the likelihood of binning pixels that extend across an edge. It should be appreciated that binning can be performed on subsequent frames of the scene.

[0112] In the example shown, after the object handling component 610, the orientation handling component 620, the saturation handling component 630, and / or the edge handling component 640 perform their respective scene analysis techniques and determine changes, if any, to be made to the configurable pixels of the image sensor 254, the image processor 600 applies the corresponding pixel configuration for subsequent frames. For example, the changes in pixel configuration may include changing the configurable pixels from operating as imaging pixels to operating as focus pixels (e.g., to increase the density of focus pixels associated with the identified region), changing the configurable pixels from operating as focus pixels to operating as imaging pixels (e.g., to reduce the density of focus pixels associated with the identified region), and / or changing the focus orientation of the focus pixels from a first focus orientation to a second focus orientation (e.g., to increase the likelihood of receiving useful information for PDAF purposes from focus data generated by focus pixels associated with regions including texture).

[0113] Figures 11 to 15 An example flow chart of an example method according to one or more techniques disclosed herein is shown. These methods can be performed by an apparatus (such as Figure 2 204) and / or components of the apparatus (such as Figure 2 An example processing unit 220 and / or Figure 6 According to various aspects, one or more of the operations shown in the method may be omitted, swapped, and / or performed simultaneously. Optional aspects are represented by dashed lines. Figures 11 to 15 In the example shown, the device is configured to include an image sensor having a plurality of pixels (such as Figure 2 In an example image sensor 254), the plurality of pixels comprises a set of pixels that can be configured to operate as imaging pixels or focusing pixels.

[0114] Fig.111100 is a flow chart of a method for using a PDAF optical system according to one or more techniques disclosed herein. At 1102, the apparatus receives first image data of a first frame of a scene, such as in combination with Figures 2 to 10 For example, the processing unit 220 and / or the image processor 600 may be configured to receive first image data from the image sensor 254. It will be appreciated that the configurable pixels of the image sensor 254 may be configured to operate using a default configuration (e.g., as imaging pixels or as focusing pixels having a first focusing orientation), or may be configured to operate using a previous pixel configuration (e.g., a first subset of configurable pixels is configured to operate as imaging pixels, a second subset of configurable pixels is configured to operate as focusing pixels having a first focusing orientation, a third subset of configurable pixels is configured to operate as focusing pixels having a second focusing orientation, and so on).

[0115] At 1104, the apparatus determines at least one region of interest or region of non-interest of the first frame, such as in combination with Figures 2 to 10 As described in the examples in. For example, the processing unit 220 and / or the image processor 600 may be configured to determine at least one region of interest or region of non-interest of the first frame. In some examples, the device may determine the identified area by applying object detection and / or recognition techniques. In some examples, the device may receive user input indicating at least one region of interest or region of non-interest, and may then determine the region of interest or region of non-interest based on the received user input. It will be appreciated that in some examples, the region of interest or region of non-interest may include the entire frame.

[0116] At 1106, the apparatus may apply one or more scene analysis techniques to at least one region of interest or a region of no interest to determine a pixel configuration for a configurable pixel, such as in combination with Figures 2 to 10 For example, the processing unit 220 and / or the image processor 600 may be configured to apply one or more scene analysis techniques to at least one region of interest or a region of no interest to determine a pixel configuration. In some examples, the apparatus may apply one or more of the following: object detection and / or recognition techniques, focus data orientation detection techniques, saturation detection techniques, and edge detection techniques. Fig.12 1200 to describe various aspects of object detection and / or recognition techniques. Fig.13 The flowchart 1300 is used to describe the various parts of the focus data direction detection technology. Fig.14 1400 to describe various aspects of the saturation detection technique. Fig.15 1500 is used to describe various aspects of the edge detection technique.

[0117] In some examples, the device may determine to apply each of four example scene analysis techniques. In some examples, the device may determine to apply a subset of example scene analysis techniques. In some examples, the device may apply one or more of the example scene analysis techniques to each frame of the scene. In some examples, the device may save power and / or computing resources of the device by skipping one or more frames to which one or more of the example scene analysis techniques are applied. In some examples, the device may perform an initial scene analysis (e.g., based on machine learning and / or artificial intelligence) to determine whether aspects of the scene change between frames. In some such examples, when aspects of the scene change between frames, the device may save power and / or computing resources of the device by applying one or more scene analysis techniques.

[0118] At 1108, the apparatus selects a subset of the configurable set of pixels of the image sensor to be used as focus pixels, such as in combination with Figures 2 to 10 As described in the examples in. For example, the processing unit 220 and / or the image processor 600 may be configured to select a subset of the set of configurable pixels to be the focus pixels. In some examples, the apparatus may use the pixel configuration determined by applying one or more scene analysis techniques (at 1106) to determine the subset of the set of configurable pixels to be the focus pixels. In some examples, the pixel configuration may also provide a focus orientation for the subset of the configurable pixels configured to operate as the focus pixels.

[0119] At 1110, the apparatus causes a selected subset of configurable pixels to operate as focus pixels, such as in conjunction with Figures 2 to 10 As described in the examples in . For example, the processing unit 220 and / or the image processor 600 can be configured to cause the charge component 256 to apply a charge (or current or voltage) to the opaque conversion material portion 350 of a subset of the configurable pixels of the image sensor 254 to cause the corresponding configurable pixels to operate as focus pixels. In some examples, the device can additionally or alternatively change the focus orientation for one or more focus pixels. In some examples, the device can additionally or alternatively cause one or more of the configurable pixels to operate as imaging pixels.

[0120] At 1112, the device may shift the lens assembly to adjust the focus of the light received on the image sensor, such as in conjunction with Figures 2 to 10 For example, processing unit 220 and / or image processor 600 may be configured to shift lens assembly 252 to adjust the focus of light received on image sensor 254.

[0121] At 1114, the device may receive second image data of a subsequent frame of the scene, such as in conjunction with Figures 2 to 10 For example, processing unit 220 and / or image processor 600 may receive second image data from image sensor 254. In some examples, the second image data may include focus data from a selected subset of a configurable set of pixels and imaging data from remaining pixels of a plurality of pixels of the image sensor.

[0122] Fig.12 1200 is a flow chart of a method for implementing object detection and / or recognition techniques according to one or more techniques disclosed herein. At 1202, the apparatus may apply object detection and / or recognition techniques, such as in combination with Figures 2 to 10 As described in the examples in . For example, the object handling component 610 can be configured to apply object detection and / or recognition technology. In some examples, the object detection and / or recognition technology can be configured to detect and / or recognize objects of different categories. For example, the object detection and / or recognition technology can be configured to detect and / or recognize objects of interest (e.g., target items) and / or non-objects of interest. In some examples, the object detection and / or recognition technology can be configured to fine-classify the detected and / or recognized objects. For example, the object detection and / or recognition technology can be configured to detect and / or recognize high-interest objects (e.g., target items, such as faces), and / or can be configured to detect and / or recognize low-interest objects (e.g., microphones).

[0123] At 1204, the device may determine whether the identified area is an area of ​​interest or a non-area of ​​interest based on the detected and / or recognized object, such as in combination with Figures 2 to 10 For example, the object handling component 610 can be configured to determine whether the identified area is an area of ​​interest or an area of ​​non-interest based on objects detected and / or recognized in the identified area. In some examples, the identified area can be associated with different levels of interest or non-interest based on corresponding categories (or subcategories) of objects detected and / or recognized in the identified area.

[0124] If at 1204, the device determines that the identified area is a non-interest area (e.g., the object detected and / or recognized in the identified area is non-interesting), then at 1206, the device may determine to reduce the density of focused pixels associated with the identified area, such as in combination with Figures 2 to 10For example, the object handling component 610 can be configured to determine to reduce the density of focused pixels associated with the identified area within the image sensor 254 by changing the configuration of one or more configurable pixels to operate as imaging pixels. Control then proceeds to 1210 to determine whether there is another identified area and detected and / or recognized object to be processed.

[0125] If at 1204, the device determines that the identified area is an area of ​​interest (e.g., the detected and / or recognized objects within the identified area are of interest), then at 1208, the device may determine to increase the density of focused pixels associated with the identified area, such as in conjunction with Figures 2 to 10 As described in the examples in . For example, the object handling component 610 can be configured to determine to increase the density of focused pixels associated with the identified area within the image sensor 254. In some examples, the device can determine to apply different density levels of focused pixels to different regions of interest based on, for example, a sub-classification of the detected and / or recognized objects. For example, the device can set a first density level of focused pixels associated with a region of interest including a high-interest object (e.g., a face), and can set a second density level of focused pixels associated with a region of interest including a low-interest object (e.g., a microphone). In some such examples, a region of interest having a first density level can be relatively denser in focused pixels than a region of interest having a second density level.

[0126] At 1210, the device may determine whether there is another identified area to process based on the detected and / or recognized object, such as in conjunction with Figures 2 to 10 For example, the object handling component 610 can be configured to determine whether there is another identified area to be processed. If at 1210, the device determines that there is another identified area to be processed, control returns to 1204 to determine whether the identified area is an area of ​​interest or a non-area of ​​interest based on the object detected and / or recognized in the identified area.

[0127] If at 1210, the device determines that there is not another identified region to process, then at 1212, the device can apply pixel configuration, such as in combination with Figures 2 to 10 For example, the processing unit 220 and / or the image processor 600 may be configured to apply pixel configuration to the configurable pixels of the image sensor to increase or decrease the density of focused pixels associated with the identified area.

[0128] Fig.131300 is a flowchart of a method for implementing a focus data orientation detection technique according to one or more techniques disclosed herein. At 1302, the apparatus may perform PD analysis on the focus data of a frame, such as in combination with Figures 2 to 10 As described in the example of . For example, the orientation handling component 620 can be configured to perform PD analysis on the focus data of the frame. In some examples, the device can output a confidence level for the corresponding region of interest of the frame.

[0129] At 1304, the apparatus may determine whether the confidence level of the output for the region of interest satisfies a confidence threshold, such as in combination with Figures 2 to 10 For example, the orientation handling component 620 can be configured to determine whether the confidence level of the output for the region of interest is greater than or equal to a confidence threshold.

[0130] If at 1304, the apparatus determines that the outputted confidence level for the region of interest does not satisfy the confidence threshold (e.g., is less than the confidence threshold), then at 1306, the apparatus may determine to change the focus orientation for the focused pixels associated with the region of interest. For example, the orientation handling component 620 may be configured to change the focus orientation for the focused pixels associated with the region of interest from a first focus orientation to a second focus orientation. It will be appreciated that in some examples, the orientation handling component 620 may be configured to determine to change the focus orientation for a subset of the focused pixels associated with the region of interest. Control then proceeds to 1310 to determine if there is another confidence level and region of interest to process.

[0131] If, at 1304, the apparatus determines that the confidence level of the output for the region of interest satisfies a confidence threshold (e.g., is greater than or equal to the confidence threshold), then the apparatus may determine to maintain the focus orientation for the focus pixels associated with the region of interest at 1308. For example, the orientation handling component 620 may be configured to maintain a current focus orientation for the focus pixels associated with the region of interest.

[0132] At 1310, the device may determine whether there is another confidence level and region of interest to process, such as in conjunction with Figures 2 to 10 For example, the orientation handling component 620 can be configured to determine whether there is another confidence level and region of interest to be processed. If at 1310, the device determines that there is another confidence level and region of interest to be processed, control returns to 1304 to determine whether the confidence level meets the confidence threshold.

[0133] If at 1310, the device determines that there is not another confidence level and region of interest to process, then at 1312, the device can apply pixel configuration, such as in combination with Figures 2 to 10 For example, the processing unit 220 and / or the image processor 600 may be configured to apply pixel configuration to the configurable pixels of the image sensor to change the focus direction of one or more of the focus pixels.

[0134] Fig.14 1400 is a flow chart of a method for implementing a saturation detection technique according to one or more techniques disclosed herein. At 1402, the apparatus may apply a saturation region detection technique to detect one or more saturated regions in a frame, such as in combination with Figures 2 to 10 For example, the saturation handling component 630 can be configured to apply a saturation region detection technique to detect one or more saturated regions in a frame.

[0135] At 1404, the device may determine whether the detected saturation region overlaps with the region of interest, such as by combining Figures 2 to 10 For example, the saturation handling component 630 can be configured to determine whether the detected saturation region overlaps with the region of interest. If at 1404, the device determines that the detected saturation region does not overlap with the region of interest, control proceeds to 1408 to determine whether there is another saturation region and region of interest to be processed.

[0136] If at 1404, the device determines that the detected saturated region does overlap with the region of interest, then at 1406, the device may determine to reduce the density of focused pixels associated with the saturated region, such as in conjunction with Figures 2 to 10 As described in the examples in. For example, the saturation handling component 630 can be configured to determine to reduce the density of focused pixels associated with the saturated region. In some examples, the device can set a first density level for focused pixels associated with the saturated region in the region of interest, and can set a second density level for focused pixels set for non-saturated regions in the region of interest. In some examples, the second density level is greater than the first density level. In some examples, the first density level can be zero, so that the configurable pixels associated with the saturated region can be configured to operate as imaging pixels. Control then proceeds to 1408 to determine whether there is another detected saturated region to be processed.

[0137] At 1408, the device may determine whether there is another detected saturation region to process, such as in conjunction with Figures 2 to 10 For example, the saturation handling component 630 can be configured to determine whether there is another detected saturation region to be processed. If at 1408, the device determines that there is another detected saturation edge to be processed, control returns to 1404 to determine whether the detected saturation region overlaps the region of interest.

[0138] If at 1408, the device determines that there is not another detected saturation region to process, then at 1410, the device can apply pixel configuration, such as in combination with Figures 2 to 10 For example, the processing unit 220 and / or the image processor 600 may be configured to apply pixel configuration to configurable pixels of the image sensor.

[0139] Fig.15 1500 is a flow chart of a method of implementing edge detection techniques according to one or more techniques disclosed herein. In the example shown, when the scene corresponds to a low light environment, the apparatus may apply edge detection techniques, and wherein applying binning techniques may facilitate improving the quality of the image.

[0140] At 1502, the apparatus may apply edge detection techniques to detect one or more edges in a frame, such as in combination with Figures 2 to 10 As described in the examples in . For example, the edge handling component 640 can be configured to apply edge detection technology. As described above, the edge detection technology can be configured to detect brightness changes or color changes between close pixels. In some examples, the device can apply a threshold change in brightness or color to determine whether a brightness change or color change occurs. In some examples, the edge can represent a boundary between two or more objects (e.g., a table and a wall), or a boundary between different areas of an object (e.g., a screen of a display monitor and a base of the display monitor).

[0141] At 1504, the device may determine whether the detected edge overlaps the region of interest, such as in combination with Figures 2 to 10 For example, the edge handling component 640 can be configured to determine whether the detected edge overlaps the region of interest. If at 1504, the device determines that the detected edge does not overlap the region of interest, control proceeds to 1510 to determine whether there is another edge and region of interest to be processed.

[0142] If at 1504, the device determines that the detected edge does overlap the region of interest, then at 1506, the device may determine to increase the number of focused pixels associated with the first sub-region of interest based on the edge, such as in combination with Figures 2 to 10 For example, the edge handling component 640 can be configured to determine to increase the number of focused pixels associated with the first sub-region of interest. In some examples, the first focused pixels associated with the first sub-region of interest can correspond to the same object (e.g., a screen of a display monitor) and / or have similar brightness or color.

[0143] At 1508, the apparatus may determine to increase the number of focused pixels associated with the second sub-region of interest based on the edge, such as in combination with Figures 2 to 10 For example, the edge handling component 640 can be configured to determine to increase the number of focused pixels associated with the second sub-region of interest. In some examples, the second focused pixels associated with the second sub-region of interest can correspond to the same object (e.g., a base of a display monitor) and / or have similar brightness or color.

[0144] At 1510, the device can determine whether there is another detected edge and region of interest to process, such as in conjunction with Figures 2 to 10 For example, the edge handling component 640 can be configured to determine whether there is another detected edge and region of interest to be processed. If at 1510, the device determines that there is another detected edge and region of interest to be processed, control returns to 1504 to determine whether the detected edge overlaps the region of interest.

[0145] If at 1510, the device determines that there is no further detected edge and region of interest to process, then at 1512, the device may apply pixel configuration, such as in combination with Figures 2 to 10 For example, the processing unit 220 and / or the image processor 600 may be configured to apply pixel configuration to configurable pixels of the image sensor.

[0146] The subject matter described herein can be implemented to achieve one or more benefits or advantages. For example, an application processor (e.g., an ISP, a CPU, a GPU, a display processor, a DPU, a video processor, or some other processor that can perform image processing) can use the described image processing techniques to implement the use of a PDAF optical system that includes pixels that can be configured to operate as focusing pixels or imaging pixels to improve PDAF processing, reduce the likelihood of sending information that is less beneficial for PDAF purposes, reduce the load on a processing unit (e.g., any processing unit configured to perform one or more of the techniques disclosed herein, such as an image processor), and / or reduce the power consumption of the processing unit.

[0147] According to the present disclosure, the term "or" may be interpreted as "and / or" where the context does not dictate otherwise. In addition, while phrases such as "one or more" or "at least one" may have been used for some features disclosed herein but not for other features, the features not used for such language may be interpreted as implying such meaning where the context does not dictate otherwise.

[0148] In one or more examples, the functions described herein may be implemented in hardware, software, firmware, or any combination thereof. For example, although the term "processing unit" has been used throughout this disclosure, such a processing unit may be implemented in hardware, software, firmware, or any combination thereof. If any function, processing unit, technology described herein, or other module is implemented in software, any function, processing unit, technology described herein, or other module may be stored on or sent through a computer-readable medium as one or more instructions or codes. A computer-readable medium may include a computer data storage medium or a communication medium, wherein the communication medium includes any medium that facilitates the transfer of a computer program from one place to another. In this manner, a computer-readable medium may generally correspond to: (1) a non-temporary tangible computer-readable storage medium, or (2) a communication medium such as a signal or carrier wave. A data storage medium may be any available medium that can be accessed by one or more computers or one or more processors to obtain instructions, codes, and / or data structures for implementing the technology described in this disclosure. By way of example and not limitation, such a computer-readable medium may include a RAM, a ROM, an EEPROM, a CD-ROM, or other optical disk storage, a magnetic disk storage, or other magnetic storage device. As used herein, disks and optical discs include compact discs (CDs), laser discs, optical discs, digital versatile discs (DVDs), floppy disks, and Blu-ray discs, wherein disks typically reproduce data magnetically, while optical discs reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media. A computer program product may include a computer-readable medium.

[0149] The code may be executed by one or more processors, such as one or more digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), arithmetic logic units (ALUs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Accordingly, the term "processor" as used herein may refer to any of the foregoing structures or any other structure suitable for implementing the techniques described herein. In addition, the techniques may be fully implemented in one or more circuits or logic elements.

[0150] The techniques of the present disclosure may be implemented in a variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC), or a set of ICs (e.g., a chipset). Various components, modules, or units are described in the present disclosure to emphasize the functional aspects of a device configured to perform the disclosed techniques, but do not necessarily need to be implemented by different hardware units. Rather, as described above, the various units may be combined in any hardware unit, or provided by a collection of interoperable hardware units (including one or more processors as described above) in combination with appropriate software and / or firmware.

[0151] The following examples are merely illustrative and may be combined with other embodiments or aspects of the teachings described herein without limitation.

[0152] Example 1 is a device comprising: an image sensor including a plurality of pixels, the plurality of pixels including a set of pixels that can be configured as imaging pixels or focusing pixels, the image sensor being configured to generate image data of a scene based on light received at the plurality of pixels; and a processor coupled to the image sensor and configured to: receive first image data of a first frame of the scene; determine at least one region of interest or region of non-interest of the first frame; select a subset of the set of pixels to be focused pixels based on the determined at least one region of interest or region of non-interest; and cause the selected subset of the set of pixels to operate as focused pixels.

[0153] In Example 2, the device according to Example 1 also includes: the processor is also configured to: receive second image data of a second frame from the image sensor, the second image data including focus data from a selected subset of the pixel set and imaging data from the remaining pixels of the multiple pixels.

[0154] In Example 3, the device according to any one of Example 1 or Example 2 also includes: a lens assembly configured to focus the received light on the image sensor, wherein the processor is configured to shift the lens assembly based on the second image data to adjust the focus of the received light on the image sensor.

[0155] In Example 4, the apparatus according to any one of Examples 1 to 3 further includes: the processor is configured to select the subset of the set of pixels to be focused pixels based on the determined region of interest by increasing the density of focused pixels associated with the determined region of interest from a first density of focused pixels associated with the determined region of interest when the first image data is received to a second density of focused pixels.

[0156] In Example 5, the apparatus according to any one of Examples 1 to 4 further includes: the processor being configured to: determine a density of focused pixels associated with the determined region of interest based on a target item identified in the determined region of interest.

[0157] In Example 6, the apparatus according to any one of Examples 1 to 5 further includes: the determined region of interest or region of non-interest includes a first region of interest and a second region of interest, and wherein the processor is configured to select a first density of focused pixels associated with the first region of interest, and select a second density of focused pixels associated with the second region of interest, the second density being different from the first density.

[0158] In Example 7, the apparatus according to any one of Examples 1 to 6 further includes: the processor is configured to select the subset of the pixel set to be focused pixels based on the determined non-interest region by reducing the density of focused pixels associated with the determined non-interest region from a first density of focused pixels associated with the determined non-interest region when the first image data is received to a second density of focused pixels.

[0159] In Example 8, the apparatus according to any one of Examples 1 to 7 further includes: the processor being configured to: cause pixels in the pixel set associated with the determined non-region of interest to operate as imaging pixels.

[0160] In Example 9, the device according to any one of Examples 1 to 8 also includes: the processor is configured to operate the selected subset of the pixel set as focused pixels by: setting a first focusing direction for each pixel in the selected subset of the pixel set based on at least one texture or edge detected in the first frame.

[0161] In Example 10, the device according to any one of Examples 1 to 9 also includes: the processor is also configured to: determine whether a focus confidence level of second image data received from the image sensor for a second frame satisfies a confidence threshold; and when the focus confidence level does not satisfy the confidence threshold, set a second focus direction for each pixel in a selected subset of the pixel set, and the second focus direction is different from the first focus direction.

[0162] In Example 11, the apparatus according to any one of Examples 1 to 10 further includes: the first focusing direction is one of an up-and-down direction, a left-and-right direction, or a diagonal direction.

[0163] In Example 12, the apparatus according to any one of Examples 1 to 11 further includes: the determined region of interest or region of non-interest includes a first region of interest and a second region of interest, wherein the first region of interest and the second region of interest are determined based on a light level associated with each corresponding region of interest, and wherein the first region of interest is associated with a relatively lower light level relative to the second region of interest, and wherein the processor is further configured to: receive second image data of a second frame of the scene, the second image data including the same first region of interest and the same second region of interest as the first frame; average data of a first subset of focused pixels associated with the first region of interest; average data of a second subset of focused pixels associated with the second region of interest; and shift the lens assembly to adjust the focus of the received light on the image sensor based on the average of the data of the first subset of focused pixels and the average of the data of the second subset of focused pixels.

[0164] In Example 13, the apparatus according to any one of Examples 1 to 12 further includes: the processor is further configured to: determine the first region of interest and the second region of interest based on edge detection associated with the determined region of interest or region of non-interest.

[0165] In Example 14, the apparatus according to any one of Examples 1 to 13 further includes: the processor is further configured to: increase the density of focused pixels associated with the first region of interest; and increase the density of focused pixels associated with the second region of interest.

[0166] In Example 15, the device according to any one of Examples 1 to 14 also includes: the processor is also configured to: receive information indicating the at least one region of interest or region of non-interest of the first frame, and wherein the processor is configured to determine the at least one region of interest or region of non-interest based on the received information.

[0167] In Example 16, the device according to any one of Examples 1 to 15 also includes: each pixel in the pixel set includes: a photodiode; and an opaque conversion material located above the photodiode, the opaque conversion material including a first opaque conversion material portion arranged above a first segment of the photodiode and a second opaque conversion material portion arranged above a second segment of the photodiode, the first opaque conversion material portion and the second opaque conversion material portion can be independently configured as opaque or transparent.

[0168] In Example 17, the device according to any one of Examples 1 to 16 also includes: when one of the first opaque conversion material portion or the second opaque conversion material portion is opaque and the other of the first opaque conversion material portion or the second opaque conversion material portion is transparent, each pixel in the pixel set is configured to operate as a focusing pixel, and when both the first opaque conversion material portion and the second opaque conversion material portion are transparent, the pixel is configured to operate as an imaging pixel.

[0169] In Example 18, the device according to any one of Examples 1 to 17 also includes: the opaque conversion material also includes a third opaque conversion material portion arranged above the third segment of the photodiode and a fourth opaque conversion material portion arranged above the fourth segment of the photodiode, and the first opaque conversion material portion, the second opaque conversion material portion, the third opaque conversion material portion and the fourth opaque conversion material portion can be independently configured as opaque or transparent.

[0170] In Example 19, the apparatus according to any one of Examples 1 to 18 further includes: the processor is further configured to set the focusing direction for each of the focusing pixels by independently configuring each of the first opaque conversion material portion, the second opaque conversion material portion, the third opaque conversion material portion, and the fourth opaque conversion material portion as opaque or transparent.

[0171] In Example 20, the device according to any one of Examples 1 to 19 also includes: the focusing direction is one of six different focusing directions, and wherein each of the six different focusing directions includes setting two of the opaque conversion material portions to opaque and setting the remaining two opaque conversion material portions to transparent.

[0172] Example 21 is a device comprising: one or more processors; and one or more memories in electronic communication with the one or more processors, storing instructions that can be executed by the one or more processors to cause the system or device to implement a method as in any one of Examples 1 to 20.

[0173] Example 22 is a system or apparatus comprising: a unit for implementing a method or an apparatus as in any one of Examples 1 to 20.

[0174] Example 23 is a non-transitory computer-readable medium storing instructions executable by one or more processors to cause the one or more processors to implement a method as in any one of Examples 1 to 20.

[0175] Various examples have been described. These and other examples are within the scope of the following claims.

Claims

1. A device, include: an image sensor comprising a plurality of pixels, the plurality of pixels comprising a set of pixels, each pixel in the set of pixels being configurable to switch between operating as an imaging pixel or as a focusing pixel, the image sensor being configured to generate image data of a scene based on received light at the plurality of pixels, at least one photodiode associated with each pixel in the set of pixels; as well as an opaque conversion material located above the at least one photodiode, the opaque conversion material comprising a first opaque conversion material portion disposed above a first segment of the at least one photodiode, a second opaque conversion material portion disposed above a second segment of the at least one photodiode, a third opaque conversion material portion disposed above a third segment of the at least one photodiode, and a fourth opaque conversion material portion disposed above a fourth segment of the at least one photodiode, wherein the first opaque conversion material portion, the second opaque conversion material portion, the third opaque conversion material portion, and the fourth opaque conversion material portion can each be independently configured to be opaque or transparent, Wherein, when one of the first opaque conversion material portion or the second opaque conversion material portion is opaque and the other of the first opaque conversion material portion or the second opaque conversion material portion is transparent, each pixel in the pixel set is configured to operate as the focusing pixel, and when both the first opaque conversion material portion and the second opaque conversion material portion are transparent, the pixel is configured to operate as the imaging pixel.

2. The device according to claim 1, further comprising: include: at least one processor coupled to the image sensor and configured to: A focus direction for each of the focus pixels is set by independently configuring each of the first opaque conversion material portion, the second opaque conversion material portion, the third opaque conversion material portion, and the fourth opaque conversion material portion as opaque or transparent.

3. The device according to claim 2, in, The focus orientation is one of six different focus orientations, and wherein each of the six different focus orientations includes setting two of the opaque conversion material portions to be opaque and setting the remaining two opaque conversion material portions to be transparent.

4. The device according to claim 1, further comprising: include: at least one processor coupled to the image sensor and configured to: receiving first image data of a first frame of the scene; determining at least one region of interest or region of no interest of the first frame; selecting a subset of the set of pixels to be operated as focused pixels based on the determined at least one region of interest or region of non-interest; as well as A selected subset of the set of pixels is caused to operate as focused pixels.

5. The device according to claim 4, in, The at least one processor is further configured to: Second image data of a second frame is received from the image sensor, the second image data comprising focus data from the selected subset of the set of pixels and imaging data from remaining pixels of the plurality of pixels.

6. The device according to claim 5, further comprising: include: a lens assembly configured to focus the received light onto the image sensor, Wherein the at least one processor is configured to shift the lens assembly to adjust a focus of the received light on the image sensor based on the second image data.

7. The device according to claim 4, in, The at least one processor is configured to select the subset of the set of pixels to be operated as focused pixels based on the determined region of interest by: A density of focused pixels associated with the determined region of interest is increased from a first density of focused pixels associated with the determined region of interest of the received first image data to a second density of focused pixels.

8. The device according to claim 7, in, The at least one processor is configured to determine a density of focused pixels associated with the determined region of interest based on a target item identified in the determined region of interest.

9. The device according to claim 4, in, The determined region of interest or region of non-interest includes a first region of interest and a second region of interest, and Wherein the at least one processor is configured to select a first density of focused pixels associated with the first region of interest, and to select a second density of focused pixels associated with the second region of interest, the second density being different from the first density.

10. The device according to claim 4, in, The at least one processor is configured to select the subset of the set of pixels to be operated as focused pixels based on the determined non-interest region by: A density of focused pixels associated with the determined region of non-interest is reduced from a first density of focused pixels associated with the determined region of non-interest of the received first image data to a second density of focused pixels.

11. The device according to claim 10, in, The at least one processor is configured to cause pixels of the set of pixels associated with the determined non-region of interest to operate as imaging pixels.

12. The device according to claim 4, in, The at least one processor is configured to cause the selected subset of the set of pixels to operate as focused pixels by: A first focus orientation is set for each pixel in the selected subset of the set of pixels based on at least one texture or edge detected within the first frame.

13. The device according to claim 12, in, The at least one processor is further configured to: determining whether a focus confidence level of second image data received from the image sensor for a second frame satisfies a confidence threshold; and When the focus confidence level does not satisfy the confidence threshold, a second focus orientation is set for each pixel in the selected subset of pixels of the set of pixels, the second focus orientation being different from the first focus orientation.

14. The device according to claim 12, in, The first focusing direction is one of an up-down direction, a left-right direction, or a diagonal direction.

15. The device according to claim 4, in, The determined regions of interest or non-interest include a first region of interest and a second region of interest, wherein the first region of interest and the second region of interest are determined based on a light level associated with each respective region of interest, and wherein the first region of interest is associated with a relatively lower light level relative to the second region of interest, and wherein the at least one processor is further configured to: receiving second image data of a second frame of the scene, the second image data comprising the same first region of interest and the same second region of interest as the first frame; averaging data for a first subset of focused pixels associated with the first region of interest; averaging data for a second subset of focused pixels associated with the second region of interest; and A lens assembly is shifted to adjust a focus of the received light on the image sensor based on an average of the data of the first focused subset of pixels and an average of the data of the second focused subset of pixels.

16. The device according to claim 15, in, The at least one processor is further configured to determine the first region of interest and the second region of interest based on edge detection associated with the determined region of interest or region of non-interest.

17. The device according to claim 15, in, The at least one processor is further configured to: increasing a first density of focused pixels associated with the first region of interest; and A second density of focused pixels associated with the second region of interest is increased.

18. The device according to claim 4, in, The at least one processor is further configured to: receiving information indicating the at least one region of interest or region of no interest of the first frame, and The at least one processor is configured to determine the at least one region of interest or region of no interest based on the received information.

19. A method of operating at an image sensor, include: receiving light at a plurality of pixels of the image sensor, the plurality of pixels comprising a set of pixels, each pixel in the set of pixels being configurable to switch between operating as an imaging pixel or as a focusing pixel, the image sensor being configured to generate image data of a scene based on the received light at the plurality of pixels; as well as configuring each pixel in the pixel set as the focusing pixel or the imaging pixel, wherein the pixel is associated with at least one photodiode, an opaque conversion material is located above the at least one photodiode, the opaque conversion material comprises a first opaque conversion material portion arranged above a first segment of the at least one photodiode, a second opaque conversion material portion arranged above a second segment of the at least one photodiode, a third opaque conversion material portion arranged above a third segment of the at least one photodiode, and a fourth opaque conversion material portion arranged above a fourth segment of the at least one photodiode, the first opaque conversion material portion, the second opaque conversion material portion, the third opaque conversion material portion, and the fourth opaque conversion material portion can all be independently configured to be opaque or transparent, and When one of the first opaque conversion material portion or the second opaque conversion material portion is opaque and the other of the first opaque conversion material portion or the second opaque conversion material portion is transparent, the pixel is configured to operate as the focusing pixel, and when both the first opaque conversion material portion and the second opaque conversion material portion are transparent, the pixel is configured to operate as the imaging pixel.

20. A device, include: an image sensor comprising a plurality of pixels, the plurality of pixels comprising a set of pixels that may be configured as imaging pixels or focusing pixels, the image sensor configured to generate image data of a scene based on received light at the plurality of pixels; as well as a processor coupled to the image sensor and configured to: receiving first image data of a first frame of the scene; determining at least one region of interest or region of no interest of the first frame; selecting a subset of the set of pixels to be focused pixels based on the determined at least one region of interest or region of no interest; The subset of the set of pixels to be focused pixels is selected based on the determined region of interest by: determining a density of focused pixels associated with the determined region of interest based on target items identified in the determined region of interest; increasing a density of focused pixels associated with the determined region of interest from a first density of focused pixels associated with the determined region of interest when the first image data is received to a second density of focused pixels; as well as A selected subset of the set of pixels is caused to operate as focused pixels.

21. The device according to claim 20, in, The processor is further configured to: Second image data of a second frame is received from the image sensor, the second image data comprising focus data from the selected subset of the set of pixels and imaging data from remaining pixels of the plurality of pixels.

22. A method for operating an automatic focus, include: receiving first image data of a first frame of a scene from an image sensor, the image sensor comprising a plurality of pixels, the plurality of pixels comprising a set of pixels that may be configured as imaging pixels or focusing pixels, the image sensor configured to generate image data of the scene based on received light at the plurality of pixels; determining at least one region of interest or region of no interest of the first frame; selecting a subset of the set of pixels to be focused pixels based on the determined at least one region of interest or region of no interest; The subset of the pixel set is selected as focus pixels based on the determined region of interest by: determining a density of focused pixels associated with the determined region of interest based on target items identified in the determined region of interest; increasing a density of focused pixels associated with the determined region of interest from a first density of focused pixels associated with the determined region of interest when the first image data is received to a second density of focused pixels; and A selected subset of the set of pixels is caused to operate as focused pixels.

23. A device, include: an image sensor comprising a plurality of pixels, the plurality of pixels comprising a set of pixels, each pixel in the set of pixels being configurable to switch between operating as an imaging pixel or as a focusing pixel, the image sensor being configured to generate image data of a scene based on received light at the plurality of pixels, a user interface for receiving user input indicating at least one region of interest or region of no interest; a processor coupled to the image sensor and configured to: receiving first image data of a first frame of the scene; selecting a subset of the set of pixels to be operated as focused pixels based on the user input; as well as A selected subset of the set of pixels is caused to operate as focused pixels.

24. The device according to claim 23, in, The processor is further configured to: A density of focused pixels within the image sensor associated with the indicated area is adjusted.

25. A method for operating an automatic focus, include: receiving first image data of a first frame of a scene from an image sensor, the image sensor comprising a plurality of pixels, the plurality of pixels comprising a set of pixels, each pixel in the set of pixels being configurable to switch between operating as an imaging pixel or as a focusing pixel, the image sensor being configured to generate image data of the scene based on received light at the plurality of pixels; receiving, via a user interface, user input indicating at least one region of interest or region of non-interest; selecting a subset of the set of pixels to be operated as focused pixels based on the user input; as well as A selected subset of the set of pixels is caused to operate as focused pixels.